Documentation ¶
Index ¶
- func EstimateSubmitPricesGas(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, ...) (rocketpool.GasInfo, error)
- func GetLatestReportablePricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (*big.Int, error)
- func GetPricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (uint64, error)
- func GetRPLPrice(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (*big.Int, error)
- func InConsensus(rp *rocketpool.RocketPool, opts *bind.CallOpts, ...) (bool, error)
- func SubmitPrices(rp *rocketpool.RocketPool, block uint64, rplPrice, effectiveRplStake *big.Int, ...) (common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateSubmitPricesGas ¶
func EstimateSubmitPricesGas(rp *rocketpool.RocketPool, block uint64, rplPrice *big.Int, effectiveRplStake *big.Int, opts *bind.TransactOpts, legacyRocketNetworkPricesAddress *common.Address) (rocketpool.GasInfo, error)
Estimate the gas of SubmitPrices
func GetLatestReportablePricesBlock ¶
func GetLatestReportablePricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketNetworkPricesAddress *common.Address) (*big.Int, error)
Returns the latest block number that oracles should be reporting prices for
func GetPricesBlock ¶
func GetPricesBlock(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketNetworkPricesAddress *common.Address) (uint64, error)
Get the block number which network prices are current for
func GetRPLPrice ¶
func GetRPLPrice(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketNetworkPricesAddress *common.Address) (*big.Int, error)
Get the current network RPL price in ETH
func InConsensus ¶
func InConsensus(rp *rocketpool.RocketPool, opts *bind.CallOpts, legacyRocketNetworkPricesAddress *common.Address) (bool, error)
Check if the network is currently in consensus about the RPL price, or if it is still reaching consensus
func SubmitPrices ¶
func SubmitPrices(rp *rocketpool.RocketPool, block uint64, rplPrice, effectiveRplStake *big.Int, opts *bind.TransactOpts, legacyRocketNetworkPricesAddress *common.Address) (common.Hash, error)
Submit network prices and total effective RPL stake for an epoch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.