Create the flattened contract code by running the following from the augur-core repo:
npm run build:flattener
cd source/contracts
../../venv/bin/solidity_flattener --allow . external/EscapeHatchController.sol > FlatEscapeHatchController.sol
Deploy the contract in your way of choosing and note the compiler and optimization settings for verification on etherscan which should be done right after.
Initialize the EscapeHatchController
by setting the address of the Controller
contract:
EscapeHatchController.setController("0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7")
Transfer ownership of the Controller
to the EscapeHatchController
:
Controller.transferOwnership("0xTheAdddressOfTheEscapeHatchController")
Keep that key safe