Skip to content

storage

go
import "github.com/rocket-pool/rocketpool-go/storage"

Index

func ConfirmWithdrawalAddress

go
func ConfirmWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (common.Hash, error)

Set a node's withdrawal address

func EstimateConfirmWithdrawalAddressGas

go
func EstimateConfirmWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of ConfirmWithdrawalAddress

func EstimateSetWithdrawalAddressGas

go
func EstimateSetWithdrawalAddressGas(rp *rocketpool.RocketPool, nodeAddress common.Address, withdrawalAddress common.Address, confirm bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of SetWithdrawalAddress

func GetNodePendingWithdrawalAddress

go
func GetNodePendingWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)

Get a node's pending withdrawal address

func GetNodeWithdrawalAddress

go
func GetNodeWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (common.Address, error)

Get a node's withdrawal address

func SetWithdrawalAddress

go
func SetWithdrawalAddress(rp *rocketpool.RocketPool, nodeAddress common.Address, withdrawalAddress common.Address, confirm bool, opts *bind.TransactOpts) (common.Hash, error)

Set a node's withdrawal address