-
Notifications
You must be signed in to change notification settings - Fork 16
/
events.go
36 lines (34 loc) · 1.41 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
package types
const (
EventTypeRegisterPool = "pool_new"
EventTypeUpdatePool = "pool_update"
EventTypeNewDraw = "draw_new"
EventTypeDrawSuccess = "draw_success"
EventTypeDeposit = "deposit"
EventTypeDepositRetry = "deposit_retry"
EventTypeDepositEdit = "deposit_edit"
EventTypeNewPrize = "prize_new"
EventTypeClaimPrize = "prize_claim"
EventTypeClawbackPrize = "prize_clawback"
EventTypeRedelegate = "redelegate"
EventTypeWithdrawDeposit = "withdraw_deposit"
EventTypeWithdrawDepositRetry = "withdraw_deposit_retry"
EventTypeEpochUnbonding = "epoch_unbonding"
EventTypeGenerateSeed = "generate_seed"
AttributeKeyPoolID = "pool_id"
AttributeKeyDrawID = "draw_id"
AttributeKeyOperatorAddress = "operator_address"
AttributeKeyPrizeID = "prize_id"
AttributeKeyDepositID = "deposit_id"
AttributeKeyWithdrawalID = "withdrawal_id"
AttributeKeyState = "state"
AttributeKeyDepositor = "depositor"
AttributeKeyWinner = "winner"
AttributeKeyRecipient = "recipient"
AttributeKeyPrizePool = "prize_pool"
AttributeKeyTotalWinners = "total_winners"
AttributeKeyTotalWinAmount = "total_win_amount"
AttributeKeySponsor = "sponsor"
AttributeKeyEpochID = "epoch_id"
AttributeSeed = "seed"
)