github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/contracts/chief/lib/chief_1.0.0.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 chieflib 5 6 import ( 7 "math/big" 8 "strings" 9 10 "github.com/SmartMeshFoundation/Spectrum/accounts/abi" 11 "github.com/SmartMeshFoundation/Spectrum/accounts/abi/bind" 12 "github.com/SmartMeshFoundation/Spectrum/common" 13 "github.com/SmartMeshFoundation/Spectrum/core/types" 14 ) 15 16 // ChiefBase_1_0_0ABI is the input ABI used to generate the binding from. 17 const ChiefBase_1_0_0ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"pocUpdatedInitBlockNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"pocAddStop\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"volunteerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeVolunteerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeEpoch\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeLeaderLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"pocDelLockList\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"signerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_tribe\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"leaderLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeSignerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pocCleanBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"num\",\"type\":\"uint256\"}],\"name\":\"pocSetInitBlockNumber\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"epoch\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"removeLeader\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"pocAddLockList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pocGetBlackList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vsn\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"},{\"name\":\"num\",\"type\":\"uint256\"}],\"name\":\"pocChangeOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"appendLeader\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"pocAddBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isLeader\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"leaderList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"pocAddr\",\"type\":\"address\"},{\"name\":\"tribeAddr\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"takeLeaderList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_epoch\",\"type\":\"uint256\"},{\"name\":\"_signerLimit\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]" 18 19 // ChiefBase_1_0_0Bin is the compiled bytecode used for deploying new contracts. 20 const ChiefBase_1_0_0Bin = `0x60c0604052600560808190527f312e302e3000000000000000000000000000000000000000000000000000000060a090815261003e91600091906100bc565b5060058055600360065561181b600755600260085534801561005f57600080fd5b50604051604080620011118339810180604052604081101561008057600080fd5b50805160209091015160028054600160a060020a031916331790556007919091556006819055600019016008556009805460ff19169055610157565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fd57805160ff191683800117855561012a565b8280016001018555821561012a579182015b8281111561012a57825182559160200191906001019061010f565b5061013692915061013a565b5090565b61015491905b808211156101365760008155600101610140565b90565b610faa80620001676000396000f3fe608060405234801561001057600080fd5b50600436106101e1576000357c010000000000000000000000000000000000000000000000000000000090048063900cf0cf11610116578063bfe3a272116100b4578063db512e851161008e578063db512e85146104d3578063ed77db3f146104f9578063f09a401614610516578063f0d5581714610544576101e1565b8063bfe3a2721461047f578063c8ba1fd8146104a5578063d0f26171146104cb576101e1565b8063b175de17116100f0578063b175de1714610376578063b2bdfa7b146103ce578063bbf2ef67146103d6578063bf8fb61414610453576101e1565b8063900cf0cf146103225780639037f1821461032a578063a9cfa49c14610350576101e1565b80634bb19dac116101835780636c1511731161015d5780636c151173146102ed5780636da50830146102f55780637216276b146102fd5780637a73ae4914610305576101e1565b80634bb19dac1461029b57806357f607a1146102c1578063609bf73b146102c9576101e1565b806326b249c8116101bf57806326b249c814610269578063282f78f2146102835780634067f0c81461028b57806340e2f99114610293576101e1565b806306ccae1c146101e657806313af4035146102025780631dd47d3d1461022a575b600080fd5b6101ee61054c565b604080519115158252519081900360200190f35b6102286004803603602081101561021857600080fd5b5035600160a060020a0316610555565b005b6102506004803603602081101561024057600080fd5b5035600160a060020a031661059b565b60408051600092830b90920b8252519081900360200190f35b610271610651565b60408051918252519081900360200190f35b610271610657565b61027161065e565b610271610664565b610250600480360360208110156102b157600080fd5b5035600160a060020a031661066a565b6102716106ec565b6102d16106f2565b60408051600160a060020a039092168252519081900360200190f35b610271610701565b610271610707565b61022861070d565b6102286004803603602081101561031b57600080fd5b50356107aa565b61027161086d565b6102286004803603602081101561034057600080fd5b5035600160a060020a0316610873565b6102286004803603602081101561036657600080fd5b5035600160a060020a0316610986565b61037e610a04565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103ba5781810151838201526020016103a2565b505050509050019250505060405180910390f35b6102d1610af2565b6103de610b01565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610418578181015183820152602001610400565b50505050905090810190601f1680156104455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102286004803603604081101561046957600080fd5b50600160a060020a038135169060200135610b8f565b6102286004803603602081101561049557600080fd5b5035600160a060020a0316610c30565b610228600480360360208110156104bb57600080fd5b5035600160a060020a0316610cfe565b6102d1610d7c565b6101ee600480360360208110156104e957600080fd5b5035600160a060020a0316610d8b565b6102d16004803603602081101561050f57600080fd5b5035610df5565b6102286004803603604081101561052c57600080fd5b50600160a060020a0381358116916020013516610e1d565b61037e610ed5565b60095460ff1681565b600254600160a060020a0316331461056c57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600354600090600160a060020a031633146105b557600080fd5b600154604080517f2988fcfd000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015291519190921691632988fcfd9160248083019260209291908290030181600087803b15801561061d57600080fd5b505af1158015610631573d6000803e3d6000fd5b505050506040513d602081101561064757600080fd5b505190505b919050565b60085481565b6008545b90565b60075490565b60055490565b600354600090600160a060020a0316331461068457600080fd5b600154604080517f6fae4a5f000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015291519190921691636fae4a5f9160248083019260209291908290030181600087803b15801561061d57600080fd5b60065481565b600354600160a060020a031681565b60055481565b60065490565b600354600160a060020a0316331461072457600080fd5b600160009054906101000a9004600160a060020a0316600160a060020a0316633853d0a16040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15801561079057600080fd5b505af11580156107a4573d6000803e3d6000fd5b50505050565b600254600160a060020a031633146107c157600080fd5b60095460ff16156107d157600080fd5b438111156107de57600080fd5b6009805460ff1916600190811790915554604080517ff30011b4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163f30011b49160248082019260009290919082900301818387803b15801561085257600080fd5b505af1158015610866573d6000803e3d6000fd5b5050505050565b60075481565b600254600160a060020a0316331461088a57600080fd5b6004546001141561089a57600080fd5b60005b6004548110156109825781600160a060020a03166004828154811015156108c057fe5b600091825260209091200154600160a060020a0316141561097a57805b600454600019018110156109605760048054600183019081106108fc57fe5b60009182526020909120015460048054600160a060020a03909216918390811061092257fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556001016108dd565b50600480546000199283019201906109789082610f37565b505b60010161089d565b5050565b600354600160a060020a0316331461099d57600080fd5b600154604080517f478e7d6e000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163478e7d6e91602480830192600092919082900301818387803b15801561085257600080fd5b600154604080517f360b97b90000000000000000000000000000000000000000000000000000000081529051606092600160a060020a03169163360b97b9916004808301926000929190829003018186803b158015610a6257600080fd5b505afa158015610a76573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a9f57600080fd5b810190808051640100000000811115610ab757600080fd5b82016020810184811115610aca57600080fd5b8151856020820283011164010000000082111715610ae757600080fd5b509094505050505090565b600254600160a060020a031681565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b875780601f10610b5c57610100808354040283529160200191610b87565b820191906000526020600020905b815481529060010190602001808311610b6a57829003601f168201915b505050505081565b600254600160a060020a03163314610ba657600080fd5b600154604080517f56df3db1000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916356df3db191604480830192600092919082900301818387803b158015610c1457600080fd5b505af1158015610c28573d6000803e3d6000fd5b505050505050565b600254600160a060020a03163314610c4757600080fd5b6005546004541015610cfb5760005b600454811015610ca15781600160a060020a0316600482815481101515610c7957fe5b600091825260209091200154600160a060020a03161415610c9957600080fd5b600101610c56565b50600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600354600160a060020a03163314610d1557600080fd5b600154604080517f31f23668000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915191909216916331f2366891602480830192600092919082900301818387803b15801561085257600080fd5b600254600160a060020a031690565b6000805b600454811015610dec57600160a060020a03831615801590610dd557506004805482908110610dba57fe5b600091825260209091200154600160a060020a038481169116145b15610de457600191505061064c565b600101610d8f565b50600092915050565b6004805482908110610e0357fe5b600091825260209091200154600160a060020a0316905081565b33600160a060020a03821614610e3257600080fd5b600154600160a060020a0316158015610e535750600160a060020a03821615155b15610e81576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b600160a060020a03811615801590610ea25750600354600160a060020a0316155b156109825760038054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790555050565b60606004805480602002602001604051908101604052809291908181526020018280548015610f2d57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610f0f575b5050505050905090565b815481835581811115610f5b57600083815260209020610f5b918101908301610f60565b505050565b61065b91905b80821115610f7a5760008155600101610f66565b509056fea165627a7a7230582044368eca1e0a61d4d9f0d7f2b6940b93ebf471a5ac2ff936e5104b983581b4080029` 21 22 // DeployChiefBase_1_0_0 deploys a new Ethereum contract, binding an instance of ChiefBase_1_0_0 to it. 23 func DeployChiefBase_1_0_0(auth *bind.TransactOpts, backend bind.ContractBackend, _epoch *big.Int, _signerLimit *big.Int) (common.Address, *types.Transaction, *ChiefBase_1_0_0, error) { 24 parsed, err := abi.JSON(strings.NewReader(ChiefBase_1_0_0ABI)) 25 if err != nil { 26 return common.Address{}, nil, nil, err 27 } 28 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(ChiefBase_1_0_0Bin), backend, _epoch, _signerLimit) 29 if err != nil { 30 return common.Address{}, nil, nil, err 31 } 32 return address, tx, &ChiefBase_1_0_0{ChiefBase_1_0_0Caller: ChiefBase_1_0_0Caller{contract: contract}, ChiefBase_1_0_0Transactor: ChiefBase_1_0_0Transactor{contract: contract}}, nil 33 } 34 35 // ChiefBase_1_0_0 is an auto generated Go binding around an Ethereum contract. 36 type ChiefBase_1_0_0 struct { 37 ChiefBase_1_0_0Caller // Read-only binding to the contract 38 ChiefBase_1_0_0Transactor // Write-only binding to the contract 39 } 40 41 // ChiefBase_1_0_0Caller is an auto generated read-only Go binding around an Ethereum contract. 42 type ChiefBase_1_0_0Caller struct { 43 contract *bind.BoundContract // Generic contract wrapper for the low level calls 44 } 45 46 // ChiefBase_1_0_0Transactor is an auto generated write-only Go binding around an Ethereum contract. 47 type ChiefBase_1_0_0Transactor struct { 48 contract *bind.BoundContract // Generic contract wrapper for the low level calls 49 } 50 51 // ChiefBase_1_0_0Session is an auto generated Go binding around an Ethereum contract, 52 // with pre-set call and transact options. 53 type ChiefBase_1_0_0Session struct { 54 Contract *ChiefBase_1_0_0 // Generic contract binding to set the session for 55 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 56 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 57 } 58 59 // ChiefBase_1_0_0CallerSession is an auto generated read-only Go binding around an Ethereum contract, 60 // with pre-set call options. 61 type ChiefBase_1_0_0CallerSession struct { 62 Contract *ChiefBase_1_0_0Caller // Generic contract caller binding to set the session for 63 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 64 } 65 66 // ChiefBase_1_0_0TransactorSession is an auto generated write-only Go binding around an Ethereum contract, 67 // with pre-set transact options. 68 type ChiefBase_1_0_0TransactorSession struct { 69 Contract *ChiefBase_1_0_0Transactor // Generic contract transactor binding to set the session for 70 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 71 } 72 73 // ChiefBase_1_0_0Raw is an auto generated low-level Go binding around an Ethereum contract. 74 type ChiefBase_1_0_0Raw struct { 75 Contract *ChiefBase_1_0_0 // Generic contract binding to access the raw methods on 76 } 77 78 // ChiefBase_1_0_0CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 79 type ChiefBase_1_0_0CallerRaw struct { 80 Contract *ChiefBase_1_0_0Caller // Generic read-only contract binding to access the raw methods on 81 } 82 83 // ChiefBase_1_0_0TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 84 type ChiefBase_1_0_0TransactorRaw struct { 85 Contract *ChiefBase_1_0_0Transactor // Generic write-only contract binding to access the raw methods on 86 } 87 88 // NewChiefBase_1_0_0 creates a new instance of ChiefBase_1_0_0, bound to a specific deployed contract. 89 func NewChiefBase_1_0_0(address common.Address, backend bind.ContractBackend) (*ChiefBase_1_0_0, error) { 90 contract, err := bindChiefBase_1_0_0(address, backend, backend) 91 if err != nil { 92 return nil, err 93 } 94 return &ChiefBase_1_0_0{ChiefBase_1_0_0Caller: ChiefBase_1_0_0Caller{contract: contract}, ChiefBase_1_0_0Transactor: ChiefBase_1_0_0Transactor{contract: contract}}, nil 95 } 96 97 // NewChiefBase_1_0_0Caller creates a new read-only instance of ChiefBase_1_0_0, bound to a specific deployed contract. 98 func NewChiefBase_1_0_0Caller(address common.Address, caller bind.ContractCaller) (*ChiefBase_1_0_0Caller, error) { 99 contract, err := bindChiefBase_1_0_0(address, caller, nil) 100 if err != nil { 101 return nil, err 102 } 103 return &ChiefBase_1_0_0Caller{contract: contract}, nil 104 } 105 106 // NewChiefBase_1_0_0Transactor creates a new write-only instance of ChiefBase_1_0_0, bound to a specific deployed contract. 107 func NewChiefBase_1_0_0Transactor(address common.Address, transactor bind.ContractTransactor) (*ChiefBase_1_0_0Transactor, error) { 108 contract, err := bindChiefBase_1_0_0(address, nil, transactor) 109 if err != nil { 110 return nil, err 111 } 112 return &ChiefBase_1_0_0Transactor{contract: contract}, nil 113 } 114 115 // bindChiefBase_1_0_0 binds a generic wrapper to an already deployed contract. 116 func bindChiefBase_1_0_0(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor) (*bind.BoundContract, error) { 117 parsed, err := abi.JSON(strings.NewReader(ChiefBase_1_0_0ABI)) 118 if err != nil { 119 return nil, err 120 } 121 return bind.NewBoundContract(address, parsed, caller, transactor), nil 122 } 123 124 // Call invokes the (constant) contract method with params as input values and 125 // sets the output to result. The result type might be a single field for simple 126 // returns, a slice of interfaces for anonymous returns and a struct for named 127 // returns. 128 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Raw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 129 return _ChiefBase_1_0_0.Contract.ChiefBase_1_0_0Caller.contract.CallWithNumber(opts, result, method, params...) 130 } 131 132 // Transfer initiates a plain transaction to move funds to the contract, calling 133 // its default method if one is available. 134 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 135 return _ChiefBase_1_0_0.Contract.ChiefBase_1_0_0Transactor.contract.Transfer(opts) 136 } 137 138 // Transact invokes the (paid) contract method with params as input values. 139 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 140 return _ChiefBase_1_0_0.Contract.ChiefBase_1_0_0Transactor.contract.Transact(opts, method, params...) 141 } 142 143 // Call invokes the (constant) contract method with params as input values and 144 // sets the output to result. The result type might be a single field for simple 145 // returns, a slice of interfaces for anonymous returns and a struct for named 146 // returns. 147 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 148 return _ChiefBase_1_0_0.Contract.contract.CallWithNumber(opts, result, method, params...) 149 } 150 151 // Transfer initiates a plain transaction to move funds to the contract, calling 152 // its default method if one is available. 153 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 154 return _ChiefBase_1_0_0.Contract.contract.Transfer(opts) 155 } 156 157 // Transact invokes the (paid) contract method with params as input values. 158 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 159 return _ChiefBase_1_0_0.Contract.contract.Transact(opts, method, params...) 160 } 161 162 // Owner is a free data retrieval call binding the contract method 0xb2bdfa7b. 163 // 164 // Solidity: function _owner() constant returns(address) 165 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) Owner(opts *bind.CallOptsWithNumber) (common.Address, error) { 166 var ( 167 ret0 = new(common.Address) 168 ) 169 out := ret0 170 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "_owner") 171 return *ret0, err 172 } 173 174 // Owner is a free data retrieval call binding the contract method 0xb2bdfa7b. 175 // 176 // Solidity: function _owner() constant returns(address) 177 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) Owner() (common.Address, error) { 178 return _ChiefBase_1_0_0.Contract.Owner(&_ChiefBase_1_0_0.CallOpts) 179 } 180 181 // Owner is a free data retrieval call binding the contract method 0xb2bdfa7b. 182 // 183 // Solidity: function _owner() constant returns(address) 184 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) Owner() (common.Address, error) { 185 return _ChiefBase_1_0_0.Contract.Owner(&_ChiefBase_1_0_0.CallOpts) 186 } 187 188 // Tribe is a free data retrieval call binding the contract method 0x609bf73b. 189 // 190 // Solidity: function _tribe() constant returns(address) 191 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) Tribe(opts *bind.CallOptsWithNumber) (common.Address, error) { 192 var ( 193 ret0 = new(common.Address) 194 ) 195 out := ret0 196 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "_tribe") 197 return *ret0, err 198 } 199 200 // Tribe is a free data retrieval call binding the contract method 0x609bf73b. 201 // 202 // Solidity: function _tribe() constant returns(address) 203 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) Tribe() (common.Address, error) { 204 return _ChiefBase_1_0_0.Contract.Tribe(&_ChiefBase_1_0_0.CallOpts) 205 } 206 207 // Tribe is a free data retrieval call binding the contract method 0x609bf73b. 208 // 209 // Solidity: function _tribe() constant returns(address) 210 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) Tribe() (common.Address, error) { 211 return _ChiefBase_1_0_0.Contract.Tribe(&_ChiefBase_1_0_0.CallOpts) 212 } 213 214 // Epoch is a free data retrieval call binding the contract method 0x900cf0cf. 215 // 216 // Solidity: function epoch() constant returns(uint256) 217 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) Epoch(opts *bind.CallOptsWithNumber) (*big.Int, error) { 218 var ( 219 ret0 = new(*big.Int) 220 ) 221 out := ret0 222 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "epoch") 223 return *ret0, err 224 } 225 226 // Epoch is a free data retrieval call binding the contract method 0x900cf0cf. 227 // 228 // Solidity: function epoch() constant returns(uint256) 229 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) Epoch() (*big.Int, error) { 230 return _ChiefBase_1_0_0.Contract.Epoch(&_ChiefBase_1_0_0.CallOpts) 231 } 232 233 // Epoch is a free data retrieval call binding the contract method 0x900cf0cf. 234 // 235 // Solidity: function epoch() constant returns(uint256) 236 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) Epoch() (*big.Int, error) { 237 return _ChiefBase_1_0_0.Contract.Epoch(&_ChiefBase_1_0_0.CallOpts) 238 } 239 240 // IsLeader is a free data retrieval call binding the contract method 0xdb512e85. 241 // 242 // Solidity: function isLeader(addr address) constant returns(bool) 243 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) IsLeader(opts *bind.CallOptsWithNumber, addr common.Address) (bool, error) { 244 var ( 245 ret0 = new(bool) 246 ) 247 out := ret0 248 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "isLeader", addr) 249 return *ret0, err 250 } 251 252 // IsLeader is a free data retrieval call binding the contract method 0xdb512e85. 253 // 254 // Solidity: function isLeader(addr address) constant returns(bool) 255 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) IsLeader(addr common.Address) (bool, error) { 256 return _ChiefBase_1_0_0.Contract.IsLeader(&_ChiefBase_1_0_0.CallOpts, addr) 257 } 258 259 // IsLeader is a free data retrieval call binding the contract method 0xdb512e85. 260 // 261 // Solidity: function isLeader(addr address) constant returns(bool) 262 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) IsLeader(addr common.Address) (bool, error) { 263 return _ChiefBase_1_0_0.Contract.IsLeader(&_ChiefBase_1_0_0.CallOpts, addr) 264 } 265 266 // LeaderLimit is a free data retrieval call binding the contract method 0x6c151173. 267 // 268 // Solidity: function leaderLimit() constant returns(uint256) 269 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) LeaderLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 270 var ( 271 ret0 = new(*big.Int) 272 ) 273 out := ret0 274 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "leaderLimit") 275 return *ret0, err 276 } 277 278 // LeaderLimit is a free data retrieval call binding the contract method 0x6c151173. 279 // 280 // Solidity: function leaderLimit() constant returns(uint256) 281 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) LeaderLimit() (*big.Int, error) { 282 return _ChiefBase_1_0_0.Contract.LeaderLimit(&_ChiefBase_1_0_0.CallOpts) 283 } 284 285 // LeaderLimit is a free data retrieval call binding the contract method 0x6c151173. 286 // 287 // Solidity: function leaderLimit() constant returns(uint256) 288 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) LeaderLimit() (*big.Int, error) { 289 return _ChiefBase_1_0_0.Contract.LeaderLimit(&_ChiefBase_1_0_0.CallOpts) 290 } 291 292 // LeaderList is a free data retrieval call binding the contract method 0xed77db3f. 293 // 294 // Solidity: function leaderList( uint256) constant returns(address) 295 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) LeaderList(opts *bind.CallOptsWithNumber, arg0 *big.Int) (common.Address, error) { 296 var ( 297 ret0 = new(common.Address) 298 ) 299 out := ret0 300 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "leaderList", arg0) 301 return *ret0, err 302 } 303 304 // LeaderList is a free data retrieval call binding the contract method 0xed77db3f. 305 // 306 // Solidity: function leaderList( uint256) constant returns(address) 307 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) LeaderList(arg0 *big.Int) (common.Address, error) { 308 return _ChiefBase_1_0_0.Contract.LeaderList(&_ChiefBase_1_0_0.CallOpts, arg0) 309 } 310 311 // LeaderList is a free data retrieval call binding the contract method 0xed77db3f. 312 // 313 // Solidity: function leaderList( uint256) constant returns(address) 314 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) LeaderList(arg0 *big.Int) (common.Address, error) { 315 return _ChiefBase_1_0_0.Contract.LeaderList(&_ChiefBase_1_0_0.CallOpts, arg0) 316 } 317 318 // PocGetBlackList is a free data retrieval call binding the contract method 0xb175de17. 319 // 320 // Solidity: function pocGetBlackList() constant returns(address[]) 321 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) PocGetBlackList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 322 var ( 323 ret0 = new([]common.Address) 324 ) 325 out := ret0 326 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "pocGetBlackList") 327 return *ret0, err 328 } 329 330 // PocGetBlackList is a free data retrieval call binding the contract method 0xb175de17. 331 // 332 // Solidity: function pocGetBlackList() constant returns(address[]) 333 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocGetBlackList() ([]common.Address, error) { 334 return _ChiefBase_1_0_0.Contract.PocGetBlackList(&_ChiefBase_1_0_0.CallOpts) 335 } 336 337 // PocGetBlackList is a free data retrieval call binding the contract method 0xb175de17. 338 // 339 // Solidity: function pocGetBlackList() constant returns(address[]) 340 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) PocGetBlackList() ([]common.Address, error) { 341 return _ChiefBase_1_0_0.Contract.PocGetBlackList(&_ChiefBase_1_0_0.CallOpts) 342 } 343 344 // PocUpdatedInitBlockNumber is a free data retrieval call binding the contract method 0x06ccae1c. 345 // 346 // Solidity: function pocUpdatedInitBlockNumber() constant returns(bool) 347 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) PocUpdatedInitBlockNumber(opts *bind.CallOptsWithNumber) (bool, error) { 348 var ( 349 ret0 = new(bool) 350 ) 351 out := ret0 352 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "pocUpdatedInitBlockNumber") 353 return *ret0, err 354 } 355 356 // PocUpdatedInitBlockNumber is a free data retrieval call binding the contract method 0x06ccae1c. 357 // 358 // Solidity: function pocUpdatedInitBlockNumber() constant returns(bool) 359 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocUpdatedInitBlockNumber() (bool, error) { 360 return _ChiefBase_1_0_0.Contract.PocUpdatedInitBlockNumber(&_ChiefBase_1_0_0.CallOpts) 361 } 362 363 // PocUpdatedInitBlockNumber is a free data retrieval call binding the contract method 0x06ccae1c. 364 // 365 // Solidity: function pocUpdatedInitBlockNumber() constant returns(bool) 366 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) PocUpdatedInitBlockNumber() (bool, error) { 367 return _ChiefBase_1_0_0.Contract.PocUpdatedInitBlockNumber(&_ChiefBase_1_0_0.CallOpts) 368 } 369 370 // SignerLimit is a free data retrieval call binding the contract method 0x57f607a1. 371 // 372 // Solidity: function signerLimit() constant returns(uint256) 373 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) SignerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 374 var ( 375 ret0 = new(*big.Int) 376 ) 377 out := ret0 378 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "signerLimit") 379 return *ret0, err 380 } 381 382 // SignerLimit is a free data retrieval call binding the contract method 0x57f607a1. 383 // 384 // Solidity: function signerLimit() constant returns(uint256) 385 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) SignerLimit() (*big.Int, error) { 386 return _ChiefBase_1_0_0.Contract.SignerLimit(&_ChiefBase_1_0_0.CallOpts) 387 } 388 389 // SignerLimit is a free data retrieval call binding the contract method 0x57f607a1. 390 // 391 // Solidity: function signerLimit() constant returns(uint256) 392 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) SignerLimit() (*big.Int, error) { 393 return _ChiefBase_1_0_0.Contract.SignerLimit(&_ChiefBase_1_0_0.CallOpts) 394 } 395 396 // TakeEpoch is a free data retrieval call binding the contract method 0x4067f0c8. 397 // 398 // Solidity: function takeEpoch() constant returns(uint256) 399 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeEpoch(opts *bind.CallOptsWithNumber) (*big.Int, error) { 400 var ( 401 ret0 = new(*big.Int) 402 ) 403 out := ret0 404 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeEpoch") 405 return *ret0, err 406 } 407 408 // TakeEpoch is a free data retrieval call binding the contract method 0x4067f0c8. 409 // 410 // Solidity: function takeEpoch() constant returns(uint256) 411 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeEpoch() (*big.Int, error) { 412 return _ChiefBase_1_0_0.Contract.TakeEpoch(&_ChiefBase_1_0_0.CallOpts) 413 } 414 415 // TakeEpoch is a free data retrieval call binding the contract method 0x4067f0c8. 416 // 417 // Solidity: function takeEpoch() constant returns(uint256) 418 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeEpoch() (*big.Int, error) { 419 return _ChiefBase_1_0_0.Contract.TakeEpoch(&_ChiefBase_1_0_0.CallOpts) 420 } 421 422 // TakeLeaderLimit is a free data retrieval call binding the contract method 0x40e2f991. 423 // 424 // Solidity: function takeLeaderLimit() constant returns(uint256) 425 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeLeaderLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 426 var ( 427 ret0 = new(*big.Int) 428 ) 429 out := ret0 430 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeLeaderLimit") 431 return *ret0, err 432 } 433 434 // TakeLeaderLimit is a free data retrieval call binding the contract method 0x40e2f991. 435 // 436 // Solidity: function takeLeaderLimit() constant returns(uint256) 437 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeLeaderLimit() (*big.Int, error) { 438 return _ChiefBase_1_0_0.Contract.TakeLeaderLimit(&_ChiefBase_1_0_0.CallOpts) 439 } 440 441 // TakeLeaderLimit is a free data retrieval call binding the contract method 0x40e2f991. 442 // 443 // Solidity: function takeLeaderLimit() constant returns(uint256) 444 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeLeaderLimit() (*big.Int, error) { 445 return _ChiefBase_1_0_0.Contract.TakeLeaderLimit(&_ChiefBase_1_0_0.CallOpts) 446 } 447 448 // TakeLeaderList is a free data retrieval call binding the contract method 0xf0d55817. 449 // 450 // Solidity: function takeLeaderList() constant returns(address[]) 451 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeLeaderList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 452 var ( 453 ret0 = new([]common.Address) 454 ) 455 out := ret0 456 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeLeaderList") 457 return *ret0, err 458 } 459 460 // TakeLeaderList is a free data retrieval call binding the contract method 0xf0d55817. 461 // 462 // Solidity: function takeLeaderList() constant returns(address[]) 463 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeLeaderList() ([]common.Address, error) { 464 return _ChiefBase_1_0_0.Contract.TakeLeaderList(&_ChiefBase_1_0_0.CallOpts) 465 } 466 467 // TakeLeaderList is a free data retrieval call binding the contract method 0xf0d55817. 468 // 469 // Solidity: function takeLeaderList() constant returns(address[]) 470 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeLeaderList() ([]common.Address, error) { 471 return _ChiefBase_1_0_0.Contract.TakeLeaderList(&_ChiefBase_1_0_0.CallOpts) 472 } 473 474 // TakeOwner is a free data retrieval call binding the contract method 0xd0f26171. 475 // 476 // Solidity: function takeOwner() constant returns(address) 477 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeOwner(opts *bind.CallOptsWithNumber) (common.Address, error) { 478 var ( 479 ret0 = new(common.Address) 480 ) 481 out := ret0 482 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeOwner") 483 return *ret0, err 484 } 485 486 // TakeOwner is a free data retrieval call binding the contract method 0xd0f26171. 487 // 488 // Solidity: function takeOwner() constant returns(address) 489 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeOwner() (common.Address, error) { 490 return _ChiefBase_1_0_0.Contract.TakeOwner(&_ChiefBase_1_0_0.CallOpts) 491 } 492 493 // TakeOwner is a free data retrieval call binding the contract method 0xd0f26171. 494 // 495 // Solidity: function takeOwner() constant returns(address) 496 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeOwner() (common.Address, error) { 497 return _ChiefBase_1_0_0.Contract.TakeOwner(&_ChiefBase_1_0_0.CallOpts) 498 } 499 500 // TakeSignerLimit is a free data retrieval call binding the contract method 0x6da50830. 501 // 502 // Solidity: function takeSignerLimit() constant returns(uint256) 503 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeSignerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 504 var ( 505 ret0 = new(*big.Int) 506 ) 507 out := ret0 508 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeSignerLimit") 509 return *ret0, err 510 } 511 512 // TakeSignerLimit is a free data retrieval call binding the contract method 0x6da50830. 513 // 514 // Solidity: function takeSignerLimit() constant returns(uint256) 515 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeSignerLimit() (*big.Int, error) { 516 return _ChiefBase_1_0_0.Contract.TakeSignerLimit(&_ChiefBase_1_0_0.CallOpts) 517 } 518 519 // TakeSignerLimit is a free data retrieval call binding the contract method 0x6da50830. 520 // 521 // Solidity: function takeSignerLimit() constant returns(uint256) 522 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeSignerLimit() (*big.Int, error) { 523 return _ChiefBase_1_0_0.Contract.TakeSignerLimit(&_ChiefBase_1_0_0.CallOpts) 524 } 525 526 // TakeVolunteerLimit is a free data retrieval call binding the contract method 0x282f78f2. 527 // 528 // Solidity: function takeVolunteerLimit() constant returns(uint256) 529 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) TakeVolunteerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 530 var ( 531 ret0 = new(*big.Int) 532 ) 533 out := ret0 534 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "takeVolunteerLimit") 535 return *ret0, err 536 } 537 538 // TakeVolunteerLimit is a free data retrieval call binding the contract method 0x282f78f2. 539 // 540 // Solidity: function takeVolunteerLimit() constant returns(uint256) 541 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) TakeVolunteerLimit() (*big.Int, error) { 542 return _ChiefBase_1_0_0.Contract.TakeVolunteerLimit(&_ChiefBase_1_0_0.CallOpts) 543 } 544 545 // TakeVolunteerLimit is a free data retrieval call binding the contract method 0x282f78f2. 546 // 547 // Solidity: function takeVolunteerLimit() constant returns(uint256) 548 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) TakeVolunteerLimit() (*big.Int, error) { 549 return _ChiefBase_1_0_0.Contract.TakeVolunteerLimit(&_ChiefBase_1_0_0.CallOpts) 550 } 551 552 // VolunteerLimit is a free data retrieval call binding the contract method 0x26b249c8. 553 // 554 // Solidity: function volunteerLimit() constant returns(uint256) 555 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) VolunteerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 556 var ( 557 ret0 = new(*big.Int) 558 ) 559 out := ret0 560 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "volunteerLimit") 561 return *ret0, err 562 } 563 564 // VolunteerLimit is a free data retrieval call binding the contract method 0x26b249c8. 565 // 566 // Solidity: function volunteerLimit() constant returns(uint256) 567 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) VolunteerLimit() (*big.Int, error) { 568 return _ChiefBase_1_0_0.Contract.VolunteerLimit(&_ChiefBase_1_0_0.CallOpts) 569 } 570 571 // VolunteerLimit is a free data retrieval call binding the contract method 0x26b249c8. 572 // 573 // Solidity: function volunteerLimit() constant returns(uint256) 574 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) VolunteerLimit() (*big.Int, error) { 575 return _ChiefBase_1_0_0.Contract.VolunteerLimit(&_ChiefBase_1_0_0.CallOpts) 576 } 577 578 // Vsn is a free data retrieval call binding the contract method 0xbbf2ef67. 579 // 580 // Solidity: function vsn() constant returns(string) 581 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Caller) Vsn(opts *bind.CallOptsWithNumber) (string, error) { 582 var ( 583 ret0 = new(string) 584 ) 585 out := ret0 586 err := _ChiefBase_1_0_0.contract.CallWithNumber(opts, out, "vsn") 587 return *ret0, err 588 } 589 590 // Vsn is a free data retrieval call binding the contract method 0xbbf2ef67. 591 // 592 // Solidity: function vsn() constant returns(string) 593 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) Vsn() (string, error) { 594 return _ChiefBase_1_0_0.Contract.Vsn(&_ChiefBase_1_0_0.CallOpts) 595 } 596 597 // Vsn is a free data retrieval call binding the contract method 0xbbf2ef67. 598 // 599 // Solidity: function vsn() constant returns(string) 600 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0CallerSession) Vsn() (string, error) { 601 return _ChiefBase_1_0_0.Contract.Vsn(&_ChiefBase_1_0_0.CallOpts) 602 } 603 604 // AppendLeader is a paid mutator transaction binding the contract method 0xbfe3a272. 605 // 606 // Solidity: function appendLeader(addr address) returns() 607 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) AppendLeader(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error) { 608 return _ChiefBase_1_0_0.contract.Transact(opts, "appendLeader", addr) 609 } 610 611 // AppendLeader is a paid mutator transaction binding the contract method 0xbfe3a272. 612 // 613 // Solidity: function appendLeader(addr address) returns() 614 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) AppendLeader(addr common.Address) (*types.Transaction, error) { 615 return _ChiefBase_1_0_0.Contract.AppendLeader(&_ChiefBase_1_0_0.TransactOpts, addr) 616 } 617 618 // AppendLeader is a paid mutator transaction binding the contract method 0xbfe3a272. 619 // 620 // Solidity: function appendLeader(addr address) returns() 621 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) AppendLeader(addr common.Address) (*types.Transaction, error) { 622 return _ChiefBase_1_0_0.Contract.AppendLeader(&_ChiefBase_1_0_0.TransactOpts, addr) 623 } 624 625 // Init is a paid mutator transaction binding the contract method 0xf09a4016. 626 // 627 // Solidity: function init(pocAddr address, tribeAddr address) returns() 628 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) Init(opts *bind.TransactOpts, pocAddr common.Address, tribeAddr common.Address) (*types.Transaction, error) { 629 return _ChiefBase_1_0_0.contract.Transact(opts, "init", pocAddr, tribeAddr) 630 } 631 632 // Init is a paid mutator transaction binding the contract method 0xf09a4016. 633 // 634 // Solidity: function init(pocAddr address, tribeAddr address) returns() 635 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) Init(pocAddr common.Address, tribeAddr common.Address) (*types.Transaction, error) { 636 return _ChiefBase_1_0_0.Contract.Init(&_ChiefBase_1_0_0.TransactOpts, pocAddr, tribeAddr) 637 } 638 639 // Init is a paid mutator transaction binding the contract method 0xf09a4016. 640 // 641 // Solidity: function init(pocAddr address, tribeAddr address) returns() 642 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) Init(pocAddr common.Address, tribeAddr common.Address) (*types.Transaction, error) { 643 return _ChiefBase_1_0_0.Contract.Init(&_ChiefBase_1_0_0.TransactOpts, pocAddr, tribeAddr) 644 } 645 646 // PocAddBlackList is a paid mutator transaction binding the contract method 0xc8ba1fd8. 647 // 648 // Solidity: function pocAddBlackList(minerAddress address) returns() 649 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocAddBlackList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 650 return _ChiefBase_1_0_0.contract.Transact(opts, "pocAddBlackList", minerAddress) 651 } 652 653 // PocAddBlackList is a paid mutator transaction binding the contract method 0xc8ba1fd8. 654 // 655 // Solidity: function pocAddBlackList(minerAddress address) returns() 656 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocAddBlackList(minerAddress common.Address) (*types.Transaction, error) { 657 return _ChiefBase_1_0_0.Contract.PocAddBlackList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 658 } 659 660 // PocAddBlackList is a paid mutator transaction binding the contract method 0xc8ba1fd8. 661 // 662 // Solidity: function pocAddBlackList(minerAddress address) returns() 663 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocAddBlackList(minerAddress common.Address) (*types.Transaction, error) { 664 return _ChiefBase_1_0_0.Contract.PocAddBlackList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 665 } 666 667 // PocAddLockList is a paid mutator transaction binding the contract method 0xa9cfa49c. 668 // 669 // Solidity: function pocAddLockList(minerAddress address) returns() 670 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocAddLockList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 671 return _ChiefBase_1_0_0.contract.Transact(opts, "pocAddLockList", minerAddress) 672 } 673 674 // PocAddLockList is a paid mutator transaction binding the contract method 0xa9cfa49c. 675 // 676 // Solidity: function pocAddLockList(minerAddress address) returns() 677 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocAddLockList(minerAddress common.Address) (*types.Transaction, error) { 678 return _ChiefBase_1_0_0.Contract.PocAddLockList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 679 } 680 681 // PocAddLockList is a paid mutator transaction binding the contract method 0xa9cfa49c. 682 // 683 // Solidity: function pocAddLockList(minerAddress address) returns() 684 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocAddLockList(minerAddress common.Address) (*types.Transaction, error) { 685 return _ChiefBase_1_0_0.Contract.PocAddLockList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 686 } 687 688 // PocAddStop is a paid mutator transaction binding the contract method 0x1dd47d3d. 689 // 690 // Solidity: function pocAddStop(minerAddress address) returns(int8) 691 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocAddStop(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 692 return _ChiefBase_1_0_0.contract.Transact(opts, "pocAddStop", minerAddress) 693 } 694 695 // PocAddStop is a paid mutator transaction binding the contract method 0x1dd47d3d. 696 // 697 // Solidity: function pocAddStop(minerAddress address) returns(int8) 698 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocAddStop(minerAddress common.Address) (*types.Transaction, error) { 699 return _ChiefBase_1_0_0.Contract.PocAddStop(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 700 } 701 702 // PocAddStop is a paid mutator transaction binding the contract method 0x1dd47d3d. 703 // 704 // Solidity: function pocAddStop(minerAddress address) returns(int8) 705 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocAddStop(minerAddress common.Address) (*types.Transaction, error) { 706 return _ChiefBase_1_0_0.Contract.PocAddStop(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 707 } 708 709 // PocChangeOwner is a paid mutator transaction binding the contract method 0xbf8fb614. 710 // 711 // Solidity: function pocChangeOwner(newOwner address, num uint256) returns() 712 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocChangeOwner(opts *bind.TransactOpts, newOwner common.Address, num *big.Int) (*types.Transaction, error) { 713 return _ChiefBase_1_0_0.contract.Transact(opts, "pocChangeOwner", newOwner, num) 714 } 715 716 // PocChangeOwner is a paid mutator transaction binding the contract method 0xbf8fb614. 717 // 718 // Solidity: function pocChangeOwner(newOwner address, num uint256) returns() 719 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocChangeOwner(newOwner common.Address, num *big.Int) (*types.Transaction, error) { 720 return _ChiefBase_1_0_0.Contract.PocChangeOwner(&_ChiefBase_1_0_0.TransactOpts, newOwner, num) 721 } 722 723 // PocChangeOwner is a paid mutator transaction binding the contract method 0xbf8fb614. 724 // 725 // Solidity: function pocChangeOwner(newOwner address, num uint256) returns() 726 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocChangeOwner(newOwner common.Address, num *big.Int) (*types.Transaction, error) { 727 return _ChiefBase_1_0_0.Contract.PocChangeOwner(&_ChiefBase_1_0_0.TransactOpts, newOwner, num) 728 } 729 730 // PocCleanBlackList is a paid mutator transaction binding the contract method 0x7216276b. 731 // 732 // Solidity: function pocCleanBlackList() returns() 733 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocCleanBlackList(opts *bind.TransactOpts) (*types.Transaction, error) { 734 return _ChiefBase_1_0_0.contract.Transact(opts, "pocCleanBlackList") 735 } 736 737 // PocCleanBlackList is a paid mutator transaction binding the contract method 0x7216276b. 738 // 739 // Solidity: function pocCleanBlackList() returns() 740 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocCleanBlackList() (*types.Transaction, error) { 741 return _ChiefBase_1_0_0.Contract.PocCleanBlackList(&_ChiefBase_1_0_0.TransactOpts) 742 } 743 744 // PocCleanBlackList is a paid mutator transaction binding the contract method 0x7216276b. 745 // 746 // Solidity: function pocCleanBlackList() returns() 747 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocCleanBlackList() (*types.Transaction, error) { 748 return _ChiefBase_1_0_0.Contract.PocCleanBlackList(&_ChiefBase_1_0_0.TransactOpts) 749 } 750 751 // PocDelLockList is a paid mutator transaction binding the contract method 0x4bb19dac. 752 // 753 // Solidity: function pocDelLockList(minerAddress address) returns(int8) 754 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocDelLockList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 755 return _ChiefBase_1_0_0.contract.Transact(opts, "pocDelLockList", minerAddress) 756 } 757 758 // PocDelLockList is a paid mutator transaction binding the contract method 0x4bb19dac. 759 // 760 // Solidity: function pocDelLockList(minerAddress address) returns(int8) 761 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocDelLockList(minerAddress common.Address) (*types.Transaction, error) { 762 return _ChiefBase_1_0_0.Contract.PocDelLockList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 763 } 764 765 // PocDelLockList is a paid mutator transaction binding the contract method 0x4bb19dac. 766 // 767 // Solidity: function pocDelLockList(minerAddress address) returns(int8) 768 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocDelLockList(minerAddress common.Address) (*types.Transaction, error) { 769 return _ChiefBase_1_0_0.Contract.PocDelLockList(&_ChiefBase_1_0_0.TransactOpts, minerAddress) 770 } 771 772 // PocSetInitBlockNumber is a paid mutator transaction binding the contract method 0x7a73ae49. 773 // 774 // Solidity: function pocSetInitBlockNumber(num uint256) returns() 775 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) PocSetInitBlockNumber(opts *bind.TransactOpts, num *big.Int) (*types.Transaction, error) { 776 return _ChiefBase_1_0_0.contract.Transact(opts, "pocSetInitBlockNumber", num) 777 } 778 779 // PocSetInitBlockNumber is a paid mutator transaction binding the contract method 0x7a73ae49. 780 // 781 // Solidity: function pocSetInitBlockNumber(num uint256) returns() 782 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) PocSetInitBlockNumber(num *big.Int) (*types.Transaction, error) { 783 return _ChiefBase_1_0_0.Contract.PocSetInitBlockNumber(&_ChiefBase_1_0_0.TransactOpts, num) 784 } 785 786 // PocSetInitBlockNumber is a paid mutator transaction binding the contract method 0x7a73ae49. 787 // 788 // Solidity: function pocSetInitBlockNumber(num uint256) returns() 789 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) PocSetInitBlockNumber(num *big.Int) (*types.Transaction, error) { 790 return _ChiefBase_1_0_0.Contract.PocSetInitBlockNumber(&_ChiefBase_1_0_0.TransactOpts, num) 791 } 792 793 // RemoveLeader is a paid mutator transaction binding the contract method 0x9037f182. 794 // 795 // Solidity: function removeLeader(addr address) returns() 796 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) RemoveLeader(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error) { 797 return _ChiefBase_1_0_0.contract.Transact(opts, "removeLeader", addr) 798 } 799 800 // RemoveLeader is a paid mutator transaction binding the contract method 0x9037f182. 801 // 802 // Solidity: function removeLeader(addr address) returns() 803 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) RemoveLeader(addr common.Address) (*types.Transaction, error) { 804 return _ChiefBase_1_0_0.Contract.RemoveLeader(&_ChiefBase_1_0_0.TransactOpts, addr) 805 } 806 807 // RemoveLeader is a paid mutator transaction binding the contract method 0x9037f182. 808 // 809 // Solidity: function removeLeader(addr address) returns() 810 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) RemoveLeader(addr common.Address) (*types.Transaction, error) { 811 return _ChiefBase_1_0_0.Contract.RemoveLeader(&_ChiefBase_1_0_0.TransactOpts, addr) 812 } 813 814 // SetOwner is a paid mutator transaction binding the contract method 0x13af4035. 815 // 816 // Solidity: function setOwner(newOwner address) returns() 817 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Transactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) { 818 return _ChiefBase_1_0_0.contract.Transact(opts, "setOwner", newOwner) 819 } 820 821 // SetOwner is a paid mutator transaction binding the contract method 0x13af4035. 822 // 823 // Solidity: function setOwner(newOwner address) returns() 824 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0Session) SetOwner(newOwner common.Address) (*types.Transaction, error) { 825 return _ChiefBase_1_0_0.Contract.SetOwner(&_ChiefBase_1_0_0.TransactOpts, newOwner) 826 } 827 828 // SetOwner is a paid mutator transaction binding the contract method 0x13af4035. 829 // 830 // Solidity: function setOwner(newOwner address) returns() 831 func (_ChiefBase_1_0_0 *ChiefBase_1_0_0TransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error) { 832 return _ChiefBase_1_0_0.Contract.SetOwner(&_ChiefBase_1_0_0.TransactOpts, newOwner) 833 } 834 835 // POC_1_0_0ABI is the input ABI used to generate the binding from. 836 const POC_1_0_0ABI = "[{\"constant\":true,\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"minerStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"ownerPopBlackList\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"withdrawWaitNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"initBlockNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"ownerStop\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"ownerPushBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getBlackList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"ownerEmptyBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"initMinDeposit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"ownerPushLockList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"newOwnerEffectiveNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getNormalList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAll\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"uint256[]\"},{\"name\":\"\",\"type\":\"uint256[]\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newOwner\",\"type\":\"address\"},{\"name\":\"_number\",\"type\":\"uint256\"}],\"name\":\"changeOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwnerList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minDepositAmount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"stop\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"withdrawSurplus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"ownerPopLockList\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getStopList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"start\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"minerAddress\",\"type\":\"address\"}],\"name\":\"blackAndLockStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"int8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getLockList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_r\",\"type\":\"bytes32\"},{\"name\":\"_s\",\"type\":\"bytes32\"},{\"name\":\"_v\",\"type\":\"uint8\"}],\"name\":\"deposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_number\",\"type\":\"uint256\"}],\"name\":\"ownerSetInitBlockNumber\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"depositHalveLimitNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_waitNumber\",\"type\":\"uint256\"},{\"name\":\"_limitNumber\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"miner\",\"type\":\"address\"}],\"name\":\"Stop\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"miner\",\"type\":\"address\"}],\"name\":\"Start\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"}]" 837 838 // POC_1_0_0Bin is the compiled bytecode used for deploying new contracts. 839 const POC_1_0_0Bin = `0x608060405234801561001057600080fd5b506040516080806123628339810180604052608081101561003057600080fd5b50805160208201516040830151606090930151600a91909155600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018054600160a060020a03909316600160a060020a031990931692909217909155600d91909155600c5543600b556122ab806100b76000396000f3fe6080604052600436106101b9576000357c01000000000000000000000000000000000000000000000000000000009004806353ed5143116101095780639c52ade2116100a7578063ed1eeaf111610081578063ed1eeaf11461071b578063f2a558f914610730578063f30011b41461075c578063f8864cfe14610786576101b9565b80639c52ade2146106a0578063dd0b281e146106b5578063e7b14a93146106e8576101b9565b8063645006ca116100e3578063645006ca146105f2578063656cb0bc1461060757806365e73e321461063a5780636fae4a5f1461066d576101b9565b806353ed51431461042757806356df3db1146105a457806358100370146105dd576101b9565b8063360b97b911610176578063478e7d6e11610150578063478e7d6e146103975780634b58f36e146103ca57806351393ce3146103df57806351cff8d9146103f4576101b9565b8063360b97b9146103085780633853d0a11461036d5780633913468e14610382576101b9565b80630c58ed8e146101be5780631103ec9614610218578063147049701461026457806321615f6e1461028b5780632988fcfd146102a057806331f23668146102d3575b600080fd5b3480156101ca57600080fd5b506101f1600480360360208110156101e157600080fd5b5035600160a060020a031661079b565b604080519384526020840192909252600160a060020a031682820152519081900360600190f35b34801561022457600080fd5b5061024b6004803603602081101561023b57600080fd5b5035600160a060020a03166107c8565b60408051600092830b90920b8252519081900360200190f35b34801561027057600080fd5b50610279610990565b60408051918252519081900360200190f35b34801561029757600080fd5b50610279610996565b3480156102ac57600080fd5b5061024b600480360360208110156102c357600080fd5b5035600160a060020a031661099c565b3480156102df57600080fd5b50610306600480360360208110156102f657600080fd5b5035600160a060020a0316610a30565b005b34801561031457600080fd5b5061031d610b6f565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610359578181015183820152602001610341565b505050509050019250505060405180910390f35b34801561037957600080fd5b50610306610bd2565b34801561038e57600080fd5b50610279610caf565b3480156103a357600080fd5b50610306600480360360208110156103ba57600080fd5b5035600160a060020a0316610cb5565b3480156103d657600080fd5b50610279610df2565b3480156103eb57600080fd5b5061031d610df8565b34801561040057600080fd5b506103066004803603602081101561041757600080fd5b5035600160a060020a0316610e58565b34801561043357600080fd5b5061043c61106c565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019060200280838360005b8381101561048c578181015183820152602001610474565b5050505090500186810385528a818151815260200191508051906020019060200280838360005b838110156104cb5781810151838201526020016104b3565b50505050905001868103845289818151815260200191508051906020019060200280838360005b8381101561050a5781810151838201526020016104f2565b50505050905001868103835288818151815260200191508051906020019060200280838360005b83811015610549578181015183820152602001610531565b50505050905001868103825287818151815260200191508051906020019060200280838360005b83811015610588578181015183820152602001610570565b505050509050019a505050505050505050505060405180910390f35b3480156105b057600080fd5b50610306600480360360408110156105c757600080fd5b50600160a060020a0381351690602001356115f9565b3480156105e957600080fd5b5061031d611721565b3480156105fe57600080fd5b50610279611781565b34801561061357600080fd5b506103066004803603602081101561062a57600080fd5b5035600160a060020a03166117bc565b34801561064657600080fd5b506103066004803603602081101561065d57600080fd5b5035600160a060020a03166117ff565b34801561067957600080fd5b5061024b6004803603602081101561069057600080fd5b5035600160a060020a03166118e0565b3480156106ac57600080fd5b5061031d611a75565b3480156106c157600080fd5b50610306600480360360208110156106d857600080fd5b5035600160a060020a0316611ad5565b3480156106f457600080fd5b5061024b6004803603602081101561070b57600080fd5b5035600160a060020a0316611b04565b34801561072757600080fd5b5061031d611bba565b6103066004803603606081101561074657600080fd5b508035906020810135906040013560ff16611c1a565b34801561076857600080fd5b506103066004803603602081101561077f57600080fd5b5035611ddc565b34801561079257600080fd5b50610279611e65565b600160a060020a039081166000908152602081905260409020600181015460028201549154909391921690565b60098054600091829060001983018381106107df57fe5b600091825260209091200154600160a060020a031690506001821180156108075750600e5443105b156108365760098054600119840190811061081e57fe5b600091825260209091200154600160a060020a031690505b33600160a060020a0382161461084b57600080fd5b600160a060020a038416600090815260066020526040902054600554600111806108a1575084600160a060020a031660058281548110151561088957fe5b600091825260209091200154600160a060020a031614155b156108b157600019935050610989565b6005805460001981019081106108c357fe5b60009182526020909120015460058054600160a060020a0390921691839081106108e957fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556005805460001901906109259082612242565b50600160a060020a03851660009081526006602052604081205560055481101561098357806006600060058481548110151561095d57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b60019350505b5050919050565b600d5481565b600b5481565b60098054600091829060001983018381106109b357fe5b600091825260209091200154600160a060020a031690506001821180156109db5750600e5443105b15610a0a576009805460011984019081106109f257fe5b600091825260209091200154600160a060020a031690505b33600160a060020a03821614610a1f57600080fd5b610a2884611e6b565b949350505050565b60098054906000906000198301838110610a4657fe5b600091825260209091200154600160a060020a03169050600182118015610a6e5750600e5443105b15610a9d57600980546001198401908110610a8557fe5b600091825260209091200154600160a060020a031690505b33600160a060020a03821614610ab257600080fd5b6005546000108015610afe5750600160a060020a038316600081815260066020526040902054600580549091908110610ae757fe5b600091825260209091200154600160a060020a0316145b15610b0857610b6a565b600580546001810182557f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0018054600160a060020a031916600160a060020a038616908117909155905460009182526006602052604090912060001990910190555b505050565b60606005805480602002602001604051908101604052809291908181526020018280548015610bc757602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610ba9575b505050505090505b90565b60098054906000906000198301838110610be857fe5b600091825260209091200154600160a060020a03169050600182118015610c105750600e5443105b15610c3f57600980546001198401908110610c2757fe5b600091825260209091200154600160a060020a031690505b33600160a060020a03821614610c5457600080fd5b60005b600554811015610ca15760066000600583815481101515610c7457fe5b6000918252602080832090910154600160a060020a03168352820192909252604001812055600101610c57565b506000610b6a600582612242565b600a5481565b60098054906000906000198301838110610ccb57fe5b600091825260209091200154600160a060020a03169050600182118015610cf35750600e5443105b15610d2257600980546001198401908110610d0a57fe5b600091825260209091200154600160a060020a031690505b33600160a060020a03821614610d3757600080fd5b6007546000108015610d835750600160a060020a038316600081815260086020526040902054600780549091908110610d6c57fe5b600091825260209091200154600160a060020a0316145b15610d8d57610b6a565b5050600780546001810182557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688018054600160a060020a031916600160a060020a03939093169283179055546000918252600860205260409091206000199091019055565b600e5481565b60606001805480602002602001604051908101604052809291908181526020018280548015610bc757602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610ba9575050505050905090565b600160a060020a03818116600090815260208190526040902054163314610e7e57600080fd5b600160a060020a03811660009081526020819052604081206002015411610ea457600080fd5b600d54600160a060020a038216600090815260208190526040902060020154430311610ecf57600080fd5b610ed881611b04565b60000b15610ee557600080fd5b600160a060020a0381166000908152602081815260408083206001810180548254600160a060020a0319168355908590556002909101849055600490925290912054600380546000198101908110610f3957fe5b60009182526020909120015460038054600160a060020a039092169183908110610f5f57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600380546000190190610f9b9082612242565b50600160a060020a038316600090815260046020526040812055600354811015610ff9578060046000600384815481101515610fd357fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b6040805183815290513391600160a060020a038616917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9181900360200190a3604051339083156108fc029084906000818181858888f19350505050158015611066573d6000803e3d6000fd5b50505050565b600354600154604080518284018082526020808202830101909252606093849384938493849392919084908280156110ae578160200160208202803883390190505b5090506060826040519080825280602002602001820160405280156110dd578160200160208202803883390190505b50905060608360405190808252806020026020018201604052801561110c578160200160208202803883390190505b50905060608460405190808252806020026020018201604052801561113b578160200160208202803883390190505b50905060608560405190808252806020026020018201604052801561116a578160200160208202803883390190505b50905060005b888110156113a257600380548290811061118657fe5b6000918252602090912001548651600160a060020a03909116908790839081106111ac57fe5b600160a060020a03909216602092830290910190910152600380546000918291849081106111d657fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060010154855186908390811061120c57fe5b602090810290910101526003805460009182918490811061122957fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060020154845185908390811061125f57fe5b602090810290910101526003805460009182918490811061127c57fe5b6000918252602080832090910154600160a060020a03908116845290830193909352604090910190205484519116908490839081106112b757fe5b600160a060020a03909216602092830290910190910152600554600010801561135b575060038054829081106112e957fe5b600091825260208220015460038054600160a060020a0390921692600592600692908690811061131557fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020548154811061134457fe5b600091825260209091200154600160a060020a0316145b1561137f576001828281518110151561137057fe5b6020908102909101015261139a565b6000828281518110151561138f57fe5b602090810290910101525b600101611170565b5060005b878110156115e45760018054829081106113bc57fe5b6000918252602090912001548651600160a060020a039091169087908b84019081106113e457fe5b600160a060020a039092166020928302909101909101526001805460009182918490811061140e57fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060010154855186908b840190811061144657fe5b602090810290910101526001805460009182918490811061146357fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060020154845185908b840190811061149b57fe5b60209081029091010152600180546000918291849081106114b857fe5b6000918252602080832090910154600160a060020a039081168452908301939093526040909101902054845191169084908b84019081106114f557fe5b600160a060020a0390921660209283029091019091015260055460001080156115995750600180548290811061152757fe5b600091825260208220015460018054600160a060020a0390921692600592600692908690811061155357fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020548154811061158257fe5b600091825260209091200154600160a060020a0316145b156115bf57600182828b018151811015156115b057fe5b602090810290910101526115dc565b600082828b018151811015156115d157fe5b602090810290910101525b6001016113a6565b50939c929b5090995097509095509350505050565b6009805490600090600019830183811061160f57fe5b600091825260209091200154600160a060020a031690506001821180156116375750600e5443105b156116665760098054600119840190811061164e57fe5b600091825260209091200154600160a060020a031690505b33600160a060020a0382161461167b57600080fd5b600e544310156116cd5760098054859190600019810190811061169a57fe5b9060005260206000200160006101000a815481600160a060020a030219169083600160a060020a03160217905550611719565b600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018054600160a060020a031916600160a060020a0386161790555b5050600e5550565b60606009805480602002602001604051908101604052809291908181526020018280548015610bc757602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610ba9575050505050905090565b600080600c54600b54430381151561179557fe5b04905060038111156117a5575060035b8060020a600a548115156117b557fe5b0491505090565b600160a060020a038181166000908152602081905260409020541633146117e257600080fd5b6117eb81611e6b565b60000b60011415156117fc57600080fd5b50565b600160a060020a0381811660009081526020819052604090205416331461182557600080fd5b600061182f611781565b600160a060020a038316600090815260208190526040812060010154919091039150811161185c57600080fd5b600160a060020a0382166000818152602081815260409182902060010180548590039055815184815291513393927f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb92908290030190a3604051339082156108fc029083906000818181858888f19350505050158015610b6a573d6000803e3d6000fd5b60098054600091829060001983018381106118f757fe5b600091825260209091200154600160a060020a0316905060018211801561191f5750600e5443105b1561194e5760098054600119840190811061193657fe5b600091825260209091200154600160a060020a031690505b33600160a060020a0382161461196357600080fd5b600160a060020a038416600090815260086020526040902054600754600111806119b9575084600160a060020a03166007828154811015156119a157fe5b600091825260209091200154600160a060020a031614155b156119c957600019935050610989565b6007805460001981019081106119db57fe5b60009182526020909120015460078054600160a060020a039092169183908110611a0157fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600780546000190190611a3d9082612242565b50600160a060020a03851660009081526008602052604081205560075481101561098357806008600060078481548110151561095d57fe5b60606003805480602002602001604051908101604052809291908181526020018280548015610bc757602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610ba9575050505050905090565b600160a060020a03818116600090815260208190526040902054163314611afb57600080fd5b6117eb81612048565b600554600090819081108015611b545750600160a060020a038316600081815260066020526040902054600580549091908110611b3d57fe5b600091825260209091200154600160a060020a0316145b15611b5d576001015b6007546000108015611ba95750600160a060020a038316600081815260086020526040902054600780549091908110611b9257fe5b600091825260209091200154600160a060020a0316145b15611bb2576002015b90505b919050565b60606007805480602002602001604051908101604052809291908181526020018280548015610bc757602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610ba9575050505050905090565b611c22611781565b341015611c2e57600080fd5b604080516c01000000000000000000000000330260208083019190915282518083036014018152603483018085528151918301919091206000918290526054840180865281905260ff861660748501526094840188905260b484018790529351909260019260d4808301939192601f198301929081900390910190855afa158015611cbd573d6000803e3d6000fd5b5050604051601f190151915050600160a060020a0381161515611cdf57600080fd5b600160a060020a03811660009081526020819052604090206001015415611d0557600080fd5b60408051606081018252338082523460208084018281526000858701818152600160a060020a03898116808452838652898420985189549216600160a060020a031992831617895593516001808a01919091559151600298890155815480830183557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180549091168417905554958352869020600019959095019094558451918252935191937f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6292918290030190a35050505050565b60098054906000906000198301838110611df257fe5b600091825260209091200154600160a060020a03169050600182118015611e1a5750600e5443105b15611e4957600980546001198401908110611e3157fe5b600091825260209091200154600160a060020a031690505b33600160a060020a03821614611e5e57600080fd5b5050600b55565b600c5481565b600160a060020a0381166000908152602081905260408120600101541515611e965750600019611bb5565b600160a060020a03821660009081526020819052604090206002015415611ebf57506000611bb5565b600160a060020a03821660009081526020818152604080832043600291820155909152902054600180546000198101908110611ef757fe5b60009182526020909120015460018054600160a060020a039092169183908110611f1d57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600180546000190190611f599082612242565b50600160a060020a038316600090815260026020526040812055600154811015611fb7578060026000600184815481101515611f9157fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018054600160a060020a031916600160a060020a038616908117909155905460008281526004602052604080822060001990930190925590517f5f8b016b80ca3a499d7fc818528ee3c8658d421489a9efdf1d365c4241ddd8839190a250600192915050565b600160a060020a03811660009081526020819052604081206001015415156120735750600019611bb5565b600061207e83611b04565b60000b131561208f57506000611bb5565b600160a060020a03821660009081526020819052604090206002015415156120b957506000611bb5565b600160a060020a03821660009081526020818152604080832060020183905560049091529020546003805460001981019081106120f257fe5b60009182526020909120015460038054600160a060020a03909216918390811061211857fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556003805460001901906121549082612242565b50600160a060020a0383166000908152600460205260408120556003548110156121b257806004600060038481548110151561218c57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018054600160a060020a031916600160a060020a038616908117909155905460008281526002602052604080822060001990930190925590517f84d0447ca38875fa61115673259a210915bc1dd53a3c112d6f0790f15956a9659190a250600192915050565b815481835581811115610b6a57600083815260209020610b6a918101908301610bcf91905b8082111561227b5760008155600101612267565b509056fea165627a7a72305820221ad753e122d573f86c27dc70c55f5f486a0af73db10f59d506448dee597ef30029` 840 841 // DeployPOC_1_0_0 deploys a new Ethereum contract, binding an instance of POC_1_0_0 to it. 842 func DeployPOC_1_0_0(auth *bind.TransactOpts, backend bind.ContractBackend, _addr common.Address, _amount *big.Int, _waitNumber *big.Int, _limitNumber *big.Int) (common.Address, *types.Transaction, *POC_1_0_0, error) { 843 parsed, err := abi.JSON(strings.NewReader(POC_1_0_0ABI)) 844 if err != nil { 845 return common.Address{}, nil, nil, err 846 } 847 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(POC_1_0_0Bin), backend, _addr, _amount, _waitNumber, _limitNumber) 848 if err != nil { 849 return common.Address{}, nil, nil, err 850 } 851 return address, tx, &POC_1_0_0{POC_1_0_0Caller: POC_1_0_0Caller{contract: contract}, POC_1_0_0Transactor: POC_1_0_0Transactor{contract: contract}}, nil 852 } 853 854 // POC_1_0_0 is an auto generated Go binding around an Ethereum contract. 855 type POC_1_0_0 struct { 856 POC_1_0_0Caller // Read-only binding to the contract 857 POC_1_0_0Transactor // Write-only binding to the contract 858 } 859 860 // POC_1_0_0Caller is an auto generated read-only Go binding around an Ethereum contract. 861 type POC_1_0_0Caller struct { 862 contract *bind.BoundContract // Generic contract wrapper for the low level calls 863 } 864 865 // POC_1_0_0Transactor is an auto generated write-only Go binding around an Ethereum contract. 866 type POC_1_0_0Transactor struct { 867 contract *bind.BoundContract // Generic contract wrapper for the low level calls 868 } 869 870 // POC_1_0_0Session is an auto generated Go binding around an Ethereum contract, 871 // with pre-set call and transact options. 872 type POC_1_0_0Session struct { 873 Contract *POC_1_0_0 // Generic contract binding to set the session for 874 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 875 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 876 } 877 878 // POC_1_0_0CallerSession is an auto generated read-only Go binding around an Ethereum contract, 879 // with pre-set call options. 880 type POC_1_0_0CallerSession struct { 881 Contract *POC_1_0_0Caller // Generic contract caller binding to set the session for 882 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 883 } 884 885 // POC_1_0_0TransactorSession is an auto generated write-only Go binding around an Ethereum contract, 886 // with pre-set transact options. 887 type POC_1_0_0TransactorSession struct { 888 Contract *POC_1_0_0Transactor // Generic contract transactor binding to set the session for 889 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 890 } 891 892 // POC_1_0_0Raw is an auto generated low-level Go binding around an Ethereum contract. 893 type POC_1_0_0Raw struct { 894 Contract *POC_1_0_0 // Generic contract binding to access the raw methods on 895 } 896 897 // POC_1_0_0CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 898 type POC_1_0_0CallerRaw struct { 899 Contract *POC_1_0_0Caller // Generic read-only contract binding to access the raw methods on 900 } 901 902 // POC_1_0_0TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 903 type POC_1_0_0TransactorRaw struct { 904 Contract *POC_1_0_0Transactor // Generic write-only contract binding to access the raw methods on 905 } 906 907 // NewPOC_1_0_0 creates a new instance of POC_1_0_0, bound to a specific deployed contract. 908 func NewPOC_1_0_0(address common.Address, backend bind.ContractBackend) (*POC_1_0_0, error) { 909 contract, err := bindPOC_1_0_0(address, backend, backend) 910 if err != nil { 911 return nil, err 912 } 913 return &POC_1_0_0{POC_1_0_0Caller: POC_1_0_0Caller{contract: contract}, POC_1_0_0Transactor: POC_1_0_0Transactor{contract: contract}}, nil 914 } 915 916 // NewPOC_1_0_0Caller creates a new read-only instance of POC_1_0_0, bound to a specific deployed contract. 917 func NewPOC_1_0_0Caller(address common.Address, caller bind.ContractCaller) (*POC_1_0_0Caller, error) { 918 contract, err := bindPOC_1_0_0(address, caller, nil) 919 if err != nil { 920 return nil, err 921 } 922 return &POC_1_0_0Caller{contract: contract}, nil 923 } 924 925 // NewPOC_1_0_0Transactor creates a new write-only instance of POC_1_0_0, bound to a specific deployed contract. 926 func NewPOC_1_0_0Transactor(address common.Address, transactor bind.ContractTransactor) (*POC_1_0_0Transactor, error) { 927 contract, err := bindPOC_1_0_0(address, nil, transactor) 928 if err != nil { 929 return nil, err 930 } 931 return &POC_1_0_0Transactor{contract: contract}, nil 932 } 933 934 // bindPOC_1_0_0 binds a generic wrapper to an already deployed contract. 935 func bindPOC_1_0_0(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor) (*bind.BoundContract, error) { 936 parsed, err := abi.JSON(strings.NewReader(POC_1_0_0ABI)) 937 if err != nil { 938 return nil, err 939 } 940 return bind.NewBoundContract(address, parsed, caller, transactor), nil 941 } 942 943 // Call invokes the (constant) contract method with params as input values and 944 // sets the output to result. The result type might be a single field for simple 945 // returns, a slice of interfaces for anonymous returns and a struct for named 946 // returns. 947 func (_POC_1_0_0 *POC_1_0_0Raw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 948 return _POC_1_0_0.Contract.POC_1_0_0Caller.contract.CallWithNumber(opts, result, method, params...) 949 } 950 951 // Transfer initiates a plain transaction to move funds to the contract, calling 952 // its default method if one is available. 953 func (_POC_1_0_0 *POC_1_0_0Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 954 return _POC_1_0_0.Contract.POC_1_0_0Transactor.contract.Transfer(opts) 955 } 956 957 // Transact invokes the (paid) contract method with params as input values. 958 func (_POC_1_0_0 *POC_1_0_0Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 959 return _POC_1_0_0.Contract.POC_1_0_0Transactor.contract.Transact(opts, method, params...) 960 } 961 962 // Call invokes the (constant) contract method with params as input values and 963 // sets the output to result. The result type might be a single field for simple 964 // returns, a slice of interfaces for anonymous returns and a struct for named 965 // returns. 966 func (_POC_1_0_0 *POC_1_0_0CallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 967 return _POC_1_0_0.Contract.contract.CallWithNumber(opts, result, method, params...) 968 } 969 970 // Transfer initiates a plain transaction to move funds to the contract, calling 971 // its default method if one is available. 972 func (_POC_1_0_0 *POC_1_0_0TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 973 return _POC_1_0_0.Contract.contract.Transfer(opts) 974 } 975 976 // Transact invokes the (paid) contract method with params as input values. 977 func (_POC_1_0_0 *POC_1_0_0TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 978 return _POC_1_0_0.Contract.contract.Transact(opts, method, params...) 979 } 980 981 // BlackAndLockStatus is a free data retrieval call binding the contract method 0xe7b14a93. 982 // 983 // Solidity: function blackAndLockStatus(minerAddress address) constant returns(int8) 984 func (_POC_1_0_0 *POC_1_0_0Caller) BlackAndLockStatus(opts *bind.CallOptsWithNumber, minerAddress common.Address) (int8, error) { 985 var ( 986 ret0 = new(int8) 987 ) 988 out := ret0 989 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "blackAndLockStatus", minerAddress) 990 return *ret0, err 991 } 992 993 // BlackAndLockStatus is a free data retrieval call binding the contract method 0xe7b14a93. 994 // 995 // Solidity: function blackAndLockStatus(minerAddress address) constant returns(int8) 996 func (_POC_1_0_0 *POC_1_0_0Session) BlackAndLockStatus(minerAddress common.Address) (int8, error) { 997 return _POC_1_0_0.Contract.BlackAndLockStatus(&_POC_1_0_0.CallOpts, minerAddress) 998 } 999 1000 // BlackAndLockStatus is a free data retrieval call binding the contract method 0xe7b14a93. 1001 // 1002 // Solidity: function blackAndLockStatus(minerAddress address) constant returns(int8) 1003 func (_POC_1_0_0 *POC_1_0_0CallerSession) BlackAndLockStatus(minerAddress common.Address) (int8, error) { 1004 return _POC_1_0_0.Contract.BlackAndLockStatus(&_POC_1_0_0.CallOpts, minerAddress) 1005 } 1006 1007 // DepositHalveLimitNumber is a free data retrieval call binding the contract method 0xf8864cfe. 1008 // 1009 // Solidity: function depositHalveLimitNumber() constant returns(uint256) 1010 func (_POC_1_0_0 *POC_1_0_0Caller) DepositHalveLimitNumber(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1011 var ( 1012 ret0 = new(*big.Int) 1013 ) 1014 out := ret0 1015 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "depositHalveLimitNumber") 1016 return *ret0, err 1017 } 1018 1019 // DepositHalveLimitNumber is a free data retrieval call binding the contract method 0xf8864cfe. 1020 // 1021 // Solidity: function depositHalveLimitNumber() constant returns(uint256) 1022 func (_POC_1_0_0 *POC_1_0_0Session) DepositHalveLimitNumber() (*big.Int, error) { 1023 return _POC_1_0_0.Contract.DepositHalveLimitNumber(&_POC_1_0_0.CallOpts) 1024 } 1025 1026 // DepositHalveLimitNumber is a free data retrieval call binding the contract method 0xf8864cfe. 1027 // 1028 // Solidity: function depositHalveLimitNumber() constant returns(uint256) 1029 func (_POC_1_0_0 *POC_1_0_0CallerSession) DepositHalveLimitNumber() (*big.Int, error) { 1030 return _POC_1_0_0.Contract.DepositHalveLimitNumber(&_POC_1_0_0.CallOpts) 1031 } 1032 1033 // GetAll is a free data retrieval call binding the contract method 0x53ed5143. 1034 // 1035 // Solidity: function getAll() constant returns(address[], uint256[], uint256[], address[], uint256[]) 1036 func (_POC_1_0_0 *POC_1_0_0Caller) GetAll(opts *bind.CallOptsWithNumber) ([]common.Address, []*big.Int, []*big.Int, []common.Address, []*big.Int, error) { 1037 var ( 1038 ret0 = new([]common.Address) 1039 ret1 = new([]*big.Int) 1040 ret2 = new([]*big.Int) 1041 ret3 = new([]common.Address) 1042 ret4 = new([]*big.Int) 1043 ) 1044 out := &[]interface{}{ 1045 ret0, 1046 ret1, 1047 ret2, 1048 ret3, 1049 ret4, 1050 } 1051 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getAll") 1052 return *ret0, *ret1, *ret2, *ret3, *ret4, err 1053 } 1054 1055 // GetAll is a free data retrieval call binding the contract method 0x53ed5143. 1056 // 1057 // Solidity: function getAll() constant returns(address[], uint256[], uint256[], address[], uint256[]) 1058 func (_POC_1_0_0 *POC_1_0_0Session) GetAll() ([]common.Address, []*big.Int, []*big.Int, []common.Address, []*big.Int, error) { 1059 return _POC_1_0_0.Contract.GetAll(&_POC_1_0_0.CallOpts) 1060 } 1061 1062 // GetAll is a free data retrieval call binding the contract method 0x53ed5143. 1063 // 1064 // Solidity: function getAll() constant returns(address[], uint256[], uint256[], address[], uint256[]) 1065 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetAll() ([]common.Address, []*big.Int, []*big.Int, []common.Address, []*big.Int, error) { 1066 return _POC_1_0_0.Contract.GetAll(&_POC_1_0_0.CallOpts) 1067 } 1068 1069 // GetBlackList is a free data retrieval call binding the contract method 0x360b97b9. 1070 // 1071 // Solidity: function getBlackList() constant returns(address[]) 1072 func (_POC_1_0_0 *POC_1_0_0Caller) GetBlackList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 1073 var ( 1074 ret0 = new([]common.Address) 1075 ) 1076 out := ret0 1077 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getBlackList") 1078 return *ret0, err 1079 } 1080 1081 // GetBlackList is a free data retrieval call binding the contract method 0x360b97b9. 1082 // 1083 // Solidity: function getBlackList() constant returns(address[]) 1084 func (_POC_1_0_0 *POC_1_0_0Session) GetBlackList() ([]common.Address, error) { 1085 return _POC_1_0_0.Contract.GetBlackList(&_POC_1_0_0.CallOpts) 1086 } 1087 1088 // GetBlackList is a free data retrieval call binding the contract method 0x360b97b9. 1089 // 1090 // Solidity: function getBlackList() constant returns(address[]) 1091 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetBlackList() ([]common.Address, error) { 1092 return _POC_1_0_0.Contract.GetBlackList(&_POC_1_0_0.CallOpts) 1093 } 1094 1095 // GetLockList is a free data retrieval call binding the contract method 0xed1eeaf1. 1096 // 1097 // Solidity: function getLockList() constant returns(address[]) 1098 func (_POC_1_0_0 *POC_1_0_0Caller) GetLockList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 1099 var ( 1100 ret0 = new([]common.Address) 1101 ) 1102 out := ret0 1103 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getLockList") 1104 return *ret0, err 1105 } 1106 1107 // GetLockList is a free data retrieval call binding the contract method 0xed1eeaf1. 1108 // 1109 // Solidity: function getLockList() constant returns(address[]) 1110 func (_POC_1_0_0 *POC_1_0_0Session) GetLockList() ([]common.Address, error) { 1111 return _POC_1_0_0.Contract.GetLockList(&_POC_1_0_0.CallOpts) 1112 } 1113 1114 // GetLockList is a free data retrieval call binding the contract method 0xed1eeaf1. 1115 // 1116 // Solidity: function getLockList() constant returns(address[]) 1117 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetLockList() ([]common.Address, error) { 1118 return _POC_1_0_0.Contract.GetLockList(&_POC_1_0_0.CallOpts) 1119 } 1120 1121 // GetNormalList is a free data retrieval call binding the contract method 0x51393ce3. 1122 // 1123 // Solidity: function getNormalList() constant returns(address[]) 1124 func (_POC_1_0_0 *POC_1_0_0Caller) GetNormalList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 1125 var ( 1126 ret0 = new([]common.Address) 1127 ) 1128 out := ret0 1129 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getNormalList") 1130 return *ret0, err 1131 } 1132 1133 // GetNormalList is a free data retrieval call binding the contract method 0x51393ce3. 1134 // 1135 // Solidity: function getNormalList() constant returns(address[]) 1136 func (_POC_1_0_0 *POC_1_0_0Session) GetNormalList() ([]common.Address, error) { 1137 return _POC_1_0_0.Contract.GetNormalList(&_POC_1_0_0.CallOpts) 1138 } 1139 1140 // GetNormalList is a free data retrieval call binding the contract method 0x51393ce3. 1141 // 1142 // Solidity: function getNormalList() constant returns(address[]) 1143 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetNormalList() ([]common.Address, error) { 1144 return _POC_1_0_0.Contract.GetNormalList(&_POC_1_0_0.CallOpts) 1145 } 1146 1147 // GetOwnerList is a free data retrieval call binding the contract method 0x58100370. 1148 // 1149 // Solidity: function getOwnerList() constant returns(address[]) 1150 func (_POC_1_0_0 *POC_1_0_0Caller) GetOwnerList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 1151 var ( 1152 ret0 = new([]common.Address) 1153 ) 1154 out := ret0 1155 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getOwnerList") 1156 return *ret0, err 1157 } 1158 1159 // GetOwnerList is a free data retrieval call binding the contract method 0x58100370. 1160 // 1161 // Solidity: function getOwnerList() constant returns(address[]) 1162 func (_POC_1_0_0 *POC_1_0_0Session) GetOwnerList() ([]common.Address, error) { 1163 return _POC_1_0_0.Contract.GetOwnerList(&_POC_1_0_0.CallOpts) 1164 } 1165 1166 // GetOwnerList is a free data retrieval call binding the contract method 0x58100370. 1167 // 1168 // Solidity: function getOwnerList() constant returns(address[]) 1169 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetOwnerList() ([]common.Address, error) { 1170 return _POC_1_0_0.Contract.GetOwnerList(&_POC_1_0_0.CallOpts) 1171 } 1172 1173 // GetStopList is a free data retrieval call binding the contract method 0x9c52ade2. 1174 // 1175 // Solidity: function getStopList() constant returns(address[]) 1176 func (_POC_1_0_0 *POC_1_0_0Caller) GetStopList(opts *bind.CallOptsWithNumber) ([]common.Address, error) { 1177 var ( 1178 ret0 = new([]common.Address) 1179 ) 1180 out := ret0 1181 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "getStopList") 1182 return *ret0, err 1183 } 1184 1185 // GetStopList is a free data retrieval call binding the contract method 0x9c52ade2. 1186 // 1187 // Solidity: function getStopList() constant returns(address[]) 1188 func (_POC_1_0_0 *POC_1_0_0Session) GetStopList() ([]common.Address, error) { 1189 return _POC_1_0_0.Contract.GetStopList(&_POC_1_0_0.CallOpts) 1190 } 1191 1192 // GetStopList is a free data retrieval call binding the contract method 0x9c52ade2. 1193 // 1194 // Solidity: function getStopList() constant returns(address[]) 1195 func (_POC_1_0_0 *POC_1_0_0CallerSession) GetStopList() ([]common.Address, error) { 1196 return _POC_1_0_0.Contract.GetStopList(&_POC_1_0_0.CallOpts) 1197 } 1198 1199 // InitBlockNumber is a free data retrieval call binding the contract method 0x21615f6e. 1200 // 1201 // Solidity: function initBlockNumber() constant returns(uint256) 1202 func (_POC_1_0_0 *POC_1_0_0Caller) InitBlockNumber(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1203 var ( 1204 ret0 = new(*big.Int) 1205 ) 1206 out := ret0 1207 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "initBlockNumber") 1208 return *ret0, err 1209 } 1210 1211 // InitBlockNumber is a free data retrieval call binding the contract method 0x21615f6e. 1212 // 1213 // Solidity: function initBlockNumber() constant returns(uint256) 1214 func (_POC_1_0_0 *POC_1_0_0Session) InitBlockNumber() (*big.Int, error) { 1215 return _POC_1_0_0.Contract.InitBlockNumber(&_POC_1_0_0.CallOpts) 1216 } 1217 1218 // InitBlockNumber is a free data retrieval call binding the contract method 0x21615f6e. 1219 // 1220 // Solidity: function initBlockNumber() constant returns(uint256) 1221 func (_POC_1_0_0 *POC_1_0_0CallerSession) InitBlockNumber() (*big.Int, error) { 1222 return _POC_1_0_0.Contract.InitBlockNumber(&_POC_1_0_0.CallOpts) 1223 } 1224 1225 // InitMinDeposit is a free data retrieval call binding the contract method 0x3913468e. 1226 // 1227 // Solidity: function initMinDeposit() constant returns(uint256) 1228 func (_POC_1_0_0 *POC_1_0_0Caller) InitMinDeposit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1229 var ( 1230 ret0 = new(*big.Int) 1231 ) 1232 out := ret0 1233 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "initMinDeposit") 1234 return *ret0, err 1235 } 1236 1237 // InitMinDeposit is a free data retrieval call binding the contract method 0x3913468e. 1238 // 1239 // Solidity: function initMinDeposit() constant returns(uint256) 1240 func (_POC_1_0_0 *POC_1_0_0Session) InitMinDeposit() (*big.Int, error) { 1241 return _POC_1_0_0.Contract.InitMinDeposit(&_POC_1_0_0.CallOpts) 1242 } 1243 1244 // InitMinDeposit is a free data retrieval call binding the contract method 0x3913468e. 1245 // 1246 // Solidity: function initMinDeposit() constant returns(uint256) 1247 func (_POC_1_0_0 *POC_1_0_0CallerSession) InitMinDeposit() (*big.Int, error) { 1248 return _POC_1_0_0.Contract.InitMinDeposit(&_POC_1_0_0.CallOpts) 1249 } 1250 1251 // MinDepositAmount is a free data retrieval call binding the contract method 0x645006ca. 1252 // 1253 // Solidity: function minDepositAmount() constant returns(uint256) 1254 func (_POC_1_0_0 *POC_1_0_0Caller) MinDepositAmount(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1255 var ( 1256 ret0 = new(*big.Int) 1257 ) 1258 out := ret0 1259 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "minDepositAmount") 1260 return *ret0, err 1261 } 1262 1263 // MinDepositAmount is a free data retrieval call binding the contract method 0x645006ca. 1264 // 1265 // Solidity: function minDepositAmount() constant returns(uint256) 1266 func (_POC_1_0_0 *POC_1_0_0Session) MinDepositAmount() (*big.Int, error) { 1267 return _POC_1_0_0.Contract.MinDepositAmount(&_POC_1_0_0.CallOpts) 1268 } 1269 1270 // MinDepositAmount is a free data retrieval call binding the contract method 0x645006ca. 1271 // 1272 // Solidity: function minDepositAmount() constant returns(uint256) 1273 func (_POC_1_0_0 *POC_1_0_0CallerSession) MinDepositAmount() (*big.Int, error) { 1274 return _POC_1_0_0.Contract.MinDepositAmount(&_POC_1_0_0.CallOpts) 1275 } 1276 1277 // MinerStatus is a free data retrieval call binding the contract method 0x0c58ed8e. 1278 // 1279 // Solidity: function minerStatus(_addr address) constant returns(uint256, uint256, address) 1280 func (_POC_1_0_0 *POC_1_0_0Caller) MinerStatus(opts *bind.CallOptsWithNumber, _addr common.Address) (*big.Int, *big.Int, common.Address, error) { 1281 var ( 1282 ret0 = new(*big.Int) 1283 ret1 = new(*big.Int) 1284 ret2 = new(common.Address) 1285 ) 1286 out := &[]interface{}{ 1287 ret0, 1288 ret1, 1289 ret2, 1290 } 1291 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "minerStatus", _addr) 1292 return *ret0, *ret1, *ret2, err 1293 } 1294 1295 // MinerStatus is a free data retrieval call binding the contract method 0x0c58ed8e. 1296 // 1297 // Solidity: function minerStatus(_addr address) constant returns(uint256, uint256, address) 1298 func (_POC_1_0_0 *POC_1_0_0Session) MinerStatus(_addr common.Address) (*big.Int, *big.Int, common.Address, error) { 1299 return _POC_1_0_0.Contract.MinerStatus(&_POC_1_0_0.CallOpts, _addr) 1300 } 1301 1302 // MinerStatus is a free data retrieval call binding the contract method 0x0c58ed8e. 1303 // 1304 // Solidity: function minerStatus(_addr address) constant returns(uint256, uint256, address) 1305 func (_POC_1_0_0 *POC_1_0_0CallerSession) MinerStatus(_addr common.Address) (*big.Int, *big.Int, common.Address, error) { 1306 return _POC_1_0_0.Contract.MinerStatus(&_POC_1_0_0.CallOpts, _addr) 1307 } 1308 1309 // NewOwnerEffectiveNumber is a free data retrieval call binding the contract method 0x4b58f36e. 1310 // 1311 // Solidity: function newOwnerEffectiveNumber() constant returns(uint256) 1312 func (_POC_1_0_0 *POC_1_0_0Caller) NewOwnerEffectiveNumber(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1313 var ( 1314 ret0 = new(*big.Int) 1315 ) 1316 out := ret0 1317 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "newOwnerEffectiveNumber") 1318 return *ret0, err 1319 } 1320 1321 // NewOwnerEffectiveNumber is a free data retrieval call binding the contract method 0x4b58f36e. 1322 // 1323 // Solidity: function newOwnerEffectiveNumber() constant returns(uint256) 1324 func (_POC_1_0_0 *POC_1_0_0Session) NewOwnerEffectiveNumber() (*big.Int, error) { 1325 return _POC_1_0_0.Contract.NewOwnerEffectiveNumber(&_POC_1_0_0.CallOpts) 1326 } 1327 1328 // NewOwnerEffectiveNumber is a free data retrieval call binding the contract method 0x4b58f36e. 1329 // 1330 // Solidity: function newOwnerEffectiveNumber() constant returns(uint256) 1331 func (_POC_1_0_0 *POC_1_0_0CallerSession) NewOwnerEffectiveNumber() (*big.Int, error) { 1332 return _POC_1_0_0.Contract.NewOwnerEffectiveNumber(&_POC_1_0_0.CallOpts) 1333 } 1334 1335 // WithdrawWaitNumber is a free data retrieval call binding the contract method 0x14704970. 1336 // 1337 // Solidity: function withdrawWaitNumber() constant returns(uint256) 1338 func (_POC_1_0_0 *POC_1_0_0Caller) WithdrawWaitNumber(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1339 var ( 1340 ret0 = new(*big.Int) 1341 ) 1342 out := ret0 1343 err := _POC_1_0_0.contract.CallWithNumber(opts, out, "withdrawWaitNumber") 1344 return *ret0, err 1345 } 1346 1347 // WithdrawWaitNumber is a free data retrieval call binding the contract method 0x14704970. 1348 // 1349 // Solidity: function withdrawWaitNumber() constant returns(uint256) 1350 func (_POC_1_0_0 *POC_1_0_0Session) WithdrawWaitNumber() (*big.Int, error) { 1351 return _POC_1_0_0.Contract.WithdrawWaitNumber(&_POC_1_0_0.CallOpts) 1352 } 1353 1354 // WithdrawWaitNumber is a free data retrieval call binding the contract method 0x14704970. 1355 // 1356 // Solidity: function withdrawWaitNumber() constant returns(uint256) 1357 func (_POC_1_0_0 *POC_1_0_0CallerSession) WithdrawWaitNumber() (*big.Int, error) { 1358 return _POC_1_0_0.Contract.WithdrawWaitNumber(&_POC_1_0_0.CallOpts) 1359 } 1360 1361 // ChangeOwner is a paid mutator transaction binding the contract method 0x56df3db1. 1362 // 1363 // Solidity: function changeOwner(_newOwner address, _number uint256) returns() 1364 func (_POC_1_0_0 *POC_1_0_0Transactor) ChangeOwner(opts *bind.TransactOpts, _newOwner common.Address, _number *big.Int) (*types.Transaction, error) { 1365 return _POC_1_0_0.contract.Transact(opts, "changeOwner", _newOwner, _number) 1366 } 1367 1368 // ChangeOwner is a paid mutator transaction binding the contract method 0x56df3db1. 1369 // 1370 // Solidity: function changeOwner(_newOwner address, _number uint256) returns() 1371 func (_POC_1_0_0 *POC_1_0_0Session) ChangeOwner(_newOwner common.Address, _number *big.Int) (*types.Transaction, error) { 1372 return _POC_1_0_0.Contract.ChangeOwner(&_POC_1_0_0.TransactOpts, _newOwner, _number) 1373 } 1374 1375 // ChangeOwner is a paid mutator transaction binding the contract method 0x56df3db1. 1376 // 1377 // Solidity: function changeOwner(_newOwner address, _number uint256) returns() 1378 func (_POC_1_0_0 *POC_1_0_0TransactorSession) ChangeOwner(_newOwner common.Address, _number *big.Int) (*types.Transaction, error) { 1379 return _POC_1_0_0.Contract.ChangeOwner(&_POC_1_0_0.TransactOpts, _newOwner, _number) 1380 } 1381 1382 // Deposit is a paid mutator transaction binding the contract method 0xf2a558f9. 1383 // 1384 // Solidity: function deposit(_r bytes32, _s bytes32, _v uint8) returns() 1385 func (_POC_1_0_0 *POC_1_0_0Transactor) Deposit(opts *bind.TransactOpts, _r [32]byte, _s [32]byte, _v uint8) (*types.Transaction, error) { 1386 return _POC_1_0_0.contract.Transact(opts, "deposit", _r, _s, _v) 1387 } 1388 1389 // Deposit is a paid mutator transaction binding the contract method 0xf2a558f9. 1390 // 1391 // Solidity: function deposit(_r bytes32, _s bytes32, _v uint8) returns() 1392 func (_POC_1_0_0 *POC_1_0_0Session) Deposit(_r [32]byte, _s [32]byte, _v uint8) (*types.Transaction, error) { 1393 return _POC_1_0_0.Contract.Deposit(&_POC_1_0_0.TransactOpts, _r, _s, _v) 1394 } 1395 1396 // Deposit is a paid mutator transaction binding the contract method 0xf2a558f9. 1397 // 1398 // Solidity: function deposit(_r bytes32, _s bytes32, _v uint8) returns() 1399 func (_POC_1_0_0 *POC_1_0_0TransactorSession) Deposit(_r [32]byte, _s [32]byte, _v uint8) (*types.Transaction, error) { 1400 return _POC_1_0_0.Contract.Deposit(&_POC_1_0_0.TransactOpts, _r, _s, _v) 1401 } 1402 1403 // OwnerEmptyBlackList is a paid mutator transaction binding the contract method 0x3853d0a1. 1404 // 1405 // Solidity: function ownerEmptyBlackList() returns() 1406 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerEmptyBlackList(opts *bind.TransactOpts) (*types.Transaction, error) { 1407 return _POC_1_0_0.contract.Transact(opts, "ownerEmptyBlackList") 1408 } 1409 1410 // OwnerEmptyBlackList is a paid mutator transaction binding the contract method 0x3853d0a1. 1411 // 1412 // Solidity: function ownerEmptyBlackList() returns() 1413 func (_POC_1_0_0 *POC_1_0_0Session) OwnerEmptyBlackList() (*types.Transaction, error) { 1414 return _POC_1_0_0.Contract.OwnerEmptyBlackList(&_POC_1_0_0.TransactOpts) 1415 } 1416 1417 // OwnerEmptyBlackList is a paid mutator transaction binding the contract method 0x3853d0a1. 1418 // 1419 // Solidity: function ownerEmptyBlackList() returns() 1420 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerEmptyBlackList() (*types.Transaction, error) { 1421 return _POC_1_0_0.Contract.OwnerEmptyBlackList(&_POC_1_0_0.TransactOpts) 1422 } 1423 1424 // OwnerPopBlackList is a paid mutator transaction binding the contract method 0x1103ec96. 1425 // 1426 // Solidity: function ownerPopBlackList(minerAddress address) returns(int8) 1427 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerPopBlackList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1428 return _POC_1_0_0.contract.Transact(opts, "ownerPopBlackList", minerAddress) 1429 } 1430 1431 // OwnerPopBlackList is a paid mutator transaction binding the contract method 0x1103ec96. 1432 // 1433 // Solidity: function ownerPopBlackList(minerAddress address) returns(int8) 1434 func (_POC_1_0_0 *POC_1_0_0Session) OwnerPopBlackList(minerAddress common.Address) (*types.Transaction, error) { 1435 return _POC_1_0_0.Contract.OwnerPopBlackList(&_POC_1_0_0.TransactOpts, minerAddress) 1436 } 1437 1438 // OwnerPopBlackList is a paid mutator transaction binding the contract method 0x1103ec96. 1439 // 1440 // Solidity: function ownerPopBlackList(minerAddress address) returns(int8) 1441 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerPopBlackList(minerAddress common.Address) (*types.Transaction, error) { 1442 return _POC_1_0_0.Contract.OwnerPopBlackList(&_POC_1_0_0.TransactOpts, minerAddress) 1443 } 1444 1445 // OwnerPopLockList is a paid mutator transaction binding the contract method 0x6fae4a5f. 1446 // 1447 // Solidity: function ownerPopLockList(minerAddress address) returns(int8) 1448 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerPopLockList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1449 return _POC_1_0_0.contract.Transact(opts, "ownerPopLockList", minerAddress) 1450 } 1451 1452 // OwnerPopLockList is a paid mutator transaction binding the contract method 0x6fae4a5f. 1453 // 1454 // Solidity: function ownerPopLockList(minerAddress address) returns(int8) 1455 func (_POC_1_0_0 *POC_1_0_0Session) OwnerPopLockList(minerAddress common.Address) (*types.Transaction, error) { 1456 return _POC_1_0_0.Contract.OwnerPopLockList(&_POC_1_0_0.TransactOpts, minerAddress) 1457 } 1458 1459 // OwnerPopLockList is a paid mutator transaction binding the contract method 0x6fae4a5f. 1460 // 1461 // Solidity: function ownerPopLockList(minerAddress address) returns(int8) 1462 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerPopLockList(minerAddress common.Address) (*types.Transaction, error) { 1463 return _POC_1_0_0.Contract.OwnerPopLockList(&_POC_1_0_0.TransactOpts, minerAddress) 1464 } 1465 1466 // OwnerPushBlackList is a paid mutator transaction binding the contract method 0x31f23668. 1467 // 1468 // Solidity: function ownerPushBlackList(minerAddress address) returns() 1469 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerPushBlackList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1470 return _POC_1_0_0.contract.Transact(opts, "ownerPushBlackList", minerAddress) 1471 } 1472 1473 // OwnerPushBlackList is a paid mutator transaction binding the contract method 0x31f23668. 1474 // 1475 // Solidity: function ownerPushBlackList(minerAddress address) returns() 1476 func (_POC_1_0_0 *POC_1_0_0Session) OwnerPushBlackList(minerAddress common.Address) (*types.Transaction, error) { 1477 return _POC_1_0_0.Contract.OwnerPushBlackList(&_POC_1_0_0.TransactOpts, minerAddress) 1478 } 1479 1480 // OwnerPushBlackList is a paid mutator transaction binding the contract method 0x31f23668. 1481 // 1482 // Solidity: function ownerPushBlackList(minerAddress address) returns() 1483 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerPushBlackList(minerAddress common.Address) (*types.Transaction, error) { 1484 return _POC_1_0_0.Contract.OwnerPushBlackList(&_POC_1_0_0.TransactOpts, minerAddress) 1485 } 1486 1487 // OwnerPushLockList is a paid mutator transaction binding the contract method 0x478e7d6e. 1488 // 1489 // Solidity: function ownerPushLockList(minerAddress address) returns() 1490 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerPushLockList(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1491 return _POC_1_0_0.contract.Transact(opts, "ownerPushLockList", minerAddress) 1492 } 1493 1494 // OwnerPushLockList is a paid mutator transaction binding the contract method 0x478e7d6e. 1495 // 1496 // Solidity: function ownerPushLockList(minerAddress address) returns() 1497 func (_POC_1_0_0 *POC_1_0_0Session) OwnerPushLockList(minerAddress common.Address) (*types.Transaction, error) { 1498 return _POC_1_0_0.Contract.OwnerPushLockList(&_POC_1_0_0.TransactOpts, minerAddress) 1499 } 1500 1501 // OwnerPushLockList is a paid mutator transaction binding the contract method 0x478e7d6e. 1502 // 1503 // Solidity: function ownerPushLockList(minerAddress address) returns() 1504 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerPushLockList(minerAddress common.Address) (*types.Transaction, error) { 1505 return _POC_1_0_0.Contract.OwnerPushLockList(&_POC_1_0_0.TransactOpts, minerAddress) 1506 } 1507 1508 // OwnerSetInitBlockNumber is a paid mutator transaction binding the contract method 0xf30011b4. 1509 // 1510 // Solidity: function ownerSetInitBlockNumber(_number uint256) returns() 1511 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerSetInitBlockNumber(opts *bind.TransactOpts, _number *big.Int) (*types.Transaction, error) { 1512 return _POC_1_0_0.contract.Transact(opts, "ownerSetInitBlockNumber", _number) 1513 } 1514 1515 // OwnerSetInitBlockNumber is a paid mutator transaction binding the contract method 0xf30011b4. 1516 // 1517 // Solidity: function ownerSetInitBlockNumber(_number uint256) returns() 1518 func (_POC_1_0_0 *POC_1_0_0Session) OwnerSetInitBlockNumber(_number *big.Int) (*types.Transaction, error) { 1519 return _POC_1_0_0.Contract.OwnerSetInitBlockNumber(&_POC_1_0_0.TransactOpts, _number) 1520 } 1521 1522 // OwnerSetInitBlockNumber is a paid mutator transaction binding the contract method 0xf30011b4. 1523 // 1524 // Solidity: function ownerSetInitBlockNumber(_number uint256) returns() 1525 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerSetInitBlockNumber(_number *big.Int) (*types.Transaction, error) { 1526 return _POC_1_0_0.Contract.OwnerSetInitBlockNumber(&_POC_1_0_0.TransactOpts, _number) 1527 } 1528 1529 // OwnerStop is a paid mutator transaction binding the contract method 0x2988fcfd. 1530 // 1531 // Solidity: function ownerStop(minerAddress address) returns(int8) 1532 func (_POC_1_0_0 *POC_1_0_0Transactor) OwnerStop(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1533 return _POC_1_0_0.contract.Transact(opts, "ownerStop", minerAddress) 1534 } 1535 1536 // OwnerStop is a paid mutator transaction binding the contract method 0x2988fcfd. 1537 // 1538 // Solidity: function ownerStop(minerAddress address) returns(int8) 1539 func (_POC_1_0_0 *POC_1_0_0Session) OwnerStop(minerAddress common.Address) (*types.Transaction, error) { 1540 return _POC_1_0_0.Contract.OwnerStop(&_POC_1_0_0.TransactOpts, minerAddress) 1541 } 1542 1543 // OwnerStop is a paid mutator transaction binding the contract method 0x2988fcfd. 1544 // 1545 // Solidity: function ownerStop(minerAddress address) returns(int8) 1546 func (_POC_1_0_0 *POC_1_0_0TransactorSession) OwnerStop(minerAddress common.Address) (*types.Transaction, error) { 1547 return _POC_1_0_0.Contract.OwnerStop(&_POC_1_0_0.TransactOpts, minerAddress) 1548 } 1549 1550 // Start is a paid mutator transaction binding the contract method 0xdd0b281e. 1551 // 1552 // Solidity: function start(minerAddress address) returns() 1553 func (_POC_1_0_0 *POC_1_0_0Transactor) Start(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1554 return _POC_1_0_0.contract.Transact(opts, "start", minerAddress) 1555 } 1556 1557 // Start is a paid mutator transaction binding the contract method 0xdd0b281e. 1558 // 1559 // Solidity: function start(minerAddress address) returns() 1560 func (_POC_1_0_0 *POC_1_0_0Session) Start(minerAddress common.Address) (*types.Transaction, error) { 1561 return _POC_1_0_0.Contract.Start(&_POC_1_0_0.TransactOpts, minerAddress) 1562 } 1563 1564 // Start is a paid mutator transaction binding the contract method 0xdd0b281e. 1565 // 1566 // Solidity: function start(minerAddress address) returns() 1567 func (_POC_1_0_0 *POC_1_0_0TransactorSession) Start(minerAddress common.Address) (*types.Transaction, error) { 1568 return _POC_1_0_0.Contract.Start(&_POC_1_0_0.TransactOpts, minerAddress) 1569 } 1570 1571 // Stop is a paid mutator transaction binding the contract method 0x656cb0bc. 1572 // 1573 // Solidity: function stop(minerAddress address) returns() 1574 func (_POC_1_0_0 *POC_1_0_0Transactor) Stop(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1575 return _POC_1_0_0.contract.Transact(opts, "stop", minerAddress) 1576 } 1577 1578 // Stop is a paid mutator transaction binding the contract method 0x656cb0bc. 1579 // 1580 // Solidity: function stop(minerAddress address) returns() 1581 func (_POC_1_0_0 *POC_1_0_0Session) Stop(minerAddress common.Address) (*types.Transaction, error) { 1582 return _POC_1_0_0.Contract.Stop(&_POC_1_0_0.TransactOpts, minerAddress) 1583 } 1584 1585 // Stop is a paid mutator transaction binding the contract method 0x656cb0bc. 1586 // 1587 // Solidity: function stop(minerAddress address) returns() 1588 func (_POC_1_0_0 *POC_1_0_0TransactorSession) Stop(minerAddress common.Address) (*types.Transaction, error) { 1589 return _POC_1_0_0.Contract.Stop(&_POC_1_0_0.TransactOpts, minerAddress) 1590 } 1591 1592 // Withdraw is a paid mutator transaction binding the contract method 0x51cff8d9. 1593 // 1594 // Solidity: function withdraw(minerAddress address) returns() 1595 func (_POC_1_0_0 *POC_1_0_0Transactor) Withdraw(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1596 return _POC_1_0_0.contract.Transact(opts, "withdraw", minerAddress) 1597 } 1598 1599 // Withdraw is a paid mutator transaction binding the contract method 0x51cff8d9. 1600 // 1601 // Solidity: function withdraw(minerAddress address) returns() 1602 func (_POC_1_0_0 *POC_1_0_0Session) Withdraw(minerAddress common.Address) (*types.Transaction, error) { 1603 return _POC_1_0_0.Contract.Withdraw(&_POC_1_0_0.TransactOpts, minerAddress) 1604 } 1605 1606 // Withdraw is a paid mutator transaction binding the contract method 0x51cff8d9. 1607 // 1608 // Solidity: function withdraw(minerAddress address) returns() 1609 func (_POC_1_0_0 *POC_1_0_0TransactorSession) Withdraw(minerAddress common.Address) (*types.Transaction, error) { 1610 return _POC_1_0_0.Contract.Withdraw(&_POC_1_0_0.TransactOpts, minerAddress) 1611 } 1612 1613 // WithdrawSurplus is a paid mutator transaction binding the contract method 0x65e73e32. 1614 // 1615 // Solidity: function withdrawSurplus(minerAddress address) returns() 1616 func (_POC_1_0_0 *POC_1_0_0Transactor) WithdrawSurplus(opts *bind.TransactOpts, minerAddress common.Address) (*types.Transaction, error) { 1617 return _POC_1_0_0.contract.Transact(opts, "withdrawSurplus", minerAddress) 1618 } 1619 1620 // WithdrawSurplus is a paid mutator transaction binding the contract method 0x65e73e32. 1621 // 1622 // Solidity: function withdrawSurplus(minerAddress address) returns() 1623 func (_POC_1_0_0 *POC_1_0_0Session) WithdrawSurplus(minerAddress common.Address) (*types.Transaction, error) { 1624 return _POC_1_0_0.Contract.WithdrawSurplus(&_POC_1_0_0.TransactOpts, minerAddress) 1625 } 1626 1627 // WithdrawSurplus is a paid mutator transaction binding the contract method 0x65e73e32. 1628 // 1629 // Solidity: function withdrawSurplus(minerAddress address) returns() 1630 func (_POC_1_0_0 *POC_1_0_0TransactorSession) WithdrawSurplus(minerAddress common.Address) (*types.Transaction, error) { 1631 return _POC_1_0_0.Contract.WithdrawSurplus(&_POC_1_0_0.TransactOpts, minerAddress) 1632 } 1633 1634 // TribeChief_1_0_0ABI is the input ABI used to generate the binding from. 1635 const TribeChief_1_0_0ABI = "[{\"constant\":false,\"inputs\":[{\"name\":\"volunteer\",\"type\":\"address\"}],\"name\":\"update\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"_nextRoundSignerList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"volunteers\",\"type\":\"address[]\"}],\"name\":\"filterVolunteer\",\"outputs\":[{\"name\":\"result\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"signerList\",\"type\":\"address[]\"},{\"name\":\"blackList\",\"type\":\"address[]\"},{\"name\":\"scoreList\",\"type\":\"uint256[]\"},{\"name\":\"numberList\",\"type\":\"uint256[]\"},{\"name\":\"totalVolunteer\",\"type\":\"uint256\"},{\"name\":\"number\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getNextRoundSignerList\",\"outputs\":[{\"name\":\"nextRoundSignerList\",\"type\":\"address[]\"},{\"name\":\"length\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"blockNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getEpoch\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getVolunteerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"_signerList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getVolunteers\",\"outputs\":[{\"name\":\"volunteerList\",\"type\":\"address[]\"},{\"name\":\"weightList\",\"type\":\"uint256[]\"},{\"name\":\"length\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSignerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"baseAddress\",\"type\":\"address\"},{\"name\":\"pocAddress\",\"type\":\"address\"},{\"name\":\"startBlockNumber\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]" 1636 1637 // TribeChief_1_0_0Bin is the compiled bytecode used for deploying new contracts. 1638 const TribeChief_1_0_0Bin = `0x60c0604052600560808190527f312e302e3000000000000000000000000000000000000000000000000000000060a0908152620000409160009190620003ad565b503480156200004e57600080fd5b506040516060806200196b833981018060405260608110156200007057600080fd5b508051602082015160409283015160018054600160a060020a031916600160a060020a03808616919091179182905585517ff09a40160000000000000000000000000000000000000000000000000000000081528185166004820152306024820152955194959394929391169163f09a40169160448082019260009290919082900301818387803b1580156200010557600080fd5b505af11580156200011a573d6000803e3d6000fd5b5050506004828155600154604080517ff0d55817000000000000000000000000000000000000000000000000000000008152905160609450600160a060020a039092169263f0d55817928282019260009290829003018186803b1580156200018157600080fd5b505afa15801562000196573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620001c057600080fd5b810190808051640100000000811115620001d957600080fd5b82016020810184811115620001ed57600080fd5b81518560208202830111640100000000821117156200020b57600080fd5b5050805190945060001092506200022491505057600080fd5b6001600560008360008151811015156200023a57fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000208190555060028160008151811015156200027a57fe5b6020908102919091018101518254600181018455600093845291909220018054600160a060020a031916600160a060020a039092169190911790556002545b600160009054906101000a9004600160a060020a0316600160a060020a0316636da508306040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156200032457600080fd5b505afa15801562000339573d6000803e3d6000fd5b505050506040513d60208110156200035057600080fd5b5051811015620003a25760028054600181810183556000929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018054600160a060020a031916905501620002b9565b505050505062000452565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003f057805160ff191683800117855562000420565b8280016001018555821562000420579182015b828111156200042057825182559160200191906001019062000403565b506200042e92915062000432565b5090565b6200044f91905b808211156200042e576000815560010162000439565b90565b61150980620004626000396000f3fe608060405234801561001057600080fd5b50600436106100b85760003560e060020a9004806357e871e71161007557806357e871e71461042a578063757991a814610444578063961c5c7a1461044c578063b4deb2ca14610454578063d7ca4a1c14610471578063eb5c001114610519576100b8565b80631c1b8772146100bd5780631fcb9ffb146100e557806320c1a5181461011e5780634e69d5601461021157806353f197fe1461034a57806354fd4d50146103ad575b600080fd5b6100e3600480360360208110156100d357600080fd5b5035600160a060020a0316610521565b005b610102600480360360208110156100fb57600080fd5b50356108b2565b60408051600160a060020a039092168252519081900360200190f35b6101c16004803603602081101561013457600080fd5b81019060208101813564010000000081111561014f57600080fd5b82018360208201111561016157600080fd5b8035906020019184602083028401116401000000008311171561018357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506108da945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101fd5781810151838201526020016101e5565b505050509050019250505060405180910390f35b6102196108e0565b604051808060200180602001806020018060200187815260200186815260200185810385528b818151815260200191508051906020019060200280838360005b83811015610271578181015183820152602001610259565b5050505090500185810384528a818151815260200191508051906020019060200280838360005b838110156102b0578181015183820152602001610298565b50505050905001858103835289818151815260200191508051906020019060200280838360005b838110156102ef5781810151838201526020016102d7565b50505050905001858103825288818151815260200191508051906020019060200280838360005b8381101561032e578181015183820152602001610316565b505050509050019a505050505050505050505060405180910390f35b610352610b1d565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610398578181015183820152602001610380565b50505050905001935050505060405180910390f35b6103b5610b86565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103ef5781810151838201526020016103d7565b50505050905090810190601f16801561041c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610432610c1d565b60408051918252519081900360200190f35b610432610c23565b610432610cb2565b6101026004803603602081101561046a57600080fd5b5035610d10565b610479610d1e565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b838110156104c35781810151838201526020016104ab565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156105025781810151838201526020016104ea565b505050509050019550505050505060405180910390f35b610432610d61565b3380151561052e57600080fd5b600160a060020a03811660009081526005602052604081205411806105e15750600154604080517fdb512e85000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163db512e85916024808301926020929190829003018186803b1580156105b457600080fd5b505afa1580156105c8573d6000803e3d6000fd5b505050506040513d60208110156105de57600080fd5b50515b15156105ec57600080fd5b436004908155600154604080517f6da508300000000000000000000000000000000000000000000000000000000081529051600093600160a060020a0390931692636da5083092808201926020929091829003018186803b15801561065057600080fd5b505afa158015610664573d6000803e3d6000fd5b505050506040513d602081101561067a57600080fd5b5051600454909150600090829081151561069057fe5b06905060006002828154811015156106a457fe5b6000918252602082200154600160a060020a0316915082111561087757600160a060020a038516156106d9576106d985610dbf565b600160a060020a038116158015906106fa575033600160a060020a03821614155b1561087757600154604080517f1dd47d3d000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000939290921691631dd47d3d9160248082019260209290919082900301818787803b15801561076a57600080fd5b505af115801561077e573d6000803e3d6000fd5b505050506040513d602081101561079457600080fd5b505160000b131561081f57600154604080517fc8ba1fd8000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163c8ba1fd891602480830192600092919082900301818387803b15801561080657600080fd5b505af115801561081a573d6000803e3d6000fd5b505050505b600160a060020a0381166000908152600560205260408120819055600280548490811061084857fe5b9060005260206000200160006101000a815481600160a060020a030219169083600160a060020a031602179055505b6001830382141561088a5761088a610ea1565b610892610c23565b4381151561089c57fe5b0615156108ab576108ab610f3d565b5050505050565b60038054829081106108c057fe5b600091825260209091200154600160a060020a0316905081565b50606090565b606080606080600080600280549050604051908082528060200260200182016040528015610918578160200160208202803883390190505b506002546040805182815260208084028201019091529195508015610947578160200160208202803883390190505b50925060005b6002548110156109ca576000858281518110151561096757fe5b60209081029091010152600280546005916000918490811061098557fe5b6000918252602080832090910154600160a060020a0316835282019290925260400190205484518590839081106109b857fe5b6020908102909101015260010161094d565b50600160009054906101000a9004600160a060020a0316600160a060020a031663b175de176040518163ffffffff1660e060020a02815260040160006040518083038186803b158015610a1c57600080fd5b505afa158015610a30573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a5957600080fd5b810190808051640100000000811115610a7157600080fd5b82016020810184811115610a8457600080fd5b8151856020820283011164010000000082111715610aa157600080fd5b505092919050505094506002805480602002602001604051908101604052809291908181526020018280548015610b0157602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610ae3575b5050505050955060045490506003805490509150909192939495565b606060006003805480602002602001604051908101604052809291908181526020018280548015610b7757602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610b59575b50505050509150815190509091565b60008054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c125780601f10610be757610100808354040283529160200191610c12565b820191906000526020600020905b815481529060010190602001808311610bf557829003601f168201915b505050505090505b90565b60045481565b600154604080517f4067f0c80000000000000000000000000000000000000000000000000000000081529051600092600160a060020a031691634067f0c8916004808301926020929190829003018186803b158015610c8157600080fd5b505afa158015610c95573d6000803e3d6000fd5b505050506040513d6020811015610cab57600080fd5b5051905090565b600154604080517f282f78f20000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163282f78f2916004808301926020929190829003018186803b158015610c8157600080fd5b60028054829081106108c057fe5b6060806000610d2b610b1d565b6040805182815260208084028201019091529194509150818015610d59578160200160208202803883390190505b509150909192565b600154604080517f6da508300000000000000000000000000000000000000000000000000000000081529051600092600160a060020a031691636da50830916004808301926020929190829003018186803b158015610c8157600080fd5b600160009054906101000a9004600160a060020a0316600160a060020a031663282f78f26040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610e1057600080fd5b505afa158015610e24573d6000803e3d6000fd5b505050506040513d6020811015610e3a57600080fd5b50516003541015610e9e57600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000610eab610faa565b9050600160a060020a0381161515610f2457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f7369676e657230206d757374206e6f74206265207a65726f0000000000000000604482015290519081900360640190fd5b610f2d8161107b565b610f35611217565b610e9e61133b565b600160009054906101000a9004600160a060020a0316600160a060020a0316637216276b6040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015610f9057600080fd5b505af1158015610fa4573d6000803e3d6000fd5b50505050565b60008060026000815481101515610fbd57fe5b6000918252602082200154600160a060020a031691505b60025481101561106757600060056000600284815481101515610ff357fe5b6000918252602080832090910154600160a060020a03168352820192909252604001812091909155600280548390811061102957fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055600101610fd4565b506000611075600282611496565b50905090565b600154604080517ff0d558170000000000000000000000000000000000000000000000000000000081529051606092600160a060020a03169163f0d55817916004808301926000929190829003018186803b1580156110d957600080fd5b505afa1580156110ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561111657600080fd5b81019080805164010000000081111561112e57600080fd5b8201602081018481111561114157600080fd5b815185602082028301116401000000008211171561115e57600080fd5b50909450600093505050505b8151811015611200576000828281518110151561118357fe5b90602001906020020151905080600160a060020a031684600160a060020a031614156111f75760018351038214156111db576111d68360008151811015156111c757fe5b906020019060200201516113a5565b6111ef565b6111ef83836001018151811015156111c757fe5b505050610e9e565b5060010161116a565b506112138160008151811015156111c757fe5b5050565b60005b60035481101561125e57600060038281548110151561123557fe5b600091825260209091200154600160a060020a03169050611255816113a5565b5060010161121a565b506002545b600160009054906101000a9004600160a060020a0316600160a060020a0316636da508306040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156112b457600080fd5b505afa1580156112c8573d6000803e3d6000fd5b505050506040513d60208110156112de57600080fd5b5051811015610e9e5760028054600181810183556000929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff1916905501611263565b60005b60035481101561139757600060038281548110151561135957fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560010161133e565b506000610e9e600382611496565b600160009054906101000a9004600160a060020a0316600160a060020a0316636da508306040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156113f657600080fd5b505afa15801561140a573d6000803e3d6000fd5b505050506040513d602081101561142057600080fd5b50516002541015610e9e576002805460018082019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117909155600090815260056020526040902055610e9e565b8154818355818111156114ba576000838152602090206114ba9181019083016114bf565b505050565b610c1a91905b808211156114d957600081556001016114c5565b509056fea165627a7a7230582058a727175c99fa28dfbdd586e5d4f1199fc532c0727f5c77236c6cd02934252d0029` 1639 1640 // DeployTribeChief_1_0_0 deploys a new Ethereum contract, binding an instance of TribeChief_1_0_0 to it. 1641 func DeployTribeChief_1_0_0(auth *bind.TransactOpts, backend bind.ContractBackend, baseAddress common.Address, pocAddress common.Address, startBlockNumber *big.Int) (common.Address, *types.Transaction, *TribeChief_1_0_0, error) { 1642 parsed, err := abi.JSON(strings.NewReader(TribeChief_1_0_0ABI)) 1643 if err != nil { 1644 return common.Address{}, nil, nil, err 1645 } 1646 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(TribeChief_1_0_0Bin), backend, baseAddress, pocAddress, startBlockNumber) 1647 if err != nil { 1648 return common.Address{}, nil, nil, err 1649 } 1650 return address, tx, &TribeChief_1_0_0{TribeChief_1_0_0Caller: TribeChief_1_0_0Caller{contract: contract}, TribeChief_1_0_0Transactor: TribeChief_1_0_0Transactor{contract: contract}}, nil 1651 } 1652 1653 // TribeChief_1_0_0 is an auto generated Go binding around an Ethereum contract. 1654 type TribeChief_1_0_0 struct { 1655 TribeChief_1_0_0Caller // Read-only binding to the contract 1656 TribeChief_1_0_0Transactor // Write-only binding to the contract 1657 } 1658 1659 // TribeChief_1_0_0Caller is an auto generated read-only Go binding around an Ethereum contract. 1660 type TribeChief_1_0_0Caller struct { 1661 contract *bind.BoundContract // Generic contract wrapper for the low level calls 1662 } 1663 1664 // TribeChief_1_0_0Transactor is an auto generated write-only Go binding around an Ethereum contract. 1665 type TribeChief_1_0_0Transactor struct { 1666 contract *bind.BoundContract // Generic contract wrapper for the low level calls 1667 } 1668 1669 // TribeChief_1_0_0Session is an auto generated Go binding around an Ethereum contract, 1670 // with pre-set call and transact options. 1671 type TribeChief_1_0_0Session struct { 1672 Contract *TribeChief_1_0_0 // Generic contract binding to set the session for 1673 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 1674 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 1675 } 1676 1677 // TribeChief_1_0_0CallerSession is an auto generated read-only Go binding around an Ethereum contract, 1678 // with pre-set call options. 1679 type TribeChief_1_0_0CallerSession struct { 1680 Contract *TribeChief_1_0_0Caller // Generic contract caller binding to set the session for 1681 CallOpts bind.CallOptsWithNumber // Call options to use throughout this session 1682 } 1683 1684 // TribeChief_1_0_0TransactorSession is an auto generated write-only Go binding around an Ethereum contract, 1685 // with pre-set transact options. 1686 type TribeChief_1_0_0TransactorSession struct { 1687 Contract *TribeChief_1_0_0Transactor // Generic contract transactor binding to set the session for 1688 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 1689 } 1690 1691 // TribeChief_1_0_0Raw is an auto generated low-level Go binding around an Ethereum contract. 1692 type TribeChief_1_0_0Raw struct { 1693 Contract *TribeChief_1_0_0 // Generic contract binding to access the raw methods on 1694 } 1695 1696 // TribeChief_1_0_0CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 1697 type TribeChief_1_0_0CallerRaw struct { 1698 Contract *TribeChief_1_0_0Caller // Generic read-only contract binding to access the raw methods on 1699 } 1700 1701 // TribeChief_1_0_0TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 1702 type TribeChief_1_0_0TransactorRaw struct { 1703 Contract *TribeChief_1_0_0Transactor // Generic write-only contract binding to access the raw methods on 1704 } 1705 1706 // NewTribeChief_1_0_0 creates a new instance of TribeChief_1_0_0, bound to a specific deployed contract. 1707 func NewTribeChief_1_0_0(address common.Address, backend bind.ContractBackend) (*TribeChief_1_0_0, error) { 1708 contract, err := bindTribeChief_1_0_0(address, backend, backend) 1709 if err != nil { 1710 return nil, err 1711 } 1712 return &TribeChief_1_0_0{TribeChief_1_0_0Caller: TribeChief_1_0_0Caller{contract: contract}, TribeChief_1_0_0Transactor: TribeChief_1_0_0Transactor{contract: contract}}, nil 1713 } 1714 1715 // NewTribeChief_1_0_0Caller creates a new read-only instance of TribeChief_1_0_0, bound to a specific deployed contract. 1716 func NewTribeChief_1_0_0Caller(address common.Address, caller bind.ContractCaller) (*TribeChief_1_0_0Caller, error) { 1717 contract, err := bindTribeChief_1_0_0(address, caller, nil) 1718 if err != nil { 1719 return nil, err 1720 } 1721 return &TribeChief_1_0_0Caller{contract: contract}, nil 1722 } 1723 1724 // NewTribeChief_1_0_0Transactor creates a new write-only instance of TribeChief_1_0_0, bound to a specific deployed contract. 1725 func NewTribeChief_1_0_0Transactor(address common.Address, transactor bind.ContractTransactor) (*TribeChief_1_0_0Transactor, error) { 1726 contract, err := bindTribeChief_1_0_0(address, nil, transactor) 1727 if err != nil { 1728 return nil, err 1729 } 1730 return &TribeChief_1_0_0Transactor{contract: contract}, nil 1731 } 1732 1733 // bindTribeChief_1_0_0 binds a generic wrapper to an already deployed contract. 1734 func bindTribeChief_1_0_0(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor) (*bind.BoundContract, error) { 1735 parsed, err := abi.JSON(strings.NewReader(TribeChief_1_0_0ABI)) 1736 if err != nil { 1737 return nil, err 1738 } 1739 return bind.NewBoundContract(address, parsed, caller, transactor), nil 1740 } 1741 1742 // Call invokes the (constant) contract method with params as input values and 1743 // sets the output to result. The result type might be a single field for simple 1744 // returns, a slice of interfaces for anonymous returns and a struct for named 1745 // returns. 1746 func (_TribeChief_1_0_0 *TribeChief_1_0_0Raw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 1747 return _TribeChief_1_0_0.Contract.TribeChief_1_0_0Caller.contract.CallWithNumber(opts, result, method, params...) 1748 } 1749 1750 // Transfer initiates a plain transaction to move funds to the contract, calling 1751 // its default method if one is available. 1752 func (_TribeChief_1_0_0 *TribeChief_1_0_0Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 1753 return _TribeChief_1_0_0.Contract.TribeChief_1_0_0Transactor.contract.Transfer(opts) 1754 } 1755 1756 // Transact invokes the (paid) contract method with params as input values. 1757 func (_TribeChief_1_0_0 *TribeChief_1_0_0Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 1758 return _TribeChief_1_0_0.Contract.TribeChief_1_0_0Transactor.contract.Transact(opts, method, params...) 1759 } 1760 1761 // Call invokes the (constant) contract method with params as input values and 1762 // sets the output to result. The result type might be a single field for simple 1763 // returns, a slice of interfaces for anonymous returns and a struct for named 1764 // returns. 1765 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error { 1766 return _TribeChief_1_0_0.Contract.contract.CallWithNumber(opts, result, method, params...) 1767 } 1768 1769 // Transfer initiates a plain transaction to move funds to the contract, calling 1770 // its default method if one is available. 1771 func (_TribeChief_1_0_0 *TribeChief_1_0_0TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 1772 return _TribeChief_1_0_0.Contract.contract.Transfer(opts) 1773 } 1774 1775 // Transact invokes the (paid) contract method with params as input values. 1776 func (_TribeChief_1_0_0 *TribeChief_1_0_0TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 1777 return _TribeChief_1_0_0.Contract.contract.Transact(opts, method, params...) 1778 } 1779 1780 // NextRoundSignerList is a free data retrieval call binding the contract method 0x1fcb9ffb. 1781 // 1782 // Solidity: function _nextRoundSignerList( uint256) constant returns(address) 1783 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) NextRoundSignerList(opts *bind.CallOptsWithNumber, arg0 *big.Int) (common.Address, error) { 1784 var ( 1785 ret0 = new(common.Address) 1786 ) 1787 out := ret0 1788 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "_nextRoundSignerList", arg0) 1789 return *ret0, err 1790 } 1791 1792 // NextRoundSignerList is a free data retrieval call binding the contract method 0x1fcb9ffb. 1793 // 1794 // Solidity: function _nextRoundSignerList( uint256) constant returns(address) 1795 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) NextRoundSignerList(arg0 *big.Int) (common.Address, error) { 1796 return _TribeChief_1_0_0.Contract.NextRoundSignerList(&_TribeChief_1_0_0.CallOpts, arg0) 1797 } 1798 1799 // NextRoundSignerList is a free data retrieval call binding the contract method 0x1fcb9ffb. 1800 // 1801 // Solidity: function _nextRoundSignerList( uint256) constant returns(address) 1802 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) NextRoundSignerList(arg0 *big.Int) (common.Address, error) { 1803 return _TribeChief_1_0_0.Contract.NextRoundSignerList(&_TribeChief_1_0_0.CallOpts, arg0) 1804 } 1805 1806 // SignerList is a free data retrieval call binding the contract method 0xb4deb2ca. 1807 // 1808 // Solidity: function _signerList( uint256) constant returns(address) 1809 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) SignerList(opts *bind.CallOptsWithNumber, arg0 *big.Int) (common.Address, error) { 1810 var ( 1811 ret0 = new(common.Address) 1812 ) 1813 out := ret0 1814 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "_signerList", arg0) 1815 return *ret0, err 1816 } 1817 1818 // SignerList is a free data retrieval call binding the contract method 0xb4deb2ca. 1819 // 1820 // Solidity: function _signerList( uint256) constant returns(address) 1821 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) SignerList(arg0 *big.Int) (common.Address, error) { 1822 return _TribeChief_1_0_0.Contract.SignerList(&_TribeChief_1_0_0.CallOpts, arg0) 1823 } 1824 1825 // SignerList is a free data retrieval call binding the contract method 0xb4deb2ca. 1826 // 1827 // Solidity: function _signerList( uint256) constant returns(address) 1828 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) SignerList(arg0 *big.Int) (common.Address, error) { 1829 return _TribeChief_1_0_0.Contract.SignerList(&_TribeChief_1_0_0.CallOpts, arg0) 1830 } 1831 1832 // BlockNumber is a free data retrieval call binding the contract method 0x57e871e7. 1833 // 1834 // Solidity: function blockNumber() constant returns(uint256) 1835 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) BlockNumber(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1836 var ( 1837 ret0 = new(*big.Int) 1838 ) 1839 out := ret0 1840 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "blockNumber") 1841 return *ret0, err 1842 } 1843 1844 // BlockNumber is a free data retrieval call binding the contract method 0x57e871e7. 1845 // 1846 // Solidity: function blockNumber() constant returns(uint256) 1847 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) BlockNumber() (*big.Int, error) { 1848 return _TribeChief_1_0_0.Contract.BlockNumber(&_TribeChief_1_0_0.CallOpts) 1849 } 1850 1851 // BlockNumber is a free data retrieval call binding the contract method 0x57e871e7. 1852 // 1853 // Solidity: function blockNumber() constant returns(uint256) 1854 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) BlockNumber() (*big.Int, error) { 1855 return _TribeChief_1_0_0.Contract.BlockNumber(&_TribeChief_1_0_0.CallOpts) 1856 } 1857 1858 // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518. 1859 // 1860 // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[]) 1861 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) FilterVolunteer(opts *bind.CallOptsWithNumber, volunteers []common.Address) ([]*big.Int, error) { 1862 var ( 1863 ret0 = new([]*big.Int) 1864 ) 1865 out := ret0 1866 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "filterVolunteer", volunteers) 1867 return *ret0, err 1868 } 1869 1870 // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518. 1871 // 1872 // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[]) 1873 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) FilterVolunteer(volunteers []common.Address) ([]*big.Int, error) { 1874 return _TribeChief_1_0_0.Contract.FilterVolunteer(&_TribeChief_1_0_0.CallOpts, volunteers) 1875 } 1876 1877 // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518. 1878 // 1879 // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[]) 1880 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) FilterVolunteer(volunteers []common.Address) ([]*big.Int, error) { 1881 return _TribeChief_1_0_0.Contract.FilterVolunteer(&_TribeChief_1_0_0.CallOpts, volunteers) 1882 } 1883 1884 // GetEpoch is a free data retrieval call binding the contract method 0x757991a8. 1885 // 1886 // Solidity: function getEpoch() constant returns(uint256) 1887 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetEpoch(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1888 var ( 1889 ret0 = new(*big.Int) 1890 ) 1891 out := ret0 1892 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getEpoch") 1893 return *ret0, err 1894 } 1895 1896 // GetEpoch is a free data retrieval call binding the contract method 0x757991a8. 1897 // 1898 // Solidity: function getEpoch() constant returns(uint256) 1899 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetEpoch() (*big.Int, error) { 1900 return _TribeChief_1_0_0.Contract.GetEpoch(&_TribeChief_1_0_0.CallOpts) 1901 } 1902 1903 // GetEpoch is a free data retrieval call binding the contract method 0x757991a8. 1904 // 1905 // Solidity: function getEpoch() constant returns(uint256) 1906 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetEpoch() (*big.Int, error) { 1907 return _TribeChief_1_0_0.Contract.GetEpoch(&_TribeChief_1_0_0.CallOpts) 1908 } 1909 1910 // GetNextRoundSignerList is a free data retrieval call binding the contract method 0x53f197fe. 1911 // 1912 // Solidity: function getNextRoundSignerList() constant returns(nextRoundSignerList address[], length uint256) 1913 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetNextRoundSignerList(opts *bind.CallOptsWithNumber) (struct { 1914 NextRoundSignerList []common.Address 1915 Length *big.Int 1916 }, error) { 1917 ret := new(struct { 1918 NextRoundSignerList []common.Address 1919 Length *big.Int 1920 }) 1921 out := ret 1922 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getNextRoundSignerList") 1923 return *ret, err 1924 } 1925 1926 // GetNextRoundSignerList is a free data retrieval call binding the contract method 0x53f197fe. 1927 // 1928 // Solidity: function getNextRoundSignerList() constant returns(nextRoundSignerList address[], length uint256) 1929 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetNextRoundSignerList() (struct { 1930 NextRoundSignerList []common.Address 1931 Length *big.Int 1932 }, error) { 1933 return _TribeChief_1_0_0.Contract.GetNextRoundSignerList(&_TribeChief_1_0_0.CallOpts) 1934 } 1935 1936 // GetNextRoundSignerList is a free data retrieval call binding the contract method 0x53f197fe. 1937 // 1938 // Solidity: function getNextRoundSignerList() constant returns(nextRoundSignerList address[], length uint256) 1939 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetNextRoundSignerList() (struct { 1940 NextRoundSignerList []common.Address 1941 Length *big.Int 1942 }, error) { 1943 return _TribeChief_1_0_0.Contract.GetNextRoundSignerList(&_TribeChief_1_0_0.CallOpts) 1944 } 1945 1946 // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011. 1947 // 1948 // Solidity: function getSignerLimit() constant returns(uint256) 1949 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetSignerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 1950 var ( 1951 ret0 = new(*big.Int) 1952 ) 1953 out := ret0 1954 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getSignerLimit") 1955 return *ret0, err 1956 } 1957 1958 // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011. 1959 // 1960 // Solidity: function getSignerLimit() constant returns(uint256) 1961 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetSignerLimit() (*big.Int, error) { 1962 return _TribeChief_1_0_0.Contract.GetSignerLimit(&_TribeChief_1_0_0.CallOpts) 1963 } 1964 1965 // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011. 1966 // 1967 // Solidity: function getSignerLimit() constant returns(uint256) 1968 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetSignerLimit() (*big.Int, error) { 1969 return _TribeChief_1_0_0.Contract.GetSignerLimit(&_TribeChief_1_0_0.CallOpts) 1970 } 1971 1972 // GetStatus is a free data retrieval call binding the contract method 0x4e69d560. 1973 // 1974 // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256) 1975 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetStatus(opts *bind.CallOptsWithNumber) (struct { 1976 SignerList []common.Address 1977 BlackList []common.Address 1978 ScoreList []*big.Int 1979 NumberList []*big.Int 1980 TotalVolunteer *big.Int 1981 Number *big.Int 1982 }, error) { 1983 ret := new(struct { 1984 SignerList []common.Address 1985 BlackList []common.Address 1986 ScoreList []*big.Int 1987 NumberList []*big.Int 1988 TotalVolunteer *big.Int 1989 Number *big.Int 1990 }) 1991 out := ret 1992 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getStatus") 1993 return *ret, err 1994 } 1995 1996 // GetStatus is a free data retrieval call binding the contract method 0x4e69d560. 1997 // 1998 // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256) 1999 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetStatus() (struct { 2000 SignerList []common.Address 2001 BlackList []common.Address 2002 ScoreList []*big.Int 2003 NumberList []*big.Int 2004 TotalVolunteer *big.Int 2005 Number *big.Int 2006 }, error) { 2007 return _TribeChief_1_0_0.Contract.GetStatus(&_TribeChief_1_0_0.CallOpts) 2008 } 2009 2010 // GetStatus is a free data retrieval call binding the contract method 0x4e69d560. 2011 // 2012 // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256) 2013 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetStatus() (struct { 2014 SignerList []common.Address 2015 BlackList []common.Address 2016 ScoreList []*big.Int 2017 NumberList []*big.Int 2018 TotalVolunteer *big.Int 2019 Number *big.Int 2020 }, error) { 2021 return _TribeChief_1_0_0.Contract.GetStatus(&_TribeChief_1_0_0.CallOpts) 2022 } 2023 2024 // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a. 2025 // 2026 // Solidity: function getVolunteerLimit() constant returns(uint256) 2027 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetVolunteerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) { 2028 var ( 2029 ret0 = new(*big.Int) 2030 ) 2031 out := ret0 2032 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getVolunteerLimit") 2033 return *ret0, err 2034 } 2035 2036 // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a. 2037 // 2038 // Solidity: function getVolunteerLimit() constant returns(uint256) 2039 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetVolunteerLimit() (*big.Int, error) { 2040 return _TribeChief_1_0_0.Contract.GetVolunteerLimit(&_TribeChief_1_0_0.CallOpts) 2041 } 2042 2043 // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a. 2044 // 2045 // Solidity: function getVolunteerLimit() constant returns(uint256) 2046 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetVolunteerLimit() (*big.Int, error) { 2047 return _TribeChief_1_0_0.Contract.GetVolunteerLimit(&_TribeChief_1_0_0.CallOpts) 2048 } 2049 2050 // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c. 2051 // 2052 // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256) 2053 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) GetVolunteers(opts *bind.CallOptsWithNumber) (struct { 2054 VolunteerList []common.Address 2055 WeightList []*big.Int 2056 Length *big.Int 2057 }, error) { 2058 ret := new(struct { 2059 VolunteerList []common.Address 2060 WeightList []*big.Int 2061 Length *big.Int 2062 }) 2063 out := ret 2064 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "getVolunteers") 2065 return *ret, err 2066 } 2067 2068 // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c. 2069 // 2070 // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256) 2071 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) GetVolunteers() (struct { 2072 VolunteerList []common.Address 2073 WeightList []*big.Int 2074 Length *big.Int 2075 }, error) { 2076 return _TribeChief_1_0_0.Contract.GetVolunteers(&_TribeChief_1_0_0.CallOpts) 2077 } 2078 2079 // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c. 2080 // 2081 // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256) 2082 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) GetVolunteers() (struct { 2083 VolunteerList []common.Address 2084 WeightList []*big.Int 2085 Length *big.Int 2086 }, error) { 2087 return _TribeChief_1_0_0.Contract.GetVolunteers(&_TribeChief_1_0_0.CallOpts) 2088 } 2089 2090 // Version is a free data retrieval call binding the contract method 0x54fd4d50. 2091 // 2092 // Solidity: function version() constant returns(string) 2093 func (_TribeChief_1_0_0 *TribeChief_1_0_0Caller) Version(opts *bind.CallOptsWithNumber) (string, error) { 2094 var ( 2095 ret0 = new(string) 2096 ) 2097 out := ret0 2098 err := _TribeChief_1_0_0.contract.CallWithNumber(opts, out, "version") 2099 return *ret0, err 2100 } 2101 2102 // Version is a free data retrieval call binding the contract method 0x54fd4d50. 2103 // 2104 // Solidity: function version() constant returns(string) 2105 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) Version() (string, error) { 2106 return _TribeChief_1_0_0.Contract.Version(&_TribeChief_1_0_0.CallOpts) 2107 } 2108 2109 // Version is a free data retrieval call binding the contract method 0x54fd4d50. 2110 // 2111 // Solidity: function version() constant returns(string) 2112 func (_TribeChief_1_0_0 *TribeChief_1_0_0CallerSession) Version() (string, error) { 2113 return _TribeChief_1_0_0.Contract.Version(&_TribeChief_1_0_0.CallOpts) 2114 } 2115 2116 // Update is a paid mutator transaction binding the contract method 0x1c1b8772. 2117 // 2118 // Solidity: function update(volunteer address) returns() 2119 func (_TribeChief_1_0_0 *TribeChief_1_0_0Transactor) Update(opts *bind.TransactOpts, volunteer common.Address) (*types.Transaction, error) { 2120 return _TribeChief_1_0_0.contract.Transact(opts, "update", volunteer) 2121 } 2122 2123 // Update is a paid mutator transaction binding the contract method 0x1c1b8772. 2124 // 2125 // Solidity: function update(volunteer address) returns() 2126 func (_TribeChief_1_0_0 *TribeChief_1_0_0Session) Update(volunteer common.Address) (*types.Transaction, error) { 2127 return _TribeChief_1_0_0.Contract.Update(&_TribeChief_1_0_0.TransactOpts, volunteer) 2128 } 2129 2130 // Update is a paid mutator transaction binding the contract method 0x1c1b8772. 2131 // 2132 // Solidity: function update(volunteer address) returns() 2133 func (_TribeChief_1_0_0 *TribeChief_1_0_0TransactorSession) Update(volunteer common.Address) (*types.Transaction, error) { 2134 return _TribeChief_1_0_0.Contract.Update(&_TribeChief_1_0_0.TransactOpts, volunteer) 2135 }