Documentation ¶
Index ¶
- Constants
- func BeginBlocker(ctx context.Context, keeper keeper.Keeper) error
- type AppModule
- func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (am AppModule) BeginBlock(ctx context.Context) error
- func (AppModule) ConsensusVersion() uint64
- func (am AppModule) DefaultGenesis() json.RawMessage
- func (am AppModule) ExportGenesis(ctx context.Context) (json.RawMessage, error)
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (AppModule) GetTxCmd() *cobra.Command
- func (am AppModule) InitGenesis(ctx context.Context, data json.RawMessage) error
- func (AppModule) IsAppModule()
- func (am AppModule) IsOnePerModuleType()
- func (AppModule) Name() string
- func (AppModule) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *gwruntime.ServeMux)
- func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
- func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar)
- func (am AppModule) RegisterMigrations(mr appmodule.MigrationRegistrar) error
- func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) error
- func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)
- func (am AppModule) ValidateGenesis(bz json.RawMessage) error
- func (am AppModule) WeightedOperationsX(weights simsx.WeightSource, reg simsx.Registry)
- type ModuleInputs
- type ModuleOutputs
Constants ¶
const ConsensusVersion = 2
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
AppModule implements the sdk.AppModule interface
func NewAppModule ¶
func NewAppModule( cdc codec.Codec, keeper keeper.Keeper, registry cdctypes.InterfaceRegistry, ) AppModule
NewAppModule creates a new AppModule object
func (AppModule) AutoCLIOptions ¶
func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
AutoCLIOptions implements the autocli.HasAutoCLIConfig interface.
func (AppModule) BeginBlock ¶
BeginBlock returns the begin blocker for the authz module.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements HasConsensusVersion.
func (AppModule) DefaultGenesis ¶
func (am AppModule) DefaultGenesis() json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the authz module.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the exported genesis state as raw bytes for the authz module.
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the authz module.
func (AppModule) InitGenesis ¶
InitGenesis performs genesis initialization for the authz module.
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule interface.
func (AppModule) IsOnePerModuleType ¶
func (am AppModule) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (AppModule) RegisterGRPCGatewayRoutes ¶
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the authz module.
func (AppModule) RegisterInterfaces ¶
func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
RegisterInterfaces registers the authz module's interface types
func (AppModule) RegisterLegacyAminoCodec ¶
func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar)
RegisterLegacyAminoCodec registers the authz module's types for the given codec.
func (AppModule) RegisterMigrations ¶
func (am AppModule) RegisterMigrations(mr appmodule.MigrationRegistrar) error
RegisterMigrations registers the authz module migrations.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) error
RegisterServices registers module services.
func (AppModule) RegisterStoreDecoder ¶
func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for authz module's types
func (AppModule) ValidateGenesis ¶
func (am AppModule) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the authz module.
func (AppModule) WeightedOperationsX ¶
func (am AppModule) WeightedOperationsX(weights simsx.WeightSource, reg simsx.Registry)
type ModuleInputs ¶
type ModuleInputs struct { depinject.In Cdc codec.Codec AccountKeeper authz.AccountKeeper Registry cdctypes.InterfaceRegistry Environment appmodule.Environment }
type ModuleOutputs ¶
func ProvideModule ¶
func ProvideModule(in ModuleInputs) ModuleOutputs