alliance

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 24 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGenesisState

func DefaultGenesisState() *types.GenesisState

func DelegatorSharesInvariant

func DelegatorSharesInvariant(k keeper.Keeper) sdk.Invariant

func EndBlocker

func EndBlocker(ctx sdk.Context, k keeper.Keeper) error

EndBlocker

func NewAllianceProposalHandler

func NewAllianceProposalHandler(k keeper.Keeper) govtypes.Handler

func RegisterInvariants

func RegisterInvariants(ir sdk.InvariantRegistry, k keeper.Keeper)

func RunAllInvariants

func RunAllInvariants(ctx sdk.Context, k keeper.Keeper) (res string, stop bool)

func ValidateGenesis

func ValidateGenesis(data *types.GenesisState) error

ValidateGenesis

func ValidatorSharesInvariant

func ValidatorSharesInvariant(k keeper.Keeper) sdk.Invariant

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the alliance module.

func NewAppModule

NewAppModule creates a new AppModule object

func (AppModule) ConsensusVersion

func (a AppModule) ConsensusVersion() uint64

func (AppModule) EndBlock

func (a AppModule) EndBlock(ctx context.Context) error

func (AppModule) ExportGenesis

func (a AppModule) ExportGenesis(ctx sdk.Context, _ codec.JSONCodec) json.RawMessage

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)

func (AppModule) IsAppModule added in v0.4.0

func (a AppModule) IsAppModule()

IsAppModule implements the appmodule.AppModule interface.

func (AppModule) IsOnePerModuleType added in v0.4.0

func (a AppModule) IsOnePerModuleType()

IsOnePerModuleType implements the depinject.OnePerModuleType interface.

func (AppModule) ProposalContents

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 simtypes.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

Directories

Path Synopsis
cli
migrations
v4
v5
tests
e2e
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL