-
Notifications
You must be signed in to change notification settings - Fork 119
/
events.go
23 lines (21 loc) · 936 Bytes
/
events.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package types
// clp module event types
const (
EventTypeCreatePool = "created_new_pool"
EventTypeDecommissionPool = "decommission_pool"
EventTypeCreateLiquidityProvider = "created_new_liquidity_provider"
EventTypeAddLiquidity = "added_liquidity"
EventTypeRemoveLiquidity = "removed_liquidity"
EventTypeSwap = "swap_successful"
EventTypeSwapFailed = "swap_failed"
AttributeKeyThreshold = "min_threshold"
AttributeKeySwapAmount = "swap_amount"
AttributeKeyLiquidityFee = "liquidity_fee"
AttributeKeyPriceImpact = "price_impact"
AttributeKeyInPool = "in_pool"
AttributeKeyOutPool = "out_pool"
AttributeKeyPool = "pool"
AttributeKeyHeight = "height"
AttributeKeyLiquidityProvider = "liquidity_provider"
AttributeValueCategory = ModuleName
)