Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) types.GenesisState
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, data types.GenesisState)
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
type Keeper interface { Codec() *codec.Codec SetToken(ctx sdk.Context, symbol types.Symbol, token types.Token) GetToken(ctx sdk.Context, symbol types.Symbol) types.Token ListTokens(ctx sdk.Context) []types.Symbol }
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
Click to show internal directories.
Click to hide internal directories.