github.com/gravity-devs/liquidity@v1.5.3/x/liquidity/types/events.go (about) 1 package types 2 3 // Event types for the liquidity module. 4 const ( 5 EventTypeCreatePool = TypeMsgCreatePool 6 EventTypeDepositWithinBatch = TypeMsgDepositWithinBatch 7 EventTypeWithdrawWithinBatch = TypeMsgWithdrawWithinBatch 8 EventTypeSwapWithinBatch = TypeMsgSwapWithinBatch 9 EventTypeDepositToPool = "deposit_to_pool" 10 EventTypeWithdrawFromPool = "withdraw_from_pool" 11 EventTypeSwapTransacted = "swap_transacted" 12 13 AttributeValuePoolId = "pool_id" //nolint:revive 14 AttributeValuePoolTypeId = "pool_type_id" //nolint:revive 15 AttributeValuePoolName = "pool_name" 16 AttributeValueReserveAccount = "reserve_account" 17 AttributeValuePoolCoinDenom = "pool_coin_denom" 18 AttributeValuePoolCoinAmount = "pool_coin_amount" 19 AttributeValueBatchIndex = "batch_index" 20 AttributeValueMsgIndex = "msg_index" 21 22 AttributeValueDepositCoins = "deposit_coins" 23 24 AttributeValueOfferCoinDenom = "offer_coin_denom" 25 AttributeValueOfferCoinAmount = "offer_coin_amount" 26 AttributeValueOfferCoinFeeAmount = "offer_coin_fee_amount" 27 AttributeValueExchangedCoinFeeAmount = "exchanged_coin_fee_amount" 28 AttributeValueDemandCoinDenom = "demand_coin_denom" 29 AttributeValueOrderPrice = "order_price" 30 31 AttributeValueDepositor = "depositor" 32 AttributeValueRefundedCoins = "refunded_coins" 33 AttributeValueAcceptedCoins = "accepted_coins" 34 AttributeValueSuccess = "success" 35 AttributeValueWithdrawer = "withdrawer" 36 AttributeValueWithdrawCoins = "withdraw_coins" 37 AttributeValueWithdrawFeeCoins = "withdraw_fee_coins" 38 AttributeValueSwapRequester = "swap_requester" 39 AttributeValueSwapTypeId = "swap_type_id" //nolint:revive 40 AttributeValueSwapPrice = "swap_price" 41 42 AttributeValueTransactedCoinAmount = "transacted_coin_amount" 43 AttributeValueRemainingOfferCoinAmount = "remaining_offer_coin_amount" 44 AttributeValueExchangedOfferCoinAmount = "exchanged_offer_coin_amount" 45 AttributeValueExchangedDemandCoinAmount = "exchanged_demand_coin_amount" 46 AttributeValueReservedOfferCoinFeeAmount = "reserved_offer_coin_fee_amount" 47 AttributeValueOrderExpiryHeight = "order_expiry_height" 48 49 AttributeValueCategory = ModuleName 50 51 Success = "success" 52 Failure = "failure" 53 )