-
Notifications
You must be signed in to change notification settings - Fork 3
/
events.go
44 lines (42 loc) · 1.81 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package types
// Event types for the liquidity module.
const (
EventTypeCreatePair = "create_pair"
EventTypeCreatePool = "create_pool"
EventTypeDeposit = "deposit"
EventTypeWithdraw = "withdraw"
EventTypeLimitOrder = "limit_order"
EventTypeMarketOrder = "market_order"
EventTypeCancelOrder = "cancel_order"
EventTypeDepositResult = "deposit_result"
EventTypeWithdrawalResult = "withdrawal_result"
EventTypeOrderResult = "order_result"
AttributeKeyCreator = "creator"
AttributeKeyDepositor = "depositor"
AttributeKeyWithdrawer = "withdrawer"
AttributeKeyOrderer = "orderer"
AttributeKeyBaseCoinDenom = "base_coin_denom"
AttributeKeyQuoteCoinDenom = "quote_coin_denom"
AttributeKeyDepositCoins = "deposit_coins"
AttributeKeyAcceptedCoins = "accepted_coins"
AttributeKeyMintedPoolCoin = "minted_pool_coin"
AttributeKeyPoolCoin = "pool_coin"
AttributeKeyWithdrawnCoins = "withdrawn_coins"
AttributeKeyRefundedCoins = "refunded_coins"
AttributeKeyReserveAddress = "reserve_address"
AttributeKeyEscrowAddress = "escrow_address"
AttributeKeyRequestId = "request_id"
AttributeKeyPoolId = "pool_id"
AttributeKeyPairId = "pair_id"
AttributeKeyBatchId = "batch_id"
AttributeKeyOrderId = "order_id"
AttributeKeyOrderDirection = "order_direction"
AttributeKeyOfferCoin = "offer_coin"
AttributeKeyDemandCoinDenom = "demand_coin_denom"
AttributeKeyPrice = "price"
AttributeKeyAmount = "amount"
AttributeKeyExpireAt = "expire_at"
AttributeKeyRemainingOfferCoin = "remaining_offer_coin"
AttributeKeyReceivedCoin = "received_coin"
AttributeKeyStatus = "status"
)