Documentation ¶
Index ¶
- Constants
- func BootstrapChallengeCooldown(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapChallengeCost(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapChallengeWindow(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapMinipoolUnbondedMax(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalActionTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalCooldownTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalExecuteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalVoteDelayTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalVoteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapQuorum(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapRPLBond(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapScrubPenaltyEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapScrubPeriod(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func EstimateProposeChallengeCooldownGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeChallengeCostGas(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeChallengeWindowGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeMinipoolUnbondedMaxGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeMinipoolUnbondedMinFeeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeProposalActionTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeProposalCooldownTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeProposalExecuteTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeProposalVoteDelayTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeProposalVoteTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeQuorumGas(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeRPLBondGas(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeScrubPenaltyEnabledGas(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func EstimateProposeScrubPeriodGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
- func GetChallengeCooldown(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetChallengeCost(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetChallengeWindow(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetMinipoolUnbondedMax(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetNetworkEnabled(rp *rocketpool.RocketPool, network *big.Int, opts *bind.CallOpts) (bool, error)
- func GetProposalActionTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalCooldownTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalExecuteTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalVoteDelayTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalVoteTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func GetQuorum(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
- func GetRPLBond(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
- func GetScrubPenaltyEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)
- func GetScrubPeriod(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
- func ProposeChallengeCooldown(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeChallengeCost(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeChallengeWindow(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeMinipoolUnbondedMax(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalActionTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalCooldownTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalExecuteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalVoteDelayTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalVoteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeQuorum(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeRPLBond(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeScrubPenaltyEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeScrubPeriod(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
Constants ¶
const ( MembersSettingsContractName = "rocketDAONodeTrustedSettingsMembers" QuorumSettingPath = "members.quorum" RPLBondSettingPath = "members.rplbond" MinipoolUnbondedMaxSettingPath = "members.minipool.unbonded.max" MinipoolUnbondedMinFeeSettingPath = "members.minipool.unbonded.min.fee" ChallengeCooldownSettingPath = "members.challenge.cooldown" ChallengeWindowSettingPath = "members.challenge.window" ChallengeCostSettingPath = "members.challenge.cost" )
Config
const ( MinipoolSettingsContractName = "rocketDAONodeTrustedSettingsMinipool" ScrubPeriodPath = "minipool.scrub.period" ScrubPenaltyEnabledPath = "minipool.scrub.penalty.enabled" )
Config
const ( ProposalsSettingsContractName = "rocketDAONodeTrustedSettingsProposals" CooldownTimeSettingPath = "proposal.cooldown.time" VoteTimeSettingPath = "proposal.vote.time" VoteDelayTimeSettingPath = "proposal.vote.delay.time" ExecuteTimeSettingPath = "proposal.execute.time" ActionTimeSettingPath = "proposal.action.time" )
Config
const ( RewardsSettingsContractName string = "rocketDAONodeTrustedSettingsRewards" NetworkEnabledPath string = "rewards.network.enabled" )
Config
Variables ¶
This section is empty.
Functions ¶
func BootstrapChallengeCooldown ¶
func BootstrapChallengeCooldown(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapChallengeCost ¶
func BootstrapChallengeCost(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapChallengeWindow ¶
func BootstrapChallengeWindow(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapMinipoolUnbondedMax ¶
func BootstrapMinipoolUnbondedMax(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapMinipoolUnbondedMinFee ¶
func BootstrapMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapProposalActionTime ¶
func BootstrapProposalActionTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapProposalCooldownTime ¶
func BootstrapProposalCooldownTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapProposalExecuteTime ¶
func BootstrapProposalExecuteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapProposalVoteDelayTime ¶
func BootstrapProposalVoteDelayTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapProposalVoteTime ¶
func BootstrapProposalVoteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapQuorum ¶
func BootstrapQuorum(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapRPLBond ¶
func BootstrapRPLBond(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapScrubPenaltyEnabled ¶
func BootstrapScrubPenaltyEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (common.Hash, error)
func BootstrapScrubPeriod ¶
func BootstrapScrubPeriod(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
func EstimateProposeChallengeCooldownGas ¶
func EstimateProposeChallengeCooldownGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeChallengeCostGas ¶
func EstimateProposeChallengeCostGas(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeChallengeWindowGas ¶
func EstimateProposeChallengeWindowGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeMinipoolUnbondedMaxGas ¶
func EstimateProposeMinipoolUnbondedMaxGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeMinipoolUnbondedMinFeeGas ¶
func EstimateProposeMinipoolUnbondedMinFeeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeProposalActionTimeGas ¶
func EstimateProposeProposalActionTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeProposalCooldownTimeGas ¶
func EstimateProposeProposalCooldownTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeProposalExecuteTimeGas ¶
func EstimateProposeProposalExecuteTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeProposalVoteDelayTimeGas ¶
func EstimateProposeProposalVoteDelayTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeProposalVoteTimeGas ¶
func EstimateProposeProposalVoteTimeGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeQuorumGas ¶
func EstimateProposeQuorumGas(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeRPLBondGas ¶
func EstimateProposeRPLBondGas(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeScrubPenaltyEnabledGas ¶
func EstimateProposeScrubPenaltyEnabledGas(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func EstimateProposeScrubPeriodGas ¶
func EstimateProposeScrubPeriodGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)
func GetChallengeCooldown ¶
func GetChallengeCooldown(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The period a member must wait for before submitting another challenge, in blocks
func GetChallengeCost ¶
func GetChallengeCost(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
The fee for a non-member to challenge a member, in wei
func GetChallengeWindow ¶
func GetChallengeWindow(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The period during which a member can respond to a challenge, in blocks
func GetMinipoolUnbondedMax ¶
func GetMinipoolUnbondedMax(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The maximum number of unbonded minipools a member can run
func GetMinipoolUnbondedMinFee ¶
func GetMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The minimum commission rate before unbonded minipools are allowed
func GetNetworkEnabled ¶ added in v1.3.0
func GetNetworkEnabled(rp *rocketpool.RocketPool, network *big.Int, opts *bind.CallOpts) (bool, error)
Get whether or not the provided rewards network is enabled
func GetProposalActionTime ¶
func GetProposalActionTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The period during which an action can be performed on an executed proposal in seconds
func GetProposalCooldownTime ¶
func GetProposalCooldownTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The cooldown period a member must wait after making a proposal before making another in seconds
func GetProposalExecuteTime ¶
func GetProposalExecuteTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The period during which a passed proposal can be executed in time
func GetProposalVoteDelayTime ¶
func GetProposalVoteDelayTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The delay after creation before a proposal can be voted on in seconds
func GetProposalVoteTime ¶
func GetProposalVoteTime(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The period a proposal can be voted on for in seconds
func GetQuorum ¶
func GetQuorum(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)
Member proposal quorum threshold
func GetRPLBond ¶
func GetRPLBond(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)
RPL bond required for a member
func GetScrubPenaltyEnabled ¶
func GetScrubPenaltyEnabled(rp *rocketpool.RocketPool, opts *bind.CallOpts) (bool, error)
Whether or not the RPL slashing penalty is applied to scrubbed minipools
func GetScrubPeriod ¶
func GetScrubPeriod(rp *rocketpool.RocketPool, opts *bind.CallOpts) (uint64, error)
The cooldown period a member must wait after making a proposal before making another in seconds
func ProposeChallengeCooldown ¶
func ProposeChallengeCooldown(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeChallengeCost ¶
func ProposeChallengeCost(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeChallengeWindow ¶
func ProposeChallengeWindow(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeMinipoolUnbondedMax ¶
func ProposeMinipoolUnbondedMax(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeMinipoolUnbondedMinFee ¶
func ProposeMinipoolUnbondedMinFee(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeProposalActionTime ¶
func ProposeProposalActionTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeProposalCooldownTime ¶
func ProposeProposalCooldownTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeProposalExecuteTime ¶
func ProposeProposalExecuteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeProposalVoteDelayTime ¶
func ProposeProposalVoteDelayTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeProposalVoteTime ¶
func ProposeProposalVoteTime(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeQuorum ¶
func ProposeQuorum(rp *rocketpool.RocketPool, value float64, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeRPLBond ¶
func ProposeRPLBond(rp *rocketpool.RocketPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeScrubPenaltyEnabled ¶
func ProposeScrubPenaltyEnabled(rp *rocketpool.RocketPool, value bool, opts *bind.TransactOpts) (uint64, common.Hash, error)
func ProposeScrubPeriod ¶
func ProposeScrubPeriod(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
Types ¶
This section is empty.