Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAddress, _ = sdk.AccAddressFromBech32("cosmos1lwmppctrr6ssnrmuyzu554dzf50apkfvd53jx0")
Testing variables
Functions ¶
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
func SetupTestInput ¶
This function create an environment to test modules
func (Keeper) GetGovernmentAddress ¶
func (keeper Keeper) GetGovernmentAddress(ctx sdk.Context) sdk.AccAddress
GetGovernmentAddress returns the address that the government has currently
func (Keeper) SetGovernmentAddress ¶
SetGovernmentAddress allows to set the given address as the one that the government will use later
type QueryGovernmentResponse ¶ added in v1.5.0
type QueryGovernmentResponse struct {
GovernmentAddress string `json:"government_address"`
}
Click to show internal directories.
Click to hide internal directories.