Skip to content

Commit b0b7223

Browse files
committed
re-deploy the curve pool booster factory
1 parent c6f5780 commit b0b7223

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

contracts/deploy/arbitrumOne/004_curve_pool_booster_factory.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = deployOnArb(
3232
const factoryEncodedSalt = encodeSaltForCreateX(
3333
deployerAddr,
3434
false,
35-
ethers.utils.keccak256(1)
35+
1
3636
);
3737
const txResponse = await withConfirmation(
3838
cCreateX
@@ -71,13 +71,7 @@ module.exports = deployOnArb(
7171
// the most important part is the salt, it ensures that the contract is deployed at the same address
7272
// on the mainnet as well as arbitrum. If the same reward token and gauge require a new pool booster
7373
// the version should be incremented
74-
const salt = ethers.utils.keccak256(
75-
ethers.utils.concat([
76-
addresses.mainnet.OETHProxy,
77-
addresses.mainnet.CurveOETHETHplusGauge,
78-
1,
79-
])
80-
);
74+
const salt = 2;
8175

8276
// The way salt is encoded it specifies for CreateX if there should be cross chain protection or not.
8377
// We don't want chross chain protection, as we want to deploy the pool booster instance on the same address.

contracts/deployments/arbitrumOne/.migrations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"001_deploy_woeth_on_arb": 1707820141,
33
"002_upgrade_woeth_on_arb": 1710959437,
44
"003_pool_booster_curve": 1737965774,
5-
"004_curve_pool_booster_factory": 1764024620
5+
"004_curve_pool_booster_factory": 1764091943
66
}

contracts/deployments/arbitrumOne/CurvePoolBoosterFactory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "0x8A8809D67E3193486dCF94Ad023978cBceed1723",
2+
"address": "0x9F4308cdfa4d02C045BC8BD82864013b62D516Bb",
33
"abi": [
44
{
55
"anonymous": false,

0 commit comments

Comments
 (0)