@gearbox-protocol/deploy-tools 5.8.1 → 5.9.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +812 -121
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -74488,12 +74488,12 @@ var require_retry = __commonJS({
74488
74488
  "use strict";
74489
74489
  Object.defineProperty(exports2, "__esModule", { value: true });
74490
74490
  exports2.waitForSuccess = void 0;
74491
- exports2.retry = retry2;
74491
+ exports2.retry = retry3;
74492
74492
  var logger_1 = require_logger();
74493
74493
  var errors_1 = require_errors2();
74494
74494
  var time_1 = require_time();
74495
74495
  var logger2 = (0, logger_1.loggerFactory)("retry");
74496
- function retry2(config) {
74496
+ function retry3(config) {
74497
74497
  if (config.maxRetries === 0) {
74498
74498
  throw new Error(`Setting 'config.maxRetries' to 0 will never call the underlying function`);
74499
74499
  }
@@ -100044,8 +100044,8 @@ var require_fetch = __commonJS({
100044
100044
  get retryFunc() {
100045
100045
  return this.#retry || null;
100046
100046
  }
100047
- set retryFunc(retry2) {
100048
- this.#retry = retry2;
100047
+ set retryFunc(retry3) {
100048
+ this.#retry = retry3;
100049
100049
  }
100050
100050
  /**
100051
100051
  * This function is called to fetch content from HTTP and
@@ -134960,58 +134960,58 @@ var require_sonic_boom = __commonJS({
134960
134960
  var kContentModeUtf8 = "utf8";
134961
134961
  var [major2, minor] = (process.versions.node || "0.0").split(".").map(Number);
134962
134962
  var kCopyBuffer = major2 >= 22 && minor >= 7;
134963
- function openFile(file, sonic) {
134964
- sonic._opening = true;
134965
- sonic._writing = true;
134966
- sonic._asyncDrainScheduled = false;
134963
+ function openFile(file, sonic2) {
134964
+ sonic2._opening = true;
134965
+ sonic2._writing = true;
134966
+ sonic2._asyncDrainScheduled = false;
134967
134967
  function fileOpened(err, fd) {
134968
134968
  if (err) {
134969
- sonic._reopening = false;
134970
- sonic._writing = false;
134971
- sonic._opening = false;
134972
- if (sonic.sync) {
134969
+ sonic2._reopening = false;
134970
+ sonic2._writing = false;
134971
+ sonic2._opening = false;
134972
+ if (sonic2.sync) {
134973
134973
  process.nextTick(() => {
134974
- if (sonic.listenerCount("error") > 0) {
134975
- sonic.emit("error", err);
134974
+ if (sonic2.listenerCount("error") > 0) {
134975
+ sonic2.emit("error", err);
134976
134976
  }
134977
134977
  });
134978
134978
  } else {
134979
- sonic.emit("error", err);
134979
+ sonic2.emit("error", err);
134980
134980
  }
134981
134981
  return;
134982
134982
  }
134983
- const reopening = sonic._reopening;
134984
- sonic.fd = fd;
134985
- sonic.file = file;
134986
- sonic._reopening = false;
134987
- sonic._opening = false;
134988
- sonic._writing = false;
134989
- if (sonic.sync) {
134990
- process.nextTick(() => sonic.emit("ready"));
134983
+ const reopening = sonic2._reopening;
134984
+ sonic2.fd = fd;
134985
+ sonic2.file = file;
134986
+ sonic2._reopening = false;
134987
+ sonic2._opening = false;
134988
+ sonic2._writing = false;
134989
+ if (sonic2.sync) {
134990
+ process.nextTick(() => sonic2.emit("ready"));
134991
134991
  } else {
134992
- sonic.emit("ready");
134992
+ sonic2.emit("ready");
134993
134993
  }
134994
- if (sonic.destroyed) {
134994
+ if (sonic2.destroyed) {
134995
134995
  return;
134996
134996
  }
134997
- if (!sonic._writing && sonic._len > sonic.minLength || sonic._flushPending) {
134998
- sonic._actualWrite();
134997
+ if (!sonic2._writing && sonic2._len > sonic2.minLength || sonic2._flushPending) {
134998
+ sonic2._actualWrite();
134999
134999
  } else if (reopening) {
135000
- process.nextTick(() => sonic.emit("drain"));
135000
+ process.nextTick(() => sonic2.emit("drain"));
135001
135001
  }
135002
135002
  }
135003
- const flags = sonic.append ? "a" : "w";
135004
- const mode = sonic.mode;
135005
- if (sonic.sync) {
135003
+ const flags = sonic2.append ? "a" : "w";
135004
+ const mode = sonic2.mode;
135005
+ if (sonic2.sync) {
135006
135006
  try {
135007
- if (sonic.mkdir) fs3.mkdirSync(path11.dirname(file), { recursive: true });
135007
+ if (sonic2.mkdir) fs3.mkdirSync(path11.dirname(file), { recursive: true });
135008
135008
  const fd = fs3.openSync(file, flags, mode);
135009
135009
  fileOpened(null, fd);
135010
135010
  } catch (err) {
135011
135011
  fileOpened(err);
135012
135012
  throw err;
135013
135013
  }
135014
- } else if (sonic.mkdir) {
135014
+ } else if (sonic2.mkdir) {
135015
135015
  fs3.mkdir(path11.dirname(file), { recursive: true }, (err) => {
135016
135016
  if (err) return fileOpened(err);
135017
135017
  fs3.open(file, flags, mode, fileOpened);
@@ -135169,11 +135169,11 @@ var require_sonic_boom = __commonJS({
135169
135169
  writingBuf = writingBuf.slice(n);
135170
135170
  return { writingBuf, len };
135171
135171
  }
135172
- function emitDrain(sonic) {
135173
- const hasListeners = sonic.listenerCount("drain") > 0;
135172
+ function emitDrain(sonic2) {
135173
+ const hasListeners = sonic2.listenerCount("drain") > 0;
135174
135174
  if (!hasListeners) return;
135175
- sonic._asyncDrainScheduled = false;
135176
- sonic.emit("drain");
135175
+ sonic2._asyncDrainScheduled = false;
135176
+ sonic2.emit("drain");
135177
135177
  }
135178
135178
  inherits(SonicBoom, EventEmitter);
135179
135179
  function mergeBuf(bufs, len) {
@@ -135478,38 +135478,38 @@ var require_sonic_boom = __commonJS({
135478
135478
  fs3.write(this.fd, this._writingBuf, release);
135479
135479
  }
135480
135480
  }
135481
- function actualClose(sonic) {
135482
- if (sonic.fd === -1) {
135483
- sonic.once("ready", actualClose.bind(null, sonic));
135481
+ function actualClose(sonic2) {
135482
+ if (sonic2.fd === -1) {
135483
+ sonic2.once("ready", actualClose.bind(null, sonic2));
135484
135484
  return;
135485
135485
  }
135486
- if (sonic._periodicFlushTimer !== void 0) {
135487
- clearInterval(sonic._periodicFlushTimer);
135486
+ if (sonic2._periodicFlushTimer !== void 0) {
135487
+ clearInterval(sonic2._periodicFlushTimer);
135488
135488
  }
135489
- sonic.destroyed = true;
135490
- sonic._bufs = [];
135491
- sonic._lens = [];
135492
- assert(typeof sonic.fd === "number", `sonic.fd must be a number, got ${typeof sonic.fd}`);
135489
+ sonic2.destroyed = true;
135490
+ sonic2._bufs = [];
135491
+ sonic2._lens = [];
135492
+ assert(typeof sonic2.fd === "number", `sonic.fd must be a number, got ${typeof sonic2.fd}`);
135493
135493
  try {
135494
- fs3.fsync(sonic.fd, closeWrapped);
135494
+ fs3.fsync(sonic2.fd, closeWrapped);
135495
135495
  } catch {
135496
135496
  }
135497
135497
  function closeWrapped() {
135498
- if (sonic.fd !== 1 && sonic.fd !== 2) {
135499
- fs3.close(sonic.fd, done);
135498
+ if (sonic2.fd !== 1 && sonic2.fd !== 2) {
135499
+ fs3.close(sonic2.fd, done);
135500
135500
  } else {
135501
135501
  done();
135502
135502
  }
135503
135503
  }
135504
135504
  function done(err) {
135505
135505
  if (err) {
135506
- sonic.emit("error", err);
135506
+ sonic2.emit("error", err);
135507
135507
  return;
135508
135508
  }
135509
- if (sonic._ending && !sonic._writing) {
135510
- sonic.emit("finish");
135509
+ if (sonic2._ending && !sonic2._writing) {
135510
+ sonic2.emit("finish");
135511
135511
  }
135512
- sonic.emit("close");
135512
+ sonic2.emit("close");
135513
135513
  }
135514
135514
  }
135515
135515
  SonicBoom.SonicBoom = SonicBoom;
@@ -172156,7 +172156,7 @@ var require_withRetry = __commonJS({
172156
172156
  function withRetry2(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
172157
172157
  return new Promise((resolve2, reject) => {
172158
172158
  const attemptRetry = async ({ count = 0 } = {}) => {
172159
- const retry2 = async ({ error }) => {
172159
+ const retry3 = async ({ error }) => {
172160
172160
  const delay = typeof delay_ === "function" ? delay_({ count, error }) : delay_;
172161
172161
  if (delay)
172162
172162
  await (0, wait_js_1.wait)(delay);
@@ -172167,7 +172167,7 @@ var require_withRetry = __commonJS({
172167
172167
  resolve2(data);
172168
172168
  } catch (err) {
172169
172169
  if (count < retryCount && await shouldRetry2({ count, error: err }))
172170
- return retry2({ error: err });
172170
+ return retry3({ error: err });
172171
172171
  reject(err);
172172
172172
  }
172173
172173
  };
@@ -263022,8 +263022,8 @@ var require_fetch2 = __commonJS({
263022
263022
  get retryFunc() {
263023
263023
  return this.#retry || null;
263024
263024
  }
263025
- set retryFunc(retry2) {
263026
- this.#retry = retry2;
263025
+ set retryFunc(retry3) {
263026
+ this.#retry = retry3;
263027
263027
  }
263028
263028
  /**
263029
263029
  * This function is called to fetch content from HTTP and
@@ -334587,7 +334587,7 @@ function withDedupe(fn, { enabled = true, id }) {
334587
334587
  function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
334588
334588
  return new Promise((resolve2, reject) => {
334589
334589
  const attemptRetry = async ({ count = 0 } = {}) => {
334590
- const retry2 = async ({ error }) => {
334590
+ const retry3 = async ({ error }) => {
334591
334591
  const delay = typeof delay_ === "function" ? delay_({ count, error }) : delay_;
334592
334592
  if (delay)
334593
334593
  await wait(delay);
@@ -334598,7 +334598,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
334598
334598
  resolve2(data);
334599
334599
  } catch (err) {
334600
334600
  if (count < retryCount && await shouldRetry2({ count, error: err }))
334601
- return retry2({ error: err });
334601
+ return retry3({ error: err });
334602
334602
  reject(err);
334603
334603
  }
334604
334604
  };
@@ -339692,6 +339692,33 @@ var optimism = /* @__PURE__ */ defineChain({
339692
339692
  sourceId: sourceId2
339693
339693
  });
339694
339694
 
339695
+ // ../../node_modules/viem/_esm/chains/definitions/sonic.js
339696
+ var sonic = /* @__PURE__ */ defineChain({
339697
+ id: 146,
339698
+ name: "Sonic",
339699
+ nativeCurrency: {
339700
+ decimals: 18,
339701
+ name: "Sonic",
339702
+ symbol: "S"
339703
+ },
339704
+ rpcUrls: {
339705
+ default: { http: ["https://rpc.soniclabs.com"] }
339706
+ },
339707
+ blockExplorers: {
339708
+ default: {
339709
+ name: "Sonic Explorer",
339710
+ url: "https://sonicscan.org/"
339711
+ }
339712
+ },
339713
+ contracts: {
339714
+ multicall3: {
339715
+ address: "0xca11bde05977b3631167028862be2a173976ca11",
339716
+ blockCreated: 60
339717
+ }
339718
+ },
339719
+ testnet: false
339720
+ });
339721
+
339695
339722
  // ../../node_modules/@gearbox-protocol/sdk/dist/esm/sdk/index.mjs
339696
339723
  var import_evm_connector = __toESM(require_src5(), 1);
339697
339724
  var import_protocol = __toESM(require_src(), 1);
@@ -364446,19 +364473,22 @@ var USDC = {
364446
364473
  Mainnet: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
364447
364474
  Arbitrum: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
364448
364475
  Optimism: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
364449
- Base: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
364476
+ Base: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
364477
+ Sonic: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894"
364450
364478
  };
364451
364479
  var TIMELOCK = {
364452
364480
  Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
364453
364481
  Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
364454
364482
  Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
364455
- Base: NOT_DEPLOYED
364483
+ Base: NOT_DEPLOYED,
364484
+ Sonic: NOT_DEPLOYED
364456
364485
  };
364457
364486
  var GEARBOX_RISK_CURATORS = {
364458
364487
  Mainnet: [TIMELOCK.Mainnet],
364459
364488
  Arbitrum: [TIMELOCK.Arbitrum],
364460
364489
  Optimism: [TIMELOCK.Optimism],
364461
- Base: [TIMELOCK.Base]
364490
+ Base: [TIMELOCK.Base],
364491
+ Sonic: [TIMELOCK.Sonic]
364462
364492
  };
364463
364493
  var DEPRECIATED_POOLS = {
364464
364494
  Mainnet: {
@@ -364466,7 +364496,8 @@ var DEPRECIATED_POOLS = {
364466
364496
  },
364467
364497
  Arbitrum: {},
364468
364498
  Optimism: {},
364469
- Base: {}
364499
+ Base: {},
364500
+ Sonic: {}
364470
364501
  };
364471
364502
  var NO_VERSION = 0;
364472
364503
  var AP_MARKET_COMPRESSOR = "MARKET_COMPRESSOR";
@@ -364482,7 +364513,8 @@ var ADDRESS_PROVIDER = {
364482
364513
  Mainnet: "0x9ea7b04Da02a5373317D745c1571c84aaD03321D",
364483
364514
  Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af",
364484
364515
  Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726",
364485
- Base: NOT_DEPLOYED
364516
+ Base: NOT_DEPLOYED,
364517
+ Sonic: NOT_DEPLOYED
364486
364518
  };
364487
364519
  var BotPermissions = /* @__PURE__ */ ((BotPermissions2) => {
364488
364520
  BotPermissions2[BotPermissions2["ADD_COLLATERAL"] = 1] = "ADD_COLLATERAL";
@@ -364529,27 +364561,32 @@ var ADDRESS_PROVIDER_BLOCK = {
364529
364561
  Mainnet: 18433056n,
364530
364562
  Arbitrum: 184650310n,
364531
364563
  Optimism: 118410666n,
364532
- Base: 0n
364564
+ Base: 0n,
364565
+ Sonic: 0n
364533
364566
  };
364534
364567
  var BLOCK_DURATION_BY_NETWORK = {
364535
364568
  Mainnet: 12.16,
364536
364569
  Arbitrum: 0.26,
364537
364570
  Optimism: 1.64,
364538
- Base: 2.01
364571
+ Base: 2.01,
364572
+ // TODO:
364573
+ Sonic: 1
364539
364574
  };
364540
364575
  var RAMP_TIME = 30 * 24 * 60 * 60 * 1.2;
364541
364576
  var RAMP_DURATION_BY_NETWORK = {
364542
364577
  Mainnet: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Mainnet)),
364543
364578
  Arbitrum: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Arbitrum)),
364544
364579
  Optimism: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Optimism)),
364545
- Base: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Base))
364580
+ Base: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Base)),
364581
+ Sonic: BigInt(Math.floor(RAMP_TIME / BLOCK_DURATION_BY_NETWORK.Sonic))
364546
364582
  };
364547
364583
  var WEEK = 7 * 24 * 60 * 60;
364548
364584
  var BLOCKS_PER_WEEK_BY_NETWORK = {
364549
364585
  Mainnet: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Mainnet)),
364550
364586
  Arbitrum: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Arbitrum)),
364551
364587
  Optimism: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Optimism)),
364552
- Base: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Base))
364588
+ Base: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Base)),
364589
+ Sonic: BigInt(Math.floor(WEEK / BLOCK_DURATION_BY_NETWORK.Sonic))
364553
364590
  };
364554
364591
  var AddressMap = class {
364555
364592
  #map;
@@ -364801,6 +364838,22 @@ var TypedObjectUtils = class _TypedObjectUtils {
364801
364838
  {}
364802
364839
  );
364803
364840
  };
364841
+ async function retry(fn, options = {}) {
364842
+ const { attempts = 3, interval = 200 } = options;
364843
+ let cause;
364844
+ for (let i = 0; i < attempts; i++) {
364845
+ try {
364846
+ const result = await fn();
364847
+ return result;
364848
+ } catch (e) {
364849
+ cause = e;
364850
+ await new Promise((resolve2) => {
364851
+ setTimeout(resolve2, interval);
364852
+ });
364853
+ }
364854
+ }
364855
+ throw new Error(`all attempts failed: ${cause}`);
364856
+ }
364804
364857
  var AddressLabeller = class {
364805
364858
  #labels = new AddressMap();
364806
364859
  set(address, label) {
@@ -366205,22 +366258,22 @@ var SUPPORTED_CHAINS = [
366205
366258
  "Mainnet",
366206
366259
  "Arbitrum",
366207
366260
  "Optimism",
366208
- "Base"
366209
- // "Sonic",
366261
+ "Base",
366262
+ "Sonic"
366210
366263
  ];
366211
366264
  var chains = {
366212
366265
  Mainnet: mainnet,
366213
366266
  Arbitrum: arbitrum,
366214
366267
  Optimism: optimism,
366215
- Base: base
366216
- // Sonic: sonic,
366268
+ Base: base,
366269
+ Sonic: sonic
366217
366270
  };
366218
366271
  var CHAINS_BY_ID = {
366219
366272
  [mainnet.id]: "Mainnet",
366220
366273
  [arbitrum.id]: "Arbitrum",
366221
366274
  [optimism.id]: "Optimism",
366222
- [base.id]: "Base"
366223
- // [sonic.id]: "Sonic",
366275
+ [base.id]: "Base",
366276
+ [sonic.id]: "Sonic"
366224
366277
  };
366225
366278
  async function detectChain(transportOrRPC) {
366226
366279
  const transport = typeof transportOrRPC === "string" ? http(transportOrRPC) : transportOrRPC;
@@ -367392,6 +367445,46 @@ var balancerLpTokens = {
367392
367445
  underlying: ["wstETH", "sfrxETH", "rETH"],
367393
367446
  poolId: "0x5f8893506ddc4c271837187d14a9c87964a074dc000000000000000000000106"
367394
367447
  },
367448
+ bpt_rsb: {
367449
+ name: "Ringing Stable Beets",
367450
+ symbol: "bpt_rsb",
367451
+ type: {
367452
+ AllNetworks: 10
367453
+ /* BALANCER_LP_TOKEN */
367454
+ },
367455
+ underlying: ["USDC", "scUSD"],
367456
+ poolId: "0xcd4d2b142235d5650ffa6a38787ed0b7d7a51c0c000000000000000000000037"
367457
+ },
367458
+ bpt_sss: {
367459
+ name: "Staked Sonic Symphony",
367460
+ symbol: "bpt_sss",
367461
+ type: {
367462
+ AllNetworks: 10
367463
+ /* BALANCER_LP_TOKEN */
367464
+ },
367465
+ underlying: ["wS", "stS"],
367466
+ poolId: "0x374641076b68371e69d03c417dac3e5f236c32fa000000000000000000000006"
367467
+ },
367468
+ BPT_scUSD_stS: {
367469
+ name: "Put A Ring On It",
367470
+ symbol: "BPT_scUSD_stS",
367471
+ type: {
367472
+ AllNetworks: 10
367473
+ /* BALANCER_LP_TOKEN */
367474
+ },
367475
+ underlying: ["scUSD", "stS"],
367476
+ poolId: "0x25ca5451cd5a50ab1d324b5e64f32c0799661891000200000000000000000018"
367477
+ },
367478
+ BPT_USDCe_stS: {
367479
+ name: "Staked Sonic & Circle Concerto",
367480
+ symbol: "BPT_USDCe_stS",
367481
+ type: {
367482
+ AllNetworks: 10
367483
+ /* BALANCER_LP_TOKEN */
367484
+ },
367485
+ underlying: ["USDC", "stS"],
367486
+ poolId: "0x713fb5036dc70012588d77a5b066f1dd05c712d7000200000000000000000041"
367487
+ },
367395
367488
  tETH_wstETH_BPT: {
367396
367489
  name: "Balancer tETH/wstETH",
367397
367490
  symbol: "tETH_wstETH_BPT",
@@ -368424,6 +368517,9 @@ var decimals = {
368424
368517
  SKY: 18,
368425
368518
  WLD: 18,
368426
368519
  OP: 18,
368520
+ wS: 18,
368521
+ scUSD: 6,
368522
+ stS: 18,
368427
368523
  GHO: 18,
368428
368524
  LBTC: 8,
368429
368525
  eBTC: 8,
@@ -368591,6 +368687,10 @@ var decimals = {
368591
368687
  pumpBTC_WBTC_BPT: 18,
368592
368688
  eBTC_WBTC_BPT: 18,
368593
368689
  sUSDe_USDC_BPT: 18,
368690
+ bpt_rsb: 18,
368691
+ bpt_sss: 18,
368692
+ BPT_scUSD_stS: 18,
368693
+ BPT_USDCe_stS: 18,
368594
368694
  tETH_wstETH_BPT: 18,
368595
368695
  auraB_rETH_STABLE: 18,
368596
368696
  auraB_rETH_STABLE_vault: 18,
@@ -369323,6 +369423,30 @@ var normalTokens = {
369323
369423
  /* NORMAL_TOKEN */
369324
369424
  }
369325
369425
  },
369426
+ wS: {
369427
+ name: "Wrapped Sonic",
369428
+ symbol: "wS",
369429
+ type: {
369430
+ AllNetworks: 1
369431
+ /* NORMAL_TOKEN */
369432
+ }
369433
+ },
369434
+ stS: {
369435
+ name: "Beets Staked Sonic",
369436
+ symbol: "stS",
369437
+ type: {
369438
+ AllNetworks: 1
369439
+ /* NORMAL_TOKEN */
369440
+ }
369441
+ },
369442
+ scUSD: {
369443
+ name: "Sonic USD",
369444
+ symbol: "scUSD",
369445
+ type: {
369446
+ AllNetworks: 1
369447
+ /* NORMAL_TOKEN */
369448
+ }
369449
+ },
369326
369450
  frxETH: {
369327
369451
  name: "Frax ETH",
369328
369452
  symbol: "frxETH",
@@ -369786,6 +369910,9 @@ var tokenDataByNetwork = {
369786
369910
  pufETH: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
369787
369911
  USDS: "0xdC035D45d973E3EC169d2276DDab16f1e407384F",
369788
369912
  SKY: "0x56072C95FAA701256059aa122697B133aDEd9279",
369913
+ wS: NOT_DEPLOYED,
369914
+ stS: NOT_DEPLOYED,
369915
+ scUSD: NOT_DEPLOYED,
369789
369916
  T: "0xCdF7028ceAB81fA0C6971208e83fa7872994beE5",
369790
369917
  // CURVE LP TOKENS
369791
369918
  "3Crv": "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490",
@@ -369915,6 +370042,10 @@ var tokenDataByNetwork = {
369915
370042
  pumpBTC_WBTC_BPT: "0x2238aB6c8c58473a5e81b86ec352322fB3f5Edd8",
369916
370043
  eBTC_WBTC_BPT: "0xda17f3663C5D04C0B316cfA1A04Aa53eBBC8c12C",
369917
370044
  B_50WBTC_50WETH: "0xA6F548DF93de924d73be7D25dC02554c6bD66dB5",
370045
+ bpt_rsb: NOT_DEPLOYED,
370046
+ bpt_sss: NOT_DEPLOYED,
370047
+ BPT_scUSD_stS: NOT_DEPLOYED,
370048
+ BPT_USDCe_stS: NOT_DEPLOYED,
369918
370049
  tETH_wstETH_BPT: "0x1D13531bf6344c102280CE4c458781FBF14Dad14",
369919
370050
  // AURA
369920
370051
  auraB_rETH_STABLE: "0x9497df26e5bD669Cb925eC68E730492b9300c482",
@@ -370039,6 +370170,9 @@ var tokenDataByNetwork = {
370039
370170
  AURA: "0x1509706a6c66CA549ff0cB464de88231DDBe213B",
370040
370171
  SWISE: NOT_DEPLOYED,
370041
370172
  SKY: NOT_DEPLOYED,
370173
+ wS: NOT_DEPLOYED,
370174
+ stS: NOT_DEPLOYED,
370175
+ scUSD: NOT_DEPLOYED,
370042
370176
  /// UPDATE
370043
370177
  STETH: NOT_DEPLOYED,
370044
370178
  wstETH: "0x5979D7b546E38E414F7E9822514be443A4800529",
@@ -370204,6 +370338,10 @@ var tokenDataByNetwork = {
370204
370338
  pumpBTC_WBTC_BPT: NOT_DEPLOYED,
370205
370339
  eBTC_WBTC_BPT: NOT_DEPLOYED,
370206
370340
  B_50WBTC_50WETH: NOT_DEPLOYED,
370341
+ bpt_rsb: NOT_DEPLOYED,
370342
+ bpt_sss: NOT_DEPLOYED,
370343
+ BPT_scUSD_stS: NOT_DEPLOYED,
370344
+ BPT_USDCe_stS: NOT_DEPLOYED,
370207
370345
  tETH_wstETH_BPT: NOT_DEPLOYED,
370208
370346
  // AURA
370209
370347
  auraB_rETH_STABLE: NOT_DEPLOYED,
@@ -370360,6 +370498,9 @@ var tokenDataByNetwork = {
370360
370498
  pufETH: NOT_DEPLOYED,
370361
370499
  USDS: NOT_DEPLOYED,
370362
370500
  SKY: NOT_DEPLOYED,
370501
+ wS: NOT_DEPLOYED,
370502
+ stS: NOT_DEPLOYED,
370503
+ scUSD: NOT_DEPLOYED,
370363
370504
  T: NOT_DEPLOYED,
370364
370505
  // REDSTONE
370365
370506
  SHIB: NOT_DEPLOYED,
@@ -370491,6 +370632,10 @@ var tokenDataByNetwork = {
370491
370632
  bpt_ethtri: "0x5F8893506Ddc4C271837187d14A9C87964a074Dc",
370492
370633
  pumpBTC_WBTC_BPT: NOT_DEPLOYED,
370493
370634
  eBTC_WBTC_BPT: NOT_DEPLOYED,
370635
+ bpt_rsb: NOT_DEPLOYED,
370636
+ bpt_sss: NOT_DEPLOYED,
370637
+ BPT_scUSD_stS: NOT_DEPLOYED,
370638
+ BPT_USDCe_stS: NOT_DEPLOYED,
370494
370639
  tETH_wstETH_BPT: NOT_DEPLOYED,
370495
370640
  // AURA
370496
370641
  auraB_rETH_STABLE: NOT_DEPLOYED,
@@ -370591,11 +370736,6 @@ var tokenDataByNetwork = {
370591
370736
  // BASE
370592
370737
  //
370593
370738
  //
370594
- ///
370595
- ///
370596
- /// OPTIMISM
370597
- ///
370598
- ///
370599
370739
  Base: {
370600
370740
  "1INCH": NOT_DEPLOYED,
370601
370741
  AAVE: NOT_DEPLOYED,
@@ -370620,6 +370760,9 @@ var tokenDataByNetwork = {
370620
370760
  WLD: NOT_DEPLOYED,
370621
370761
  OP: NOT_DEPLOYED,
370622
370762
  SKY: NOT_DEPLOYED,
370763
+ wS: NOT_DEPLOYED,
370764
+ stS: NOT_DEPLOYED,
370765
+ scUSD: NOT_DEPLOYED,
370623
370766
  /// UPDATE
370624
370767
  STETH: NOT_DEPLOYED,
370625
370768
  wstETH: NOT_DEPLOYED,
@@ -370780,6 +370923,303 @@ var tokenDataByNetwork = {
370780
370923
  bpt_ethtri: NOT_DEPLOYED,
370781
370924
  pumpBTC_WBTC_BPT: NOT_DEPLOYED,
370782
370925
  eBTC_WBTC_BPT: NOT_DEPLOYED,
370926
+ bpt_rsb: NOT_DEPLOYED,
370927
+ bpt_sss: NOT_DEPLOYED,
370928
+ BPT_scUSD_stS: NOT_DEPLOYED,
370929
+ BPT_USDCe_stS: NOT_DEPLOYED,
370930
+ tETH_wstETH_BPT: NOT_DEPLOYED,
370931
+ // AURA
370932
+ auraB_rETH_STABLE: NOT_DEPLOYED,
370933
+ auraweETH_rETH: NOT_DEPLOYED,
370934
+ auraosETH_wETH_BPT: NOT_DEPLOYED,
370935
+ auraBPT_rETH_ETH: NOT_DEPLOYED,
370936
+ auraBPT_WSTETH_ETH: NOT_DEPLOYED,
370937
+ aurarETH_wETH_BPT: NOT_DEPLOYED,
370938
+ auracbETH_rETH_wstETH: NOT_DEPLOYED,
370939
+ aurawstETH_rETH_sfrxETH: NOT_DEPLOYED,
370940
+ aurawstETH_WETH_BPT: NOT_DEPLOYED,
370941
+ auraB_rETH_STABLE_vault: NOT_DEPLOYED,
370942
+ auraweETH_rETH_vault: NOT_DEPLOYED,
370943
+ auraosETH_wETH_BPT_vault: NOT_DEPLOYED,
370944
+ auraBPT_rETH_ETH_vault: NOT_DEPLOYED,
370945
+ auraBPT_WSTETH_ETH_vault: NOT_DEPLOYED,
370946
+ aurarETH_wETH_BPT_vault: NOT_DEPLOYED,
370947
+ auracbETH_rETH_wstETH_vault: NOT_DEPLOYED,
370948
+ aurawstETH_rETH_sfrxETH_vault: NOT_DEPLOYED,
370949
+ aurawstETH_WETH_BPT_vault: NOT_DEPLOYED,
370950
+ // PENDLE
370951
+ PT_rsETH_26SEP2024: NOT_DEPLOYED,
370952
+ PT_sUSDe_26DEC2024: NOT_DEPLOYED,
370953
+ PT_eETH_26DEC2024: NOT_DEPLOYED,
370954
+ PT_ezETH_26DEC2024: NOT_DEPLOYED,
370955
+ PT_eBTC_26DEC2024: NOT_DEPLOYED,
370956
+ PT_LBTC_27MAR2025: NOT_DEPLOYED,
370957
+ PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED,
370958
+ PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED,
370959
+ PT_cornLBTC_26DEC2024: NOT_DEPLOYED,
370960
+ PT_corn_eBTC_27MAR2025: NOT_DEPLOYED,
370961
+ PT_sUSDe_27MAR2025: NOT_DEPLOYED,
370962
+ PT_sUSDe_29MAY2025: NOT_DEPLOYED,
370963
+ // GEARBOX
370964
+ dDAI: NOT_DEPLOYED,
370965
+ dUSDC: NOT_DEPLOYED,
370966
+ dWBTC: NOT_DEPLOYED,
370967
+ dWETH: NOT_DEPLOYED,
370968
+ dwstETH: NOT_DEPLOYED,
370969
+ dFRAX: NOT_DEPLOYED,
370970
+ dUSDCV3: NOT_DEPLOYED,
370971
+ dWBTCV3: NOT_DEPLOYED,
370972
+ dWETHV3: NOT_DEPLOYED,
370973
+ sdUSDCV3: NOT_DEPLOYED,
370974
+ sdWBTCV3: NOT_DEPLOYED,
370975
+ sdWETHV3: NOT_DEPLOYED,
370976
+ sdWETHV3_OLD: NOT_DEPLOYED,
370977
+ dUSDTV3: NOT_DEPLOYED,
370978
+ dGHOV3: NOT_DEPLOYED,
370979
+ dDAIV3: NOT_DEPLOYED,
370980
+ sdUSDTV3: NOT_DEPLOYED,
370981
+ sdGHOV3: NOT_DEPLOYED,
370982
+ sdDAIV3: NOT_DEPLOYED,
370983
+ dcrvUSDV3: NOT_DEPLOYED,
370984
+ sdcrvUSDV3: NOT_DEPLOYED,
370985
+ dDOLAV3: NOT_DEPLOYED,
370986
+ dwstETHV3: NOT_DEPLOYED,
370987
+ dtBTCV3: NOT_DEPLOYED,
370988
+ dUSDC_eV3: NOT_DEPLOYED,
370989
+ sdUSDC_eV3: NOT_DEPLOYED,
370990
+ GEAR: NOT_DEPLOYED,
370991
+ // AAVE
370992
+ aUSDC: NOT_DEPLOYED,
370993
+ aDAI: NOT_DEPLOYED,
370994
+ aUSDT: NOT_DEPLOYED,
370995
+ aWETH: NOT_DEPLOYED,
370996
+ waDAI: NOT_DEPLOYED,
370997
+ waUSDC: NOT_DEPLOYED,
370998
+ waUSDT: NOT_DEPLOYED,
370999
+ waWETH: NOT_DEPLOYED,
371000
+ cDAI: NOT_DEPLOYED,
371001
+ cUSDC: NOT_DEPLOYED,
371002
+ cUSDT: NOT_DEPLOYED,
371003
+ cETH: NOT_DEPLOYED,
371004
+ cLINK: NOT_DEPLOYED,
371005
+ fUSDC: NOT_DEPLOYED,
371006
+ sDAI: NOT_DEPLOYED,
371007
+ YieldETH: NOT_DEPLOYED,
371008
+ sUSDe: NOT_DEPLOYED,
371009
+ sUSDS: NOT_DEPLOYED,
371010
+ scrvUSD: NOT_DEPLOYED,
371011
+ tETH: NOT_DEPLOYED,
371012
+ beraSTONE: NOT_DEPLOYED,
371013
+ GHO: NOT_DEPLOYED,
371014
+ GHOUSDe: NOT_DEPLOYED,
371015
+ GHO_USDT_USDC: NOT_DEPLOYED,
371016
+ zpufETH: NOT_DEPLOYED,
371017
+ // SKY
371018
+ stkUSDS: NOT_DEPLOYED,
371019
+ // MELLOW LRT
371020
+ steakLRT: NOT_DEPLOYED,
371021
+ Re7LRT: NOT_DEPLOYED,
371022
+ amphrETH: NOT_DEPLOYED,
371023
+ rstETH: NOT_DEPLOYED,
371024
+ pzETH: NOT_DEPLOYED,
371025
+ DVstETH: NOT_DEPLOYED
371026
+ },
371027
+ //
371028
+ //
371029
+ // SONIC
371030
+ //
371031
+ //
371032
+ Sonic: {
371033
+ "1INCH": NOT_DEPLOYED,
371034
+ AAVE: NOT_DEPLOYED,
371035
+ CRV: NOT_DEPLOYED,
371036
+ DAI: NOT_DEPLOYED,
371037
+ LINK: NOT_DEPLOYED,
371038
+ SNX: NOT_DEPLOYED,
371039
+ UNI: NOT_DEPLOYED,
371040
+ USDT: NOT_DEPLOYED,
371041
+ DOLA: NOT_DEPLOYED,
371042
+ USDC: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
371043
+ USDC_e: NOT_DEPLOYED,
371044
+ WBTC: NOT_DEPLOYED,
371045
+ tBTC: NOT_DEPLOYED,
371046
+ WETH: "0x309C92261178fA0CF748A855e90Ae73FDb79EBc7",
371047
+ YFI: NOT_DEPLOYED,
371048
+ GMX: NOT_DEPLOYED,
371049
+ ARB: NOT_DEPLOYED,
371050
+ BAL: NOT_DEPLOYED,
371051
+ AURA: NOT_DEPLOYED,
371052
+ SWISE: NOT_DEPLOYED,
371053
+ WLD: NOT_DEPLOYED,
371054
+ OP: NOT_DEPLOYED,
371055
+ SKY: NOT_DEPLOYED,
371056
+ wS: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38",
371057
+ stS: "0xE5DA20F15420aD15DE0fa650600aFc998bbE3955",
371058
+ scUSD: "0xd3DCe716f3eF535C5Ff8d041c1A41C3bd89b97aE",
371059
+ T: NOT_DEPLOYED,
371060
+ /// UPDATE
371061
+ STETH: NOT_DEPLOYED,
371062
+ wstETH: NOT_DEPLOYED,
371063
+ CVX: NOT_DEPLOYED,
371064
+ FRAX: NOT_DEPLOYED,
371065
+ FXS: NOT_DEPLOYED,
371066
+ LDO: NOT_DEPLOYED,
371067
+ LUSD: NOT_DEPLOYED,
371068
+ sUSD: NOT_DEPLOYED,
371069
+ GUSD: NOT_DEPLOYED,
371070
+ LQTY: NOT_DEPLOYED,
371071
+ MKR: NOT_DEPLOYED,
371072
+ RPL: NOT_DEPLOYED,
371073
+ APE: NOT_DEPLOYED,
371074
+ LBTC: NOT_DEPLOYED,
371075
+ eBTC: NOT_DEPLOYED,
371076
+ solvBTC: NOT_DEPLOYED,
371077
+ pumpBTC: NOT_DEPLOYED,
371078
+ rETH: NOT_DEPLOYED,
371079
+ osETH: NOT_DEPLOYED,
371080
+ weETH: NOT_DEPLOYED,
371081
+ ezETH: NOT_DEPLOYED,
371082
+ rsETH: NOT_DEPLOYED,
371083
+ PENDLE: NOT_DEPLOYED,
371084
+ frxETH: NOT_DEPLOYED,
371085
+ sfrxETH: NOT_DEPLOYED,
371086
+ cbETH: NOT_DEPLOYED,
371087
+ rswETH: NOT_DEPLOYED,
371088
+ USDe: NOT_DEPLOYED,
371089
+ pufETH: NOT_DEPLOYED,
371090
+ USDS: NOT_DEPLOYED,
371091
+ // REDSTONE
371092
+ SHIB: NOT_DEPLOYED,
371093
+ // YEARN TOKENS
371094
+ yvDAI: NOT_DEPLOYED,
371095
+ yvUSDC: NOT_DEPLOYED,
371096
+ yvUSDC_e: NOT_DEPLOYED,
371097
+ yvUSDT: NOT_DEPLOYED,
371098
+ yvWETH: NOT_DEPLOYED,
371099
+ yvWBTC: NOT_DEPLOYED,
371100
+ yvOP: NOT_DEPLOYED,
371101
+ yvCurve_stETH: NOT_DEPLOYED,
371102
+ yvCurve_FRAX: NOT_DEPLOYED,
371103
+ // CURVE LP TOKENS
371104
+ "3Crv": NOT_DEPLOYED,
371105
+ "3CRV": NOT_DEPLOYED,
371106
+ wstETHCRV: NOT_DEPLOYED,
371107
+ crvFRAX: NOT_DEPLOYED,
371108
+ steCRV: NOT_DEPLOYED,
371109
+ FRAX3CRV: NOT_DEPLOYED,
371110
+ LUSD3CRV: NOT_DEPLOYED,
371111
+ crvPlain3andSUSD: NOT_DEPLOYED,
371112
+ gusd3CRV: NOT_DEPLOYED,
371113
+ USDeUSDC: NOT_DEPLOYED,
371114
+ FRAXUSDe: NOT_DEPLOYED,
371115
+ USDecrvUSD: NOT_DEPLOYED,
371116
+ FRAXsDAI: NOT_DEPLOYED,
371117
+ DOLAsUSDe: NOT_DEPLOYED,
371118
+ DOLAFRAXBP3CRV_f: NOT_DEPLOYED,
371119
+ crvUSDDOLA_f: NOT_DEPLOYED,
371120
+ crvCRVETH: NOT_DEPLOYED,
371121
+ crvCVXETH: NOT_DEPLOYED,
371122
+ crvUSDTWBTCWETH: NOT_DEPLOYED,
371123
+ LDOETH: NOT_DEPLOYED,
371124
+ USDeDAI: NOT_DEPLOYED,
371125
+ MtEthena: NOT_DEPLOYED,
371126
+ pufETHwstE: NOT_DEPLOYED,
371127
+ GHOcrvUSD: NOT_DEPLOYED,
371128
+ ezETHWETH: NOT_DEPLOYED,
371129
+ ezpzETH: NOT_DEPLOYED,
371130
+ LBTCWBTC: NOT_DEPLOYED,
371131
+ eBTCWBTC: NOT_DEPLOYED,
371132
+ pumpBTCWBTC: NOT_DEPLOYED,
371133
+ TriBTC: NOT_DEPLOYED,
371134
+ "2BTC-f": NOT_DEPLOYED,
371135
+ tETHwstETH: NOT_DEPLOYED,
371136
+ tETHweETH: NOT_DEPLOYED,
371137
+ pzETHstETH: NOT_DEPLOYED,
371138
+ crvUSDUSDC: NOT_DEPLOYED,
371139
+ crvUSDUSDT: NOT_DEPLOYED,
371140
+ crvUSDFRAX: NOT_DEPLOYED,
371141
+ crvUSDETHCRV: NOT_DEPLOYED,
371142
+ crvUsUSDe: NOT_DEPLOYED,
371143
+ llamathena: NOT_DEPLOYED,
371144
+ "2CRV": NOT_DEPLOYED,
371145
+ "3c-crvUSD": NOT_DEPLOYED,
371146
+ crvUSDC: NOT_DEPLOYED,
371147
+ crvUSDC_e: NOT_DEPLOYED,
371148
+ crvUSDT: NOT_DEPLOYED,
371149
+ USDEUSDC: NOT_DEPLOYED,
371150
+ rETH_f: NOT_DEPLOYED,
371151
+ // CONVEX LP TOKENS
371152
+ cvx3Crv: NOT_DEPLOYED,
371153
+ cvxcrvFRAX: NOT_DEPLOYED,
371154
+ cvxsteCRV: NOT_DEPLOYED,
371155
+ cvxcrvPlain3andSUSD: NOT_DEPLOYED,
371156
+ cvxFRAX3CRV: NOT_DEPLOYED,
371157
+ cvxLUSD3CRV: NOT_DEPLOYED,
371158
+ cvxgusd3CRV: NOT_DEPLOYED,
371159
+ cvxcrvCRVETH: NOT_DEPLOYED,
371160
+ cvxcrvCVXETH: NOT_DEPLOYED,
371161
+ cvxcrvUSDTWBTCWETH: NOT_DEPLOYED,
371162
+ cvxLDOETH: NOT_DEPLOYED,
371163
+ cvxcrvUSDUSDC: NOT_DEPLOYED,
371164
+ cvxcrvUSDUSDT: NOT_DEPLOYED,
371165
+ cvxcrvUSDFRAX: NOT_DEPLOYED,
371166
+ cvxcrvUSDETHCRV: NOT_DEPLOYED,
371167
+ cvxGHOcrvUSD: NOT_DEPLOYED,
371168
+ cvxllamathena: NOT_DEPLOYED,
371169
+ crvUSD: NOT_DEPLOYED,
371170
+ // CONVEX PHANTOM TOKEN ADDRESSES
371171
+ stkcvx3Crv: NOT_DEPLOYED,
371172
+ stkcvxcrvFRAX: NOT_DEPLOYED,
371173
+ stkcvxFRAX3CRV: NOT_DEPLOYED,
371174
+ stkcvxgusd3CRV: NOT_DEPLOYED,
371175
+ stkcvxsteCRV: NOT_DEPLOYED,
371176
+ stkcvxcrvPlain3andSUSD: NOT_DEPLOYED,
371177
+ stkcvxLUSD3CRV: NOT_DEPLOYED,
371178
+ stkcvxcrvCRVETH: NOT_DEPLOYED,
371179
+ stkcvxcrvCVXETH: NOT_DEPLOYED,
371180
+ stkcvxcrvUSDTWBTCWETH: NOT_DEPLOYED,
371181
+ stkcvxLDOETH: NOT_DEPLOYED,
371182
+ stkcvxcrvUSDUSDC: NOT_DEPLOYED,
371183
+ stkcvxcrvUSDUSDT: NOT_DEPLOYED,
371184
+ stkcvxcrvUSDFRAX: NOT_DEPLOYED,
371185
+ stkcvxcrvUSDETHCRV: NOT_DEPLOYED,
371186
+ stkcvxGHOcrvUSD: NOT_DEPLOYED,
371187
+ stkcvxllamathena: NOT_DEPLOYED,
371188
+ cvxcrvUSDT: NOT_DEPLOYED,
371189
+ // BALANCER TOKENS
371190
+ USDC_DAI_USDT: NOT_DEPLOYED,
371191
+ B_rETH_STABLE: NOT_DEPLOYED,
371192
+ weETH_rETH: NOT_DEPLOYED,
371193
+ osETH_wETH_BPT: NOT_DEPLOYED,
371194
+ B_80BAL_20WETH: NOT_DEPLOYED,
371195
+ "50WETH_50AURA": NOT_DEPLOYED,
371196
+ wstETH_WETH_BPT: NOT_DEPLOYED,
371197
+ wstETH_rETH_cbETH: NOT_DEPLOYED,
371198
+ cbETH_rETH_wstETH: NOT_DEPLOYED,
371199
+ wstETH_rETH_sfrxETH: NOT_DEPLOYED,
371200
+ rETH_WETH_BPT_deprecated: NOT_DEPLOYED,
371201
+ rETH_wETH_BPT: NOT_DEPLOYED,
371202
+ ezETH_WETH_BPT: NOT_DEPLOYED,
371203
+ sUSDe_USDC_BPT: NOT_DEPLOYED,
371204
+ trenSTETH: NOT_DEPLOYED,
371205
+ DVstETH_wstETH_BPT: NOT_DEPLOYED,
371206
+ weETH_ezETH_rswETH: NOT_DEPLOYED,
371207
+ rsETH_WETH: NOT_DEPLOYED,
371208
+ rsETH_wETH_Arb: NOT_DEPLOYED,
371209
+ "33AURA_33ARB_33BAL": NOT_DEPLOYED,
371210
+ ezETH_wstETH: NOT_DEPLOYED,
371211
+ BPT_rETH_ETH: NOT_DEPLOYED,
371212
+ BPT_WSTETH_ETH: NOT_DEPLOYED,
371213
+ BPT_ROAD: NOT_DEPLOYED,
371214
+ ECLP_wstETH_WETH: NOT_DEPLOYED,
371215
+ bpt_ethtri: NOT_DEPLOYED,
371216
+ pumpBTC_WBTC_BPT: NOT_DEPLOYED,
371217
+ eBTC_WBTC_BPT: NOT_DEPLOYED,
371218
+ B_50WBTC_50WETH: NOT_DEPLOYED,
371219
+ bpt_rsb: "0xCd4D2b142235D5650fFA6A38787eD0b7d7A51c0C",
371220
+ bpt_sss: "0x374641076B68371e69D03C417DAc3E5F236c32FA",
371221
+ BPT_scUSD_stS: "0x25ca5451CD5a50AB1d324B5E64F32C0799661891",
371222
+ BPT_USDCe_stS: "0x713FB5036dC70012588d77a5B066f1Dd05c712d7",
370783
371223
  tETH_wstETH_BPT: NOT_DEPLOYED,
370784
371224
  // AURA
370785
371225
  auraB_rETH_STABLE: NOT_DEPLOYED,
@@ -371247,7 +371687,8 @@ var tickerInfoTokensByNetwork = {
371247
371687
  }
371248
371688
  ]
371249
371689
  },
371250
- Base: {}
371690
+ Base: {},
371691
+ Sonic: {}
371251
371692
  };
371252
371693
  var tickerTokensByNetwork = Object.fromEntries(
371253
371694
  Object.entries(tickerInfoTokensByNetwork).map(([network, data]) => {
@@ -371320,7 +371761,8 @@ var connectors = {
371320
371761
  ],
371321
371762
  Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"],
371322
371763
  Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"],
371323
- Base: ["WETH", "USDC", "USDT"]
371764
+ Base: ["WETH", "USDC", "USDT"],
371765
+ Sonic: []
371324
371766
  };
371325
371767
  function getConnectors(networkType) {
371326
371768
  return connectors[networkType].map((e) => {
@@ -371340,6 +371782,8 @@ var contractsByNetwork = {
371340
371782
  FRAXSWAP_ROUTER: "0xC14d550632db8592D1243Edc8B95b0Ad06703867",
371341
371783
  VELODROME_V2_ROUTER: NOT_DEPLOYED,
371342
371784
  VELODROME_CL_ROUTER: NOT_DEPLOYED,
371785
+ EQUALIZER_ROUTER: NOT_DEPLOYED,
371786
+ SHADOW_ROUTER: NOT_DEPLOYED,
371343
371787
  CAMELOT_V3_ROUTER: NOT_DEPLOYED,
371344
371788
  PENDLE_ROUTER: "0x888888888889758F76e7103c6CbF23ABbF58F946",
371345
371789
  // CURVE
@@ -371451,6 +371895,8 @@ var contractsByNetwork = {
371451
371895
  LIDO_WSTETH: tokenDataByNetwork.Mainnet.wstETH,
371452
371896
  // BALANCER
371453
371897
  BALANCER_VAULT: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
371898
+ // BEETS
371899
+ BEETS_VAULT: NOT_DEPLOYED,
371454
371900
  // GEARBOX
371455
371901
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
371456
371902
  // AAVE
@@ -371495,6 +371941,8 @@ var contractsByNetwork = {
371495
371941
  FRAXSWAP_ROUTER: NOT_DEPLOYED,
371496
371942
  VELODROME_V2_ROUTER: NOT_DEPLOYED,
371497
371943
  VELODROME_CL_ROUTER: NOT_DEPLOYED,
371944
+ EQUALIZER_ROUTER: NOT_DEPLOYED,
371945
+ SHADOW_ROUTER: NOT_DEPLOYED,
371498
371946
  CAMELOT_V3_ROUTER: "0x1F721E2E82F6676FCE4eA07A5958cF098D339e18",
371499
371947
  PENDLE_ROUTER: NOT_DEPLOYED,
371500
371948
  // CURVE
@@ -371601,6 +372049,8 @@ var contractsByNetwork = {
371601
372049
  LIDO_WSTETH: NOT_DEPLOYED,
371602
372050
  // BALANCER
371603
372051
  BALANCER_VAULT: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
372052
+ // BEETS
372053
+ BEETS_VAULT: NOT_DEPLOYED,
371604
372054
  // GEARBOX
371605
372055
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
371606
372056
  // AAVE
@@ -371646,6 +372096,8 @@ var contractsByNetwork = {
371646
372096
  // UNVERIFIED!
371647
372097
  VELODROME_V2_ROUTER: "0xa062aE8A9c5e11aaA026fc2670B0D65cCc8B2858",
371648
372098
  VELODROME_CL_ROUTER: "0x0792a633F0c19c351081CF4B211F68F79bCc9676",
372099
+ EQUALIZER_ROUTER: NOT_DEPLOYED,
372100
+ SHADOW_ROUTER: NOT_DEPLOYED,
371649
372101
  CAMELOT_V3_ROUTER: NOT_DEPLOYED,
371650
372102
  PENDLE_ROUTER: NOT_DEPLOYED,
371651
372103
  // CURVE
@@ -371753,6 +372205,8 @@ var contractsByNetwork = {
371753
372205
  LIDO_WSTETH: NOT_DEPLOYED,
371754
372206
  // BALANCER
371755
372207
  BALANCER_VAULT: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
372208
+ // BEETS
372209
+ BEETS_VAULT: NOT_DEPLOYED,
371756
372210
  // GEARBOX
371757
372211
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
371758
372212
  // AAVE
@@ -371796,6 +372250,8 @@ var contractsByNetwork = {
371796
372250
  FRAXSWAP_ROUTER: NOT_DEPLOYED,
371797
372251
  VELODROME_V2_ROUTER: NOT_DEPLOYED,
371798
372252
  VELODROME_CL_ROUTER: NOT_DEPLOYED,
372253
+ EQUALIZER_ROUTER: NOT_DEPLOYED,
372254
+ SHADOW_ROUTER: NOT_DEPLOYED,
371799
372255
  CAMELOT_V3_ROUTER: NOT_DEPLOYED,
371800
372256
  PENDLE_ROUTER: NOT_DEPLOYED,
371801
372257
  // CURVE
@@ -371902,6 +372358,8 @@ var contractsByNetwork = {
371902
372358
  LIDO_WSTETH: NOT_DEPLOYED,
371903
372359
  // BALANCER
371904
372360
  BALANCER_VAULT: NOT_DEPLOYED,
372361
+ // BEETS
372362
+ BEETS_VAULT: NOT_DEPLOYED,
371905
372363
  // GEARBOX
371906
372364
  UNIVERSAL_ADAPTER: NOT_DEPLOYED,
371907
372365
  // AAVE
@@ -371928,12 +372386,167 @@ var contractsByNetwork = {
371928
372386
  MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Base.DVstETH,
371929
372387
  SKY_STAKING_REWARDS: NOT_DEPLOYED,
371930
372388
  DAI_USDS: NOT_DEPLOYED
372389
+ },
372390
+ //
372391
+ //
372392
+ //
372393
+ //
372394
+ // SONIC
372395
+ //
372396
+ //
372397
+ //
372398
+ //
372399
+ Sonic: {
372400
+ UNISWAP_V2_ROUTER: NOT_DEPLOYED,
372401
+ UNISWAP_V3_ROUTER: NOT_DEPLOYED,
372402
+ PANCAKESWAP_V3_ROUTER: NOT_DEPLOYED,
372403
+ SUSHISWAP_ROUTER: NOT_DEPLOYED,
372404
+ FRAXSWAP_ROUTER: NOT_DEPLOYED,
372405
+ VELODROME_V2_ROUTER: NOT_DEPLOYED,
372406
+ VELODROME_CL_ROUTER: NOT_DEPLOYED,
372407
+ EQUALIZER_ROUTER: "0xcC6169aA1E879d3a4227536671F85afdb2d23fAD",
372408
+ SHADOW_ROUTER: "0x5543c6176FEb9B4b179078205d7C29EEa2e2d695",
372409
+ CAMELOT_V3_ROUTER: NOT_DEPLOYED,
372410
+ PENDLE_ROUTER: NOT_DEPLOYED,
372411
+ // CURVE
372412
+ CURVE_3CRV_POOL_OP: NOT_DEPLOYED,
372413
+ CURVE_3CRV_POOL: NOT_DEPLOYED,
372414
+ CURVE_FRAX_USDC_POOL: NOT_DEPLOYED,
372415
+ CURVE_STETH_GATEWAY: NOT_DEPLOYED,
372416
+ CURVE_FRAX_POOL: NOT_DEPLOYED,
372417
+ CURVE_LUSD_POOL: NOT_DEPLOYED,
372418
+ CURVE_SUSD_POOL: NOT_DEPLOYED,
372419
+ CURVE_SUSD_DEPOSIT: NOT_DEPLOYED,
372420
+ CURVE_GUSD_POOL: NOT_DEPLOYED,
372421
+ CURVE_CRVETH_POOL: NOT_DEPLOYED,
372422
+ CURVE_CVXETH_POOL: NOT_DEPLOYED,
372423
+ CURVE_3CRYPTO_POOL: NOT_DEPLOYED,
372424
+ CURVE_LDOETH_POOL: NOT_DEPLOYED,
372425
+ CURVE_USDE_USDC_POOL: NOT_DEPLOYED,
372426
+ CURVE_FRAX_USDE_POOL: NOT_DEPLOYED,
372427
+ CURVE_USDE_CRVUSD_POOL: NOT_DEPLOYED,
372428
+ CURVE_FRAX_SDAI_POOL: NOT_DEPLOYED,
372429
+ CURVE_DOLA_SUSDE_POOL: NOT_DEPLOYED,
372430
+ CURVE_DOLA_FRAXBP_POOL: NOT_DEPLOYED,
372431
+ CURVE_DOLA_CRVUSD_POOL: NOT_DEPLOYED,
372432
+ CURVE_USDE_DAI_POOL: NOT_DEPLOYED,
372433
+ CURVE_SDAI_SUSDE_POOL: NOT_DEPLOYED,
372434
+ CURVE_GHO_USDE_POOL: NOT_DEPLOYED,
372435
+ CURVE_PUFETH_WSTETH_POOL: NOT_DEPLOYED,
372436
+ CURVE_GHO_CRVUSD_POOL: NOT_DEPLOYED,
372437
+ CURVE_ETH_WSTETH_GATEWAY_OP: NOT_DEPLOYED,
372438
+ CURVE_EZETH_ETH_POOL: NOT_DEPLOYED,
372439
+ CURVE_EZPZ_ETH_POOL: NOT_DEPLOYED,
372440
+ CURVE_LBTC_WBTC_POOL: NOT_DEPLOYED,
372441
+ CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED,
372442
+ CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED,
372443
+ CURVE_TRIBTC_POOL: NOT_DEPLOYED,
372444
+ CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED,
372445
+ CURVE_tETH_wstETH_POOL: NOT_DEPLOYED,
372446
+ CURVE_tETH_weETH_POOL: NOT_DEPLOYED,
372447
+ CURVE_pzETH_stETH_POOL: NOT_DEPLOYED,
372448
+ CURVE_GEAR_POOL: NOT_DEPLOYED,
372449
+ CURVE_CRVUSD_USDC_POOL: NOT_DEPLOYED,
372450
+ CURVE_CRVUSD_USDT_POOL: NOT_DEPLOYED,
372451
+ CURVE_CRVUSD_FRAX_POOL: NOT_DEPLOYED,
372452
+ CURVE_TRI_CRV_POOL: NOT_DEPLOYED,
372453
+ CURVE_CRVUSD_SUSDE_POOL: NOT_DEPLOYED,
372454
+ CURVE_LLAMA_THENA_POOL: NOT_DEPLOYED,
372455
+ CURVE_RETH_ETH_POOL: NOT_DEPLOYED,
372456
+ CURVE_2CRV_POOL_ARB: NOT_DEPLOYED,
372457
+ CURVE_TRICRYPTO_CRVUSD_POOL_ARB: NOT_DEPLOYED,
372458
+ CURVE_CRVUSD_USDC_POOL_ARB: NOT_DEPLOYED,
372459
+ CURVE_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED,
372460
+ CURVE_CRVUSD_USDC_E_POOL_ARB: NOT_DEPLOYED,
372461
+ CURVE_USDE_USDC_POOL_ARB: NOT_DEPLOYED,
372462
+ // YEARN
372463
+ YEARN_DAI_VAULT: NOT_DEPLOYED,
372464
+ YEARN_USDC_VAULT: NOT_DEPLOYED,
372465
+ YEARN_USDC_E_VAULT: NOT_DEPLOYED,
372466
+ YEARN_WETH_VAULT: NOT_DEPLOYED,
372467
+ YEARN_WBTC_VAULT: NOT_DEPLOYED,
372468
+ YEARN_USDT_VAULT: NOT_DEPLOYED,
372469
+ YEARN_OP_VAULT: NOT_DEPLOYED,
372470
+ YEARN_CURVE_FRAX_VAULT: NOT_DEPLOYED,
372471
+ YEARN_CURVE_STETH_VAULT: NOT_DEPLOYED,
372472
+ /// ERC4626
372473
+ MAKER_DSR_VAULT: NOT_DEPLOYED,
372474
+ YIELD_ETH_VAULT: NOT_DEPLOYED,
372475
+ STAKED_USDE_VAULT: NOT_DEPLOYED,
372476
+ STAKED_USDS_VAULT: NOT_DEPLOYED,
372477
+ SAVINGS_CRVUSD_VAULT: NOT_DEPLOYED,
372478
+ TREEHOUSE_ETH_VAULT: NOT_DEPLOYED,
372479
+ // CONVEX
372480
+ CONVEX_BOOSTER: NOT_DEPLOYED,
372481
+ CONVEX_3CRV_POOL: NOT_DEPLOYED,
372482
+ CONVEX_FRAX_USDC_POOL: NOT_DEPLOYED,
372483
+ CONVEX_STECRV_POOL: NOT_DEPLOYED,
372484
+ CONVEX_SUSD_POOL: NOT_DEPLOYED,
372485
+ CONVEX_FRAX3CRV_POOL: NOT_DEPLOYED,
372486
+ CONVEX_LUSD3CRV_POOL: NOT_DEPLOYED,
372487
+ CONVEX_GUSD_POOL: NOT_DEPLOYED,
372488
+ CONVEX_CRVETH_POOL: NOT_DEPLOYED,
372489
+ CONVEX_CVXETH_POOL: NOT_DEPLOYED,
372490
+ CONVEX_3CRYPTO_POOL: NOT_DEPLOYED,
372491
+ CONVEX_LDOETH_POOL: NOT_DEPLOYED,
372492
+ CONVEX_CRVUSD_USDC_POOL: NOT_DEPLOYED,
372493
+ CONVEX_CRVUSD_USDT_POOL: NOT_DEPLOYED,
372494
+ CONVEX_CRVUSD_FRAX_POOL: NOT_DEPLOYED,
372495
+ CONVEX_TRI_CRV_POOL: NOT_DEPLOYED,
372496
+ CONVEX_GHO_CRVUSD_POOL: NOT_DEPLOYED,
372497
+ CONVEX_LLAMA_THENA_POOL: NOT_DEPLOYED,
372498
+ CONVEX_BOOSTER_ARB: NOT_DEPLOYED,
372499
+ CONVEX_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED,
372500
+ // AURA
372501
+ AURA_BOOSTER: NOT_DEPLOYED,
372502
+ AURA_WEETH_RETH_POOL: NOT_DEPLOYED,
372503
+ AURA_OSETH_WETH_POOL: NOT_DEPLOYED,
372504
+ AURA_B_RETH_STABLE_POOL: NOT_DEPLOYED,
372505
+ AURA_BPT_RETH_ETH_POOL: NOT_DEPLOYED,
372506
+ AURA_BPT_WSTETH_ETH_POOL: NOT_DEPLOYED,
372507
+ AURA_RETH_WETH_POOL_ARB: NOT_DEPLOYED,
372508
+ AURA_WSTETH_WETH_POOL_ARB: NOT_DEPLOYED,
372509
+ AURA_CBETH_RETH_WSTETH_POOL_ARB: NOT_DEPLOYED,
372510
+ AURA_WSTETH_RETH_SFRXETH_POOL_ARB: NOT_DEPLOYED,
372511
+ // LIDO
372512
+ LIDO_STETH_GATEWAY: NOT_DEPLOYED,
372513
+ LIDO_WSTETH: NOT_DEPLOYED,
372514
+ // BALANCER
372515
+ BALANCER_VAULT: NOT_DEPLOYED,
372516
+ // BEETS
372517
+ BEETS_VAULT: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
372518
+ // GEARBOX
372519
+ UNIVERSAL_ADAPTER: NOT_DEPLOYED,
372520
+ // AAVE
372521
+ AAVE_V2_LENDING_POOL: NOT_DEPLOYED,
372522
+ AAVE_V3_LENDING_POOL: NOT_DEPLOYED,
372523
+ AAVE_V2_DAI_TOKEN_WRAPPER: NOT_DEPLOYED,
372524
+ AAVE_V2_USDC_TOKEN_WRAPPER: NOT_DEPLOYED,
372525
+ AAVE_V2_USDT_TOKEN_WRAPPER: NOT_DEPLOYED,
372526
+ AAVE_V2_WETH_TOKEN_WRAPPER: NOT_DEPLOYED,
372527
+ COMPOUND_V2_DAI_POOL: NOT_DEPLOYED,
372528
+ COMPOUND_V2_USDC_POOL: NOT_DEPLOYED,
372529
+ COMPOUND_V2_USDT_POOL: NOT_DEPLOYED,
372530
+ COMPOUND_V2_LINK_POOL: NOT_DEPLOYED,
372531
+ COMPOUND_V2_ETH_GATEWAY: NOT_DEPLOYED,
372532
+ FLUX_USDC_POOL: NOT_DEPLOYED,
372533
+ ZIRCUIT_POOL: NOT_DEPLOYED,
372534
+ // MELLOW
372535
+ MELLOW_STEAKHOUSE_VAULT: NOT_DEPLOYED,
372536
+ MELLOW_RE7_LABS_VAULT: NOT_DEPLOYED,
372537
+ MELLOW_AMPHOR_VAULT: NOT_DEPLOYED,
372538
+ MELLOW_RESTAKING_VAULT: NOT_DEPLOYED,
372539
+ MELLOW_RENZO_VAULT: NOT_DEPLOYED,
372540
+ MELLOW_DECENTALIZED_VALIDATOR_VAULT: NOT_DEPLOYED,
372541
+ SKY_STAKING_REWARDS: NOT_DEPLOYED,
372542
+ DAI_USDS: NOT_DEPLOYED
371931
372543
  }
371932
372544
  };
371933
372545
  var UNISWAP_V3_QUOTER = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6";
371934
372546
  var CAMELOT_V3_QUOTER = "0x0Fc73040b26E9bC8514fA028D998E73A254Fa76E";
371935
372547
  var PANCAKESWAP_V3_QUOTER = "0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997";
371936
372548
  var VELODROME_CL_QUOTER = "0x89D8218ed5fF1e46d8dcd33fb0bbeE3be1621466";
372549
+ var SHADOW_QUOTER = "0x219b7ADebc0935a3eC889a148c6924D51A07535A";
371937
372550
  var contractParams = {
371938
372551
  UNISWAP_V2_ROUTER: {
371939
372552
  name: "Uniswap V2",
@@ -371973,6 +372586,12 @@ var contractParams = {
371973
372586
  type: 22
371974
372587
  /* VELODROME_V2_ROUTER */
371975
372588
  },
372589
+ EQUALIZER_ROUTER: {
372590
+ name: "Equalizer",
372591
+ protocol: 24,
372592
+ type: 35
372593
+ /* EQUALIZER_ROUTER */
372594
+ },
371976
372595
  VELODROME_CL_ROUTER: {
371977
372596
  name: "Velodrome CL Router",
371978
372597
  protocol: 15,
@@ -371980,6 +372599,13 @@ var contractParams = {
371980
372599
  type: 2
371981
372600
  /* UNISWAP_V3_ROUTER */
371982
372601
  },
372602
+ SHADOW_ROUTER: {
372603
+ name: "Shadow Router",
372604
+ protocol: 26,
372605
+ quoter: SHADOW_QUOTER,
372606
+ type: 2
372607
+ /* UNISWAP_V3_ROUTER */
372608
+ },
371983
372609
  CAMELOT_V3_ROUTER: {
371984
372610
  name: "Camelot V3",
371985
372611
  protocol: 16,
@@ -372018,7 +372644,8 @@ var contractParams = {
372018
372644
  Arbitrum: NOT_DEPLOYED,
372019
372645
  // CURVE_STECRV_POOL
372020
372646
  Optimism: NOT_DEPLOYED,
372021
- Base: NOT_DEPLOYED
372647
+ Base: NOT_DEPLOYED,
372648
+ Sonic: NOT_DEPLOYED
372022
372649
  },
372023
372650
  tokens: ["WETH", "STETH"],
372024
372651
  lpToken: "steCRV"
@@ -372032,7 +372659,8 @@ var contractParams = {
372032
372659
  Mainnet: NOT_DEPLOYED,
372033
372660
  Arbitrum: NOT_DEPLOYED,
372034
372661
  Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415",
372035
- Base: NOT_DEPLOYED
372662
+ Base: NOT_DEPLOYED,
372663
+ Sonic: NOT_DEPLOYED
372036
372664
  },
372037
372665
  tokens: ["WETH", "wstETH"],
372038
372666
  lpToken: "wstETHCRV"
@@ -372046,7 +372674,8 @@ var contractParams = {
372046
372674
  Mainnet: "0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2",
372047
372675
  Arbitrum: NOT_DEPLOYED,
372048
372676
  Optimism: NOT_DEPLOYED,
372049
- Base: NOT_DEPLOYED
372677
+ Base: NOT_DEPLOYED,
372678
+ Sonic: NOT_DEPLOYED
372050
372679
  },
372051
372680
  tokens: ["GEAR", "WETH"],
372052
372681
  lpToken: "GEAR"
@@ -372545,7 +373174,8 @@ var contractParams = {
372545
373174
  Arbitrum: NOT_DEPLOYED,
372546
373175
  // CONVEX_SUSD_POOL_EXTRA_SNX
372547
373176
  Optimism: NOT_DEPLOYED,
372548
- Base: NOT_DEPLOYED
373177
+ Base: NOT_DEPLOYED,
373178
+ Sonic: NOT_DEPLOYED
372549
373179
  }
372550
373180
  }
372551
373181
  ]
@@ -372563,7 +373193,8 @@ var contractParams = {
372563
373193
  Arbitrum: NOT_DEPLOYED,
372564
373194
  // CONVEX_STECRV_POOL_EXTRA_LDO
372565
373195
  Optimism: NOT_DEPLOYED,
372566
- Base: NOT_DEPLOYED
373196
+ Base: NOT_DEPLOYED,
373197
+ Sonic: NOT_DEPLOYED
372567
373198
  }
372568
373199
  }
372569
373200
  ]
@@ -372581,7 +373212,8 @@ var contractParams = {
372581
373212
  Arbitrum: NOT_DEPLOYED,
372582
373213
  // CONVEX_FRAX3CRV_POOL_EXTRA_FXS
372583
373214
  Optimism: NOT_DEPLOYED,
372584
- Base: NOT_DEPLOYED
373215
+ Base: NOT_DEPLOYED,
373216
+ Sonic: NOT_DEPLOYED
372585
373217
  }
372586
373218
  }
372587
373219
  ]
@@ -372599,7 +373231,8 @@ var contractParams = {
372599
373231
  Arbitrum: NOT_DEPLOYED,
372600
373232
  // CONVEX_LUSD3CRV_POOL_EXTRA_LQTY
372601
373233
  Optimism: NOT_DEPLOYED,
372602
- Base: NOT_DEPLOYED
373234
+ Base: NOT_DEPLOYED,
373235
+ Sonic: NOT_DEPLOYED
372603
373236
  }
372604
373237
  }
372605
373238
  ]
@@ -372616,7 +373249,8 @@ var contractParams = {
372616
373249
  Mainnet: "0xE1eCBB4181378E2346EAC90Eb5606c01Aa08f052",
372617
373250
  Arbitrum: NOT_DEPLOYED,
372618
373251
  Optimism: NOT_DEPLOYED,
372619
- Base: NOT_DEPLOYED
373252
+ Base: NOT_DEPLOYED,
373253
+ Sonic: NOT_DEPLOYED
372620
373254
  }
372621
373255
  }
372622
373256
  ]
@@ -372633,7 +373267,8 @@ var contractParams = {
372633
373267
  Mainnet: "0x834B9147Fd23bF131644aBC6e557Daf99C5cDa15",
372634
373268
  Arbitrum: NOT_DEPLOYED,
372635
373269
  Optimism: NOT_DEPLOYED,
372636
- Base: NOT_DEPLOYED
373270
+ Base: NOT_DEPLOYED,
373271
+ Sonic: NOT_DEPLOYED
372637
373272
  }
372638
373273
  }
372639
373274
  ]
@@ -372657,7 +373292,8 @@ var contractParams = {
372657
373292
  Mainnet: "0x95e6092449a0f3946A5a0f308Ead4adcff244E2B",
372658
373293
  Arbitrum: NOT_DEPLOYED,
372659
373294
  Optimism: NOT_DEPLOYED,
372660
- Base: NOT_DEPLOYED
373295
+ Base: NOT_DEPLOYED,
373296
+ Sonic: NOT_DEPLOYED
372661
373297
  }
372662
373298
  }
372663
373299
  ]
@@ -372674,7 +373310,8 @@ var contractParams = {
372674
373310
  Mainnet: "0xac183F7cd62d5b04Fa40362EB67249A80339541A",
372675
373311
  Arbitrum: NOT_DEPLOYED,
372676
373312
  Optimism: NOT_DEPLOYED,
372677
- Base: NOT_DEPLOYED
373313
+ Base: NOT_DEPLOYED,
373314
+ Sonic: NOT_DEPLOYED
372678
373315
  }
372679
373316
  }
372680
373317
  ]
@@ -372691,7 +373328,8 @@ var contractParams = {
372691
373328
  Mainnet: "0xD490178B568b07c6DDbDfBBfaF9043772209Ec01",
372692
373329
  Arbitrum: NOT_DEPLOYED,
372693
373330
  Optimism: NOT_DEPLOYED,
372694
- Base: NOT_DEPLOYED
373331
+ Base: NOT_DEPLOYED,
373332
+ Sonic: NOT_DEPLOYED
372695
373333
  }
372696
373334
  }
372697
373335
  ]
@@ -372708,7 +373346,8 @@ var contractParams = {
372708
373346
  Mainnet: "0x749cFfCb53e008841d7387ba37f9284BDeCEe0A9",
372709
373347
  Arbitrum: NOT_DEPLOYED,
372710
373348
  Optimism: NOT_DEPLOYED,
372711
- Base: NOT_DEPLOYED
373349
+ Base: NOT_DEPLOYED,
373350
+ Sonic: NOT_DEPLOYED
372712
373351
  }
372713
373352
  }
372714
373353
  ]
@@ -372725,7 +373364,8 @@ var contractParams = {
372725
373364
  Mainnet: "0x01eC96F1eEBF470E3fEAEEfB843fbC63424e668d",
372726
373365
  Arbitrum: NOT_DEPLOYED,
372727
373366
  Optimism: NOT_DEPLOYED,
372728
- Base: NOT_DEPLOYED
373367
+ Base: NOT_DEPLOYED,
373368
+ Sonic: NOT_DEPLOYED
372729
373369
  }
372730
373370
  }
372731
373371
  ]
@@ -372742,7 +373382,8 @@ var contractParams = {
372742
373382
  Mainnet: "0xE7cC925739E41E2A03A53770F5E9Ed43afe13993",
372743
373383
  Arbitrum: NOT_DEPLOYED,
372744
373384
  Optimism: NOT_DEPLOYED,
372745
- Base: NOT_DEPLOYED
373385
+ Base: NOT_DEPLOYED,
373386
+ Sonic: NOT_DEPLOYED
372746
373387
  }
372747
373388
  }
372748
373389
  ]
@@ -372759,7 +373400,8 @@ var contractParams = {
372759
373400
  Mainnet: "0xc66844E5788b7d7D6DFFa5EC1Db62d898c59D6e7",
372760
373401
  Arbitrum: NOT_DEPLOYED,
372761
373402
  Optimism: NOT_DEPLOYED,
372762
- Base: NOT_DEPLOYED
373403
+ Base: NOT_DEPLOYED,
373404
+ Sonic: NOT_DEPLOYED
372763
373405
  }
372764
373406
  }
372765
373407
  ]
@@ -372795,7 +373437,8 @@ var contractParams = {
372795
373437
  Mainnet: "0xf66a72886749c96b18526E8E124cC2e18b7c72D2",
372796
373438
  Arbitrum: NOT_DEPLOYED,
372797
373439
  Optimism: NOT_DEPLOYED,
372798
- Base: NOT_DEPLOYED
373440
+ Base: NOT_DEPLOYED,
373441
+ Sonic: NOT_DEPLOYED
372799
373442
  }
372800
373443
  }
372801
373444
  ]
@@ -372812,7 +373455,8 @@ var contractParams = {
372812
373455
  Mainnet: "0x25d22C5191C67D63AAB70a37FAe06e1c1E1a830F",
372813
373456
  Arbitrum: NOT_DEPLOYED,
372814
373457
  Optimism: NOT_DEPLOYED,
372815
- Base: NOT_DEPLOYED
373458
+ Base: NOT_DEPLOYED,
373459
+ Sonic: NOT_DEPLOYED
372816
373460
  }
372817
373461
  }
372818
373462
  ]
@@ -372829,7 +373473,8 @@ var contractParams = {
372829
373473
  Mainnet: "0x62e6D8dAe7089C8F2f2a5C328c710aa1788742fb",
372830
373474
  Arbitrum: NOT_DEPLOYED,
372831
373475
  Optimism: NOT_DEPLOYED,
372832
- Base: NOT_DEPLOYED
373476
+ Base: NOT_DEPLOYED,
373477
+ Sonic: NOT_DEPLOYED
372833
373478
  }
372834
373479
  },
372835
373480
  {
@@ -372838,7 +373483,8 @@ var contractParams = {
372838
373483
  Mainnet: "0xC5E75ccd4d40e2Fb280f008f8AFB5EF3415EFA72",
372839
373484
  Arbitrum: NOT_DEPLOYED,
372840
373485
  Optimism: NOT_DEPLOYED,
372841
- Base: NOT_DEPLOYED
373486
+ Base: NOT_DEPLOYED,
373487
+ Sonic: NOT_DEPLOYED
372842
373488
  }
372843
373489
  }
372844
373490
  ]
@@ -372855,7 +373501,8 @@ var contractParams = {
372855
373501
  Mainnet: NOT_DEPLOYED,
372856
373502
  Arbitrum: NOT_DEPLOYED,
372857
373503
  Optimism: "0x0A22Ae9D9D149C14f6c15A235e715bB6C1Cfa739",
372858
- Base: NOT_DEPLOYED
373504
+ Base: NOT_DEPLOYED,
373505
+ Sonic: NOT_DEPLOYED
372859
373506
  }
372860
373507
  },
372861
373508
  {
@@ -372864,7 +373511,8 @@ var contractParams = {
372864
373511
  Mainnet: NOT_DEPLOYED,
372865
373512
  Arbitrum: NOT_DEPLOYED,
372866
373513
  Optimism: "0x81673Cdd00c2839440f31575cCFa5B6ca4a87B2B",
372867
- Base: NOT_DEPLOYED
373514
+ Base: NOT_DEPLOYED,
373515
+ Sonic: NOT_DEPLOYED
372868
373516
  }
372869
373517
  }
372870
373518
  ]
@@ -372881,7 +373529,8 @@ var contractParams = {
372881
373529
  Mainnet: NOT_DEPLOYED,
372882
373530
  Arbitrum: NOT_DEPLOYED,
372883
373531
  Optimism: "0x903d716fe68e7e091eCC43AA93c0F8cfD7e7BC0a",
372884
- Base: NOT_DEPLOYED
373532
+ Base: NOT_DEPLOYED,
373533
+ Sonic: NOT_DEPLOYED
372885
373534
  }
372886
373535
  },
372887
373536
  {
@@ -372890,7 +373539,8 @@ var contractParams = {
372890
373539
  Mainnet: NOT_DEPLOYED,
372891
373540
  Arbitrum: NOT_DEPLOYED,
372892
373541
  Optimism: "0xb0709c230C06BE6e2A84b2Ba877094EB9a4fA014",
372893
- Base: NOT_DEPLOYED
373542
+ Base: NOT_DEPLOYED,
373543
+ Sonic: NOT_DEPLOYED
372894
373544
  }
372895
373545
  }
372896
373546
  ]
@@ -372907,7 +373557,8 @@ var contractParams = {
372907
373557
  Mainnet: NOT_DEPLOYED,
372908
373558
  Arbitrum: "0xC0353d05D3F2b6e14E36c5d3B4bF8d179890A001",
372909
373559
  Optimism: NOT_DEPLOYED,
372910
- Base: NOT_DEPLOYED
373560
+ Base: NOT_DEPLOYED,
373561
+ Sonic: NOT_DEPLOYED
372911
373562
  }
372912
373563
  },
372913
373564
  {
@@ -372916,7 +373567,8 @@ var contractParams = {
372916
373567
  Mainnet: NOT_DEPLOYED,
372917
373568
  Arbitrum: "0x3a0beff39E243453960aD1198Fc3aAabdBDDe56C",
372918
373569
  Optimism: NOT_DEPLOYED,
372919
- Base: NOT_DEPLOYED
373570
+ Base: NOT_DEPLOYED,
373571
+ Sonic: NOT_DEPLOYED
372920
373572
  }
372921
373573
  }
372922
373574
  ]
@@ -372933,7 +373585,8 @@ var contractParams = {
372933
373585
  Mainnet: NOT_DEPLOYED,
372934
373586
  Arbitrum: "0x5901ce1c3Bf6C97fC49ED0fF08A88a57ea6E4Ca4",
372935
373587
  Optimism: NOT_DEPLOYED,
372936
- Base: NOT_DEPLOYED
373588
+ Base: NOT_DEPLOYED,
373589
+ Sonic: NOT_DEPLOYED
372937
373590
  }
372938
373591
  },
372939
373592
  {
@@ -372942,7 +373595,8 @@ var contractParams = {
372942
373595
  Mainnet: NOT_DEPLOYED,
372943
373596
  Arbitrum: "0x4601Ec46A285714e6F2A9466DA7f2BcB33646391",
372944
373597
  Optimism: NOT_DEPLOYED,
372945
- Base: NOT_DEPLOYED
373598
+ Base: NOT_DEPLOYED,
373599
+ Sonic: NOT_DEPLOYED
372946
373600
  }
372947
373601
  }
372948
373602
  ]
@@ -372959,7 +373613,8 @@ var contractParams = {
372959
373613
  Mainnet: NOT_DEPLOYED,
372960
373614
  Arbitrum: "0xf0dcb30811228bED2b87b2753fabAfe80A9D0fb9",
372961
373615
  Optimism: NOT_DEPLOYED,
372962
- Base: NOT_DEPLOYED
373616
+ Base: NOT_DEPLOYED,
373617
+ Sonic: NOT_DEPLOYED
372963
373618
  }
372964
373619
  },
372965
373620
  {
@@ -372968,7 +373623,8 @@ var contractParams = {
372968
373623
  Mainnet: NOT_DEPLOYED,
372969
373624
  Arbitrum: "0xE42D389058D820177b83E2863FEb13733d6Dd5f2",
372970
373625
  Optimism: NOT_DEPLOYED,
372971
- Base: NOT_DEPLOYED
373626
+ Base: NOT_DEPLOYED,
373627
+ Sonic: NOT_DEPLOYED
372972
373628
  }
372973
373629
  }
372974
373630
  ]
@@ -372985,7 +373641,8 @@ var contractParams = {
372985
373641
  Mainnet: NOT_DEPLOYED,
372986
373642
  Arbitrum: "0xeA270927C226454452DDF80e24a02087D0D7089F",
372987
373643
  Optimism: NOT_DEPLOYED,
372988
- Base: NOT_DEPLOYED
373644
+ Base: NOT_DEPLOYED,
373645
+ Sonic: NOT_DEPLOYED
372989
373646
  }
372990
373647
  },
372991
373648
  {
@@ -372994,7 +373651,8 @@ var contractParams = {
372994
373651
  Mainnet: NOT_DEPLOYED,
372995
373652
  Arbitrum: "0xB05Dc0b460Ca3ed5174b33A7dA2104388764F62D",
372996
373653
  Optimism: NOT_DEPLOYED,
372997
- Base: NOT_DEPLOYED
373654
+ Base: NOT_DEPLOYED,
373655
+ Sonic: NOT_DEPLOYED
372998
373656
  }
372999
373657
  }
373000
373658
  ]
@@ -373008,7 +373666,8 @@ var contractParams = {
373008
373666
  Arbitrum: NOT_DEPLOYED,
373009
373667
  // LIDO_ORACLE
373010
373668
  Optimism: NOT_DEPLOYED,
373011
- Base: NOT_DEPLOYED
373669
+ Base: NOT_DEPLOYED,
373670
+ Sonic: NOT_DEPLOYED
373012
373671
  },
373013
373672
  lpToken: "steCRV"
373014
373673
  },
@@ -373032,7 +373691,20 @@ var contractParams = {
373032
373691
  Mainnet: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
373033
373692
  Arbitrum: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
373034
373693
  Optimism: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
373035
- Base: NOT_DEPLOYED
373694
+ Base: NOT_DEPLOYED,
373695
+ Sonic: NOT_DEPLOYED
373696
+ }
373697
+ },
373698
+ BEETS_VAULT: {
373699
+ name: "Beets Vault",
373700
+ protocol: 25,
373701
+ type: 16,
373702
+ queries: {
373703
+ Mainnet: NOT_DEPLOYED,
373704
+ Arbitrum: NOT_DEPLOYED,
373705
+ Optimism: NOT_DEPLOYED,
373706
+ Base: NOT_DEPLOYED,
373707
+ Sonic: "0x4B29DB997Ec0efDFEF13bAeE2a2D7783bCf67f17"
373036
373708
  }
373037
373709
  },
373038
373710
  AAVE_V2_LENDING_POOL: {
@@ -373809,7 +374481,10 @@ var RedstoneUpdater = class extends SDKConstruct {
373809
374481
  historicalTimestamp: this.#historicalTimestampMs,
373810
374482
  urls: this.#gateways
373811
374483
  });
373812
- const dataPayload = await wrapper.prepareRedstonePayload(true);
374484
+ const dataPayload = await retry(
374485
+ () => wrapper.prepareRedstonePayload(true),
374486
+ { attempts: 5, interval: this.#historicalTimestampMs ? 30500 : 250 }
374487
+ );
373813
374488
  const parsed = import_protocol.RedstonePayload.parse(toBytes(`0x${dataPayload}`));
373814
374489
  const packagesByDataFeedId = groupDataPackages(parsed.signedDataPackages);
373815
374490
  return dataPackagesIds.map((dataFeedId) => {
@@ -376243,7 +376918,8 @@ var TESTNET_CHAINS = {
376243
376918
  Mainnet: 7878,
376244
376919
  Optimism: 7879,
376245
376920
  Arbitrum: 7880,
376246
- Base: 7881
376921
+ Base: 7881,
376922
+ Sonic: 7882
376247
376923
  };
376248
376924
  var CHARTS_BACKEND_ADDRESSES = {
376249
376925
  [chains.Mainnet.id]: "https://charts-server.fly.dev",
@@ -398282,6 +398958,10 @@ var ForkTemplate = z.object({
398282
398958
  * Will set appropriate RPC urls
398283
398959
  */
398284
398960
  network: z.enum(SUPPORTED_CHAINS).default("Mainnet"),
398961
+ /**
398962
+ * Extra flags to pass to anvil
398963
+ */
398964
+ anvilFlags: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0),
398285
398965
  /**
398286
398966
  * Block offset expression to determine starting block of a fork
398287
398967
  * Expression has following rules:
@@ -400374,7 +401054,8 @@ function createAnvilClient({
400374
401054
  chain,
400375
401055
  mode: "anvil",
400376
401056
  transport,
400377
- cacheTime: 0
401057
+ cacheTime: 0,
401058
+ pollingInterval: 50
400378
401059
  }
400379
401060
  ).extend(publicActions).extend(walletActions).extend((client) => ({
400380
401061
  anvilNodeInfo: () => anvilNodeInfo(client),
@@ -402516,7 +403197,9 @@ var ProviderBase = class {
402516
403197
  var API_KEYS = {
402517
403198
  Mainnet: (o) => o.etherscanApiKey,
402518
403199
  Optimism: (o) => o.etherscanOptimism,
402519
- Arbitrum: (o) => o.etherscanArbitrum
403200
+ Arbitrum: (o) => o.etherscanArbitrum,
403201
+ Base: (o) => o.etherscanBase,
403202
+ Sonic: (o) => o.etherscanSonic
402520
403203
  };
402521
403204
  var EtherscanVerifier = class extends ProviderBase {
402522
403205
  #logger = log_default.child({ name: "etherscan" });
@@ -407435,6 +408118,14 @@ function newCommand() {
407435
408118
  "--etherscan-arbitrum <key>",
407436
408119
  "etherscan api key for Arbitrum"
407437
408120
  ).env("ETHERSCAN_ARBITRUM")
408121
+ ).addOption(
408122
+ new Option("--etherscan-sonic <key>", "etherscan api key for Sonic").env(
408123
+ "ETHERSCAN_SONIC"
408124
+ )
408125
+ ).addOption(
408126
+ new Option("--etherscan-base <key>", "etherscan api key for Base").env(
408127
+ "ETHERSCAN_BASE"
408128
+ )
407438
408129
  ).addOption(
407439
408130
  new Option(
407440
408131
  "--governance-json <file>",
@@ -408641,7 +409332,7 @@ function getRenderer(opts) {
408641
409332
  var package_default = {
408642
409333
  name: "@gearbox-protocol/deploy-tools",
408643
409334
  description: "Gearbox deploy tools",
408644
- version: "5.8.1",
409335
+ version: "5.9.1",
408645
409336
  homepage: "https://gearbox.fi",
408646
409337
  keywords: [
408647
409338
  "gearbox"
@@ -408684,7 +409375,7 @@ var package_default = {
408684
409375
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
408685
409376
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
408686
409377
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
408687
- "@gearbox-protocol/sdk": "^3.0.0-vfour.202",
409378
+ "@gearbox-protocol/sdk": "3.0.0-vfour.206",
408688
409379
  "@gearbox-protocol/sdk-gov": "^2.34.0",
408689
409380
  "@types/lodash-es": "^4.17.12",
408690
409381
  "@types/node": "^22.12.0",