diff --git a/.changeset/four-coats-smell.md b/.changeset/four-coats-smell.md new file mode 100644 index 000000000..fcbdcc90e --- /dev/null +++ b/.changeset/four-coats-smell.md @@ -0,0 +1,5 @@ +--- +"@exactly/protocol": patch +--- + +🚚 deployments: rename `esEXA` diff --git a/deploy/EXA.ts b/deploy/EXA.ts index ff3f46b85..a7b56ec22 100644 --- a/deploy/EXA.ts +++ b/deploy/EXA.ts @@ -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, + }), ); }; diff --git a/deployments/goerli/EscrowedEXA.json b/deployments/goerli/esEXA.json similarity index 100% rename from deployments/goerli/EscrowedEXA.json rename to deployments/goerli/esEXA.json diff --git a/deployments/goerli/EscrowedEXA_Implementation.json b/deployments/goerli/esEXA_Implementation.json similarity index 100% rename from deployments/goerli/EscrowedEXA_Implementation.json rename to deployments/goerli/esEXA_Implementation.json diff --git a/deployments/goerli/EscrowedEXA_Proxy.json b/deployments/goerli/esEXA_Proxy.json similarity index 100% rename from deployments/goerli/EscrowedEXA_Proxy.json rename to deployments/goerli/esEXA_Proxy.json diff --git a/deployments/optimism/EscrowedEXA.json b/deployments/optimism/esEXA.json similarity index 100% rename from deployments/optimism/EscrowedEXA.json rename to deployments/optimism/esEXA.json diff --git a/deployments/optimism/EscrowedEXA_Implementation.json b/deployments/optimism/esEXA_Implementation.json similarity index 100% rename from deployments/optimism/EscrowedEXA_Implementation.json rename to deployments/optimism/esEXA_Implementation.json diff --git a/deployments/optimism/EscrowedEXA_Proxy.json b/deployments/optimism/esEXA_Proxy.json similarity index 100% rename from deployments/optimism/EscrowedEXA_Proxy.json rename to deployments/optimism/esEXA_Proxy.json