Documentation ¶
Index ¶
- Variables
- func ConfirmWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (common.Hash, error)
- func EstimateConfirmWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateSetWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, ...) (rocketpool.GasInfo, error)
- func GetAddressQueueIndexOf(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte, ...) (int64, error)
- func GetAddressQueueItem(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte, index *big.Int) (common.Address, error)
- func GetAddressQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte) (uint64, error)
- func GetNodePendingWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)
- func GetNodeWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)
- func SetWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, ...) (common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AddressQueueStorageLock sync.Mutex
Get contracts
Functions ¶
func ConfirmWithdrawalAddress ¶
func ConfirmWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (common.Hash, error)
Set a node's withdrawal address
func EstimateConfirmWithdrawalAddressGas ¶
func EstimateConfirmWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of ConfirmWithdrawalAddress
func EstimateSetWithdrawalAddressGas ¶
func EstimateSetWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, withdrawalAddress common.Address, confirm bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of SetWithdrawalAddress
func GetAddressQueueIndexOf ¶ added in v1.3.4
func GetAddressQueueIndexOf(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte, address common.Address) (int64, error)
Return index of the input address for the given key. -1 if not present.
func GetAddressQueueItem ¶ added in v1.3.4
func GetAddressQueueItem(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte, index *big.Int) (common.Address, error)
Return address item at index for the given key
func GetAddressQueueLength ¶ added in v1.3.4
func GetAddressQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts, key [32]byte) (uint64, error)
Return the length of all addresses matching the given key in the queue
func GetNodePendingWithdrawalAddress ¶
func GetNodePendingWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)
Get a node's pending withdrawal address
func GetNodeWithdrawalAddress ¶
func GetNodeWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)
Get a node's withdrawal address
func SetWithdrawalAddress ¶
func SetWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, withdrawalAddress common.Address, confirm bool, opts *bind.TransactOpts) (common.Hash, error)
Set a node's withdrawal address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.