Documentation ¶
Index ¶
- Constants
- Variables
- type NodeList
- type NodeListCaller
- func (_NodeList *NodeListCaller) EpochInfo(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListCaller) GetEpochInfo(opts *bind.CallOpts, epoch *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListCaller) GetNodeDetails(opts *bind.CallOpts, nodeAddress common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListCaller) GetNodes(opts *bind.CallOpts, epoch *big.Int) ([]common.Address, error)
- func (_NodeList *NodeListCaller) GetPssStatus(opts *bind.CallOpts, oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
- func (_NodeList *NodeListCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_NodeList *NodeListCaller) IsWhitelisted(opts *bind.CallOpts, epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListCaller) NodeDetails(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListCaller) NodeRegistered(opts *bind.CallOpts, epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_NodeList *NodeListCaller) PssStatus(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_NodeList *NodeListCaller) Whitelist(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
- type NodeListCallerRaw
- type NodeListCallerSession
- func (_NodeList *NodeListCallerSession) EpochInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListCallerSession) GetEpochInfo(epoch *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListCallerSession) GetNodeDetails(nodeAddress common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListCallerSession) GetNodes(epoch *big.Int) ([]common.Address, error)
- func (_NodeList *NodeListCallerSession) GetPssStatus(oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
- func (_NodeList *NodeListCallerSession) IsOwner() (bool, error)
- func (_NodeList *NodeListCallerSession) IsWhitelisted(epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListCallerSession) NodeDetails(arg0 common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListCallerSession) NodeRegistered(epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListCallerSession) Owner() (common.Address, error)
- func (_NodeList *NodeListCallerSession) PssStatus(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_NodeList *NodeListCallerSession) Whitelist(arg0 *big.Int, arg1 common.Address) (bool, error)
- type NodeListFilterer
- func (_NodeList *NodeListFilterer) FilterNodeListed(opts *bind.FilterOpts) (*NodeListNodeListedIterator, error)
- func (_NodeList *NodeListFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*NodeListOwnershipTransferredIterator, error)
- func (_NodeList *NodeListFilterer) ParseNodeListed(log types.Log) (*NodeListNodeListed, error)
- func (_NodeList *NodeListFilterer) ParseOwnershipTransferred(log types.Log) (*NodeListOwnershipTransferred, error)
- func (_NodeList *NodeListFilterer) WatchNodeListed(opts *bind.WatchOpts, sink chan<- *NodeListNodeListed) (event.Subscription, error)
- func (_NodeList *NodeListFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NodeListOwnershipTransferred, ...) (event.Subscription, error)
- type NodeListNodeListed
- type NodeListNodeListedIterator
- type NodeListOwnershipTransferred
- type NodeListOwnershipTransferredIterator
- type NodeListRaw
- func (_NodeList *NodeListRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_NodeList *NodeListRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NodeList *NodeListRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NodeListSession
- func (_NodeList *NodeListSession) EpochInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListSession) GetEpochInfo(epoch *big.Int) (struct{ ... }, error)
- func (_NodeList *NodeListSession) GetNodeDetails(nodeAddress common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListSession) GetNodes(epoch *big.Int) ([]common.Address, error)
- func (_NodeList *NodeListSession) GetPssStatus(oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
- func (_NodeList *NodeListSession) IsOwner() (bool, error)
- func (_NodeList *NodeListSession) IsWhitelisted(epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListSession) ListNode(epoch *big.Int, declaredIp string, pubKx *big.Int, pubKy *big.Int, ...) (*types.Transaction, error)
- func (_NodeList *NodeListSession) NodeDetails(arg0 common.Address) (struct{ ... }, error)
- func (_NodeList *NodeListSession) NodeRegistered(epoch *big.Int, nodeAddress common.Address) (bool, error)
- func (_NodeList *NodeListSession) Owner() (common.Address, error)
- func (_NodeList *NodeListSession) PssStatus(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_NodeList *NodeListSession) RenounceOwnership() (*types.Transaction, error)
- func (_NodeList *NodeListSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_NodeList *NodeListSession) UpdateEpoch(epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, nodeList []common.Address, ...) (*types.Transaction, error)
- func (_NodeList *NodeListSession) UpdatePssStatus(oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
- func (_NodeList *NodeListSession) UpdateWhitelist(epoch *big.Int, nodeAddress common.Address, allowed bool) (*types.Transaction, error)
- func (_NodeList *NodeListSession) Whitelist(arg0 *big.Int, arg1 common.Address) (bool, error)
- type NodeListTransactor
- func (_NodeList *NodeListTransactor) ListNode(opts *bind.TransactOpts, epoch *big.Int, declaredIp string, pubKx *big.Int, ...) (*types.Transaction, error)
- func (_NodeList *NodeListTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NodeList *NodeListTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_NodeList *NodeListTransactor) UpdateEpoch(opts *bind.TransactOpts, epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, ...) (*types.Transaction, error)
- func (_NodeList *NodeListTransactor) UpdatePssStatus(opts *bind.TransactOpts, oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
- func (_NodeList *NodeListTransactor) UpdateWhitelist(opts *bind.TransactOpts, epoch *big.Int, nodeAddress common.Address, ...) (*types.Transaction, error)
- type NodeListTransactorRaw
- type NodeListTransactorSession
- func (_NodeList *NodeListTransactorSession) ListNode(epoch *big.Int, declaredIp string, pubKx *big.Int, pubKy *big.Int, ...) (*types.Transaction, error)
- func (_NodeList *NodeListTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_NodeList *NodeListTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_NodeList *NodeListTransactorSession) UpdateEpoch(epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, nodeList []common.Address, ...) (*types.Transaction, error)
- func (_NodeList *NodeListTransactorSession) UpdatePssStatus(oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
- func (_NodeList *NodeListTransactorSession) UpdateWhitelist(epoch *big.Int, nodeAddress common.Address, allowed bool) (*types.Transaction, error)
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- func (_Ownable *OwnableSession) IsOwner() (bool, error)
- func (_Ownable *OwnableSession) Owner() (common.Address, error)
- func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
- func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
Constants ¶
const NodeListABI = "" /* 5981-byte string literal not displayed */
NodeListABI is the input ABI used to generate the binding from.
const NodeListBin = `` /* 11480-byte string literal not displayed */
NodeListBin is the compiled bytecode used for deploying new contracts.
const OwnableABI = "" /* 1013-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const OwnableBin = `0x`
OwnableBin is the compiled bytecode used for deploying new contracts.
Variables ¶
var NodeListFuncSigs = map[string]string{
"3894228e": "epochInfo(uint256)",
"135022c2": "getEpochInfo(uint256)",
"bafb3581": "getNodeDetails(address)",
"47de074f": "getNodes(uint256)",
"c7aa8ff7": "getPssStatus(uint256,uint256)",
"8f32d59b": "isOwner()",
"7d22c35c": "isWhitelisted(uint256,address)",
"bf2d6f81": "listNode(uint256,string,uint256,uint256,string,string)",
"859da85f": "nodeDetails(address)",
"86470e9e": "nodeRegistered(uint256,address)",
"8da5cb5b": "owner()",
"52fc47b4": "pssStatus(uint256,uint256)",
"715018a6": "renounceOwnership()",
"f2fde38b": "transferOwnership(address)",
"ae4df20c": "updateEpoch(uint256,uint256,uint256,uint256,address[],uint256,uint256)",
"6967ac51": "updatePssStatus(uint256,uint256,uint256)",
"3d4602a9": "updateWhitelist(uint256,address,bool)",
"4b25bfce": "whitelist(uint256,address)",
}
NodeListFuncSigs maps the 4-byte function signature to its string representation.
var OwnableFuncSigs = map[string]string{
"8f32d59b": "isOwner()",
"8da5cb5b": "owner()",
"715018a6": "renounceOwnership()",
"f2fde38b": "transferOwnership(address)",
}
OwnableFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type NodeList ¶
type NodeList struct { NodeListCaller // Read-only binding to the contract NodeListTransactor // Write-only binding to the contract NodeListFilterer // Log filterer for contract events }
NodeList is an auto generated Go binding around an Ethereum contract.
func DeployNodeList ¶
func DeployNodeList(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *NodeList, error)
DeployNodeList deploys a new Ethereum contract, binding an instance of NodeList to it.
func NewNodeList ¶
NewNodeList creates a new instance of NodeList, bound to a specific deployed contract.
type NodeListCaller ¶
type NodeListCaller struct {
// contains filtered or unexported fields
}
NodeListCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNodeListCaller ¶
func NewNodeListCaller(address common.Address, caller bind.ContractCaller) (*NodeListCaller, error)
NewNodeListCaller creates a new read-only instance of NodeList, bound to a specific deployed contract.
func (*NodeListCaller) EpochInfo ¶
func (_NodeList *NodeListCaller) EpochInfo(opts *bind.CallOpts, arg0 *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int PrevEpoch *big.Int NextEpoch *big.Int }, error)
EpochInfo is a free data retrieval call binding the contract method 0x3894228e.
Solidity: function epochInfo(uint256 ) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListCaller) GetEpochInfo ¶
func (_NodeList *NodeListCaller) GetEpochInfo(opts *bind.CallOpts, epoch *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int NodeList []common.Address PrevEpoch *big.Int NextEpoch *big.Int }, error)
GetEpochInfo is a free data retrieval call binding the contract method 0x135022c2.
Solidity: function getEpochInfo(uint256 epoch) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListCaller) GetNodeDetails ¶
func (_NodeList *NodeListCaller) GetNodeDetails(opts *bind.CallOpts, nodeAddress common.Address) (struct { DeclaredIp string Position *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0xbafb3581.
Solidity: function getNodeDetails(address nodeAddress) constant returns(string declaredIp, uint256 position, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListCaller) GetNodes ¶
func (_NodeList *NodeListCaller) GetNodes(opts *bind.CallOpts, epoch *big.Int) ([]common.Address, error)
GetNodes is a free data retrieval call binding the contract method 0x47de074f.
Solidity: function getNodes(uint256 epoch) constant returns(address[])
func (*NodeListCaller) GetPssStatus ¶
func (_NodeList *NodeListCaller) GetPssStatus(opts *bind.CallOpts, oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
GetPssStatus is a free data retrieval call binding the contract method 0xc7aa8ff7.
Solidity: function getPssStatus(uint256 oldEpoch, uint256 newEpoch) constant returns(uint256)
func (*NodeListCaller) IsOwner ¶
func (_NodeList *NodeListCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*NodeListCaller) IsWhitelisted ¶
func (_NodeList *NodeListCaller) IsWhitelisted(opts *bind.CallOpts, epoch *big.Int, nodeAddress common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x7d22c35c.
Solidity: function isWhitelisted(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListCaller) NodeDetails ¶
func (_NodeList *NodeListCaller) NodeDetails(opts *bind.CallOpts, arg0 common.Address) (struct { DeclaredIp string Position *big.Int PubKx *big.Int PubKy *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
NodeDetails is a free data retrieval call binding the contract method 0x859da85f.
Solidity: function nodeDetails(address ) constant returns(string declaredIp, uint256 position, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListCaller) NodeRegistered ¶
func (_NodeList *NodeListCaller) NodeRegistered(opts *bind.CallOpts, epoch *big.Int, nodeAddress common.Address) (bool, error)
NodeRegistered is a free data retrieval call binding the contract method 0x86470e9e.
Solidity: function nodeRegistered(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*NodeListCaller) PssStatus ¶
func (_NodeList *NodeListCaller) PssStatus(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
PssStatus is a free data retrieval call binding the contract method 0x52fc47b4.
Solidity: function pssStatus(uint256 , uint256 ) constant returns(uint256)
func (*NodeListCaller) Whitelist ¶
func (_NodeList *NodeListCaller) Whitelist(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
Whitelist is a free data retrieval call binding the contract method 0x4b25bfce.
Solidity: function whitelist(uint256 , address ) constant returns(bool)
type NodeListCallerRaw ¶
type NodeListCallerRaw struct {
Contract *NodeListCaller // Generic read-only contract binding to access the raw methods on
}
NodeListCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NodeListCallerRaw) Call ¶
func (_NodeList *NodeListCallerRaw) 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 NodeListCallerSession ¶
type NodeListCallerSession struct { Contract *NodeListCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NodeListCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NodeListCallerSession) EpochInfo ¶
func (_NodeList *NodeListCallerSession) EpochInfo(arg0 *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int PrevEpoch *big.Int NextEpoch *big.Int }, error)
EpochInfo is a free data retrieval call binding the contract method 0x3894228e.
Solidity: function epochInfo(uint256 ) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListCallerSession) GetEpochInfo ¶
func (_NodeList *NodeListCallerSession) GetEpochInfo(epoch *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int NodeList []common.Address PrevEpoch *big.Int NextEpoch *big.Int }, error)
GetEpochInfo is a free data retrieval call binding the contract method 0x135022c2.
Solidity: function getEpochInfo(uint256 epoch) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListCallerSession) GetNodeDetails ¶
func (_NodeList *NodeListCallerSession) GetNodeDetails(nodeAddress common.Address) (struct { DeclaredIp string Position *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0xbafb3581.
Solidity: function getNodeDetails(address nodeAddress) constant returns(string declaredIp, uint256 position, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListCallerSession) GetNodes ¶
GetNodes is a free data retrieval call binding the contract method 0x47de074f.
Solidity: function getNodes(uint256 epoch) constant returns(address[])
func (*NodeListCallerSession) GetPssStatus ¶
func (_NodeList *NodeListCallerSession) GetPssStatus(oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
GetPssStatus is a free data retrieval call binding the contract method 0xc7aa8ff7.
Solidity: function getPssStatus(uint256 oldEpoch, uint256 newEpoch) constant returns(uint256)
func (*NodeListCallerSession) IsOwner ¶
func (_NodeList *NodeListCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*NodeListCallerSession) IsWhitelisted ¶
func (_NodeList *NodeListCallerSession) IsWhitelisted(epoch *big.Int, nodeAddress common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x7d22c35c.
Solidity: function isWhitelisted(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListCallerSession) NodeDetails ¶
func (_NodeList *NodeListCallerSession) NodeDetails(arg0 common.Address) (struct { DeclaredIp string Position *big.Int PubKx *big.Int PubKy *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
NodeDetails is a free data retrieval call binding the contract method 0x859da85f.
Solidity: function nodeDetails(address ) constant returns(string declaredIp, uint256 position, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListCallerSession) NodeRegistered ¶
func (_NodeList *NodeListCallerSession) NodeRegistered(epoch *big.Int, nodeAddress common.Address) (bool, error)
NodeRegistered is a free data retrieval call binding the contract method 0x86470e9e.
Solidity: function nodeRegistered(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListCallerSession) Owner ¶
func (_NodeList *NodeListCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
type NodeListFilterer ¶
type NodeListFilterer struct {
// contains filtered or unexported fields
}
NodeListFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNodeListFilterer ¶
func NewNodeListFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeListFilterer, error)
NewNodeListFilterer creates a new log filterer instance of NodeList, bound to a specific deployed contract.
func (*NodeListFilterer) FilterNodeListed ¶
func (_NodeList *NodeListFilterer) FilterNodeListed(opts *bind.FilterOpts) (*NodeListNodeListedIterator, error)
FilterNodeListed is a free log retrieval operation binding the contract event 0xe2f8adb0f494dc82ccf446c031763ef3762d6396d51664611ed89aac0117339e.
Solidity: event NodeListed(address publicKey, uint256 epoch, uint256 position)
func (*NodeListFilterer) FilterOwnershipTransferred ¶
func (_NodeList *NodeListFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*NodeListOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NodeListFilterer) ParseNodeListed ¶
func (_NodeList *NodeListFilterer) ParseNodeListed(log types.Log) (*NodeListNodeListed, error)
ParseNodeListed is a log parse operation binding the contract event 0xe2f8adb0f494dc82ccf446c031763ef3762d6396d51664611ed89aac0117339e.
Solidity: event NodeListed(address publicKey, uint256 epoch, uint256 position)
func (*NodeListFilterer) ParseOwnershipTransferred ¶
func (_NodeList *NodeListFilterer) ParseOwnershipTransferred(log types.Log) (*NodeListOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NodeListFilterer) WatchNodeListed ¶
func (_NodeList *NodeListFilterer) WatchNodeListed(opts *bind.WatchOpts, sink chan<- *NodeListNodeListed) (event.Subscription, error)
WatchNodeListed is a free log subscription operation binding the contract event 0xe2f8adb0f494dc82ccf446c031763ef3762d6396d51664611ed89aac0117339e.
Solidity: event NodeListed(address publicKey, uint256 epoch, uint256 position)
func (*NodeListFilterer) WatchOwnershipTransferred ¶
func (_NodeList *NodeListFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NodeListOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type NodeListNodeListed ¶
type NodeListNodeListed struct { PublicKey common.Address Epoch *big.Int Position *big.Int Raw types.Log // Blockchain specific contextual infos }
NodeListNodeListed represents a NodeListed event raised by the NodeList contract.
type NodeListNodeListedIterator ¶
type NodeListNodeListedIterator struct { Event *NodeListNodeListed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeListNodeListedIterator is returned from FilterNodeListed and is used to iterate over the raw logs and unpacked data for NodeListed events raised by the NodeList contract.
func (*NodeListNodeListedIterator) Close ¶
func (it *NodeListNodeListedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeListNodeListedIterator) Error ¶
func (it *NodeListNodeListedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeListNodeListedIterator) Next ¶
func (it *NodeListNodeListedIterator) 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 NodeListOwnershipTransferred ¶
type NodeListOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
NodeListOwnershipTransferred represents a OwnershipTransferred event raised by the NodeList contract.
type NodeListOwnershipTransferredIterator ¶
type NodeListOwnershipTransferredIterator struct { Event *NodeListOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeListOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the NodeList contract.
func (*NodeListOwnershipTransferredIterator) Close ¶
func (it *NodeListOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeListOwnershipTransferredIterator) Error ¶
func (it *NodeListOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeListOwnershipTransferredIterator) Next ¶
func (it *NodeListOwnershipTransferredIterator) 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 NodeListRaw ¶
type NodeListRaw struct {
Contract *NodeList // Generic contract binding to access the raw methods on
}
NodeListRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NodeListRaw) Call ¶
func (_NodeList *NodeListRaw) 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 (*NodeListRaw) Transact ¶
func (_NodeList *NodeListRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeListRaw) Transfer ¶
func (_NodeList *NodeListRaw) 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 NodeListSession ¶
type NodeListSession struct { Contract *NodeList // 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 }
NodeListSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NodeListSession) EpochInfo ¶
func (_NodeList *NodeListSession) EpochInfo(arg0 *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int PrevEpoch *big.Int NextEpoch *big.Int }, error)
EpochInfo is a free data retrieval call binding the contract method 0x3894228e.
Solidity: function epochInfo(uint256 ) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListSession) GetEpochInfo ¶
func (_NodeList *NodeListSession) GetEpochInfo(epoch *big.Int) (struct { Id *big.Int N *big.Int K *big.Int T *big.Int NodeList []common.Address PrevEpoch *big.Int NextEpoch *big.Int }, error)
GetEpochInfo is a free data retrieval call binding the contract method 0x135022c2.
Solidity: function getEpochInfo(uint256 epoch) constant returns(uint256 id, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch)
func (*NodeListSession) GetNodeDetails ¶
func (_NodeList *NodeListSession) GetNodeDetails(nodeAddress common.Address) (struct { DeclaredIp string Position *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0xbafb3581.
Solidity: function getNodeDetails(address nodeAddress) constant returns(string declaredIp, uint256 position, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListSession) GetNodes ¶
GetNodes is a free data retrieval call binding the contract method 0x47de074f.
Solidity: function getNodes(uint256 epoch) constant returns(address[])
func (*NodeListSession) GetPssStatus ¶
func (_NodeList *NodeListSession) GetPssStatus(oldEpoch *big.Int, newEpoch *big.Int) (*big.Int, error)
GetPssStatus is a free data retrieval call binding the contract method 0xc7aa8ff7.
Solidity: function getPssStatus(uint256 oldEpoch, uint256 newEpoch) constant returns(uint256)
func (*NodeListSession) IsOwner ¶
func (_NodeList *NodeListSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*NodeListSession) IsWhitelisted ¶
func (_NodeList *NodeListSession) IsWhitelisted(epoch *big.Int, nodeAddress common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x7d22c35c.
Solidity: function isWhitelisted(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListSession) ListNode ¶
func (_NodeList *NodeListSession) ListNode(epoch *big.Int, declaredIp string, pubKx *big.Int, pubKy *big.Int, tmP2PListenAddress string, p2pListenAddress string) (*types.Transaction, error)
ListNode is a paid mutator transaction binding the contract method 0xbf2d6f81.
Solidity: function listNode(uint256 epoch, string declaredIp, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress) returns()
func (*NodeListSession) NodeDetails ¶
func (_NodeList *NodeListSession) NodeDetails(arg0 common.Address) (struct { DeclaredIp string Position *big.Int PubKx *big.Int PubKy *big.Int TmP2PListenAddress string P2pListenAddress string }, error)
NodeDetails is a free data retrieval call binding the contract method 0x859da85f.
Solidity: function nodeDetails(address ) constant returns(string declaredIp, uint256 position, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress)
func (*NodeListSession) NodeRegistered ¶
func (_NodeList *NodeListSession) NodeRegistered(epoch *big.Int, nodeAddress common.Address) (bool, error)
NodeRegistered is a free data retrieval call binding the contract method 0x86470e9e.
Solidity: function nodeRegistered(uint256 epoch, address nodeAddress) constant returns(bool)
func (*NodeListSession) Owner ¶
func (_NodeList *NodeListSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*NodeListSession) PssStatus ¶
PssStatus is a free data retrieval call binding the contract method 0x52fc47b4.
Solidity: function pssStatus(uint256 , uint256 ) constant returns(uint256)
func (*NodeListSession) RenounceOwnership ¶
func (_NodeList *NodeListSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodeListSession) TransferOwnership ¶
func (_NodeList *NodeListSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodeListSession) UpdateEpoch ¶
func (_NodeList *NodeListSession) UpdateEpoch(epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, nodeList []common.Address, prevEpoch *big.Int, nextEpoch *big.Int) (*types.Transaction, error)
UpdateEpoch is a paid mutator transaction binding the contract method 0xae4df20c.
Solidity: function updateEpoch(uint256 epoch, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch) returns()
func (*NodeListSession) UpdatePssStatus ¶
func (_NodeList *NodeListSession) UpdatePssStatus(oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
UpdatePssStatus is a paid mutator transaction binding the contract method 0x6967ac51.
Solidity: function updatePssStatus(uint256 oldEpoch, uint256 newEpoch, uint256 status) returns()
func (*NodeListSession) UpdateWhitelist ¶
func (_NodeList *NodeListSession) UpdateWhitelist(epoch *big.Int, nodeAddress common.Address, allowed bool) (*types.Transaction, error)
UpdateWhitelist is a paid mutator transaction binding the contract method 0x3d4602a9.
Solidity: function updateWhitelist(uint256 epoch, address nodeAddress, bool allowed) returns()
type NodeListTransactor ¶
type NodeListTransactor struct {
// contains filtered or unexported fields
}
NodeListTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNodeListTransactor ¶
func NewNodeListTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeListTransactor, error)
NewNodeListTransactor creates a new write-only instance of NodeList, bound to a specific deployed contract.
func (*NodeListTransactor) ListNode ¶
func (_NodeList *NodeListTransactor) ListNode(opts *bind.TransactOpts, epoch *big.Int, declaredIp string, pubKx *big.Int, pubKy *big.Int, tmP2PListenAddress string, p2pListenAddress string) (*types.Transaction, error)
ListNode is a paid mutator transaction binding the contract method 0xbf2d6f81.
Solidity: function listNode(uint256 epoch, string declaredIp, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress) returns()
func (*NodeListTransactor) RenounceOwnership ¶
func (_NodeList *NodeListTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodeListTransactor) TransferOwnership ¶
func (_NodeList *NodeListTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodeListTransactor) UpdateEpoch ¶
func (_NodeList *NodeListTransactor) UpdateEpoch(opts *bind.TransactOpts, epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, nodeList []common.Address, prevEpoch *big.Int, nextEpoch *big.Int) (*types.Transaction, error)
UpdateEpoch is a paid mutator transaction binding the contract method 0xae4df20c.
Solidity: function updateEpoch(uint256 epoch, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch) returns()
func (*NodeListTransactor) UpdatePssStatus ¶
func (_NodeList *NodeListTransactor) UpdatePssStatus(opts *bind.TransactOpts, oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
UpdatePssStatus is a paid mutator transaction binding the contract method 0x6967ac51.
Solidity: function updatePssStatus(uint256 oldEpoch, uint256 newEpoch, uint256 status) returns()
func (*NodeListTransactor) UpdateWhitelist ¶
func (_NodeList *NodeListTransactor) UpdateWhitelist(opts *bind.TransactOpts, epoch *big.Int, nodeAddress common.Address, allowed bool) (*types.Transaction, error)
UpdateWhitelist is a paid mutator transaction binding the contract method 0x3d4602a9.
Solidity: function updateWhitelist(uint256 epoch, address nodeAddress, bool allowed) returns()
type NodeListTransactorRaw ¶
type NodeListTransactorRaw struct {
Contract *NodeListTransactor // Generic write-only contract binding to access the raw methods on
}
NodeListTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NodeListTransactorRaw) Transact ¶
func (_NodeList *NodeListTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeListTransactorRaw) Transfer ¶
func (_NodeList *NodeListTransactorRaw) 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 NodeListTransactorSession ¶
type NodeListTransactorSession struct { Contract *NodeListTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NodeListTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NodeListTransactorSession) ListNode ¶
func (_NodeList *NodeListTransactorSession) ListNode(epoch *big.Int, declaredIp string, pubKx *big.Int, pubKy *big.Int, tmP2PListenAddress string, p2pListenAddress string) (*types.Transaction, error)
ListNode is a paid mutator transaction binding the contract method 0xbf2d6f81.
Solidity: function listNode(uint256 epoch, string declaredIp, uint256 pubKx, uint256 pubKy, string tmP2PListenAddress, string p2pListenAddress) returns()
func (*NodeListTransactorSession) RenounceOwnership ¶
func (_NodeList *NodeListTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodeListTransactorSession) TransferOwnership ¶
func (_NodeList *NodeListTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodeListTransactorSession) UpdateEpoch ¶
func (_NodeList *NodeListTransactorSession) UpdateEpoch(epoch *big.Int, n *big.Int, k *big.Int, t *big.Int, nodeList []common.Address, prevEpoch *big.Int, nextEpoch *big.Int) (*types.Transaction, error)
UpdateEpoch is a paid mutator transaction binding the contract method 0xae4df20c.
Solidity: function updateEpoch(uint256 epoch, uint256 n, uint256 k, uint256 t, address[] nodeList, uint256 prevEpoch, uint256 nextEpoch) returns()
func (*NodeListTransactorSession) UpdatePssStatus ¶
func (_NodeList *NodeListTransactorSession) UpdatePssStatus(oldEpoch *big.Int, newEpoch *big.Int, status *big.Int) (*types.Transaction, error)
UpdatePssStatus is a paid mutator transaction binding the contract method 0x6967ac51.
Solidity: function updatePssStatus(uint256 oldEpoch, uint256 newEpoch, uint256 status) returns()
func (*NodeListTransactorSession) UpdateWhitelist ¶
func (_NodeList *NodeListTransactorSession) UpdateWhitelist(epoch *big.Int, nodeAddress common.Address, allowed bool) (*types.Transaction, error)
UpdateWhitelist is a paid mutator transaction binding the contract method 0x3d4602a9.
Solidity: function updateWhitelist(uint256 epoch, address nodeAddress, bool allowed) returns()
type Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OwnableCallerSession) IsOwner ¶
func (_Ownable *OwnableCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) IsOwner ¶
func (_Ownable *OwnableSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()