-
Notifications
You must be signed in to change notification settings - Fork 55
/
events.go
29 lines (27 loc) · 1.08 KB
/
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
24
25
26
27
28
29
package types
// Event types for the liquidity module.
const (
EventTypeCreatePair = "create_pair"
EventTypeCreatePool = "create_pool"
EventTypeDepositBatch = "deposit_batch"
EventTypeWithdrawBatch = "withdraw_batch"
EventTypeSwapBatch = "swap_batch"
EventTypeCancelSwapBatch = "cancel_swap_batch"
AttributeKeyCreator = "creator"
AttributeKeyDepositor = "depositor"
AttributeKeyWithdrawer = "withdrawer"
AttributeKeyOrderer = "orderer"
AttributeKeyBaseCoinDenom = "base_coin_denom"
AttributeKeyQuoteCoinDenom = "quote_coin_denom"
AttributeKeyDepositCoins = "deposit_coins"
AttributeKeyMintedPoolCoin = "minted_pool_coin"
AttributeKeyPoolCoin = "pool_coin"
AttributeKeyRequestId = "request_id"
AttributeKeyPoolId = "pool_id"
AttributeKeyPairId = "pair_id"
AttributeKeyBatchId = "batch_id"
AttributeKeySwapRequestId = "swap_request_id"
AttributeKeySwapDirection = "swap_direction"
AttributeKeyRemainingAmount = "remaining_amount"
AttributeKeyReceivedAmount = "received_amount"
)