NewProposal
NewProposal creates a new proposal instance with the provided parameters. NewProposal is the main constructor for creating governance proposals.
- metadata: proposal title and description
- data: type-specific proposal data
- proposerAddress: address of the proposal creator
- configVersion: governance configuration version
- snapshotTime: timestamp for voting weight snapshot lookup
- createdHeight: creation block height
Returns:
- *Proposal: newly created proposal instance
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/governance.NewProposal(,,,,,,,)"
Result