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

dao package

Function

GetProposal

func GetProposal(pid ProposalID) (*Proposal, error)
Ask AI Claude ChatGPT

GetProposal gets created proposal by its ID. Non-crossing pure read: looks up the proposal in this realm's package var. Callable directly from any realm without cross-call syntax.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gov/dao.GetProposal()"

Result

Gno Expression Evaluator

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