Skip to content

Commit

Permalink
🚚 deployments: rename esEXA
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Oct 11, 2023
1 parent 9de8103 commit 11d82f2
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-coats-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@exactly/protocol": patch
---

🚚 deployments: rename `esEXA`
29 changes: 16 additions & 13 deletions deploy/EXA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,23 @@ const func: DeployFunction = async ({
}),
);

await validateUpgrade("EscrowedEXA", { args: [exa.address, sablier], envKey: "ESCROWED_EXA" }, async (name, opts) =>
deploy(name, {
...opts,
proxy: {
owner: timelock,
viaAdminContract: "ProxyAdmin",
proxyContract: "TransparentUpgradeableProxy",
execute: {
init: { methodName: "initialize", args: [escrow.vestingPeriod, parseUnits(String(escrow.reserveRatio))] },
await validateUpgrade(
"esEXA",
{ contract: "EscrowedEXA", args: [exa.address, sablier], envKey: "ESCROWED_EXA" },
async (name, opts) =>
deploy(name, {
...opts,
proxy: {
owner: timelock,
viaAdminContract: "ProxyAdmin",
proxyContract: "TransparentUpgradeableProxy",
execute: {
init: { methodName: "initialize", args: [escrow.vestingPeriod, parseUnits(String(escrow.reserveRatio))] },
},
},
},
from: deployer,
log: true,
}),
from: deployer,
log: true,
}),
);
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 11d82f2

Please sign in to comment.