Versions in this module Expand all Collapse all v0 v0.9.0 Mar 9, 2023 Changes in this version + var StakingPoolABI = StakingPoolMetaData.ABI + var StakingPoolMetaData = &bind.MetaData + type StakingPool struct + func NewStakingPool(address common.Address, backend bind.ContractBackend) (*StakingPool, error) + type StakingPoolCaller struct + func NewStakingPoolCaller(address common.Address, caller bind.ContractCaller) (*StakingPoolCaller, error) + func (_StakingPool *StakingPoolCaller) GetDepositType(opts *bind.CallOpts) (uint8, error) + func (_StakingPool *StakingPoolCaller) GetNodeAddress(opts *bind.CallOpts) (common.Address, error) + func (_StakingPool *StakingPoolCaller) GetNodeCommonlyRefunded(opts *bind.CallOpts) (bool, error) + func (_StakingPool *StakingPoolCaller) GetNodeDepositAssigned(opts *bind.CallOpts) (bool, error) + func (_StakingPool *StakingPoolCaller) GetNodeDepositBalance(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetNodeFee(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetNodeRefundBalance(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetNodeTrustedRefunded(opts *bind.CallOpts) (bool, error) + func (_StakingPool *StakingPoolCaller) GetPlatformDepositBalance(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetStatus(opts *bind.CallOpts) (uint8, error) + func (_StakingPool *StakingPoolCaller) GetStatusBlock(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetStatusTime(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetUserDepositAssigned(opts *bind.CallOpts) (bool, error) + func (_StakingPool *StakingPoolCaller) GetUserDepositAssignedTime(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetUserDepositBalance(opts *bind.CallOpts) (*big.Int, error) + func (_StakingPool *StakingPoolCaller) GetWithdrawalCredentialsMatch(opts *bind.CallOpts) (bool, error) + type StakingPoolCallerRaw struct + Contract *StakingPoolCaller + func (_StakingPool *StakingPoolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type StakingPoolCallerSession struct + CallOpts bind.CallOpts + Contract *StakingPoolCaller + func (_StakingPool *StakingPoolCallerSession) GetDepositType() (uint8, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeAddress() (common.Address, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeCommonlyRefunded() (bool, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeDepositAssigned() (bool, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeFee() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeRefundBalance() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetNodeTrustedRefunded() (bool, error) + func (_StakingPool *StakingPoolCallerSession) GetPlatformDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetStatus() (uint8, error) + func (_StakingPool *StakingPoolCallerSession) GetStatusBlock() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetStatusTime() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetUserDepositAssigned() (bool, error) + func (_StakingPool *StakingPoolCallerSession) GetUserDepositAssignedTime() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetUserDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolCallerSession) GetWithdrawalCredentialsMatch() (bool, error) + type StakingPoolEtherDeposited struct + Amount *big.Int + From common.Address + Raw types.Log + Time *big.Int + type StakingPoolEtherDepositedIterator struct + Event *StakingPoolEtherDeposited + func (it *StakingPoolEtherDepositedIterator) Close() error + func (it *StakingPoolEtherDepositedIterator) Error() error + func (it *StakingPoolEtherDepositedIterator) Next() bool + type StakingPoolEtherRefunded struct + Amount *big.Int + Node common.Address + Raw types.Log + StakingPool common.Address + Time *big.Int + type StakingPoolEtherRefundedIterator struct + Event *StakingPoolEtherRefunded + func (it *StakingPoolEtherRefundedIterator) Close() error + func (it *StakingPoolEtherRefundedIterator) Error() error + func (it *StakingPoolEtherRefundedIterator) Next() bool + type StakingPoolEtherWithdrawn struct + Amount *big.Int + Raw types.Log + Time *big.Int + To common.Address + type StakingPoolEtherWithdrawnIterator struct + Event *StakingPoolEtherWithdrawn + func (it *StakingPoolEtherWithdrawnIterator) Close() error + func (it *StakingPoolEtherWithdrawnIterator) Error() error + func (it *StakingPoolEtherWithdrawnIterator) Next() bool + type StakingPoolFilterer struct + func NewStakingPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingPoolFilterer, error) + func (_StakingPool *StakingPoolFilterer) FilterEtherDeposited(opts *bind.FilterOpts, from []common.Address) (*StakingPoolEtherDepositedIterator, error) + func (_StakingPool *StakingPoolFilterer) FilterEtherRefunded(opts *bind.FilterOpts, node []common.Address, stakingPool []common.Address) (*StakingPoolEtherRefundedIterator, error) + func (_StakingPool *StakingPoolFilterer) FilterEtherWithdrawn(opts *bind.FilterOpts, to []common.Address) (*StakingPoolEtherWithdrawnIterator, error) + func (_StakingPool *StakingPoolFilterer) FilterStatusUpdated(opts *bind.FilterOpts, status []uint8) (*StakingPoolStatusUpdatedIterator, error) + func (_StakingPool *StakingPoolFilterer) FilterVoteWithdrawalCredentials(opts *bind.FilterOpts) (*StakingPoolVoteWithdrawalCredentialsIterator, error) + func (_StakingPool *StakingPoolFilterer) ParseEtherDeposited(log types.Log) (*StakingPoolEtherDeposited, error) + func (_StakingPool *StakingPoolFilterer) ParseEtherRefunded(log types.Log) (*StakingPoolEtherRefunded, error) + func (_StakingPool *StakingPoolFilterer) ParseEtherWithdrawn(log types.Log) (*StakingPoolEtherWithdrawn, error) + func (_StakingPool *StakingPoolFilterer) ParseStatusUpdated(log types.Log) (*StakingPoolStatusUpdated, error) + func (_StakingPool *StakingPoolFilterer) ParseVoteWithdrawalCredentials(log types.Log) (*StakingPoolVoteWithdrawalCredentials, error) + func (_StakingPool *StakingPoolFilterer) WatchEtherDeposited(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherDeposited, ...) (event.Subscription, error) + func (_StakingPool *StakingPoolFilterer) WatchEtherRefunded(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherRefunded, ...) (event.Subscription, error) + func (_StakingPool *StakingPoolFilterer) WatchEtherWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherWithdrawn, ...) (event.Subscription, error) + func (_StakingPool *StakingPoolFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *StakingPoolStatusUpdated, status []uint8) (event.Subscription, error) + func (_StakingPool *StakingPoolFilterer) WatchVoteWithdrawalCredentials(opts *bind.WatchOpts, sink chan<- *StakingPoolVoteWithdrawalCredentials) (event.Subscription, error) + type StakingPoolRaw struct + Contract *StakingPool + func (_StakingPool *StakingPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_StakingPool *StakingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_StakingPool *StakingPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingPoolSession struct + CallOpts bind.CallOpts + Contract *StakingPool + TransactOpts bind.TransactOpts + func (_StakingPool *StakingPoolSession) Close() (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) Dissolve() (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) GetDepositType() (uint8, error) + func (_StakingPool *StakingPoolSession) GetNodeAddress() (common.Address, error) + func (_StakingPool *StakingPoolSession) GetNodeCommonlyRefunded() (bool, error) + func (_StakingPool *StakingPoolSession) GetNodeDepositAssigned() (bool, error) + func (_StakingPool *StakingPoolSession) GetNodeDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetNodeFee() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetNodeRefundBalance() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetNodeTrustedRefunded() (bool, error) + func (_StakingPool *StakingPoolSession) GetPlatformDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetStatus() (uint8, error) + func (_StakingPool *StakingPoolSession) GetStatusBlock() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetStatusTime() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetUserDepositAssigned() (bool, error) + func (_StakingPool *StakingPoolSession) GetUserDepositAssignedTime() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetUserDepositBalance() (*big.Int, error) + func (_StakingPool *StakingPoolSession) GetWithdrawalCredentialsMatch() (bool, error) + func (_StakingPool *StakingPoolSession) Initialise(_nodeAddress common.Address, _depositType uint8) (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) NodeDeposit(_validatorPubkey []byte, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) Refund() (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) Stake(_validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) UserDeposit() (*types.Transaction, error) + func (_StakingPool *StakingPoolSession) VoteWithdrawCredentials() (*types.Transaction, error) + type StakingPoolStatusUpdated struct + Raw types.Log + Status uint8 + Time *big.Int + type StakingPoolStatusUpdatedIterator struct + Event *StakingPoolStatusUpdated + func (it *StakingPoolStatusUpdatedIterator) Close() error + func (it *StakingPoolStatusUpdatedIterator) Error() error + func (it *StakingPoolStatusUpdatedIterator) Next() bool + type StakingPoolTransactor struct + func NewStakingPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingPoolTransactor, error) + func (_StakingPool *StakingPoolTransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) Dissolve(opts *bind.TransactOpts) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) Initialise(opts *bind.TransactOpts, _nodeAddress common.Address, _depositType uint8) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) NodeDeposit(opts *bind.TransactOpts, _validatorPubkey []byte, _validatorSignature []byte, ...) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) Refund(opts *bind.TransactOpts) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) Stake(opts *bind.TransactOpts, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) UserDeposit(opts *bind.TransactOpts) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactor) VoteWithdrawCredentials(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingPoolTransactorRaw struct + Contract *StakingPoolTransactor + func (_StakingPool *StakingPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingPoolTransactorSession struct + Contract *StakingPoolTransactor + TransactOpts bind.TransactOpts + func (_StakingPool *StakingPoolTransactorSession) Close() (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) Dissolve() (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) Initialise(_nodeAddress common.Address, _depositType uint8) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) NodeDeposit(_validatorPubkey []byte, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) Refund() (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) Stake(_validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) UserDeposit() (*types.Transaction, error) + func (_StakingPool *StakingPoolTransactorSession) VoteWithdrawCredentials() (*types.Transaction, error) + type StakingPoolVoteWithdrawalCredentials struct + Node common.Address + Raw types.Log + type StakingPoolVoteWithdrawalCredentialsIterator struct + Event *StakingPoolVoteWithdrawalCredentials + func (it *StakingPoolVoteWithdrawalCredentialsIterator) Close() error + func (it *StakingPoolVoteWithdrawalCredentialsIterator) Error() error + func (it *StakingPoolVoteWithdrawalCredentialsIterator) Next() bool