Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

/v1 package

Function

NewProposalCommunityPoolSpendData

func NewProposalCommunityPoolSpendData( tokenPath string, to address, amount int64, communityPoolPackagePath string, ) *governance.ProposalData
Ask AI Claude ChatGPT

NewProposalCommunityPoolSpendData creates proposal data for a community pool spend proposal. Automatically generates the execution message for the token transfer.

Parameters:

  • tokenPath: path of the token to transfer
  • to: recipient address for the transfer
  • amount: amount of tokens to transfer
  • communityPoolPackagePath: package path of the community pool contract

Returns:

  • *ProposalData: proposal data configured for community pool spending

Params

Command

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

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/gov/governance/v1, for example a function call with arguments.