Documentation ¶
Index ¶
- func EstimateSubmitBalancesGas(ggp *gogopool.GoGoPool, block uint64, ...) (gogopool.GasInfo, error)
- func EstimateSubmitPricesGas(ggp *gogopool.GoGoPool, block uint64, ggpPrice *big.Int, ...) (gogopool.GasInfo, error)
- func GetBalancesBlock(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetETHUtilizationRate(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)
- func GetGGPPrice(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetLatestReportableBalancesBlock(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetLatestReportablePricesBlock(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetNodeDemand(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetNodeFee(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)
- func GetNodeFeeByDemand(ggp *gogopool.GoGoPool, nodeDemand *big.Int, opts *bind.CallOpts) (float64, error)
- func GetPricesBlock(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetStakingETHBalance(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalETHBalance(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalRETHSupply(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func InConsensus(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (bool, error)
- func SubmitBalances(ggp *gogopool.GoGoPool, block uint64, ...) (common.Hash, error)
- func SubmitPrices(ggp *gogopool.GoGoPool, block uint64, ggpPrice, effectiveGgpStake *big.Int, ...) (common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateSubmitBalancesGas ¶
func EstimateSubmitBalancesGas(ggp *gogopool.GoGoPool, block uint64, totalEth, stakingEth, rethSupply *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of SubmitBalances
func EstimateSubmitPricesGas ¶
func EstimateSubmitPricesGas(ggp *gogopool.GoGoPool, block uint64, ggpPrice *big.Int, effectiveGgpStake *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of SubmitPrices
func GetBalancesBlock ¶
Get the block number which network balances are current for
func GetETHUtilizationRate ¶
Get the current network ETH utilization rate
func GetGGPPrice ¶
Get the current network GGP price in ETH
func GetLatestReportableBalancesBlock ¶
func GetLatestReportableBalancesBlock(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
Returns the latest block number that oracles should be reporting balances for
func GetLatestReportablePricesBlock ¶
Returns the latest block number that oracles should be reporting prices for
func GetNodeDemand ¶
Get the current network node demand in ETH
func GetNodeFee ¶
Get the current network node commission rate
func GetNodeFeeByDemand ¶
func GetNodeFeeByDemand(ggp *gogopool.GoGoPool, nodeDemand *big.Int, opts *bind.CallOpts) (float64, error)
Get the network node fee for a node demand value
func GetPricesBlock ¶
Get the block number which network prices are current for
func GetStakingETHBalance ¶
Get the current network staking ETH balance
func GetTotalETHBalance ¶
Get the current network total ETH balance
func GetTotalRETHSupply ¶
Get the current network total rETH supply
func InConsensus ¶
Check if the network is currently in consensus about the GGP price, or if it is still reaching consensus
Types ¶
This section is empty.