Documentation ¶
Index ¶
- type AppKeepers
- func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (appKeepers *AppKeepers) KvStoreKeys() map[string]*storetypes.KVStoreKey
- func (appKeepers *AppKeepers) MemoryStoreKeys() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) TransientStoreKeys() map[string]*storetypes.TransientStoreKey
- type DistrKeeperAdapter
- type GovKeeperAdapter
- func (a GovKeeperAdapter) AddDeposit(ctx context.Context, proposalID uint64, depositorAddr sdk.AccAddress, ...) (bool, error)
- func (a GovKeeperAdapter) GetGovernanceAccount(ctx context.Context) sdk.ModuleAccountI
- func (a GovKeeperAdapter) GetProposal(ctx context.Context, proposalID uint64) (v1.Proposal, error)
- func (a GovKeeperAdapter) SubmitProposal(ctx context.Context, messages []sdk.Msg, metadata, title, summary string, ...) (v1.Proposal, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppKeepers ¶
type AppKeepers struct { FeeGrantKeeper feegrantkeeper.Keeper 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 EvidenceKeeper *evidencekeeper.Keeper AuthzKeeper authzkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly IBCTransferKeeper ibctransferkeeper.Keeper IBCNFTTransferKeeper ibcnfttransferkeeper.Keeper ICAHostKeeper icahostkeeper.Keeper GuardianKeeper guardiankeeper.Keeper TokenKeeper tokenkeeper.Keeper RecordKeeper recordkeeper.Keeper NFTKeeper nftkeeper.Keeper MTKeeper mtkeeper.Keeper HTLCKeeper htlckeeper.Keeper CoinswapKeeper coinswapkeeper.Keeper ServiceKeeper servicekeeper.Keeper OracleKeeper oraclekeeper.Keeper RandomKeeper randomkeeper.Keeper FarmKeeper farmkeeper.Keeper TIBCKeeper *tibckeeper.Keeper TIBCNFTTransferKeeper tibcnfttransferkeeper.Keeper TIBCMTTransferKeeper tibcmttransferkeeper.Keeper EvmKeeper *evmkeeper.Keeper FeeMarketKeeper feemarketkeeper.Keeper TransferModule transfer.AppModule ICAModule ica.AppModule NftTransferModule tibcnfttransfer.AppModule MtTransferModule tibcmttransfer.AppModule IBCNftTransferModule nfttransfer.AppModule // contains filtered or unexported fields }
AppKeepers defines a structure used to consolidate all the keepers needed to run an iris app.
func New ¶
func New( appCodec codec.Codec, bApp *baseapp.BaseApp, legacyAmino *codec.LegacyAmino, maccPerms map[string][]string, modAccAddrs map[string]bool, blockedAddress map[string]bool, skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, logger log.Logger, appOpts servertypes.AppOptions, ) AppKeepers
New initializes a new instance of AppKeepers.
It takes in various parameters including appCodec, bApp, legacyAmino, maccPerms, modAccAddrs, blockedAddress, skipUpgradeHeights, homePath, invCheckPeriod, logger, and appOpts. It returns an instance of AppKeepers.
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) GetSubspace ¶
func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
GetSubspace returns a param subspace for a given module name.
NOTE: This is solely to be used for testing purposes.
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) KvStoreKeys ¶
func (appKeepers *AppKeepers) KvStoreKeys() map[string]*storetypes.KVStoreKey
KvStoreKeys returns the map of string to KVStoreKey.
None. map[string]*storetypes.KVStoreKey.
func (*AppKeepers) MemoryStoreKeys ¶
func (appKeepers *AppKeepers) MemoryStoreKeys() map[string]*storetypes.MemoryStoreKey
MemoryStoreKeys returns the map of type map[string]*storetypes.MemoryStoreKey.
No parameters. Returns a map of type map[string]*storetypes.MemoryStoreKey.
func (*AppKeepers) TransientStoreKeys ¶
func (appKeepers *AppKeepers) TransientStoreKeys() map[string]*storetypes.TransientStoreKey
TransientStoreKeys returns the map of transient store keys.
No parameters. Returns a map[string]*storetypes.TransientStoreKey.
type DistrKeeperAdapter ¶
type DistrKeeperAdapter struct {
// contains filtered or unexported fields
}
func NewDistrKeeperAdapter ¶
func NewDistrKeeperAdapter(keeper distrkeeper.Keeper) DistrKeeperAdapter
func (DistrKeeperAdapter) GetFeePool ¶
func (a DistrKeeperAdapter) GetFeePool(ctx context.Context) (distrtypes.FeePool, error)
func (DistrKeeperAdapter) SetFeePool ¶
func (a DistrKeeperAdapter) SetFeePool(ctx context.Context, feePool distrtypes.FeePool) error
type GovKeeperAdapter ¶
type GovKeeperAdapter struct {
// contains filtered or unexported fields
}
func NewGovKeeperAdapter ¶
func NewGovKeeperAdapter(keeper *govkeeper.Keeper) GovKeeperAdapter
func (GovKeeperAdapter) AddDeposit ¶
func (a GovKeeperAdapter) AddDeposit(ctx context.Context, proposalID uint64, depositorAddr sdk.AccAddress, depositAmount sdk.Coins) (bool, error)
func (GovKeeperAdapter) GetGovernanceAccount ¶
func (a GovKeeperAdapter) GetGovernanceAccount(ctx context.Context) sdk.ModuleAccountI