Documentation
¶
Index ¶
- Variables
- type AppKeepers
- func (appKeepers *AppKeepers) GenerateKeys()
- func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (appKeepers *AppKeepers) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey
Constants ¶
This section is empty.
Variables ¶
View Source
var AppModuleBasics = append([]module.AppModuleBasic{ auth.AppModuleBasic{}, genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator), bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distribution.AppModuleBasic{}, gov.NewAppModuleBasic( []govclient.ProposalHandler{ paramsclient.ProposalHandler, }, ), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, feegrantmodule.AppModuleBasic{}, authzmodule.AppModuleBasic{}, ibc.AppModuleBasic{}, ibctm.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, transfer.AppModuleBasic{}, vesting.AppModuleBasic{}, wasm.AppModuleBasic{}, halving.AppModuleBasic{}, ica.AppModuleBasic{}, epochs.AppModuleBasic{}, liquid.AppModuleBasic{}, liquidstake.AppModuleBasic{}, consensus.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, })
AppModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
Functions ¶
This section is empty.
Types ¶
type AppKeepers ¶
type AppKeepers struct {
AccountKeeper *authkeeper.AccountKeeper
BankKeeper *bankkeeper.BaseKeeper
StakingKeeper *stakingkeeper.Keeper
SlashingKeeper *slashingkeeper.Keeper
MintKeeper *mintkeeper.Keeper
DistributionKeeper *distributionkeeper.Keeper
GovKeeper *govkeeper.Keeper
UpgradeKeeper *upgradekeeper.Keeper
CrisisKeeper *crisiskeeper.Keeper
ParamsKeeper *paramskeeper.Keeper
IBCKeeper *ibckeeper.Keeper
ICAHostKeeper *icahostkeeper.Keeper
EvidenceKeeper *evidencekeeper.Keeper
TransferKeeper *ibctransferkeeper.Keeper
FeegrantKeeper *feegrantkeeper.Keeper
AuthzKeeper *authzkeeper.Keeper
HalvingKeeper *halving.Keeper
WasmKeeper *wasmkeeper.Keeper
EpochsKeeper *epochskeeper.Keeper
ICAControllerKeeper *icacontrollerkeeper.Keeper
LiquidKeeper *liquidkeeper.Keeper
LiquidStakeKeeper *liquidstakekeeper.Keeper
ConsensusParamsKeeper *consensusparamskeeper.Keeper
PacketForwardKeeper *packetforwardkeeper.Keeper
// Modules
TransferModule ibctransfer.AppModule
TMLightClientModule ibctm.LightClientModule
// IBC hooks
IBCHooksKeeper *ibchookskeeper.Keeper
ICS20WasmHooks *ibchooks.WasmHooks
HooksICS4Wrapper *ibchooks.ICS4Middleware
// contains filtered or unexported fields
}
func NewAppKeeper ¶
func NewAppKeeper( appCodec codec.Codec, bApp *baseapp.BaseApp, legacyAmino *codec.LegacyAmino, maccPerms map[string][]string, sendCoinBlockedAddrs map[string]bool, appOpts servertypes.AppOptions, wasmDir string, wasmOpts []wasmkeeper.Option, logger log.Logger, ) *AppKeepers
func (*AppKeepers) GenerateKeys ¶
func (appKeepers *AppKeepers) GenerateKeys()
func (*AppKeepers) GetKVStoreKey ¶
func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
func (*AppKeepers) GetKey ¶
func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
func (*AppKeepers) GetMemKey ¶
func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
GetMemKey returns the MemStoreKey for the provided mem key.
NOTE: This is solely used for testing purposes.
func (*AppKeepers) GetMemoryStoreKey ¶
func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey
func (*AppKeepers) GetSubspace ¶
func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
GetSubspace returns a param subspace for a given module name.
func (*AppKeepers) GetTKey ¶
func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
GetTKey returns the TransientStoreKey for the provided store key.
NOTE: This is solely to be used for testing purposes.
func (*AppKeepers) GetTransientStoreKey ¶
func (appKeepers *AppKeepers) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey
Click to show internal directories.
Click to hide internal directories.