Versions in this module Expand all Collapse all v0 v0.8.0 Oct 6, 2019 Changes in this version + const NodeListABI + const NodeListBin + const OwnableABI + const OwnableBin + var NodeListFuncSigs = map[string]string + var OwnableFuncSigs = map[string]string + type NodeList struct + func DeployNodeList(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *NodeList, error) + func NewNodeList(address common.Address, backend bind.ContractBackend) (*NodeList, error) + type NodeListCaller struct + func NewNodeListCaller(address common.Address, caller bind.ContractCaller) (*NodeListCaller, error) + 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 struct + Contract *NodeListCaller + func (_NodeList *NodeListCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type NodeListCallerSession struct + CallOpts bind.CallOpts + Contract *NodeListCaller + 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 struct + func NewNodeListFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeListFilterer, error) + 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 struct + Epoch *big.Int + Position *big.Int + PublicKey common.Address + Raw types.Log + type NodeListNodeListedIterator struct + Event *NodeListNodeListed + func (it *NodeListNodeListedIterator) Close() error + func (it *NodeListNodeListedIterator) Error() error + func (it *NodeListNodeListedIterator) Next() bool + type NodeListOwnershipTransferred struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type NodeListOwnershipTransferredIterator struct + Event *NodeListOwnershipTransferred + func (it *NodeListOwnershipTransferredIterator) Close() error + func (it *NodeListOwnershipTransferredIterator) Error() error + func (it *NodeListOwnershipTransferredIterator) Next() bool + type NodeListRaw struct + Contract *NodeList + 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 struct + CallOpts bind.CallOpts + Contract *NodeList + TransactOpts bind.TransactOpts + 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 struct + func NewNodeListTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeListTransactor, error) + 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 struct + Contract *NodeListTransactor + func (_NodeList *NodeListTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_NodeList *NodeListTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type NodeListTransactorSession struct + Contract *NodeListTransactor + TransactOpts bind.TransactOpts + 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 struct + func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error) + func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error) + type OwnableCaller struct + func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error) + func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) + func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) + type OwnableCallerRaw struct + Contract *OwnableCaller + func (_Ownable *OwnableCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type OwnableCallerSession struct + CallOpts bind.CallOpts + Contract *OwnableCaller + func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) + func (_Ownable *OwnableCallerSession) Owner() (common.Address, error) + type OwnableFilterer struct + func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error) + 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 struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type OwnableOwnershipTransferredIterator struct + Event *OwnableOwnershipTransferred + func (it *OwnableOwnershipTransferredIterator) Close() error + func (it *OwnableOwnershipTransferredIterator) Error() error + func (it *OwnableOwnershipTransferredIterator) Next() bool + type OwnableRaw struct + Contract *Ownable + 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 struct + CallOpts bind.CallOpts + Contract *Ownable + TransactOpts bind.TransactOpts + 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 struct + func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error) + func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + type OwnableTransactorRaw struct + Contract *OwnableTransactor + func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Ownable *OwnableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OwnableTransactorSession struct + Contract *OwnableTransactor + TransactOpts bind.TransactOpts + func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error) + func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)