Documentation ¶
Index ¶
- func GetDeposits(rp *rocketpool.RocketPool, pubkeys map[beacon.ValidatorPubkey]bool, ...) (map[beacon.ValidatorPubkey][]DepositData, error)
- func GetLogs(rp *rocketpool.RocketPool, addressFilter []common.Address, ...) ([]types.Log, error)
- func GetNodeSalt(nodeAddress common.Address, salt *big.Int) common.Hash
- type BeaconDepositEvent
- type DepositData
- type FilterQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeposits ¶
func GetDeposits(rp *rocketpool.RocketPool, pubkeys map[beacon.ValidatorPubkey]bool, startBlock *big.Int, intervalSize *big.Int, opts *bind.CallOpts) (map[beacon.ValidatorPubkey][]DepositData, error)
Gets all of the deposit contract's deposit events for the provided pubkeys
Types ¶
type BeaconDepositEvent ¶
type BeaconDepositEvent struct { Pubkey []byte `abi:"pubkey"` WithdrawalCredentials []byte `abi:"withdrawal_credentials"` Amount []byte `abi:"amount"` Signature []byte `abi:"signature"` Index []byte `abi:"index"` Raw types.Log // Blockchain specific contextual infos }
BeaconDepositEvent represents a DepositEvent event raised by the BeaconDeposit contract.
type DepositData ¶
type DepositData struct { Pubkey beacon.ValidatorPubkey `json:"pubkey"` WithdrawalCredentials common.Hash `json:"withdrawalCredentials"` Amount uint64 `json:"amount"` Signature beacon.ValidatorSignature `json:"signature"` TxHash common.Hash `json:"txHash"` BlockNumber uint64 `json:"blockNumber"` TxIndex uint `json:"txIndex"` }
Formatted Beacon deposit event data
Click to show internal directories.
Click to hide internal directories.