mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
36 lines
908 B
Go
Executable File
36 lines
908 B
Go
Executable File
package app
|
|
|
|
import (
|
|
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
|
|
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
|
|
|
|
"github.com/cosmos/cosmos-sdk/baseapp"
|
|
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
|
|
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
|
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
|
)
|
|
|
|
func (app *ChainApp) GetIBCKeeper() *ibckeeper.Keeper {
|
|
return app.IBCKeeper
|
|
}
|
|
|
|
func (app *ChainApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper {
|
|
return app.ScopedIBCKeeper
|
|
}
|
|
|
|
func (app *ChainApp) GetBaseApp() *baseapp.BaseApp {
|
|
return app.BaseApp
|
|
}
|
|
|
|
func (app *ChainApp) GetBankKeeper() bankkeeper.Keeper {
|
|
return app.BankKeeper
|
|
}
|
|
|
|
func (app *ChainApp) GetStakingKeeper() *stakingkeeper.Keeper {
|
|
return app.StakingKeeper
|
|
}
|
|
|
|
func (app *ChainApp) GetAccountKeeper() authkeeper.AccountKeeper {
|
|
return app.AccountKeeper
|
|
}
|