NewProposalCommunityPoolSpendData
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
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/governance/v1.NewProposalCommunityPoolSpendData(,,,)"
Result