Documentation ¶
Index ¶
- Constants
- func BootstrapChallengeCooldown(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapChallengeCost(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapChallengeWindow(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapGGPBond(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapMinipoolUnbondedMax(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalActionTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalCooldownTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalExecuteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalVoteDelayTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapProposalVoteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapQuorum(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapScrubPenaltyEnabled(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (common.Hash, error)
- func BootstrapScrubPeriod(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)
- func EstimateProposeChallengeCooldownGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeChallengeCostGas(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeChallengeWindowGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeGGPBondGas(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeMinipoolUnbondedMaxGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeMinipoolUnbondedMinFeeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeProposalActionTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeProposalCooldownTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeProposalExecuteTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeProposalVoteDelayTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeProposalVoteTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeQuorumGas(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeScrubPenaltyEnabledGas(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func EstimateProposeScrubPeriodGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)
- func GetChallengeCooldown(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetChallengeCost(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetChallengeWindow(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetGGPBond(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)
- func GetMinipoolUnbondedMax(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalActionTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalCooldownTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalExecuteTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalVoteDelayTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetProposalVoteTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func GetQuorum(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)
- func GetScrubPenaltyEnabled(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (bool, error)
- func GetScrubPeriod(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)
- func ProposeChallengeCooldown(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeChallengeCost(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeChallengeWindow(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeGGPBond(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeMinipoolUnbondedMax(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalActionTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalCooldownTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalExecuteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalVoteDelayTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeProposalVoteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeQuorum(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeScrubPenaltyEnabled(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (uint64, common.Hash, error)
- func ProposeScrubPeriod(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)
Constants ¶
const ( MembersSettingsContractName = "rocketDAONodeTrustedSettingsMembers" QuorumSettingPath = "members.quorum" GGPBondSettingPath = "members.ggpbond" 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
Variables ¶
This section is empty.
Functions ¶
func BootstrapChallengeCost ¶
func BootstrapGGPBond ¶
func BootstrapQuorum ¶
func BootstrapScrubPeriod ¶
func GetChallengeCooldown ¶
The period a member must wait for before submitting another challenge, in blocks
func GetChallengeCost ¶
The fee for a non-member to challenge a member, in wei
func GetChallengeWindow ¶
The period during which a member can respond to a challenge, in blocks
func GetGGPBond ¶
GGP bond required for a member
func GetMinipoolUnbondedMax ¶
The maximum number of unbonded minipools a member can run
func GetMinipoolUnbondedMinFee ¶
The minimum commission rate before unbonded minipools are allowed
func GetProposalActionTime ¶
The period during which an action can be performed on an executed proposal in seconds
func GetProposalCooldownTime ¶
The cooldown period a member must wait after making a proposal before making another in seconds
func GetProposalExecuteTime ¶
The period during which a passed proposal can be executed in time
func GetProposalVoteDelayTime ¶
The delay after creation before a proposal can be voted on in seconds
func GetProposalVoteTime ¶
The period a proposal can be voted on for in seconds
func GetScrubPenaltyEnabled ¶
Whether or not the GGP slashing penalty is applied to scrubbed minipools
func GetScrubPeriod ¶
The cooldown period a member must wait after making a proposal before making another in seconds
func ProposeChallengeCost ¶
func ProposeChallengeWindow ¶
func ProposeGGPBond ¶
func ProposeProposalVoteTime ¶
func ProposeQuorum ¶
Types ¶
This section is empty.