Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.75 KB

UPGRADE-PROCEDURES.md

File metadata and controls

52 lines (35 loc) · 1.75 KB

1.3.0 -> 1.4.0

USDTieredSTO & Oracles

  1. Deploy Oracles
  • a) Deploy POLY Oracle

  • a.i) Add Poly Oracle key to mapping on PolymathRegistry PolymathRegistry.changeAddress("PolyUsdOracle",[POLYoracleAddress])

  • b) Deploy ETH Oracle

  • b.i) Add Eth Oracle key to mapping on PolymathRegistry PolymathRegistry.changeAddress("EthUsdOracle",[ETHoracleAddress])

  • c) Change ownership of both Oracles to Polymath Multisig

  1. Deploy USDTieredSTOFactory contract and verify it on the ModuleRegistry:
  • a) Example params: 0x9992ec3cf6a55b00978cddf2b27bc6882d88d1ec, 100000000000000000000000,0,0

  • b) ModuleRegistry -> RegisterModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3

  • c) ModuleRegistry -> VerifyModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3, true

  • d) Change ownership of USDTieredSTOFactory to Polymath Multisig

  1. Deploy CappedSTOFactory contract and verify it on the ModuleRegistry:
  • a) Example params: 0x9992ec3cf6a55b00978cddf2b27bc6882d88d1ec, 20000000000000000000000,0,0

  • b) ModuleRegistry -> RegisterModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3

  • c) ModuleRegistry -> VerifyModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3, true

  • d) Change ownership of CappedSTOFactory to Polymath Multisig

  • e) Un-verify old CappedSTOFactory

  1. Deploy ManualApprovalTransferManager contract and verify it on the ModuleRegistry:
  • a) Example params: 0x9992ec3cf6a55b00978cddf2b27bc6882d88d1ec, 0,0,0

  • b) ModuleRegistry -> RegisterModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3

  • c) ModuleRegistry -> VerifyModule Example params: 0xd4eb00b4e222ae13b657edb3e29e1d2df090c1d3, true

  • d) Change ownership of ManualApprovalTransferManager to Polymath Multisig