Documentation
¶
Index ¶
- Constants
- func AcceptedQueries() map[string]func() proto.Message
- func BlockedAddresses() map[string]bool
- func GetMaccPerms() map[string][]string
- func JunoGasRegisterConfig() wasmtypes.WasmGasRegisterConfig
- func NewJunoWasmGasRegister() wasmtypes.WasmGasRegister
- type AppKeepers
- func (appKeepers *AppKeepers) GenerateKeys()
- func (appKeepers *AppKeepers) GetKVStoreKeys() map[string]*storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetMemoryStoreKeys() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (appKeepers *AppKeepers) GetTransientStoreKeys() map[string]*storetypes.TransientStoreKey
Constants ¶
View Source
const ( // DefaultJunoInstanceCost is initially set the same as in wasmd DefaultJunoInstanceCost uint64 = 60_000 // DefaultJunoCompileCost set to a large number for testing DefaultJunoCompileCost uint64 = 3 )
Variables ¶
This section is empty.
Functions ¶
func AcceptedQueries ¶
func BlockedAddresses ¶
BlockedAddresses returns all the app's blocked account addresses.
func GetMaccPerms ¶
GetMaccPerms returns a copy of the module account permissions
func JunoGasRegisterConfig ¶
func JunoGasRegisterConfig() wasmtypes.WasmGasRegisterConfig
JunoGasRegisterConfig is defaults plus a custom compile amount
func NewJunoWasmGasRegister ¶
func NewJunoWasmGasRegister() wasmtypes.WasmGasRegister
Types ¶
type AppKeepers ¶
type AppKeepers struct {
// keepers
AccountKeeper authkeeper.AccountKeeper
BankKeeper bankkeeper.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
IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
ICQKeeper icqkeeper.Keeper
IBCFeeKeeper ibcfeekeeper.Keeper
IBCHooksKeeper *ibchookskeeper.Keeper
PacketForwardKeeper *packetforwardkeeper.Keeper
EvidenceKeeper evidencekeeper.Keeper
TransferKeeper ibctransferkeeper.Keeper
AuthzKeeper authzkeeper.Keeper
FeeGrantKeeper feegrantkeeper.Keeper
NFTKeeper nftkeeper.Keeper
FeePayKeeper feepaykeeper.Keeper
GlobalFeeKeeper globalfeekeeper.Keeper
ContractKeeper wasmtypes.ContractOpsKeeper
ClockKeeper clockkeeper.Keeper
CWHooksKeeper cwhookskeeper.Keeper
ConsensusParamsKeeper consensusparamkeeper.Keeper
ICAControllerKeeper icacontrollerkeeper.Keeper
ICAHostKeeper icahostkeeper.Keeper
// make scoped keepers public for test purposes
ScopedIBCKeeper capabilitykeeper.ScopedKeeper
ScopedICQKeeper capabilitykeeper.ScopedKeeper
ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper
ScopedFeeMockKeeper capabilitykeeper.ScopedKeeper
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper
ScopedTransferKeeper capabilitykeeper.ScopedKeeper
WasmKeeper wasmkeeper.Keeper
TokenFactoryKeeper tokenfactorykeeper.Keeper
DripKeeper dripkeeper.Keeper
// Middleware wrapper
Ics20WasmHooks *ibc_hooks.WasmHooks
HooksICS4Wrapper ibc_hooks.ICS4Middleware
// contains filtered or unexported fields
}
func NewAppKeepers ¶
func NewAppKeepers( appCodec codec.Codec, bApp *baseapp.BaseApp, cdc *codec.LegacyAmino, maccPerms map[string][]string, appOpts servertypes.AppOptions, wasmOpts []wasmkeeper.Option, bondDenom string, homePath string, ) AppKeepers
func (*AppKeepers) GenerateKeys ¶
func (appKeepers *AppKeepers) GenerateKeys()
func (*AppKeepers) GetKVStoreKeys ¶
func (appKeepers *AppKeepers) GetKVStoreKeys() map[string]*storetypes.KVStoreKey
func (*AppKeepers) GetKey ¶
func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
func (*AppKeepers) GetMemKey ¶
func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
func (*AppKeepers) GetMemoryStoreKeys ¶
func (appKeepers *AppKeepers) GetMemoryStoreKeys() 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
func (*AppKeepers) GetTransientStoreKeys ¶
func (appKeepers *AppKeepers) GetTransientStoreKeys() map[string]*storetypes.TransientStoreKey
Click to show internal directories.
Click to hide internal directories.