diff --git a/active_contracts.json b/active_contracts.json index 2ba685f..d060d1b 100644 --- a/active_contracts.json +++ b/active_contracts.json @@ -1,11 +1,11 @@ { "bosagora_mainnet": { - "MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9" + "MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616" }, "bosagora_testnet": { - "MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9" + "MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616" }, "bosagora_devnet": { - "MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9" + "MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616" } } diff --git a/packages/contracts/env/.env.sample b/packages/contracts/env/.env.sample index b7150dc..abe2ca7 100644 --- a/packages/contracts/env/.env.sample +++ b/packages/contracts/env/.env.sample @@ -2,16 +2,7 @@ MAIN_NET_URL=https://mainnet.bosagora.org TEST_NET_URL=https://testnet.bosagora.org -# 0x02eaFC1091533F984dB53483a7215c7a982a3Ac1 -DEPLOYER=0xdf29fb48bf34751707572533b6d6b4544e9ca1efb4a1fce9442164b575c0c061 - -# 0x2312c098Cef41C0F55350bC3Ad8F4AFf983d9432 -OWNER1=0x7115a43c66bc8524959f721fa29a6f06605f21fe8dbcb8ec7d2ed9ddde1315bd - -# 0x5AD84fF1bD71cDEa7C3083706F2D1232a453C604 -OWNER2=0x5b93491a9dd558723ba323864e2312208127701154740c6a59a145f6cbc7d5e9 - -# 0x9630fF452211Cc95BBFa32c0C4cF68eB498b8549 -OWNER3=0xc48891d685be9c531b592f66da2988dc2f1e1eb83f0e6de8d9a483be221d8376 +# 0x6F8CF905906dDe9E440F0DF5B26146cf1f195F12 +DEPLOYER=0x0d451ab5bd459f59fda0cf8018cfbfa4df5c454c5c25a844b70a5afcaf246c98 REPORT_GAS=true diff --git a/packages/contracts/hardhat.config.ts b/packages/contracts/hardhat.config.ts index 26114b2..be7675a 100644 --- a/packages/contracts/hardhat.config.ts +++ b/packages/contracts/hardhat.config.ts @@ -25,27 +25,6 @@ function getAccounts() { accounts.push(process.env.DEPLOYER); } - if (process.env.OWNER1 !== undefined && process.env.OWNER1.trim() !== "" && reg_bytes64.test(process.env.OWNER1)) { - accounts.push(process.env.OWNER1); - } else { - process.env.OWNER1 = Wallet.createRandom().privateKey; - accounts.push(process.env.OWNER1); - } - - if (process.env.OWNER2 !== undefined && process.env.OWNER2.trim() !== "" && reg_bytes64.test(process.env.OWNER2)) { - accounts.push(process.env.OWNER2); - } else { - process.env.OWNER = Wallet.createRandom().privateKey; - accounts.push(process.env.OWNER); - } - - if (process.env.OWNER3 !== undefined && process.env.OWNER3.trim() !== "" && reg_bytes64.test(process.env.OWNER3)) { - accounts.push(process.env.OWNER3); - } else { - process.env.OWNER3 = Wallet.createRandom().privateKey; - accounts.push(process.env.OWNER3); - } - while (accounts.length < 50) { accounts.push(Wallet.createRandom().privateKey); }