Versions in this module Expand all Collapse all v0 v0.6.5 Aug 18, 2023 Changes in this version + const EventScanInterval + const MinipoolAddressBatchSize + const MinipoolDetailsBatchSize + const MinipoolPrelaunchBatchSize + const NativeMinipoolDetailsBatchSize + func BeginReduceBondAmount(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (common.Hash, error) + func EstimateBeginReduceBondAmountGas(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (rocketpool.GasInfo, error) + func EstimateSubmitMinipoolWithdrawableGas(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (rocketpool.GasInfo, error) + func EstimateVoteCancelReductionGas(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (rocketpool.GasInfo, error) + func GetActiveMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func GetExpectedAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, salt *big.Int, ...) (common.Address, error) + func GetFinalisedMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func GetLastBondReductionPrevNodeFee(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (*big.Int, error) + func GetLastBondReductionPrevValue(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (*big.Int, error) + func GetLastBondReductionTime(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (time.Time, error) + func GetMinipoolAddresses(rp *rocketpool.RocketPool, opts *bind.CallOpts) ([]common.Address, error) + func GetMinipoolAt(rp *rocketpool.RocketPool, index uint64, opts *bind.CallOpts) (common.Address, error) + func GetMinipoolByPubkey(rp *rocketpool.RocketPool, pubkey rptypes.ValidatorPubkey, opts *bind.CallOpts) (common.Address, error) + func GetMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func GetMinipoolDepositType(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (types.MinipoolDeposit, error) + func GetMinipoolExists(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (bool, error) + func GetMinipoolPenaltyCount(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (uint64, error) + func GetMinipoolPubkey(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (rptypes.ValidatorPubkey, error) + func GetMinipoolRPLSlashed(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (bool, error) + func GetMinipoolWithdrawalCredentials(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (common.Hash, error) + func GetNodeActiveMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (uint64, error) + func GetNodeFinalisedMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (uint64, error) + func GetNodeMinipoolAddresses(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) ([]common.Address, error) + func GetNodeMinipoolAt(rp *rocketpool.RocketPool, nodeAddress common.Address, index uint64, ...) (common.Address, error) + func GetNodeMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (uint64, error) + func GetNodeMinipoolCountRaw(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (*big.Int, error) + func GetNodeValidatingMinipoolAt(rp *rocketpool.RocketPool, nodeAddress common.Address, index uint64, ...) (common.Address, error) + func GetNodeValidatingMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (uint64, error) + func GetNodeValidatingMinipoolPubkeys(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) ([]rptypes.ValidatorPubkey, error) + func GetPrelaunchMinipoolAddresses(rp *rocketpool.RocketPool, opts *bind.CallOpts) ([]common.Address, error) + func GetQueueEffectiveCapacity(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error) + func GetQueueMinipoolAtPosition(rp *rocketpool.RocketPool, position uint64, opts *bind.CallOpts) (common.Address, error) + func GetQueuePositionOfMinipool(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (int64, error) + func GetQueueTotalCapacity(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error) + func GetQueueTotalLength(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func GetReduceBondCancelled(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (bool, error) + func GetReduceBondTime(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (time.Time, error) + func GetReduceBondValue(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (*big.Int, error) + func GetStakingMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func GetVacantMinipoolAt(rp *rocketpool.RocketPool, index uint64, opts *bind.CallOpts) (common.Address, error) + func GetVacantMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error) + func SubmitMinipoolWithdrawable(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (common.Hash, error) + func VoteCancelReduction(rp *rocketpool.RocketPool, minipoolAddress common.Address, ...) (common.Hash, error) + type Minipool interface + CalculateNodeShare func(balance *big.Int, opts *bind.CallOpts) (*big.Int, error) + CalculateUserShare func(balance *big.Int, opts *bind.CallOpts) (*big.Int, error) + Close func(opts *bind.TransactOpts) (common.Hash, error) + DelegateRollback func(opts *bind.TransactOpts) (common.Hash, error) + DelegateUpgrade func(opts *bind.TransactOpts) (common.Hash, error) + Dissolve func(opts *bind.TransactOpts) (common.Hash, error) + EstimateCloseGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateDelegateRollbackGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateDelegateUpgradeGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateDissolveGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateFinaliseGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateRefundGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateSetUseLatestDelegateGas func(setting bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateStakeGas func(validatorSignature rptypes.ValidatorSignature, depositDataRoot common.Hash, ...) (rocketpool.GasInfo, error) + EstimateVoteScrubGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + Finalise func(opts *bind.TransactOpts) (common.Hash, error) + GetAddress func() common.Address + GetContract func() *rocketpool.Contract + GetDelegate func(opts *bind.CallOpts) (common.Address, error) + GetDepositType func(opts *bind.CallOpts) (rptypes.MinipoolDeposit, error) + GetEffectiveDelegate func(opts *bind.CallOpts) (common.Address, error) + GetFinalised func(opts *bind.CallOpts) (bool, error) + GetNodeAddress func(opts *bind.CallOpts) (common.Address, error) + GetNodeDepositAssigned func(opts *bind.CallOpts) (bool, error) + GetNodeDepositBalance func(opts *bind.CallOpts) (*big.Int, error) + GetNodeDetails func(opts *bind.CallOpts) (NodeDetails, error) + GetNodeFee func(opts *bind.CallOpts) (float64, error) + GetNodeFeeRaw func(opts *bind.CallOpts) (*big.Int, error) + GetNodeRefundBalance func(opts *bind.CallOpts) (*big.Int, error) + GetPrestakeEvent func(intervalSize *big.Int, opts *bind.CallOpts) (PrestakeData, error) + GetPreviousDelegate func(opts *bind.CallOpts) (common.Address, error) + GetStatus func(opts *bind.CallOpts) (rptypes.MinipoolStatus, error) + GetStatusBlock func(opts *bind.CallOpts) (uint64, error) + GetStatusDetails func(opts *bind.CallOpts) (StatusDetails, error) + GetStatusTime func(opts *bind.CallOpts) (time.Time, error) + GetUseLatestDelegate func(opts *bind.CallOpts) (bool, error) + GetUserDepositAssigned func(opts *bind.CallOpts) (bool, error) + GetUserDepositAssignedTime func(opts *bind.CallOpts) (time.Time, error) + GetUserDepositBalance func(opts *bind.CallOpts) (*big.Int, error) + GetUserDetails func(opts *bind.CallOpts) (UserDetails, error) + GetVersion func() uint8 + Refund func(opts *bind.TransactOpts) (common.Hash, error) + SetUseLatestDelegate func(setting bool, opts *bind.TransactOpts) (common.Hash, error) + Stake func(validatorSignature rptypes.ValidatorSignature, depositDataRoot common.Hash, ...) (common.Hash, error) + VoteScrub func(opts *bind.TransactOpts) (common.Hash, error) + func NewMinipool(rp *rocketpool.RocketPool, address common.Address, opts *bind.CallOpts) (Minipool, error) + func NewMinipoolFromVersion(rp *rocketpool.RocketPool, address common.Address, version uint8, ...) (Minipool, error) + type MinipoolCountsPerStatus struct + Dissolved *big.Int + Initialized *big.Int + Prelaunch *big.Int + Staking *big.Int + Withdrawable *big.Int + func GetMinipoolCountPerStatus(rp *rocketpool.RocketPool, opts *bind.CallOpts) (MinipoolCountsPerStatus, error) + type MinipoolDetails struct + Address common.Address + Exists bool + Pubkey rptypes.ValidatorPubkey + func GetMinipoolDetails(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (MinipoolDetails, error) + func GetMinipools(rp *rocketpool.RocketPool, opts *bind.CallOpts) ([]MinipoolDetails, error) + func GetNodeMinipools(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) ([]MinipoolDetails, error) + type MinipoolPrestakeEvent struct + Amount *big.Int + DepositDataRoot [32]byte + Pubkey []byte + Signature []byte + Time *big.Int + WithdrawalCredentials []byte + type MinipoolV2 interface + DistributeBalance func(opts *bind.TransactOpts) (common.Hash, error) + DistributeBalanceAndFinalise func(opts *bind.TransactOpts) (common.Hash, error) + EstimateDistributeBalanceAndFinaliseGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateDistributeBalanceGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + func GetMinipoolAsV2(mp Minipool) (MinipoolV2, bool) + type MinipoolV3 interface + DistributeBalance func(rewardsOnly bool, opts *bind.TransactOpts) (common.Hash, error) + EstimateDistributeBalanceGas func(rewardsOnly bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimatePromoteGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + EstimateReduceBondAmountGas func(opts *bind.TransactOpts) (rocketpool.GasInfo, error) + GetPreMigrationBalance func(opts *bind.CallOpts) (*big.Int, error) + GetUserDistributed func(opts *bind.CallOpts) (bool, error) + Promote func(opts *bind.TransactOpts) (common.Hash, error) + ReduceBondAmount func(opts *bind.TransactOpts) (common.Hash, error) + func GetMinipoolAsV3(mp Minipool) (MinipoolV3, bool) + type NodeDetails struct + Address common.Address + DepositAssigned bool + DepositBalance *big.Int + Fee float64 + RefundBalance *big.Int + type PrestakeData struct + Amount *big.Int + DepositDataRoot common.Hash + Pubkey rptypes.ValidatorPubkey + Signature rptypes.ValidatorSignature + Time time.Time + WithdrawalCredentials common.Hash + type QueueCapacity struct + Effective *big.Int + Total *big.Int + func GetQueueCapacity(rp *rocketpool.RocketPool, opts *bind.CallOpts) (QueueCapacity, error) + type QueueDetails struct + Position int64 + func GetQueueDetails(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts) (QueueDetails, error) + type StatusDetails struct + IsVacant bool + Status rptypes.MinipoolStatus + StatusBlock uint64 + StatusTime time.Time + type UserDetails struct + DepositAssigned bool + DepositAssignedTime time.Time + DepositBalance *big.Int