deposit

package
v1.18.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: GPL-3.0, GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL