github.com/codingfuture/orig-energi3@v0.8.4/energi/abi/BackboneRewardV1.go (about) 1 // Code generated - DO NOT EDIT. 2 // This file is a generated binding and any manual changes will be lost. 3 4 package abi 5 6 import ( 7 "math/big" 8 "strings" 9 10 ethereum "github.com/ethereum/go-ethereum" 11 "github.com/ethereum/go-ethereum/accounts/abi" 12 "github.com/ethereum/go-ethereum/accounts/abi/bind" 13 "github.com/ethereum/go-ethereum/common" 14 "github.com/ethereum/go-ethereum/core/types" 15 "github.com/ethereum/go-ethereum/event" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var ( 20 _ = big.NewInt 21 _ = strings.NewReader 22 _ = ethereum.NotFound 23 _ = abi.U256 24 _ = bind.Bind 25 _ = common.Big1 26 _ = types.BloomLookup 27 _ = event.NewSubscription 28 ) 29 30 // BackboneRewardV1ABI is the input ABI used to generate the binding from. 31 const BackboneRewardV1ABI = "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_proxy\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"_backbone_address\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":true,\"inputs\":[],\"name\":\"backbone_address\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_newImpl\",\"type\":\"address\"}],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"getReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_oldImpl\",\"type\":\"address\"}],\"name\":\"migrate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"proxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"reward\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"}]" 32 33 // BackboneRewardV1Bin is the compiled bytecode used for deploying new contracts. 34 const BackboneRewardV1Bin = `608060405234801561001057600080fd5b506040516105063803806105068339818101604052604081101561003357600080fd5b508051602090910151600080546001600160a01b039384166001600160a01b0319918216179091556002805493909216921691909117905561048c8061007a6000396000f3fe6080604052600436106100645760003560e01c80637079cf33116100435780637079cf3314610151578063ce5494bb1461018f578063ec556889146101cf57610064565b8062f55d9d146100cb5780631c4b774b1461010d578063228cb73314610149575b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f7420737570706f7274656400000000000000000000000000000000000000604482015290519081900360640190fd5b3480156100d757600080fd5b5061010b600480360360208110156100ee57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166101e4565b005b34801561011957600080fd5b506101376004803603602081101561013057600080fd5b503561028c565b60408051918252519081900360200190f35b61010b6102c9565b34801561015d57600080fd5b50610166610391565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561019b57600080fd5b5061010b600480360360208110156101b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103ad565b3480156101db57600080fd5b5061016661043b565b60005473ffffffffffffffffffffffffffffffffffffffff16331461026a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f742070726f78790000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61027381610438565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b600080821180156102b4575060025473ffffffffffffffffffffffffffffffffffffffff1615155b156102c45750671fa42feb87e400005b919050565b6001541561033857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60018055341561038a5760025460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610388573d6000803e3d6000fd5b505b6000600155565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461043357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f742070726f78790000000000000000000000000000000000000000000000604482015290519081900360640190fd5b610438815b50565b60005473ffffffffffffffffffffffffffffffffffffffff168156fea265627a7a72315820dc64b8fe0f28017dfc552d10a797e282a51f9d80110a4c93aa0925ddfd8522b764736f6c63430005100032` 35 36 // DeployBackboneRewardV1 deploys a new Ethereum contract, binding an instance of BackboneRewardV1 to it. 37 func DeployBackboneRewardV1(auth *bind.TransactOpts, backend bind.ContractBackend, _proxy common.Address, _backbone_address common.Address) (common.Address, *types.Transaction, *BackboneRewardV1, error) { 38 parsed, err := abi.JSON(strings.NewReader(BackboneRewardV1ABI)) 39 if err != nil { 40 return common.Address{}, nil, nil, err 41 } 42 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(BackboneRewardV1Bin), backend, _proxy, _backbone_address) 43 if err != nil { 44 return common.Address{}, nil, nil, err 45 } 46 return address, tx, &BackboneRewardV1{BackboneRewardV1Caller: BackboneRewardV1Caller{contract: contract}, BackboneRewardV1Transactor: BackboneRewardV1Transactor{contract: contract}, BackboneRewardV1Filterer: BackboneRewardV1Filterer{contract: contract}}, nil 47 } 48 49 // BackboneRewardV1Bin is the compiled bytecode of contract after deployment. 50 const BackboneRewardV1RuntimeBin = `6080604052600436106100645760003560e01c80637079cf33116100435780637079cf3314610151578063ce5494bb1461018f578063ec556889146101cf57610064565b8062f55d9d146100cb5780631c4b774b1461010d578063228cb73314610149575b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f7420737570706f7274656400000000000000000000000000000000000000604482015290519081900360640190fd5b3480156100d757600080fd5b5061010b600480360360208110156100ee57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166101e4565b005b34801561011957600080fd5b506101376004803603602081101561013057600080fd5b503561028c565b60408051918252519081900360200190f35b61010b6102c9565b34801561015d57600080fd5b50610166610391565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561019b57600080fd5b5061010b600480360360208110156101b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103ad565b3480156101db57600080fd5b5061016661043b565b60005473ffffffffffffffffffffffffffffffffffffffff16331461026a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f742070726f78790000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61027381610438565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b600080821180156102b4575060025473ffffffffffffffffffffffffffffffffffffffff1615155b156102c45750671fa42feb87e400005b919050565b6001541561033857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60018055341561038a5760025460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610388573d6000803e3d6000fd5b505b6000600155565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461043357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f742070726f78790000000000000000000000000000000000000000000000604482015290519081900360640190fd5b610438815b50565b60005473ffffffffffffffffffffffffffffffffffffffff168156fea265627a7a72315820dc64b8fe0f28017dfc552d10a797e282a51f9d80110a4c93aa0925ddfd8522b764736f6c63430005100032` 51 52 // BackboneRewardV1 is an auto generated Go binding around an Ethereum contract. 53 type BackboneRewardV1 struct { 54 BackboneRewardV1Caller // Read-only binding to the contract 55 BackboneRewardV1Transactor // Write-only binding to the contract 56 BackboneRewardV1Filterer // Log filterer for contract events 57 } 58 59 // BackboneRewardV1Caller is an auto generated read-only Go binding around an Ethereum contract. 60 type BackboneRewardV1Caller struct { 61 contract *bind.BoundContract // Generic contract wrapper for the low level calls 62 } 63 64 // BackboneRewardV1Transactor is an auto generated write-only Go binding around an Ethereum contract. 65 type BackboneRewardV1Transactor struct { 66 contract *bind.BoundContract // Generic contract wrapper for the low level calls 67 } 68 69 // BackboneRewardV1Filterer is an auto generated log filtering Go binding around an Ethereum contract events. 70 type BackboneRewardV1Filterer struct { 71 contract *bind.BoundContract // Generic contract wrapper for the low level calls 72 } 73 74 // BackboneRewardV1Session is an auto generated Go binding around an Ethereum contract, 75 // with pre-set call and transact options. 76 type BackboneRewardV1Session struct { 77 Contract *BackboneRewardV1 // Generic contract binding to set the session for 78 CallOpts bind.CallOpts // Call options to use throughout this session 79 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 80 } 81 82 // BackboneRewardV1CallerSession is an auto generated read-only Go binding around an Ethereum contract, 83 // with pre-set call options. 84 type BackboneRewardV1CallerSession struct { 85 Contract *BackboneRewardV1Caller // Generic contract caller binding to set the session for 86 CallOpts bind.CallOpts // Call options to use throughout this session 87 } 88 89 // BackboneRewardV1TransactorSession is an auto generated write-only Go binding around an Ethereum contract, 90 // with pre-set transact options. 91 type BackboneRewardV1TransactorSession struct { 92 Contract *BackboneRewardV1Transactor // Generic contract transactor binding to set the session for 93 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 94 } 95 96 // BackboneRewardV1Raw is an auto generated low-level Go binding around an Ethereum contract. 97 type BackboneRewardV1Raw struct { 98 Contract *BackboneRewardV1 // Generic contract binding to access the raw methods on 99 } 100 101 // BackboneRewardV1CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 102 type BackboneRewardV1CallerRaw struct { 103 Contract *BackboneRewardV1Caller // Generic read-only contract binding to access the raw methods on 104 } 105 106 // BackboneRewardV1TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 107 type BackboneRewardV1TransactorRaw struct { 108 Contract *BackboneRewardV1Transactor // Generic write-only contract binding to access the raw methods on 109 } 110 111 // NewBackboneRewardV1 creates a new instance of BackboneRewardV1, bound to a specific deployed contract. 112 func NewBackboneRewardV1(address common.Address, backend bind.ContractBackend) (*BackboneRewardV1, error) { 113 contract, err := bindBackboneRewardV1(address, backend, backend, backend) 114 if err != nil { 115 return nil, err 116 } 117 return &BackboneRewardV1{BackboneRewardV1Caller: BackboneRewardV1Caller{contract: contract}, BackboneRewardV1Transactor: BackboneRewardV1Transactor{contract: contract}, BackboneRewardV1Filterer: BackboneRewardV1Filterer{contract: contract}}, nil 118 } 119 120 // NewBackboneRewardV1Caller creates a new read-only instance of BackboneRewardV1, bound to a specific deployed contract. 121 func NewBackboneRewardV1Caller(address common.Address, caller bind.ContractCaller) (*BackboneRewardV1Caller, error) { 122 contract, err := bindBackboneRewardV1(address, caller, nil, nil) 123 if err != nil { 124 return nil, err 125 } 126 return &BackboneRewardV1Caller{contract: contract}, nil 127 } 128 129 // NewBackboneRewardV1Transactor creates a new write-only instance of BackboneRewardV1, bound to a specific deployed contract. 130 func NewBackboneRewardV1Transactor(address common.Address, transactor bind.ContractTransactor) (*BackboneRewardV1Transactor, error) { 131 contract, err := bindBackboneRewardV1(address, nil, transactor, nil) 132 if err != nil { 133 return nil, err 134 } 135 return &BackboneRewardV1Transactor{contract: contract}, nil 136 } 137 138 // NewBackboneRewardV1Filterer creates a new log filterer instance of BackboneRewardV1, bound to a specific deployed contract. 139 func NewBackboneRewardV1Filterer(address common.Address, filterer bind.ContractFilterer) (*BackboneRewardV1Filterer, error) { 140 contract, err := bindBackboneRewardV1(address, nil, nil, filterer) 141 if err != nil { 142 return nil, err 143 } 144 return &BackboneRewardV1Filterer{contract: contract}, nil 145 } 146 147 // bindBackboneRewardV1 binds a generic wrapper to an already deployed contract. 148 func bindBackboneRewardV1(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { 149 parsed, err := abi.JSON(strings.NewReader(BackboneRewardV1ABI)) 150 if err != nil { 151 return nil, err 152 } 153 return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil 154 } 155 156 // Call invokes the (constant) contract method with params as input values and 157 // sets the output to result. The result type might be a single field for simple 158 // returns, a slice of interfaces for anonymous returns and a struct for named 159 // returns. 160 func (_BackboneRewardV1 *BackboneRewardV1Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 161 return _BackboneRewardV1.Contract.BackboneRewardV1Caller.contract.Call(opts, result, method, params...) 162 } 163 164 // Transfer initiates a plain transaction to move funds to the contract, calling 165 // its default method if one is available. 166 func (_BackboneRewardV1 *BackboneRewardV1Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 167 return _BackboneRewardV1.Contract.BackboneRewardV1Transactor.contract.Transfer(opts) 168 } 169 170 // Transact invokes the (paid) contract method with params as input values. 171 func (_BackboneRewardV1 *BackboneRewardV1Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 172 return _BackboneRewardV1.Contract.BackboneRewardV1Transactor.contract.Transact(opts, method, params...) 173 } 174 175 // Call invokes the (constant) contract method with params as input values and 176 // sets the output to result. The result type might be a single field for simple 177 // returns, a slice of interfaces for anonymous returns and a struct for named 178 // returns. 179 func (_BackboneRewardV1 *BackboneRewardV1CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 180 return _BackboneRewardV1.Contract.contract.Call(opts, result, method, params...) 181 } 182 183 // Transfer initiates a plain transaction to move funds to the contract, calling 184 // its default method if one is available. 185 func (_BackboneRewardV1 *BackboneRewardV1TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 186 return _BackboneRewardV1.Contract.contract.Transfer(opts) 187 } 188 189 // Transact invokes the (paid) contract method with params as input values. 190 func (_BackboneRewardV1 *BackboneRewardV1TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 191 return _BackboneRewardV1.Contract.contract.Transact(opts, method, params...) 192 } 193 194 // BackboneAddress is a free data retrieval call binding the contract method 0x7079cf33. 195 // 196 // Solidity: function backbone_address() constant returns(address) 197 func (_BackboneRewardV1 *BackboneRewardV1Caller) BackboneAddress(opts *bind.CallOpts) (common.Address, error) { 198 var ( 199 ret0 = new(common.Address) 200 ) 201 out := ret0 202 err := _BackboneRewardV1.contract.Call(opts, out, "backbone_address") 203 return *ret0, err 204 } 205 206 // BackboneAddress is a free data retrieval call binding the contract method 0x7079cf33. 207 // 208 // Solidity: function backbone_address() constant returns(address) 209 func (_BackboneRewardV1 *BackboneRewardV1Session) BackboneAddress() (common.Address, error) { 210 return _BackboneRewardV1.Contract.BackboneAddress(&_BackboneRewardV1.CallOpts) 211 } 212 213 // BackboneAddress is a free data retrieval call binding the contract method 0x7079cf33. 214 // 215 // Solidity: function backbone_address() constant returns(address) 216 func (_BackboneRewardV1 *BackboneRewardV1CallerSession) BackboneAddress() (common.Address, error) { 217 return _BackboneRewardV1.Contract.BackboneAddress(&_BackboneRewardV1.CallOpts) 218 } 219 220 // GetReward is a free data retrieval call binding the contract method 0x1c4b774b. 221 // 222 // Solidity: function getReward(uint256 _blockNumber) constant returns(uint256 amount) 223 func (_BackboneRewardV1 *BackboneRewardV1Caller) GetReward(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error) { 224 var ( 225 ret0 = new(*big.Int) 226 ) 227 out := ret0 228 err := _BackboneRewardV1.contract.Call(opts, out, "getReward", _blockNumber) 229 return *ret0, err 230 } 231 232 // GetReward is a free data retrieval call binding the contract method 0x1c4b774b. 233 // 234 // Solidity: function getReward(uint256 _blockNumber) constant returns(uint256 amount) 235 func (_BackboneRewardV1 *BackboneRewardV1Session) GetReward(_blockNumber *big.Int) (*big.Int, error) { 236 return _BackboneRewardV1.Contract.GetReward(&_BackboneRewardV1.CallOpts, _blockNumber) 237 } 238 239 // GetReward is a free data retrieval call binding the contract method 0x1c4b774b. 240 // 241 // Solidity: function getReward(uint256 _blockNumber) constant returns(uint256 amount) 242 func (_BackboneRewardV1 *BackboneRewardV1CallerSession) GetReward(_blockNumber *big.Int) (*big.Int, error) { 243 return _BackboneRewardV1.Contract.GetReward(&_BackboneRewardV1.CallOpts, _blockNumber) 244 } 245 246 // Proxy is a free data retrieval call binding the contract method 0xec556889. 247 // 248 // Solidity: function proxy() constant returns(address) 249 func (_BackboneRewardV1 *BackboneRewardV1Caller) Proxy(opts *bind.CallOpts) (common.Address, error) { 250 var ( 251 ret0 = new(common.Address) 252 ) 253 out := ret0 254 err := _BackboneRewardV1.contract.Call(opts, out, "proxy") 255 return *ret0, err 256 } 257 258 // Proxy is a free data retrieval call binding the contract method 0xec556889. 259 // 260 // Solidity: function proxy() constant returns(address) 261 func (_BackboneRewardV1 *BackboneRewardV1Session) Proxy() (common.Address, error) { 262 return _BackboneRewardV1.Contract.Proxy(&_BackboneRewardV1.CallOpts) 263 } 264 265 // Proxy is a free data retrieval call binding the contract method 0xec556889. 266 // 267 // Solidity: function proxy() constant returns(address) 268 func (_BackboneRewardV1 *BackboneRewardV1CallerSession) Proxy() (common.Address, error) { 269 return _BackboneRewardV1.Contract.Proxy(&_BackboneRewardV1.CallOpts) 270 } 271 272 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 273 // 274 // Solidity: function destroy(address _newImpl) returns() 275 func (_BackboneRewardV1 *BackboneRewardV1Transactor) Destroy(opts *bind.TransactOpts, _newImpl common.Address) (*types.Transaction, error) { 276 return _BackboneRewardV1.contract.Transact(opts, "destroy", _newImpl) 277 } 278 279 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 280 // 281 // Solidity: function destroy(address _newImpl) returns() 282 func (_BackboneRewardV1 *BackboneRewardV1Session) Destroy(_newImpl common.Address) (*types.Transaction, error) { 283 return _BackboneRewardV1.Contract.Destroy(&_BackboneRewardV1.TransactOpts, _newImpl) 284 } 285 286 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 287 // 288 // Solidity: function destroy(address _newImpl) returns() 289 func (_BackboneRewardV1 *BackboneRewardV1TransactorSession) Destroy(_newImpl common.Address) (*types.Transaction, error) { 290 return _BackboneRewardV1.Contract.Destroy(&_BackboneRewardV1.TransactOpts, _newImpl) 291 } 292 293 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 294 // 295 // Solidity: function migrate(address _oldImpl) returns() 296 func (_BackboneRewardV1 *BackboneRewardV1Transactor) Migrate(opts *bind.TransactOpts, _oldImpl common.Address) (*types.Transaction, error) { 297 return _BackboneRewardV1.contract.Transact(opts, "migrate", _oldImpl) 298 } 299 300 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 301 // 302 // Solidity: function migrate(address _oldImpl) returns() 303 func (_BackboneRewardV1 *BackboneRewardV1Session) Migrate(_oldImpl common.Address) (*types.Transaction, error) { 304 return _BackboneRewardV1.Contract.Migrate(&_BackboneRewardV1.TransactOpts, _oldImpl) 305 } 306 307 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 308 // 309 // Solidity: function migrate(address _oldImpl) returns() 310 func (_BackboneRewardV1 *BackboneRewardV1TransactorSession) Migrate(_oldImpl common.Address) (*types.Transaction, error) { 311 return _BackboneRewardV1.Contract.Migrate(&_BackboneRewardV1.TransactOpts, _oldImpl) 312 } 313 314 // Reward is a paid mutator transaction binding the contract method 0x228cb733. 315 // 316 // Solidity: function reward() returns() 317 func (_BackboneRewardV1 *BackboneRewardV1Transactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error) { 318 return _BackboneRewardV1.contract.Transact(opts, "reward") 319 } 320 321 // Reward is a paid mutator transaction binding the contract method 0x228cb733. 322 // 323 // Solidity: function reward() returns() 324 func (_BackboneRewardV1 *BackboneRewardV1Session) Reward() (*types.Transaction, error) { 325 return _BackboneRewardV1.Contract.Reward(&_BackboneRewardV1.TransactOpts) 326 } 327 328 // Reward is a paid mutator transaction binding the contract method 0x228cb733. 329 // 330 // Solidity: function reward() returns() 331 func (_BackboneRewardV1 *BackboneRewardV1TransactorSession) Reward() (*types.Transaction, error) { 332 return _BackboneRewardV1.Contract.Reward(&_BackboneRewardV1.TransactOpts) 333 }