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

governance/v1 package

Function

NewProposalExecutionData

func NewProposalExecutionData(numToExecute int64, executions string) *governance.ProposalData

NewProposalExecutionData creates proposal data for a parameter change proposal. Each message in executions should be formatted as <pkgPath>*EXE*<function>*EXE*<params>, separated by *GOV* when there are multiple messages.

Parameters:

  • numToExecute: number of parameter changes to execute
  • executions: raw encoded execution string with parameter changes

Returns:

  • *ProposalData: proposal data configured for parameter changes

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/governance/v1.NewProposalExecutionData(,)"

Result