Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type AppModule
- func (AppModule) ConsensusVersion() uint64
- func (AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (am AppModule) EndBlock(ctx context.Context) ([]abci.ValidatorUpdate, error)
- func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage)
- func (AppModule) IsAppModule()
- func (AppModule) IsOnePerModuleType()
- func (am AppModule) RegisterServices(cfg module.Configurator)
- func (am AppModule) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
- type AppModuleBasic
- type Module
- type ModuleInputs
- type ModuleOutputs
Constants ¶
This section is empty.
Variables ¶
var File_client_x_evmstaking_module_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule( cdc codec.Codec, keeper *keeper.Keeper, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, slashingKeeper types.SlashingKeeper, stakingKeeper *types.StakingKeeper, ) AppModule
NewAppModule creates a new AppModule object.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) DefaultGenesis ¶
func (AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the module.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the exported genesis state as raw bytes for the module.
func (AppModule) InitGenesis ¶
InitGenesis performs genesis initialization for the module. It returns no validator updates.
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule interface.
func (AppModule) IsOnePerModuleType ¶
func (AppModule) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries.
func (AppModule) ValidateGenesis ¶
func (am AppModule) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the module.
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
AppModuleBasic implements the AppModuleBasic interface that defines the independent methods a Cosmos SDK module needs to implement.
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc codec.BinaryCodec) AppModuleBasic
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the name of the module as a string.
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module.
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(*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.
type Module ¶
type Module struct { // authority defines the custom module authority. If not set, defaults to the governance module. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // contains filtered or unexported fields }
ModuleName is the config object for the evmstaking module.
func (*Module) Descriptor
deprecated
func (*Module) GetAuthority ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleInputs ¶
type ModuleInputs struct { depinject.In Config *Module ValidatorAddressCodec runtime.ValidatorAddressCodec EthClient ethclient.Client AccountKeeper types.AccountKeeper BankKeeper types.BankKeeper SlashingKeeper types.SlashingKeeper StakingKeeper types.StakingKeeper DistributionKeeper types.DistributionKeeper Cdc codec.Codec StoreService store.KVStoreService }
type ModuleOutputs ¶
func ProvideModule ¶
func ProvideModule(in ModuleInputs) ModuleOutputs