Documentation
¶
Index ¶
- func AssignDeposits(rp *rocketpool.RocketPool, max *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func Deposit(rp *rocketpool.RocketPool, opts *bind.TransactOpts) (common.Hash, error)
- func EstimateAssignDepositsGas(rp *rocketpool.RocketPool, max *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateDepositGas(rp *rocketpool.RocketPool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateExitQueueGas(rp *rocketpool.RocketPool, validatorIndex uint64, expressQueue bool, ...) (rocketpool.GasInfo, error)
- func ExitQueue(rp *rocketpool.RocketPool, validatorIndex uint64, expressQueue bool, ...) (common.Hash, error)
- func GetBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetExcessBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetExpressQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
- func GetRocketDepositPoolVersion(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint8, error)
- func GetStandardQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
- func GetTotalQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
- func GetUserBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- type QueueTop
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignDeposits ¶
func AssignDeposits(rp *rocketpool.RocketPool, max *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Assign deposits
func Deposit ¶
func Deposit(rp *rocketpool.RocketPool, opts *bind.TransactOpts) (common.Hash, error)
Make a deposit
func EstimateAssignDepositsGas ¶
func EstimateAssignDepositsGas(rp *rocketpool.RocketPool, max *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of AssignDeposits
func EstimateDepositGas ¶
func EstimateDepositGas(rp *rocketpool.RocketPool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of Deposit
func EstimateExitQueueGas ¶ added in v1.18.0
func EstimateExitQueueGas(rp *rocketpool.RocketPool, validatorIndex uint64, expressQueue bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas required to exit the validator queue
func ExitQueue ¶ added in v1.18.0
func ExitQueue(rp *rocketpool.RocketPool, validatorIndex uint64, expressQueue bool, opts *bind.TransactOpts) (common.Hash, error)
Exit the validator queue
func GetBalance ¶
func GetBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the deposit pool balance
func GetExcessBalance ¶
func GetExcessBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the excess deposit pool balance
func GetExpressQueueLength ¶ added in v1.18.0
func GetExpressQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
func GetRocketDepositPoolVersion ¶ added in v1.18.0
func GetRocketDepositPoolVersion(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint8, error)
func GetStandardQueueLength ¶ added in v1.18.0
func GetStandardQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
func GetTotalQueueLength ¶ added in v1.18.0
func GetTotalQueueLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint32, error)
func GetUserBalance ¶
func GetUserBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the deposit pool balance
Types ¶
type QueueTop ¶ added in v1.18.0
type QueueTop struct {
Receiver common.Address `abi:"receiver"`
AssignmentPossible bool `abi:"assignmentPossible"`
HeadMovedBlock *big.Int `abi:"headMovedBlock"`
}
Struct to hold queue top (address of the validator at the top of the queue and a boolean indicating if the assignment is possible)
func GetQueueTop ¶ added in v1.18.0
func GetQueueTop(rp *rocketpool.RocketPool, opts *bind.CallOpts) (QueueTop, error)
Click to show internal directories.
Click to hide internal directories.