-
Notifications
You must be signed in to change notification settings - Fork 197
/
events.go
56 lines (47 loc) · 2.13 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
45
46
47
48
49
50
51
52
53
54
55
56
// #nosec G101
package types
// Events
const (
EventTypeTimeout = "timeout"
AttributeKeyAckSuccess = "success"
AttributeKeyAck = "acknowledgement"
AttributeKeyAckError = "error"
)
const (
EventTypeRegisterZone = "register_zone"
EventTypeRedemptionRequest = "request_redemption"
EventTypeLiquidStakeRequest = "liquid_stake"
EventTypeLSMLiquidStakeRequest = "lsm_liquid_stake"
EventTypeHostZoneHalt = "halt_zone"
EventTypeValidatorSharesToTokensRateChange = "validator_shares_to_tokens_rate_change"
EventTypeValidatorSlash = "validator_slash"
EventTypeUndelegation = "undelegation"
AttributeKeyHostZone = "host_zone"
AttributeKeyConnectionId = "connection_id"
AttributeKeyRecipientChain = "chain_id"
AttributeKeyRecipientAddress = "recipient"
AttributeKeyBurnAmount = "burn_amount"
AttributeKeyRedeemAmount = "redeem_amount"
AttributeKeySourceAddress = "source"
AttributeKeyRedemptionRate = "redemption_rate"
AttributeKeyLiquidStaker = "liquid_staker"
AttributeKeyNativeBaseDenom = "native_base_denom"
AttributeKeyNativeIBCDenom = "native_ibc_denom"
AttributeKeyTotalUnbondAmount = "total_unbond_amount"
AttributeKeyLSMTokenBaseDenom = "lsm_token_base_denom"
AttributeKeyNativeAmount = "native_amount"
AttributeKeyStTokenAmount = "sttoken_amount"
AttributeKeyValidator = "validator"
AttributeKeyTransactionStatus = "transaction_status"
AttributeKeyLSMLiquidStakeTxId = "lsm_liquid_stake_tx_id"
AttributeKeyPreviousSharesToTokensRate = "previous_shares_to_tokens_rate"
AttributeKeyCurrentSharesToTokensRate = "current_shares_to_tokens_rate"
AttributeKeySlashPercent = "slash_percent"
AttributeKeySlashAmount = "slash_amount"
AttributeKeyCurrentDelegation = "current_delegation"
AttributeKeyError = "error"
AttributeValueCategory = ModuleName
AttributeValueTransactionSucceeded = "success"
AttributeValueTransactionPending = "pending"
AttributeValueTransactionFailed = "failed"
)