Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

proposal source realm

Variables 1

Functions 4

func NewValidatorProposalRequest

crossing Action
1func NewValidatorProposalRequest(cur realm, addr address) dao.ProposalRequest
source

NewValidatorProposalRequest creates a proposal request to the GovDAO for adding (or removing) the given valoper to/from the validator set.

Signature is preserved for historical-replay compatibility (gnoland-1 callers call this with a single address). Body is rewired to call v0's operator-keyed NewValidatorProposalRequest with a single-element slice; v0's executor re-resolves the signing pubkey from valoperCache at execution time, so a mid-flight rotation publishes the current key.

func ProposeAuthorityRotationProposalRequest

crossing Action
1func ProposeAuthorityRotationProposalRequest(cur realm, newContractPath string) dao.ProposalRequest
source

ProposeAuthorityRotationProposalRequest creates a proposal to the GovDAO for re-pointing the valopers realm's governance authority.

Delegates, for the same reason as above: the rotation closure reaches auth.Transfer, so it must never leave the valopers package. Exposed here because this package is where proposal factories for the realm live — see valopers.NewAuthorityRotationProposalRequest for why it takes a path rather than an authz.Authority, and why it exists at all.

func ProposeNewInstructionsProposalRequest

crossing Action
1func ProposeNewInstructionsProposalRequest(cur realm, newInstructions string) dao.ProposalRequest
source

ProposeNewInstructionsProposalRequest creates a proposal to the GovDAO for updating the realm instructions.

Signature is preserved; the body now delegates. Building the request here required valopers to export the privileged closure, which handed this realm's frame identity to any caller. The closure and the request are now built inside valopers, which returns the request with its executor sealed — see valopers.NewInstructionsProposalRequest.

func ProposeNewMinFeeProposalRequest

crossing Action
1func ProposeNewMinFeeProposalRequest(cur realm, newMinFee int64) dao.ProposalRequest
source

ProposeNewMinFeeProposalRequest creates a proposal to the GovDAO for updating the minimum fee to register a new valoper. Signature preserved for historical-replay compatibility (gnoland-1's set_minfee.gno MsgRun calls this); body now delegates to the generic sys/params factory so the fee lives in node:valoper:register_fee.

Imports 6

Source Files 6