Documentation ¶
Index ¶
- Constants
- type AppModule
- func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (AppModule) ConsensusVersion() uint64
- func (am AppModule) DefaultGenesis() json.RawMessage
- func (am AppModule) EndBlock(ctx context.Context) error
- func (am AppModule) ExportGenesis(ctx context.Context) (json.RawMessage, error)
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (am AppModule) GetTxCmd() *cobra.Command
- func (am AppModule) InitGenesis(ctx context.Context, data json.RawMessage) error
- func (AppModule) IsAppModule()
- func (am AppModule) IsOnePerModuleType()
- func (am AppModule) Name() string
- func (am AppModule) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *gwruntime.ServeMux)
- func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
- func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
- 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 GroupInputs
- type GroupOutputs
Constants ¶
const ConsensusVersion = 2
ConsensusVersion defines the current x/group module consensus version.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
func NewAppModule ¶
func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, ak group.AccountKeeper, bk group.BankKeeper, 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) ConsensusVersion ¶
ConsensusVersion implements HasConsensusVersion
func (AppModule) DefaultGenesis ¶
func (am AppModule) DefaultGenesis() json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the group module.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the exported genesis state as raw bytes for the group module.
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the group module.
func (AppModule) InitGenesis ¶
InitGenesis performs genesis initialization for the group 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 group module.
func (AppModule) RegisterInterfaces ¶
func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
RegisterInterfaces registers the group module's interface types
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
RegisterInvariants does nothing, there are no invariants to enforce
func (AppModule) RegisterLegacyAminoCodec ¶
func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar)
RegisterLegacyAminoCodec registers the group module's types for the given codec.
func (AppModule) RegisterMigrations ¶
func (am AppModule) RegisterMigrations(mr appmodule.MigrationRegistrar) error
RegisterMigrations registers 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 group module's types
func (AppModule) ValidateGenesis ¶
func (am AppModule) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the group module.
func (AppModule) WeightedOperationsX ¶
func (am AppModule) WeightedOperationsX(weights simsx.WeightSource, reg simsx.Registry)
type GroupInputs ¶
type GroupInputs struct { depinject.In Config *modulev1.Module Environment appmodule.Environment Cdc codec.Codec AccountKeeper group.AccountKeeper BankKeeper group.BankKeeper Registry cdctypes.InterfaceRegistry }
type GroupOutputs ¶
func ProvideModule ¶
func ProvideModule(in GroupInputs) GroupOutputs