Documentation ¶
Index ¶
- Constants
- func GetActiveMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (uint64, error)
- func GetFinalisedMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (uint64, 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 GetMinipoolBytecode(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) ([]byte, error)
- func GetMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (uint64, error)
- func GetMinipoolExists(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, ...) (bool, error)
- func GetMinipoolPubkey(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, ...) (rptypes.ValidatorPubkey, 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 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)
- type MinipoolCountsPerStatus
- type MinipoolDetails
- 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)
Constants ¶
const ( MinipoolPrelaunchBatchSize = 250 MinipoolAddressBatchSize = 50 MinipoolDetailsBatchSize = 20 )
Settings
Variables ¶
This section is empty.
Functions ¶
func GetActiveMinipoolCount ¶
func GetActiveMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get the number of active minipools in the network
func GetFinalisedMinipoolCount ¶
func GetFinalisedMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get the number of finalised minipools in the network
func GetMinipoolAddresses ¶
func GetMinipoolAddresses(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]common.Address, error)
Get all minipool addresses
func GetMinipoolAt ¶
func GetMinipoolAt(rp *rocketpool.RocketPool, index uint64, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (common.Address, error)
Get a minipool address by index
func GetMinipoolByPubkey ¶
func GetMinipoolByPubkey(rp *rocketpool.RocketPool, pubkey rptypes.ValidatorPubkey, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (common.Address, error)
Get a minipool address by validator pubkey
func GetMinipoolBytecode ¶
func GetMinipoolBytecode(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]byte, error)
Get the CreationCode binary for the RocketMinipool contract that will be created by node deposits
func GetMinipoolCount ¶
func GetMinipoolCount(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get the minipool count
func GetMinipoolExists ¶
func GetMinipoolExists(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (bool, error)
Check whether a minipool exists
func GetMinipoolPubkey ¶
func GetMinipoolPubkey(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (rptypes.ValidatorPubkey, error)
Get a minipool's validator pubkey
func GetMinipoolWithdrawalCredentials ¶
func GetMinipoolWithdrawalCredentials(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (common.Hash, error)
Get the 0x01-based Beacon Chain withdrawal credentials for a given minipool
func GetNodeActiveMinipoolCount ¶
func GetNodeActiveMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get the number of minipools owned by a node that are not finalised
func GetNodeFinalisedMinipoolCount ¶
func GetNodeFinalisedMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get the number of minipools owned by a node that are finalised
func GetNodeMinipoolAddresses ¶
func GetNodeMinipoolAddresses(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]common.Address, error)
Get a node's minipool addresses
func GetNodeMinipoolAt ¶
func GetNodeMinipoolAt(rp *rocketpool.RocketPool, nodeAddress common.Address, index uint64, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (common.Address, error)
Get a node's minipool address by index
func GetNodeMinipoolCount ¶
func GetNodeMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get a node's minipool count
func GetNodeValidatingMinipoolAt ¶
func GetNodeValidatingMinipoolAt(rp *rocketpool.RocketPool, nodeAddress common.Address, index uint64, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (common.Address, error)
Get a node's validating minipool address by index
func GetNodeValidatingMinipoolCount ¶
func GetNodeValidatingMinipoolCount(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (uint64, error)
Get a node's validating minipool count
func GetNodeValidatingMinipoolPubkeys ¶
func GetNodeValidatingMinipoolPubkeys(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]rptypes.ValidatorPubkey, error)
Get a node's validating minipool pubkeys
func GetPrelaunchMinipoolAddresses ¶
func GetPrelaunchMinipoolAddresses(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]common.Address, error)
Get the addresses of all minipools in prelaunch status
Types ¶
type MinipoolCountsPerStatus ¶
type MinipoolCountsPerStatus struct { Initialized *big.Int `abi:"initialisedCount"` Prelaunch *big.Int `abi:"prelaunchCount"` Staking *big.Int `abi:"stakingCount"` Withdrawable *big.Int `abi:"withdrawableCount"` Dissolved *big.Int `abi:"dissolvedCount"` }
The counts of minipools per status
func GetMinipoolCountPerStatus ¶
func GetMinipoolCountPerStatus(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (MinipoolCountsPerStatus, error)
Get the minipool count by status
type MinipoolDetails ¶
type MinipoolDetails struct { Address common.Address `json:"address"` Exists bool `json:"exists"` Pubkey rptypes.ValidatorPubkey `json:"pubkey"` }
Minipool details
func GetMinipoolDetails ¶
func GetMinipoolDetails(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) (MinipoolDetails, error)
Get a minipool's details
func GetMinipools ¶
func GetMinipools(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]MinipoolDetails, error)
Get all minipool details
func GetNodeMinipools ¶
func GetNodeMinipools(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts, legacyRocketMinipoolManagerAddress *common.Address) ([]MinipoolDetails, error)
Get a node's minipool details