protocol

package
v0.0.0-...-a5a7577 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

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 BootstrapMinipoolSubmitWithdrawableEnabled

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

func GetAssignDepositsEnabled

func GetAssignDepositsEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Deposit assignments currently enabled

func GetBidOnLotEnabled

func GetBidOnLotEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Lot bidding currently enabled

func GetCreateLotEnabled

func GetCreateLotEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Lot creation currently enabled

func GetDepositEnabled

Deposits currently enabled

func GetInflationIntervalRate

func GetInflationIntervalRate(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

RPL inflation rate per interval

func GetInflationStartTime

func GetInflationStartTime(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (uint64, error)

RPL inflation start time

func GetLotDuration

The lot duration in blocks

func GetLotMaximumEthValue

func GetLotMaximumEthValue(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

The maximum lot size in ETH value

func GetLotMinimumEthValue

func GetLotMinimumEthValue(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

The minimum lot size in ETH value

func GetLotReservePriceRatio

func GetLotReservePriceRatio(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

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

func GetLotStartingPriceRatio

func GetLotStartingPriceRatio(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

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

func GetMaximumDepositAssignments

func GetMaximumDepositAssignments(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (uint64, error)

Maximum deposit assignments per transaction

func GetMaximumDepositPoolSize

func GetMaximumDepositPoolSize(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

Maximum deposit pool size

func GetMaximumNodeFee

Maximum node commission rate

func GetMaximumPerMinipoolStake

func GetMaximumPerMinipoolStake(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

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

func GetMaximumPerMinipoolStakeRaw

func GetMaximumPerMinipoolStakeRaw(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

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

func GetMinimumDeposit

func GetMinimumDeposit(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

Minimum deposit amount

func GetMinimumNodeFee

Minimum node commission rate

func GetMinimumPerMinipoolStake

func GetMinimumPerMinipoolStake(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

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

func GetMinimumPerMinipoolStakeRaw

func GetMinimumPerMinipoolStakeRaw(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

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

func GetMinipoolEmptyDepositNodeAmount

func GetMinipoolEmptyDepositNodeAmount(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolEmptyDepositUserAmount

func GetMinipoolEmptyDepositUserAmount(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

func GetMinipoolFullDepositNodeAmount

func GetMinipoolFullDepositNodeAmount(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

Required node deposit amounts

func GetMinipoolFullDepositUserAmount

func GetMinipoolFullDepositUserAmount(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

Required user deposit amounts

func GetMinipoolLaunchBalance

func GetMinipoolLaunchBalance(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

Get the minipool launch balance

func GetMinipoolLaunchTimeout

func GetMinipoolLaunchTimeout(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (time.Duration, error)

Timeout period in seconds for prelaunch minipools to launch

func GetMinipoolSubmitWithdrawableEnabled

func GetMinipoolSubmitWithdrawableEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Minipool withdrawable event submissions currently enabled

func GetNodeConsensusThreshold

func GetNodeConsensusThreshold(rp *stader.PermissionlessNodeRegistryContractManager, 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 *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Node deposits currently enabled

func GetNodeFeeDemandRange

func GetNodeFeeDemandRange(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (*big.Int, error)

The range of node demand values to base fee calculations on

func GetNodeRegistrationEnabled

func GetNodeRegistrationEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Node registrations currently enabled

func GetRewardsClaimIntervalTime

func GetRewardsClaimIntervalTime(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (uint64, error)

Rewards claim interval time

func GetRewardsClaimerPerc

func GetRewardsClaimerPerc(rp *stader.PermissionlessNodeRegistryContractManager, contractName string, opts *bind.CallOpts) (float64, error)

The claim amount for a claimer as a fraction

func GetRewardsClaimerPercTimeUpdated

func GetRewardsClaimerPercTimeUpdated(rp *stader.PermissionlessNodeRegistryContractManager, contractName string, opts *bind.CallOpts) (uint64, error)

The time that a claimer's share was last updated

func GetRewardsClaimersPercTotal

func GetRewardsClaimersPercTotal(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (float64, error)

The total claim amount for all claimers as a fraction

func GetSubmitBalancesEnabled

func GetSubmitBalancesEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Network balance submissions currently enabled

func GetSubmitBalancesFrequency

func GetSubmitBalancesFrequency(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (uint64, error)

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

func GetSubmitPricesEnabled

func GetSubmitPricesEnabled(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (bool, error)

Network price submissions currently enabled

func GetSubmitPricesFrequency

func GetSubmitPricesFrequency(rp *stader.PermissionlessNodeRegistryContractManager, opts *bind.CallOpts) (uint64, error)

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

func GetTargetNodeFee

Target node commission rate

func GetTargetRethCollateralRate

func GetTargetRethCollateralRate(rp *stader.PermissionlessNodeRegistryContractManager, 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