Versions in this module Expand all Collapse all v0 v0.9.0 Apr 1, 2020 Changes in this version + const DefaultParamspace + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + var DefaultGenesisState = types.DefaultGenesisState + var ModuleCdc = types.ModuleCdc + var NewGenesisState = types.NewGenesisState + var NewKeeper = keeper.NewKeeper + var NewQuerier = keeper.NewQuerier + var RegisterCodec = types.RegisterCodec + func InitGenesis(ctx sdk.Context, supplyKeeper SupplyKeeper, keeper SwapKeeper, ...) []abci.ValidatorUpdate + func NewHandler(keeper SwapKeeper) sdk.Handler + type AccountKeeper = types.AccountKeeper + type AppModule struct + func NewAppModule(swapKeeper SwapKeeper, supplyKeeper SupplyKeeper, accountKeeper AccountKeeper) AppModule + func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) + func (AppModule) Name() string + func (AppModule) QuerierRoute() string + func (AppModule) Route() string + func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate + func (am AppModule) NewHandler() sdk.Handler + func (am AppModule) NewQuerierHandler() sdk.Querier + func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) + type AppModuleBasic struct + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router) + func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error + func (amb AppModuleBasic) DefaultGenesis() json.RawMessage + type AppModuleSimulation struct + type GenesisState = types.GenesisState + func ExportGenesis(ctx sdk.Context, keeper SwapKeeper) GenesisState + type MsgSwapRequest = types.MsgSwapRequest + type QueryEthProphecyParams = types.GetTokenSwapParams + type SupplyKeeper = types.SupplyKeeper + type SwapKeeper = keeper.Keeper + type SwapRecord = types.TokenSwapRecord