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 package

Functions

NewValidatorProposalRequest

func NewValidatorProposalRequest(cur realm, addr address) dao.ProposalRequest

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.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "NewValidatorProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "NewValidatorProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx
  

ProposeAuthorityRotationProposalRequest

func ProposeAuthorityRotationProposalRequest(cur realm, newContractPath string) dao.ProposalRequest

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.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeAuthorityRotationProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeAuthorityRotationProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx
  

ProposeNewInstructionsProposalRequest

func ProposeNewInstructionsProposalRequest(cur realm, newInstructions string) dao.ProposalRequest

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.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeNewInstructionsProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeNewInstructionsProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx
  

ProposeNewMinFeeProposalRequest

func ProposeNewMinFeeProposalRequest(cur realm, newMinFee int64) dao.ProposalRequest

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.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeNewMinFeeProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers/proposal" -func "ProposeNewMinFeeProposalRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx