Documentation ¶
Index ¶
- func ApproveFixedSupplyGGP(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (common.Hash, error)
- func ApproveGGP(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (common.Hash, error)
- func ApproveRETH(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (common.Hash, error)
- func BurnRETH(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func EstimateApproveFixedSupplyGGPGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateApproveGGPGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateApproveRETHGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateBurnRETHGas(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateMintInflationGGPGas(ggp *gogopool.GoGoPool, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateSwapFixedSupplyGGPForGGPGas(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateTransferFixedSupplyGGPGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateTransferFromFixedSupplyGGPGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateTransferFromGGPGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateTransferFromRETHGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateTransferGGPGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func EstimateTransferRETHGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (gogopool.GasInfo, error)
- func GetETHValueOfRETH(ggp *gogopool.GoGoPool, rethAmount *big.Int, opts *bind.CallOpts) (*big.Int, error)
- func GetFixedSupplyGGPAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetFixedSupplyGGPBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetFixedSupplyGGPTotalSupply(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetGGPAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetGGPBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetGGPInflationIntervalRate(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetGGPTotalSupply(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHCollateralRate(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)
- func GetRETHContractETHBalance(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHExchangeRate(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)
- func GetRETHTotalCollateral(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHTotalSupply(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetRETHValueOfETH(ggp *gogopool.GoGoPool, ethAmount *big.Int, opts *bind.CallOpts) (*big.Int, error)
- func MintInflationGGP(ggp *gogopool.GoGoPool, opts *bind.TransactOpts) (common.Hash, error)
- func SwapFixedSupplyGGPForGGP(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func TransferFixedSupplyGGP(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (common.Hash, error)
- func TransferFromFixedSupplyGGP(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (common.Hash, error)
- func TransferFromGGP(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (common.Hash, error)
- func TransferFromRETH(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, ...) (common.Hash, error)
- func TransferGGP(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (common.Hash, error)
- func TransferRETH(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, ...) (common.Hash, error)
- type Balances
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApproveFixedSupplyGGP ¶ added in v0.2.3
func ApproveFixedSupplyGGP(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Approve an fixed-supply GGP spender
func ApproveGGP ¶ added in v0.2.3
func ApproveGGP(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Approve an GGP spender
func ApproveRETH ¶ added in v0.2.3
func ApproveRETH(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Approve a rETH spender
func BurnRETH ¶ added in v0.2.3
func BurnRETH(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Burn rETH for ETH
func EstimateApproveFixedSupplyGGPGas ¶ added in v0.2.3
func EstimateApproveFixedSupplyGGPGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of ApproveFixedSupplyGGP
func EstimateApproveGGPGas ¶ added in v0.2.3
func EstimateApproveGGPGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of ApproveGGP
func EstimateApproveRETHGas ¶ added in v0.2.3
func EstimateApproveRETHGas(ggp *gogopool.GoGoPool, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of ApproveRETH
func EstimateBurnRETHGas ¶ added in v0.2.3
func EstimateBurnRETHGas(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of BurnRETH
func EstimateMintInflationGGPGas ¶ added in v0.2.3
func EstimateMintInflationGGPGas(ggp *gogopool.GoGoPool, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of MintInflationGGP
func EstimateSwapFixedSupplyGGPForGGPGas ¶ added in v0.2.3
func EstimateSwapFixedSupplyGGPForGGPGas(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of SwapFixedSupplyGGPForGGP
func EstimateTransferFixedSupplyGGPGas ¶ added in v0.2.3
func EstimateTransferFixedSupplyGGPGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferFixedSupplyGGP
func EstimateTransferFromFixedSupplyGGPGas ¶ added in v0.2.3
func EstimateTransferFromFixedSupplyGGPGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferFromFixedSupplyGGP
func EstimateTransferFromGGPGas ¶ added in v0.2.3
func EstimateTransferFromGGPGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferFromGGP
func EstimateTransferFromRETHGas ¶ added in v0.2.3
func EstimateTransferFromRETHGas(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferFromRETH
func EstimateTransferGGPGas ¶ added in v0.2.3
func EstimateTransferGGPGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferGGP
func EstimateTransferRETHGas ¶ added in v0.2.3
func EstimateTransferRETHGas(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
Estimate the gas of TransferRETH
func GetETHValueOfRETH ¶ added in v0.2.3
func GetETHValueOfRETH(ggp *gogopool.GoGoPool, rethAmount *big.Int, opts *bind.CallOpts) (*big.Int, error)
Get the ETH value of an amount of rETH
func GetFixedSupplyGGPAllowance ¶ added in v0.2.3
func GetFixedSupplyGGPAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
Get fixed-supply GGP allowance
func GetFixedSupplyGGPBalance ¶ added in v0.2.3
func GetFixedSupplyGGPBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
Get fixed-supply GGP balance
func GetFixedSupplyGGPTotalSupply ¶ added in v0.2.3
Get fixed-supply GGP total supply
func GetGGPAllowance ¶ added in v0.2.3
func GetGGPAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
Get GGP allowance
func GetGGPBalance ¶ added in v0.2.3
func GetGGPBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
Get GGP balance
func GetGGPInflationIntervalRate ¶ added in v0.2.3
Get the GGP inflation interval rate
func GetGGPTotalSupply ¶ added in v0.2.3
Get GGP total supply
func GetRETHAllowance ¶ added in v0.2.3
func GetRETHAllowance(ggp *gogopool.GoGoPool, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
Get rETH allowance
func GetRETHBalance ¶ added in v0.2.3
func GetRETHBalance(ggp *gogopool.GoGoPool, address common.Address, opts *bind.CallOpts) (*big.Int, error)
Get rETH balance
func GetRETHCollateralRate ¶ added in v0.2.3
Get the rETH collateralization rate
func GetRETHContractETHBalance ¶ added in v0.2.3
Get the rETH contract ETH balance
func GetRETHExchangeRate ¶ added in v0.2.3
Get the current ETH : rETH exchange rate
func GetRETHTotalCollateral ¶ added in v0.2.3
Get the total amount of ETH collateral available for rETH trades
func GetRETHTotalSupply ¶ added in v0.2.3
Get rETH total supply
func GetRETHValueOfETH ¶ added in v0.2.3
func GetRETHValueOfETH(ggp *gogopool.GoGoPool, ethAmount *big.Int, opts *bind.CallOpts) (*big.Int, error)
Get the rETH value of an amount of ETH
func MintInflationGGP ¶ added in v0.2.3
Mint new GGP tokens from inflation
func SwapFixedSupplyGGPForGGP ¶ added in v0.2.3
func SwapFixedSupplyGGPForGGP(ggp *gogopool.GoGoPool, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Swap fixed-supply GGP for new GGP tokens
func TransferFixedSupplyGGP ¶ added in v0.2.3
func TransferFixedSupplyGGP(ggp *gogopool.GoGoPool, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer fixed-supply GGP
func TransferFromFixedSupplyGGP ¶ added in v0.2.3
func TransferFromFixedSupplyGGP(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer fixed-supply GGP from a sender
func TransferFromGGP ¶ added in v0.2.3
func TransferFromGGP(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer GGP from a sender
func TransferFromRETH ¶ added in v0.2.3
func TransferFromRETH(ggp *gogopool.GoGoPool, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer rETH from a sender