Documentation ¶
Index ¶
- Constants
- func EmitAssetsSwappedEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, tokenIn sdk.Coin, ...)
- func EmitPoolCreatedEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64)
- func EmitPoolExitedEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, numSharesIn sdk.Coin, ...)
- func EmitPoolJoinedEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, tokensIn sdk.Coins, ...)
- func NewAssetsSwappedEvent(sender sdk.AccAddress, poolId uint64, tokenIn sdk.Coin, tokenOut sdk.Coin) sdk.Event
- func NewPoolCreatedEvent(sender sdk.AccAddress, poolId uint64) sdk.Event
- func NewPoolExitedEvent(sender sdk.AccAddress, poolId uint64, numSharesIn sdk.Coin, ...) sdk.Event
- func NewPoolJoinedEvent(sender sdk.AccAddress, poolId uint64, tokensIn sdk.Coins, ...) sdk.Event
Constants ¶
View Source
const ( EventTypePoolCreated = "pool_created" EventTypePoolJoined = "pool_joined" EventTypePoolExited = "pool_exited" EventTypeAssetsSwapped = "assets_swapped" AttributeCreator = "creator" AttributeSender = "sender" AttributePoolId = "pool_id" AttributeTokensIn = "tokens_in" AttributeNumRemCoins = "rem_coins" AttributeTokensOut = "tokens_out" AttributeTokenIn = "token_in" AttributeTokenOut = "token_out" )
Variables ¶
This section is empty.
Functions ¶
func EmitAssetsSwappedEvent ¶ added in v0.1.0
func EmitPoolCreatedEvent ¶
func EmitPoolCreatedEvent(ctx sdk.Context, sender sdk.AccAddress, poolId uint64)
func EmitPoolExitedEvent ¶ added in v0.1.0
func EmitPoolJoinedEvent ¶
func NewAssetsSwappedEvent ¶ added in v0.1.0
func NewPoolCreatedEvent ¶
func NewPoolCreatedEvent(sender sdk.AccAddress, poolId uint64) sdk.Event
func NewPoolExitedEvent ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.