-
Notifications
You must be signed in to change notification settings - Fork 3
/
weights.go
36 lines (30 loc) · 1.28 KB
/
weights.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 params
// Default simulation operation weights for messages and gov proposals.
const (
DefaultWeightMsgCreateFixedAmountPlan int = 10
DefaultWeightMsgCreateRatioPlan int = 10
DefaultWeightMsgStake int = 85
DefaultWeightMsgUnstake int = 20
DefaultWeightMsgHarvest int = 30
DefaultWeightMsgRemovePlan int = 10
DefaultWeightMsgCreatePair int = 10
DefaultWeightMsgCreatePool int = 15
DefaultWeightMsgCreateRangedPool int = 20
DefaultWeightMsgDeposit int = 20
DefaultWeightMsgWithdraw int = 20
DefaultWeightMsgLimitOrder int = 80
DefaultWeightMsgMarketOrder int = 60
DefaultWeightMsgCancelOrder int = 20
DefaultWeightMsgCancelAllOrders int = 20
DefaultWeightAddPublicPlanProposal int = 5
DefaultWeightUpdatePublicPlanProposal int = 5
DefaultWeightDeletePublicPlanProposal int = 5
DefaultWeightMsgLiquidStake int = 80
DefaultWeightMsgLiquidUnstake int = 30
DefaultWeightAddWhitelistValidatorsProposal int = 50
DefaultWeightUpdateWhitelistValidatorsProposal int = 5
DefaultWeightDeleteWhitelistValidatorsProposal int = 5
DefaultWeightCompleteRedelegationUnbonding int = 30
DefaultWeightTallyWithLiquidStaking int = 30
DefaultWeightMsgClaim int = 50
)