Documentation ¶
Index ¶
- func DefaultGenesisState() *types.GenesisState
- func DelegatorSharesInvariant(k keeper.Keeper) sdk.Invariant
- func EndBlocker(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate
- func NewAllianceProposalHandler(k keeper.Keeper) govtypes.Handler
- func RegisterInvariants(ir sdk.InvariantRegistry, k keeper.Keeper)
- func RunAllInvariants(ctx sdk.Context, k keeper.Keeper) (res string, stop bool)
- func ValidateGenesis(data *types.GenesisState) error
- func ValidatorSharesInvariant(k keeper.Keeper) sdk.Invariant
- type AppModule
- func (a AppModule) ConsensusVersion() uint64
- func (a AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, _ codec.JSONCodec) json.RawMessage
- func (a AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg
- func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) RegisterStoreDecoder(registry sdk.StoreDecoderRegistry)
- func (a AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(jsonCodec codec.JSONCodec) json.RawMessage
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (a AppModuleBasic) ValidateGenesis(jsonCodec codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGenesisState ¶
func DefaultGenesisState() *types.GenesisState
func EndBlocker ¶
EndBlocker
func RegisterInvariants ¶
func RegisterInvariants(ir sdk.InvariantRegistry, k keeper.Keeper)
func RunAllInvariants ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements an application module for the alliance module.
func NewAppModule ¶
func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, sk types.StakingKeeper, ak types.AccountKeeper, bk types.BankKeeper, registry cdctypes.InterfaceRegistry, subspace paramstypes.Subspace, ) AppModule
NewAppModule creates a new AppModule object
func (AppModule) ConsensusVersion ¶
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) GenerateGenesisState ¶
func (a AppModule) GenerateGenesisState(simState *module.SimulationState)
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) ProposalContents ¶
func (a AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries
func (AppModule) RegisterStoreDecoder ¶
func (a AppModule) RegisterStoreDecoder(registry sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶
func (a AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis(jsonCodec codec.JSONCodec) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(jsonCodec codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.