Documentation ¶
Index ¶
- Constants
- Variables
- func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
- type ACLKeeper
- type AccountKeeper
- type AppModule
- func (AppModule) BeginBlock(cTypes.Context, abciTypes.RequestBeginBlock)
- func (AppModule) EndBlock(_ cTypes.Context, _ abciTypes.RequestEndBlock) []abciTypes.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abciTypes.ValidatorUpdate
- func (AppModule) Name() string
- func (am AppModule) NewHandler() cTypes.Handler
- func (am AppModule) NewQuerierHandler() cTypes.Querier
- func (am AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
- func (AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- 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, r *mux.Router, kafkaBool bool, ...)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type BaseOrder
- type GenesisState
- type Keeper
- type Order
Constants ¶
View Source
const ( ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute RouterKey = types.RouterKey StoreKey = types.StoreKey DefaultCodeSpace = types.DefaultCodeSpace )
Variables ¶
View Source
var ( RegisterCodec = types.RegisterCodec ModuleCdc = types.ModuleCdc DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGensis NewQuerier = keeper.NewQuerier GetNegotiationKey = types.GetOrderKey OrdersKey = types.OrdersKey NewKeeper = keeper.NewKeeper )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
Types ¶
type AccountKeeper ¶
type AccountKeeper = types.AccountKeeper
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(keeper Keeper, negotiationKeeper negotiation.Keeper) AppModule
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(cTypes.Context, abciTypes.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ cTypes.Context, _ abciTypes.RequestEndBlock) []abciTypes.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abciTypes.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, r *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, keeper Keeper) (data GenesisState)
Click to show internal directories.
Click to hide internal directories.