-
Notifications
You must be signed in to change notification settings - Fork 45
/
migrations.config.js
43 lines (41 loc) · 1.18 KB
/
migrations.config.js
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
import BigNumber from "bignumber.js"
const TOKEN_UNIT = 10 ** 18
const PERC_DIVISOR = 1000000
const PERC_MULTIPLIER = PERC_DIVISOR / 100
module.exports = {
bondingManager: {
numTranscoders: 10,
numActiveTranscoders: 5,
unbondingPeriod: 2
},
jobsManager: {
verificationRate: 100,
verificationPeriod: 50,
slashingPeriod: 50,
failedVerificationSlashAmount: 1,
missedVerificationSlashAmount: .1 * PERC_MULTIPLIER,
doubleClaimSegmentSlashAmount: 3 * PERC_MULTIPLIER,
finderFee: 5 * PERC_MULTIPLIER
},
roundsManager: {
roundLength: 50,
roundLockAmount: 100000
},
faucet: {
faucetAmount: new BigNumber(10000000).mul(TOKEN_UNIT),
requestAmount: new BigNumber(10).mul(TOKEN_UNIT),
requestWait: 2,
whitelist: []
},
minter: {
inflation: .0137 * PERC_MULTIPLIER,
inflationChange: .001 * PERC_MULTIPLIER,
targetBondingRate: 10 * PERC_MULTIPLIER
},
verifier: {
verificationCodeHash: "QmZmvi1BaYSdxM1Tgwhi2mURabh46xCkzuH9PWeAkAZZGc",
solvers: [],
gasPrice: 20000000000,
gasLimit: 3000000
}
}