Documentation ¶
Index ¶
- Variables
- func ExportGenesis(ctx context.Context) types.GenesisState
- func InitGenesis(ctx context.Context, data types.GenesisState)
- func NewAppModule() types.AppModule
- type AppModule
- func (am AppModule) BeginBlock(context.Context, abci.RequestBeginBlock)
- func (am AppModule) EndBlock(context.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx context.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx context.Context, bapp *baseabci.BaseApp, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) RegisterInvariants(ir types.InvariantRegistry)
- func (am AppModule) RegisterQuerier(types.QueryRegistry)
- type AppModuleBasic
- func (amb AppModuleBasic) DefaultGenesis() json.RawMessage
- func (amb AppModuleBasic) GetMapperAndHooks() types.MapperWithHooks
- func (amb AppModuleBasic) GetQueryCmds(cdc *amino.Codec) []*cobra.Command
- func (amb AppModuleBasic) GetTxCmds(cdc *amino.Codec) []*cobra.Command
- func (amb AppModuleBasic) Name() string
- func (amb AppModuleBasic) RegisterCodec(cdc *amino.Codec)
- func (amb AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type GenesisState
- type Mapper
- type TxCancelApprove
- type TxCreateApprove
- type TxDecreaseApprove
- type TxIncreaseApprove
- type TxUseApprove
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ModuleName = "approve" Cdc = txs.Cdc RegisterCodec = txs.RegisterCodec DefaultGenesis = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis NewMapper = mapper.NewApproveMapper MapperName = types.MapperName QueryCommands = client.QueryCommands TxCommands = client.TxCommands )
Functions ¶
func ExportGenesis ¶
func ExportGenesis(ctx context.Context) types.GenesisState
func InitGenesis ¶
func InitGenesis(ctx context.Context, data types.GenesisState)
func NewAppModule ¶ added in v0.0.6
Types ¶
type AppModule ¶ added in v0.0.6
type AppModule struct {
AppModuleBasic
}
app module
func (AppModule) BeginBlock ¶ added in v0.0.6
func (am AppModule) BeginBlock(context.Context, abci.RequestBeginBlock)
func (AppModule) EndBlock ¶ added in v0.0.6
func (am AppModule) EndBlock(context.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v0.0.6
func (am AppModule) ExportGenesis(ctx context.Context) json.RawMessage
func (AppModule) InitGenesis ¶ added in v0.0.6
func (am AppModule) InitGenesis(ctx context.Context, bapp *baseabci.BaseApp, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) RegisterInvariants ¶ added in v0.0.6
func (am AppModule) RegisterInvariants(ir types.InvariantRegistry)
func (AppModule) RegisterQuerier ¶ added in v0.0.6
func (am AppModule) RegisterQuerier(types.QueryRegistry)
type AppModuleBasic ¶ added in v0.0.6
type AppModuleBasic struct{}
app module basics object
func (AppModuleBasic) DefaultGenesis ¶ added in v0.0.6
func (amb AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetMapperAndHooks ¶ added in v0.0.6
func (amb AppModuleBasic) GetMapperAndHooks() types.MapperWithHooks
func (AppModuleBasic) GetQueryCmds ¶ added in v0.0.6
func (amb AppModuleBasic) GetQueryCmds(cdc *amino.Codec) []*cobra.Command
func (AppModuleBasic) GetTxCmds ¶ added in v0.0.6
func (amb AppModuleBasic) GetTxCmds(cdc *amino.Codec) []*cobra.Command
func (AppModuleBasic) Name ¶ added in v0.0.6
func (amb AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶ added in v0.0.6
func (amb AppModuleBasic) RegisterCodec(cdc *amino.Codec)
func (AppModuleBasic) ValidateGenesis ¶ added in v0.0.6
func (amb AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type GenesisState ¶
type GenesisState = types.GenesisState
type TxCancelApprove ¶
type TxCancelApprove = txs.TxCancelApprove
type TxCreateApprove ¶
type TxCreateApprove = txs.TxCreateApprove
type TxDecreaseApprove ¶
type TxDecreaseApprove = txs.TxDecreaseApprove
type TxIncreaseApprove ¶
type TxIncreaseApprove = txs.TxIncreaseApprove
type TxUseApprove ¶
type TxUseApprove = txs.TxUseApprove
Click to show internal directories.
Click to hide internal directories.