-
Notifications
You must be signed in to change notification settings - Fork 117
/
events.go
42 lines (40 loc) · 2.45 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
package types
// clp module event types
const (
EventTypeCreatePool = "created_new_pool"
EventTypeDecommissionPool = "decommission_pool"
EventTypeAddNewPmtpPolicy = "pmtp_new_policy"
EventTypeEndPmtpPolicy = "pmtp_end_policy"
EventTypeCreateLiquidityProvider = "created_new_liquidity_provider"
EventTypeAddLiquidity = "added_liquidity"
EventTypeRemoveLiquidity = "removed_liquidity"
EventTypeRequestUnlock = "request_unlock_liquidity"
EventTypeCancelUnlock = "cancel_unlock_liquidity"
EventTypeSwap = "swap_successful"
EventTypeSwapFailed = "swap_failed"
EventTypeUpdateLiquidityProtectionParams = "liquidity_protection_update_params"
EventTypeUpdateLiquidityProtectionRateParams = "liquidity_protection_update_rate_params"
EventTypeAddNewProviderDistributionPolicy = "lppd_new_policy"
EventTypeProviderDistributionDistribution = "lppd_distribution"
AttributeKeyThreshold = "min_threshold"
AttributeKeySwapAmount = "swap_amount"
AttributeKeyLiquidityFee = "liquidity_fee"
AttributeKeyPriceImpact = "price_impact"
AttributeKeyInPool = "in_pool"
AttributeKeyOutPool = "out_pool"
AttributePmtpBlockRate = "pmtp_block_rate"
AttributePmtpCurrentRunningRate = "pmtp_current_running_rate"
AttributeKeyPool = "pool"
AttributeKeyHeight = "height"
AttributeKeyLiquidityProvider = "liquidity_provider"
AttributeKeyUnits = "liquidity_units"
AttributeKeyPmtpPolicyParams = "pmtp_policy_params"
AttributeKeyPmtpRateParams = "pmtp_rate_params"
AttributeKeyLiquidityProtectionParams = "liquidity_protection_params"
AttributeKeyLiquidityProtectionRateParams = "liquidity_protection_rate_params"
AttributeKeyProviderDistributionParams = "lppd_params"
AttributeValueCategory = ModuleName
AttributeProbiverDistributionAmount = "lppd_distribution_amount"
AttributeProbiverDistributionReceiver = "lppd_distribution_receiver"
AttributeKeyError = "error"
)