Documentation ¶
Index ¶
- Constants
- func ExportGenesis(ctx sdk.Context, k *keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k *keeper.Keeper, bankKeeper types.BankKeeper, ...)
- type AppModule
- func (AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (AppModule) ConsensusVersion() uint64
- func (m AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (AppModule) GetQueryCmd() *cobra.Command
- func (AppModule) GetTxCmd() *cobra.Command
- func (m AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage)
- func (AppModule) IsAppModule()
- func (AppModule) IsOnePerModuleType()
- func (am AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
- func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
- type IsBlacklistedDecorator
- func (ad IsBlacklistedDecorator) AddGranteeToContextIfPresent(ctx sdk.Context, msgs []sdk.Msg) sdk.Context
- func (ad IsBlacklistedDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
- func (ad IsBlacklistedDecorator) CheckMessages(ctx sdk.Context, msgs []sdk.Msg, grantee *string) error
- type IsPausedDecorator
- type ModuleInputs
- type ModuleOutputs
Constants ¶
const ConsensusVersion = 1
ConsensusVersion defines the current x/fiattokenfactory module consensus version.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
ExportGenesis returns the module's exported GenesisState
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k *keeper.Keeper, bankKeeper types.BankKeeper, genState types.GenesisState)
InitGenesis initializes the module's state from a provided genesis state.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements the AppModule interface that defines the inter-dependent methods that modules need to implement
func NewAppModule ¶
func NewAppModule( keeper *keeper.Keeper, bankKeeper types.BankKeeper, ) AppModule
func (AppModule) AutoCLIOptions ¶
func (AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
func (AppModule) ConsensusVersion ¶
func (AppModule) ExportGenesis ¶
func (AppModule) GetQueryCmd ¶
func (AppModule) InitGenesis ¶
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
func (AppModule) IsOnePerModuleType ¶
func (AppModule) IsOnePerModuleType()
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic implements the AppModuleBasic interface that defines the independent methods a Cosmos SDK module needs to implement.
func NewAppModuleBasic ¶
func NewAppModuleBasic() AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
DefaultGenesis returns a default GenesisState for the module, marshalled to json.RawMessage. The default GenesisState need to be defined by the module developer and is primarily used for testing
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the name of the module as a string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
RegisterInterfaces registers a module's interface types and their concrete implementations as proto.Message
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the amino codec for the module, which is used to marshal and unmarshal structs to/from []byte in order to persist them in the module's KVStore
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
ValidateGenesis used to validate the GenesisState, given in its json.RawMessage form
type IsBlacklistedDecorator ¶
type IsBlacklistedDecorator struct {
// contains filtered or unexported fields
}
func NewIsBlacklistedDecorator ¶
func NewIsBlacklistedDecorator(ctf *fiattokenfactorykeeper.Keeper) IsBlacklistedDecorator
func (IsBlacklistedDecorator) AddGranteeToContextIfPresent ¶
func (IsBlacklistedDecorator) AnteHandle ¶
func (IsBlacklistedDecorator) CheckMessages ¶
type IsPausedDecorator ¶
type IsPausedDecorator struct {
// contains filtered or unexported fields
}
func NewIsPausedDecorator ¶
func NewIsPausedDecorator(cdc codec.Codec, ftf *fiattokenfactorykeeper.Keeper) IsPausedDecorator
func (IsPausedDecorator) AnteHandle ¶
func (IsPausedDecorator) CheckMessages ¶
type ModuleInputs ¶
type ModuleOutputs ¶
type ModuleOutputs struct { depinject.Out Keeper *keeper.Keeper Module appmodule.AppModule Restriction banktypes.SendRestrictionFn }
func ProvideModule ¶
func ProvideModule(in ModuleInputs) ModuleOutputs