NewGovernanceV1
NewGovernanceV1 creates a governance v1 implementation backed by the supplied state store and staker voting-weight accessor.
Parameters:
- governanceStore: persistence adapter for configuration, proposals, counters, and voting information
- stakerAccessor: accessor that supplies delegation snapshots and total xGNS supply for governance decisions
Returns:
- governance.IGovernance: governance manager and getter implementation using the supplied dependencies
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/governance/v1.NewGovernanceV1(,)"
Result