Documentation ¶
Index ¶
- func ApproveFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, ...) (common.Hash, error)
- func ApproveRPL(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, ...) (common.Hash, error)
- func EstimateApproveFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, ...) (stader.GasInfo, error)
- func EstimateApproveRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, ...) (stader.GasInfo, error)
- func EstimateMintInflationRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.TransactOpts) (stader.GasInfo, error)
- func EstimateSwapFixedSupplyRPLForRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, amount *big.Int, ...) (stader.GasInfo, error)
- func EstimateTransferFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, ...) (stader.GasInfo, error)
- func EstimateTransferFromFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, ...) (stader.GasInfo, error)
- func EstimateTransferFromRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, ...) (stader.GasInfo, error)
- func EstimateTransferRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, ...) (stader.GasInfo, error)
- func GetAccountEthBalance(rp *stader.Contract, address common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetEthBalance(client stader.ExecutionClient, address common.Address, opts *bind.CallOpts) (*big.Int, error)
- func GetFixedSupplyRPLAllowance(rp *stader.PermissionlessNodeRegistryContractManager, ...) (*big.Int, error)
- func GetFixedSupplyRPLBalance(rp *stader.PermissionlessNodeRegistryContractManager, address common.Address, ...) (*big.Int, error)
- func GetFixedSupplyRPLTotalSupply(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetRPLAllowance(rp *stader.PermissionlessNodeRegistryContractManager, ...) (*big.Int, error)
- func GetRPLBalance(rp *stader.PermissionlessNodeRegistryContractManager, address common.Address, ...) (*big.Int, error)
- func GetRPLInflationIntervalRate(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetRPLTotalSupply(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
- func MintInflationRPL(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.TransactOpts) (common.Hash, error)
- func SwapFixedSupplyRPLForRPL(rp *stader.PermissionlessNodeRegistryContractManager, amount *big.Int, ...) (common.Hash, error)
- func TransferFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, ...) (common.Hash, error)
- func TransferFromFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, ...) (common.Hash, error)
- func TransferFromRPL(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, ...) (common.Hash, error)
- func TransferRPL(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, ...) (common.Hash, error)
- type Balances
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApproveFixedSupplyRPL ¶
func ApproveFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Approve an fixed-supply RPL spender
func ApproveRPL ¶
func ApproveRPL(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Approve an RPL spender
func EstimateApproveFixedSupplyRPLGas ¶
func EstimateApproveFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of ApproveFixedSupplyRPL
func EstimateApproveRPLGas ¶
func EstimateApproveRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, spender common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of ApproveRPL
func EstimateMintInflationRPLGas ¶
func EstimateMintInflationRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of MintInflationRPL
func EstimateSwapFixedSupplyRPLForRPLGas ¶
func EstimateSwapFixedSupplyRPLForRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of SwapFixedSupplyRPLForRPL
func EstimateTransferFixedSupplyRPLGas ¶
func EstimateTransferFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of TransferFixedSupplyRPL
func EstimateTransferFromFixedSupplyRPLGas ¶
func EstimateTransferFromFixedSupplyRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of TransferFromFixedSupplyRPL
func EstimateTransferFromRPLGas ¶
func EstimateTransferFromRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of TransferFromRPL
func EstimateTransferRPLGas ¶
func EstimateTransferRPLGas(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of TransferRPL
func GetAccountEthBalance ¶
func GetEthBalance ¶
func GetFixedSupplyRPLAllowance ¶
func GetFixedSupplyRPLAllowance(rp *stader.PermissionlessNodeRegistryContractManager, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
Get fixed-supply RPL allowance
func GetFixedSupplyRPLBalance ¶
func GetFixedSupplyRPLBalance(rp *stader.PermissionlessNodeRegistryContractManager, address common.Address, opts *bind.CallOpts) (*big.Int, error)
Get fixed-supply RPL balance
func GetFixedSupplyRPLTotalSupply ¶
func GetFixedSupplyRPLTotalSupply(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
Get fixed-supply RPL total supply
func GetRPLAllowance ¶
func GetRPLAllowance(rp *stader.PermissionlessNodeRegistryContractManager, owner, spender common.Address, opts *bind.CallOpts) (*big.Int, error)
Get RPL allowance
func GetRPLBalance ¶
func GetRPLBalance(rp *stader.PermissionlessNodeRegistryContractManager, address common.Address, opts *bind.CallOpts) (*big.Int, error)
Get RPL balance
func GetRPLInflationIntervalRate ¶
func GetRPLInflationIntervalRate(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
Get the RPL inflation interval rate
func GetRPLTotalSupply ¶
func GetRPLTotalSupply(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)
Get RPL total supply
func MintInflationRPL ¶
func MintInflationRPL(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.TransactOpts) (common.Hash, error)
Mint new RPL tokens from inflation
func SwapFixedSupplyRPLForRPL ¶
func SwapFixedSupplyRPLForRPL(rp *stader.PermissionlessNodeRegistryContractManager, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Swap fixed-supply RPL for new RPL tokens
func TransferFixedSupplyRPL ¶
func TransferFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer fixed-supply RPL
func TransferFromFixedSupplyRPL ¶
func TransferFromFixedSupplyRPL(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer fixed-supply RPL from a sender
func TransferFromRPL ¶
func TransferFromRPL(rp *stader.PermissionlessNodeRegistryContractManager, from, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer RPL from a sender
func TransferRPL ¶
func TransferRPL(rp *stader.PermissionlessNodeRegistryContractManager, to common.Address, amount *big.Int, opts *bind.TransactOpts) (common.Hash, error)
Transfer RPL
Types ¶
type Balances ¶
type Balances struct { ETH *big.Int `json:"eth"` RETH *big.Int `json:"reth"` RPL *big.Int `json:"rpl"` FixedSupplyRPL *big.Int `json:"fixedSupplyRpl"` }
Token balances
func GetBalances ¶
func GetBalances(rp *stader.PermissionlessNodeRegistryContractManager, address common.Address, opts *bind.CallOpts) (Balances, error)
Get token balances of an address