trustednode

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: GPL-3.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

View Source
const (
	MembersSettingsContractName       = "poolseaDAONodeTrustedSettingsMembers"
	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

View Source
const (
	MinipoolSettingsContractName  = "poolseaDAONodeTrustedSettingsMinipool"
	ScrubPeriodPath               = "minipool.scrub.period"
	PromotionScrubPeriodPath      = "minipool.promotion.scrub.period"
	ScrubPenaltyEnabledPath       = "minipool.scrub.penalty.enabled"
	BondReductionWindowStartPath  = "minipool.bond.reduction.window.start"
	BondReductionWindowLengthPath = "minipool.bond.reduction.window.length"
)

Config

View Source
const (
	ProposalsSettingsContractName = "poolseaDAONodeTrustedSettingsProposals"
	CooldownTimeSettingPath       = "proposal.cooldown.time"
	VoteTimeSettingPath           = "proposal.vote.time"
	VoteDelayTimeSettingPath      = "proposal.vote.delay.time"
	ExecuteTimeSettingPath        = "proposal.execute.time"
	ActionTimeSettingPath         = "proposal.action.time"
)

Config

View Source
const (
	RewardsSettingsContractName string = "poolseaDAONodeTrustedSettingsRewards"
	NetworkEnabledPath          string = "rewards.network.enabled"
)

Config

Variables

This section is empty.

Functions

func BootstrapBondReductionWindowLength

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

func BootstrapBondReductionWindowStart

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

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 BootstrapPromotionScrubPeriod

func BootstrapPromotionScrubPeriod(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 EstimateProposeBondReductionWindowLengthGas

func EstimateProposeBondReductionWindowLengthGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

func EstimateProposeBondReductionWindowStartGas

func EstimateProposeBondReductionWindowStartGas(rp *rocketpool.RocketPool, value uint64, opts *bind.TransactOpts) (rocketpool.GasInfo, 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 EstimateProposePromotionScrubPeriodGas

func EstimateProposePromotionScrubPeriodGas(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 GetBondReductionWindowLength

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

The amount of time, in seconds, a minipool has to reduce its bond once it has passed the check window

func GetBondReductionWindowStart

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

The amount of time, in seconds, a minipool must wait after beginning a bond reduction before it can apply the bond reduction (how long the Oracle DAO has to cancel the reduction if required)

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

func GetNetworkEnabled(rp *rocketpool.RocketPool, network *big.Int, opts *bind.CallOpts) (bool, error)

Get whether or not the provided rewards network is enabled

func GetPromotionScrubPeriod

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

The amount of time, in seconds, the promotion scrub check lasts before a vacant minipool can be promoted

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 amount of time, in seconds, the scrub check lasts before a minipool can move from prelaunch to staking

func ProposeBondReductionWindowLength

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

func ProposeBondReductionWindowStart

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

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 ProposePromotionScrubPeriod

func ProposePromotionScrubPeriod(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.

Jump to

Keyboard shortcuts

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