Skip to content

Commit 43d192c

Browse files
committed
deploy: set testnet parameters
1 parent e2eb6e9 commit 43d192c

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

graph.config.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ contracts:
66
Curation:
77
init:
88
token: "${{GraphToken.address}}"
9-
reserveRatio: 500000 # 50% bonding curve reserve ratio parameter
9+
reserveRatio: 500000 # 50% (in basis points)
1010
minimumCurationDeposit: "100000000000000000000" # 100 GRT
1111
proxy: true
1212
calls:
1313
- fn: "setWithdrawalFeePercentage"
14-
withdrawalFeePercentage: 50000 # 5% fee for redeeming signal
14+
withdrawalFeePercentage: 50000 # 5% (in basis points)
1515
- fn: "setStaking"
1616
staking: "${{Staking.address}}"
1717
- fn: "setRewardsManager"
@@ -21,12 +21,12 @@ contracts:
2121
arbitrator: *arbitrator
2222
token: "${{GraphToken.address}}"
2323
staking: "${{Staking.address}}"
24-
minimumDeposit: "100000000000000000000" # 100 GRT
25-
fishermanRewardPercentage: 100000 # in basis points
26-
slashingPercentage: 50000 # in basis points
24+
minimumDeposit: "100000000000000000000" # 100 GRT (in wei)
25+
fishermanRewardPercentage: 100000 # 10% (in basis points)
26+
slashingPercentage: 100000 # 10% (in basis points)
2727
EpochManager:
2828
init:
29-
lengthInBlocks: 5760 # One day in blocks
29+
lengthInBlocks: 275 # ~1 hour (in blocks)
3030
proxy: true
3131
GNS:
3232
init:
@@ -47,14 +47,20 @@ contracts:
4747
calls:
4848
- fn: "setCuration"
4949
curation: "${{Curation.address}}"
50+
- fn: "setCurationPercentage"
51+
percentage: 100000 # 10%
5052
- fn: "setChannelDisputeEpochs"
5153
channelDisputeEpochs: 1
5254
- fn: "setMaxAllocationEpochs"
53-
maxAllocationEpochs: 5
55+
maxAllocationEpochs: 24 # Based on epoch length this is ~1 day (in epochs)
5456
- fn: "setThawingPeriod"
55-
thawingPeriod: 20 # in blocks
57+
thawingPeriod: 275 # ~1 hour (in blocks)
5658
- fn: "setRewardsManager"
57-
thawingPeriod: "${{RewardsManager.address}}"
59+
rewardsManager: "${{RewardsManager.address}}"
60+
- fn: "setDelegationCapacity"
61+
delegationCapacity: 1 # 100% (multiplier)
62+
- fn: "setProtocolPercentage"
63+
protocolPercentage: 10000 # 1% (in basis points)
5864
RewardsManager:
5965
init:
6066
token: "${{GraphToken.address}}"

0 commit comments

Comments
 (0)