Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) GetLegacyParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) Swap(ctx sdk.Context, packet channeltypes.Packet, ...) error
- func (k Keeper) SwapExactAmountIn(ctx sdk.Context, addr sdk.AccAddress, tokenIn sdk.Coin, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { Cdc codec.BinaryCodec // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( Cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ps paramtypes.Subspace, ammKeeper ammkeeper.Keeper, ) *Keeper
func (Keeper) GetLegacyParams ¶ added in v0.45.0
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) Swap ¶
func (k Keeper) Swap( ctx sdk.Context, packet channeltypes.Packet, data transfertypes.FungibleTokenPacketData, packetMetadata types.AmmPacketMetadata, ) error
func (Keeper) SwapExactAmountIn ¶
func (k Keeper) SwapExactAmountIn(ctx sdk.Context, addr sdk.AccAddress, tokenIn sdk.Coin, routes []ammtypes.SwapAmountInRoute) error
Click to show internal directories.
Click to hide internal directories.