Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollateralAmounts ¶
type CollateralAmounts struct { EthMatched *big.Int EthMatchedLimit *big.Int PendingMatchAmount *big.Int }
func CheckCollateral ¶
func CheckCollateral(rp *rocketpool.RocketPool, nodeAddress common.Address, opts *bind.CallOpts) (*CollateralAmounts, error)
Checks the given node's current matched ETH, its limit on matched ETH, and how much ETH is preparing to be matched by pending bond reductions
func CheckCollateralWithMinipoolCache ¶
func CheckCollateralWithMinipoolCache(rp *rocketpool.RocketPool, nodeAddress common.Address, minipools []minipool.IMinipool, opts *bind.CallOpts) (*CollateralAmounts, error)
Checks the given node's current matched ETH, its limit on matched ETH, and how much ETH is preparing to be matched by pending bond reductions
Click to show internal directories.
Click to hide internal directories.