Documentation ¶
Index ¶
- Constants
- func NewHandler(keeper Keeper) sdk.Handler
- func NewQuerier(keeper Keeper) sdk.Querier
- type AppModule
- func (a AppModule) BeginBlock(types.Context, abci.RequestBeginBlock)
- func (a AppModule) EndBlock(types.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(types.Context) json.RawMessage
- func (a AppModule) InitGenesis(types.Context, json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() types.Handler
- func (a AppModule) NewQuerierHandler() types.Querier
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RegisterInvariants(types.InvariantRegistry)
- func (a AppModule) Route() string
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis() json.RawMessage
- func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (a AppModuleBasic) RegisterRESTRoutes(context.CLIContext, *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(json.RawMessage) error
- type IteratorCB
- type Keeper
- func (k Keeper) Cancel(ctx sdk.Context, id store.EntityID) sdk.Error
- func (k Keeper) Create(ctx sdk.Context, owner sdk.AccAddress, marketID store.EntityID, ...) (types3.Order, sdk.Error)
- func (k Keeper) Del(ctx sdk.Context, id store.EntityID) sdk.Error
- func (k Keeper) Get(ctx sdk.Context, id store.EntityID) (types3.Order, sdk.Error)
- func (k Keeper) Has(ctx sdk.Context, id store.EntityID) bool
- func (k Keeper) Iterator(ctx sdk.Context, cb IteratorCB)
- func (k Keeper) Post(ctx sdk.Context, owner sdk.AccAddress, mktID store.EntityID, ...) (types3.Order, sdk.Error)
- func (k Keeper) ReverseIterator(ctx sdk.Context, cb IteratorCB)
- func (k Keeper) Set(ctx sdk.Context, order types3.Order) sdk.Error
Constants ¶
View Source
const (
QueryList = "list"
)
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewQuerier ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(types.Context, abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(types.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(types.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(types.Context, json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(types.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(context.CLIContext, *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(json.RawMessage) error
type IteratorCB ¶
Click to show internal directories.
Click to hide internal directories.