Skip to content

Commit

Permalink
redeploy VeArtProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Feb 2, 2024
1 parent 2e5e139 commit 9f9b964
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ Forwarder deployed to 0xcaf680C79bc8375bF7B221710C3196848c4c7407
BalanceLogicLibrary deployed to 0x97d27CC3d84c0a49Cc0289f9f0BA519dD6549641
DelegationLogicLibrary deployed to 0x2c7862C0D2dE3deDaf324745A13a64733E80868a
VotingEscrow deployed to 0x313A05E0CE2D559793350d6afa7b7e1d5D2Ec21e
Trig deployed to 0xab1B358C2E9c72ACd85E54dFdf0Ec2dcaE142979
PerlinNoise deployed to 0xD152c8474b52ef85832A3e06AbdDAEf3c0b1Fb63
VeArtProxy deployed to 0xD0a1f0F08cae5c461E5e6D13061613E31D569639
VeArtProxy deployed to 0x85B6E973EF283727A2c7E2D8D6C86AE8bcAb8029
MarshallGovernor deployed to 0x2aA69bdae4A8b68DC7782492ad4DbC4aB44eF6f6
EmptyPoolFactory deployed to 0x3AD7F5C76499CEa84b3554bA9564F5EA14b4ab1A
VotingRewardsFactory deployed to 0x23B0a499f782f1C5E66cc3C6faF7dFEf1cdB5a70
Expand Down
19 changes: 4 additions & 15 deletions script/01_deploy_ve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,10 @@ async function main() {
});
console.log(`VotingEscrow deployed to ${escrow.target}`);

const trigFactory = await ethers.getContractFactory('Trig');
const trig = await trigFactory.deploy();
await trig.waitForDeployment();
console.log(`Trig deployed to ${trig.target}`);
const perlinNoiseFactory = await ethers.getContractFactory('PerlinNoise');
const perlinNoise = await perlinNoiseFactory.deploy();
await perlinNoise.waitForDeployment();
console.log(`PerlinNoise deployed to ${perlinNoise.target}`);

const veArtProxy = await ethers.deployContract('VeArtProxy', [escrow.target], {
libraries: {
Trig: trig.target,
PerlinNoise: perlinNoise.target,
},
});
const veArtProxy = await ethers.deployContract('VeArtProxy', [
escrow.target,
'https://nft.iotex.io/tokens/dao/ve.png',
]);
console.log(`VeArtProxy deployed to ${veArtProxy.target}`);

await escrow.setArtProxy(veArtProxy.target);
Expand Down

0 comments on commit 9f9b964

Please sign in to comment.