Skip to content

Commit c3e7ed4

Browse files
committed
config: update parameters for mainnet
1 parent 279a9d7 commit c3e7ed4

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

graph.config.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
general:
2-
arbitrator: &arbitrator "0x23D1B1823e6Cb5229137424f88C70fdA1539F1F9"
2+
arbitrator: &arbitrator "0xE1FDD398329C6b74C14cf19100316f0826a492d3"
33

44
contracts:
55
Controller:
@@ -33,7 +33,7 @@ contracts:
3333
proxy: true
3434
init:
3535
controller: "${{Controller.address}}"
36-
lengthInBlocks: 138 # ~30 min (in blocks)
36+
lengthInBlocks: 6646 # 24 hours (in 13 second blocks)
3737
GraphToken:
3838
init:
3939
initialSupply: "10000000000000000000000000000" # 10,000,000,000 GRT
@@ -46,16 +46,16 @@ contracts:
4646
controller: "${{Controller.address}}"
4747
bondingCurve: "${{BancorFormula.address}}"
4848
reserveRatio: 500000 # 50% (parts per million)
49-
curationTaxPercentage: 50000 # 5% (parts per million)
49+
curationTaxPercentage: 25000 # 2.5% (parts per million)
5050
minimumCurationDeposit: "1000000000000000000" # 1 GRT
5151
DisputeManager:
5252
proxy: true
5353
init:
5454
controller: "${{Controller.address}}"
5555
arbitrator: *arbitrator
56-
minimumDeposit: "10000000000000000000" # 10 GRT (in wei)
57-
fishermanRewardPercentage: 100000 # 10% (parts per million)
58-
slashingPercentage: 100000 # 10% (parts per million)
56+
minimumDeposit: "10000000000000000000000" # 10,000 GRT (in wei)
57+
fishermanRewardPercentage: 500000 # 50% (parts per million)
58+
slashingPercentage: 25000 # 2.5% (parts per million)
5959
GNS:
6060
proxy: true
6161
init:
@@ -68,27 +68,27 @@ contracts:
6868
proxy: true
6969
init:
7070
controller: "${{Controller.address}}"
71-
minimumIndexerStake: "10000000000000000000" # 10 GRT (in wei)
72-
thawingPeriod: 275 # ~1 hour (in blocks)
71+
minimumIndexerStake: "100000000000000000000000" # 100,000 GRT (in wei)
72+
thawingPeriod: 6646 # 24 hours (in blocks)
7373
protocolPercentage: 10000 # 1% (parts per million)
74-
curationPercentage: 100000 # 10%
75-
channelDisputeEpochs: 8
76-
maxAllocationEpochs: 24 # Based on epoch length this is ~12 hrs (in epochs)
77-
delegationUnbondingPeriod: 2 # epochs
78-
delegationRatio: 100 # 100x (multiplier)
79-
rebateAlphaNumerator: 85
80-
rebateAlphaDenominator: 100
74+
curationPercentage: 100000 # 10% (parts per million)
75+
channelDisputeEpochs: 7 # (in epochs)
76+
maxAllocationEpochs: 28 # Based on epoch length this is 28 days (in epochs)
77+
delegationUnbondingPeriod: 28 # Based on epoch length this is 28 days (in epochs)
78+
delegationRatio: 16 # 16x (delegated stake to indexer stake multiplier)
79+
rebateAlphaNumerator: 77 # rebateAlphaNumerator / rebateAlphaDenominator
80+
rebateAlphaDenominator: 100 # rebateAlphaNumerator / rebateAlphaDenominator
8181
calls:
8282
- fn: "setDelegationTaxPercentage"
83-
delegationTaxPercentage: 10000 # 1% (parts per million)
83+
delegationTaxPercentage: 5000 # 0.5% (parts per million)
8484
- fn: "setSlasher"
8585
slasher: "${{DisputeManager.address}}"
8686
allowed: true
8787
RewardsManager:
8888
proxy: true
8989
init:
9090
controller: "${{Controller.address}}"
91-
issuanceRate: "1000000012184945188" # 3% annual rate. rate*365*60*60*24/13
91+
issuanceRate: "1000000012184945188" # 3% annual rate (per block increase of total supply, blocks in a year = 365*60*60*24/13)
9292
GRTAssetHolder:
9393
init:
9494
adjudicatorAddress: "0xaa94bed44fc8195b029628341f13a695f1348c04"

0 commit comments

Comments
 (0)