This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.ts
45 lines (39 loc) · 1.79 KB
/
deploy.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { ethers } from "hardhat";
async function main() {
/***************************************************************************
********************** AssemblyCurated_v1 Deployment **********************
***************************************************************************/
// const recipient = "0xfEaE88b979ec76FF83F96dfBb5CFca42b92B6A1F";
// const _allowedCallers: string[] = [
// "0xEF5245d9685CD918a2Bf0d216c2e7091446AcFF6",
// "0x09885b996F81122D84332E3f66605F681d9F22a6",
// "0x4aD06A01C14cB8CF20E49Fc53c647b882C1628e9",
// "0x0e55ea6D1C4C0e50aA7B3Fc1D13974B01f072f84",
// "0xD71b6d2C8f4a088396983d5586866563fcA75447",
// ];
// const _owner = "0xfEaE88b979ec76FF83F96dfBb5CFca42b92B6A1F";
// const AssemblyCurated = await ethers.getContractFactory("AssemblyCurated");
// const contract = await AssemblyCurated.deploy(
// recipient,
// _allowedCallers,
// _owner
// );
/***************************************************************************
************************** AssemblyV2 Deployment **************************
***************************************************************************/
const _recipient = "0xfEaE88b979ec76FF83F96dfBb5CFca42b92B6A1F";
const _owner = "0xfEaE88b979ec76FF83F96dfBb5CFca42b92B6A1F";
const _minters: string[] = [
"0xfEaE88b979ec76FF83F96dfBb5CFca42b92B6A1F",
"0xEF5245d9685CD918a2Bf0d216c2e7091446AcFF6",
"0xD71b6d2C8f4a088396983d5586866563fcA75447",
];
const AssemblyCurated = await ethers.getContractFactory("AssemblyV2");
const contract = await AssemblyCurated.deploy(_recipient, _owner, _minters);
await contract.deployed();
console.log("Assembly contract deployed to:", contract.address);
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});