/
events.go
37 lines (32 loc) · 1.42 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
package types
const (
EventTypeDisburse = "disburse"
EventTypeDisburseToEscrow = "disburse_to_escrow"
EventTypeDisburseFromEscrow = "disburse_from_escrow"
EventTypeRevertFromEscrow = "revert_from_escrow"
EventTypeAddOperator = "add_operator"
EventTypeRemoveOperator = "remove_operator"
EventTypeCancelDisbursement = "cancel_disbursement"
EventTypeCreateSellOrder = "create_sell_order"
EventTypeCreateBuyOrder = "create_buy_order"
EventTypeTransfer = "transfer_to_distribution_module"
EventTypeSwap = "swap"
EventTypeAddBuyBackLiquidity = "AddBuyBackLiquidity"
EventTypeRemoveBuyBackLiquidity = "RemoveBuyBackLiquidity"
EventTypeBurnDistributionProfits = "BurnDistributionProfits"
EventTypeTransferFromDistributionProfitsToBuyBackLiquidity = "TransferFromDistributionProfitsToBuyBackLiquidity"
EventTypeTransferFromTreasuryToSwapEscrow = "TransferFromTreasuryToSwapEscrow"
EventTypeTransferSwapEscrowToBuyBack = "TransferSwapEscrowToBuyBack"
AttributeKeySender = "sender"
AttributeKeyRecipient = "recipient"
AttributeKeyAmount = "amount"
AttributeKeyReference = "reference"
AttributeKeyScheduledFor = "scheduledFor"
AttributeKeyOperator = "operator"
AttributeKeyPinAmount = "pin_amount"
AttributeKeyDinAmount = "din_amount"
AttributeKeyEscrowRemainder = "escrow_remainder"
AttributeKeyTitle = "title"
AttributeKeyDescription = "description"
AttributeValueModule = ModuleName
)