Versions in this module Expand all Collapse all v0 v0.16.15 Jul 20, 2023 v0.0.1 Jul 20, 2023 Changes in this version + func NewCosmWasmPoolProposalHandler(k Keeper) govtypes.Handler + func NewMsgCreatorServerImpl(keeper *Keeper) model.MsgCreatorServer + func NewMsgServerImpl(keeper *Keeper) types.MsgServer + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramSpace paramtypes.Subspace, ...) *Keeper + func (k *Keeper) InitGenesis(ctx sdk.Context, gen *types.GenesisState, unpacker codectypes.AnyUnpacker) + func (k *Keeper) SetContractKeeper(contractKeeper types.ContractKeeper) + func (k *Keeper) SetPoolManagerKeeper(poolmanagerKeeper types.PoolManagerKeeper) + func (k *Keeper) SetWasmKeeper(wasmKeeper types.WasmKeeper) + func (k Keeper) CalcInAmtGivenOut(ctx sdk.Context, poolI poolmanagertypes.PoolI, tokenOut sdk.Coin, ...) (tokenIn sdk.Coin, err error) + func (k Keeper) CalcOutAmtGivenIn(ctx sdk.Context, poolI poolmanagertypes.PoolI, tokenIn sdk.Coin, ...) (tokenOut sdk.Coin, err error) + func (k Keeper) CalculateSpotPrice(ctx sdk.Context, poolId uint64, quoteAssetDenom string, baseAssetDenom string) (price sdk.Dec, err error) + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) GetCodeIdByPoolId(ctx sdk.Context, poolId uint64) (sdk.AccAddress, uint64, error) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetPool(ctx sdk.Context, poolId uint64) (poolmanagertypes.PoolI, error) + func (k Keeper) GetPoolById(ctx sdk.Context, poolId uint64) (types.CosmWasmExtension, error) + func (k Keeper) GetPoolDenoms(ctx sdk.Context, poolId uint64) (denoms []string, err error) + func (k Keeper) GetPools(ctx sdk.Context) ([]poolmanagertypes.PoolI, error) + func (k Keeper) GetPoolsWithWasmKeeper(ctx sdk.Context) ([]poolmanagertypes.PoolI, error) + func (k Keeper) GetSerializedPools(ctx sdk.Context, pagination *query.PageRequest) ([]*codectypes.Any, *query.PageResponse, error) + func (k Keeper) GetTotalLiquidity(ctx sdk.Context) (sdk.Coins, error) + func (k Keeper) GetTotalPoolLiquidity(ctx sdk.Context, poolId uint64) (sdk.Coins, error) + func (k Keeper) InitializePool(ctx sdk.Context, pool poolmanagertypes.PoolI, creatorAddress sdk.AccAddress) error + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetPool(ctx sdk.Context, pool types.CosmWasmExtension) + func (k Keeper) SwapExactAmountIn(ctx sdk.Context, sender sdk.AccAddress, pool poolmanagertypes.PoolI, ...) (sdk.Int, error) + func (k Keeper) SwapExactAmountOut(ctx sdk.Context, sender sdk.AccAddress, pool poolmanagertypes.PoolI, ...) (tokenInAmount sdk.Int, err error) + func (k Keeper) ValidatePermissionlessPoolCreationEnabled(ctx sdk.Context) error + func (k Keeper) WhitelistCodeId(ctx sdk.Context, codeId uint64)