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

Function

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