Documentation ¶
Index ¶
- func EstimateSubmitBalancesGas(rp *rocketpool.RocketPool, block uint64, ...) (rocketpool.GasInfo, error)
- func EstimateSubmitPenaltyGas(rp *rocketpool.RocketPool, minipoolAddress common.Address, block *big.Int, ...) (rocketpool.GasInfo, error)
- func EstimateSubmitPricesGas(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, ...) (rocketpool.GasInfo, error)
- func GetBalancesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetBalancesBlockRaw(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetETHUtilizationRate(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
- func GetLatestReportableBalancesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetLatestReportablePricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetNodeDemand(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetNodeFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
- func GetNodeFeeByDemand(rp *rocketpool.RocketPool, nodeDemand *big.Int, opts *bind.CallOpts) (float64, error)
- func GetPricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetRPLPrice(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetStakingETHBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalETHBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalRETHSupply(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func SubmitBalances(rp *rocketpool.RocketPool, block uint64, ...) (common.Hash, error)
- func SubmitPenalty(rp *rocketpool.RocketPool, minipoolAddress common.Address, block *big.Int, ...) (common.Hash, error)
- func SubmitPrices(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, ...) (common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateSubmitBalancesGas ¶
func EstimateSubmitBalancesGas(rp *rocketpool.RocketPool, block uint64, totalEth, stakingEth, rethSupply *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of SubmitBalances
func EstimateSubmitPenaltyGas ¶ added in v1.3.0
func EstimateSubmitPenaltyGas(rp *rocketpool.RocketPool, minipoolAddress common.Address, block *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of SubmitPenalty
func EstimateSubmitPricesGas ¶
func EstimateSubmitPricesGas(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
Estimate the gas of SubmitPrices
func GetBalancesBlock ¶
func GetBalancesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
Get the block number which network balances are current for
func GetBalancesBlockRaw ¶ added in v1.5.0
func GetBalancesBlockRaw(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the block number which network balances are current for
func GetETHUtilizationRate ¶
func GetETHUtilizationRate(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
Get the current network ETH utilization rate
func GetLatestReportableBalancesBlock ¶
func GetLatestReportableBalancesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Returns the latest block number that oracles should be reporting balances for
func GetLatestReportablePricesBlock ¶
func GetLatestReportablePricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Returns the latest block number that oracles should be reporting prices for
func GetNodeDemand ¶
func GetNodeDemand(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the current network node demand in ETH
func GetNodeFee ¶
func GetNodeFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
Get the current network node commission rate
func GetNodeFeeByDemand ¶
func GetNodeFeeByDemand(rp *rocketpool.RocketPool, nodeDemand *big.Int, opts *bind.CallOpts) (float64, error)
Get the network node fee for a node demand value
func GetPricesBlock ¶
func GetPricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
Get the block number which network prices are current for
func GetRPLPrice ¶
func GetRPLPrice(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the current network RPL price in ETH
func GetStakingETHBalance ¶
func GetStakingETHBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the current network staking ETH balance
func GetTotalETHBalance ¶
func GetTotalETHBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the current network total ETH balance
func GetTotalRETHSupply ¶
func GetTotalRETHSupply(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
Get the current network total rETH supply
func SubmitBalances ¶
func SubmitBalances(rp *rocketpool.RocketPool, block uint64, totalEth, stakingEth, rethSupply *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Submit network balances for an epoch
func SubmitPenalty ¶ added in v1.3.0
func SubmitPenalty(rp *rocketpool.RocketPool, minipoolAddress common.Address, block *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Submit penalty for given minipool
func SubmitPrices ¶
func SubmitPrices(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Submit network prices and total effective RPL stake for an epoch
Types ¶
This section is empty.