@gearbox-protocol/deploy-tools 5.24.9 → 5.24.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +364 -36
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -362233,21 +362233,36 @@ var USDC = {
|
|
|
362233
362233
|
Arbitrum: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
362234
362234
|
Optimism: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
|
|
362235
362235
|
Base: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
362236
|
-
Sonic: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894"
|
|
362236
|
+
Sonic: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
|
|
362237
|
+
// TODO: New networks
|
|
362238
|
+
MegaETH: NOT_DEPLOYED,
|
|
362239
|
+
Monad: NOT_DEPLOYED,
|
|
362240
|
+
Berachain: NOT_DEPLOYED,
|
|
362241
|
+
Avalanche: NOT_DEPLOYED
|
|
362237
362242
|
};
|
|
362238
362243
|
var TIMELOCK = {
|
|
362239
362244
|
Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
|
|
362240
362245
|
Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
362241
362246
|
Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
362242
362247
|
Base: NOT_DEPLOYED,
|
|
362243
|
-
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84"
|
|
362248
|
+
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84",
|
|
362249
|
+
// New networks
|
|
362250
|
+
MegaETH: NOT_DEPLOYED,
|
|
362251
|
+
Monad: NOT_DEPLOYED,
|
|
362252
|
+
Berachain: NOT_DEPLOYED,
|
|
362253
|
+
Avalanche: NOT_DEPLOYED
|
|
362244
362254
|
};
|
|
362245
362255
|
var GEARBOX_RISK_CURATORS = {
|
|
362246
362256
|
Mainnet: [TIMELOCK.Mainnet],
|
|
362247
362257
|
Arbitrum: [TIMELOCK.Arbitrum],
|
|
362248
362258
|
Optimism: [TIMELOCK.Optimism],
|
|
362249
362259
|
Base: [TIMELOCK.Base],
|
|
362250
|
-
Sonic: [TIMELOCK.Sonic]
|
|
362260
|
+
Sonic: [TIMELOCK.Sonic],
|
|
362261
|
+
// New networks
|
|
362262
|
+
MegaETH: [],
|
|
362263
|
+
Monad: [],
|
|
362264
|
+
Berachain: [],
|
|
362265
|
+
Avalanche: []
|
|
362251
362266
|
};
|
|
362252
362267
|
var DEPRECIATED_POOLS = {
|
|
362253
362268
|
Mainnet: {
|
|
@@ -362256,7 +362271,12 @@ var DEPRECIATED_POOLS = {
|
|
|
362256
362271
|
Arbitrum: {},
|
|
362257
362272
|
Optimism: {},
|
|
362258
362273
|
Base: {},
|
|
362259
|
-
Sonic: {}
|
|
362274
|
+
Sonic: {},
|
|
362275
|
+
// New networks
|
|
362276
|
+
MegaETH: {},
|
|
362277
|
+
Monad: {},
|
|
362278
|
+
Berachain: {},
|
|
362279
|
+
Avalanche: {}
|
|
362260
362280
|
};
|
|
362261
362281
|
|
|
362262
362282
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/sdk/constants/address-provider.js
|
|
@@ -362276,7 +362296,12 @@ var ADDRESS_PROVIDER = {
|
|
|
362276
362296
|
Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af",
|
|
362277
362297
|
Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726",
|
|
362278
362298
|
Base: NOT_DEPLOYED,
|
|
362279
|
-
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B"
|
|
362299
|
+
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B",
|
|
362300
|
+
// New networks
|
|
362301
|
+
MegaETH: NOT_DEPLOYED,
|
|
362302
|
+
Monad: NOT_DEPLOYED,
|
|
362303
|
+
Berachain: NOT_DEPLOYED,
|
|
362304
|
+
Avalanche: NOT_DEPLOYED
|
|
362280
362305
|
};
|
|
362281
362306
|
var ADDRESS_PROVIDER_V310 = "0xBaB2014Dd88223E168bA06911c06df638311a097";
|
|
362282
362307
|
|
|
@@ -362331,14 +362356,29 @@ var ADDRESS_PROVIDER_BLOCK = {
|
|
|
362331
362356
|
Arbitrum: 184650310n,
|
|
362332
362357
|
Optimism: 118410666n,
|
|
362333
362358
|
Base: 0n,
|
|
362334
|
-
Sonic: 9779380n
|
|
362359
|
+
Sonic: 9779380n,
|
|
362360
|
+
// New networks
|
|
362361
|
+
MegaETH: 1677017n,
|
|
362362
|
+
// arbitrary not deployed yet
|
|
362363
|
+
Monad: 9319691n,
|
|
362364
|
+
// arbitrary not deployed yet
|
|
362365
|
+
Berachain: 2788903n,
|
|
362366
|
+
// arbitrary not deployed yet
|
|
362367
|
+
Avalanche: 31594758n
|
|
362368
|
+
// arbitrary not deployed yet
|
|
362335
362369
|
};
|
|
362336
362370
|
var BLOCK_DURATION_BY_NETWORK = {
|
|
362337
362371
|
Mainnet: 12.05,
|
|
362338
362372
|
Arbitrum: 0.26,
|
|
362339
362373
|
Optimism: 2,
|
|
362340
362374
|
Base: 2.01,
|
|
362341
|
-
Sonic: 0.91
|
|
362375
|
+
Sonic: 0.91,
|
|
362376
|
+
// New networks
|
|
362377
|
+
// TODO: determine value
|
|
362378
|
+
MegaETH: 1,
|
|
362379
|
+
Monad: 1,
|
|
362380
|
+
Berachain: 1,
|
|
362381
|
+
Avalanche: 1
|
|
362342
362382
|
};
|
|
362343
362383
|
var RAMP_TIME = 30 * 24 * 60 * 60 * 1.2;
|
|
362344
362384
|
var RAMP_DURATION_BY_NETWORK = {
|
|
@@ -362346,7 +362386,16 @@ var RAMP_DURATION_BY_NETWORK = {
|
|
|
362346
362386
|
Arbitrum: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Arbitrum)),
|
|
362347
362387
|
Optimism: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Optimism)),
|
|
362348
362388
|
Base: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Base)),
|
|
362349
|
-
Sonic: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Sonic))
|
|
362389
|
+
Sonic: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Sonic)),
|
|
362390
|
+
// New networks
|
|
362391
|
+
MegaETH: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.MegaETH)),
|
|
362392
|
+
Monad: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Monad)),
|
|
362393
|
+
Berachain: BigInt(
|
|
362394
|
+
Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Berachain)
|
|
362395
|
+
),
|
|
362396
|
+
Avalanche: BigInt(
|
|
362397
|
+
Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Avalanche)
|
|
362398
|
+
)
|
|
362350
362399
|
};
|
|
362351
362400
|
var WEEK = 7 * 24 * 60 * 60;
|
|
362352
362401
|
var BLOCKS_PER_WEEK_BY_NETWORK = {
|
|
@@ -362354,7 +362403,12 @@ var BLOCKS_PER_WEEK_BY_NETWORK = {
|
|
|
362354
362403
|
Arbitrum: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Arbitrum)),
|
|
362355
362404
|
Optimism: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Optimism)),
|
|
362356
362405
|
Base: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Base)),
|
|
362357
|
-
Sonic: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Sonic))
|
|
362406
|
+
Sonic: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Sonic)),
|
|
362407
|
+
// New networks
|
|
362408
|
+
MegaETH: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.MegaETH)),
|
|
362409
|
+
Monad: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Monad)),
|
|
362410
|
+
Berachain: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Berachain)),
|
|
362411
|
+
Avalanche: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Avalanche))
|
|
362358
362412
|
};
|
|
362359
362413
|
|
|
362360
362414
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/sdk/utils/AddressMap.js
|
|
@@ -362665,6 +362719,33 @@ var arbitrum = /* @__PURE__ */ defineChain({
|
|
|
362665
362719
|
}
|
|
362666
362720
|
});
|
|
362667
362721
|
|
|
362722
|
+
// ../../node_modules/viem/_esm/chains/definitions/avalanche.js
|
|
362723
|
+
var avalanche = /* @__PURE__ */ defineChain({
|
|
362724
|
+
id: 43114,
|
|
362725
|
+
name: "Avalanche",
|
|
362726
|
+
nativeCurrency: {
|
|
362727
|
+
decimals: 18,
|
|
362728
|
+
name: "Avalanche",
|
|
362729
|
+
symbol: "AVAX"
|
|
362730
|
+
},
|
|
362731
|
+
rpcUrls: {
|
|
362732
|
+
default: { http: ["https://api.avax.network/ext/bc/C/rpc"] }
|
|
362733
|
+
},
|
|
362734
|
+
blockExplorers: {
|
|
362735
|
+
default: {
|
|
362736
|
+
name: "SnowTrace",
|
|
362737
|
+
url: "https://snowtrace.io",
|
|
362738
|
+
apiUrl: "https://api.snowtrace.io"
|
|
362739
|
+
}
|
|
362740
|
+
},
|
|
362741
|
+
contracts: {
|
|
362742
|
+
multicall3: {
|
|
362743
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
362744
|
+
blockCreated: 11907934
|
|
362745
|
+
}
|
|
362746
|
+
}
|
|
362747
|
+
});
|
|
362748
|
+
|
|
362668
362749
|
// ../../node_modules/viem/_esm/chains/definitions/base.js
|
|
362669
362750
|
var sourceId = 1;
|
|
362670
362751
|
var base = /* @__PURE__ */ defineChain({
|
|
@@ -362716,6 +362797,41 @@ var base = /* @__PURE__ */ defineChain({
|
|
|
362716
362797
|
sourceId
|
|
362717
362798
|
});
|
|
362718
362799
|
|
|
362800
|
+
// ../../node_modules/viem/_esm/chains/definitions/berachain.js
|
|
362801
|
+
var berachain = /* @__PURE__ */ defineChain({
|
|
362802
|
+
id: 80094,
|
|
362803
|
+
name: "Berachain",
|
|
362804
|
+
nativeCurrency: {
|
|
362805
|
+
decimals: 18,
|
|
362806
|
+
name: "BERA Token",
|
|
362807
|
+
symbol: "BERA"
|
|
362808
|
+
},
|
|
362809
|
+
contracts: {
|
|
362810
|
+
multicall3: {
|
|
362811
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
362812
|
+
blockCreated: 0
|
|
362813
|
+
},
|
|
362814
|
+
ensRegistry: {
|
|
362815
|
+
address: "0x5b22280886a2f5e09a49bea7e320eab0e5320e28",
|
|
362816
|
+
blockCreated: 877007
|
|
362817
|
+
},
|
|
362818
|
+
ensUniversalResolver: {
|
|
362819
|
+
address: "0xddfb18888a9466688235887dec2a10c4f5effee9",
|
|
362820
|
+
blockCreated: 877008
|
|
362821
|
+
}
|
|
362822
|
+
},
|
|
362823
|
+
rpcUrls: {
|
|
362824
|
+
default: { http: ["https://rpc.berachain.com"] }
|
|
362825
|
+
},
|
|
362826
|
+
blockExplorers: {
|
|
362827
|
+
default: {
|
|
362828
|
+
name: "Berascan",
|
|
362829
|
+
url: "https://berascan.com"
|
|
362830
|
+
}
|
|
362831
|
+
},
|
|
362832
|
+
testnet: false
|
|
362833
|
+
});
|
|
362834
|
+
|
|
362719
362835
|
// ../../node_modules/viem/_esm/chains/definitions/mainnet.js
|
|
362720
362836
|
var mainnet = /* @__PURE__ */ defineChain({
|
|
362721
362837
|
id: 1,
|
|
@@ -362748,6 +362864,59 @@ var mainnet = /* @__PURE__ */ defineChain({
|
|
|
362748
362864
|
}
|
|
362749
362865
|
});
|
|
362750
362866
|
|
|
362867
|
+
// ../../node_modules/viem/_esm/chains/definitions/megaethTestnet.js
|
|
362868
|
+
var megaethTestnet = /* @__PURE__ */ defineChain({
|
|
362869
|
+
id: 6342,
|
|
362870
|
+
name: "MegaETH Testnet",
|
|
362871
|
+
nativeCurrency: {
|
|
362872
|
+
name: "MegaETH Testnet Ether",
|
|
362873
|
+
symbol: "ETH",
|
|
362874
|
+
decimals: 18
|
|
362875
|
+
},
|
|
362876
|
+
rpcUrls: {
|
|
362877
|
+
default: {
|
|
362878
|
+
http: ["https://carrot.megaeth.com/rpc"],
|
|
362879
|
+
webSocket: ["wss://carrot.megaeth.com/ws"]
|
|
362880
|
+
}
|
|
362881
|
+
},
|
|
362882
|
+
blockExplorers: {
|
|
362883
|
+
default: {
|
|
362884
|
+
name: "MegaETH Testnet Explorer",
|
|
362885
|
+
url: "https://www.megaexplorer.xyz/"
|
|
362886
|
+
}
|
|
362887
|
+
},
|
|
362888
|
+
testnet: true
|
|
362889
|
+
});
|
|
362890
|
+
|
|
362891
|
+
// ../../node_modules/viem/_esm/chains/definitions/monadTestnet.js
|
|
362892
|
+
var monadTestnet = /* @__PURE__ */ defineChain({
|
|
362893
|
+
id: 10143,
|
|
362894
|
+
name: "Monad Testnet",
|
|
362895
|
+
nativeCurrency: {
|
|
362896
|
+
name: "Testnet MON Token",
|
|
362897
|
+
symbol: "MON",
|
|
362898
|
+
decimals: 18
|
|
362899
|
+
},
|
|
362900
|
+
rpcUrls: {
|
|
362901
|
+
default: {
|
|
362902
|
+
http: ["https://testnet-rpc.monad.xyz"]
|
|
362903
|
+
}
|
|
362904
|
+
},
|
|
362905
|
+
blockExplorers: {
|
|
362906
|
+
default: {
|
|
362907
|
+
name: "Monad Testnet explorer",
|
|
362908
|
+
url: "https://testnet.monadexplorer.com"
|
|
362909
|
+
}
|
|
362910
|
+
},
|
|
362911
|
+
contracts: {
|
|
362912
|
+
multicall3: {
|
|
362913
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
362914
|
+
blockCreated: 251449
|
|
362915
|
+
}
|
|
362916
|
+
},
|
|
362917
|
+
testnet: true
|
|
362918
|
+
});
|
|
362919
|
+
|
|
362751
362920
|
// ../../node_modules/viem/_esm/chains/definitions/optimism.js
|
|
362752
362921
|
var sourceId2 = 1;
|
|
362753
362922
|
var optimism = /* @__PURE__ */ defineChain({
|
|
@@ -366890,7 +367059,11 @@ var SUPPORTED_NETWORKS = [
|
|
|
366890
367059
|
"Arbitrum",
|
|
366891
367060
|
"Optimism",
|
|
366892
367061
|
"Base",
|
|
366893
|
-
"Sonic"
|
|
367062
|
+
"Sonic",
|
|
367063
|
+
"MegaETH",
|
|
367064
|
+
"Monad",
|
|
367065
|
+
"Berachain",
|
|
367066
|
+
"Avalanche"
|
|
366894
367067
|
];
|
|
366895
367068
|
var NetworkType = z.enum(SUPPORTED_NETWORKS);
|
|
366896
367069
|
function withPublicNode(chain, subdomain) {
|
|
@@ -366913,6 +367086,9 @@ var chains = {
|
|
|
366913
367086
|
defaultMarketConfigurators: {
|
|
366914
367087
|
"0x354fe9f450F60b8547f88BE042E4A45b46128a06": "Chaos Labs"
|
|
366915
367088
|
},
|
|
367089
|
+
testMarketConfigurators: {
|
|
367090
|
+
"0x4d427D418342d8CE89a7634c3a402851978B680A": "K3"
|
|
367091
|
+
},
|
|
366916
367092
|
isPublic: true
|
|
366917
367093
|
},
|
|
366918
367094
|
"ethereum-rpc"
|
|
@@ -366965,6 +367141,45 @@ var chains = {
|
|
|
366965
367141
|
}
|
|
366966
367142
|
}),
|
|
366967
367143
|
"sonic-rpc"
|
|
367144
|
+
),
|
|
367145
|
+
MegaETH: defineChain({
|
|
367146
|
+
...megaethTestnet,
|
|
367147
|
+
network: "MegaETH",
|
|
367148
|
+
defaultMarketConfigurators: {},
|
|
367149
|
+
isPublic: true
|
|
367150
|
+
// TODO: has no block explorer API
|
|
367151
|
+
}),
|
|
367152
|
+
Monad: defineChain({
|
|
367153
|
+
...monadTestnet,
|
|
367154
|
+
network: "Monad",
|
|
367155
|
+
defaultMarketConfigurators: {},
|
|
367156
|
+
isPublic: true
|
|
367157
|
+
// TODO: has no block explorer API
|
|
367158
|
+
}),
|
|
367159
|
+
Berachain: withPublicNode(
|
|
367160
|
+
{
|
|
367161
|
+
...berachain,
|
|
367162
|
+
network: "Berachain",
|
|
367163
|
+
defaultMarketConfigurators: {},
|
|
367164
|
+
isPublic: true,
|
|
367165
|
+
blockExplorers: {
|
|
367166
|
+
default: {
|
|
367167
|
+
name: "Berascan",
|
|
367168
|
+
url: "https://berascan.com",
|
|
367169
|
+
apiUrl: "https://api.berascan.com/api"
|
|
367170
|
+
}
|
|
367171
|
+
}
|
|
367172
|
+
},
|
|
367173
|
+
"berachain-rpc"
|
|
367174
|
+
),
|
|
367175
|
+
Avalanche: withPublicNode(
|
|
367176
|
+
{
|
|
367177
|
+
...avalanche,
|
|
367178
|
+
network: "Avalanche",
|
|
367179
|
+
defaultMarketConfigurators: {},
|
|
367180
|
+
isPublic: true
|
|
367181
|
+
},
|
|
367182
|
+
"avalanche-c-chain-rpc"
|
|
366968
367183
|
)
|
|
366969
367184
|
};
|
|
366970
367185
|
function getChain(chainIdOrNetworkType) {
|
|
@@ -378360,7 +378575,12 @@ var tokenDataByNetwork = {
|
|
|
378360
378575
|
pzETH: NOT_DEPLOYED,
|
|
378361
378576
|
DVstETH: NOT_DEPLOYED,
|
|
378362
378577
|
waEthLidowstETH: NOT_DEPLOYED
|
|
378363
|
-
}
|
|
378578
|
+
},
|
|
378579
|
+
// New networks
|
|
378580
|
+
MegaETH: {},
|
|
378581
|
+
Monad: {},
|
|
378582
|
+
Berachain: {},
|
|
378583
|
+
Avalanche: {}
|
|
378364
378584
|
};
|
|
378365
378585
|
var tickerInfoTokensByNetwork = {
|
|
378366
378586
|
Mainnet: {
|
|
@@ -378751,7 +378971,12 @@ var tickerInfoTokensByNetwork = {
|
|
|
378751
378971
|
reserve: false
|
|
378752
378972
|
}
|
|
378753
378973
|
]
|
|
378754
|
-
}
|
|
378974
|
+
},
|
|
378975
|
+
// New networks
|
|
378976
|
+
MegaETH: {},
|
|
378977
|
+
Monad: {},
|
|
378978
|
+
Berachain: {},
|
|
378979
|
+
Avalanche: {}
|
|
378755
378980
|
};
|
|
378756
378981
|
var tickerTokensByNetwork = Object.fromEntries(
|
|
378757
378982
|
Object.entries(tickerInfoTokensByNetwork).map(([network, data]) => {
|
|
@@ -378823,12 +379048,18 @@ var connectors = {
|
|
|
378823
379048
|
"LBTC",
|
|
378824
379049
|
"solvBTC",
|
|
378825
379050
|
"pumpBTC",
|
|
378826
|
-
"waEthLidowstETH"
|
|
379051
|
+
"waEthLidowstETH",
|
|
379052
|
+
"beraSTONE"
|
|
378827
379053
|
],
|
|
378828
379054
|
Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"],
|
|
378829
379055
|
Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"],
|
|
378830
379056
|
Base: ["WETH", "USDC", "USDT"],
|
|
378831
|
-
Sonic: ["wS"]
|
|
379057
|
+
Sonic: ["wS"],
|
|
379058
|
+
// New networks
|
|
379059
|
+
MegaETH: [],
|
|
379060
|
+
Monad: [],
|
|
379061
|
+
Berachain: [],
|
|
379062
|
+
Avalanche: []
|
|
378832
379063
|
};
|
|
378833
379064
|
function getConnectors(networkType) {
|
|
378834
379065
|
return connectors[networkType].map((e) => {
|
|
@@ -379618,7 +379849,11 @@ var contractsByNetwork = {
|
|
|
379618
379849
|
MELLOW_DECENTALIZED_VALIDATOR_VAULT: NOT_DEPLOYED,
|
|
379619
379850
|
SKY_STAKING_REWARDS: NOT_DEPLOYED,
|
|
379620
379851
|
DAI_USDS: NOT_DEPLOYED
|
|
379621
|
-
}
|
|
379852
|
+
},
|
|
379853
|
+
Avalanche: {},
|
|
379854
|
+
MegaETH: {},
|
|
379855
|
+
Monad: {},
|
|
379856
|
+
Berachain: {}
|
|
379622
379857
|
};
|
|
379623
379858
|
var contractParams = {
|
|
379624
379859
|
CURVE_3CRV_POOL: {
|
|
@@ -379645,7 +379880,11 @@ var contractParams = {
|
|
|
379645
379880
|
// CURVE_STECRV_POOL
|
|
379646
379881
|
Optimism: NOT_DEPLOYED,
|
|
379647
379882
|
Base: NOT_DEPLOYED,
|
|
379648
|
-
Sonic: NOT_DEPLOYED
|
|
379883
|
+
Sonic: NOT_DEPLOYED,
|
|
379884
|
+
MegaETH: NOT_DEPLOYED,
|
|
379885
|
+
Monad: NOT_DEPLOYED,
|
|
379886
|
+
Berachain: NOT_DEPLOYED,
|
|
379887
|
+
Avalanche: NOT_DEPLOYED
|
|
379649
379888
|
},
|
|
379650
379889
|
tokens: ["WETH", "STETH"],
|
|
379651
379890
|
lpToken: "steCRV"
|
|
@@ -379659,7 +379898,11 @@ var contractParams = {
|
|
|
379659
379898
|
Arbitrum: NOT_DEPLOYED,
|
|
379660
379899
|
Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415",
|
|
379661
379900
|
Base: NOT_DEPLOYED,
|
|
379662
|
-
Sonic: NOT_DEPLOYED
|
|
379901
|
+
Sonic: NOT_DEPLOYED,
|
|
379902
|
+
MegaETH: NOT_DEPLOYED,
|
|
379903
|
+
Monad: NOT_DEPLOYED,
|
|
379904
|
+
Berachain: NOT_DEPLOYED,
|
|
379905
|
+
Avalanche: NOT_DEPLOYED
|
|
379663
379906
|
},
|
|
379664
379907
|
tokens: ["WETH", "wstETH"],
|
|
379665
379908
|
lpToken: "wstETHCRV"
|
|
@@ -387605,7 +387848,12 @@ var RouterV300Contract = class extends AbstractRouterContract {
|
|
|
387605
387848
|
Arbitrum: "0x0",
|
|
387606
387849
|
Optimism: "0x0",
|
|
387607
387850
|
Base: "0x0",
|
|
387608
|
-
Sonic: "0x0"
|
|
387851
|
+
Sonic: "0x0",
|
|
387852
|
+
// New networks
|
|
387853
|
+
MegaETH: "0x0",
|
|
387854
|
+
Monad: "0x0",
|
|
387855
|
+
Berachain: "0x0",
|
|
387856
|
+
Avalanche: "0x0"
|
|
387609
387857
|
};
|
|
387610
387858
|
const pendleRouter = PENDLE_ROUTER_BY_NETWORK[this.sdk.provider.networkType];
|
|
387611
387859
|
const pendleAdapter = cm.creditManager.adapters.mustGet(pendleRouter);
|
|
@@ -410855,112 +411103,192 @@ var ADDRESS_PROVIDER2 = {
|
|
|
410855
411103
|
Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af",
|
|
410856
411104
|
Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726",
|
|
410857
411105
|
Base: NOT_DEPLOYED,
|
|
410858
|
-
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B"
|
|
411106
|
+
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B",
|
|
411107
|
+
// New networks
|
|
411108
|
+
MegaETH: NOT_DEPLOYED,
|
|
411109
|
+
Monad: NOT_DEPLOYED,
|
|
411110
|
+
Berachain: NOT_DEPLOYED,
|
|
411111
|
+
Avalanche: NOT_DEPLOYED
|
|
410859
411112
|
};
|
|
410860
411113
|
var GOVERNOR = {
|
|
410861
411114
|
Mainnet: "0x29B97F37B3E0C704bCFD785F5b7bBa2A0B7df2c7",
|
|
410862
411115
|
Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
410863
411116
|
Optimism: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
410864
411117
|
Base: NOT_DEPLOYED,
|
|
410865
|
-
Sonic: "0x1f3Ee385ce9A6333d73b61086349C4d0f5De0da8"
|
|
411118
|
+
Sonic: "0x1f3Ee385ce9A6333d73b61086349C4d0f5De0da8",
|
|
411119
|
+
// New networks
|
|
411120
|
+
MegaETH: NOT_DEPLOYED,
|
|
411121
|
+
Monad: NOT_DEPLOYED,
|
|
411122
|
+
Berachain: NOT_DEPLOYED,
|
|
411123
|
+
Avalanche: NOT_DEPLOYED
|
|
410866
411124
|
};
|
|
410867
411125
|
var TIMELOCK2 = {
|
|
410868
411126
|
Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
|
|
410869
411127
|
Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
410870
411128
|
Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
410871
411129
|
Base: NOT_DEPLOYED,
|
|
410872
|
-
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84"
|
|
411130
|
+
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84",
|
|
411131
|
+
// New networks
|
|
411132
|
+
MegaETH: NOT_DEPLOYED,
|
|
411133
|
+
Monad: NOT_DEPLOYED,
|
|
411134
|
+
Berachain: NOT_DEPLOYED,
|
|
411135
|
+
Avalanche: NOT_DEPLOYED
|
|
410873
411136
|
};
|
|
410874
411137
|
var BATCH_CHAIN = {
|
|
410875
411138
|
Mainnet: "0xB900bDEf6eAc8C5D97F8e876aBC39573Cf6626b2",
|
|
410876
411139
|
Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2",
|
|
410877
411140
|
Optimism: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10",
|
|
410878
411141
|
Base: NOT_DEPLOYED,
|
|
410879
|
-
Sonic: "0xDe6c55B81442AF66Fd12508e15807fe2b92Be76D"
|
|
411142
|
+
Sonic: "0xDe6c55B81442AF66Fd12508e15807fe2b92Be76D",
|
|
411143
|
+
// New networks
|
|
411144
|
+
MegaETH: NOT_DEPLOYED,
|
|
411145
|
+
Monad: NOT_DEPLOYED,
|
|
411146
|
+
Berachain: NOT_DEPLOYED,
|
|
411147
|
+
Avalanche: NOT_DEPLOYED
|
|
410880
411148
|
};
|
|
410881
411149
|
var BLACKLIST_HELPER = {
|
|
410882
411150
|
Mainnet: "0xFfbF344741654a1B9Ab1286Cf05A42f275F67839",
|
|
410883
411151
|
Arbitrum: NOT_DEPLOYED,
|
|
410884
411152
|
Optimism: NOT_DEPLOYED,
|
|
410885
411153
|
Base: NOT_DEPLOYED,
|
|
410886
|
-
Sonic: NOT_DEPLOYED
|
|
411154
|
+
Sonic: NOT_DEPLOYED,
|
|
411155
|
+
// New networks
|
|
411156
|
+
MegaETH: NOT_DEPLOYED,
|
|
411157
|
+
Monad: NOT_DEPLOYED,
|
|
411158
|
+
Berachain: NOT_DEPLOYED,
|
|
411159
|
+
Avalanche: NOT_DEPLOYED
|
|
410887
411160
|
};
|
|
410888
411161
|
var CREATE2FACTORY = {
|
|
410889
411162
|
Mainnet: "0x45d146CAA25aa565Cfc7434926633f4F1C97c873",
|
|
410890
411163
|
Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
410891
411164
|
Optimism: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
410892
411165
|
Base: NOT_DEPLOYED,
|
|
410893
|
-
Sonic: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A"
|
|
411166
|
+
Sonic: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
411167
|
+
// New networks
|
|
411168
|
+
MegaETH: NOT_DEPLOYED,
|
|
411169
|
+
Monad: NOT_DEPLOYED,
|
|
411170
|
+
Berachain: NOT_DEPLOYED,
|
|
411171
|
+
Avalanche: NOT_DEPLOYED
|
|
410894
411172
|
};
|
|
410895
411173
|
var MULTISIG = {
|
|
410896
411174
|
Mainnet: "0xA7D5DDc1b8557914F158076b228AA91eF613f1D5",
|
|
410897
411175
|
Arbitrum: "0x57Fd8B1a9213624157786Fff4a7bc532Ce717773",
|
|
410898
411176
|
Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c",
|
|
410899
411177
|
Base: NOT_DEPLOYED,
|
|
410900
|
-
Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D"
|
|
411178
|
+
Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D",
|
|
411179
|
+
// New networks
|
|
411180
|
+
MegaETH: NOT_DEPLOYED,
|
|
411181
|
+
Monad: NOT_DEPLOYED,
|
|
411182
|
+
Berachain: NOT_DEPLOYED,
|
|
411183
|
+
Avalanche: NOT_DEPLOYED
|
|
410901
411184
|
};
|
|
410902
411185
|
var VETO_ADMIN = {
|
|
410903
411186
|
Mainnet: "0xbb803559B4D58b75E12dd74641AB955e8B0Df40E",
|
|
410904
411187
|
Arbitrum: "0x746fb3AcAfF6Bfe246206EC2E51F587d2E57abb6",
|
|
410905
411188
|
Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f",
|
|
410906
411189
|
Base: NOT_DEPLOYED,
|
|
410907
|
-
Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC"
|
|
411190
|
+
Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC",
|
|
411191
|
+
// New networks
|
|
411192
|
+
MegaETH: NOT_DEPLOYED,
|
|
411193
|
+
Monad: NOT_DEPLOYED,
|
|
411194
|
+
Berachain: NOT_DEPLOYED,
|
|
411195
|
+
Avalanche: NOT_DEPLOYED
|
|
410908
411196
|
};
|
|
410909
411197
|
var TREASURY = {
|
|
410910
411198
|
Mainnet: "0x7b065fcb0760df0cea8cfd144e08554f3cea73d1",
|
|
410911
411199
|
Arbitrum: "0x2c31eFFE426765E68A43163A96DD13DF70B53C14",
|
|
410912
411200
|
Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808",
|
|
410913
411201
|
Base: NOT_DEPLOYED,
|
|
410914
|
-
Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795"
|
|
411202
|
+
Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795",
|
|
411203
|
+
// New networks
|
|
411204
|
+
MegaETH: NOT_DEPLOYED,
|
|
411205
|
+
Monad: NOT_DEPLOYED,
|
|
411206
|
+
Berachain: NOT_DEPLOYED,
|
|
411207
|
+
Avalanche: NOT_DEPLOYED
|
|
410915
411208
|
};
|
|
410916
411209
|
var ROUTER_MULTISIG_ADDRESS = {
|
|
410917
411210
|
Mainnet: "0xaaDf86C39a76eEEf5a5337Ca449C7EfA66E3175E",
|
|
410918
411211
|
Arbitrum: "0xEAb23245937A4F0894B0c92f08992C2c45Fc8df5",
|
|
410919
411212
|
Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1",
|
|
410920
411213
|
Base: NOT_DEPLOYED,
|
|
410921
|
-
Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d"
|
|
411214
|
+
Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d",
|
|
411215
|
+
// New networks
|
|
411216
|
+
MegaETH: NOT_DEPLOYED,
|
|
411217
|
+
Monad: NOT_DEPLOYED,
|
|
411218
|
+
Berachain: NOT_DEPLOYED,
|
|
411219
|
+
Avalanche: NOT_DEPLOYED
|
|
410922
411220
|
};
|
|
410923
411221
|
var ROUTER_CREATE2FACTORY = {
|
|
410924
411222
|
Mainnet: "0xA287577Fb7Cf49246e569EA268FE919F1cD6d9E2",
|
|
410925
411223
|
Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
410926
411224
|
Optimism: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
410927
411225
|
Base: NOT_DEPLOYED,
|
|
410928
|
-
Sonic: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10"
|
|
411226
|
+
Sonic: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10",
|
|
411227
|
+
// New networks
|
|
411228
|
+
MegaETH: NOT_DEPLOYED,
|
|
411229
|
+
Monad: NOT_DEPLOYED,
|
|
411230
|
+
Berachain: NOT_DEPLOYED,
|
|
411231
|
+
Avalanche: NOT_DEPLOYED
|
|
410929
411232
|
};
|
|
410930
411233
|
var NEXO_ADDRESS_PROVIDER = {
|
|
410931
411234
|
Mainnet: "0x2Eb0BE5585E49190414307597912BD039a029Eda",
|
|
410932
411235
|
Arbitrum: NOT_DEPLOYED,
|
|
410933
411236
|
Optimism: NOT_DEPLOYED,
|
|
410934
411237
|
Base: NOT_DEPLOYED,
|
|
410935
|
-
Sonic: NOT_DEPLOYED
|
|
411238
|
+
Sonic: NOT_DEPLOYED,
|
|
411239
|
+
// New networks
|
|
411240
|
+
MegaETH: NOT_DEPLOYED,
|
|
411241
|
+
Monad: NOT_DEPLOYED,
|
|
411242
|
+
Berachain: NOT_DEPLOYED,
|
|
411243
|
+
Avalanche: NOT_DEPLOYED
|
|
410936
411244
|
};
|
|
410937
411245
|
var NEXO_TIMELOCK = {
|
|
410938
411246
|
Mainnet: "0xdcC3FD83DBF480e8Ad74DD3A634CaE29B68b9814",
|
|
410939
411247
|
Arbitrum: NOT_DEPLOYED,
|
|
410940
411248
|
Optimism: NOT_DEPLOYED,
|
|
410941
411249
|
Base: NOT_DEPLOYED,
|
|
410942
|
-
Sonic: NOT_DEPLOYED
|
|
411250
|
+
Sonic: NOT_DEPLOYED,
|
|
411251
|
+
// New networks
|
|
411252
|
+
MegaETH: NOT_DEPLOYED,
|
|
411253
|
+
Monad: NOT_DEPLOYED,
|
|
411254
|
+
Berachain: NOT_DEPLOYED,
|
|
411255
|
+
Avalanche: NOT_DEPLOYED
|
|
410943
411256
|
};
|
|
410944
411257
|
var NEXO_GOVERNOR = {
|
|
410945
411258
|
Mainnet: "0x42Cf536467f4fa474010a16f66A3fa7576f987D6",
|
|
410946
411259
|
Arbitrum: NOT_DEPLOYED,
|
|
410947
411260
|
Optimism: NOT_DEPLOYED,
|
|
410948
411261
|
Base: NOT_DEPLOYED,
|
|
410949
|
-
Sonic: NOT_DEPLOYED
|
|
411262
|
+
Sonic: NOT_DEPLOYED,
|
|
411263
|
+
// New networks
|
|
411264
|
+
MegaETH: NOT_DEPLOYED,
|
|
411265
|
+
Monad: NOT_DEPLOYED,
|
|
411266
|
+
Berachain: NOT_DEPLOYED,
|
|
411267
|
+
Avalanche: NOT_DEPLOYED
|
|
410950
411268
|
};
|
|
410951
411269
|
var NEXO_BATCH_CHAIN = {
|
|
410952
411270
|
Mainnet: "0xcba71ACEDe17d2CABBfADBab30cc08F20eeaca52",
|
|
410953
411271
|
Arbitrum: NOT_DEPLOYED,
|
|
410954
411272
|
Optimism: NOT_DEPLOYED,
|
|
410955
411273
|
Base: NOT_DEPLOYED,
|
|
410956
|
-
Sonic: NOT_DEPLOYED
|
|
411274
|
+
Sonic: NOT_DEPLOYED,
|
|
411275
|
+
// New networks
|
|
411276
|
+
MegaETH: NOT_DEPLOYED,
|
|
411277
|
+
Monad: NOT_DEPLOYED,
|
|
411278
|
+
Berachain: NOT_DEPLOYED,
|
|
411279
|
+
Avalanche: NOT_DEPLOYED
|
|
410957
411280
|
};
|
|
410958
411281
|
var NEXO_CREATE2FACTORY = {
|
|
410959
411282
|
Mainnet: "0x48D945ACc64043B10A781917bfB88dDF49e06Fc6",
|
|
410960
411283
|
Arbitrum: NOT_DEPLOYED,
|
|
410961
411284
|
Optimism: NOT_DEPLOYED,
|
|
410962
411285
|
Base: NOT_DEPLOYED,
|
|
410963
|
-
Sonic: NOT_DEPLOYED
|
|
411286
|
+
Sonic: NOT_DEPLOYED,
|
|
411287
|
+
// New networks
|
|
411288
|
+
MegaETH: NOT_DEPLOYED,
|
|
411289
|
+
Monad: NOT_DEPLOYED,
|
|
411290
|
+
Berachain: NOT_DEPLOYED,
|
|
411291
|
+
Avalanche: NOT_DEPLOYED
|
|
410964
411292
|
};
|
|
410965
411293
|
var UTILITY_CONTRACTS = {
|
|
410966
411294
|
ADDRESS_PROVIDER: ADDRESS_PROVIDER2,
|
|
@@ -419131,7 +419459,7 @@ function getRenderer(opts) {
|
|
|
419131
419459
|
var package_default = {
|
|
419132
419460
|
name: "@gearbox-protocol/deploy-tools",
|
|
419133
419461
|
description: "Gearbox deploy tools",
|
|
419134
|
-
version: "5.24.
|
|
419462
|
+
version: "5.24.10",
|
|
419135
419463
|
homepage: "https://gearbox.fi",
|
|
419136
419464
|
keywords: [
|
|
419137
419465
|
"gearbox"
|
|
@@ -419174,7 +419502,7 @@ var package_default = {
|
|
|
419174
419502
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
419175
419503
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
419176
419504
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
419177
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
419505
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.330",
|
|
419178
419506
|
"@gearbox-protocol/sdk-gov": "^2.36.6",
|
|
419179
419507
|
"@types/lodash-es": "^4.17.12",
|
|
419180
419508
|
"@types/node": "^22.13.10",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/deploy-tools",
|
|
3
3
|
"description": "Gearbox deploy tools",
|
|
4
|
-
"version": "5.24.
|
|
4
|
+
"version": "5.24.10",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
45
45
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
46
46
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
47
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
47
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.330",
|
|
48
48
|
"@gearbox-protocol/sdk-gov": "^2.36.6",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/node": "^22.13.10",
|