graphprotocol / contracts

Contracts repository for The Graph protocol

Home Page:https://thegraph.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add initialization actions to protocol deployment script

tmigone opened this issue · comments

The following actions need to be performed manually when deploying the protocol:

  • Deployer renounce minter (GraphToken.renounceMinter)
  • Set subgraph availability oracle (RewardsManager.setSubgraphAvailabilityOracle)
  • Set AssetHolder (Staking.setAssetHolder)
  • Set Pause Guardian (Controller.setPauseGuardian)
  • Transfer contract ownership to governor
    • Controller
    • GraphProxyAdmin
    • GraphToken
    • SubgraphNFT
  • Transfer contract ownership to allocation exchange owner
    • AllocationExchange

These could be done automatically by incorporating the required parameters into the config file graph.<network>.yml

Fixed in #631