Documentation ¶
Index ¶
- Constants
- type Contract
- type ContractCaller
- func (_Contract *ContractCaller) BaseCost(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CountOnlineNode(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CountTotalNode(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) GetIds(opts *bind.CallOpts, addr common.Address, startPos *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) GetInfo(opts *bind.CallOpts, addr common.Address) (struct{ ... }, error)
- func (_Contract *ContractCaller) Has(opts *bind.CallOpts, id [8]byte) (bool, error)
- func (_Contract *ContractCaller) IdsOf(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([8]byte, error)
- func (_Contract *ContractCaller) LastId(opts *bind.CallOpts) ([8]byte, error)
- func (_Contract *ContractCaller) LastOnlineId(opts *bind.CallOpts) ([8]byte, error)
- func (_Contract *ContractCaller) MinBlockTimeout(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) NodeCost(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Nodes(opts *bind.CallOpts, arg0 [8]byte) (struct{ ... }, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) BaseCost() (*big.Int, error)
- func (_Contract *ContractCallerSession) CountOnlineNode() (*big.Int, error)
- func (_Contract *ContractCallerSession) CountTotalNode() (*big.Int, error)
- func (_Contract *ContractCallerSession) GetIds(addr common.Address, startPos *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) GetInfo(addr common.Address) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) Has(id [8]byte) (bool, error)
- func (_Contract *ContractCallerSession) IdsOf(arg0 common.Address, arg1 *big.Int) ([8]byte, error)
- func (_Contract *ContractCallerSession) LastId() ([8]byte, error)
- func (_Contract *ContractCallerSession) LastOnlineId() ([8]byte, error)
- func (_Contract *ContractCallerSession) MinBlockTimeout() (*big.Int, error)
- func (_Contract *ContractCallerSession) NodeCost() (*big.Int, error)
- func (_Contract *ContractCallerSession) Nodes(arg0 [8]byte) (struct{ ... }, error)
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterJoin(opts *bind.FilterOpts) (*ContractJoinIterator, error)
- func (_Contract *ContractFilterer) FilterQuit(opts *bind.FilterOpts) (*ContractQuitIterator, error)
- func (_Contract *ContractFilterer) WatchJoin(opts *bind.WatchOpts, sink chan<- *ContractJoin) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchQuit(opts *bind.WatchOpts, sink chan<- *ContractQuit) (event.Subscription, error)
- type ContractJoin
- type ContractJoinIterator
- type ContractQuit
- type ContractQuitIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) BaseCost() (*big.Int, error)
- func (_Contract *ContractSession) CountOnlineNode() (*big.Int, error)
- func (_Contract *ContractSession) CountTotalNode() (*big.Int, error)
- func (_Contract *ContractSession) GetIds(addr common.Address, startPos *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) GetInfo(addr common.Address) (struct{ ... }, error)
- func (_Contract *ContractSession) Has(id [8]byte) (bool, error)
- func (_Contract *ContractSession) IdsOf(arg0 common.Address, arg1 *big.Int) ([8]byte, error)
- func (_Contract *ContractSession) LastId() ([8]byte, error)
- func (_Contract *ContractSession) LastOnlineId() ([8]byte, error)
- func (_Contract *ContractSession) MinBlockTimeout() (*big.Int, error)
- func (_Contract *ContractSession) NodeCost() (*big.Int, error)
- func (_Contract *ContractSession) Nodes(arg0 [8]byte) (struct{ ... }, error)
- func (_Contract *ContractSession) Register(id1 [32]byte, id2 [32]byte) (*types.Transaction, error)
- func (_Contract *ContractSession) Register2(id1 [32]byte, id2 [32]byte, owner common.Address) (*types.Transaction, error)
- type ContractTransactor
- type ContractTransactorRaw
- type ContractTransactorSession
Constants ¶
const ContractABI = "" /* 4040-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
const ContractBin = `0x00`
ContractBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) BaseCost ¶
BaseCost is a free data retrieval call binding the contract method 0x93822557.
Solidity: function baseCost() constant returns(uint256)
func (*ContractCaller) CountOnlineNode ¶
CountOnlineNode is a free data retrieval call binding the contract method 0x00b54ea6.
Solidity: function countOnlineNode() constant returns(uint256)
func (*ContractCaller) CountTotalNode ¶
CountTotalNode is a free data retrieval call binding the contract method 0x73b15098.
Solidity: function countTotalNode() constant returns(uint256)
func (*ContractCaller) GetIds ¶
func (_Contract *ContractCaller) GetIds(opts *bind.CallOpts, addr common.Address, startPos *big.Int) (struct { Length *big.Int Data [5][8]byte }, error)
GetIds is a free data retrieval call binding the contract method 0x19fe9a3b.
Solidity: function getIds(address addr, uint256 startPos) constant returns(uint256 length, bytes8[5] data)
func (*ContractCaller) GetInfo ¶
func (_Contract *ContractCaller) GetInfo(opts *bind.CallOpts, addr common.Address) (struct { LockedBalance *big.Int ReleasedReward *big.Int TotalNodes *big.Int OnlineNodes *big.Int MyNodes *big.Int }, error)
GetInfo is a free data retrieval call binding the contract method 0xffdd5cf1.
Solidity: function getInfo(address addr) constant returns(uint256 lockedBalance, uint256 releasedReward, uint256 totalNodes, uint256 onlineNodes, uint256 myNodes)
func (*ContractCaller) Has ¶
Has is a free data retrieval call binding the contract method 0x16e7f171.
Solidity: function has(bytes8 id) constant returns(bool)
func (*ContractCaller) IdsOf ¶
func (_Contract *ContractCaller) IdsOf(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([8]byte, error)
IdsOf is a free data retrieval call binding the contract method 0x78583f23.
Solidity: function idsOf(address , uint256 ) constant returns(bytes8)
func (*ContractCaller) LastId ¶
func (_Contract *ContractCaller) LastId(opts *bind.CallOpts) ([8]byte, error)
LastId is a free data retrieval call binding the contract method 0xc1292cc3.
Solidity: function lastId() constant returns(bytes8)
func (*ContractCaller) LastOnlineId ¶
func (_Contract *ContractCaller) LastOnlineId(opts *bind.CallOpts) ([8]byte, error)
LastOnlineId is a free data retrieval call binding the contract method 0xe91431f7.
Solidity: function lastOnlineId() constant returns(bytes8)
func (*ContractCaller) MinBlockTimeout ¶
MinBlockTimeout is a free data retrieval call binding the contract method 0xa737b186.
Solidity: function minBlockTimeout() constant returns(uint256)
func (*ContractCaller) NodeCost ¶
NodeCost is a free data retrieval call binding the contract method 0x31deb7e1.
Solidity: function nodeCost() constant returns(uint256)
func (*ContractCaller) Nodes ¶
func (_Contract *ContractCaller) Nodes(opts *bind.CallOpts, arg0 [8]byte) (struct { Id1 [32]byte Id2 [32]byte PreId [8]byte NextId [8]byte PreOnlineId [8]byte NextOnlineId [8]byte Coinbase common.Address BlockRegister *big.Int BlockLastPing *big.Int BlockOnline *big.Int BlockOnlineAcc *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x251c22d1.
Solidity: function nodes(bytes8 ) constant returns(bytes32 id1, bytes32 id2, bytes8 preId, bytes8 nextId, bytes8 preOnlineId, bytes8 nextOnlineId, address coinbase, uint256 blockRegister, uint256 blockLastPing, uint256 blockOnline, uint256 blockOnlineAcc)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) BaseCost ¶
func (_Contract *ContractCallerSession) BaseCost() (*big.Int, error)
BaseCost is a free data retrieval call binding the contract method 0x93822557.
Solidity: function baseCost() constant returns(uint256)
func (*ContractCallerSession) CountOnlineNode ¶
func (_Contract *ContractCallerSession) CountOnlineNode() (*big.Int, error)
CountOnlineNode is a free data retrieval call binding the contract method 0x00b54ea6.
Solidity: function countOnlineNode() constant returns(uint256)
func (*ContractCallerSession) CountTotalNode ¶
func (_Contract *ContractCallerSession) CountTotalNode() (*big.Int, error)
CountTotalNode is a free data retrieval call binding the contract method 0x73b15098.
Solidity: function countTotalNode() constant returns(uint256)
func (*ContractCallerSession) GetIds ¶
func (_Contract *ContractCallerSession) GetIds(addr common.Address, startPos *big.Int) (struct { Length *big.Int Data [5][8]byte }, error)
GetIds is a free data retrieval call binding the contract method 0x19fe9a3b.
Solidity: function getIds(address addr, uint256 startPos) constant returns(uint256 length, bytes8[5] data)
func (*ContractCallerSession) GetInfo ¶
func (_Contract *ContractCallerSession) GetInfo(addr common.Address) (struct { LockedBalance *big.Int ReleasedReward *big.Int TotalNodes *big.Int OnlineNodes *big.Int MyNodes *big.Int }, error)
GetInfo is a free data retrieval call binding the contract method 0xffdd5cf1.
Solidity: function getInfo(address addr) constant returns(uint256 lockedBalance, uint256 releasedReward, uint256 totalNodes, uint256 onlineNodes, uint256 myNodes)
func (*ContractCallerSession) Has ¶
func (_Contract *ContractCallerSession) Has(id [8]byte) (bool, error)
Has is a free data retrieval call binding the contract method 0x16e7f171.
Solidity: function has(bytes8 id) constant returns(bool)
func (*ContractCallerSession) IdsOf ¶
IdsOf is a free data retrieval call binding the contract method 0x78583f23.
Solidity: function idsOf(address , uint256 ) constant returns(bytes8)
func (*ContractCallerSession) LastId ¶
func (_Contract *ContractCallerSession) LastId() ([8]byte, error)
LastId is a free data retrieval call binding the contract method 0xc1292cc3.
Solidity: function lastId() constant returns(bytes8)
func (*ContractCallerSession) LastOnlineId ¶
func (_Contract *ContractCallerSession) LastOnlineId() ([8]byte, error)
LastOnlineId is a free data retrieval call binding the contract method 0xe91431f7.
Solidity: function lastOnlineId() constant returns(bytes8)
func (*ContractCallerSession) MinBlockTimeout ¶
func (_Contract *ContractCallerSession) MinBlockTimeout() (*big.Int, error)
MinBlockTimeout is a free data retrieval call binding the contract method 0xa737b186.
Solidity: function minBlockTimeout() constant returns(uint256)
func (*ContractCallerSession) NodeCost ¶
func (_Contract *ContractCallerSession) NodeCost() (*big.Int, error)
NodeCost is a free data retrieval call binding the contract method 0x31deb7e1.
Solidity: function nodeCost() constant returns(uint256)
func (*ContractCallerSession) Nodes ¶
func (_Contract *ContractCallerSession) Nodes(arg0 [8]byte) (struct { Id1 [32]byte Id2 [32]byte PreId [8]byte NextId [8]byte PreOnlineId [8]byte NextOnlineId [8]byte Coinbase common.Address BlockRegister *big.Int BlockLastPing *big.Int BlockOnline *big.Int BlockOnlineAcc *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x251c22d1.
Solidity: function nodes(bytes8 ) constant returns(bytes32 id1, bytes32 id2, bytes8 preId, bytes8 nextId, bytes8 preOnlineId, bytes8 nextOnlineId, address coinbase, uint256 blockRegister, uint256 blockLastPing, uint256 blockOnline, uint256 blockOnlineAcc)
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterJoin ¶
func (_Contract *ContractFilterer) FilterJoin(opts *bind.FilterOpts) (*ContractJoinIterator, error)
FilterJoin is a free log retrieval operation binding the contract event 0xf19f694d42048723a415f5eed7c402ce2c2e5dc0c41580c3f80e220db85ac389.
Solidity: event join(bytes8 id, address addr)
func (*ContractFilterer) FilterQuit ¶
func (_Contract *ContractFilterer) FilterQuit(opts *bind.FilterOpts) (*ContractQuitIterator, error)
FilterQuit is a free log retrieval operation binding the contract event 0x86d1ab9dbf33cb06567fbeb4b47a6a365cf66f632380589591255187f5ca09cd.
Solidity: event quit(bytes8 id, address addr)
func (*ContractFilterer) WatchJoin ¶
func (_Contract *ContractFilterer) WatchJoin(opts *bind.WatchOpts, sink chan<- *ContractJoin) (event.Subscription, error)
WatchJoin is a free log subscription operation binding the contract event 0xf19f694d42048723a415f5eed7c402ce2c2e5dc0c41580c3f80e220db85ac389.
Solidity: event join(bytes8 id, address addr)
func (*ContractFilterer) WatchQuit ¶
func (_Contract *ContractFilterer) WatchQuit(opts *bind.WatchOpts, sink chan<- *ContractQuit) (event.Subscription, error)
WatchQuit is a free log subscription operation binding the contract event 0x86d1ab9dbf33cb06567fbeb4b47a6a365cf66f632380589591255187f5ca09cd.
Solidity: event quit(bytes8 id, address addr)
type ContractJoin ¶
type ContractJoin struct { Id [8]byte Addr common.Address Raw types.Log // Blockchain specific contextual infos }
ContractJoin represents a Join event raised by the Contract contract.
type ContractJoinIterator ¶
type ContractJoinIterator struct { Event *ContractJoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractJoinIterator is returned from FilterJoin and is used to iterate over the raw logs and unpacked data for Join events raised by the Contract contract.
func (*ContractJoinIterator) Close ¶
func (it *ContractJoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractJoinIterator) Error ¶
func (it *ContractJoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractJoinIterator) Next ¶
func (it *ContractJoinIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractQuit ¶
type ContractQuit struct { Id [8]byte Addr common.Address Raw types.Log // Blockchain specific contextual infos }
ContractQuit represents a Quit event raised by the Contract contract.
type ContractQuitIterator ¶
type ContractQuitIterator struct { Event *ContractQuit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractQuitIterator is returned from FilterQuit and is used to iterate over the raw logs and unpacked data for Quit events raised by the Contract contract.
func (*ContractQuitIterator) Close ¶
func (it *ContractQuitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractQuitIterator) Error ¶
func (it *ContractQuitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractQuitIterator) Next ¶
func (it *ContractQuitIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractSession ¶
type ContractSession struct { Contract *Contract // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) BaseCost ¶
func (_Contract *ContractSession) BaseCost() (*big.Int, error)
BaseCost is a free data retrieval call binding the contract method 0x93822557.
Solidity: function baseCost() constant returns(uint256)
func (*ContractSession) CountOnlineNode ¶
func (_Contract *ContractSession) CountOnlineNode() (*big.Int, error)
CountOnlineNode is a free data retrieval call binding the contract method 0x00b54ea6.
Solidity: function countOnlineNode() constant returns(uint256)
func (*ContractSession) CountTotalNode ¶
func (_Contract *ContractSession) CountTotalNode() (*big.Int, error)
CountTotalNode is a free data retrieval call binding the contract method 0x73b15098.
Solidity: function countTotalNode() constant returns(uint256)
func (*ContractSession) GetIds ¶
func (_Contract *ContractSession) GetIds(addr common.Address, startPos *big.Int) (struct { Length *big.Int Data [5][8]byte }, error)
GetIds is a free data retrieval call binding the contract method 0x19fe9a3b.
Solidity: function getIds(address addr, uint256 startPos) constant returns(uint256 length, bytes8[5] data)
func (*ContractSession) GetInfo ¶
func (_Contract *ContractSession) GetInfo(addr common.Address) (struct { LockedBalance *big.Int ReleasedReward *big.Int TotalNodes *big.Int OnlineNodes *big.Int MyNodes *big.Int }, error)
GetInfo is a free data retrieval call binding the contract method 0xffdd5cf1.
Solidity: function getInfo(address addr) constant returns(uint256 lockedBalance, uint256 releasedReward, uint256 totalNodes, uint256 onlineNodes, uint256 myNodes)
func (*ContractSession) Has ¶
func (_Contract *ContractSession) Has(id [8]byte) (bool, error)
Has is a free data retrieval call binding the contract method 0x16e7f171.
Solidity: function has(bytes8 id) constant returns(bool)
func (*ContractSession) IdsOf ¶
IdsOf is a free data retrieval call binding the contract method 0x78583f23.
Solidity: function idsOf(address , uint256 ) constant returns(bytes8)
func (*ContractSession) LastId ¶
func (_Contract *ContractSession) LastId() ([8]byte, error)
LastId is a free data retrieval call binding the contract method 0xc1292cc3.
Solidity: function lastId() constant returns(bytes8)
func (*ContractSession) LastOnlineId ¶
func (_Contract *ContractSession) LastOnlineId() ([8]byte, error)
LastOnlineId is a free data retrieval call binding the contract method 0xe91431f7.
Solidity: function lastOnlineId() constant returns(bytes8)
func (*ContractSession) MinBlockTimeout ¶
func (_Contract *ContractSession) MinBlockTimeout() (*big.Int, error)
MinBlockTimeout is a free data retrieval call binding the contract method 0xa737b186.
Solidity: function minBlockTimeout() constant returns(uint256)
func (*ContractSession) NodeCost ¶
func (_Contract *ContractSession) NodeCost() (*big.Int, error)
NodeCost is a free data retrieval call binding the contract method 0x31deb7e1.
Solidity: function nodeCost() constant returns(uint256)
func (*ContractSession) Nodes ¶
func (_Contract *ContractSession) Nodes(arg0 [8]byte) (struct { Id1 [32]byte Id2 [32]byte PreId [8]byte NextId [8]byte PreOnlineId [8]byte NextOnlineId [8]byte Coinbase common.Address BlockRegister *big.Int BlockLastPing *big.Int BlockOnline *big.Int BlockOnlineAcc *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x251c22d1.
Solidity: function nodes(bytes8 ) constant returns(bytes32 id1, bytes32 id2, bytes8 preId, bytes8 nextId, bytes8 preOnlineId, bytes8 nextOnlineId, address coinbase, uint256 blockRegister, uint256 blockLastPing, uint256 blockOnline, uint256 blockOnlineAcc)
func (*ContractSession) Register ¶
func (_Contract *ContractSession) Register(id1 [32]byte, id2 [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x2f926732.
Solidity: function register(bytes32 id1, bytes32 id2) returns()
func (*ContractSession) Register2 ¶
func (_Contract *ContractSession) Register2(id1 [32]byte, id2 [32]byte, owner common.Address) (*types.Transaction, error)
Register2 is a paid mutator transaction binding the contract method 0x72b507e7.
Solidity: function register2(bytes32 id1, bytes32 id2, address owner) returns()
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) Register ¶
func (_Contract *ContractTransactor) Register(opts *bind.TransactOpts, id1 [32]byte, id2 [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x2f926732.
Solidity: function register(bytes32 id1, bytes32 id2) returns()
func (*ContractTransactor) Register2 ¶
func (_Contract *ContractTransactor) Register2(opts *bind.TransactOpts, id1 [32]byte, id2 [32]byte, owner common.Address) (*types.Transaction, error)
Register2 is a paid mutator transaction binding the contract method 0x72b507e7.
Solidity: function register2(bytes32 id1, bytes32 id2, address owner) returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) Register ¶
func (_Contract *ContractTransactorSession) Register(id1 [32]byte, id2 [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x2f926732.
Solidity: function register(bytes32 id1, bytes32 id2) returns()
func (*ContractTransactorSession) Register2 ¶
func (_Contract *ContractTransactorSession) Register2(id1 [32]byte, id2 [32]byte, owner common.Address) (*types.Transaction, error)
Register2 is a paid mutator transaction binding the contract method 0x72b507e7.
Solidity: function register2(bytes32 id1, bytes32 id2, address owner) returns()