Documentation ¶
Index ¶
- Variables
- type StakingPool
- type StakingPoolCaller
- 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
- type StakingPoolCallerSession
- 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
- type StakingPoolEtherDepositedIterator
- type StakingPoolEtherRefunded
- type StakingPoolEtherRefundedIterator
- type StakingPoolEtherWithdrawn
- type StakingPoolEtherWithdrawnIterator
- type StakingPoolFilterer
- 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
- 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
- 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
- type StakingPoolStatusUpdatedIterator
- type StakingPoolTransactor
- 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
- type StakingPoolTransactorSession
- 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
- type StakingPoolVoteWithdrawalCredentialsIterator
Constants ¶
This section is empty.
Variables ¶
var StakingPoolABI = StakingPoolMetaData.ABI
StakingPoolABI is the input ABI used to generate the binding from. Deprecated: Use StakingPoolMetaData.ABI instead.
var StakingPoolMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingPool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"}],\"name\":\"VoteWithdrawalCredentials\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"close\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dissolve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositType\",\"outputs\":[{\"internalType\":\"enumDepositType\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeCommonlyRefunded\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeDepositAssigned\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeDepositBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeRefundBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeTrustedRefunded\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPlatformDepositBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStatus\",\"outputs\":[{\"internalType\":\"enumStakingPoolStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStatusBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStatusTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUserDepositAssigned\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUserDepositAssignedTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUserDepositBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawalCredentialsMatch\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_nodeAddress\",\"type\":\"address\"},{\"internalType\":\"enumDepositType\",\"name\":\"_depositType\",\"type\":\"uint8\"}],\"name\":\"initialise\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_validatorPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_validatorSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_depositDataRoot\",\"type\":\"bytes32\"}],\"name\":\"nodeDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_validatorSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_depositDataRoot\",\"type\":\"bytes32\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"userDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"voteWithdrawCredentials\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StakingPoolMetaData contains all meta data concerning the StakingPool contract.
Functions ¶
This section is empty.
Types ¶
type StakingPool ¶
type StakingPool struct { StakingPoolCaller // Read-only binding to the contract StakingPoolTransactor // Write-only binding to the contract StakingPoolFilterer // Log filterer for contract events }
StakingPool is an auto generated Go binding around an Ethereum contract.
func NewStakingPool ¶
func NewStakingPool(address common.Address, backend bind.ContractBackend) (*StakingPool, error)
NewStakingPool creates a new instance of StakingPool, bound to a specific deployed contract.
type StakingPoolCaller ¶
type StakingPoolCaller struct {
// contains filtered or unexported fields
}
StakingPoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakingPoolCaller ¶
func NewStakingPoolCaller(address common.Address, caller bind.ContractCaller) (*StakingPoolCaller, error)
NewStakingPoolCaller creates a new read-only instance of StakingPool, bound to a specific deployed contract.
func (*StakingPoolCaller) GetDepositType ¶
func (_StakingPool *StakingPoolCaller) GetDepositType(opts *bind.CallOpts) (uint8, error)
GetDepositType is a free data retrieval call binding the contract method 0x5abd37e4.
Solidity: function getDepositType() view returns(uint8)
func (*StakingPoolCaller) GetNodeAddress ¶
GetNodeAddress is a free data retrieval call binding the contract method 0x70dabc9e.
Solidity: function getNodeAddress() view returns(address)
func (*StakingPoolCaller) GetNodeCommonlyRefunded ¶
func (_StakingPool *StakingPoolCaller) GetNodeCommonlyRefunded(opts *bind.CallOpts) (bool, error)
GetNodeCommonlyRefunded is a free data retrieval call binding the contract method 0xa0a8440f.
Solidity: function getNodeCommonlyRefunded() view returns(bool)
func (*StakingPoolCaller) GetNodeDepositAssigned ¶
func (_StakingPool *StakingPoolCaller) GetNodeDepositAssigned(opts *bind.CallOpts) (bool, error)
GetNodeDepositAssigned is a free data retrieval call binding the contract method 0x69c089ea.
Solidity: function getNodeDepositAssigned() view returns(bool)
func (*StakingPoolCaller) GetNodeDepositBalance ¶
GetNodeDepositBalance is a free data retrieval call binding the contract method 0x74ca6bf2.
Solidity: function getNodeDepositBalance() view returns(uint256)
func (*StakingPoolCaller) GetNodeFee ¶
GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.
Solidity: function getNodeFee() view returns(uint256)
func (*StakingPoolCaller) GetNodeRefundBalance ¶
GetNodeRefundBalance is a free data retrieval call binding the contract method 0xfbc02c42.
Solidity: function getNodeRefundBalance() view returns(uint256)
func (*StakingPoolCaller) GetNodeTrustedRefunded ¶
func (_StakingPool *StakingPoolCaller) GetNodeTrustedRefunded(opts *bind.CallOpts) (bool, error)
GetNodeTrustedRefunded is a free data retrieval call binding the contract method 0x542bac20.
Solidity: function getNodeTrustedRefunded() view returns(bool)
func (*StakingPoolCaller) GetPlatformDepositBalance ¶
func (_StakingPool *StakingPoolCaller) GetPlatformDepositBalance(opts *bind.CallOpts) (*big.Int, error)
GetPlatformDepositBalance is a free data retrieval call binding the contract method 0xdd58cc23.
Solidity: function getPlatformDepositBalance() view returns(uint256)
func (*StakingPoolCaller) GetStatus ¶
func (_StakingPool *StakingPoolCaller) GetStatus(opts *bind.CallOpts) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*StakingPoolCaller) GetStatusBlock ¶
GetStatusBlock is a free data retrieval call binding the contract method 0xe67cd5b0.
Solidity: function getStatusBlock() view returns(uint256)
func (*StakingPoolCaller) GetStatusTime ¶
GetStatusTime is a free data retrieval call binding the contract method 0x3e0a56b0.
Solidity: function getStatusTime() view returns(uint256)
func (*StakingPoolCaller) GetUserDepositAssigned ¶
func (_StakingPool *StakingPoolCaller) GetUserDepositAssigned(opts *bind.CallOpts) (bool, error)
GetUserDepositAssigned is a free data retrieval call binding the contract method 0xd91eda62.
Solidity: function getUserDepositAssigned() view returns(bool)
func (*StakingPoolCaller) GetUserDepositAssignedTime ¶
func (_StakingPool *StakingPoolCaller) GetUserDepositAssignedTime(opts *bind.CallOpts) (*big.Int, error)
GetUserDepositAssignedTime is a free data retrieval call binding the contract method 0xa2940a90.
Solidity: function getUserDepositAssignedTime() view returns(uint256)
func (*StakingPoolCaller) GetUserDepositBalance ¶
GetUserDepositBalance is a free data retrieval call binding the contract method 0xe7e04aba.
Solidity: function getUserDepositBalance() view returns(uint256)
func (*StakingPoolCaller) GetWithdrawalCredentialsMatch ¶
func (_StakingPool *StakingPoolCaller) GetWithdrawalCredentialsMatch(opts *bind.CallOpts) (bool, error)
GetWithdrawalCredentialsMatch is a free data retrieval call binding the contract method 0x05dab351.
Solidity: function getWithdrawalCredentialsMatch() view returns(bool)
type StakingPoolCallerRaw ¶
type StakingPoolCallerRaw struct {
Contract *StakingPoolCaller // Generic read-only contract binding to access the raw methods on
}
StakingPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakingPoolCallerRaw) Call ¶
func (_StakingPool *StakingPoolCallerRaw) 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 StakingPoolCallerSession ¶
type StakingPoolCallerSession struct { Contract *StakingPoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StakingPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakingPoolCallerSession) GetDepositType ¶
func (_StakingPool *StakingPoolCallerSession) GetDepositType() (uint8, error)
GetDepositType is a free data retrieval call binding the contract method 0x5abd37e4.
Solidity: function getDepositType() view returns(uint8)
func (*StakingPoolCallerSession) GetNodeAddress ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeAddress() (common.Address, error)
GetNodeAddress is a free data retrieval call binding the contract method 0x70dabc9e.
Solidity: function getNodeAddress() view returns(address)
func (*StakingPoolCallerSession) GetNodeCommonlyRefunded ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeCommonlyRefunded() (bool, error)
GetNodeCommonlyRefunded is a free data retrieval call binding the contract method 0xa0a8440f.
Solidity: function getNodeCommonlyRefunded() view returns(bool)
func (*StakingPoolCallerSession) GetNodeDepositAssigned ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeDepositAssigned() (bool, error)
GetNodeDepositAssigned is a free data retrieval call binding the contract method 0x69c089ea.
Solidity: function getNodeDepositAssigned() view returns(bool)
func (*StakingPoolCallerSession) GetNodeDepositBalance ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeDepositBalance() (*big.Int, error)
GetNodeDepositBalance is a free data retrieval call binding the contract method 0x74ca6bf2.
Solidity: function getNodeDepositBalance() view returns(uint256)
func (*StakingPoolCallerSession) GetNodeFee ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeFee() (*big.Int, error)
GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.
Solidity: function getNodeFee() view returns(uint256)
func (*StakingPoolCallerSession) GetNodeRefundBalance ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeRefundBalance() (*big.Int, error)
GetNodeRefundBalance is a free data retrieval call binding the contract method 0xfbc02c42.
Solidity: function getNodeRefundBalance() view returns(uint256)
func (*StakingPoolCallerSession) GetNodeTrustedRefunded ¶
func (_StakingPool *StakingPoolCallerSession) GetNodeTrustedRefunded() (bool, error)
GetNodeTrustedRefunded is a free data retrieval call binding the contract method 0x542bac20.
Solidity: function getNodeTrustedRefunded() view returns(bool)
func (*StakingPoolCallerSession) GetPlatformDepositBalance ¶
func (_StakingPool *StakingPoolCallerSession) GetPlatformDepositBalance() (*big.Int, error)
GetPlatformDepositBalance is a free data retrieval call binding the contract method 0xdd58cc23.
Solidity: function getPlatformDepositBalance() view returns(uint256)
func (*StakingPoolCallerSession) GetStatus ¶
func (_StakingPool *StakingPoolCallerSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*StakingPoolCallerSession) GetStatusBlock ¶
func (_StakingPool *StakingPoolCallerSession) GetStatusBlock() (*big.Int, error)
GetStatusBlock is a free data retrieval call binding the contract method 0xe67cd5b0.
Solidity: function getStatusBlock() view returns(uint256)
func (*StakingPoolCallerSession) GetStatusTime ¶
func (_StakingPool *StakingPoolCallerSession) GetStatusTime() (*big.Int, error)
GetStatusTime is a free data retrieval call binding the contract method 0x3e0a56b0.
Solidity: function getStatusTime() view returns(uint256)
func (*StakingPoolCallerSession) GetUserDepositAssigned ¶
func (_StakingPool *StakingPoolCallerSession) GetUserDepositAssigned() (bool, error)
GetUserDepositAssigned is a free data retrieval call binding the contract method 0xd91eda62.
Solidity: function getUserDepositAssigned() view returns(bool)
func (*StakingPoolCallerSession) GetUserDepositAssignedTime ¶
func (_StakingPool *StakingPoolCallerSession) GetUserDepositAssignedTime() (*big.Int, error)
GetUserDepositAssignedTime is a free data retrieval call binding the contract method 0xa2940a90.
Solidity: function getUserDepositAssignedTime() view returns(uint256)
func (*StakingPoolCallerSession) GetUserDepositBalance ¶
func (_StakingPool *StakingPoolCallerSession) GetUserDepositBalance() (*big.Int, error)
GetUserDepositBalance is a free data retrieval call binding the contract method 0xe7e04aba.
Solidity: function getUserDepositBalance() view returns(uint256)
func (*StakingPoolCallerSession) GetWithdrawalCredentialsMatch ¶
func (_StakingPool *StakingPoolCallerSession) GetWithdrawalCredentialsMatch() (bool, error)
GetWithdrawalCredentialsMatch is a free data retrieval call binding the contract method 0x05dab351.
Solidity: function getWithdrawalCredentialsMatch() view returns(bool)
type StakingPoolEtherDeposited ¶
type StakingPoolEtherDeposited struct { From common.Address Amount *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingPoolEtherDeposited represents a EtherDeposited event raised by the StakingPool contract.
type StakingPoolEtherDepositedIterator ¶
type StakingPoolEtherDepositedIterator struct { Event *StakingPoolEtherDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingPoolEtherDepositedIterator is returned from FilterEtherDeposited and is used to iterate over the raw logs and unpacked data for EtherDeposited events raised by the StakingPool contract.
func (*StakingPoolEtherDepositedIterator) Close ¶
func (it *StakingPoolEtherDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPoolEtherDepositedIterator) Error ¶
func (it *StakingPoolEtherDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPoolEtherDepositedIterator) Next ¶
func (it *StakingPoolEtherDepositedIterator) 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 StakingPoolEtherRefunded ¶
type StakingPoolEtherRefunded struct { Node common.Address StakingPool common.Address Amount *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingPoolEtherRefunded represents a EtherRefunded event raised by the StakingPool contract.
type StakingPoolEtherRefundedIterator ¶
type StakingPoolEtherRefundedIterator struct { Event *StakingPoolEtherRefunded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingPoolEtherRefundedIterator is returned from FilterEtherRefunded and is used to iterate over the raw logs and unpacked data for EtherRefunded events raised by the StakingPool contract.
func (*StakingPoolEtherRefundedIterator) Close ¶
func (it *StakingPoolEtherRefundedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPoolEtherRefundedIterator) Error ¶
func (it *StakingPoolEtherRefundedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPoolEtherRefundedIterator) Next ¶
func (it *StakingPoolEtherRefundedIterator) 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 StakingPoolEtherWithdrawn ¶
type StakingPoolEtherWithdrawn struct { To common.Address Amount *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingPoolEtherWithdrawn represents a EtherWithdrawn event raised by the StakingPool contract.
type StakingPoolEtherWithdrawnIterator ¶
type StakingPoolEtherWithdrawnIterator struct { Event *StakingPoolEtherWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingPoolEtherWithdrawnIterator is returned from FilterEtherWithdrawn and is used to iterate over the raw logs and unpacked data for EtherWithdrawn events raised by the StakingPool contract.
func (*StakingPoolEtherWithdrawnIterator) Close ¶
func (it *StakingPoolEtherWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPoolEtherWithdrawnIterator) Error ¶
func (it *StakingPoolEtherWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPoolEtherWithdrawnIterator) Next ¶
func (it *StakingPoolEtherWithdrawnIterator) 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 StakingPoolFilterer ¶
type StakingPoolFilterer struct {
// contains filtered or unexported fields
}
StakingPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakingPoolFilterer ¶
func NewStakingPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingPoolFilterer, error)
NewStakingPoolFilterer creates a new log filterer instance of StakingPool, bound to a specific deployed contract.
func (*StakingPoolFilterer) FilterEtherDeposited ¶
func (_StakingPool *StakingPoolFilterer) FilterEtherDeposited(opts *bind.FilterOpts, from []common.Address) (*StakingPoolEtherDepositedIterator, error)
FilterEtherDeposited is a free log retrieval operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.
Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)
func (*StakingPoolFilterer) FilterEtherRefunded ¶
func (_StakingPool *StakingPoolFilterer) FilterEtherRefunded(opts *bind.FilterOpts, node []common.Address, stakingPool []common.Address) (*StakingPoolEtherRefundedIterator, error)
FilterEtherRefunded is a free log retrieval operation binding the contract event 0x37f8368ca39a6817f494e987de3f73f1ac827f067858005fb2ba18553cfce131.
Solidity: event EtherRefunded(address indexed node, address indexed stakingPool, uint256 amount, uint256 time)
func (*StakingPoolFilterer) FilterEtherWithdrawn ¶
func (_StakingPool *StakingPoolFilterer) FilterEtherWithdrawn(opts *bind.FilterOpts, to []common.Address) (*StakingPoolEtherWithdrawnIterator, error)
FilterEtherWithdrawn is a free log retrieval operation binding the contract event 0xd5ca65e1ec4f4864fea7b9c5cb1ec3087a0dbf9c74641db3f6458edf445c4051.
Solidity: event EtherWithdrawn(address indexed to, uint256 amount, uint256 time)
func (*StakingPoolFilterer) FilterStatusUpdated ¶
func (_StakingPool *StakingPoolFilterer) FilterStatusUpdated(opts *bind.FilterOpts, status []uint8) (*StakingPoolStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x26725881c2a4290b02cd153d6599fd484f0d4e6062c361e740fbbe39e7ad6142.
Solidity: event StatusUpdated(uint8 indexed status, uint256 time)
func (*StakingPoolFilterer) FilterVoteWithdrawalCredentials ¶
func (_StakingPool *StakingPoolFilterer) FilterVoteWithdrawalCredentials(opts *bind.FilterOpts) (*StakingPoolVoteWithdrawalCredentialsIterator, error)
FilterVoteWithdrawalCredentials is a free log retrieval operation binding the contract event 0x118af34d618a4d6a9adce426fa0ed61372df160a403849e7e642d93f9e8f22b9.
Solidity: event VoteWithdrawalCredentials(address node)
func (*StakingPoolFilterer) ParseEtherDeposited ¶
func (_StakingPool *StakingPoolFilterer) ParseEtherDeposited(log types.Log) (*StakingPoolEtherDeposited, error)
ParseEtherDeposited is a log parse operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.
Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)
func (*StakingPoolFilterer) ParseEtherRefunded ¶
func (_StakingPool *StakingPoolFilterer) ParseEtherRefunded(log types.Log) (*StakingPoolEtherRefunded, error)
ParseEtherRefunded is a log parse operation binding the contract event 0x37f8368ca39a6817f494e987de3f73f1ac827f067858005fb2ba18553cfce131.
Solidity: event EtherRefunded(address indexed node, address indexed stakingPool, uint256 amount, uint256 time)
func (*StakingPoolFilterer) ParseEtherWithdrawn ¶
func (_StakingPool *StakingPoolFilterer) ParseEtherWithdrawn(log types.Log) (*StakingPoolEtherWithdrawn, error)
ParseEtherWithdrawn is a log parse operation binding the contract event 0xd5ca65e1ec4f4864fea7b9c5cb1ec3087a0dbf9c74641db3f6458edf445c4051.
Solidity: event EtherWithdrawn(address indexed to, uint256 amount, uint256 time)
func (*StakingPoolFilterer) ParseStatusUpdated ¶
func (_StakingPool *StakingPoolFilterer) ParseStatusUpdated(log types.Log) (*StakingPoolStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x26725881c2a4290b02cd153d6599fd484f0d4e6062c361e740fbbe39e7ad6142.
Solidity: event StatusUpdated(uint8 indexed status, uint256 time)
func (*StakingPoolFilterer) ParseVoteWithdrawalCredentials ¶
func (_StakingPool *StakingPoolFilterer) ParseVoteWithdrawalCredentials(log types.Log) (*StakingPoolVoteWithdrawalCredentials, error)
ParseVoteWithdrawalCredentials is a log parse operation binding the contract event 0x118af34d618a4d6a9adce426fa0ed61372df160a403849e7e642d93f9e8f22b9.
Solidity: event VoteWithdrawalCredentials(address node)
func (*StakingPoolFilterer) WatchEtherDeposited ¶
func (_StakingPool *StakingPoolFilterer) WatchEtherDeposited(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherDeposited, from []common.Address) (event.Subscription, error)
WatchEtherDeposited is a free log subscription operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.
Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)
func (*StakingPoolFilterer) WatchEtherRefunded ¶
func (_StakingPool *StakingPoolFilterer) WatchEtherRefunded(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherRefunded, node []common.Address, stakingPool []common.Address) (event.Subscription, error)
WatchEtherRefunded is a free log subscription operation binding the contract event 0x37f8368ca39a6817f494e987de3f73f1ac827f067858005fb2ba18553cfce131.
Solidity: event EtherRefunded(address indexed node, address indexed stakingPool, uint256 amount, uint256 time)
func (*StakingPoolFilterer) WatchEtherWithdrawn ¶
func (_StakingPool *StakingPoolFilterer) WatchEtherWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingPoolEtherWithdrawn, to []common.Address) (event.Subscription, error)
WatchEtherWithdrawn is a free log subscription operation binding the contract event 0xd5ca65e1ec4f4864fea7b9c5cb1ec3087a0dbf9c74641db3f6458edf445c4051.
Solidity: event EtherWithdrawn(address indexed to, uint256 amount, uint256 time)
func (*StakingPoolFilterer) WatchStatusUpdated ¶
func (_StakingPool *StakingPoolFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *StakingPoolStatusUpdated, status []uint8) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x26725881c2a4290b02cd153d6599fd484f0d4e6062c361e740fbbe39e7ad6142.
Solidity: event StatusUpdated(uint8 indexed status, uint256 time)
func (*StakingPoolFilterer) WatchVoteWithdrawalCredentials ¶
func (_StakingPool *StakingPoolFilterer) WatchVoteWithdrawalCredentials(opts *bind.WatchOpts, sink chan<- *StakingPoolVoteWithdrawalCredentials) (event.Subscription, error)
WatchVoteWithdrawalCredentials is a free log subscription operation binding the contract event 0x118af34d618a4d6a9adce426fa0ed61372df160a403849e7e642d93f9e8f22b9.
Solidity: event VoteWithdrawalCredentials(address node)
type StakingPoolRaw ¶
type StakingPoolRaw struct {
Contract *StakingPool // Generic contract binding to access the raw methods on
}
StakingPoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakingPoolRaw) Call ¶
func (_StakingPool *StakingPoolRaw) 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 (*StakingPoolRaw) Transact ¶
func (_StakingPool *StakingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingPoolRaw) Transfer ¶
func (_StakingPool *StakingPoolRaw) 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 StakingPoolSession ¶
type StakingPoolSession struct { Contract *StakingPool // 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 }
StakingPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakingPoolSession) Close ¶
func (_StakingPool *StakingPoolSession) Close() (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*StakingPoolSession) Dissolve ¶
func (_StakingPool *StakingPoolSession) Dissolve() (*types.Transaction, error)
Dissolve is a paid mutator transaction binding the contract method 0x3bef8a3a.
Solidity: function dissolve() returns()
func (*StakingPoolSession) GetDepositType ¶
func (_StakingPool *StakingPoolSession) GetDepositType() (uint8, error)
GetDepositType is a free data retrieval call binding the contract method 0x5abd37e4.
Solidity: function getDepositType() view returns(uint8)
func (*StakingPoolSession) GetNodeAddress ¶
func (_StakingPool *StakingPoolSession) GetNodeAddress() (common.Address, error)
GetNodeAddress is a free data retrieval call binding the contract method 0x70dabc9e.
Solidity: function getNodeAddress() view returns(address)
func (*StakingPoolSession) GetNodeCommonlyRefunded ¶
func (_StakingPool *StakingPoolSession) GetNodeCommonlyRefunded() (bool, error)
GetNodeCommonlyRefunded is a free data retrieval call binding the contract method 0xa0a8440f.
Solidity: function getNodeCommonlyRefunded() view returns(bool)
func (*StakingPoolSession) GetNodeDepositAssigned ¶
func (_StakingPool *StakingPoolSession) GetNodeDepositAssigned() (bool, error)
GetNodeDepositAssigned is a free data retrieval call binding the contract method 0x69c089ea.
Solidity: function getNodeDepositAssigned() view returns(bool)
func (*StakingPoolSession) GetNodeDepositBalance ¶
func (_StakingPool *StakingPoolSession) GetNodeDepositBalance() (*big.Int, error)
GetNodeDepositBalance is a free data retrieval call binding the contract method 0x74ca6bf2.
Solidity: function getNodeDepositBalance() view returns(uint256)
func (*StakingPoolSession) GetNodeFee ¶
func (_StakingPool *StakingPoolSession) GetNodeFee() (*big.Int, error)
GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.
Solidity: function getNodeFee() view returns(uint256)
func (*StakingPoolSession) GetNodeRefundBalance ¶
func (_StakingPool *StakingPoolSession) GetNodeRefundBalance() (*big.Int, error)
GetNodeRefundBalance is a free data retrieval call binding the contract method 0xfbc02c42.
Solidity: function getNodeRefundBalance() view returns(uint256)
func (*StakingPoolSession) GetNodeTrustedRefunded ¶
func (_StakingPool *StakingPoolSession) GetNodeTrustedRefunded() (bool, error)
GetNodeTrustedRefunded is a free data retrieval call binding the contract method 0x542bac20.
Solidity: function getNodeTrustedRefunded() view returns(bool)
func (*StakingPoolSession) GetPlatformDepositBalance ¶
func (_StakingPool *StakingPoolSession) GetPlatformDepositBalance() (*big.Int, error)
GetPlatformDepositBalance is a free data retrieval call binding the contract method 0xdd58cc23.
Solidity: function getPlatformDepositBalance() view returns(uint256)
func (*StakingPoolSession) GetStatus ¶
func (_StakingPool *StakingPoolSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*StakingPoolSession) GetStatusBlock ¶
func (_StakingPool *StakingPoolSession) GetStatusBlock() (*big.Int, error)
GetStatusBlock is a free data retrieval call binding the contract method 0xe67cd5b0.
Solidity: function getStatusBlock() view returns(uint256)
func (*StakingPoolSession) GetStatusTime ¶
func (_StakingPool *StakingPoolSession) GetStatusTime() (*big.Int, error)
GetStatusTime is a free data retrieval call binding the contract method 0x3e0a56b0.
Solidity: function getStatusTime() view returns(uint256)
func (*StakingPoolSession) GetUserDepositAssigned ¶
func (_StakingPool *StakingPoolSession) GetUserDepositAssigned() (bool, error)
GetUserDepositAssigned is a free data retrieval call binding the contract method 0xd91eda62.
Solidity: function getUserDepositAssigned() view returns(bool)
func (*StakingPoolSession) GetUserDepositAssignedTime ¶
func (_StakingPool *StakingPoolSession) GetUserDepositAssignedTime() (*big.Int, error)
GetUserDepositAssignedTime is a free data retrieval call binding the contract method 0xa2940a90.
Solidity: function getUserDepositAssignedTime() view returns(uint256)
func (*StakingPoolSession) GetUserDepositBalance ¶
func (_StakingPool *StakingPoolSession) GetUserDepositBalance() (*big.Int, error)
GetUserDepositBalance is a free data retrieval call binding the contract method 0xe7e04aba.
Solidity: function getUserDepositBalance() view returns(uint256)
func (*StakingPoolSession) GetWithdrawalCredentialsMatch ¶
func (_StakingPool *StakingPoolSession) GetWithdrawalCredentialsMatch() (bool, error)
GetWithdrawalCredentialsMatch is a free data retrieval call binding the contract method 0x05dab351.
Solidity: function getWithdrawalCredentialsMatch() view returns(bool)
func (*StakingPoolSession) Initialise ¶
func (_StakingPool *StakingPoolSession) Initialise(_nodeAddress common.Address, _depositType uint8) (*types.Transaction, error)
Initialise is a paid mutator transaction binding the contract method 0xdd0ddfcf.
Solidity: function initialise(address _nodeAddress, uint8 _depositType) returns()
func (*StakingPoolSession) NodeDeposit ¶
func (_StakingPool *StakingPoolSession) NodeDeposit(_validatorPubkey []byte, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
NodeDeposit is a paid mutator transaction binding the contract method 0x7476a6c3.
Solidity: function nodeDeposit(bytes _validatorPubkey, bytes _validatorSignature, bytes32 _depositDataRoot) payable returns()
func (*StakingPoolSession) Refund ¶
func (_StakingPool *StakingPoolSession) Refund() (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x590e1ae3.
Solidity: function refund() returns()
func (*StakingPoolSession) Stake ¶
func (_StakingPool *StakingPoolSession) Stake(_validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xf7ae36d1.
Solidity: function stake(bytes _validatorSignature, bytes32 _depositDataRoot) returns()
func (*StakingPoolSession) UserDeposit ¶
func (_StakingPool *StakingPoolSession) UserDeposit() (*types.Transaction, error)
UserDeposit is a paid mutator transaction binding the contract method 0x48146113.
Solidity: function userDeposit() payable returns()
func (*StakingPoolSession) VoteWithdrawCredentials ¶
func (_StakingPool *StakingPoolSession) VoteWithdrawCredentials() (*types.Transaction, error)
VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x6e63103f.
Solidity: function voteWithdrawCredentials() returns()
type StakingPoolStatusUpdated ¶
type StakingPoolStatusUpdated struct { Status uint8 Time *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingPoolStatusUpdated represents a StatusUpdated event raised by the StakingPool contract.
type StakingPoolStatusUpdatedIterator ¶
type StakingPoolStatusUpdatedIterator struct { Event *StakingPoolStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingPoolStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the StakingPool contract.
func (*StakingPoolStatusUpdatedIterator) Close ¶
func (it *StakingPoolStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPoolStatusUpdatedIterator) Error ¶
func (it *StakingPoolStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPoolStatusUpdatedIterator) Next ¶
func (it *StakingPoolStatusUpdatedIterator) 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 StakingPoolTransactor ¶
type StakingPoolTransactor struct {
// contains filtered or unexported fields
}
StakingPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakingPoolTransactor ¶
func NewStakingPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingPoolTransactor, error)
NewStakingPoolTransactor creates a new write-only instance of StakingPool, bound to a specific deployed contract.
func (*StakingPoolTransactor) Close ¶
func (_StakingPool *StakingPoolTransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*StakingPoolTransactor) Dissolve ¶
func (_StakingPool *StakingPoolTransactor) Dissolve(opts *bind.TransactOpts) (*types.Transaction, error)
Dissolve is a paid mutator transaction binding the contract method 0x3bef8a3a.
Solidity: function dissolve() returns()
func (*StakingPoolTransactor) Initialise ¶
func (_StakingPool *StakingPoolTransactor) Initialise(opts *bind.TransactOpts, _nodeAddress common.Address, _depositType uint8) (*types.Transaction, error)
Initialise is a paid mutator transaction binding the contract method 0xdd0ddfcf.
Solidity: function initialise(address _nodeAddress, uint8 _depositType) returns()
func (*StakingPoolTransactor) NodeDeposit ¶
func (_StakingPool *StakingPoolTransactor) NodeDeposit(opts *bind.TransactOpts, _validatorPubkey []byte, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
NodeDeposit is a paid mutator transaction binding the contract method 0x7476a6c3.
Solidity: function nodeDeposit(bytes _validatorPubkey, bytes _validatorSignature, bytes32 _depositDataRoot) payable returns()
func (*StakingPoolTransactor) Refund ¶
func (_StakingPool *StakingPoolTransactor) Refund(opts *bind.TransactOpts) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x590e1ae3.
Solidity: function refund() returns()
func (*StakingPoolTransactor) Stake ¶
func (_StakingPool *StakingPoolTransactor) Stake(opts *bind.TransactOpts, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xf7ae36d1.
Solidity: function stake(bytes _validatorSignature, bytes32 _depositDataRoot) returns()
func (*StakingPoolTransactor) UserDeposit ¶
func (_StakingPool *StakingPoolTransactor) UserDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
UserDeposit is a paid mutator transaction binding the contract method 0x48146113.
Solidity: function userDeposit() payable returns()
func (*StakingPoolTransactor) VoteWithdrawCredentials ¶
func (_StakingPool *StakingPoolTransactor) VoteWithdrawCredentials(opts *bind.TransactOpts) (*types.Transaction, error)
VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x6e63103f.
Solidity: function voteWithdrawCredentials() returns()
type StakingPoolTransactorRaw ¶
type StakingPoolTransactorRaw struct {
Contract *StakingPoolTransactor // Generic write-only contract binding to access the raw methods on
}
StakingPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakingPoolTransactorRaw) Transact ¶
func (_StakingPool *StakingPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingPoolTransactorRaw) Transfer ¶
func (_StakingPool *StakingPoolTransactorRaw) 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 StakingPoolTransactorSession ¶
type StakingPoolTransactorSession struct { Contract *StakingPoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StakingPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakingPoolTransactorSession) Close ¶
func (_StakingPool *StakingPoolTransactorSession) Close() (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*StakingPoolTransactorSession) Dissolve ¶
func (_StakingPool *StakingPoolTransactorSession) Dissolve() (*types.Transaction, error)
Dissolve is a paid mutator transaction binding the contract method 0x3bef8a3a.
Solidity: function dissolve() returns()
func (*StakingPoolTransactorSession) Initialise ¶
func (_StakingPool *StakingPoolTransactorSession) Initialise(_nodeAddress common.Address, _depositType uint8) (*types.Transaction, error)
Initialise is a paid mutator transaction binding the contract method 0xdd0ddfcf.
Solidity: function initialise(address _nodeAddress, uint8 _depositType) returns()
func (*StakingPoolTransactorSession) NodeDeposit ¶
func (_StakingPool *StakingPoolTransactorSession) NodeDeposit(_validatorPubkey []byte, _validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
NodeDeposit is a paid mutator transaction binding the contract method 0x7476a6c3.
Solidity: function nodeDeposit(bytes _validatorPubkey, bytes _validatorSignature, bytes32 _depositDataRoot) payable returns()
func (*StakingPoolTransactorSession) Refund ¶
func (_StakingPool *StakingPoolTransactorSession) Refund() (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x590e1ae3.
Solidity: function refund() returns()
func (*StakingPoolTransactorSession) Stake ¶
func (_StakingPool *StakingPoolTransactorSession) Stake(_validatorSignature []byte, _depositDataRoot [32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xf7ae36d1.
Solidity: function stake(bytes _validatorSignature, bytes32 _depositDataRoot) returns()
func (*StakingPoolTransactorSession) UserDeposit ¶
func (_StakingPool *StakingPoolTransactorSession) UserDeposit() (*types.Transaction, error)
UserDeposit is a paid mutator transaction binding the contract method 0x48146113.
Solidity: function userDeposit() payable returns()
func (*StakingPoolTransactorSession) VoteWithdrawCredentials ¶
func (_StakingPool *StakingPoolTransactorSession) VoteWithdrawCredentials() (*types.Transaction, error)
VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x6e63103f.
Solidity: function voteWithdrawCredentials() returns()
type StakingPoolVoteWithdrawalCredentials ¶
type StakingPoolVoteWithdrawalCredentials struct { Node common.Address Raw types.Log // Blockchain specific contextual infos }
StakingPoolVoteWithdrawalCredentials represents a VoteWithdrawalCredentials event raised by the StakingPool contract.
type StakingPoolVoteWithdrawalCredentialsIterator ¶
type StakingPoolVoteWithdrawalCredentialsIterator struct { Event *StakingPoolVoteWithdrawalCredentials // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingPoolVoteWithdrawalCredentialsIterator is returned from FilterVoteWithdrawalCredentials and is used to iterate over the raw logs and unpacked data for VoteWithdrawalCredentials events raised by the StakingPool contract.
func (*StakingPoolVoteWithdrawalCredentialsIterator) Close ¶
func (it *StakingPoolVoteWithdrawalCredentialsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPoolVoteWithdrawalCredentialsIterator) Error ¶
func (it *StakingPoolVoteWithdrawalCredentialsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPoolVoteWithdrawalCredentialsIterator) Next ¶
func (it *StakingPoolVoteWithdrawalCredentialsIterator) 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.