package
2.0.0-rc1
Repository: https://github.com/mars-protocol/hub.git
Documentation: pkg.go.dev

# Functions

GetTokensInVesting queries the vesting contract for an array of users who have tokens locked in the contract and their respective amount, as well as computing the total amount of locked tokens.
MustGetTokensInVesting is the same with `GetTokensInVesting`, but panics on error.
NewKeeper returns a custom gov keeper NOTE: compared to the vanilla gov keeper's constructor function, here we require an additional wasm keeper, which is needed for our custom vote tallying logic.
NewMsgServerImpl creates an implementation of the gov v1 MsgServer interface for the given keeper.
NewQueryServerImpl creates an implementation of the QueryServer interface for the given keeper.
NewMsgServerImpl creates an implementation of the gov v1 MsgServer interface for the given keeper.
NewQueryServerImpl creates an implementation of the QueryServer interface for the given keeper.

# Variables

DefaultContractAddr is the wasm contract address generated by code ID 1 and instance ID 1.

# Structs

Keeper defines the custom governance module Keeper NOTE: Keeper wraps the vanilla gov keeper to inherit most of its functions.