protocol

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

View Source
const AuctionSettingsContractName = "rocketDAOProtocolSettingsAuction"

Config

View Source
const DepositSettingsContractName = "rocketDAOProtocolSettingsDeposit"

Config

View Source
const InflationSettingsContractName = "rocketDAOProtocolSettingsInflation"

Config

View Source
const MinipoolSettingsContractName = "rocketDAOProtocolSettingsMinipool"

Config

View Source
const NetworkSettingsContractName = "rocketDAOProtocolSettingsNetwork"

Config

View Source
const NodeSettingsContractName = "rocketDAOProtocolSettingsNode"

Config

View Source
const RewardsSettingsContractName = "rocketDAOProtocolSettingsRewards"

Config

Variables

This section is empty.

Functions

func BootstrapAssignDepositsEnabled

func BootstrapAssignDepositsEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapBidOnLotEnabled

func BootstrapBidOnLotEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapCreateLotEnabled

func BootstrapCreateLotEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapDepositEnabled

func BootstrapDepositEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapInflationIntervalRate

func BootstrapInflationIntervalRate(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapInflationStartTime

func BootstrapInflationStartTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapLotDuration

func BootstrapLotDuration(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapLotMaximumEthValue

func BootstrapLotMaximumEthValue(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapLotMinimumEthValue

func BootstrapLotMinimumEthValue(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapLotReservePriceRatio

func BootstrapLotReservePriceRatio(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapLotStartingPriceRatio

func BootstrapLotStartingPriceRatio(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMaximumDepositAssignments

func BootstrapMaximumDepositAssignments(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMaximumDepositPoolSize

func BootstrapMaximumDepositPoolSize(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMaximumNodeFee

func BootstrapMaximumNodeFee(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMaximumPerMinipoolStake

func BootstrapMaximumPerMinipoolStake(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinimumDeposit

func BootstrapMinimumDeposit(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinimumNodeFee

func BootstrapMinimumNodeFee(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinimumPerMinipoolStake

func BootstrapMinimumPerMinipoolStake(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinipoolLaunchTimeout

func BootstrapMinipoolLaunchTimeout(rp *rocketpool.RocketPool, value time.Duration, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinipoolSubmitWithdrawableEnabled

func BootstrapMinipoolSubmitWithdrawableEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapNodeConsensusThreshold

func BootstrapNodeConsensusThreshold(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapNodeDepositEnabled

func BootstrapNodeDepositEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapNodeFeeDemandRange

func BootstrapNodeFeeDemandRange(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapNodeRegistrationEnabled

func BootstrapNodeRegistrationEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapRewardsClaimIntervalTime

func BootstrapRewardsClaimIntervalTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapSubmitBalancesEnabled

func BootstrapSubmitBalancesEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapSubmitBalancesFrequency

func BootstrapSubmitBalancesFrequency(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapSubmitPricesEnabled

func BootstrapSubmitPricesEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapSubmitPricesFrequency

func BootstrapSubmitPricesFrequency(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapTargetNodeFee

func BootstrapTargetNodeFee(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapTargetRethCollateralRate

func BootstrapTargetRethCollateralRate(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func GetAssignDepositsEnabled

func GetAssignDepositsEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Deposit assignments currently enabled

func GetBidOnLotEnabled

func GetBidOnLotEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Lot bidding currently enabled

func GetCreateLotEnabled

func GetCreateLotEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Lot creation currently enabled

func GetDepositEnabled

func GetDepositEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Deposits currently enabled

func GetInflationIntervalRate

func GetInflationIntervalRate(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

RPL inflation rate per interval

func GetInflationStartTime

func GetInflationStartTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

RPL inflation start time

func GetLotDuration

func GetLotDuration(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

The lot duration in blocks

func GetLotMaximumEthValue

func GetLotMaximumEthValue(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

The maximum lot size in ETH value

func GetLotMinimumEthValue

func GetLotMinimumEthValue(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

The minimum lot size in ETH value

func GetLotReservePriceRatio

func GetLotReservePriceRatio(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The reserve price relative to current ETH price, as a fraction

func GetLotStartingPriceRatio

func GetLotStartingPriceRatio(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The starting price relative to current ETH price, as a fraction

func GetMaximumDepositAssignments

func GetMaximumDepositAssignments(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

Maximum deposit assignments per transaction

func GetMaximumDepositPoolSize

func GetMaximumDepositPoolSize(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

Maximum deposit pool size

func GetMaximumNodeFee

func GetMaximumNodeFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

Maximum node commission rate

func GetMaximumPerMinipoolStake

func GetMaximumPerMinipoolStake(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The maximum RPL stake per minipool as a fraction of assigned user ETH

func GetMinimumDeposit

func GetMinimumDeposit(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

Minimum deposit amount

func GetMinimumNodeFee

func GetMinimumNodeFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

Minimum node commission rate

func GetMinimumPerMinipoolStake

func GetMinimumPerMinipoolStake(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The minimum RPL stake per minipool as a fraction of assigned user ETH

func GetMinipoolEmptyDepositNodeAmount

func GetMinipoolEmptyDepositNodeAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolEmptyDepositUserAmount

func GetMinipoolEmptyDepositUserAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolFullDepositNodeAmount

func GetMinipoolFullDepositNodeAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

Required node deposit amounts

func GetMinipoolFullDepositUserAmount

func GetMinipoolFullDepositUserAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

Required user deposit amounts

func GetMinipoolHalfDepositNodeAmount

func GetMinipoolHalfDepositNodeAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolHalfDepositUserAmount

func GetMinipoolHalfDepositUserAmount(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolLaunchBalance

func GetMinipoolLaunchBalance(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

Get the minipool launch balance

func GetMinipoolLaunchTimeout

func GetMinipoolLaunchTimeout(rp *rocketpool.RocketPool, opts *bind.CallOpts) (time.Duration, error)

Timeout period in seconds for prelaunch minipools to launch

func GetMinipoolSubmitWithdrawableEnabled

func GetMinipoolSubmitWithdrawableEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Minipool withdrawable event submissions currently enabled

func GetNodeConsensusThreshold

func GetNodeConsensusThreshold(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The threshold of trusted nodes that must reach consensus on oracle data to commit it

func GetNodeDepositEnabled

func GetNodeDepositEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Node deposits currently enabled

func GetNodeFeeDemandRange

func GetNodeFeeDemandRange(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

The range of node demand values to base fee calculations on

func GetNodeRegistrationEnabled

func GetNodeRegistrationEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Node registrations currently enabled

func GetRewardsClaimIntervalTime

func GetRewardsClaimIntervalTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

Rewards claim interval time

func GetRewardsClaimerPerc

func GetRewardsClaimerPerc(rp *rocketpool.RocketPool, contractName string, opts *bind.CallOpts) (float64, error)

The claim amount for a claimer as a fraction

func GetRewardsClaimerPercTimeUpdated

func GetRewardsClaimerPercTimeUpdated(rp *rocketpool.RocketPool, contractName string, opts *bind.CallOpts) (uint64, error)

The time that a claimer's share was last updated

func GetRewardsClaimersPercTotal

func GetRewardsClaimersPercTotal(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The total claim amount for all claimers as a fraction

func GetSubmitBalancesEnabled

func GetSubmitBalancesEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Network balance submissions currently enabled

func GetSubmitBalancesFrequency

func GetSubmitBalancesFrequency(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

The frequency in blocks at which network balances should be submitted by trusted nodes

func GetSubmitPricesEnabled

func GetSubmitPricesEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)

Network price submissions currently enabled

func GetSubmitPricesFrequency

func GetSubmitPricesFrequency(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)

The frequency in blocks at which network prices should be submitted by trusted nodes

func GetTargetNodeFee

func GetTargetNodeFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

Target node commission rate

func GetTargetRethCollateralRate

func GetTargetRethCollateralRate(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The target collateralization rate for the rETH contract as a fraction

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL