Files

36 lines
908 B
Go
Raw Permalink Normal View History

2024-07-05 22:20:13 -04:00
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"
)
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetIBCKeeper() *ibckeeper.Keeper {
2024-07-05 22:20:13 -04:00
return app.IBCKeeper
}
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper {
2024-07-05 22:20:13 -04:00
return app.ScopedIBCKeeper
}
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetBaseApp() *baseapp.BaseApp {
2024-07-05 22:20:13 -04:00
return app.BaseApp
}
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetBankKeeper() bankkeeper.Keeper {
2024-07-05 22:20:13 -04:00
return app.BankKeeper
}
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetStakingKeeper() *stakingkeeper.Keeper {
2024-07-05 22:20:13 -04:00
return app.StakingKeeper
}
2025-10-03 14:45:52 -04:00
func (app *ChainApp) GetAccountKeeper() authkeeper.AccountKeeper {
2024-07-05 22:20:13 -04:00
return app.AccountKeeper
}