Versions in this module Expand all Collapse all v0 v0.2.0 Feb 10, 2022 Changes in this version + const InvalidDenom + type SwapKeeperTest struct + func NewSwapKeeperTest(bankeeper bankkeeper.Keeper, moduleName string) *SwapKeeperTest + func (s SwapKeeperTest) SwapExactAmountIn(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, tokenIn sdk.Coin, ...) (tokenOutAmount sdk.Int, spotPriceAfter sdk.Dec, err error) v0.1.0 Jan 20, 2022 Changes in this version + var DefaultNodeHome string + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, genutil.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + func GetMaccPerms() map[string][]string + func MakeTestEncodingConfig() simappparams.EncodingConfig + func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router) + func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) + type GammKeeperTest struct + func NewGammKeeperTest() *GammKeeperTest + func (gamm GammKeeperTest) CalculateSpotPrice(ctx sdk.Context, poolId uint64, tokenInDenom, tokenOutDenom string) (sdk.Dec, error) + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState(cdc codec.JSONCodec) GenesisState + type SimApp struct + AccountKeeper authkeeper.AccountKeeper + AuthzKeeper authzkeeper.Keeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + DistrKeeper distrkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GovKeeper govkeeper.Keeper + IBCKeeper *ibckeeper.Keeper + IbcGammKeeper ibcgammkeeper.Keeper + MintKeeper mintkeeper.Keeper + ParamsKeeper paramskeeper.Keeper + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedIBCMockKeeper capabilitykeeper.ScopedKeeper + ScopedIbcGammKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + SlashingKeeper slashingkeeper.Keeper + StakingKeeper stakingkeeper.Keeper + TransferKeeper ibctransferkeeper.Keeper + UpgradeKeeper upgradekeeper.Keeper + func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *SimApp + func (app *SimApp) AppCodec() codec.Codec + func (app *SimApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *SimApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *SimApp) GetBaseApp() *baseapp.BaseApp + func (app *SimApp) GetIBCKeeper() *ibckeeper.Keeper + func (app *SimApp) GetKey(storeKey string) *sdk.KVStoreKey + func (app *SimApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey + func (app *SimApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper + func (app *SimApp) GetStakingKeeper() stakingkeeper.Keeper + func (app *SimApp) GetSubspace(moduleName string) paramstypes.Subspace + func (app *SimApp) GetTKey(storeKey string) *sdk.TransientStoreKey + func (app *SimApp) GetTxConfig() client.TxConfig + func (app *SimApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *SimApp) InterfaceRegistry() types.InterfaceRegistry + func (app *SimApp) LegacyAmino() *codec.LegacyAmino + func (app *SimApp) LoadHeight(height int64) error + func (app *SimApp) ModuleAccountAddrs() map[string]bool + func (app *SimApp) Name() string + func (app *SimApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *SimApp) RegisterTendermintService(clientCtx client.Context) + func (app *SimApp) RegisterTxService(clientCtx client.Context) + func (app *SimApp) SimulationManager() *module.SimulationManager