Documentation ¶
Index ¶
- func ModuleAccountAddrs() map[string]bool
- type TerraAppKeepers
- func (keepers *TerraAppKeepers) GenerateKeys()
- func (keepers *TerraAppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
- func (keepers *TerraAppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (keepers *TerraAppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (keepers *TerraAppKeepers) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *TerraAppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (keepers *TerraAppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (keepers *TerraAppKeepers) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey
- func (app *TerraAppKeepers) ModuleAccountAddrs() map[string]bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModuleAccountAddrs ¶
GetMaccPerms returns a copy of the module account permissions
Types ¶
type TerraAppKeepers ¶
type TerraAppKeepers struct { // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper custombankkeeper.Keeper CapabilityKeeper *capabilitykeeper.Keeper StakingKeeper *stakingkeeper.Keeper SlashingKeeper slashingkeeper.Keeper MintKeeper mintkeeper.Keeper DistrKeeper distrkeeper.Keeper GovKeeper govkeeper.Keeper CrisisKeeper crisiskeeper.Keeper UpgradeKeeper *upgradekeeper.Keeper ParamsKeeper paramskeeper.Keeper ConsensusParamsKeeper consensusparamkeeper.Keeper IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly EvidenceKeeper evidencekeeper.Keeper TransferKeeper ibctransferkeeper.Keeper AuthzKeeper authzkeeper.Keeper FeeGrantKeeper feegrantkeeper.Keeper ICAControllerKeeper icacontrollerkeeper.Keeper ICAHostKeeper icahostkeeper.Keeper IBCFeeKeeper ibcfeekeeper.Keeper PacketForwardKeeper packetforwardkeeper.Keeper TokenFactoryKeeper tokenfactorykeeper.Keeper AllianceKeeper alliancekeeper.Keeper ICQKeeper icqkeeper.Keeper // IBC hooks IBCHooksKeeper *ibchookskeeper.Keeper TransferStack porttypes.Middleware Ics20WasmHooks *ibchooks.WasmHooks HooksICS4Wrapper ibchooks.ICS4Middleware // make scoped keepers public for test purposes ScopedIBCKeeper capabilitykeeper.ScopedKeeper ScopedTransferKeeper capabilitykeeper.ScopedKeeper ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper ScopedICAHostKeeper capabilitykeeper.ScopedKeeper ScopedICQKeeper capabilitykeeper.ScopedKeeper WasmKeeper customwasmkeeper.Keeper // contains filtered or unexported fields }
func NewTerraAppKeepers ¶
func NewTerraAppKeepers( appCodec codec.Codec, baseApp *baseapp.BaseApp, cdc *codec.LegacyAmino, appOpts servertypes.AppOptions, wasmOpts []wasmkeeper.Option, homePath string, ) (keepers TerraAppKeepers)
func (*TerraAppKeepers) GenerateKeys ¶
func (keepers *TerraAppKeepers) GenerateKeys()
func (*TerraAppKeepers) GetKVStoreKey ¶
func (keepers *TerraAppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
func (*TerraAppKeepers) GetKey ¶
func (keepers *TerraAppKeepers) 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 (*TerraAppKeepers) GetMemKey ¶
func (keepers *TerraAppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
GetMemKey returns the MemStoreKey for the provided mem key.
NOTE: This is solely used for testing purposes.
func (*TerraAppKeepers) GetMemoryStoreKey ¶
func (keepers *TerraAppKeepers) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey
func (*TerraAppKeepers) GetSubspace ¶
func (appKeepers *TerraAppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
GetSubspace returns a param subspace for a given module name.
func (*TerraAppKeepers) GetTKey ¶
func (keepers *TerraAppKeepers) 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 (*TerraAppKeepers) GetTransientStoreKey ¶
func (keepers *TerraAppKeepers) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey
func (*TerraAppKeepers) ModuleAccountAddrs ¶
func (app *TerraAppKeepers) ModuleAccountAddrs() map[string]bool
ModuleAccountAddrs returns all the app's module account addresses.
Click to show internal directories.
Click to hide internal directories.