-
Notifications
You must be signed in to change notification settings - Fork 55
/
events.go
30 lines (28 loc) · 1.24 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
package types
// Event types for the farming module.
const (
EventTypeCreateFixedAmountPlan = "create_fixed_amount_plan"
EventTypeCreateRatioPlan = "create_ratio_plan"
EventTypeStake = "stake"
EventTypeUnstake = "unstake"
EventTypeHarvest = "harvest"
EventTypeRemovePlan = "remove_plan"
EventTypeRewardsWithdrawn = "rewards_withdrawn"
EventTypePlanTerminated = "plan_terminated"
EventTypeRewardsAllocated = "rewards_allocated"
AttributeKeyPlanId = "plan_id" //nolint:golint
AttributeKeyPlanName = "plan_name"
AttributeKeyFarmingPoolAddress = "farming_pool_address"
AttributeKeyTerminationAddress = "termination_address"
AttributeKeyStakingCoins = "staking_coins"
AttributeKeyUnstakingCoins = "unstaking_coins"
AttributeKeyRewardCoins = "reward_coins"
AttributeKeyStartTime = "start_time"
AttributeKeyEndTime = "end_time"
AttributeKeyEpochAmount = "epoch_amount"
AttributeKeyEpochRatio = "epoch_ratio"
AttributeKeyFarmer = "farmer"
AttributeKeyAmount = "amount"
AttributeKeyStakingCoinDenom = "staking_coin_denom"
AttributeKeyStakingCoinDenoms = "staking_coin_denoms"
)