Documentation ¶
Index ¶
- func EmitAddLiquidityEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, liquidity sdk.Coins)
- func EmitRemoveLiquidityEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, liquidity sdk.Coins)
- func EmitSwapEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, input sdk.Coins, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmitAddLiquidityEvent ¶
func EmitSwapEvent ¶
func EmitSwapEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, input sdk.Coins, output sdk.Coins)
Emit swap event. Note that we emit these at the layer of each pool module rather than the poolmanager module since poolmanager has many swap wrapper APIs that we would need to consider. Search for references to this function to see where else it is used. Each new pool module will have to emit this event separately
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.