trustednode

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
const (
	MinipoolSettingsContractName = "rocketDAONodeTrustedSettingsMinipool"
	ScrubPeriodPath              = "minipool.scrub.period"
	ScrubPenaltyEnabledPath      = "minipool.scrub.penalty.enabled"
)

Config

View Source
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 BootstrapChallengeCooldown

func BootstrapChallengeCooldown(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapChallengeCost

func BootstrapChallengeCost(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapChallengeWindow

func BootstrapChallengeWindow(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapGGPBond

func BootstrapGGPBond(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinipoolUnbondedMax

func BootstrapMinipoolUnbondedMax(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapMinipoolUnbondedMinFee

func BootstrapMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapProposalActionTime

func BootstrapProposalActionTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapProposalCooldownTime

func BootstrapProposalCooldownTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapProposalExecuteTime

func BootstrapProposalExecuteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapProposalVoteDelayTime

func BootstrapProposalVoteDelayTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapProposalVoteTime

func BootstrapProposalVoteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapQuorum

func BootstrapQuorum(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapScrubPenaltyEnabled

func BootstrapScrubPenaltyEnabled(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (common.Hash, error)

func BootstrapScrubPeriod

func BootstrapScrubPeriod(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (common.Hash, error)

func EstimateProposeChallengeCooldownGas

func EstimateProposeChallengeCooldownGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeChallengeCostGas

func EstimateProposeChallengeCostGas(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeChallengeWindowGas

func EstimateProposeChallengeWindowGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeGGPBondGas

func EstimateProposeGGPBondGas(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeMinipoolUnbondedMaxGas

func EstimateProposeMinipoolUnbondedMaxGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeMinipoolUnbondedMinFeeGas

func EstimateProposeMinipoolUnbondedMinFeeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeProposalActionTimeGas

func EstimateProposeProposalActionTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeProposalCooldownTimeGas

func EstimateProposeProposalCooldownTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeProposalExecuteTimeGas

func EstimateProposeProposalExecuteTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeProposalVoteDelayTimeGas

func EstimateProposeProposalVoteDelayTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeProposalVoteTimeGas

func EstimateProposeProposalVoteTimeGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeQuorumGas

func EstimateProposeQuorumGas(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeScrubPenaltyEnabledGas

func EstimateProposeScrubPenaltyEnabledGas(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func EstimateProposeScrubPeriodGas

func EstimateProposeScrubPeriodGas(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (gogopool.GasInfo, error)

func GetChallengeCooldown

func GetChallengeCooldown(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The period a member must wait for before submitting another challenge, in blocks

func GetChallengeCost

func GetChallengeCost(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)

The fee for a non-member to challenge a member, in wei

func GetChallengeWindow

func GetChallengeWindow(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The period during which a member can respond to a challenge, in blocks

func GetGGPBond

func GetGGPBond(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (*big.Int, error)

GGP bond required for a member

func GetMinipoolUnbondedMax

func GetMinipoolUnbondedMax(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The maximum number of unbonded minipools a member can run

func GetMinipoolUnbondedMinFee

func GetMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The minimum commission rate before unbonded minipools are allowed

func GetProposalActionTime

func GetProposalActionTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The period during which an action can be performed on an executed proposal in seconds

func GetProposalCooldownTime

func GetProposalCooldownTime(ggp *gogopool.GoGoPool, 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(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The period during which a passed proposal can be executed in time

func GetProposalVoteDelayTime

func GetProposalVoteDelayTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The delay after creation before a proposal can be voted on in seconds

func GetProposalVoteTime

func GetProposalVoteTime(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (uint64, error)

The period a proposal can be voted on for in seconds

func GetQuorum

func GetQuorum(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (float64, error)

Member proposal quorum threshold

func GetScrubPenaltyEnabled

func GetScrubPenaltyEnabled(ggp *gogopool.GoGoPool, opts *bind.CallOpts) (bool, error)

Whether or not the GGP slashing penalty is applied to scrubbed minipools

func GetScrubPeriod

func GetScrubPeriod(ggp *gogopool.GoGoPool, 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(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeChallengeCost

func ProposeChallengeCost(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeChallengeWindow

func ProposeChallengeWindow(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeGGPBond

func ProposeGGPBond(ggp *gogopool.GoGoPool, value *big.Int, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeMinipoolUnbondedMax

func ProposeMinipoolUnbondedMax(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeMinipoolUnbondedMinFee

func ProposeMinipoolUnbondedMinFee(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeProposalActionTime

func ProposeProposalActionTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeProposalCooldownTime

func ProposeProposalCooldownTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeProposalExecuteTime

func ProposeProposalExecuteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeProposalVoteDelayTime

func ProposeProposalVoteDelayTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeProposalVoteTime

func ProposeProposalVoteTime(ggp *gogopool.GoGoPool, value uint64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeQuorum

func ProposeQuorum(ggp *gogopool.GoGoPool, value float64, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeScrubPenaltyEnabled

func ProposeScrubPenaltyEnabled(ggp *gogopool.GoGoPool, value bool, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeScrubPeriod

func ProposeScrubPeriod(ggp *gogopool.GoGoPool, 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