valopers_proposal package

Functions

NewValidatorProposalRequest

func NewValidatorProposalRequest(address std.Address) dao.ProposalRequest

NewValidatorProposalRequest creates a proposal request to the GovDAO for adding the given valoper to the validator set.

Param

Command

gnokey query -remote "https://rpc.test6.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoland/valopers_proposal" -func "NewValidatorProposalRequest"  -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test6" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test6.testnets.gno.land" call.tx

ProposeNewInstructionsProposalRequest

func ProposeNewInstructionsProposalRequest(newInstructions string) dao.ProposalRequest

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

Param

Command

gnokey query -remote "https://rpc.test6.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoland/valopers_proposal" -func "ProposeNewInstructionsProposalRequest"  -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test6" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test6.testnets.gno.land" call.tx

ProposeNewMinFeeProposalRequest

func ProposeNewMinFeeProposalRequest(newMinFee int64) dao.ProposalRequest

ProposeNewMinFee creates a proposal to the GovDAO for updating the minimum fee to register a new valoper.

Param

Command

gnokey query -remote "https://rpc.test6.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoland/valopers_proposal" -func "ProposeNewMinFeeProposalRequest"  -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test6" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test6.testnets.gno.land" call.tx