|
| 1 | +general: |
| 2 | + arbitrator: &arbitrator "0x87D11BD744b882b7bc5A6b5450cbA8C35D90eb10" # Arbitration Council |
| 3 | + governor: &governor "0x1679A1D1caf1252BA43Fb8Fc17ebF914a0C725AE" # Graph Council |
| 4 | + authority: &authority "0xe1EC4339019eC9628438F8755f847e3023e4ff9c" # Authority that signs payment vouchers |
| 5 | + |
| 6 | +contracts: |
| 7 | + Controller: |
| 8 | + calls: |
| 9 | + - fn: "setContractProxy" |
| 10 | + id: "0xe6876326c1291dfcbbd3864a6816d698cd591defc7aa2153d7f9c4c04016c89f" # keccak256('Curation') |
| 11 | + contractAddress: "${{Curation.address}}" |
| 12 | + - fn: "setContractProxy" |
| 13 | + id: "0x39605a6c26a173774ca666c67ef70cf491880e5d3d6d0ca66ec0a31034f15ea3" # keccak256('GNS') |
| 14 | + contractAddress: "${{GNS.address}}" |
| 15 | + - fn: "setContractProxy" |
| 16 | + id: "0xf942813d07d17b56de9a9afc8de0ced6e8c053bbfdcc87b7badea4ddcf27c307" # keccak256('DisputeManager') |
| 17 | + contractAddress: "${{DisputeManager.address}}" |
| 18 | + - fn: "setContractProxy" |
| 19 | + id: "0xc713c3df6d14cdf946460395d09af88993ee2b948b1a808161494e32c5f67063" # keccak256('EpochManager') |
| 20 | + contractAddress: "${{EpochManager.address}}" |
| 21 | + - fn: "setContractProxy" |
| 22 | + id: "0x966f1e8d8d8014e05f6ec4a57138da9be1f7c5a7f802928a18072f7c53180761" # keccak256('RewardsManager') |
| 23 | + contractAddress: "${{RewardsManager.address}}" |
| 24 | + - fn: "setContractProxy" |
| 25 | + id: "0x1df41cd916959d1163dc8f0671a666ea8a3e434c13e40faef527133b5d167034" # keccak256('Staking') |
| 26 | + contractAddress: "${{Staking.address}}" |
| 27 | + - fn: "setContractProxy" |
| 28 | + id: "0x45fc200c7e4544e457d3c5709bfe0d520442c30bbcbdaede89e8d4a4bbc19247" # keccak256('GraphToken') |
| 29 | + contractAddress: "${{GraphToken.address}}" |
| 30 | + ServiceRegistry: |
| 31 | + proxy: true |
| 32 | + init: |
| 33 | + controller: "${{Controller.address}}" |
| 34 | + EpochManager: |
| 35 | + proxy: true |
| 36 | + init: |
| 37 | + controller: "${{Controller.address}}" |
| 38 | + lengthInBlocks: 277 # length in hours = lengthInBlocks*13/60/60 (~13 second blocks) |
| 39 | + GraphToken: |
| 40 | + init: |
| 41 | + initialSupply: "10000000000000000000000000000" # in wei |
| 42 | + calls: |
| 43 | + - fn: "addMinter" |
| 44 | + minter: "${{RewardsManager.address}}" |
| 45 | + Curation: |
| 46 | + proxy: true |
| 47 | + init: |
| 48 | + controller: "${{Controller.address}}" |
| 49 | + bondingCurve: "${{BancorFormula.address}}" |
| 50 | + curationTokenMaster: "${{GraphCurationToken.address}}" |
| 51 | + reserveRatio: 500000 # in parts per million |
| 52 | + curationTaxPercentage: 10000 # in parts per million |
| 53 | + minimumCurationDeposit: "1000000000000000000" # in wei |
| 54 | + DisputeManager: |
| 55 | + proxy: true |
| 56 | + init: |
| 57 | + controller: "${{Controller.address}}" |
| 58 | + arbitrator: *arbitrator |
| 59 | + minimumDeposit: "10000000000000000000000" # in wei |
| 60 | + fishermanRewardPercentage: 500000 # in parts per million |
| 61 | + idxSlashingPercentage: 20000 # in parts per million |
| 62 | + qrySlashingPercentage: 5000 # in parts per million |
| 63 | + GNS: |
| 64 | + proxy: true |
| 65 | + init: |
| 66 | + controller: "${{Controller.address}}" |
| 67 | + bondingCurve: "${{BancorFormula.address}}" |
| 68 | + subgraphNFT: "${{SubgraphNFT.address}}" |
| 69 | + calls: |
| 70 | + - fn: "approveAll" |
| 71 | + SubgraphNFT: |
| 72 | + init: |
| 73 | + governor: "${{Env.deployer}}" |
| 74 | + calls: |
| 75 | + - fn: "setTokenDescriptor" |
| 76 | + tokenDescriptor: "${{SubgraphNFTDescriptor.address}}" |
| 77 | + - fn: "setMinter" |
| 78 | + minter: "${{GNS.address}}" |
| 79 | + Staking: |
| 80 | + proxy: true |
| 81 | + init: |
| 82 | + controller: "${{Controller.address}}" |
| 83 | + minimumIndexerStake: "100000000000000000000000" # in wei |
| 84 | + thawingPeriod: 6646 # in blocks |
| 85 | + protocolPercentage: 10000 # in parts per million |
| 86 | + curationPercentage: 100000 # in parts per million |
| 87 | + channelDisputeEpochs: 2 # in epochs |
| 88 | + maxAllocationEpochs: 2 # in epochs |
| 89 | + delegationUnbondingPeriod: 6 # in epochs |
| 90 | + delegationRatio: 16 # delegated stake to indexer stake multiplier |
| 91 | + rebateAlphaNumerator: 77 # rebateAlphaNumerator / rebateAlphaDenominator |
| 92 | + rebateAlphaDenominator: 100 # rebateAlphaNumerator / rebateAlphaDenominator |
| 93 | + calls: |
| 94 | + - fn: "setDelegationTaxPercentage" |
| 95 | + delegationTaxPercentage: 5000 # parts per million |
| 96 | + - fn: "setSlasher" |
| 97 | + slasher: "${{DisputeManager.address}}" |
| 98 | + allowed: true |
| 99 | + - fn: "setAssetHolder" |
| 100 | + assetHolder: "${{AllocationExchange.address}}" |
| 101 | + allowed: true |
| 102 | + RewardsManager: |
| 103 | + proxy: true |
| 104 | + init: |
| 105 | + controller: "${{Controller.address}}" |
| 106 | + issuanceRate: "1000000012184945188" # per block increase of total supply, blocks in a year = 365*60*60*24/13 |
| 107 | + AllocationExchange: |
| 108 | + init: |
| 109 | + graphToken: "${{GraphToken.address}}" |
| 110 | + staking: "${{Staking.address}}" |
| 111 | + governor: *governor |
| 112 | + authority: *authority |
| 113 | + calls: |
| 114 | + - fn: "approveAll" |
0 commit comments