diff --git a/README.md b/README.md index ef30f2c0..af2e9b5a 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,12 @@ Deprecated after migrating to Defender 2 (was 0x3D30452c48F2448764d5819a9A2b684A | Terms Permissioner | 0xC05D649368d8A5e2E98CAa205d47795de5fCB599 | View contract | | Tokenizer | 0xca63411FF5187431028d003eD74B57531408d2F9 | View contract | | Crowdsale | 0x8cA737E2cdaE1Ceb332bEf7ba9eA711a3a2f8037 | View contract | -| Locking Crowdsale | 0xaf7358576C9F7cD84696D28702fC5ADe33cce0e9 | View contract | +| Locking Crowdsale | 0x67D8ed102E2168A46FA342e39A5f7D16c103Bd0d | View contract | | Staked Crowdsale | 0xd1cE2EA7d3b0C9cAB025A4aD762FC00315141ad7 | View contract | + timelocked token implementation=0xF8F79c1E02387b0Fc9DE0945cD9A2c06F127D851 -new staked crowdsale (not used yet HUBS-224) 0x7eeb7113f90893fb95c6666e3930235850f2bc6A) +~~new staked crowdsale (not used yet HUBS-224) 0x7eeb7113f90893fb95c6666e3930235850f2bc6A)~~ #### Subgraphs diff --git a/script/prod/RolloutV25Sale.sol b/script/prod/RolloutV25Sale.sol index ca72a000..3e5b785f 100644 --- a/script/prod/RolloutV25Sale.sol +++ b/script/prod/RolloutV25Sale.sol @@ -7,7 +7,7 @@ import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy import { IPNFT } from "../../src/IPNFT.sol"; import { IPermissioner, TermsAcceptedPermissioner } from "../../src/Permissioner.sol"; import { StakedLockingCrowdSale } from "../../src/crowdsale/StakedLockingCrowdSale.sol"; -import { LockingCrowdSale } from "../../src/crowdsale/LockingCrowdSale.sol"; +import { LockingCrowdSale, ITrustedLockingContracts } from "../../src/crowdsale/LockingCrowdSale.sol"; import { TimelockedToken } from "../../src/TimelockedToken.sol"; contract RolloutV25Sale is Script { @@ -32,11 +32,13 @@ contract RolloutV25LockingSale is Script { function run() public { //mainnet 0xCfA0F84660fB33bFd07C369E5491Ab02C449f71B; address moleculeDevMultisig = 0x9d5a6ae551f1117946FF6e0e86ef9A1B20C90Cb0; - address stakedLockingCrowdsale = 0xd1cE2EA7d3b0C9cAB025A4aD762FC00315141ad7; + + ITrustedLockingContracts stakedLockingCrowdsale = ITrustedLockingContracts(0xd1cE2EA7d3b0C9cAB025A4aD762FC00315141ad7); TimelockedToken timelockedTokenImplementation = TimelockedToken(0xF8F79c1E02387b0Fc9DE0945cD9A2c06F127D851); vm.startBroadcast(); LockingCrowdSale lockingCrowdsale = new LockingCrowdSale(timelockedTokenImplementation); + lockingCrowdsale.trustLockingContractSource(stakedLockingCrowdsale); lockingCrowdsale.transferOwnership(moleculeDevMultisig); vm.stopBroadcast();