Documentation
¶
Index ¶
- Variables
- func KVStoreKeys() []string
- 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
- func (appKeepers *AppKeepers) SetupHooks()
- type QuerierWrapper
Constants ¶
This section is empty.
Variables ¶
var AppModuleBasics = module.NewBasicManager( auth.AppModuleBasic{}, genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator), bank.AppModuleBasic{}, capability.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic( []govclient.ProposalHandler{ paramsclient.ProposalHandler, entityclient.ProposalHandler, tokenclient.ProposalHandler, }, ), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, authzmodule.AppModuleBasic{}, consensus.AppModuleBasic{}, ibc.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, transfer.AppModuleBasic{}, vesting.AppModuleBasic{}, wasm.AppModuleBasic{}, icq.AppModuleBasic{}, ica.AppModuleBasic{}, packetforward.AppModuleBasic{}, tendermint.AppModuleBasic{}, feegrantmodule.AppModuleBasic{}, authzmodule.AppModuleBasic{}, ibcfee.AppModuleBasic{}, ibchooks.AppModuleBasic{}, iid.AppModuleBasic{}, bonds.AppModuleBasic{}, entity.AppModuleBasic{}, token.AppModuleBasic{}, claims.AppModuleBasic{}, smartaccount.AppModuleBasic{}, epochs.AppModuleBasic{}, )
AppModuleBasics returns ModuleBasics for the module BasicManager.
Functions ¶
func KVStoreKeys ¶
func KVStoreKeys() []string
Types ¶
type AppKeepers ¶
type AppKeepers struct { // keepers ParamsKeeper paramskeeper.Keeper CapabilityKeeper *capabilitykeeper.Keeper CrisisKeeper *crisiskeeper.Keeper UpgradeKeeper *upgradekeeper.Keeper ConsensusParamsKeeper consensusparamkeeper.Keeper AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.BaseKeeper AuthzKeeper authzkeeper.Keeper StakingKeeper *stakingkeeper.Keeper DistrKeeper distrkeeper.Keeper SlashingKeeper slashingkeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly IBCKeeper *ibckeeper.Keeper IBCHooksKeeper *ibchookskeeper.Keeper ICAHostKeeper icahostkeeper.Keeper ICAControllerKeeper icacontrollerkeeper.Keeper ICQKeeper icqkeeper.Keeper TransferKeeper ibctransferkeeper.Keeper EvidenceKeeper evidencekeeper.Keeper GovKeeper *govkeeper.Keeper WasmKeeper wasmkeeper.Keeper ContractKeeper wasmtypes.ContractOpsKeeper FeeGrantKeeper feegrantkeeper.Keeper IBCFeeKeeper ibcfeekeeper.Keeper PacketForwardKeeper *packetforwardkeeper.Keeper // Custom ixo keepers IidKeeper iidmodulekeeper.Keeper EntityKeeper entitykeeper.Keeper TokenKeeper tokenkeeper.Keeper BondsKeeper bondskeeper.Keeper ClaimsKeeper claimsmodulekeeper.Keeper SmartAccountKeeper *smartaccountkeeper.Keeper AuthenticatorManager *authenticator.AuthenticatorManager EpochsKeeper *epochskeeper.Keeper MintKeeper *mintkeeper.Keeper // make scoped keepers public for test purposes ScopedIBCKeeper capabilitykeeper.ScopedKeeper ScopedICAHostKeeper capabilitykeeper.ScopedKeeper ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper ScopedTransferKeeper capabilitykeeper.ScopedKeeper ScopedWasmKeeper capabilitykeeper.ScopedKeeper ScopedICQKeeper capabilitykeeper.ScopedKeeper ScopedIBCFeeKeeper capabilitykeeper.ScopedKeeper // Middleware wrapper Ics20WasmHooks *ibchooks.WasmHooks HooksICS4Wrapper ibchooks.ICS4Middleware // contains filtered or unexported fields }
func NewAppKeepers ¶
func NewAppKeepers( appCodec codec.Codec, interfaceRegistry types.InterfaceRegistry, legacyAmino *codec.LegacyAmino, bApp *baseapp.BaseApp, maccPerms map[string][]string, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, homePath string, wasmDir string, wasmConfig wasmtypes.WasmConfig, wasmOpts []wasmkeeper.Option, blockedAddress map[string]bool, logger log.Logger, appOpts servertypes.AppOptions, ) AppKeepers
func (*AppKeepers) GenerateKeys ¶
func (appKeepers *AppKeepers) GenerateKeys()
GenerateKeys generates new keys (KV Store, Transient store, and memory store).
func (*AppKeepers) GetKVStoreKey ¶
func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
GetKVStoreKey gets KV Store keys.
func (*AppKeepers) GetKey ¶
func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
NOTE: This is solely to be used for testing purposes.
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
GetMemoryStoreKey get memory Store keys.
func (*AppKeepers) GetSubspace ¶
func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
GetSubspace gets existing substore from keeper.
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
GetTransientStoreKey gets Transient Store keys.
func (*AppKeepers) SetupHooks ¶
func (appKeepers *AppKeepers) SetupHooks()
SetupHooks sets up hooks for modules.
type QuerierWrapper ¶
type QuerierWrapper struct {
// contains filtered or unexported fields
}
QuerierWrapper is a local wrapper around BaseApp that exports only the Queryable interface. This is used to pass the baseApp to Async ICQ without exposing all methods
func NewQuerierWrapper ¶
func NewQuerierWrapper(querier storetypes.Queryable) QuerierWrapper
func (QuerierWrapper) Query ¶
func (q QuerierWrapper) Query(req *storetypes.RequestQuery) (*storetypes.ResponseQuery, error)