@gearbox-protocol/deploy-tools 5.24.8 → 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 +427 -63
- 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) {
|
|
@@ -366906,13 +367079,59 @@ function withPublicNode(chain, subdomain) {
|
|
|
366906
367079
|
});
|
|
366907
367080
|
}
|
|
366908
367081
|
var chains = {
|
|
366909
|
-
Mainnet: withPublicNode(
|
|
366910
|
-
|
|
366911
|
-
|
|
366912
|
-
|
|
367082
|
+
Mainnet: withPublicNode(
|
|
367083
|
+
{
|
|
367084
|
+
...mainnet,
|
|
367085
|
+
network: "Mainnet",
|
|
367086
|
+
defaultMarketConfigurators: {
|
|
367087
|
+
"0x354fe9f450F60b8547f88BE042E4A45b46128a06": "Chaos Labs"
|
|
367088
|
+
},
|
|
367089
|
+
testMarketConfigurators: {
|
|
367090
|
+
"0x4d427D418342d8CE89a7634c3a402851978B680A": "K3"
|
|
367091
|
+
},
|
|
367092
|
+
isPublic: true
|
|
367093
|
+
},
|
|
367094
|
+
"ethereum-rpc"
|
|
367095
|
+
),
|
|
367096
|
+
Arbitrum: withPublicNode(
|
|
367097
|
+
{
|
|
367098
|
+
...arbitrum,
|
|
367099
|
+
network: "Arbitrum",
|
|
367100
|
+
defaultMarketConfigurators: {
|
|
367101
|
+
"0x354fe9f450F60b8547f88BE042E4A45b46128a06": "Chaos Labs"
|
|
367102
|
+
},
|
|
367103
|
+
isPublic: true
|
|
367104
|
+
},
|
|
367105
|
+
"arbitrum-one-rpc"
|
|
367106
|
+
),
|
|
367107
|
+
Optimism: withPublicNode(
|
|
367108
|
+
{
|
|
367109
|
+
...optimism,
|
|
367110
|
+
network: "Optimism",
|
|
367111
|
+
defaultMarketConfigurators: {
|
|
367112
|
+
"0x2a15969CE5320868eb609680751cF8896DD92De5": "Chaos Labs"
|
|
367113
|
+
},
|
|
367114
|
+
isPublic: true
|
|
367115
|
+
},
|
|
367116
|
+
"optimism-rpc"
|
|
367117
|
+
),
|
|
367118
|
+
Base: withPublicNode(
|
|
367119
|
+
{
|
|
367120
|
+
...base,
|
|
367121
|
+
network: "Base",
|
|
367122
|
+
defaultMarketConfigurators: {},
|
|
367123
|
+
isPublic: true
|
|
367124
|
+
},
|
|
367125
|
+
"base-rpc"
|
|
367126
|
+
),
|
|
366913
367127
|
Sonic: withPublicNode(
|
|
366914
367128
|
defineChain({
|
|
366915
367129
|
...sonic,
|
|
367130
|
+
network: "Sonic",
|
|
367131
|
+
defaultMarketConfigurators: {
|
|
367132
|
+
"0x8FFDd1F1433674516f83645a768E8900A2A5D076": "Chaos Labs"
|
|
367133
|
+
},
|
|
367134
|
+
isPublic: true,
|
|
366916
367135
|
blockExplorers: {
|
|
366917
367136
|
default: {
|
|
366918
367137
|
name: "Sonic Explorer",
|
|
@@ -366922,15 +367141,47 @@ var chains = {
|
|
|
366922
367141
|
}
|
|
366923
367142
|
}),
|
|
366924
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"
|
|
366925
367183
|
)
|
|
366926
367184
|
};
|
|
366927
|
-
var CHAINS_BY_ID = {
|
|
366928
|
-
[mainnet.id]: "Mainnet",
|
|
366929
|
-
[arbitrum.id]: "Arbitrum",
|
|
366930
|
-
[optimism.id]: "Optimism",
|
|
366931
|
-
[base.id]: "Base",
|
|
366932
|
-
[sonic.id]: "Sonic"
|
|
366933
|
-
};
|
|
366934
367185
|
function getChain(chainIdOrNetworkType) {
|
|
366935
367186
|
const network = typeof chainIdOrNetworkType === "string" ? chainIdOrNetworkType : getNetworkType(Number(chainIdOrNetworkType));
|
|
366936
367187
|
const chain = chains[network];
|
|
@@ -366940,11 +367191,12 @@ function getChain(chainIdOrNetworkType) {
|
|
|
366940
367191
|
return chain;
|
|
366941
367192
|
}
|
|
366942
367193
|
function getNetworkType(chainId) {
|
|
366943
|
-
const
|
|
366944
|
-
|
|
366945
|
-
|
|
367194
|
+
for (const [network, chain] of TypedObjectUtils.entries(chains)) {
|
|
367195
|
+
if (chain.id === Number(chainId)) {
|
|
367196
|
+
return network;
|
|
367197
|
+
}
|
|
366946
367198
|
}
|
|
366947
|
-
throw new Error(
|
|
367199
|
+
throw new Error(`Unsupported network with chainId ${chainId}`);
|
|
366948
367200
|
}
|
|
366949
367201
|
|
|
366950
367202
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/abi/iERC20.js
|
|
@@ -368806,9 +369058,6 @@ function createAdapter(sdk, args) {
|
|
|
368806
369058
|
);
|
|
368807
369059
|
}
|
|
368808
369060
|
}
|
|
368809
|
-
sdk.logger?.warn(
|
|
368810
|
-
`no class found for ${adapterType} v${args.baseParams.version}, falling back to placeholder`
|
|
368811
|
-
);
|
|
368812
369061
|
return new PlaceholderAdapterContract(sdk, args);
|
|
368813
369062
|
}
|
|
368814
369063
|
|
|
@@ -378326,7 +378575,12 @@ var tokenDataByNetwork = {
|
|
|
378326
378575
|
pzETH: NOT_DEPLOYED,
|
|
378327
378576
|
DVstETH: NOT_DEPLOYED,
|
|
378328
378577
|
waEthLidowstETH: NOT_DEPLOYED
|
|
378329
|
-
}
|
|
378578
|
+
},
|
|
378579
|
+
// New networks
|
|
378580
|
+
MegaETH: {},
|
|
378581
|
+
Monad: {},
|
|
378582
|
+
Berachain: {},
|
|
378583
|
+
Avalanche: {}
|
|
378330
378584
|
};
|
|
378331
378585
|
var tickerInfoTokensByNetwork = {
|
|
378332
378586
|
Mainnet: {
|
|
@@ -378717,7 +378971,12 @@ var tickerInfoTokensByNetwork = {
|
|
|
378717
378971
|
reserve: false
|
|
378718
378972
|
}
|
|
378719
378973
|
]
|
|
378720
|
-
}
|
|
378974
|
+
},
|
|
378975
|
+
// New networks
|
|
378976
|
+
MegaETH: {},
|
|
378977
|
+
Monad: {},
|
|
378978
|
+
Berachain: {},
|
|
378979
|
+
Avalanche: {}
|
|
378721
378980
|
};
|
|
378722
378981
|
var tickerTokensByNetwork = Object.fromEntries(
|
|
378723
378982
|
Object.entries(tickerInfoTokensByNetwork).map(([network, data]) => {
|
|
@@ -378789,12 +379048,18 @@ var connectors = {
|
|
|
378789
379048
|
"LBTC",
|
|
378790
379049
|
"solvBTC",
|
|
378791
379050
|
"pumpBTC",
|
|
378792
|
-
"waEthLidowstETH"
|
|
379051
|
+
"waEthLidowstETH",
|
|
379052
|
+
"beraSTONE"
|
|
378793
379053
|
],
|
|
378794
379054
|
Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"],
|
|
378795
379055
|
Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"],
|
|
378796
379056
|
Base: ["WETH", "USDC", "USDT"],
|
|
378797
|
-
Sonic: ["wS"]
|
|
379057
|
+
Sonic: ["wS"],
|
|
379058
|
+
// New networks
|
|
379059
|
+
MegaETH: [],
|
|
379060
|
+
Monad: [],
|
|
379061
|
+
Berachain: [],
|
|
379062
|
+
Avalanche: []
|
|
378798
379063
|
};
|
|
378799
379064
|
function getConnectors(networkType) {
|
|
378800
379065
|
return connectors[networkType].map((e) => {
|
|
@@ -379584,7 +379849,11 @@ var contractsByNetwork = {
|
|
|
379584
379849
|
MELLOW_DECENTALIZED_VALIDATOR_VAULT: NOT_DEPLOYED,
|
|
379585
379850
|
SKY_STAKING_REWARDS: NOT_DEPLOYED,
|
|
379586
379851
|
DAI_USDS: NOT_DEPLOYED
|
|
379587
|
-
}
|
|
379852
|
+
},
|
|
379853
|
+
Avalanche: {},
|
|
379854
|
+
MegaETH: {},
|
|
379855
|
+
Monad: {},
|
|
379856
|
+
Berachain: {}
|
|
379588
379857
|
};
|
|
379589
379858
|
var contractParams = {
|
|
379590
379859
|
CURVE_3CRV_POOL: {
|
|
@@ -379611,7 +379880,11 @@ var contractParams = {
|
|
|
379611
379880
|
// CURVE_STECRV_POOL
|
|
379612
379881
|
Optimism: NOT_DEPLOYED,
|
|
379613
379882
|
Base: NOT_DEPLOYED,
|
|
379614
|
-
Sonic: NOT_DEPLOYED
|
|
379883
|
+
Sonic: NOT_DEPLOYED,
|
|
379884
|
+
MegaETH: NOT_DEPLOYED,
|
|
379885
|
+
Monad: NOT_DEPLOYED,
|
|
379886
|
+
Berachain: NOT_DEPLOYED,
|
|
379887
|
+
Avalanche: NOT_DEPLOYED
|
|
379615
379888
|
},
|
|
379616
379889
|
tokens: ["WETH", "STETH"],
|
|
379617
379890
|
lpToken: "steCRV"
|
|
@@ -379625,7 +379898,11 @@ var contractParams = {
|
|
|
379625
379898
|
Arbitrum: NOT_DEPLOYED,
|
|
379626
379899
|
Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415",
|
|
379627
379900
|
Base: NOT_DEPLOYED,
|
|
379628
|
-
Sonic: NOT_DEPLOYED
|
|
379901
|
+
Sonic: NOT_DEPLOYED,
|
|
379902
|
+
MegaETH: NOT_DEPLOYED,
|
|
379903
|
+
Monad: NOT_DEPLOYED,
|
|
379904
|
+
Berachain: NOT_DEPLOYED,
|
|
379905
|
+
Avalanche: NOT_DEPLOYED
|
|
379629
379906
|
},
|
|
379630
379907
|
tokens: ["WETH", "wstETH"],
|
|
379631
379908
|
lpToken: "wstETHCRV"
|
|
@@ -385413,7 +385690,7 @@ var PriceFeedRegister = class extends SDKConstruct {
|
|
|
385413
385690
|
const redstonePFs = [];
|
|
385414
385691
|
const latestUpdate = {
|
|
385415
385692
|
redstone: [],
|
|
385416
|
-
timestamp: Date.now()
|
|
385693
|
+
timestamp: Math.floor(Date.now() / 1e3)
|
|
385417
385694
|
};
|
|
385418
385695
|
for (const pf of updateables) {
|
|
385419
385696
|
if (isRedstone(pf)) {
|
|
@@ -385528,6 +385805,7 @@ function rawTxToMulticallPriceUpdate(tx) {
|
|
|
385528
385805
|
}
|
|
385529
385806
|
|
|
385530
385807
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js
|
|
385808
|
+
var ZERO_PRICE_FEED = stringToHex("PRICE_FEED::ZERO", { size: 32 });
|
|
385531
385809
|
var PriceOracleBaseContract = class extends BaseContract {
|
|
385532
385810
|
/**
|
|
385533
385811
|
* Underlying token of market to which this price oracle belongs
|
|
@@ -385731,12 +386009,13 @@ var PriceOracleBaseContract = class extends BaseContract {
|
|
|
385731
386009
|
(n) => n.baseParams.addr === priceFeed
|
|
385732
386010
|
);
|
|
385733
386011
|
const price = node?.answer?.price;
|
|
386012
|
+
const priceFeedType = node?.baseParams.contractType;
|
|
385734
386013
|
if (reserve) {
|
|
385735
386014
|
this.reservePriceFeeds.upsert(token, ref);
|
|
385736
386015
|
if (price !== void 0) {
|
|
385737
386016
|
this.reservePrices.upsert(token, price);
|
|
385738
386017
|
}
|
|
385739
|
-
if (!price) {
|
|
386018
|
+
if (!price && priceFeedType !== ZERO_PRICE_FEED) {
|
|
385740
386019
|
this.logger?.warn(
|
|
385741
386020
|
node ?? {},
|
|
385742
386021
|
`answer not found for reserve price feed ${this.labelAddress(priceFeed)}`
|
|
@@ -385747,7 +386026,7 @@ var PriceOracleBaseContract = class extends BaseContract {
|
|
|
385747
386026
|
if (price !== void 0) {
|
|
385748
386027
|
this.mainPrices.upsert(token, price);
|
|
385749
386028
|
}
|
|
385750
|
-
if (!price) {
|
|
386029
|
+
if (!price && priceFeedType !== ZERO_PRICE_FEED) {
|
|
385751
386030
|
this.logger?.warn(
|
|
385752
386031
|
node ?? {},
|
|
385753
386032
|
`answer not found for main price feed ${this.labelAddress(priceFeed)}`
|
|
@@ -387569,7 +387848,12 @@ var RouterV300Contract = class extends AbstractRouterContract {
|
|
|
387569
387848
|
Arbitrum: "0x0",
|
|
387570
387849
|
Optimism: "0x0",
|
|
387571
387850
|
Base: "0x0",
|
|
387572
|
-
Sonic: "0x0"
|
|
387851
|
+
Sonic: "0x0",
|
|
387852
|
+
// New networks
|
|
387853
|
+
MegaETH: "0x0",
|
|
387854
|
+
Monad: "0x0",
|
|
387855
|
+
Berachain: "0x0",
|
|
387856
|
+
Avalanche: "0x0"
|
|
387573
387857
|
};
|
|
387574
387858
|
const pendleRouter = PENDLE_ROUTER_BY_NETWORK[this.sdk.provider.networkType];
|
|
387575
387859
|
const pendleAdapter = cm.creditManager.adapters.mustGet(pendleRouter);
|
|
@@ -389689,7 +389973,7 @@ var GearboxSDK = class _GearboxSDK {
|
|
|
389689
389973
|
blockNumber,
|
|
389690
389974
|
redstoneHistoricTimestamp,
|
|
389691
389975
|
ignoreUpdateablePrices,
|
|
389692
|
-
marketConfigurators
|
|
389976
|
+
marketConfigurators: mcs
|
|
389693
389977
|
} = options;
|
|
389694
389978
|
let { networkType, addressProvider, chainId } = options;
|
|
389695
389979
|
const attachClient = createPublicClient({
|
|
@@ -389704,12 +389988,13 @@ var GearboxSDK = class _GearboxSDK {
|
|
|
389704
389988
|
if (!addressProvider) {
|
|
389705
389989
|
addressProvider = ADDRESS_PROVIDER_V310;
|
|
389706
389990
|
}
|
|
389991
|
+
const marketConfigurators = mcs ?? TypedObjectUtils.keys(chains[networkType].defaultMarketConfigurators);
|
|
389707
389992
|
const provider = new Provider({
|
|
389708
389993
|
...options,
|
|
389709
389994
|
chainId,
|
|
389710
389995
|
networkType
|
|
389711
389996
|
});
|
|
389712
|
-
logger2?.
|
|
389997
|
+
logger2?.info(
|
|
389713
389998
|
{ networkType, chainId, addressProvider, marketConfigurators },
|
|
389714
389999
|
"attaching gearbox sdk"
|
|
389715
390000
|
);
|
|
@@ -389763,13 +390048,12 @@ var GearboxSDK = class _GearboxSDK {
|
|
|
389763
390048
|
if (redstoneGateways?.length) {
|
|
389764
390049
|
this.priceFeeds.redstoneUpdater.gateways = redstoneGateways;
|
|
389765
390050
|
}
|
|
389766
|
-
this.logger?.
|
|
390051
|
+
this.logger?.debug(
|
|
389767
390052
|
{
|
|
389768
|
-
|
|
389769
|
-
blockNumber: block.number,
|
|
390053
|
+
number: block.number,
|
|
389770
390054
|
timestamp: block.timestamp
|
|
389771
390055
|
},
|
|
389772
|
-
"
|
|
390056
|
+
"attach block"
|
|
389773
390057
|
);
|
|
389774
390058
|
this.#addressProvider = await createAddressProvider(this, addressProvider);
|
|
389775
390059
|
this.logger?.debug(
|
|
@@ -410819,112 +411103,192 @@ var ADDRESS_PROVIDER2 = {
|
|
|
410819
411103
|
Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af",
|
|
410820
411104
|
Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726",
|
|
410821
411105
|
Base: NOT_DEPLOYED,
|
|
410822
|
-
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B"
|
|
411106
|
+
Sonic: "0x4b27b296273B72d7c7bfee1ACE93DC081467C41B",
|
|
411107
|
+
// New networks
|
|
411108
|
+
MegaETH: NOT_DEPLOYED,
|
|
411109
|
+
Monad: NOT_DEPLOYED,
|
|
411110
|
+
Berachain: NOT_DEPLOYED,
|
|
411111
|
+
Avalanche: NOT_DEPLOYED
|
|
410823
411112
|
};
|
|
410824
411113
|
var GOVERNOR = {
|
|
410825
411114
|
Mainnet: "0x29B97F37B3E0C704bCFD785F5b7bBa2A0B7df2c7",
|
|
410826
411115
|
Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
410827
411116
|
Optimism: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
410828
411117
|
Base: NOT_DEPLOYED,
|
|
410829
|
-
Sonic: "0x1f3Ee385ce9A6333d73b61086349C4d0f5De0da8"
|
|
411118
|
+
Sonic: "0x1f3Ee385ce9A6333d73b61086349C4d0f5De0da8",
|
|
411119
|
+
// New networks
|
|
411120
|
+
MegaETH: NOT_DEPLOYED,
|
|
411121
|
+
Monad: NOT_DEPLOYED,
|
|
411122
|
+
Berachain: NOT_DEPLOYED,
|
|
411123
|
+
Avalanche: NOT_DEPLOYED
|
|
410830
411124
|
};
|
|
410831
411125
|
var TIMELOCK2 = {
|
|
410832
411126
|
Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
|
|
410833
411127
|
Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
410834
411128
|
Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
410835
411129
|
Base: NOT_DEPLOYED,
|
|
410836
|
-
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84"
|
|
411130
|
+
Sonic: "0xAdbF876ce58CB65c99b18078353e1DCB16E69e84",
|
|
411131
|
+
// New networks
|
|
411132
|
+
MegaETH: NOT_DEPLOYED,
|
|
411133
|
+
Monad: NOT_DEPLOYED,
|
|
411134
|
+
Berachain: NOT_DEPLOYED,
|
|
411135
|
+
Avalanche: NOT_DEPLOYED
|
|
410837
411136
|
};
|
|
410838
411137
|
var BATCH_CHAIN = {
|
|
410839
411138
|
Mainnet: "0xB900bDEf6eAc8C5D97F8e876aBC39573Cf6626b2",
|
|
410840
411139
|
Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2",
|
|
410841
411140
|
Optimism: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10",
|
|
410842
411141
|
Base: NOT_DEPLOYED,
|
|
410843
|
-
Sonic: "0xDe6c55B81442AF66Fd12508e15807fe2b92Be76D"
|
|
411142
|
+
Sonic: "0xDe6c55B81442AF66Fd12508e15807fe2b92Be76D",
|
|
411143
|
+
// New networks
|
|
411144
|
+
MegaETH: NOT_DEPLOYED,
|
|
411145
|
+
Monad: NOT_DEPLOYED,
|
|
411146
|
+
Berachain: NOT_DEPLOYED,
|
|
411147
|
+
Avalanche: NOT_DEPLOYED
|
|
410844
411148
|
};
|
|
410845
411149
|
var BLACKLIST_HELPER = {
|
|
410846
411150
|
Mainnet: "0xFfbF344741654a1B9Ab1286Cf05A42f275F67839",
|
|
410847
411151
|
Arbitrum: NOT_DEPLOYED,
|
|
410848
411152
|
Optimism: NOT_DEPLOYED,
|
|
410849
411153
|
Base: NOT_DEPLOYED,
|
|
410850
|
-
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
|
|
410851
411160
|
};
|
|
410852
411161
|
var CREATE2FACTORY = {
|
|
410853
411162
|
Mainnet: "0x45d146CAA25aa565Cfc7434926633f4F1C97c873",
|
|
410854
411163
|
Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
410855
411164
|
Optimism: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
410856
411165
|
Base: NOT_DEPLOYED,
|
|
410857
|
-
Sonic: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A"
|
|
411166
|
+
Sonic: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
411167
|
+
// New networks
|
|
411168
|
+
MegaETH: NOT_DEPLOYED,
|
|
411169
|
+
Monad: NOT_DEPLOYED,
|
|
411170
|
+
Berachain: NOT_DEPLOYED,
|
|
411171
|
+
Avalanche: NOT_DEPLOYED
|
|
410858
411172
|
};
|
|
410859
411173
|
var MULTISIG = {
|
|
410860
411174
|
Mainnet: "0xA7D5DDc1b8557914F158076b228AA91eF613f1D5",
|
|
410861
411175
|
Arbitrum: "0x57Fd8B1a9213624157786Fff4a7bc532Ce717773",
|
|
410862
411176
|
Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c",
|
|
410863
411177
|
Base: NOT_DEPLOYED,
|
|
410864
|
-
Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D"
|
|
411178
|
+
Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D",
|
|
411179
|
+
// New networks
|
|
411180
|
+
MegaETH: NOT_DEPLOYED,
|
|
411181
|
+
Monad: NOT_DEPLOYED,
|
|
411182
|
+
Berachain: NOT_DEPLOYED,
|
|
411183
|
+
Avalanche: NOT_DEPLOYED
|
|
410865
411184
|
};
|
|
410866
411185
|
var VETO_ADMIN = {
|
|
410867
411186
|
Mainnet: "0xbb803559B4D58b75E12dd74641AB955e8B0Df40E",
|
|
410868
411187
|
Arbitrum: "0x746fb3AcAfF6Bfe246206EC2E51F587d2E57abb6",
|
|
410869
411188
|
Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f",
|
|
410870
411189
|
Base: NOT_DEPLOYED,
|
|
410871
|
-
Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC"
|
|
411190
|
+
Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC",
|
|
411191
|
+
// New networks
|
|
411192
|
+
MegaETH: NOT_DEPLOYED,
|
|
411193
|
+
Monad: NOT_DEPLOYED,
|
|
411194
|
+
Berachain: NOT_DEPLOYED,
|
|
411195
|
+
Avalanche: NOT_DEPLOYED
|
|
410872
411196
|
};
|
|
410873
411197
|
var TREASURY = {
|
|
410874
411198
|
Mainnet: "0x7b065fcb0760df0cea8cfd144e08554f3cea73d1",
|
|
410875
411199
|
Arbitrum: "0x2c31eFFE426765E68A43163A96DD13DF70B53C14",
|
|
410876
411200
|
Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808",
|
|
410877
411201
|
Base: NOT_DEPLOYED,
|
|
410878
|
-
Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795"
|
|
411202
|
+
Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795",
|
|
411203
|
+
// New networks
|
|
411204
|
+
MegaETH: NOT_DEPLOYED,
|
|
411205
|
+
Monad: NOT_DEPLOYED,
|
|
411206
|
+
Berachain: NOT_DEPLOYED,
|
|
411207
|
+
Avalanche: NOT_DEPLOYED
|
|
410879
411208
|
};
|
|
410880
411209
|
var ROUTER_MULTISIG_ADDRESS = {
|
|
410881
411210
|
Mainnet: "0xaaDf86C39a76eEEf5a5337Ca449C7EfA66E3175E",
|
|
410882
411211
|
Arbitrum: "0xEAb23245937A4F0894B0c92f08992C2c45Fc8df5",
|
|
410883
411212
|
Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1",
|
|
410884
411213
|
Base: NOT_DEPLOYED,
|
|
410885
|
-
Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d"
|
|
411214
|
+
Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d",
|
|
411215
|
+
// New networks
|
|
411216
|
+
MegaETH: NOT_DEPLOYED,
|
|
411217
|
+
Monad: NOT_DEPLOYED,
|
|
411218
|
+
Berachain: NOT_DEPLOYED,
|
|
411219
|
+
Avalanche: NOT_DEPLOYED
|
|
410886
411220
|
};
|
|
410887
411221
|
var ROUTER_CREATE2FACTORY = {
|
|
410888
411222
|
Mainnet: "0xA287577Fb7Cf49246e569EA268FE919F1cD6d9E2",
|
|
410889
411223
|
Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
410890
411224
|
Optimism: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
410891
411225
|
Base: NOT_DEPLOYED,
|
|
410892
|
-
Sonic: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10"
|
|
411226
|
+
Sonic: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10",
|
|
411227
|
+
// New networks
|
|
411228
|
+
MegaETH: NOT_DEPLOYED,
|
|
411229
|
+
Monad: NOT_DEPLOYED,
|
|
411230
|
+
Berachain: NOT_DEPLOYED,
|
|
411231
|
+
Avalanche: NOT_DEPLOYED
|
|
410893
411232
|
};
|
|
410894
411233
|
var NEXO_ADDRESS_PROVIDER = {
|
|
410895
411234
|
Mainnet: "0x2Eb0BE5585E49190414307597912BD039a029Eda",
|
|
410896
411235
|
Arbitrum: NOT_DEPLOYED,
|
|
410897
411236
|
Optimism: NOT_DEPLOYED,
|
|
410898
411237
|
Base: NOT_DEPLOYED,
|
|
410899
|
-
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
|
|
410900
411244
|
};
|
|
410901
411245
|
var NEXO_TIMELOCK = {
|
|
410902
411246
|
Mainnet: "0xdcC3FD83DBF480e8Ad74DD3A634CaE29B68b9814",
|
|
410903
411247
|
Arbitrum: NOT_DEPLOYED,
|
|
410904
411248
|
Optimism: NOT_DEPLOYED,
|
|
410905
411249
|
Base: NOT_DEPLOYED,
|
|
410906
|
-
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
|
|
410907
411256
|
};
|
|
410908
411257
|
var NEXO_GOVERNOR = {
|
|
410909
411258
|
Mainnet: "0x42Cf536467f4fa474010a16f66A3fa7576f987D6",
|
|
410910
411259
|
Arbitrum: NOT_DEPLOYED,
|
|
410911
411260
|
Optimism: NOT_DEPLOYED,
|
|
410912
411261
|
Base: NOT_DEPLOYED,
|
|
410913
|
-
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
|
|
410914
411268
|
};
|
|
410915
411269
|
var NEXO_BATCH_CHAIN = {
|
|
410916
411270
|
Mainnet: "0xcba71ACEDe17d2CABBfADBab30cc08F20eeaca52",
|
|
410917
411271
|
Arbitrum: NOT_DEPLOYED,
|
|
410918
411272
|
Optimism: NOT_DEPLOYED,
|
|
410919
411273
|
Base: NOT_DEPLOYED,
|
|
410920
|
-
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
|
|
410921
411280
|
};
|
|
410922
411281
|
var NEXO_CREATE2FACTORY = {
|
|
410923
411282
|
Mainnet: "0x48D945ACc64043B10A781917bfB88dDF49e06Fc6",
|
|
410924
411283
|
Arbitrum: NOT_DEPLOYED,
|
|
410925
411284
|
Optimism: NOT_DEPLOYED,
|
|
410926
411285
|
Base: NOT_DEPLOYED,
|
|
410927
|
-
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
|
|
410928
411292
|
};
|
|
410929
411293
|
var UTILITY_CONTRACTS = {
|
|
410930
411294
|
ADDRESS_PROVIDER: ADDRESS_PROVIDER2,
|
|
@@ -419095,7 +419459,7 @@ function getRenderer(opts) {
|
|
|
419095
419459
|
var package_default = {
|
|
419096
419460
|
name: "@gearbox-protocol/deploy-tools",
|
|
419097
419461
|
description: "Gearbox deploy tools",
|
|
419098
|
-
version: "5.24.
|
|
419462
|
+
version: "5.24.10",
|
|
419099
419463
|
homepage: "https://gearbox.fi",
|
|
419100
419464
|
keywords: [
|
|
419101
419465
|
"gearbox"
|
|
@@ -419138,7 +419502,7 @@ var package_default = {
|
|
|
419138
419502
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
419139
419503
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
419140
419504
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
419141
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
419505
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.330",
|
|
419142
419506
|
"@gearbox-protocol/sdk-gov": "^2.36.6",
|
|
419143
419507
|
"@types/lodash-es": "^4.17.12",
|
|
419144
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",
|