Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.49 KB

change_controller.md

File metadata and controls

29 lines (22 loc) · 1.49 KB

Steps to change CoFiXController

truffle exec scripts/deployOracleMock.js --network ropsten --nest 0xB9746A8572DB5C27597fE88B86B6520599Bf62d4
truffle exec scripts/deployController.js --network ropsten --nest 0xB9746A8572DB5C27597fE88B86B6520599Bf62d4 --factory 0xDDe373ef91a4a362078f405194be54dE0a9636F4 --oracle 0x2183B4bC72c299FDDFf27D4bDBc635bbc8cA5e44 --table 0xDB69107004694428aab5E6F196dcdd588F52B745
truffle exec scripts/setControllerToFactory.js --network ropsten --factory 0xDDe373ef91a4a362078f405194be54dE0a9636F4 --controller 0xe1f60D39434272BbFFc2245CE1C6194BC728978E
truffle exec scripts/feedPriceToConstOracleMock.js --network ropsten --token 0x9aA0AF152cf141740f19D335b5ddE1F0E51008A7  --ethAmount "10000000000000000000" --tokenAmount "339880000000000000" --oracle 0x2183B4bC72c299FDDFf27D4bDBc635bbc8cA5e44
truffle exec scripts/feedPriceToConstOracleMock.js --network ropsten --token 0xD52d3bfCA0d39E4bD5378e0BBa8AD245C3F58C17  --ethAmount "10000000000000000000" --tokenAmount "3862600000" --oracle 0x2183B4bC72c299FDDFf27D4bDBc635bbc8cA5e44
truffle exec scripts/setThetaToController.js --network ropsten --controller 0xe1f60D39434272BbFFc2245CE1C6194BC728978E  --token 0xD52d3bfCA0d39E4bD5378e0BBa8AD245C3F58C17 --theta 10
truffle exec scripts/setThetaToController.js --network ropsten --controller 0xe1f60D39434272BbFFc2245CE1C6194BC728978E  --token 0x9aA0AF152cf141740f19D335b5ddE1F0E51008A7 --theta 10