Documentation
¶
Index ¶
- func BlockedAddrs() map[string]bool
- func GetMaccPerms() map[string][]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
- type QuerierWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockedAddrs ¶
BlockedAddrs returns all the app's module account addresses that are not allowed to receive tokens
func GetMaccPerms ¶
GetMaccPerms returns a copy of the module account permissions
Types ¶
type AppKeepers ¶
type AppKeepers struct {
ParamsKeeper paramskeeper.Keeper
CapabilityKeeper *capabilitykeeper.Keeper
CrisisKeeper *crisiskeeper.Keeper
UpgradeKeeper *upgradekeeper.Keeper
ConsensusParamsKeeper consensusparamkeeper.Keeper
ScopedIBCKeeper capabilitykeeper.ScopedKeeper
ScopedTransferKeeper capabilitykeeper.ScopedKeeper
ScopedWasmKeeper capabilitykeeper.ScopedKeeper
ScopedICQKeeper capabilitykeeper.ScopedKeeper
// keepers
AccountKeeper *authkeeper.AccountKeeper
BankKeeper bankkeeper.Keeper
AuthzKeeper authzkeeper.Keeper
StakingKeeper *stakingkeeper.Keeper
DistrKeeper distrkeeper.Keeper
SlashingKeeper slashingkeeper.Keeper
MintKeeper mintkeeper.Keeper
IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
IBCHooksKeeper *ibchookskeeper.Keeper
TransferKeeper ibctransferkeeper.Keeper
ICQKeeper *icqkeeper.Keeper
EvidenceKeeper evidencekeeper.Keeper
FanTokenKeeper fantokenkeeper.Keeper
WasmKeeper wasmkeeper.Keeper
CadenceKeeper cadencekeeper.Keeper
IBCFeeKeeper ibcfeekeeper.Keeper
IBCWasmClientKeeper *ibcwasmkeeper.Keeper
FeeGrantKeeper feegrantkeeper.Keeper
GovKeeper govkeeper.Keeper
ContractKeeper *wasmkeeper.PermissionedKeeper
SmartAccountKeeper *smartaccountkeeper.Keeper
AuthenticatorManager *authenticator.AuthenticatorManager
ProtocolPoolKeeper protocolpoolkeeper.Keeper
// Middleware wrapper
Ics20WasmHooks *ibchooks.WasmHooks
HooksICS4Wrapper ibchooks.ICS4Middleware
PacketForwardKeeper *packetforwardkeeper.Keeper
// contains filtered or unexported fields
}
func NewAppKeepers ¶
func NewAppKeepers( appCodec codec.Codec, encodingConfig appparams.EncodingConfig, bApp *baseapp.BaseApp, cdc *codec.LegacyAmino, maccPerms map[string][]string, appOpts servertypes.AppOptions, wasmOpts []wasmkeeper.Option, wasmDir string, wasmConfig wasmtypes.WasmConfig, ibcWasmConfig ibcwasmtypes.WasmConfig, ) 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.
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
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
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)