@gearbox-protocol/deploy-tools 5.49.13 → 5.49.15

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 +798 -347
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -4323,15 +4323,15 @@ var init_structs = __esm({
4323
4323
  // ../../node_modules/abitype/dist/esm/human-readable/parseAbi.js
4324
4324
  function parseAbi(signatures) {
4325
4325
  const structs = parseStructs(signatures);
4326
- const abi29 = [];
4326
+ const abi30 = [];
4327
4327
  const length = signatures.length;
4328
4328
  for (let i = 0; i < length; i++) {
4329
4329
  const signature = signatures[i];
4330
4330
  if (isStructSignature(signature))
4331
4331
  continue;
4332
- abi29.push(parseSignature(signature, structs));
4332
+ abi30.push(parseSignature(signature, structs));
4333
4333
  }
4334
- return abi29;
4334
+ return abi30;
4335
4335
  }
4336
4336
  var init_parseAbi = __esm({
4337
4337
  "../../node_modules/abitype/dist/esm/human-readable/parseAbi.js"() {
@@ -6093,9 +6093,9 @@ var init_toFunctionSelector = __esm({
6093
6093
 
6094
6094
  // ../../node_modules/viem/_esm/utils/abi/getAbiItem.js
6095
6095
  function getAbiItem(parameters) {
6096
- const { abi: abi29, args = [], name } = parameters;
6096
+ const { abi: abi30, args = [], name } = parameters;
6097
6097
  const isSelector = isHex(name, { strict: false });
6098
- const abiItems = abi29.filter((abiItem) => {
6098
+ const abiItems = abi30.filter((abiItem) => {
6099
6099
  if (isSelector) {
6100
6100
  if (abiItem.type === "function")
6101
6101
  return toFunctionSelector(abiItem) === name;
@@ -6225,11 +6225,11 @@ var init_parseAccount = __esm({
6225
6225
 
6226
6226
  // ../../node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
6227
6227
  function prepareEncodeFunctionData(parameters) {
6228
- const { abi: abi29, args, functionName } = parameters;
6229
- let abiItem = abi29[0];
6228
+ const { abi: abi30, args, functionName } = parameters;
6229
+ let abiItem = abi30[0];
6230
6230
  if (functionName) {
6231
6231
  const item = getAbiItem({
6232
- abi: abi29,
6232
+ abi: abi30,
6233
6233
  args,
6234
6234
  name: functionName
6235
6235
  });
@@ -6258,12 +6258,12 @@ var init_prepareEncodeFunctionData = __esm({
6258
6258
  // ../../node_modules/viem/_esm/utils/abi/encodeFunctionData.js
6259
6259
  function encodeFunctionData(parameters) {
6260
6260
  const { args } = parameters;
6261
- const { abi: abi29, functionName } = (() => {
6261
+ const { abi: abi30, functionName } = (() => {
6262
6262
  if (parameters.abi.length === 1 && parameters.functionName?.startsWith("0x"))
6263
6263
  return parameters;
6264
6264
  return prepareEncodeFunctionData(parameters);
6265
6265
  })();
6266
- const abiItem = abi29[0];
6266
+ const abiItem = abi30[0];
6267
6267
  const signature = functionName;
6268
6268
  const data = "inputs" in abiItem && abiItem.inputs ? encodeAbiParameters(abiItem.inputs, args ?? []) : void 0;
6269
6269
  return concatHex([signature, data ?? "0x"]);
@@ -6758,11 +6758,11 @@ var init_decodeAbiParameters = __esm({
6758
6758
 
6759
6759
  // ../../node_modules/viem/_esm/utils/abi/decodeErrorResult.js
6760
6760
  function decodeErrorResult(parameters) {
6761
- const { abi: abi29, data } = parameters;
6761
+ const { abi: abi30, data } = parameters;
6762
6762
  const signature = slice(data, 0, 4);
6763
6763
  if (signature === "0x")
6764
6764
  throw new AbiDecodingZeroDataError();
6765
- const abi_ = [...abi29 || [], solidityError, solidityPanic];
6765
+ const abi_ = [...abi30 || [], solidityError, solidityPanic];
6766
6766
  const abiItem = abi_.find((x) => x.type === "error" && signature === toFunctionSelector(formatAbiItem2(x)));
6767
6767
  if (!abiItem)
6768
6768
  throw new AbiErrorSignatureNotFoundError(signature, {
@@ -7105,8 +7105,8 @@ ${prettyStateOverride(stateOverride)}`;
7105
7105
  }
7106
7106
  };
7107
7107
  ContractFunctionExecutionError = class extends BaseError2 {
7108
- constructor(cause, { abi: abi29, args, contractAddress, docsPath: docsPath8, functionName, sender }) {
7109
- const abiItem = getAbiItem({ abi: abi29, args, name: functionName });
7108
+ constructor(cause, { abi: abi30, args, contractAddress, docsPath: docsPath8, functionName, sender }) {
7109
+ const abiItem = getAbiItem({ abi: abi30, args, name: functionName });
7110
7110
  const formattedArgs = abiItem ? formatAbiItemWithArgs({
7111
7111
  abiItem,
7112
7112
  args,
@@ -7172,7 +7172,7 @@ ${prettyStateOverride(stateOverride)}`;
7172
7172
  writable: true,
7173
7173
  value: void 0
7174
7174
  });
7175
- this.abi = abi29;
7175
+ this.abi = abi30;
7176
7176
  this.args = args;
7177
7177
  this.cause = cause;
7178
7178
  this.contractAddress = contractAddress;
@@ -7181,14 +7181,14 @@ ${prettyStateOverride(stateOverride)}`;
7181
7181
  }
7182
7182
  };
7183
7183
  ContractFunctionRevertedError = class extends BaseError2 {
7184
- constructor({ abi: abi29, data, functionName, message: message2 }) {
7184
+ constructor({ abi: abi30, data, functionName, message: message2 }) {
7185
7185
  let cause;
7186
7186
  let decodedData;
7187
7187
  let metaMessages;
7188
7188
  let reason;
7189
7189
  if (data && data !== "0x") {
7190
7190
  try {
7191
- decodedData = decodeErrorResult({ abi: abi29, data });
7191
+ decodedData = decodeErrorResult({ abi: abi30, data });
7192
7192
  const { abiItem, errorName, args: errorArgs } = decodedData;
7193
7193
  if (errorName === "Error") {
7194
7194
  reason = errorArgs[0];
@@ -10886,10 +10886,10 @@ var init_isAddressEqual = __esm({
10886
10886
 
10887
10887
  // ../../node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
10888
10888
  function decodeFunctionResult(parameters) {
10889
- const { abi: abi29, args, functionName, data } = parameters;
10890
- let abiItem = abi29[0];
10889
+ const { abi: abi30, args, functionName, data } = parameters;
10890
+ let abiItem = abi30[0];
10891
10891
  if (functionName) {
10892
- const item = getAbiItem({ abi: abi29, args, name: functionName });
10892
+ const item = getAbiItem({ abi: abi30, args, name: functionName });
10893
10893
  if (!item)
10894
10894
  throw new AbiFunctionNotFoundError(functionName, { docsPath: docsPath4 });
10895
10895
  abiItem = item;
@@ -12745,10 +12745,10 @@ var init_chain = __esm({
12745
12745
 
12746
12746
  // ../../node_modules/viem/_esm/utils/abi/encodeDeployData.js
12747
12747
  function encodeDeployData(parameters) {
12748
- const { abi: abi29, args, bytecode } = parameters;
12748
+ const { abi: abi30, args, bytecode } = parameters;
12749
12749
  if (!args || args.length === 0)
12750
12750
  return bytecode;
12751
- const description = abi29.find((x) => "type" in x && x.type === "constructor");
12751
+ const description = abi30.find((x) => "type" in x && x.type === "constructor");
12752
12752
  if (!description)
12753
12753
  throw new AbiConstructorNotFoundError({ docsPath: docsPath5 });
12754
12754
  if (!("inputs" in description))
@@ -12936,9 +12936,9 @@ var init_ccip = __esm({
12936
12936
 
12937
12937
  // ../../node_modules/viem/_esm/utils/abi/decodeFunctionData.js
12938
12938
  function decodeFunctionData(parameters) {
12939
- const { abi: abi29, data } = parameters;
12939
+ const { abi: abi30, data } = parameters;
12940
12940
  const signature = slice(data, 0, 4);
12941
- const description = abi29.find((x) => x.type === "function" && signature === toFunctionSelector(formatAbiItem2(x)));
12941
+ const description = abi30.find((x) => x.type === "function" && signature === toFunctionSelector(formatAbiItem2(x)));
12942
12942
  if (!description)
12943
12943
  throw new AbiFunctionSignatureNotFoundError(signature, {
12944
12944
  docsPath: "/docs/contract/decodeFunctionData"
@@ -12960,10 +12960,10 @@ var init_decodeFunctionData = __esm({
12960
12960
 
12961
12961
  // ../../node_modules/viem/_esm/utils/abi/encodeErrorResult.js
12962
12962
  function encodeErrorResult(parameters) {
12963
- const { abi: abi29, errorName, args } = parameters;
12964
- let abiItem = abi29[0];
12963
+ const { abi: abi30, errorName, args } = parameters;
12964
+ let abiItem = abi30[0];
12965
12965
  if (errorName) {
12966
- const item = getAbiItem({ abi: abi29, args, name: errorName });
12966
+ const item = getAbiItem({ abi: abi30, args, name: errorName });
12967
12967
  if (!item)
12968
12968
  throw new AbiErrorNotFoundError(errorName, { docsPath: docsPath6 });
12969
12969
  abiItem = item;
@@ -12995,10 +12995,10 @@ var init_encodeErrorResult = __esm({
12995
12995
 
12996
12996
  // ../../node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
12997
12997
  function encodeFunctionResult(parameters) {
12998
- const { abi: abi29, functionName, result } = parameters;
12999
- let abiItem = abi29[0];
12998
+ const { abi: abi30, functionName, result } = parameters;
12999
+ let abiItem = abi30[0];
13000
13000
  if (functionName) {
13001
- const item = getAbiItem({ abi: abi29, name: functionName });
13001
+ const item = getAbiItem({ abi: abi30, name: functionName });
13002
13002
  if (!item)
13003
13003
  throw new AbiFunctionNotFoundError(functionName, { docsPath: docsPath7 });
13004
13004
  abiItem = item;
@@ -35374,13 +35374,13 @@ var require_interface = __commonJS({
35374
35374
  function Interface2(fragments) {
35375
35375
  var _newTarget = this.constructor;
35376
35376
  var _this = this;
35377
- var abi29 = [];
35377
+ var abi30 = [];
35378
35378
  if (typeof fragments === "string") {
35379
- abi29 = JSON.parse(fragments);
35379
+ abi30 = JSON.parse(fragments);
35380
35380
  } else {
35381
- abi29 = fragments;
35381
+ abi30 = fragments;
35382
35382
  }
35383
- (0, properties_1.defineReadOnly)(this, "fragments", abi29.map(function(fragment) {
35383
+ (0, properties_1.defineReadOnly)(this, "fragments", abi30.map(function(fragment) {
35384
35384
  return fragments_1.Fragment.from(fragment);
35385
35385
  }).filter(function(fragment) {
35386
35386
  return fragment != null;
@@ -35434,15 +35434,15 @@ var require_interface = __commonJS({
35434
35434
  if (format2 === fragments_1.FormatTypes.sighash) {
35435
35435
  logger2.throwArgumentError("interface does not support formatting sighash", "format", format2);
35436
35436
  }
35437
- var abi29 = this.fragments.map(function(fragment) {
35437
+ var abi30 = this.fragments.map(function(fragment) {
35438
35438
  return fragment.format(format2);
35439
35439
  });
35440
35440
  if (format2 === fragments_1.FormatTypes.json) {
35441
- return JSON.stringify(abi29.map(function(j) {
35441
+ return JSON.stringify(abi30.map(function(j) {
35442
35442
  return JSON.parse(j);
35443
35443
  }));
35444
35444
  }
35445
- return abi29;
35445
+ return abi30;
35446
35446
  };
35447
35447
  Interface2.getAbiCoder = function() {
35448
35448
  return abi_coder_1.defaultAbiCoder;
@@ -51185,14 +51185,14 @@ var require_lib29 = __commonJS({
51185
51185
  if (typeof compilerOutput === "string") {
51186
51186
  compilerOutput = JSON.parse(compilerOutput);
51187
51187
  }
51188
- var abi29 = compilerOutput.abi;
51188
+ var abi30 = compilerOutput.abi;
51189
51189
  var bytecode = null;
51190
51190
  if (compilerOutput.bytecode) {
51191
51191
  bytecode = compilerOutput.bytecode;
51192
51192
  } else if (compilerOutput.evm && compilerOutput.evm.bytecode) {
51193
51193
  bytecode = compilerOutput.evm.bytecode;
51194
51194
  }
51195
- return new this(abi29, bytecode, signer);
51195
+ return new this(abi30, bytecode, signer);
51196
51196
  };
51197
51197
  ContractFactory2.getInterface = function(contractInterface) {
51198
51198
  return Contract.getInterface(contractInterface);
@@ -55707,7 +55707,7 @@ var require_node_gyp_build = __commonJS({
55707
55707
  var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
55708
55708
  var vars = process.config && process.config.variables || {};
55709
55709
  var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
55710
- var abi29 = process.versions.modules;
55710
+ var abi30 = process.versions.modules;
55711
55711
  var runtime = isElectron() ? "electron" : isNwjs() ? "node-webkit" : "node";
55712
55712
  var arch = process.env.npm_config_arch || os2.arch();
55713
55713
  var platform = process.env.npm_config_platform || os2.platform();
@@ -55739,7 +55739,7 @@ var require_node_gyp_build = __commonJS({
55739
55739
  "platform=" + platform,
55740
55740
  "arch=" + arch,
55741
55741
  "runtime=" + runtime,
55742
- "abi=" + abi29,
55742
+ "abi=" + abi30,
55743
55743
  "uv=" + uv,
55744
55744
  armv ? "armv=" + armv : "",
55745
55745
  "libc=" + libc,
@@ -55755,7 +55755,7 @@ var require_node_gyp_build = __commonJS({
55755
55755
  if (!tuple2) return;
55756
55756
  var prebuilds = path12.join(dir2, "prebuilds", tuple2.name);
55757
55757
  var parsed = readdirSync(prebuilds).map(parseTags);
55758
- var candidates = parsed.filter(matchTags(runtime, abi29));
55758
+ var candidates = parsed.filter(matchTags(runtime, abi30));
55759
55759
  var winner = candidates.sort(compareTags(runtime))[0];
55760
55760
  if (winner) return path12.join(prebuilds, winner.file);
55761
55761
  }
@@ -55820,11 +55820,11 @@ var require_node_gyp_build = __commonJS({
55820
55820
  }
55821
55821
  return tags;
55822
55822
  }
55823
- function matchTags(runtime2, abi30) {
55823
+ function matchTags(runtime2, abi31) {
55824
55824
  return function(tags) {
55825
55825
  if (tags == null) return false;
55826
55826
  if (tags.runtime && tags.runtime !== runtime2 && !runtimeAgnostic(tags)) return false;
55827
- if (tags.abi && tags.abi !== abi30 && !tags.napi) return false;
55827
+ if (tags.abi && tags.abi !== abi31 && !tags.napi) return false;
55828
55828
  if (tags.uv && tags.uv !== uv) return false;
55829
55829
  if (tags.armv && tags.armv !== armv) return false;
55830
55830
  if (tags.libc && tags.libc !== libc) return false;
@@ -94536,6 +94536,34 @@ var require_curveLP = __commonJS({
94536
94536
  pool: "CURVE_LLAMA_THENA_POOL",
94537
94537
  tokenOut: ["scrvUSD", "sUSDe"]
94538
94538
  },
94539
+ dolaSave: {
94540
+ name: "Curve dola save",
94541
+ symbol: "dolaSave",
94542
+ type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
94543
+ pool: "CURVE_DOLA_SCRVUSD_POOL",
94544
+ tokenOut: ["DOLA", "scrvUSD"]
94545
+ },
94546
+ lvlUSDUSDC: {
94547
+ name: "Curve lvlUSD/USDC",
94548
+ symbol: "lvlUSDUSDC",
94549
+ type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
94550
+ pool: "CURVE_LVLUSD_USDC_POOL",
94551
+ tokenOut: ["USDC", "lvlUSD"]
94552
+ },
94553
+ slvlUSDlvlUSDNG: {
94554
+ name: "Curve slvlUSD/lvlUSD (ng)",
94555
+ symbol: "slvlUSDlvlUSDNG",
94556
+ type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
94557
+ pool: "CURVE_SLVLUSD_LVLUSD_NG_POOL",
94558
+ tokenOut: ["slvlUSD", "lvlUSD"]
94559
+ },
94560
+ slvlUSDlvlUSD: {
94561
+ name: "Curve slvlUSD/lvlUSD",
94562
+ symbol: "slvlUSDlvlUSD",
94563
+ type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
94564
+ pool: "CURVE_SLVLUSD_LVLUSD_POOL",
94565
+ tokenOut: ["lvlUSD", "slvlUSD"]
94566
+ },
94539
94567
  crvUSDFRAX: {
94540
94568
  name: "Curve crvUSDFRAX",
94541
94569
  symbol: "crvUSDFRAX",
@@ -94895,6 +94923,10 @@ var require_decimals = __commonJS({
94895
94923
  USDLUSDC: 18,
94896
94924
  RLUSDUSDC: 18,
94897
94925
  llamathena: 18,
94926
+ dolaSave: 18,
94927
+ lvlUSDUSDC: 18,
94928
+ slvlUSDlvlUSDNG: 18,
94929
+ slvlUSDlvlUSD: 18,
94898
94930
  crvUSDUSDT: 18,
94899
94931
  crvUSDETHCRV: 18,
94900
94932
  crvUSDFRAX: 18,
@@ -95065,6 +95097,8 @@ var require_decimals = __commonJS({
95065
95097
  wUSDL: 18,
95066
95098
  csUSDL: 18,
95067
95099
  RLUSD: 18,
95100
+ lvlUSD: 18,
95101
+ slvlUSD: 18,
95068
95102
  beraSTONE: 18,
95069
95103
  rETH: 18,
95070
95104
  rETH_f: 18,
@@ -95081,6 +95115,7 @@ var require_decimals = __commonJS({
95081
95115
  PT_sUSDe_27MAR2025: 18,
95082
95116
  PT_sUSDe_29MAY2025: 18,
95083
95117
  PT_beraSTONE_10APR2025: 18,
95118
+ PT_slvlUSD_25SEP2025: 18,
95084
95119
  rstETH_Lido_wstETH: 18,
95085
95120
  DVstETH_Prime_wstETH: 18
95086
95121
  };
@@ -95124,12 +95159,12 @@ var require_erc4626 = __commonJS({
95124
95159
  underlying: "USDS",
95125
95160
  vault: "STAKED_USDS_VAULT"
95126
95161
  },
95127
- scrvUSD: {
95128
- name: "Savings crvUSD",
95129
- symbol: "scrvUSD",
95162
+ csUSDL: {
95163
+ name: "Coinshift USDL",
95164
+ symbol: "csUSDL",
95130
95165
  type: { AllNetworks: tokenType_1.TokenType.ERC4626_VAULT_TOKEN },
95131
- underlying: "crvUSD",
95132
- vault: "SAVINGS_CRVUSD_VAULT"
95166
+ underlying: "USDL",
95167
+ vault: "COINSHIFT_USDL_VAULT"
95133
95168
  }
95134
95169
  };
95135
95170
  var isERC4626LPToken = (t) => typeof t === "string" && !!exports2.erc4626Tokens[t];
@@ -95638,16 +95673,26 @@ var require_normal = __commonJS({
95638
95673
  symbol: "wUSDL",
95639
95674
  type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95640
95675
  },
95641
- csUSDL: {
95642
- name: "Coinshift USDL",
95643
- symbol: "csUSDL",
95644
- type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95645
- },
95646
95676
  RLUSD: {
95647
95677
  name: "RLUSD",
95648
95678
  symbol: "RLUSD",
95649
95679
  type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95650
95680
  },
95681
+ lvlUSD: {
95682
+ name: "Level USD",
95683
+ symbol: "lvlUSD",
95684
+ type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95685
+ },
95686
+ slvlUSD: {
95687
+ name: "Staked lvlUSD",
95688
+ symbol: "slvlUSD",
95689
+ type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95690
+ },
95691
+ scrvUSD: {
95692
+ name: "Savings crvUSD",
95693
+ symbol: "scrvUSD",
95694
+ type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95695
+ },
95651
95696
  // Mellow
95652
95697
  steakLRT: {
95653
95698
  name: "Steakhouse Mellow LRT",
@@ -95764,6 +95809,11 @@ var require_normal = __commonJS({
95764
95809
  symbol: "PT_beraSTONE_10APR2025",
95765
95810
  type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95766
95811
  },
95812
+ PT_slvlUSD_25SEP2025: {
95813
+ name: "Pendle PT lvlUSD 25 September 2025 expiry",
95814
+ symbol: "PT_slvlUSD_25SEP2025",
95815
+ type: { AllNetworks: tokenType_1.TokenType.NORMAL_TOKEN }
95816
+ },
95767
95817
  rstETH_Lido_wstETH: {
95768
95818
  name: "Balancer V3 rstETH-Lido wstETH",
95769
95819
  symbol: "rstETH_Lido_wstETH",
@@ -96054,6 +96104,8 @@ var require_token = __commonJS({
96054
96104
  wUSDL: "0x7751E2F4b8ae93EF6B79d86419d42FE3295A4559",
96055
96105
  csUSDL: "0xbEeFc011e94f43b8B7b455eBaB290C7Ab4E216f1",
96056
96106
  RLUSD: "0x8292Bb45bf1Ee4d140127049757C2E0fF06317eD",
96107
+ lvlUSD: "0x7C1156E515aA1A2E851674120074968C905aAF37",
96108
+ slvlUSD: "0x4737D9b4592B40d51e110b94c9C043c6654067Ae",
96057
96109
  // CURVE LP TOKENS
96058
96110
  "3Crv": "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490",
96059
96111
  crvFRAX: "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC",
@@ -96081,6 +96133,10 @@ var require_token = __commonJS({
96081
96133
  crvUSDETHCRV: "0x4eBdF703948ddCEA3B11f675B4D1Fba9d2414A14",
96082
96134
  crvUsUSDe: "0x57064F49Ad7123C92560882a45518374ad982e85",
96083
96135
  llamathena: "0xd29f8980852c2c76fC3f6E96a7Aa06E0BedCC1B1",
96136
+ dolaSave: "0xff17dAb22F1E61078aBa2623c89cE6110E878B3c",
96137
+ lvlUSDUSDC: "0x1220868672D5B10F3E1cB9Ab519E4d0B08545ea4",
96138
+ slvlUSDlvlUSDNG: "0xd89760b5b188D77dA878Ab09fF475569883A5B96",
96139
+ slvlUSDlvlUSD: "0xF244324FBB57f09F0606FF088bC894b051d632Eb",
96084
96140
  rETH_f: "0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C",
96085
96141
  MtEthena: "0x167478921b907422F8E88B43C4Af2B8BEa278d3A",
96086
96142
  GHOUSDe: "0x670a72e6D22b0956C0D2573288F82DCc5d6E3a61",
@@ -96223,6 +96279,7 @@ var require_token = __commonJS({
96223
96279
  PT_sUSDe_27MAR2025: "0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81",
96224
96280
  PT_sUSDe_29MAY2025: "0xb7de5dFCb74d25c2f21841fbd6230355C50d9308",
96225
96281
  PT_beraSTONE_10APR2025: "0x40b7B4aB1E95e28DF06971581276966FDF95688E",
96282
+ PT_slvlUSD_25SEP2025: "0x2CA5f2C4300450D53214B00546795c1c07B89acB",
96226
96283
  // Balancer V3
96227
96284
  rstETH_Lido_wstETH: "0x121edB0bADc036F5FC610D015EE14093C142313B",
96228
96285
  DVstETH_Prime_wstETH: "0xeb95d6BD67f613E7918A031d9F4a9a92766659aC",
@@ -96362,6 +96419,8 @@ var require_token = __commonJS({
96362
96419
  csUSDL: constants_1.NOT_DEPLOYED,
96363
96420
  MORPHO: constants_1.NOT_DEPLOYED,
96364
96421
  RLUSD: constants_1.NOT_DEPLOYED,
96422
+ lvlUSD: constants_1.NOT_DEPLOYED,
96423
+ slvlUSD: constants_1.NOT_DEPLOYED,
96365
96424
  // REDSTONE
96366
96425
  SHIB: constants_1.NOT_DEPLOYED,
96367
96426
  // YEARN TOKENS
@@ -96407,6 +96466,10 @@ var require_token = __commonJS({
96407
96466
  crvUSDETHCRV: constants_1.NOT_DEPLOYED,
96408
96467
  crvUsUSDe: constants_1.NOT_DEPLOYED,
96409
96468
  llamathena: constants_1.NOT_DEPLOYED,
96469
+ dolaSave: constants_1.NOT_DEPLOYED,
96470
+ lvlUSDUSDC: constants_1.NOT_DEPLOYED,
96471
+ slvlUSDlvlUSDNG: constants_1.NOT_DEPLOYED,
96472
+ slvlUSDlvlUSD: constants_1.NOT_DEPLOYED,
96410
96473
  crvUSDC: "0xec090cf6DD891D2d014beA6edAda6e05E025D93d",
96411
96474
  crvUSDT: "0x73aF1150F265419Ef8a5DB41908B700C32D49135",
96412
96475
  crvUSDC_e: "0x3aDf984c937FA6846E5a24E0A68521Bdaf767cE1",
@@ -96533,6 +96596,7 @@ var require_token = __commonJS({
96533
96596
  PT_sUSDe_27MAR2025: constants_1.NOT_DEPLOYED,
96534
96597
  PT_sUSDe_29MAY2025: constants_1.NOT_DEPLOYED,
96535
96598
  PT_beraSTONE_10APR2025: constants_1.NOT_DEPLOYED,
96599
+ PT_slvlUSD_25SEP2025: constants_1.NOT_DEPLOYED,
96536
96600
  // Balancer V3
96537
96601
  rstETH_Lido_wstETH: constants_1.NOT_DEPLOYED,
96538
96602
  DVstETH_Prime_wstETH: constants_1.NOT_DEPLOYED,
@@ -96670,6 +96734,8 @@ var require_token = __commonJS({
96670
96734
  csUSDL: constants_1.NOT_DEPLOYED,
96671
96735
  MORPHO: constants_1.NOT_DEPLOYED,
96672
96736
  RLUSD: constants_1.NOT_DEPLOYED,
96737
+ lvlUSD: constants_1.NOT_DEPLOYED,
96738
+ slvlUSD: constants_1.NOT_DEPLOYED,
96673
96739
  // REDSTONE
96674
96740
  SHIB: constants_1.NOT_DEPLOYED,
96675
96741
  // YEARN TOKENS
@@ -96721,6 +96787,10 @@ var require_token = __commonJS({
96721
96787
  crvUSDETHCRV: constants_1.NOT_DEPLOYED,
96722
96788
  crvUsUSDe: constants_1.NOT_DEPLOYED,
96723
96789
  llamathena: constants_1.NOT_DEPLOYED,
96790
+ dolaSave: constants_1.NOT_DEPLOYED,
96791
+ lvlUSDUSDC: constants_1.NOT_DEPLOYED,
96792
+ slvlUSDlvlUSDNG: constants_1.NOT_DEPLOYED,
96793
+ slvlUSDlvlUSD: constants_1.NOT_DEPLOYED,
96724
96794
  "2CRV": constants_1.NOT_DEPLOYED,
96725
96795
  "3c-crvUSD": constants_1.NOT_DEPLOYED,
96726
96796
  crvUSDC: constants_1.NOT_DEPLOYED,
@@ -96841,6 +96911,7 @@ var require_token = __commonJS({
96841
96911
  PT_sUSDe_27MAR2025: constants_1.NOT_DEPLOYED,
96842
96912
  PT_sUSDe_29MAY2025: constants_1.NOT_DEPLOYED,
96843
96913
  PT_beraSTONE_10APR2025: constants_1.NOT_DEPLOYED,
96914
+ PT_slvlUSD_25SEP2025: constants_1.NOT_DEPLOYED,
96844
96915
  // Balancer V3
96845
96916
  rstETH_Lido_wstETH: constants_1.NOT_DEPLOYED,
96846
96917
  DVstETH_Prime_wstETH: constants_1.NOT_DEPLOYED,
@@ -96977,6 +97048,8 @@ var require_token = __commonJS({
96977
97048
  csUSDL: constants_1.NOT_DEPLOYED,
96978
97049
  MORPHO: constants_1.NOT_DEPLOYED,
96979
97050
  RLUSD: constants_1.NOT_DEPLOYED,
97051
+ lvlUSD: constants_1.NOT_DEPLOYED,
97052
+ slvlUSD: constants_1.NOT_DEPLOYED,
96980
97053
  // REDSTONE
96981
97054
  SHIB: constants_1.NOT_DEPLOYED,
96982
97055
  // YEARN TOKENS
@@ -97027,6 +97100,10 @@ var require_token = __commonJS({
97027
97100
  crvUSDETHCRV: constants_1.NOT_DEPLOYED,
97028
97101
  crvUsUSDe: constants_1.NOT_DEPLOYED,
97029
97102
  llamathena: constants_1.NOT_DEPLOYED,
97103
+ dolaSave: constants_1.NOT_DEPLOYED,
97104
+ lvlUSDUSDC: constants_1.NOT_DEPLOYED,
97105
+ slvlUSDlvlUSDNG: constants_1.NOT_DEPLOYED,
97106
+ slvlUSDlvlUSD: constants_1.NOT_DEPLOYED,
97030
97107
  "2CRV": constants_1.NOT_DEPLOYED,
97031
97108
  "3c-crvUSD": constants_1.NOT_DEPLOYED,
97032
97109
  crvUSDC: constants_1.NOT_DEPLOYED,
@@ -97146,6 +97223,7 @@ var require_token = __commonJS({
97146
97223
  PT_sUSDe_27MAR2025: constants_1.NOT_DEPLOYED,
97147
97224
  PT_sUSDe_29MAY2025: constants_1.NOT_DEPLOYED,
97148
97225
  PT_beraSTONE_10APR2025: constants_1.NOT_DEPLOYED,
97226
+ PT_slvlUSD_25SEP2025: constants_1.NOT_DEPLOYED,
97149
97227
  // Balancer V3
97150
97228
  rstETH_Lido_wstETH: constants_1.NOT_DEPLOYED,
97151
97229
  DVstETH_Prime_wstETH: constants_1.NOT_DEPLOYED,
@@ -97252,6 +97330,8 @@ var require_token = __commonJS({
97252
97330
  wUSDL: constants_1.NOT_DEPLOYED,
97253
97331
  csUSDL: constants_1.NOT_DEPLOYED,
97254
97332
  RLUSD: constants_1.NOT_DEPLOYED,
97333
+ lvlUSD: constants_1.NOT_DEPLOYED,
97334
+ slvlUSD: constants_1.NOT_DEPLOYED,
97255
97335
  /// UPDATE
97256
97336
  STETH: constants_1.NOT_DEPLOYED,
97257
97337
  wstETH: constants_1.NOT_DEPLOYED,
@@ -97339,6 +97419,10 @@ var require_token = __commonJS({
97339
97419
  crvUSDETHCRV: constants_1.NOT_DEPLOYED,
97340
97420
  crvUsUSDe: constants_1.NOT_DEPLOYED,
97341
97421
  llamathena: constants_1.NOT_DEPLOYED,
97422
+ dolaSave: constants_1.NOT_DEPLOYED,
97423
+ lvlUSDUSDC: constants_1.NOT_DEPLOYED,
97424
+ slvlUSDlvlUSDNG: constants_1.NOT_DEPLOYED,
97425
+ slvlUSDlvlUSD: constants_1.NOT_DEPLOYED,
97342
97426
  "2CRV": constants_1.NOT_DEPLOYED,
97343
97427
  "3c-crvUSD": constants_1.NOT_DEPLOYED,
97344
97428
  crvUSDC: constants_1.NOT_DEPLOYED,
@@ -97453,6 +97537,7 @@ var require_token = __commonJS({
97453
97537
  PT_sUSDe_27MAR2025: constants_1.NOT_DEPLOYED,
97454
97538
  PT_sUSDe_29MAY2025: constants_1.NOT_DEPLOYED,
97455
97539
  PT_beraSTONE_10APR2025: constants_1.NOT_DEPLOYED,
97540
+ PT_slvlUSD_25SEP2025: constants_1.NOT_DEPLOYED,
97456
97541
  // Balancer V3
97457
97542
  rstETH_Lido_wstETH: constants_1.NOT_DEPLOYED,
97458
97543
  DVstETH_Prime_wstETH: constants_1.NOT_DEPLOYED,
@@ -98056,6 +98141,7 @@ var require_protocols = __commonJS({
98056
98141
  Protocols3[Protocols3["Beets"] = 25] = "Beets";
98057
98142
  Protocols3[Protocols3["Shadow"] = 26] = "Shadow";
98058
98143
  Protocols3[Protocols3["Lift"] = 27] = "Lift";
98144
+ Protocols3[Protocols3["LevelMoney"] = 28] = "LevelMoney";
98059
98145
  })(Protocols2 || (exports2.Protocols = Protocols2 = {}));
98060
98146
  }
98061
98147
  });
@@ -98133,6 +98219,10 @@ var require_contracts = __commonJS({
98133
98219
  CURVE_TRI_CRV_POOL: token_1.tokenDataByNetwork.Mainnet.crvUSDETHCRV,
98134
98220
  CURVE_CRVUSD_SUSDE_POOL: token_1.tokenDataByNetwork.Mainnet.crvUsUSDe,
98135
98221
  CURVE_LLAMA_THENA_POOL: token_1.tokenDataByNetwork.Mainnet.llamathena,
98222
+ CURVE_DOLA_SCRVUSD_POOL: token_1.tokenDataByNetwork.Mainnet.dolaSave,
98223
+ CURVE_LVLUSD_USDC_POOL: token_1.tokenDataByNetwork.Mainnet.lvlUSDUSDC,
98224
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: token_1.tokenDataByNetwork.Mainnet.slvlUSDlvlUSDNG,
98225
+ CURVE_SLVLUSD_LVLUSD_POOL: token_1.tokenDataByNetwork.Mainnet.slvlUSDlvlUSD,
98136
98226
  CURVE_RETH_ETH_POOL: "0x0f3159811670c117c372428D4E69AC32325e4D0F",
98137
98227
  CURVE_3CRV_POOL_OP: constants_1.NOT_DEPLOYED,
98138
98228
  CURVE_2CRV_POOL_ARB: token_1.tokenDataByNetwork.Mainnet["2CRV"],
@@ -98160,6 +98250,7 @@ var require_contracts = __commonJS({
98160
98250
  AAVE_WSTETH_VAULT: token_1.tokenDataByNetwork.Mainnet.waEthLidowstETH,
98161
98251
  WRAPPED_USDL_VAULT: token_1.tokenDataByNetwork.Mainnet.wUSDL,
98162
98252
  COINSHIFT_USDL_VAULT: token_1.tokenDataByNetwork.Mainnet.csUSDL,
98253
+ LEVELED_USD_VAULT: token_1.tokenDataByNetwork.Mainnet.slvlUSD,
98163
98254
  // CONVEX
98164
98255
  CONVEX_BOOSTER: "0xF403C135812408BFbE8713b5A23a04b3D48AAE31",
98165
98256
  CONVEX_3CRV_POOL: "0x689440f2Ff927E1f24c72F1087E1FAF471eCe1c8",
@@ -98292,6 +98383,10 @@ var require_contracts = __commonJS({
98292
98383
  CURVE_TRI_CRV_POOL: token_1.tokenDataByNetwork.Arbitrum.crvUSDETHCRV,
98293
98384
  CURVE_CRVUSD_SUSDE_POOL: token_1.tokenDataByNetwork.Arbitrum.crvUsUSDe,
98294
98385
  CURVE_LLAMA_THENA_POOL: token_1.tokenDataByNetwork.Arbitrum.llamathena,
98386
+ CURVE_DOLA_SCRVUSD_POOL: token_1.tokenDataByNetwork.Arbitrum.dolaSave,
98387
+ CURVE_LVLUSD_USDC_POOL: token_1.tokenDataByNetwork.Arbitrum.lvlUSDUSDC,
98388
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: token_1.tokenDataByNetwork.Arbitrum.slvlUSDlvlUSDNG,
98389
+ CURVE_SLVLUSD_LVLUSD_POOL: token_1.tokenDataByNetwork.Arbitrum.slvlUSDlvlUSD,
98295
98390
  CURVE_RETH_ETH_POOL: constants_1.NOT_DEPLOYED,
98296
98391
  CURVE_3CRV_POOL_OP: constants_1.NOT_DEPLOYED,
98297
98392
  CURVE_2CRV_POOL_ARB: token_1.tokenDataByNetwork.Arbitrum["2CRV"],
@@ -98319,6 +98414,7 @@ var require_contracts = __commonJS({
98319
98414
  AAVE_WSTETH_VAULT: token_1.tokenDataByNetwork.Arbitrum.waEthLidowstETH,
98320
98415
  WRAPPED_USDL_VAULT: token_1.tokenDataByNetwork.Arbitrum.wUSDL,
98321
98416
  COINSHIFT_USDL_VAULT: token_1.tokenDataByNetwork.Arbitrum.csUSDL,
98417
+ LEVELED_USD_VAULT: token_1.tokenDataByNetwork.Arbitrum.slvlUSD,
98322
98418
  // CONVEX
98323
98419
  CONVEX_BOOSTER: constants_1.NOT_DEPLOYED,
98324
98420
  CONVEX_3CRV_POOL: constants_1.NOT_DEPLOYED,
@@ -98452,6 +98548,10 @@ var require_contracts = __commonJS({
98452
98548
  CURVE_TRI_CRV_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDETHCRV,
98453
98549
  CURVE_CRVUSD_SUSDE_POOL: token_1.tokenDataByNetwork.Optimism.crvUsUSDe,
98454
98550
  CURVE_LLAMA_THENA_POOL: token_1.tokenDataByNetwork.Optimism.llamathena,
98551
+ CURVE_DOLA_SCRVUSD_POOL: token_1.tokenDataByNetwork.Optimism.dolaSave,
98552
+ CURVE_LVLUSD_USDC_POOL: token_1.tokenDataByNetwork.Optimism.lvlUSDUSDC,
98553
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: token_1.tokenDataByNetwork.Optimism.slvlUSDlvlUSDNG,
98554
+ CURVE_SLVLUSD_LVLUSD_POOL: token_1.tokenDataByNetwork.Optimism.slvlUSDlvlUSD,
98455
98555
  CURVE_RETH_ETH_POOL: constants_1.NOT_DEPLOYED,
98456
98556
  CURVE_2CRV_POOL_ARB: token_1.tokenDataByNetwork.Optimism["2CRV"],
98457
98557
  CURVE_TRICRYPTO_CRVUSD_POOL_ARB: token_1.tokenDataByNetwork.Optimism["3c-crvUSD"],
@@ -98478,6 +98578,7 @@ var require_contracts = __commonJS({
98478
98578
  AAVE_WSTETH_VAULT: token_1.tokenDataByNetwork.Optimism.waEthLidowstETH,
98479
98579
  WRAPPED_USDL_VAULT: token_1.tokenDataByNetwork.Optimism.wUSDL,
98480
98580
  COINSHIFT_USDL_VAULT: token_1.tokenDataByNetwork.Optimism.csUSDL,
98581
+ LEVELED_USD_VAULT: token_1.tokenDataByNetwork.Optimism.slvlUSD,
98481
98582
  // CONVEX
98482
98583
  CONVEX_BOOSTER: constants_1.NOT_DEPLOYED,
98483
98584
  CONVEX_3CRV_POOL: constants_1.NOT_DEPLOYED,
@@ -98609,6 +98710,10 @@ var require_contracts = __commonJS({
98609
98710
  CURVE_TRI_CRV_POOL: token_1.tokenDataByNetwork.Base.crvUSDETHCRV,
98610
98711
  CURVE_CRVUSD_SUSDE_POOL: token_1.tokenDataByNetwork.Base.crvUsUSDe,
98611
98712
  CURVE_LLAMA_THENA_POOL: token_1.tokenDataByNetwork.Base.llamathena,
98713
+ CURVE_DOLA_SCRVUSD_POOL: token_1.tokenDataByNetwork.Base.dolaSave,
98714
+ CURVE_LVLUSD_USDC_POOL: token_1.tokenDataByNetwork.Base.lvlUSDUSDC,
98715
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: token_1.tokenDataByNetwork.Base.slvlUSDlvlUSDNG,
98716
+ CURVE_SLVLUSD_LVLUSD_POOL: token_1.tokenDataByNetwork.Base.slvlUSDlvlUSD,
98612
98717
  CURVE_RETH_ETH_POOL: constants_1.NOT_DEPLOYED,
98613
98718
  CURVE_2CRV_POOL_ARB: token_1.tokenDataByNetwork.Base["2CRV"],
98614
98719
  CURVE_TRICRYPTO_CRVUSD_POOL_ARB: token_1.tokenDataByNetwork.Base["3c-crvUSD"],
@@ -98635,6 +98740,7 @@ var require_contracts = __commonJS({
98635
98740
  AAVE_WSTETH_VAULT: token_1.tokenDataByNetwork.Base.waEthLidowstETH,
98636
98741
  WRAPPED_USDL_VAULT: token_1.tokenDataByNetwork.Base.wUSDL,
98637
98742
  COINSHIFT_USDL_VAULT: token_1.tokenDataByNetwork.Base.csUSDL,
98743
+ LEVELED_USD_VAULT: token_1.tokenDataByNetwork.Base.slvlUSD,
98638
98744
  // CONVEX
98639
98745
  CONVEX_BOOSTER: constants_1.NOT_DEPLOYED,
98640
98746
  CONVEX_3CRV_POOL: constants_1.NOT_DEPLOYED,
@@ -98768,6 +98874,10 @@ var require_contracts = __commonJS({
98768
98874
  CURVE_TRI_CRV_POOL: constants_1.NOT_DEPLOYED,
98769
98875
  CURVE_CRVUSD_SUSDE_POOL: constants_1.NOT_DEPLOYED,
98770
98876
  CURVE_LLAMA_THENA_POOL: constants_1.NOT_DEPLOYED,
98877
+ CURVE_DOLA_SCRVUSD_POOL: constants_1.NOT_DEPLOYED,
98878
+ CURVE_LVLUSD_USDC_POOL: constants_1.NOT_DEPLOYED,
98879
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: constants_1.NOT_DEPLOYED,
98880
+ CURVE_SLVLUSD_LVLUSD_POOL: constants_1.NOT_DEPLOYED,
98771
98881
  CURVE_RETH_ETH_POOL: constants_1.NOT_DEPLOYED,
98772
98882
  CURVE_2CRV_POOL_ARB: constants_1.NOT_DEPLOYED,
98773
98883
  CURVE_TRICRYPTO_CRVUSD_POOL_ARB: constants_1.NOT_DEPLOYED,
@@ -98794,6 +98904,7 @@ var require_contracts = __commonJS({
98794
98904
  AAVE_WSTETH_VAULT: constants_1.NOT_DEPLOYED,
98795
98905
  WRAPPED_USDL_VAULT: constants_1.NOT_DEPLOYED,
98796
98906
  COINSHIFT_USDL_VAULT: constants_1.NOT_DEPLOYED,
98907
+ LEVELED_USD_VAULT: constants_1.NOT_DEPLOYED,
98797
98908
  // CONVEX
98798
98909
  CONVEX_BOOSTER: constants_1.NOT_DEPLOYED,
98799
98910
  CONVEX_3CRV_POOL: constants_1.NOT_DEPLOYED,
@@ -99104,6 +99215,38 @@ var require_contracts = __commonJS({
99104
99215
  lpToken: "llamathena",
99105
99216
  tokens: ["scrvUSD", "sUSDe"]
99106
99217
  },
99218
+ CURVE_DOLA_SCRVUSD_POOL: {
99219
+ name: "Curve dola save",
99220
+ protocol: protocols_1.Protocols.Curve,
99221
+ version: 10,
99222
+ type: adapters_1.AdapterInterface.CURVE_STABLE_NG,
99223
+ lpToken: "dolaSave",
99224
+ tokens: ["DOLA", "scrvUSD"]
99225
+ },
99226
+ CURVE_LVLUSD_USDC_POOL: {
99227
+ name: "Curve lvlUSD/USDC",
99228
+ protocol: protocols_1.Protocols.Curve,
99229
+ version: 10,
99230
+ type: adapters_1.AdapterInterface.CURVE_STABLE_NG,
99231
+ lpToken: "lvlUSDUSDC",
99232
+ tokens: ["USDC", "lvlUSD"]
99233
+ },
99234
+ CURVE_SLVLUSD_LVLUSD_NG_POOL: {
99235
+ name: "Curve slvlUSD/lvlUSD (ng)",
99236
+ protocol: protocols_1.Protocols.Curve,
99237
+ version: 10,
99238
+ type: adapters_1.AdapterInterface.CURVE_STABLE_NG,
99239
+ lpToken: "slvlUSDlvlUSDNG",
99240
+ tokens: ["slvlUSD", "lvlUSD"]
99241
+ },
99242
+ CURVE_SLVLUSD_LVLUSD_POOL: {
99243
+ name: "Curve slvlUSD/lvlUSD",
99244
+ protocol: protocols_1.Protocols.Curve,
99245
+ version: 10,
99246
+ type: adapters_1.AdapterInterface.CURVE_V1_2ASSETS,
99247
+ lpToken: "slvlUSDlvlUSD",
99248
+ tokens: ["lvlUSD", "slvlUSD"]
99249
+ },
99107
99250
  CURVE_CRVUSD_FRAX_POOL: {
99108
99251
  name: "Curve crvUSDFRAX",
99109
99252
  protocol: protocols_1.Protocols.Curve,
@@ -99478,6 +99621,12 @@ var require_contracts = __commonJS({
99478
99621
  type: adapters_1.AdapterInterface.ERC4626_VAULT,
99479
99622
  underlying: "wUSDL"
99480
99623
  },
99624
+ LEVELED_USD_VAULT: {
99625
+ name: "Leveled USD Vault",
99626
+ protocol: protocols_1.Protocols.LevelMoney,
99627
+ type: adapters_1.AdapterInterface.ERC4626_VAULT,
99628
+ underlying: "lvlUSD"
99629
+ },
99481
99630
  CONVEX_BOOSTER: {
99482
99631
  name: "Convex BOOSTER",
99483
99632
  protocol: protocols_1.Protocols.Convex,
@@ -119231,17 +119380,17 @@ var require_interface2 = __commonJS({
119231
119380
  * Create a new Interface for the %%fragments%%.
119232
119381
  */
119233
119382
  constructor(fragments) {
119234
- let abi29 = [];
119383
+ let abi30 = [];
119235
119384
  if (typeof fragments === "string") {
119236
- abi29 = JSON.parse(fragments);
119385
+ abi30 = JSON.parse(fragments);
119237
119386
  } else {
119238
- abi29 = fragments;
119387
+ abi30 = fragments;
119239
119388
  }
119240
119389
  this.#functions = /* @__PURE__ */ new Map();
119241
119390
  this.#errors = /* @__PURE__ */ new Map();
119242
119391
  this.#events = /* @__PURE__ */ new Map();
119243
119392
  const frags = [];
119244
- for (const a of abi29) {
119393
+ for (const a of abi30) {
119245
119394
  try {
119246
119395
  frags.push(fragments_js_1.Fragment.from(a));
119247
119396
  } catch (error46) {
@@ -119305,16 +119454,16 @@ var require_interface2 = __commonJS({
119305
119454
  */
119306
119455
  format(minimal) {
119307
119456
  const format2 = minimal ? "minimal" : "full";
119308
- const abi29 = this.fragments.map((f) => f.format(format2));
119309
- return abi29;
119457
+ const abi30 = this.fragments.map((f) => f.format(format2));
119458
+ return abi30;
119310
119459
  }
119311
119460
  /**
119312
119461
  * Return the JSON-encoded ABI. This is the format Solidiy
119313
119462
  * returns.
119314
119463
  */
119315
119464
  formatJson() {
119316
- const abi29 = this.fragments.map((f) => f.format("json"));
119317
- return JSON.stringify(abi29.map((j) => JSON.parse(j)));
119465
+ const abi30 = this.fragments.map((f) => f.format("json"));
119466
+ return JSON.stringify(abi30.map((j) => JSON.parse(j)));
119318
119467
  }
119319
119468
  /**
119320
119469
  * The ABI coder that will be used to encode and decode binary
@@ -122082,12 +122231,12 @@ var require_contract = __commonJS({
122082
122231
  * optionally connected to a %%runner%% to perform operations on behalf
122083
122232
  * of.
122084
122233
  */
122085
- constructor(target, abi29, runner, _deployTx) {
122234
+ constructor(target, abi30, runner, _deployTx) {
122086
122235
  (0, index_js_3.assertArgument)(typeof target === "string" || (0, index_js_2.isAddressable)(target), "invalid value for Contract target", "target", target);
122087
122236
  if (runner == null) {
122088
122237
  runner = null;
122089
122238
  }
122090
- const iface = index_js_1.Interface.from(abi29);
122239
+ const iface = index_js_1.Interface.from(abi30);
122091
122240
  (0, index_js_3.defineProperties)(this, { target, runner, interface: iface });
122092
122241
  Object.defineProperty(this, internal, { value: {} });
122093
122242
  let addrPromise;
@@ -122450,10 +122599,10 @@ var require_contract = __commonJS({
122450
122599
  /**
122451
122600
  * Create a new Class for the %%abi%%.
122452
122601
  */
122453
- static buildClass(abi29) {
122602
+ static buildClass(abi30) {
122454
122603
  class CustomContract extends _BaseContract {
122455
122604
  constructor(address, runner = null) {
122456
- super(address, abi29, runner);
122605
+ super(address, abi30, runner);
122457
122606
  }
122458
122607
  }
122459
122608
  return CustomContract;
@@ -122461,11 +122610,11 @@ var require_contract = __commonJS({
122461
122610
  /**
122462
122611
  * Create a new BaseContract with a specified Interface.
122463
122612
  */
122464
- static from(target, abi29, runner) {
122613
+ static from(target, abi30, runner) {
122465
122614
  if (runner == null) {
122466
122615
  runner = null;
122467
122616
  }
122468
- const contract = new this(target, abi29, runner);
122617
+ const contract = new this(target, abi30, runner);
122469
122618
  return contract;
122470
122619
  }
122471
122620
  };
@@ -122509,8 +122658,8 @@ var require_factory = __commonJS({
122509
122658
  * The %%bytecode%% may be the ``bytecode`` property within the
122510
122659
  * standard Solidity JSON output.
122511
122660
  */
122512
- constructor(abi29, bytecode, runner) {
122513
- const iface = index_js_1.Interface.from(abi29);
122661
+ constructor(abi30, bytecode, runner) {
122662
+ const iface = index_js_1.Interface.from(abi30);
122514
122663
  if (bytecode instanceof Uint8Array) {
122515
122664
  bytecode = (0, index_js_3.hexlify)((0, index_js_3.getBytes)(bytecode));
122516
122665
  } else {
@@ -122580,14 +122729,14 @@ var require_factory = __commonJS({
122580
122729
  if (typeof output === "string") {
122581
122730
  output = JSON.parse(output);
122582
122731
  }
122583
- const abi29 = output.abi;
122732
+ const abi30 = output.abi;
122584
122733
  let bytecode = "";
122585
122734
  if (output.bytecode) {
122586
122735
  bytecode = output.bytecode;
122587
122736
  } else if (output.evm && output.evm.bytecode) {
122588
122737
  bytecode = output.evm.bytecode;
122589
122738
  }
122590
- return new this(abi29, bytecode, runner);
122739
+ return new this(abi30, bytecode, runner);
122591
122740
  }
122592
122741
  };
122593
122742
  exports2.ContractFactory = ContractFactory;
@@ -127515,8 +127664,8 @@ var require_provider_etherscan = __commonJS({
127515
127664
  action: "getabi",
127516
127665
  address
127517
127666
  });
127518
- const abi29 = JSON.parse(resp);
127519
- return new index_js_2.Contract(address, abi29, this);
127667
+ const abi30 = JSON.parse(resp);
127668
+ return new index_js_2.Contract(address, abi30, this);
127520
127669
  } catch (error46) {
127521
127670
  return null;
127522
127671
  }
@@ -138372,6 +138521,38 @@ var require_priceFeeds = __commonJS({
138372
138521
  }
138373
138522
  }
138374
138523
  },
138524
+ dolaSave: {
138525
+ AllNetworks: {
138526
+ Main: {
138527
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
138528
+ trusted: true
138529
+ }
138530
+ }
138531
+ },
138532
+ lvlUSDUSDC: {
138533
+ AllNetworks: {
138534
+ Main: {
138535
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
138536
+ trusted: true
138537
+ }
138538
+ }
138539
+ },
138540
+ slvlUSDlvlUSDNG: {
138541
+ AllNetworks: {
138542
+ Main: {
138543
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
138544
+ trusted: true
138545
+ }
138546
+ }
138547
+ },
138548
+ slvlUSDlvlUSD: {
138549
+ AllNetworks: {
138550
+ Main: {
138551
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
138552
+ trusted: true
138553
+ }
138554
+ }
138555
+ },
138375
138556
  crvUSDUSDT: {
138376
138557
  AllNetworks: {
138377
138558
  Main: {
@@ -138431,7 +138612,11 @@ var require_priceFeeds = __commonJS({
138431
138612
  Main: {
138432
138613
  type: pricefeedType_1.PriceFeedType.CURVE_2LP_ORACLE,
138433
138614
  assets: ["USDC", "RLUSD"],
138434
- trusted: true
138615
+ trusted: false
138616
+ },
138617
+ Reserve: {
138618
+ type: pricefeedType_1.PriceFeedType.CURVE_2LP_ORACLE,
138619
+ assets: ["RLUSD", "RLUSD"]
138435
138620
  }
138436
138621
  }
138437
138622
  },
@@ -138795,7 +138980,11 @@ var require_priceFeeds = __commonJS({
138795
138980
  Main: {
138796
138981
  type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
138797
138982
  token: "RLUSDUSDC",
138798
- trusted: true
138983
+ trusted: false
138984
+ },
138985
+ Reserve: {
138986
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
138987
+ token: "RLUSDUSDC"
138799
138988
  }
138800
138989
  }
138801
138990
  },
@@ -138970,7 +139159,11 @@ var require_priceFeeds = __commonJS({
138970
139159
  Main: {
138971
139160
  type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
138972
139161
  token: "RLUSDUSDC",
138973
- trusted: true
139162
+ trusted: false
139163
+ },
139164
+ Reserve: {
139165
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
139166
+ token: "RLUSDUSDC"
138974
139167
  }
138975
139168
  }
138976
139169
  },
@@ -139632,7 +139825,7 @@ var require_priceFeeds = __commonJS({
139632
139825
  Mainnet: {
139633
139826
  Main: {
139634
139827
  type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
139635
- trusted: false
139828
+ trusted: true
139636
139829
  }
139637
139830
  },
139638
139831
  Arbitrum: {
@@ -139966,6 +140159,31 @@ var require_priceFeeds = __commonJS({
139966
140159
  type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
139967
140160
  address: "0x26C46B7aD0012cA71F2298ada567dC9Af14E7f2A",
139968
140161
  stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
140162
+ trusted: false
140163
+ },
140164
+ // @note: set this feed mannualy, use main usdc price feed
140165
+ Reserve: {
140166
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
140167
+ token: "USDC"
140168
+ }
140169
+ }
140170
+ },
140171
+ lvlUSD: {
140172
+ Mainnet: {
140173
+ Main: {
140174
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
140175
+ trusted: true
140176
+ }
140177
+ }
140178
+ },
140179
+ slvlUSD: {
140180
+ Mainnet: {
140181
+ Main: {
140182
+ // @note this is Gearbox 3.1 ERC4626 price feed, but sdk-gov and deploy-v3 unsuited for bcr deployd feeds
140183
+ // therefore it is apssing as external (aka chainlink) type
140184
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
140185
+ address: "0xaE837845B2a64F69223f8BeEDDB40f99A8A8E0A8",
140186
+ stalenessPeriod: 0,
139969
140187
  trusted: true
139970
140188
  }
139971
140189
  }
@@ -140490,6 +140708,18 @@ var require_priceFeeds = __commonJS({
140490
140708
  }
140491
140709
  }
140492
140710
  },
140711
+ PT_slvlUSD_25SEP2025: {
140712
+ Mainnet: {
140713
+ Main: {
140714
+ // @note this is Gearbox 3.1 PendleTWAP price feed, but sdk-gov and deploy-v3 unsuited for bcr deployd feeds
140715
+ // therefore it is passing as external (aka chainlink) type
140716
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
140717
+ address: "0x5EDCDBa573f656881826Ccb73c6a27B00858340d",
140718
+ stalenessPeriod: 0,
140719
+ trusted: true
140720
+ }
140721
+ }
140722
+ },
140493
140723
  rstETH_Lido_wstETH: {
140494
140724
  AllNetworks: {
140495
140725
  Main: {
@@ -140681,7 +140911,8 @@ var require_tokenData = __commonJS({
140681
140911
  "solvBTC",
140682
140912
  "pumpBTC",
140683
140913
  "waEthLidowstETH",
140684
- "beraSTONE"
140914
+ "beraSTONE",
140915
+ "crvUSD"
140685
140916
  ],
140686
140917
  Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"],
140687
140918
  Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"],
@@ -140906,7 +141137,7 @@ var require_audits = __commonJS({
140906
141137
  "../../node_modules/@gearbox-protocol/sdk-gov/lib/verification/audits.js"(exports2) {
140907
141138
  "use strict";
140908
141139
  Object.defineProperty(exports2, "__esModule", { value: true });
140909
- exports2.audits = exports2.auditReports = exports2.Auditor = exports2.repos = void 0;
141140
+ exports2.audits = exports2.auditReports = exports2.Auditor = exports2.allRepos = exports2.repos = void 0;
140910
141141
  exports2.repos = [
140911
141142
  "bots-v3",
140912
141143
  "contracts-v2",
@@ -140917,6 +141148,7 @@ var require_audits = __commonJS({
140917
141148
  "integrations-v3",
140918
141149
  "oracles-v3"
140919
141150
  ];
141151
+ exports2.allRepos = [...exports2.repos, "periphery-v3"];
140920
141152
  var Auditor2;
140921
141153
  (function(Auditor3) {
140922
141154
  Auditor3["ChainSecurity"] = "ChainSecurity";
@@ -141027,6 +141259,11 @@ var require_audits = __commonJS({
141027
141259
  auditor: Auditor2.Decurity,
141028
141260
  revision: "2025 Feb",
141029
141261
  reportLink: "https://github.com/Gearbox-protocol/security/blob/main/audits/2025%20Feb%20-%20Decurity_Gearbox_BalancerV3.pdf"
141262
+ },
141263
+ "2025_Jul_ChainSecutiry_Migration_Bot": {
141264
+ auditor: Auditor2.ChainSecurity,
141265
+ revision: "2025 Jul",
141266
+ reportLink: "https://github.com/Gearbox-protocol/security/blob/main/audits/2025-07-chainsecurity-account-migration.pdf"
141030
141267
  }
141031
141268
  };
141032
141269
  exports2.audits = {
@@ -141164,6 +141401,13 @@ var require_audits = __commonJS({
141164
141401
  report: exports2.auditReports["2022_Aug_Sigma"]
141165
141402
  }
141166
141403
  ],
141404
+ "periphery-v3": [
141405
+ {
141406
+ type: "commit",
141407
+ commit: "0b1827d061f1d5340b71e6670bd3c56b47f55070",
141408
+ report: exports2.auditReports["2025_Jul_ChainSecutiry_Migration_Bot"]
141409
+ }
141410
+ ],
141167
141411
  "oracles-v3": [
141168
141412
  {
141169
141413
  type: "commit",
@@ -153207,9 +153451,9 @@ var require_node_gyp_build_optional_packages = __commonJS({
153207
153451
  var vars = process.config && process.config.variables || {};
153208
153452
  var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
153209
153453
  var versions = process.versions;
153210
- var abi29 = versions.modules;
153454
+ var abi30 = versions.modules;
153211
153455
  if (versions.deno || process.isBun) {
153212
- abi29 = "unsupported";
153456
+ abi30 = "unsupported";
153213
153457
  }
153214
153458
  var runtime = isElectron() ? "electron" : "node";
153215
153459
  var arch = process.arch;
@@ -153256,7 +153500,7 @@ var require_node_gyp_build_optional_packages = __commonJS({
153256
153500
  "platform=" + platform,
153257
153501
  "arch=" + arch,
153258
153502
  "runtime=" + runtime,
153259
- "abi=" + abi29,
153503
+ "abi=" + abi30,
153260
153504
  "uv=" + uv,
153261
153505
  armv ? "armv=" + armv : "",
153262
153506
  "libc=" + libc,
@@ -153274,7 +153518,7 @@ var require_node_gyp_build_optional_packages = __commonJS({
153274
153518
  }
153275
153519
  function resolveFile(prebuilds) {
153276
153520
  var parsed = readdirSync(prebuilds).map(parseTags);
153277
- var candidates = parsed.filter(matchTags(runtime, abi29));
153521
+ var candidates = parsed.filter(matchTags(runtime, abi30));
153278
153522
  var winner = candidates.sort(compareTags(runtime))[0];
153279
153523
  if (winner) return path12.join(prebuilds, winner.file);
153280
153524
  }
@@ -153339,11 +153583,11 @@ var require_node_gyp_build_optional_packages = __commonJS({
153339
153583
  }
153340
153584
  return tags;
153341
153585
  }
153342
- function matchTags(runtime2, abi30) {
153586
+ function matchTags(runtime2, abi31) {
153343
153587
  return function(tags) {
153344
153588
  if (tags == null) return false;
153345
153589
  if (tags.runtime !== runtime2 && !runtimeAgnostic(tags)) return false;
153346
- if (tags.abi !== abi30 && !tags.napi) return false;
153590
+ if (tags.abi !== abi31 && !tags.napi) return false;
153347
153591
  if (tags.uv && tags.uv !== uv) return false;
153348
153592
  if (tags.armv && tags.armv !== armv) return false;
153349
153593
  if (tags.libc && tags.libc !== libc) return false;
@@ -159368,11 +159612,11 @@ var require_formatAbi = __commonJS({
159368
159612
  Object.defineProperty(exports2, "__esModule", { value: true });
159369
159613
  exports2.formatAbi = formatAbi;
159370
159614
  var formatAbiItem_js_1 = require_formatAbiItem();
159371
- function formatAbi(abi29) {
159615
+ function formatAbi(abi30) {
159372
159616
  const signatures = [];
159373
- const length = abi29.length;
159617
+ const length = abi30.length;
159374
159618
  for (let i = 0; i < length; i++) {
159375
- const abiItem = abi29[i];
159619
+ const abiItem = abi30[i];
159376
159620
  const signature = (0, formatAbiItem_js_1.formatAbiItem)(abiItem);
159377
159621
  signatures.push(signature);
159378
159622
  }
@@ -160137,15 +160381,15 @@ var require_parseAbi = __commonJS({
160137
160381
  var utils_js_1 = require_utils13();
160138
160382
  function parseAbi2(signatures) {
160139
160383
  const structs = (0, structs_js_1.parseStructs)(signatures);
160140
- const abi29 = [];
160384
+ const abi30 = [];
160141
160385
  const length = signatures.length;
160142
160386
  for (let i = 0; i < length; i++) {
160143
160387
  const signature = signatures[i];
160144
160388
  if ((0, signatures_js_1.isStructSignature)(signature))
160145
160389
  continue;
160146
- abi29.push((0, utils_js_1.parseSignature)(signature, structs));
160390
+ abi30.push((0, utils_js_1.parseSignature)(signature, structs));
160147
160391
  }
160148
- return abi29;
160392
+ return abi30;
160149
160393
  }
160150
160394
  }
160151
160395
  });
@@ -169957,9 +170201,9 @@ var require_getAbiItem = __commonJS({
169957
170201
  var toEventSelector_js_1 = require_toEventSelector();
169958
170202
  var toFunctionSelector_js_1 = require_toFunctionSelector();
169959
170203
  function getAbiItem2(parameters) {
169960
- const { abi: abi29, args = [], name } = parameters;
170204
+ const { abi: abi30, args = [], name } = parameters;
169961
170205
  const isSelector = (0, isHex_js_1.isHex)(name, { strict: false });
169962
- const abiItems = abi29.filter((abiItem) => {
170206
+ const abiItems = abi30.filter((abiItem) => {
169963
170207
  if (isSelector) {
169964
170208
  if (abiItem.type === "function")
169965
170209
  return (0, toFunctionSelector_js_1.toFunctionSelector)(abiItem) === name;
@@ -170084,10 +170328,10 @@ var require_encodeEventTopics = __commonJS({
170084
170328
  var getAbiItem_js_1 = require_getAbiItem();
170085
170329
  var docsPath8 = "/docs/contract/encodeEventTopics";
170086
170330
  function encodeEventTopics2(parameters) {
170087
- const { abi: abi29, eventName, args } = parameters;
170088
- let abiItem = abi29[0];
170331
+ const { abi: abi30, eventName, args } = parameters;
170332
+ let abiItem = abi30[0];
170089
170333
  if (eventName) {
170090
- const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, name: eventName });
170334
+ const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, name: eventName });
170091
170335
  if (!item)
170092
170336
  throw new abi_js_1.AbiEventNotFoundError(eventName, { docsPath: docsPath8 });
170093
170337
  abiItem = item;
@@ -170148,12 +170392,12 @@ var require_createContractEventFilter = __commonJS({
170148
170392
  var toHex_js_1 = require_toHex();
170149
170393
  var createFilterRequestScope_js_1 = require_createFilterRequestScope();
170150
170394
  async function createContractEventFilter2(client, parameters) {
170151
- const { address, abi: abi29, args, eventName, fromBlock, strict, toBlock } = parameters;
170395
+ const { address, abi: abi30, args, eventName, fromBlock, strict, toBlock } = parameters;
170152
170396
  const getRequest = (0, createFilterRequestScope_js_1.createFilterRequestScope)(client, {
170153
170397
  method: "eth_newFilter"
170154
170398
  });
170155
170399
  const topics = eventName ? (0, encodeEventTopics_js_1.encodeEventTopics)({
170156
- abi: abi29,
170400
+ abi: abi30,
170157
170401
  args,
170158
170402
  eventName
170159
170403
  }) : void 0;
@@ -170169,7 +170413,7 @@ var require_createContractEventFilter = __commonJS({
170169
170413
  ]
170170
170414
  });
170171
170415
  return {
170172
- abi: abi29,
170416
+ abi: abi30,
170173
170417
  args,
170174
170418
  eventName,
170175
170419
  id,
@@ -170207,11 +170451,11 @@ var require_prepareEncodeFunctionData = __commonJS({
170207
170451
  var getAbiItem_js_1 = require_getAbiItem();
170208
170452
  var docsPath8 = "/docs/contract/encodeFunctionData";
170209
170453
  function prepareEncodeFunctionData2(parameters) {
170210
- const { abi: abi29, args, functionName } = parameters;
170211
- let abiItem = abi29[0];
170454
+ const { abi: abi30, args, functionName } = parameters;
170455
+ let abiItem = abi30[0];
170212
170456
  if (functionName) {
170213
170457
  const item = (0, getAbiItem_js_1.getAbiItem)({
170214
- abi: abi29,
170458
+ abi: abi30,
170215
170459
  args,
170216
170460
  name: functionName
170217
170461
  });
@@ -170240,12 +170484,12 @@ var require_encodeFunctionData = __commonJS({
170240
170484
  var prepareEncodeFunctionData_js_1 = require_prepareEncodeFunctionData();
170241
170485
  function encodeFunctionData2(parameters) {
170242
170486
  const { args } = parameters;
170243
- const { abi: abi29, functionName } = (() => {
170487
+ const { abi: abi30, functionName } = (() => {
170244
170488
  if (parameters.abi.length === 1 && parameters.functionName?.startsWith("0x"))
170245
170489
  return parameters;
170246
170490
  return (0, prepareEncodeFunctionData_js_1.prepareEncodeFunctionData)(parameters);
170247
170491
  })();
170248
- const abiItem = abi29[0];
170492
+ const abiItem = abi30[0];
170249
170493
  const signature = functionName;
170250
170494
  const data = "inputs" in abiItem && abiItem.inputs ? (0, encodeAbiParameters_js_1.encodeAbiParameters)(abiItem.inputs, args ?? []) : void 0;
170251
170495
  return (0, concat_js_1.concatHex)([signature, data ?? "0x"]);
@@ -170777,11 +171021,11 @@ var require_decodeErrorResult = __commonJS({
170777
171021
  var decodeAbiParameters_js_1 = require_decodeAbiParameters();
170778
171022
  var formatAbiItem_js_1 = require_formatAbiItem2();
170779
171023
  function decodeErrorResult2(parameters) {
170780
- const { abi: abi29, data } = parameters;
171024
+ const { abi: abi30, data } = parameters;
170781
171025
  const signature = (0, slice_js_1.slice)(data, 0, 4);
170782
171026
  if (signature === "0x")
170783
171027
  throw new abi_js_1.AbiDecodingZeroDataError();
170784
- const abi_ = [...abi29 || [], solidity_js_1.solidityError, solidity_js_1.solidityPanic];
171028
+ const abi_ = [...abi30 || [], solidity_js_1.solidityError, solidity_js_1.solidityPanic];
170785
171029
  const abiItem = abi_.find((x) => x.type === "error" && signature === (0, toFunctionSelector_js_1.toFunctionSelector)((0, formatAbiItem_js_1.formatAbiItem)(x)));
170786
171030
  if (!abiItem)
170787
171031
  throw new abi_js_1.AbiErrorSignatureNotFoundError(signature, {
@@ -171203,8 +171447,8 @@ ${(0, stateOverride_js_1.prettyStateOverride)(stateOverride)}`;
171203
171447
  };
171204
171448
  exports2.CallExecutionError = CallExecutionError2;
171205
171449
  var ContractFunctionExecutionError2 = class extends base_js_1.BaseError {
171206
- constructor(cause, { abi: abi29, args, contractAddress, docsPath: docsPath8, functionName, sender }) {
171207
- const abiItem = (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, args, name: functionName });
171450
+ constructor(cause, { abi: abi30, args, contractAddress, docsPath: docsPath8, functionName, sender }) {
171451
+ const abiItem = (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, args, name: functionName });
171208
171452
  const formattedArgs = abiItem ? (0, formatAbiItemWithArgs_js_1.formatAbiItemWithArgs)({
171209
171453
  abiItem,
171210
171454
  args,
@@ -171270,7 +171514,7 @@ ${(0, stateOverride_js_1.prettyStateOverride)(stateOverride)}`;
171270
171514
  writable: true,
171271
171515
  value: void 0
171272
171516
  });
171273
- this.abi = abi29;
171517
+ this.abi = abi30;
171274
171518
  this.args = args;
171275
171519
  this.cause = cause;
171276
171520
  this.contractAddress = contractAddress;
@@ -171280,14 +171524,14 @@ ${(0, stateOverride_js_1.prettyStateOverride)(stateOverride)}`;
171280
171524
  };
171281
171525
  exports2.ContractFunctionExecutionError = ContractFunctionExecutionError2;
171282
171526
  var ContractFunctionRevertedError2 = class extends base_js_1.BaseError {
171283
- constructor({ abi: abi29, data, functionName, message: message2 }) {
171527
+ constructor({ abi: abi30, data, functionName, message: message2 }) {
171284
171528
  let cause;
171285
171529
  let decodedData;
171286
171530
  let metaMessages;
171287
171531
  let reason;
171288
171532
  if (data && data !== "0x") {
171289
171533
  try {
171290
- decodedData = (0, decodeErrorResult_js_1.decodeErrorResult)({ abi: abi29, data });
171534
+ decodedData = (0, decodeErrorResult_js_1.decodeErrorResult)({ abi: abi30, data });
171291
171535
  const { abiItem, errorName, args: errorArgs } = decodedData;
171292
171536
  if (errorName === "Error") {
171293
171537
  reason = errorArgs[0];
@@ -171999,7 +172243,7 @@ var require_getContractError = __commonJS({
171999
172243
  var request_js_1 = require_request();
172000
172244
  var rpc_js_1 = require_rpc();
172001
172245
  var EXECUTION_REVERTED_ERROR_CODE2 = 3;
172002
- function getContractError2(err, { abi: abi29, address, args, docsPath: docsPath8, functionName, sender }) {
172246
+ function getContractError2(err, { abi: abi30, address, args, docsPath: docsPath8, functionName, sender }) {
172003
172247
  const error46 = err instanceof contract_js_1.RawContractError ? err : err instanceof base_js_1.BaseError ? err.walk((err2) => "data" in err2) || err.walk() : {};
172004
172248
  const { code, data, details, message: message2, shortMessage } = error46;
172005
172249
  const cause = (() => {
@@ -172007,7 +172251,7 @@ var require_getContractError = __commonJS({
172007
172251
  return new contract_js_1.ContractFunctionZeroDataError({ functionName });
172008
172252
  if ([EXECUTION_REVERTED_ERROR_CODE2, rpc_js_1.InternalRpcError.code].includes(code) && (data || details || message2 || shortMessage)) {
172009
172253
  return new contract_js_1.ContractFunctionRevertedError({
172010
- abi: abi29,
172254
+ abi: abi30,
172011
172255
  data: typeof data === "object" ? data.data : data,
172012
172256
  functionName,
172013
172257
  message: error46 instanceof request_js_1.RpcRequestError ? details : shortMessage ?? message2
@@ -172016,7 +172260,7 @@ var require_getContractError = __commonJS({
172016
172260
  return err;
172017
172261
  })();
172018
172262
  return new contract_js_1.ContractFunctionExecutionError(cause, {
172019
- abi: abi29,
172263
+ abi: abi30,
172020
172264
  args,
172021
172265
  contractAddress: address,
172022
172266
  docsPath: docsPath8,
@@ -176849,9 +177093,9 @@ var require_estimateContractGas = __commonJS({
176849
177093
  var getAction_js_1 = require_getAction();
176850
177094
  var estimateGas_js_1 = require_estimateGas2();
176851
177095
  async function estimateContractGas2(client, parameters) {
176852
- const { abi: abi29, address, args, functionName, dataSuffix, ...request } = parameters;
177096
+ const { abi: abi30, address, args, functionName, dataSuffix, ...request } = parameters;
176853
177097
  const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
176854
- abi: abi29,
177098
+ abi: abi30,
176855
177099
  args,
176856
177100
  functionName
176857
177101
  });
@@ -176865,7 +177109,7 @@ var require_estimateContractGas = __commonJS({
176865
177109
  } catch (error46) {
176866
177110
  const account = request.account ? (0, parseAccount_js_1.parseAccount)(request.account) : void 0;
176867
177111
  throw (0, getContractError_js_1.getContractError)(error46, {
176868
- abi: abi29,
177112
+ abi: abi30,
176869
177113
  address,
176870
177114
  args,
176871
177115
  docsPath: "/docs/contract/estimateContractGas",
@@ -176909,12 +177153,12 @@ var require_decodeEventLog = __commonJS({
176909
177153
  var formatAbiItem_js_1 = require_formatAbiItem2();
176910
177154
  var docsPath8 = "/docs/contract/decodeEventLog";
176911
177155
  function decodeEventLog2(parameters) {
176912
- const { abi: abi29, data, strict: strict_, topics } = parameters;
177156
+ const { abi: abi30, data, strict: strict_, topics } = parameters;
176913
177157
  const strict = strict_ ?? true;
176914
177158
  const [signature, ...argTopics] = topics;
176915
177159
  if (!signature)
176916
177160
  throw new abi_js_1.AbiEventSignatureEmptyTopicsError({ docsPath: docsPath8 });
176917
- const abiItem = abi29.find((x) => x.type === "event" && signature === (0, toEventSelector_js_1.toEventSelector)((0, formatAbiItem_js_1.formatAbiItem)(x)));
177161
+ const abiItem = abi30.find((x) => x.type === "event" && signature === (0, toEventSelector_js_1.toEventSelector)((0, formatAbiItem_js_1.formatAbiItem)(x)));
176918
177162
  if (!(abiItem && "name" in abiItem) || abiItem.type !== "event")
176919
177163
  throw new abi_js_1.AbiEventSignatureNotFoundError(signature, { docsPath: docsPath8 });
176920
177164
  const { name, inputs } = abiItem;
@@ -176995,7 +177239,7 @@ var require_parseEventLogs = __commonJS({
176995
177239
  var toEventSelector_js_1 = require_toEventSelector();
176996
177240
  var decodeEventLog_js_1 = require_decodeEventLog();
176997
177241
  function parseEventLogs2(parameters) {
176998
- const { abi: abi29, args, logs, strict = true } = parameters;
177242
+ const { abi: abi30, args, logs, strict = true } = parameters;
176999
177243
  const eventName = (() => {
177000
177244
  if (!parameters.eventName)
177001
177245
  return void 0;
@@ -177005,7 +177249,7 @@ var require_parseEventLogs = __commonJS({
177005
177249
  })();
177006
177250
  return logs.map((log2) => {
177007
177251
  try {
177008
- const abiItem = abi29.find((abiItem2) => abiItem2.type === "event" && log2.topics[0] === (0, toEventSelector_js_1.toEventSelector)(abiItem2));
177252
+ const abiItem = abi30.find((abiItem2) => abiItem2.type === "event" && log2.topics[0] === (0, toEventSelector_js_1.toEventSelector)(abiItem2));
177009
177253
  if (!abiItem)
177010
177254
  return null;
177011
177255
  const event = (0, decodeEventLog_js_1.decodeEventLog)({
@@ -177166,9 +177410,9 @@ var require_getContractEvents = __commonJS({
177166
177410
  var getAction_js_1 = require_getAction();
177167
177411
  var getLogs_js_1 = require_getLogs();
177168
177412
  async function getContractEvents2(client, parameters) {
177169
- const { abi: abi29, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
177170
- const event = eventName ? (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, name: eventName }) : void 0;
177171
- const events = !event ? abi29.filter((x) => x.type === "event") : void 0;
177413
+ const { abi: abi30, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
177414
+ const event = eventName ? (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, name: eventName }) : void 0;
177415
+ const events = !event ? abi30.filter((x) => x.type === "event") : void 0;
177172
177416
  return (0, getAction_js_1.getAction)(client, getLogs_js_1.getLogs, "getLogs")({
177173
177417
  address,
177174
177418
  args,
@@ -177194,10 +177438,10 @@ var require_decodeFunctionResult = __commonJS({
177194
177438
  var getAbiItem_js_1 = require_getAbiItem();
177195
177439
  var docsPath8 = "/docs/contract/decodeFunctionResult";
177196
177440
  function decodeFunctionResult2(parameters) {
177197
- const { abi: abi29, args, functionName, data } = parameters;
177198
- let abiItem = abi29[0];
177441
+ const { abi: abi30, args, functionName, data } = parameters;
177442
+ let abiItem = abi30[0];
177199
177443
  if (functionName) {
177200
- const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, args, name: functionName });
177444
+ const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, args, name: functionName });
177201
177445
  if (!item)
177202
177446
  throw new abi_js_1.AbiFunctionNotFoundError(functionName, { docsPath: docsPath8 });
177203
177447
  abiItem = item;
@@ -180244,10 +180488,10 @@ var require_encodeDeployData = __commonJS({
180244
180488
  var encodeAbiParameters_js_1 = require_encodeAbiParameters();
180245
180489
  var docsPath8 = "/docs/contract/encodeDeployData";
180246
180490
  function encodeDeployData2(parameters) {
180247
- const { abi: abi29, args, bytecode } = parameters;
180491
+ const { abi: abi30, args, bytecode } = parameters;
180248
180492
  if (!args || args.length === 0)
180249
180493
  return bytecode;
180250
- const description = abi29.find((x) => "type" in x && x.type === "constructor");
180494
+ const description = abi30.find((x) => "type" in x && x.type === "constructor");
180251
180495
  if (!description)
180252
180496
  throw new abi_js_1.AbiConstructorNotFoundError({ docsPath: docsPath8 });
180253
180497
  if (!("inputs" in description))
@@ -180454,9 +180698,9 @@ var require_decodeFunctionData = __commonJS({
180454
180698
  var decodeAbiParameters_js_1 = require_decodeAbiParameters();
180455
180699
  var formatAbiItem_js_1 = require_formatAbiItem2();
180456
180700
  function decodeFunctionData2(parameters) {
180457
- const { abi: abi29, data } = parameters;
180701
+ const { abi: abi30, data } = parameters;
180458
180702
  const signature = (0, slice_js_1.slice)(data, 0, 4);
180459
- const description = abi29.find((x) => x.type === "function" && signature === (0, toFunctionSelector_js_1.toFunctionSelector)((0, formatAbiItem_js_1.formatAbiItem)(x)));
180703
+ const description = abi30.find((x) => x.type === "function" && signature === (0, toFunctionSelector_js_1.toFunctionSelector)((0, formatAbiItem_js_1.formatAbiItem)(x)));
180460
180704
  if (!description)
180461
180705
  throw new abi_js_1.AbiFunctionSignatureNotFoundError(signature, {
180462
180706
  docsPath: "/docs/contract/decodeFunctionData"
@@ -180483,10 +180727,10 @@ var require_encodeErrorResult = __commonJS({
180483
180727
  var getAbiItem_js_1 = require_getAbiItem();
180484
180728
  var docsPath8 = "/docs/contract/encodeErrorResult";
180485
180729
  function encodeErrorResult2(parameters) {
180486
- const { abi: abi29, errorName, args } = parameters;
180487
- let abiItem = abi29[0];
180730
+ const { abi: abi30, errorName, args } = parameters;
180731
+ let abiItem = abi30[0];
180488
180732
  if (errorName) {
180489
- const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, args, name: errorName });
180733
+ const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, args, name: errorName });
180490
180734
  if (!item)
180491
180735
  throw new abi_js_1.AbiErrorNotFoundError(errorName, { docsPath: docsPath8 });
180492
180736
  abiItem = item;
@@ -180517,10 +180761,10 @@ var require_encodeFunctionResult = __commonJS({
180517
180761
  var getAbiItem_js_1 = require_getAbiItem();
180518
180762
  var docsPath8 = "/docs/contract/encodeFunctionResult";
180519
180763
  function encodeFunctionResult2(parameters) {
180520
- const { abi: abi29, functionName, result } = parameters;
180521
- let abiItem = abi29[0];
180764
+ const { abi: abi30, functionName, result } = parameters;
180765
+ let abiItem = abi30[0];
180522
180766
  if (functionName) {
180523
- const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi29, name: functionName });
180767
+ const item = (0, getAbiItem_js_1.getAbiItem)({ abi: abi30, name: functionName });
180524
180768
  if (!item)
180525
180769
  throw new abi_js_1.AbiFunctionNotFoundError(functionName, { docsPath: docsPath8 });
180526
180770
  abiItem = item;
@@ -180960,9 +181204,9 @@ var require_readContract = __commonJS({
180960
181204
  var getAction_js_1 = require_getAction();
180961
181205
  var call_js_1 = require_call();
180962
181206
  async function readContract2(client, parameters) {
180963
- const { abi: abi29, address, args, functionName, ...rest } = parameters;
181207
+ const { abi: abi30, address, args, functionName, ...rest } = parameters;
180964
181208
  const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({
180965
- abi: abi29,
181209
+ abi: abi30,
180966
181210
  args,
180967
181211
  functionName
180968
181212
  });
@@ -180973,14 +181217,14 @@ var require_readContract = __commonJS({
180973
181217
  to: address
180974
181218
  });
180975
181219
  return (0, decodeFunctionResult_js_1.decodeFunctionResult)({
180976
- abi: abi29,
181220
+ abi: abi30,
180977
181221
  args,
180978
181222
  functionName,
180979
181223
  data: data || "0x"
180980
181224
  });
180981
181225
  } catch (error46) {
180982
181226
  throw (0, getContractError_js_1.getContractError)(error46, {
180983
- abi: abi29,
181227
+ abi: abi30,
180984
181228
  address,
180985
181229
  args,
180986
181230
  docsPath: "/docs/contract/readContract",
@@ -181004,9 +181248,9 @@ var require_simulateContract = __commonJS({
181004
181248
  var getAction_js_1 = require_getAction();
181005
181249
  var call_js_1 = require_call();
181006
181250
  async function simulateContract2(client, parameters) {
181007
- const { abi: abi29, address, args, dataSuffix, functionName, ...callRequest } = parameters;
181251
+ const { abi: abi30, address, args, dataSuffix, functionName, ...callRequest } = parameters;
181008
181252
  const account = callRequest.account ? (0, parseAccount_js_1.parseAccount)(callRequest.account) : client.account;
181009
- const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi: abi29, args, functionName });
181253
+ const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi: abi30, args, functionName });
181010
181254
  try {
181011
181255
  const { data } = await (0, getAction_js_1.getAction)(client, call_js_1.call, "call")({
181012
181256
  batch: false,
@@ -181016,12 +181260,12 @@ var require_simulateContract = __commonJS({
181016
181260
  account
181017
181261
  });
181018
181262
  const result = (0, decodeFunctionResult_js_1.decodeFunctionResult)({
181019
- abi: abi29,
181263
+ abi: abi30,
181020
181264
  args,
181021
181265
  functionName,
181022
181266
  data: data || "0x"
181023
181267
  });
181024
- const minimizedAbi = abi29.filter((abiItem) => "name" in abiItem && abiItem.name === parameters.functionName);
181268
+ const minimizedAbi = abi30.filter((abiItem) => "name" in abiItem && abiItem.name === parameters.functionName);
181025
181269
  return {
181026
181270
  result,
181027
181271
  request: {
@@ -181036,7 +181280,7 @@ var require_simulateContract = __commonJS({
181036
181280
  };
181037
181281
  } catch (error46) {
181038
181282
  throw (0, getContractError_js_1.getContractError)(error46, {
181039
- abi: abi29,
181283
+ abi: abi30,
181040
181284
  address,
181041
181285
  args,
181042
181286
  docsPath: "/docs/contract/simulateContract",
@@ -181282,7 +181526,7 @@ var require_watchContractEvent = __commonJS({
181282
181526
  var getFilterChanges_js_1 = require_getFilterChanges();
181283
181527
  var uninstallFilter_js_1 = require_uninstallFilter();
181284
181528
  function watchContractEvent2(client, parameters) {
181285
- const { abi: abi29, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
181529
+ const { abi: abi30, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
181286
181530
  const enablePolling = (() => {
181287
181531
  if (typeof poll_ !== "undefined")
181288
181532
  return poll_;
@@ -181317,7 +181561,7 @@ var require_watchContractEvent = __commonJS({
181317
181561
  if (!initialized) {
181318
181562
  try {
181319
181563
  filter = await (0, getAction_js_1.getAction)(client, createContractEventFilter_js_1.createContractEventFilter, "createContractEventFilter")({
181320
- abi: abi29,
181564
+ abi: abi30,
181321
181565
  address,
181322
181566
  args,
181323
181567
  eventName,
@@ -181337,7 +181581,7 @@ var require_watchContractEvent = __commonJS({
181337
181581
  const blockNumber = await (0, getAction_js_1.getAction)(client, getBlockNumber_js_1.getBlockNumber, "getBlockNumber")({});
181338
181582
  if (previousBlockNumber && previousBlockNumber < blockNumber) {
181339
181583
  logs = await (0, getAction_js_1.getAction)(client, getContractEvents_js_1.getContractEvents, "getContractEvents")({
181340
- abi: abi29,
181584
+ abi: abi30,
181341
181585
  address,
181342
181586
  args,
181343
181587
  eventName,
@@ -181401,7 +181645,7 @@ var require_watchContractEvent = __commonJS({
181401
181645
  return client.transport;
181402
181646
  })();
181403
181647
  const topics = eventName ? (0, encodeEventTopics_js_1.encodeEventTopics)({
181404
- abi: abi29,
181648
+ abi: abi30,
181405
181649
  eventName,
181406
181650
  args
181407
181651
  }) : [];
@@ -181413,7 +181657,7 @@ var require_watchContractEvent = __commonJS({
181413
181657
  const log2 = data.result;
181414
181658
  try {
181415
181659
  const { eventName: eventName2, args: args2 } = (0, decodeEventLog_js_1.decodeEventLog)({
181416
- abi: abi29,
181660
+ abi: abi30,
181417
181661
  data: log2.data,
181418
181662
  topics: log2.topics,
181419
181663
  strict: strict_
@@ -181715,14 +181959,14 @@ var require_writeContract = __commonJS({
181715
181959
  var getAction_js_1 = require_getAction();
181716
181960
  var sendTransaction_js_1 = require_sendTransaction();
181717
181961
  async function writeContract2(client, parameters) {
181718
- const { abi: abi29, account: account_ = client.account, address, args, dataSuffix, functionName, ...request } = parameters;
181962
+ const { abi: abi30, account: account_ = client.account, address, args, dataSuffix, functionName, ...request } = parameters;
181719
181963
  if (typeof account_ === "undefined")
181720
181964
  throw new account_js_1.AccountNotFoundError({
181721
181965
  docsPath: "/docs/contract/writeContract"
181722
181966
  });
181723
181967
  const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) : null;
181724
181968
  const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
181725
- abi: abi29,
181969
+ abi: abi30,
181726
181970
  args,
181727
181971
  functionName
181728
181972
  });
@@ -181735,7 +181979,7 @@ var require_writeContract = __commonJS({
181735
181979
  });
181736
181980
  } catch (error46) {
181737
181981
  throw (0, getContractError_js_1.getContractError)(error46, {
181738
- abi: abi29,
181982
+ abi: abi30,
181739
181983
  address,
181740
181984
  args,
181741
181985
  docsPath: "/docs/contract/writeContract",
@@ -181763,7 +182007,7 @@ var require_getContract = __commonJS({
181763
182007
  var simulateContract_js_1 = require_simulateContract();
181764
182008
  var watchContractEvent_js_1 = require_watchContractEvent();
181765
182009
  var writeContract_js_1 = require_writeContract();
181766
- function getContract2({ abi: abi29, address, client: client_ }) {
182010
+ function getContract2({ abi: abi30, address, client: client_ }) {
181767
182011
  const client = client_;
181768
182012
  const [publicClient, walletClient] = (() => {
181769
182013
  if (!client)
@@ -181782,7 +182026,7 @@ var require_getContract = __commonJS({
181782
182026
  let hasReadFunction = false;
181783
182027
  let hasWriteFunction = false;
181784
182028
  let hasEvent = false;
181785
- for (const item of abi29) {
182029
+ for (const item of abi30) {
181786
182030
  if (item.type === "function")
181787
182031
  if (item.stateMutability === "view" || item.stateMutability === "pure")
181788
182032
  hasReadFunction = true;
@@ -181800,7 +182044,7 @@ var require_getContract = __commonJS({
181800
182044
  return (...parameters) => {
181801
182045
  const { args, options } = getFunctionParameters2(parameters);
181802
182046
  return (0, getAction_js_1.getAction)(publicClient, readContract_js_1.readContract, "readContract")({
181803
- abi: abi29,
182047
+ abi: abi30,
181804
182048
  address,
181805
182049
  functionName,
181806
182050
  args,
@@ -181815,7 +182059,7 @@ var require_getContract = __commonJS({
181815
182059
  return (...parameters) => {
181816
182060
  const { args, options } = getFunctionParameters2(parameters);
181817
182061
  return (0, getAction_js_1.getAction)(publicClient, simulateContract_js_1.simulateContract, "simulateContract")({
181818
- abi: abi29,
182062
+ abi: abi30,
181819
182063
  address,
181820
182064
  functionName,
181821
182065
  args,
@@ -181828,10 +182072,10 @@ var require_getContract = __commonJS({
181828
182072
  contract.createEventFilter = new Proxy({}, {
181829
182073
  get(_, eventName) {
181830
182074
  return (...parameters) => {
181831
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
182075
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
181832
182076
  const { args, options } = getEventParameters2(parameters, abiEvent);
181833
182077
  return (0, getAction_js_1.getAction)(publicClient, createContractEventFilter_js_1.createContractEventFilter, "createContractEventFilter")({
181834
- abi: abi29,
182078
+ abi: abi30,
181835
182079
  address,
181836
182080
  eventName,
181837
182081
  args,
@@ -181843,10 +182087,10 @@ var require_getContract = __commonJS({
181843
182087
  contract.getEvents = new Proxy({}, {
181844
182088
  get(_, eventName) {
181845
182089
  return (...parameters) => {
181846
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
182090
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
181847
182091
  const { args, options } = getEventParameters2(parameters, abiEvent);
181848
182092
  return (0, getAction_js_1.getAction)(publicClient, getContractEvents_js_1.getContractEvents, "getContractEvents")({
181849
- abi: abi29,
182093
+ abi: abi30,
181850
182094
  address,
181851
182095
  eventName,
181852
182096
  args,
@@ -181858,10 +182102,10 @@ var require_getContract = __commonJS({
181858
182102
  contract.watchEvent = new Proxy({}, {
181859
182103
  get(_, eventName) {
181860
182104
  return (...parameters) => {
181861
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
182105
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
181862
182106
  const { args, options } = getEventParameters2(parameters, abiEvent);
181863
182107
  return (0, getAction_js_1.getAction)(publicClient, watchContractEvent_js_1.watchContractEvent, "watchContractEvent")({
181864
- abi: abi29,
182108
+ abi: abi30,
181865
182109
  address,
181866
182110
  eventName,
181867
182111
  args,
@@ -181879,7 +182123,7 @@ var require_getContract = __commonJS({
181879
182123
  return (...parameters) => {
181880
182124
  const { args, options } = getFunctionParameters2(parameters);
181881
182125
  return (0, getAction_js_1.getAction)(walletClient, writeContract_js_1.writeContract, "writeContract")({
181882
- abi: abi29,
182126
+ abi: abi30,
181883
182127
  address,
181884
182128
  functionName,
181885
182129
  args,
@@ -181897,7 +182141,7 @@ var require_getContract = __commonJS({
181897
182141
  const { args, options } = getFunctionParameters2(parameters);
181898
182142
  const client2 = publicClient ?? walletClient;
181899
182143
  return (0, getAction_js_1.getAction)(client2, estimateContractGas_js_1.estimateContractGas, "estimateContractGas")({
181900
- abi: abi29,
182144
+ abi: abi30,
181901
182145
  address,
181902
182146
  functionName,
181903
182147
  args,
@@ -181909,7 +182153,7 @@ var require_getContract = __commonJS({
181909
182153
  });
181910
182154
  }
181911
182155
  contract.address = address;
181912
- contract.abi = abi29;
182156
+ contract.abi = abi30;
181913
182157
  return contract;
181914
182158
  }
181915
182159
  function getFunctionParameters2(values) {
@@ -183320,7 +183564,7 @@ var require_getEip712Domain = __commonJS({
183320
183564
  const { address, factory, factoryData } = parameters;
183321
183565
  try {
183322
183566
  const [fields, name, version5, chainId, verifyingContract, salt, extensions] = await (0, getAction_js_1.getAction)(client, readContract_js_1.readContract, "readContract")({
183323
- abi: abi29,
183567
+ abi: abi30,
183324
183568
  address,
183325
183569
  functionName: "eip712Domain",
183326
183570
  factory,
@@ -183345,7 +183589,7 @@ var require_getEip712Domain = __commonJS({
183345
183589
  throw error46;
183346
183590
  }
183347
183591
  }
183348
- var abi29 = [
183592
+ var abi30 = [
183349
183593
  {
183350
183594
  inputs: [],
183351
183595
  name: "eip712Domain",
@@ -192667,9 +192911,9 @@ var require_multicall2 = __commonJS({
192667
192911
  let currentChunk = 0;
192668
192912
  let currentChunkSize = 0;
192669
192913
  for (let i = 0; i < contracts2.length; i++) {
192670
- const { abi: abi29, address, args, functionName } = contracts2[i];
192914
+ const { abi: abi30, address, args, functionName } = contracts2[i];
192671
192915
  try {
192672
- const callData = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi: abi29, args, functionName });
192916
+ const callData = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi: abi30, args, functionName });
192673
192917
  currentChunkSize += (callData.length - 2) / 2;
192674
192918
  if (batchSize > 0 && currentChunkSize > batchSize && chunkedCalls[currentChunk].length > 0) {
192675
192919
  currentChunk++;
@@ -192686,7 +192930,7 @@ var require_multicall2 = __commonJS({
192686
192930
  ];
192687
192931
  } catch (err) {
192688
192932
  const error46 = (0, getContractError_js_1.getContractError)(err, {
192689
- abi: abi29,
192933
+ abi: abi30,
192690
192934
  address,
192691
192935
  args,
192692
192936
  docsPath: "/docs/contract/multicall",
@@ -192736,14 +192980,14 @@ var require_multicall2 = __commonJS({
192736
192980
  for (let j = 0; j < aggregate3Result.length; j++) {
192737
192981
  const { returnData, success: success2 } = aggregate3Result[j];
192738
192982
  const { callData } = chunkedCalls[i][j];
192739
- const { abi: abi29, address, functionName, args } = contracts2[results.length];
192983
+ const { abi: abi30, address, functionName, args } = contracts2[results.length];
192740
192984
  try {
192741
192985
  if (callData === "0x")
192742
192986
  throw new abi_js_1.AbiDecodingZeroDataError();
192743
192987
  if (!success2)
192744
192988
  throw new contract_js_1.RawContractError({ data: returnData });
192745
192989
  const result2 = (0, decodeFunctionResult_js_1.decodeFunctionResult)({
192746
- abi: abi29,
192990
+ abi: abi30,
192747
192991
  args,
192748
192992
  data: returnData,
192749
192993
  functionName
@@ -192751,7 +192995,7 @@ var require_multicall2 = __commonJS({
192751
192995
  results.push(allowFailure ? { result: result2, status: "success" } : result2);
192752
192996
  } catch (err) {
192753
192997
  const error46 = (0, getContractError_js_1.getContractError)(err, {
192754
- abi: abi29,
192998
+ abi: abi30,
192755
192999
  address,
192756
193000
  args,
192757
193001
  docsPath: "/docs/contract/multicall",
@@ -192829,13 +193073,13 @@ var require_simulateBlocks = __commonJS({
192829
193073
  return result.map((block2, i) => ({
192830
193074
  ...(0, block_js_1.formatBlock)(block2),
192831
193075
  calls: block2.calls.map((call2, j) => {
192832
- const { abi: abi29, args, functionName, to } = blocks[i].calls[j];
193076
+ const { abi: abi30, args, functionName, to } = blocks[i].calls[j];
192833
193077
  const data = call2.error?.data ?? call2.returnData;
192834
193078
  const gasUsed = BigInt(call2.gasUsed);
192835
193079
  const logs = call2.logs?.map((log2) => (0, log_js_1.formatLog)(log2));
192836
193080
  const status = call2.status === "0x1" ? "success" : "failure";
192837
- const result2 = abi29 && status === "success" && data !== "0x" ? (0, decodeFunctionResult_js_1.decodeFunctionResult)({
192838
- abi: abi29,
193081
+ const result2 = abi30 && status === "success" && data !== "0x" ? (0, decodeFunctionResult_js_1.decodeFunctionResult)({
193082
+ abi: abi30,
192839
193083
  data,
192840
193084
  functionName
192841
193085
  }) : null;
@@ -192850,7 +193094,7 @@ var require_simulateBlocks = __commonJS({
192850
193094
  if (!error47)
192851
193095
  return void 0;
192852
193096
  return (0, getContractError_js_1.getContractError)(error47, {
192853
- abi: abi29 ?? [],
193097
+ abi: abi30 ?? [],
192854
193098
  address: to ?? "0x",
192855
193099
  args,
192856
193100
  functionName: functionName ?? "<unknown>"
@@ -193025,10 +193269,10 @@ var require_AbiItem = __commonJS({
193025
193269
  ...prepare ? { hash: getSignatureHash2(item) } : {}
193026
193270
  };
193027
193271
  }
193028
- function fromAbi4(abi29, name, options) {
193272
+ function fromAbi4(abi30, name, options) {
193029
193273
  const { args = [], prepare = true } = options ?? {};
193030
193274
  const isSelector = Hex.validate(name, { strict: false });
193031
- const abiItems = abi29.filter((abiItem2) => {
193275
+ const abiItems = abi30.filter((abiItem2) => {
193032
193276
  if (isSelector) {
193033
193277
  if (abiItem2.type === "function" || abiItem2.type === "error")
193034
193278
  return getSelector3(abiItem2) === Hex.slice(name, 0, 4);
@@ -193100,8 +193344,8 @@ var require_AbiItem = __commonJS({
193100
193344
  function getSelector3(...parameters) {
193101
193345
  const abiItem = (() => {
193102
193346
  if (Array.isArray(parameters[0])) {
193103
- const [abi29, name] = parameters;
193104
- return fromAbi4(abi29, name);
193347
+ const [abi30, name] = parameters;
193348
+ return fromAbi4(abi30, name);
193105
193349
  }
193106
193350
  return parameters[0];
193107
193351
  })();
@@ -193110,8 +193354,8 @@ var require_AbiItem = __commonJS({
193110
193354
  function getSignature2(...parameters) {
193111
193355
  const abiItem = (() => {
193112
193356
  if (Array.isArray(parameters[0])) {
193113
- const [abi29, name] = parameters;
193114
- return fromAbi4(abi29, name);
193357
+ const [abi30, name] = parameters;
193358
+ return fromAbi4(abi30, name);
193115
193359
  }
193116
193360
  return parameters[0];
193117
193361
  })();
@@ -193125,8 +193369,8 @@ var require_AbiItem = __commonJS({
193125
193369
  function getSignatureHash2(...parameters) {
193126
193370
  const abiItem = (() => {
193127
193371
  if (Array.isArray(parameters[0])) {
193128
- const [abi29, name] = parameters;
193129
- return fromAbi4(abi29, name);
193372
+ const [abi30, name] = parameters;
193373
+ return fromAbi4(abi30, name);
193130
193374
  }
193131
193375
  return parameters[0];
193132
193376
  })();
@@ -193205,8 +193449,8 @@ var require_AbiConstructor = __commonJS({
193205
193449
  function decode4(...parameters) {
193206
193450
  const [abiConstructor, options] = (() => {
193207
193451
  if (Array.isArray(parameters[0])) {
193208
- const [abi29, options2] = parameters;
193209
- return [fromAbi4(abi29), options2];
193452
+ const [abi30, options2] = parameters;
193453
+ return [fromAbi4(abi30), options2];
193210
193454
  }
193211
193455
  return parameters;
193212
193456
  })();
@@ -193219,8 +193463,8 @@ var require_AbiConstructor = __commonJS({
193219
193463
  function encode6(...parameters) {
193220
193464
  const [abiConstructor, options] = (() => {
193221
193465
  if (Array.isArray(parameters[0])) {
193222
- const [abi29, options2] = parameters;
193223
- return [fromAbi4(abi29), options2];
193466
+ const [abi30, options2] = parameters;
193467
+ return [fromAbi4(abi30), options2];
193224
193468
  }
193225
193469
  return parameters;
193226
193470
  })();
@@ -193233,8 +193477,8 @@ var require_AbiConstructor = __commonJS({
193233
193477
  function from14(abiConstructor) {
193234
193478
  return AbiItem.from(abiConstructor);
193235
193479
  }
193236
- function fromAbi4(abi29) {
193237
- const item = abi29.find((item2) => item2.type === "constructor");
193480
+ function fromAbi4(abi30) {
193481
+ const item = abi30.find((item2) => item2.type === "constructor");
193238
193482
  if (!item)
193239
193483
  throw new AbiItem.NotFoundError({ name: "constructor" });
193240
193484
  return item;
@@ -193262,8 +193506,8 @@ var require_AbiFunction = __commonJS({
193262
193506
  function decodeData(...parameters) {
193263
193507
  const [abiFunction, data] = (() => {
193264
193508
  if (Array.isArray(parameters[0])) {
193265
- const [abi29, name, data2] = parameters;
193266
- return [fromAbi4(abi29, name), data2];
193509
+ const [abi30, name, data2] = parameters;
193510
+ return [fromAbi4(abi30, name), data2];
193267
193511
  }
193268
193512
  return parameters;
193269
193513
  })();
@@ -193280,8 +193524,8 @@ var require_AbiFunction = __commonJS({
193280
193524
  function decodeResult(...parameters) {
193281
193525
  const [abiFunction, data, options = {}] = (() => {
193282
193526
  if (Array.isArray(parameters[0])) {
193283
- const [abi29, name, data2, options2] = parameters;
193284
- return [fromAbi4(abi29, name), data2, options2];
193527
+ const [abi30, name, data2, options2] = parameters;
193528
+ return [fromAbi4(abi30, name), data2, options2];
193285
193529
  }
193286
193530
  return parameters;
193287
193531
  })();
@@ -193298,8 +193542,8 @@ var require_AbiFunction = __commonJS({
193298
193542
  function encodeData3(...parameters) {
193299
193543
  const [abiFunction, args = []] = (() => {
193300
193544
  if (Array.isArray(parameters[0])) {
193301
- const [abi29, name, args3] = parameters;
193302
- return [fromAbi4(abi29, name, { args: args3 }), args3];
193545
+ const [abi30, name, args3] = parameters;
193546
+ return [fromAbi4(abi30, name, { args: args3 }), args3];
193303
193547
  }
193304
193548
  const [abiFunction2, args2] = parameters;
193305
193549
  return [abiFunction2, args2];
@@ -193315,8 +193559,8 @@ var require_AbiFunction = __commonJS({
193315
193559
  function encodeResult(...parameters) {
193316
193560
  const [abiFunction, output, options = {}] = (() => {
193317
193561
  if (Array.isArray(parameters[0])) {
193318
- const [abi29, name, output2, options2] = parameters;
193319
- return [fromAbi4(abi29, name), output2, options2];
193562
+ const [abi30, name, output2, options2] = parameters;
193563
+ return [fromAbi4(abi30, name), output2, options2];
193320
193564
  }
193321
193565
  return parameters;
193322
193566
  })();
@@ -193338,8 +193582,8 @@ var require_AbiFunction = __commonJS({
193338
193582
  function from14(abiFunction, options = {}) {
193339
193583
  return AbiItem.from(abiFunction, options);
193340
193584
  }
193341
- function fromAbi4(abi29, name, options) {
193342
- const item = AbiItem.fromAbi(abi29, name, options);
193585
+ function fromAbi4(abi30, name, options) {
193586
+ const item = AbiItem.fromAbi(abi30, name, options);
193343
193587
  if (item.type !== "function")
193344
193588
  throw new AbiItem.NotFoundError({ name, type: "function" });
193345
193589
  return item;
@@ -195483,8 +195727,8 @@ var require_deployContract = __commonJS({
195483
195727
  var encodeDeployData_js_1 = require_encodeDeployData();
195484
195728
  var sendTransaction_js_1 = require_sendTransaction();
195485
195729
  function deployContract2(walletClient, parameters) {
195486
- const { abi: abi29, args, bytecode, ...request } = parameters;
195487
- const calldata = (0, encodeDeployData_js_1.encodeDeployData)({ abi: abi29, args, bytecode });
195730
+ const { abi: abi30, args, bytecode, ...request } = parameters;
195731
+ const calldata = (0, encodeDeployData_js_1.encodeDeployData)({ abi: abi30, args, bytecode });
195488
195732
  return (0, sendTransaction_js_1.sendTransaction)(walletClient, {
195489
195733
  ...request,
195490
195734
  ...request.authorizationList ? { to: null } : {},
@@ -196331,10 +196575,10 @@ var require_decodeDeployData = __commonJS({
196331
196575
  var decodeAbiParameters_js_1 = require_decodeAbiParameters();
196332
196576
  var docsPath8 = "/docs/contract/decodeDeployData";
196333
196577
  function decodeDeployData(parameters) {
196334
- const { abi: abi29, bytecode, data } = parameters;
196578
+ const { abi: abi30, bytecode, data } = parameters;
196335
196579
  if (data === bytecode)
196336
196580
  return { bytecode };
196337
- const description = abi29.find((x) => "type" in x && x.type === "constructor");
196581
+ const description = abi30.find((x) => "type" in x && x.type === "constructor");
196338
196582
  if (!description)
196339
196583
  throw new abi_js_1.AbiConstructorNotFoundError({ docsPath: docsPath8 });
196340
196584
  if (!("inputs" in description))
@@ -250941,21 +251185,21 @@ var require_BaseContract2 = __commonJS({
250941
251185
  return this.contractAddress;
250942
251186
  };
250943
251187
  this.encode = (functionToEncode, args) => {
250944
- const abi29 = this.contractAbi;
251188
+ const abi30 = this.contractAbi;
250945
251189
  const functionName = functionToEncode;
250946
251190
  const params = args;
250947
251191
  return (0, viem_1.encodeFunctionData)({
250948
- abi: abi29,
251192
+ abi: abi30,
250949
251193
  functionName,
250950
251194
  args: params
250951
251195
  });
250952
251196
  };
250953
251197
  this.estimateGas = async (functionToEstimate, args, options = {}) => {
250954
251198
  const contractOptions = this.convertOptions(options);
250955
- const abi29 = this.contractAbi;
251199
+ const abi30 = this.contractAbi;
250956
251200
  const params = args;
250957
251201
  return (0, actions_1.estimateContractGas)(this.runner, {
250958
- abi: abi29,
251202
+ abi: abi30,
250959
251203
  functionName: functionToEstimate,
250960
251204
  address: this.getAddress(),
250961
251205
  args: params,
@@ -301993,17 +302237,17 @@ var require_interface3 = __commonJS({
301993
302237
  * Create a new Interface for the %%fragments%%.
301994
302238
  */
301995
302239
  constructor(fragments) {
301996
- let abi29 = [];
302240
+ let abi30 = [];
301997
302241
  if (typeof fragments === "string") {
301998
- abi29 = JSON.parse(fragments);
302242
+ abi30 = JSON.parse(fragments);
301999
302243
  } else {
302000
- abi29 = fragments;
302244
+ abi30 = fragments;
302001
302245
  }
302002
302246
  this.#functions = /* @__PURE__ */ new Map();
302003
302247
  this.#errors = /* @__PURE__ */ new Map();
302004
302248
  this.#events = /* @__PURE__ */ new Map();
302005
302249
  const frags = [];
302006
- for (const a of abi29) {
302250
+ for (const a of abi30) {
302007
302251
  try {
302008
302252
  frags.push(fragments_js_1.Fragment.from(a));
302009
302253
  } catch (error46) {
@@ -302067,16 +302311,16 @@ var require_interface3 = __commonJS({
302067
302311
  */
302068
302312
  format(minimal) {
302069
302313
  const format2 = minimal ? "minimal" : "full";
302070
- const abi29 = this.fragments.map((f) => f.format(format2));
302071
- return abi29;
302314
+ const abi30 = this.fragments.map((f) => f.format(format2));
302315
+ return abi30;
302072
302316
  }
302073
302317
  /**
302074
302318
  * Return the JSON-encoded ABI. This is the format Solidiy
302075
302319
  * returns.
302076
302320
  */
302077
302321
  formatJson() {
302078
- const abi29 = this.fragments.map((f) => f.format("json"));
302079
- return JSON.stringify(abi29.map((j) => JSON.parse(j)));
302322
+ const abi30 = this.fragments.map((f) => f.format("json"));
302323
+ return JSON.stringify(abi30.map((j) => JSON.parse(j)));
302080
302324
  }
302081
302325
  /**
302082
302326
  * The ABI coder that will be used to encode and decode binary
@@ -304844,12 +305088,12 @@ var require_contract5 = __commonJS({
304844
305088
  * optionally connected to a %%runner%% to perform operations on behalf
304845
305089
  * of.
304846
305090
  */
304847
- constructor(target, abi29, runner, _deployTx) {
305091
+ constructor(target, abi30, runner, _deployTx) {
304848
305092
  (0, index_js_3.assertArgument)(typeof target === "string" || (0, index_js_2.isAddressable)(target), "invalid value for Contract target", "target", target);
304849
305093
  if (runner == null) {
304850
305094
  runner = null;
304851
305095
  }
304852
- const iface = index_js_1.Interface.from(abi29);
305096
+ const iface = index_js_1.Interface.from(abi30);
304853
305097
  (0, index_js_3.defineProperties)(this, { target, runner, interface: iface });
304854
305098
  Object.defineProperty(this, internal, { value: {} });
304855
305099
  let addrPromise;
@@ -305212,10 +305456,10 @@ var require_contract5 = __commonJS({
305212
305456
  /**
305213
305457
  * Create a new Class for the %%abi%%.
305214
305458
  */
305215
- static buildClass(abi29) {
305459
+ static buildClass(abi30) {
305216
305460
  class CustomContract extends _BaseContract {
305217
305461
  constructor(address, runner = null) {
305218
- super(address, abi29, runner);
305462
+ super(address, abi30, runner);
305219
305463
  }
305220
305464
  }
305221
305465
  return CustomContract;
@@ -305223,11 +305467,11 @@ var require_contract5 = __commonJS({
305223
305467
  /**
305224
305468
  * Create a new BaseContract with a specified Interface.
305225
305469
  */
305226
- static from(target, abi29, runner) {
305470
+ static from(target, abi30, runner) {
305227
305471
  if (runner == null) {
305228
305472
  runner = null;
305229
305473
  }
305230
- const contract = new this(target, abi29, runner);
305474
+ const contract = new this(target, abi30, runner);
305231
305475
  return contract;
305232
305476
  }
305233
305477
  };
@@ -305271,8 +305515,8 @@ var require_factory2 = __commonJS({
305271
305515
  * The %%bytecode%% may be the ``bytecode`` property within the
305272
305516
  * standard Solidity JSON output.
305273
305517
  */
305274
- constructor(abi29, bytecode, runner) {
305275
- const iface = index_js_1.Interface.from(abi29);
305518
+ constructor(abi30, bytecode, runner) {
305519
+ const iface = index_js_1.Interface.from(abi30);
305276
305520
  if (bytecode instanceof Uint8Array) {
305277
305521
  bytecode = (0, index_js_3.hexlify)((0, index_js_3.getBytes)(bytecode));
305278
305522
  } else {
@@ -305342,14 +305586,14 @@ var require_factory2 = __commonJS({
305342
305586
  if (typeof output === "string") {
305343
305587
  output = JSON.parse(output);
305344
305588
  }
305345
- const abi29 = output.abi;
305589
+ const abi30 = output.abi;
305346
305590
  let bytecode = "";
305347
305591
  if (output.bytecode) {
305348
305592
  bytecode = output.bytecode;
305349
305593
  } else if (output.evm && output.evm.bytecode) {
305350
305594
  bytecode = output.evm.bytecode;
305351
305595
  }
305352
- return new this(abi29, bytecode, runner);
305596
+ return new this(abi30, bytecode, runner);
305353
305597
  }
305354
305598
  };
305355
305599
  exports2.ContractFactory = ContractFactory;
@@ -310299,8 +310543,8 @@ var require_provider_etherscan2 = __commonJS({
310299
310543
  action: "getabi",
310300
310544
  address
310301
310545
  });
310302
- const abi29 = JSON.parse(resp);
310303
- return new index_js_2.Contract(address, abi29, this);
310546
+ const abi30 = JSON.parse(resp);
310547
+ return new index_js_2.Contract(address, abi30, this);
310304
310548
  } catch (error46) {
310305
310549
  return null;
310306
310550
  }
@@ -336987,13 +337231,13 @@ var require_interface4 = __commonJS({
336987
337231
  function Interface2(fragments) {
336988
337232
  var _newTarget = this.constructor;
336989
337233
  var _this = this;
336990
- var abi29 = [];
337234
+ var abi30 = [];
336991
337235
  if (typeof fragments === "string") {
336992
- abi29 = JSON.parse(fragments);
337236
+ abi30 = JSON.parse(fragments);
336993
337237
  } else {
336994
- abi29 = fragments;
337238
+ abi30 = fragments;
336995
337239
  }
336996
- (0, properties_1.defineReadOnly)(this, "fragments", abi29.map(function(fragment) {
337240
+ (0, properties_1.defineReadOnly)(this, "fragments", abi30.map(function(fragment) {
336997
337241
  return fragments_1.Fragment.from(fragment);
336998
337242
  }).filter(function(fragment) {
336999
337243
  return fragment != null;
@@ -337047,15 +337291,15 @@ var require_interface4 = __commonJS({
337047
337291
  if (format2 === fragments_1.FormatTypes.sighash) {
337048
337292
  logger2.throwArgumentError("interface does not support formatting sighash", "format", format2);
337049
337293
  }
337050
- var abi29 = this.fragments.map(function(fragment) {
337294
+ var abi30 = this.fragments.map(function(fragment) {
337051
337295
  return fragment.format(format2);
337052
337296
  });
337053
337297
  if (format2 === fragments_1.FormatTypes.json) {
337054
- return JSON.stringify(abi29.map(function(j) {
337298
+ return JSON.stringify(abi30.map(function(j) {
337055
337299
  return JSON.parse(j);
337056
337300
  }));
337057
337301
  }
337058
- return abi29;
337302
+ return abi30;
337059
337303
  };
337060
337304
  Interface2.getAbiCoder = function() {
337061
337305
  return abi_coder_1.defaultAbiCoder;
@@ -372244,10 +372488,10 @@ init_formatAbiItem2();
372244
372488
  init_getAbiItem();
372245
372489
  var docsPath = "/docs/contract/encodeEventTopics";
372246
372490
  function encodeEventTopics(parameters) {
372247
- const { abi: abi29, eventName, args } = parameters;
372248
- let abiItem = abi29[0];
372491
+ const { abi: abi30, eventName, args } = parameters;
372492
+ let abiItem = abi30[0];
372249
372493
  if (eventName) {
372250
- const item = getAbiItem({ abi: abi29, name: eventName });
372494
+ const item = getAbiItem({ abi: abi30, name: eventName });
372251
372495
  if (!item)
372252
372496
  throw new AbiEventNotFoundError(eventName, { docsPath });
372253
372497
  abiItem = item;
@@ -372294,12 +372538,12 @@ function createFilterRequestScope(client, { method }) {
372294
372538
 
372295
372539
  // ../../node_modules/viem/_esm/actions/public/createContractEventFilter.js
372296
372540
  async function createContractEventFilter(client, parameters) {
372297
- const { address, abi: abi29, args, eventName, fromBlock, strict, toBlock } = parameters;
372541
+ const { address, abi: abi30, args, eventName, fromBlock, strict, toBlock } = parameters;
372298
372542
  const getRequest = createFilterRequestScope(client, {
372299
372543
  method: "eth_newFilter"
372300
372544
  });
372301
372545
  const topics = eventName ? encodeEventTopics({
372302
- abi: abi29,
372546
+ abi: abi30,
372303
372547
  args,
372304
372548
  eventName
372305
372549
  }) : void 0;
@@ -372315,7 +372559,7 @@ async function createContractEventFilter(client, parameters) {
372315
372559
  ]
372316
372560
  });
372317
372561
  return {
372318
- abi: abi29,
372562
+ abi: abi30,
372319
372563
  args,
372320
372564
  eventName,
372321
372565
  id,
@@ -372336,7 +372580,7 @@ init_contract();
372336
372580
  init_request();
372337
372581
  init_rpc();
372338
372582
  var EXECUTION_REVERTED_ERROR_CODE = 3;
372339
- function getContractError(err, { abi: abi29, address, args, docsPath: docsPath8, functionName, sender }) {
372583
+ function getContractError(err, { abi: abi30, address, args, docsPath: docsPath8, functionName, sender }) {
372340
372584
  const error46 = err instanceof RawContractError ? err : err instanceof BaseError2 ? err.walk((err2) => "data" in err2) || err.walk() : {};
372341
372585
  const { code, data, details, message: message2, shortMessage } = error46;
372342
372586
  const cause = (() => {
@@ -372344,7 +372588,7 @@ function getContractError(err, { abi: abi29, address, args, docsPath: docsPath8,
372344
372588
  return new ContractFunctionZeroDataError({ functionName });
372345
372589
  if ([EXECUTION_REVERTED_ERROR_CODE, InternalRpcError.code].includes(code) && (data || details || message2 || shortMessage)) {
372346
372590
  return new ContractFunctionRevertedError({
372347
- abi: abi29,
372591
+ abi: abi30,
372348
372592
  data: typeof data === "object" ? data.data : data,
372349
372593
  functionName,
372350
372594
  message: error46 instanceof RpcRequestError ? details : shortMessage ?? message2
@@ -372353,7 +372597,7 @@ function getContractError(err, { abi: abi29, address, args, docsPath: docsPath8,
372353
372597
  return err;
372354
372598
  })();
372355
372599
  return new ContractFunctionExecutionError(cause, {
372356
- abi: abi29,
372600
+ abi: abi30,
372357
372601
  args,
372358
372602
  contractAddress: address,
372359
372603
  docsPath: docsPath8,
@@ -373286,9 +373530,9 @@ async function estimateGas(client, args) {
373286
373530
 
373287
373531
  // ../../node_modules/viem/_esm/actions/public/estimateContractGas.js
373288
373532
  async function estimateContractGas(client, parameters) {
373289
- const { abi: abi29, address, args, functionName, dataSuffix, ...request } = parameters;
373533
+ const { abi: abi30, address, args, functionName, dataSuffix, ...request } = parameters;
373290
373534
  const data = encodeFunctionData({
373291
- abi: abi29,
373535
+ abi: abi30,
373292
373536
  args,
373293
373537
  functionName
373294
373538
  });
@@ -373302,7 +373546,7 @@ async function estimateContractGas(client, parameters) {
373302
373546
  } catch (error46) {
373303
373547
  const account = request.account ? parseAccount(request.account) : void 0;
373304
373548
  throw getContractError(error46, {
373305
- abi: abi29,
373549
+ abi: abi30,
373306
373550
  address,
373307
373551
  args,
373308
373552
  docsPath: "/docs/contract/estimateContractGas",
@@ -373331,12 +373575,12 @@ init_decodeAbiParameters();
373331
373575
  init_formatAbiItem2();
373332
373576
  var docsPath3 = "/docs/contract/decodeEventLog";
373333
373577
  function decodeEventLog(parameters) {
373334
- const { abi: abi29, data, strict: strict_, topics } = parameters;
373578
+ const { abi: abi30, data, strict: strict_, topics } = parameters;
373335
373579
  const strict = strict_ ?? true;
373336
373580
  const [signature, ...argTopics] = topics;
373337
373581
  if (!signature)
373338
373582
  throw new AbiEventSignatureEmptyTopicsError({ docsPath: docsPath3 });
373339
- const abiItem = abi29.find((x) => x.type === "event" && signature === toEventSelector(formatAbiItem2(x)));
373583
+ const abiItem = abi30.find((x) => x.type === "event" && signature === toEventSelector(formatAbiItem2(x)));
373340
373584
  if (!(abiItem && "name" in abiItem) || abiItem.type !== "event")
373341
373585
  throw new AbiEventSignatureNotFoundError(signature, { docsPath: docsPath3 });
373342
373586
  const { name, inputs } = abiItem;
@@ -373404,7 +373648,7 @@ function decodeTopic({ param, value }) {
373404
373648
 
373405
373649
  // ../../node_modules/viem/_esm/utils/abi/parseEventLogs.js
373406
373650
  function parseEventLogs(parameters) {
373407
- const { abi: abi29, args, logs, strict = true } = parameters;
373651
+ const { abi: abi30, args, logs, strict = true } = parameters;
373408
373652
  const eventName = (() => {
373409
373653
  if (!parameters.eventName)
373410
373654
  return void 0;
@@ -373414,7 +373658,7 @@ function parseEventLogs(parameters) {
373414
373658
  })();
373415
373659
  return logs.map((log2) => {
373416
373660
  try {
373417
- const abiItem = abi29.find((abiItem2) => abiItem2.type === "event" && log2.topics[0] === toEventSelector(abiItem2));
373661
+ const abiItem = abi30.find((abiItem2) => abiItem2.type === "event" && log2.topics[0] === toEventSelector(abiItem2));
373418
373662
  if (!abiItem)
373419
373663
  return null;
373420
373664
  const event = decodeEventLog({
@@ -373550,9 +373794,9 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
373550
373794
 
373551
373795
  // ../../node_modules/viem/_esm/actions/public/getContractEvents.js
373552
373796
  async function getContractEvents(client, parameters) {
373553
- const { abi: abi29, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
373554
- const event = eventName ? getAbiItem({ abi: abi29, name: eventName }) : void 0;
373555
- const events = !event ? abi29.filter((x) => x.type === "event") : void 0;
373797
+ const { abi: abi30, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
373798
+ const event = eventName ? getAbiItem({ abi: abi30, name: eventName }) : void 0;
373799
+ const events = !event ? abi30.filter((x) => x.type === "event") : void 0;
373556
373800
  return getAction(client, getLogs, "getLogs")({
373557
373801
  address,
373558
373802
  args,
@@ -373570,9 +373814,9 @@ init_decodeFunctionResult();
373570
373814
  init_encodeFunctionData();
373571
373815
  init_call();
373572
373816
  async function readContract(client, parameters) {
373573
- const { abi: abi29, address, args, functionName, ...rest } = parameters;
373817
+ const { abi: abi30, address, args, functionName, ...rest } = parameters;
373574
373818
  const calldata = encodeFunctionData({
373575
- abi: abi29,
373819
+ abi: abi30,
373576
373820
  args,
373577
373821
  functionName
373578
373822
  });
@@ -373583,14 +373827,14 @@ async function readContract(client, parameters) {
373583
373827
  to: address
373584
373828
  });
373585
373829
  return decodeFunctionResult({
373586
- abi: abi29,
373830
+ abi: abi30,
373587
373831
  args,
373588
373832
  functionName,
373589
373833
  data: data || "0x"
373590
373834
  });
373591
373835
  } catch (error46) {
373592
373836
  throw getContractError(error46, {
373593
- abi: abi29,
373837
+ abi: abi30,
373594
373838
  address,
373595
373839
  args,
373596
373840
  docsPath: "/docs/contract/readContract",
@@ -373605,9 +373849,9 @@ init_decodeFunctionResult();
373605
373849
  init_encodeFunctionData();
373606
373850
  init_call();
373607
373851
  async function simulateContract(client, parameters) {
373608
- const { abi: abi29, address, args, dataSuffix, functionName, ...callRequest } = parameters;
373852
+ const { abi: abi30, address, args, dataSuffix, functionName, ...callRequest } = parameters;
373609
373853
  const account = callRequest.account ? parseAccount(callRequest.account) : client.account;
373610
- const calldata = encodeFunctionData({ abi: abi29, args, functionName });
373854
+ const calldata = encodeFunctionData({ abi: abi30, args, functionName });
373611
373855
  try {
373612
373856
  const { data } = await getAction(client, call, "call")({
373613
373857
  batch: false,
@@ -373617,12 +373861,12 @@ async function simulateContract(client, parameters) {
373617
373861
  account
373618
373862
  });
373619
373863
  const result = decodeFunctionResult({
373620
- abi: abi29,
373864
+ abi: abi30,
373621
373865
  args,
373622
373866
  functionName,
373623
373867
  data: data || "0x"
373624
373868
  });
373625
- const minimizedAbi = abi29.filter((abiItem) => "name" in abiItem && abiItem.name === parameters.functionName);
373869
+ const minimizedAbi = abi30.filter((abiItem) => "name" in abiItem && abiItem.name === parameters.functionName);
373626
373870
  return {
373627
373871
  result,
373628
373872
  request: {
@@ -373637,7 +373881,7 @@ async function simulateContract(client, parameters) {
373637
373881
  };
373638
373882
  } catch (error46) {
373639
373883
  throw getContractError(error46, {
373640
- abi: abi29,
373884
+ abi: abi30,
373641
373885
  address,
373642
373886
  args,
373643
373887
  docsPath: "/docs/contract/simulateContract",
@@ -373809,7 +374053,7 @@ async function uninstallFilter(_client, { filter }) {
373809
374053
 
373810
374054
  // ../../node_modules/viem/_esm/actions/public/watchContractEvent.js
373811
374055
  function watchContractEvent(client, parameters) {
373812
- const { abi: abi29, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
374056
+ const { abi: abi30, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
373813
374057
  const enablePolling = (() => {
373814
374058
  if (typeof poll_ !== "undefined")
373815
374059
  return poll_;
@@ -373844,7 +374088,7 @@ function watchContractEvent(client, parameters) {
373844
374088
  if (!initialized) {
373845
374089
  try {
373846
374090
  filter = await getAction(client, createContractEventFilter, "createContractEventFilter")({
373847
- abi: abi29,
374091
+ abi: abi30,
373848
374092
  address,
373849
374093
  args,
373850
374094
  eventName,
@@ -373864,7 +374108,7 @@ function watchContractEvent(client, parameters) {
373864
374108
  const blockNumber = await getAction(client, getBlockNumber, "getBlockNumber")({});
373865
374109
  if (previousBlockNumber && previousBlockNumber < blockNumber) {
373866
374110
  logs = await getAction(client, getContractEvents, "getContractEvents")({
373867
- abi: abi29,
374111
+ abi: abi30,
373868
374112
  address,
373869
374113
  args,
373870
374114
  eventName,
@@ -373928,7 +374172,7 @@ function watchContractEvent(client, parameters) {
373928
374172
  return client.transport;
373929
374173
  })();
373930
374174
  const topics = eventName ? encodeEventTopics({
373931
- abi: abi29,
374175
+ abi: abi30,
373932
374176
  eventName,
373933
374177
  args
373934
374178
  }) : [];
@@ -373940,7 +374184,7 @@ function watchContractEvent(client, parameters) {
373940
374184
  const log2 = data.result;
373941
374185
  try {
373942
374186
  const { eventName: eventName2, args: args2 } = decodeEventLog({
373943
- abi: abi29,
374187
+ abi: abi30,
373944
374188
  data: log2.data,
373945
374189
  topics: log2.topics,
373946
374190
  strict: strict_
@@ -374195,14 +374439,14 @@ async function sendTransaction(client, parameters) {
374195
374439
 
374196
374440
  // ../../node_modules/viem/_esm/actions/wallet/writeContract.js
374197
374441
  async function writeContract(client, parameters) {
374198
- const { abi: abi29, account: account_ = client.account, address, args, dataSuffix, functionName, ...request } = parameters;
374442
+ const { abi: abi30, account: account_ = client.account, address, args, dataSuffix, functionName, ...request } = parameters;
374199
374443
  if (typeof account_ === "undefined")
374200
374444
  throw new AccountNotFoundError({
374201
374445
  docsPath: "/docs/contract/writeContract"
374202
374446
  });
374203
374447
  const account = account_ ? parseAccount(account_) : null;
374204
374448
  const data = encodeFunctionData({
374205
- abi: abi29,
374449
+ abi: abi30,
374206
374450
  args,
374207
374451
  functionName
374208
374452
  });
@@ -374215,7 +374459,7 @@ async function writeContract(client, parameters) {
374215
374459
  });
374216
374460
  } catch (error46) {
374217
374461
  throw getContractError(error46, {
374218
- abi: abi29,
374462
+ abi: abi30,
374219
374463
  address,
374220
374464
  args,
374221
374465
  docsPath: "/docs/contract/writeContract",
@@ -374226,7 +374470,7 @@ async function writeContract(client, parameters) {
374226
374470
  }
374227
374471
 
374228
374472
  // ../../node_modules/viem/_esm/actions/getContract.js
374229
- function getContract({ abi: abi29, address, client: client_ }) {
374473
+ function getContract({ abi: abi30, address, client: client_ }) {
374230
374474
  const client = client_;
374231
374475
  const [publicClient, walletClient] = (() => {
374232
374476
  if (!client)
@@ -374245,7 +374489,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374245
374489
  let hasReadFunction = false;
374246
374490
  let hasWriteFunction = false;
374247
374491
  let hasEvent = false;
374248
- for (const item of abi29) {
374492
+ for (const item of abi30) {
374249
374493
  if (item.type === "function")
374250
374494
  if (item.stateMutability === "view" || item.stateMutability === "pure")
374251
374495
  hasReadFunction = true;
@@ -374263,7 +374507,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374263
374507
  return (...parameters) => {
374264
374508
  const { args, options } = getFunctionParameters(parameters);
374265
374509
  return getAction(publicClient, readContract, "readContract")({
374266
- abi: abi29,
374510
+ abi: abi30,
374267
374511
  address,
374268
374512
  functionName,
374269
374513
  args,
@@ -374278,7 +374522,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374278
374522
  return (...parameters) => {
374279
374523
  const { args, options } = getFunctionParameters(parameters);
374280
374524
  return getAction(publicClient, simulateContract, "simulateContract")({
374281
- abi: abi29,
374525
+ abi: abi30,
374282
374526
  address,
374283
374527
  functionName,
374284
374528
  args,
@@ -374291,10 +374535,10 @@ function getContract({ abi: abi29, address, client: client_ }) {
374291
374535
  contract.createEventFilter = new Proxy({}, {
374292
374536
  get(_, eventName) {
374293
374537
  return (...parameters) => {
374294
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
374538
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
374295
374539
  const { args, options } = getEventParameters(parameters, abiEvent);
374296
374540
  return getAction(publicClient, createContractEventFilter, "createContractEventFilter")({
374297
- abi: abi29,
374541
+ abi: abi30,
374298
374542
  address,
374299
374543
  eventName,
374300
374544
  args,
@@ -374306,10 +374550,10 @@ function getContract({ abi: abi29, address, client: client_ }) {
374306
374550
  contract.getEvents = new Proxy({}, {
374307
374551
  get(_, eventName) {
374308
374552
  return (...parameters) => {
374309
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
374553
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
374310
374554
  const { args, options } = getEventParameters(parameters, abiEvent);
374311
374555
  return getAction(publicClient, getContractEvents, "getContractEvents")({
374312
- abi: abi29,
374556
+ abi: abi30,
374313
374557
  address,
374314
374558
  eventName,
374315
374559
  args,
@@ -374321,10 +374565,10 @@ function getContract({ abi: abi29, address, client: client_ }) {
374321
374565
  contract.watchEvent = new Proxy({}, {
374322
374566
  get(_, eventName) {
374323
374567
  return (...parameters) => {
374324
- const abiEvent = abi29.find((x) => x.type === "event" && x.name === eventName);
374568
+ const abiEvent = abi30.find((x) => x.type === "event" && x.name === eventName);
374325
374569
  const { args, options } = getEventParameters(parameters, abiEvent);
374326
374570
  return getAction(publicClient, watchContractEvent, "watchContractEvent")({
374327
- abi: abi29,
374571
+ abi: abi30,
374328
374572
  address,
374329
374573
  eventName,
374330
374574
  args,
@@ -374342,7 +374586,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374342
374586
  return (...parameters) => {
374343
374587
  const { args, options } = getFunctionParameters(parameters);
374344
374588
  return getAction(walletClient, writeContract, "writeContract")({
374345
- abi: abi29,
374589
+ abi: abi30,
374346
374590
  address,
374347
374591
  functionName,
374348
374592
  args,
@@ -374360,7 +374604,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374360
374604
  const { args, options } = getFunctionParameters(parameters);
374361
374605
  const client2 = publicClient ?? walletClient;
374362
374606
  return getAction(client2, estimateContractGas, "estimateContractGas")({
374363
- abi: abi29,
374607
+ abi: abi30,
374364
374608
  address,
374365
374609
  functionName,
374366
374610
  args,
@@ -374372,7 +374616,7 @@ function getContract({ abi: abi29, address, client: client_ }) {
374372
374616
  });
374373
374617
  }
374374
374618
  contract.address = address;
374375
- contract.abi = abi29;
374619
+ contract.abi = abi30;
374376
374620
  return contract;
374377
374621
  }
374378
374622
  function getFunctionParameters(values) {
@@ -378410,9 +378654,9 @@ async function multicall(client, parameters) {
378410
378654
  let currentChunk = 0;
378411
378655
  let currentChunkSize = 0;
378412
378656
  for (let i = 0; i < contracts2.length; i++) {
378413
- const { abi: abi29, address, args, functionName } = contracts2[i];
378657
+ const { abi: abi30, address, args, functionName } = contracts2[i];
378414
378658
  try {
378415
- const callData = encodeFunctionData({ abi: abi29, args, functionName });
378659
+ const callData = encodeFunctionData({ abi: abi30, args, functionName });
378416
378660
  currentChunkSize += (callData.length - 2) / 2;
378417
378661
  if (
378418
378662
  // Check if batching is enabled.
@@ -378434,7 +378678,7 @@ async function multicall(client, parameters) {
378434
378678
  ];
378435
378679
  } catch (err) {
378436
378680
  const error46 = getContractError(err, {
378437
- abi: abi29,
378681
+ abi: abi30,
378438
378682
  address,
378439
378683
  args,
378440
378684
  docsPath: "/docs/contract/multicall",
@@ -378484,14 +378728,14 @@ async function multicall(client, parameters) {
378484
378728
  for (let j = 0; j < aggregate3Result.length; j++) {
378485
378729
  const { returnData, success: success2 } = aggregate3Result[j];
378486
378730
  const { callData } = chunkedCalls[i][j];
378487
- const { abi: abi29, address, functionName, args } = contracts2[results.length];
378731
+ const { abi: abi30, address, functionName, args } = contracts2[results.length];
378488
378732
  try {
378489
378733
  if (callData === "0x")
378490
378734
  throw new AbiDecodingZeroDataError();
378491
378735
  if (!success2)
378492
378736
  throw new RawContractError({ data: returnData });
378493
378737
  const result2 = decodeFunctionResult({
378494
- abi: abi29,
378738
+ abi: abi30,
378495
378739
  args,
378496
378740
  data: returnData,
378497
378741
  functionName
@@ -378499,7 +378743,7 @@ async function multicall(client, parameters) {
378499
378743
  results.push(allowFailure ? { result: result2, status: "success" } : result2);
378500
378744
  } catch (err) {
378501
378745
  const error46 = getContractError(err, {
378502
- abi: abi29,
378746
+ abi: abi30,
378503
378747
  address,
378504
378748
  args,
378505
378749
  docsPath: "/docs/contract/multicall",
@@ -378567,13 +378811,13 @@ async function simulateBlocks(client, parameters) {
378567
378811
  return result.map((block2, i) => ({
378568
378812
  ...formatBlock(block2),
378569
378813
  calls: block2.calls.map((call2, j) => {
378570
- const { abi: abi29, args, functionName, to } = blocks[i].calls[j];
378814
+ const { abi: abi30, args, functionName, to } = blocks[i].calls[j];
378571
378815
  const data = call2.error?.data ?? call2.returnData;
378572
378816
  const gasUsed = BigInt(call2.gasUsed);
378573
378817
  const logs = call2.logs?.map((log2) => formatLog(log2));
378574
378818
  const status = call2.status === "0x1" ? "success" : "failure";
378575
- const result2 = abi29 && status === "success" && data !== "0x" ? decodeFunctionResult({
378576
- abi: abi29,
378819
+ const result2 = abi30 && status === "success" && data !== "0x" ? decodeFunctionResult({
378820
+ abi: abi30,
378577
378821
  data,
378578
378822
  functionName
378579
378823
  }) : null;
@@ -378588,7 +378832,7 @@ async function simulateBlocks(client, parameters) {
378588
378832
  if (!error47)
378589
378833
  return void 0;
378590
378834
  return getContractError(error47, {
378591
- abi: abi29 ?? [],
378835
+ abi: abi30 ?? [],
378592
378836
  address: to ?? "0x",
378593
378837
  args,
378594
378838
  functionName: functionName ?? "<unknown>"
@@ -378738,10 +378982,10 @@ function from10(abiItem, options = {}) {
378738
378982
  ...prepare ? { hash: getSignatureHash(item) } : {}
378739
378983
  };
378740
378984
  }
378741
- function fromAbi(abi29, name, options) {
378985
+ function fromAbi(abi30, name, options) {
378742
378986
  const { args = [], prepare = true } = options ?? {};
378743
378987
  const isSelector = validate2(name, { strict: false });
378744
- const abiItems = abi29.filter((abiItem2) => {
378988
+ const abiItems = abi30.filter((abiItem2) => {
378745
378989
  if (isSelector) {
378746
378990
  if (abiItem2.type === "function" || abiItem2.type === "error")
378747
378991
  return getSelector(abiItem2) === slice3(name, 0, 4);
@@ -378813,8 +379057,8 @@ function fromAbi(abi29, name, options) {
378813
379057
  function getSelector(...parameters) {
378814
379058
  const abiItem = (() => {
378815
379059
  if (Array.isArray(parameters[0])) {
378816
- const [abi29, name] = parameters;
378817
- return fromAbi(abi29, name);
379060
+ const [abi30, name] = parameters;
379061
+ return fromAbi(abi30, name);
378818
379062
  }
378819
379063
  return parameters[0];
378820
379064
  })();
@@ -378823,8 +379067,8 @@ function getSelector(...parameters) {
378823
379067
  function getSignature(...parameters) {
378824
379068
  const abiItem = (() => {
378825
379069
  if (Array.isArray(parameters[0])) {
378826
- const [abi29, name] = parameters;
378827
- return fromAbi(abi29, name);
379070
+ const [abi30, name] = parameters;
379071
+ return fromAbi(abi30, name);
378828
379072
  }
378829
379073
  return parameters[0];
378830
379074
  })();
@@ -378838,8 +379082,8 @@ function getSignature(...parameters) {
378838
379082
  function getSignatureHash(...parameters) {
378839
379083
  const abiItem = (() => {
378840
379084
  if (Array.isArray(parameters[0])) {
378841
- const [abi29, name] = parameters;
378842
- return fromAbi(abi29, name);
379085
+ const [abi30, name] = parameters;
379086
+ return fromAbi(abi30, name);
378843
379087
  }
378844
379088
  return parameters[0];
378845
379089
  })();
@@ -378891,8 +379135,8 @@ init_Hex();
378891
379135
  function encode3(...parameters) {
378892
379136
  const [abiConstructor, options] = (() => {
378893
379137
  if (Array.isArray(parameters[0])) {
378894
- const [abi29, options2] = parameters;
378895
- return [fromAbi2(abi29), options2];
379138
+ const [abi30, options2] = parameters;
379139
+ return [fromAbi2(abi30), options2];
378896
379140
  }
378897
379141
  return parameters;
378898
379142
  })();
@@ -378902,8 +379146,8 @@ function encode3(...parameters) {
378902
379146
  function from11(abiConstructor) {
378903
379147
  return from10(abiConstructor);
378904
379148
  }
378905
- function fromAbi2(abi29) {
378906
- const item = abi29.find((item2) => item2.type === "constructor");
379149
+ function fromAbi2(abi30) {
379150
+ const item = abi30.find((item2) => item2.type === "constructor");
378907
379151
  if (!item)
378908
379152
  throw new NotFoundError({ name: "constructor" });
378909
379153
  return item;
@@ -378914,8 +379158,8 @@ init_Hex();
378914
379158
  function encodeData2(...parameters) {
378915
379159
  const [abiFunction, args = []] = (() => {
378916
379160
  if (Array.isArray(parameters[0])) {
378917
- const [abi29, name, args3] = parameters;
378918
- return [fromAbi3(abi29, name, { args: args3 }), args3];
379161
+ const [abi30, name, args3] = parameters;
379162
+ return [fromAbi3(abi30, name, { args: args3 }), args3];
378919
379163
  }
378920
379164
  const [abiFunction2, args2] = parameters;
378921
379165
  return [abiFunction2, args2];
@@ -378931,8 +379175,8 @@ function encodeData2(...parameters) {
378931
379175
  function from12(abiFunction, options = {}) {
378932
379176
  return from10(abiFunction, options);
378933
379177
  }
378934
- function fromAbi3(abi29, name, options) {
378935
- const item = fromAbi(abi29, name, options);
379178
+ function fromAbi3(abi30, name, options) {
379179
+ const item = fromAbi(abi30, name, options);
378936
379180
  if (item.type !== "function")
378937
379181
  throw new NotFoundError({ name, type: "function" });
378938
379182
  return item;
@@ -380595,8 +380839,8 @@ async function addChain(client, { chain }) {
380595
380839
  // ../../node_modules/viem/_esm/actions/wallet/deployContract.js
380596
380840
  init_encodeDeployData();
380597
380841
  function deployContract(walletClient, parameters) {
380598
- const { abi: abi29, args, bytecode, ...request } = parameters;
380599
- const calldata = encodeDeployData({ abi: abi29, args, bytecode });
380842
+ const { abi: abi30, args, bytecode, ...request } = parameters;
380843
+ const calldata = encodeDeployData({ abi: abi30, args, bytecode });
380600
380844
  return sendTransaction(walletClient, {
380601
380845
  ...request,
380602
380846
  ...request.authorizationList ? { to: null } : {},
@@ -395280,12 +395524,12 @@ var json_parse = (s) => {
395280
395524
  function createRawTx(to, parameters, description) {
395281
395525
  const { args } = parameters;
395282
395526
  const fname = parameters.functionName;
395283
- const { abi: abi29, functionName } = (() => {
395527
+ const { abi: abi30, functionName } = (() => {
395284
395528
  if (parameters.abi.length === 1 && parameters.functionName?.startsWith("0x"))
395285
395529
  return parameters;
395286
395530
  return prepareEncodeFunctionData(parameters);
395287
395531
  })();
395288
- const abiItem = abi29[0];
395532
+ const abiItem = abi30[0];
395289
395533
  const signature = functionName;
395290
395534
  const data = "inputs" in abiItem && abiItem.inputs ? encodeAbiParameters(abiItem.inputs, args ?? []) : void 0;
395291
395535
  const functionEncodedData = concatHex([signature, data ?? "0x"]);
@@ -417825,9 +418069,9 @@ async function simulateMulticall(client, parameters) {
417825
418069
  }
417826
418070
  const calls = [];
417827
418071
  for (const contract of contracts2) {
417828
- const { abi: abi29, address, args, functionName } = contract;
418072
+ const { abi: abi30, address, args, functionName } = contract;
417829
418073
  try {
417830
- const callData = encodeFunctionData({ abi: abi29, args, functionName });
418074
+ const callData = encodeFunctionData({ abi: abi30, args, functionName });
417831
418075
  calls.push({
417832
418076
  allowFailure: true,
417833
418077
  callData,
@@ -417835,7 +418079,7 @@ async function simulateMulticall(client, parameters) {
417835
418079
  });
417836
418080
  } catch (err) {
417837
418081
  const error46 = getContractError(err, {
417838
- abi: abi29,
418082
+ abi: abi30,
417839
418083
  address,
417840
418084
  args,
417841
418085
  docsPath: "/docs/contract/multicall",
@@ -417878,12 +418122,12 @@ async function simulateMulticall(client, parameters) {
417878
418122
  for (let j = 0; j < result.length; j++) {
417879
418123
  const { returnData, success: success2 } = result[j];
417880
418124
  const { callData } = calls[j];
417881
- const { abi: abi29, address, functionName, args } = contracts2[results.length];
418125
+ const { abi: abi30, address, functionName, args } = contracts2[results.length];
417882
418126
  try {
417883
418127
  if (callData === "0x") throw new AbiDecodingZeroDataError();
417884
418128
  if (!success2) throw new RawContractError({ data: returnData });
417885
418129
  const result2 = decodeFunctionResult({
417886
- abi: abi29,
418130
+ abi: abi30,
417887
418131
  args,
417888
418132
  data: returnData,
417889
418133
  functionName
@@ -417891,7 +418135,7 @@ async function simulateMulticall(client, parameters) {
417891
418135
  results.push(allowFailure ? { result: result2, status: "success" } : result2);
417892
418136
  } catch (err) {
417893
418137
  const error46 = getContractError(err, {
417894
- abi: abi29,
418138
+ abi: abi30,
417895
418139
  address,
417896
418140
  args,
417897
418141
  docsPath: "/docs/contract/multicall",
@@ -446050,7 +446294,7 @@ function normalizeTransactions(batch) {
446050
446294
  });
446051
446295
  }
446052
446296
  function normalizeDirectTx(t) {
446053
- const abi29 = [
446297
+ const abi30 = [
446054
446298
  {
446055
446299
  type: "function",
446056
446300
  outputs: [],
@@ -446072,10 +446316,10 @@ function normalizeDirectTx(t) {
446072
446316
  return {
446073
446317
  target: t.to,
446074
446318
  value: t.value,
446075
- signature: formatAbiItem2(abi29[0], { includeName: false }),
446319
+ signature: formatAbiItem2(abi30[0], { includeName: false }),
446076
446320
  parameters,
446077
446321
  data: encodeFunctionData({
446078
- abi: abi29,
446322
+ abi: abi30,
446079
446323
  functionName: t.contractMethod.name,
446080
446324
  args: values
446081
446325
  })
@@ -450923,15 +451167,15 @@ var Create2Deployer = class extends SDKConstruct {
450923
451167
  this.#walletClient = walletClient;
450924
451168
  }
450925
451169
  async ensureExists(parameters) {
450926
- const { abi: abi29, args, bytecode } = parameters;
451170
+ const { abi: abi30, args, bytecode } = parameters;
450927
451171
  const address = getPublicCreate2Address({
450928
- abi: abi29,
451172
+ abi: abi30,
450929
451173
  bytecode,
450930
451174
  args
450931
451175
  });
450932
451176
  this.#logger?.info(`will deploy contract at ${address}`);
450933
451177
  const isDeployed = await isDeployedUsingPublicCreate2(this.client, {
450934
- abi: abi29,
451178
+ abi: abi30,
450935
451179
  bytecode,
450936
451180
  args
450937
451181
  });
@@ -450956,13 +451200,13 @@ var Create2Deployer = class extends SDKConstruct {
450956
451200
  };
450957
451201
  async function deployUsingPublicCreate2(walletClient, parameters) {
450958
451202
  const {
450959
- abi: abi29,
451203
+ abi: abi30,
450960
451204
  args,
450961
451205
  bytecode,
450962
451206
  salt = DEFAULT_CREATE2_SALT,
450963
451207
  ...request
450964
451208
  } = parameters;
450965
- const calldata = encodeDeployData({ abi: abi29, bytecode, args });
451209
+ const calldata = encodeDeployData({ abi: abi30, bytecode, args });
450966
451210
  const saltHex = stringToHex(salt, { size: 32 });
450967
451211
  const data = concatHex([saltHex, calldata]);
450968
451212
  return sendTransaction(walletClient, {
@@ -450973,12 +451217,12 @@ async function deployUsingPublicCreate2(walletClient, parameters) {
450973
451217
  }
450974
451218
  function getPublicCreate2Address(params) {
450975
451219
  const {
450976
- abi: abi29,
451220
+ abi: abi30,
450977
451221
  args,
450978
451222
  bytecode,
450979
451223
  salt = DEFAULT_CREATE2_SALT
450980
451224
  } = params;
450981
- const deployBytecode = encodeDeployData({ abi: abi29, bytecode, args });
451225
+ const deployBytecode = encodeDeployData({ abi: abi30, bytecode, args });
450982
451226
  const saltHex = stringToHex(salt, { size: 32 });
450983
451227
  return getCreate2Address({
450984
451228
  from: PUBLIC_CREATE2_FACTORY,
@@ -453577,9 +453821,9 @@ var AbstractParser = class {
453577
453821
  };
453578
453822
  }
453579
453823
  parseConstructor(address, encodedArgs) {
453580
- for (const { abi: abi29, comment } of this.constructorAbis) {
453824
+ for (const { abi: abi30, comment } of this.constructorAbis) {
453581
453825
  try {
453582
- return this.#parseConstructor(address, encodedArgs, abi29, comment);
453826
+ return this.#parseConstructor(address, encodedArgs, abi30, comment);
453583
453827
  } catch (e) {
453584
453828
  this.logger.warn(`constructor ${comment} of ${address} failed to parse args: ${e}`);
453585
453829
  }
@@ -453813,10 +454057,217 @@ var AaveV2WrappedAtokenAdapterParser = class extends AbstractParser {
453813
454057
  };
453814
454058
 
453815
454059
  // ../../packages/node/dist/parsers/adapters/AccountMigratorAdapterV30Parser.js
454060
+ var abi25 = [
454061
+ {
454062
+ type: "constructor",
454063
+ inputs: [
454064
+ { name: "_creditManager", type: "address" },
454065
+ { name: "_targetContract", type: "address" }
454066
+ ],
454067
+ stateMutability: "nonpayable"
454068
+ },
454069
+ {
454070
+ type: "function",
454071
+ name: "_gearboxAdapterType",
454072
+ inputs: [],
454073
+ outputs: [{ name: "", type: "uint8" }],
454074
+ stateMutability: "view"
454075
+ },
454076
+ {
454077
+ type: "function",
454078
+ name: "_gearboxAdapterVersion",
454079
+ inputs: [],
454080
+ outputs: [{ name: "", type: "uint16" }],
454081
+ stateMutability: "view"
454082
+ },
454083
+ {
454084
+ type: "function",
454085
+ name: "acl",
454086
+ inputs: [],
454087
+ outputs: [{ name: "", type: "address" }],
454088
+ stateMutability: "view"
454089
+ },
454090
+ {
454091
+ type: "function",
454092
+ name: "contractType",
454093
+ inputs: [],
454094
+ outputs: [{ name: "", type: "bytes32" }],
454095
+ stateMutability: "pure"
454096
+ },
454097
+ {
454098
+ type: "function",
454099
+ name: "creditManager",
454100
+ inputs: [],
454101
+ outputs: [{ name: "", type: "address" }],
454102
+ stateMutability: "view"
454103
+ },
454104
+ {
454105
+ type: "function",
454106
+ name: "lock",
454107
+ inputs: [],
454108
+ outputs: [],
454109
+ stateMutability: "nonpayable"
454110
+ },
454111
+ {
454112
+ type: "function",
454113
+ name: "locked",
454114
+ inputs: [],
454115
+ outputs: [{ name: "", type: "bool" }],
454116
+ stateMutability: "view"
454117
+ },
454118
+ {
454119
+ type: "function",
454120
+ name: "migrate",
454121
+ inputs: [
454122
+ {
454123
+ name: "params",
454124
+ type: "tuple",
454125
+ internalType: "struct MigrationParams",
454126
+ components: [
454127
+ {
454128
+ name: "accountOwner",
454129
+ type: "address"
454130
+ },
454131
+ {
454132
+ name: "sourceCreditAccount",
454133
+ type: "address"
454134
+ },
454135
+ {
454136
+ name: "targetCreditManager",
454137
+ type: "address"
454138
+ },
454139
+ {
454140
+ name: "migratedCollaterals",
454141
+ type: "tuple[]",
454142
+ internalType: "struct MigratedCollateral[]",
454143
+ components: [
454144
+ {
454145
+ name: "collateral",
454146
+ type: "address"
454147
+ },
454148
+ { name: "amount", type: "uint256" },
454149
+ {
454150
+ name: "targetQuotaIncrease",
454151
+ type: "uint96"
454152
+ },
454153
+ {
454154
+ name: "underlyingInSource",
454155
+ type: "bool"
454156
+ },
454157
+ {
454158
+ name: "underlyingInTarget",
454159
+ type: "bool"
454160
+ },
454161
+ {
454162
+ name: "phantomTokenParams",
454163
+ type: "tuple",
454164
+ components: [
454165
+ {
454166
+ name: "isPhantomToken",
454167
+ type: "bool"
454168
+ },
454169
+ {
454170
+ name: "underlying",
454171
+ type: "address"
454172
+ },
454173
+ {
454174
+ name: "underlyingAmount",
454175
+ type: "uint256"
454176
+ }
454177
+ ]
454178
+ }
454179
+ ]
454180
+ },
454181
+ {
454182
+ name: "targetBorrowAmount",
454183
+ type: "uint256"
454184
+ },
454185
+ {
454186
+ name: "underlyingSwapCalls",
454187
+ type: "tuple[]",
454188
+ components: [
454189
+ { name: "target", type: "address" },
454190
+ { name: "callData", type: "bytes" }
454191
+ ]
454192
+ },
454193
+ {
454194
+ name: "extraOpeningCalls",
454195
+ type: "tuple[]",
454196
+ components: [
454197
+ { name: "target", type: "address" },
454198
+ { name: "callData", type: "bytes" }
454199
+ ]
454200
+ },
454201
+ {
454202
+ name: "uniqueTransferredTokens",
454203
+ type: "address[]"
454204
+ },
454205
+ {
454206
+ name: "numAddCollateralCalls",
454207
+ type: "uint256"
454208
+ },
454209
+ {
454210
+ name: "numRemoveQuotasCalls",
454211
+ type: "uint256"
454212
+ },
454213
+ {
454214
+ name: "numIncreaseQuotaCalls",
454215
+ type: "uint256"
454216
+ },
454217
+ {
454218
+ name: "numPhantomTokenCalls",
454219
+ type: "uint256"
454220
+ }
454221
+ ]
454222
+ }
454223
+ ],
454224
+ outputs: [
454225
+ { name: "tokensToEnable", type: "uint256" },
454226
+ { name: "tokensToDisable", type: "uint256" }
454227
+ ],
454228
+ stateMutability: "nonpayable"
454229
+ },
454230
+ {
454231
+ type: "function",
454232
+ name: "serialize",
454233
+ inputs: [],
454234
+ outputs: [{ name: "serializedData", type: "bytes" }],
454235
+ stateMutability: "view"
454236
+ },
454237
+ {
454238
+ type: "function",
454239
+ name: "targetContract",
454240
+ inputs: [],
454241
+ outputs: [{ name: "", type: "address" }],
454242
+ stateMutability: "view"
454243
+ },
454244
+ {
454245
+ type: "function",
454246
+ name: "unlock",
454247
+ inputs: [],
454248
+ outputs: [],
454249
+ stateMutability: "nonpayable"
454250
+ },
454251
+ {
454252
+ type: "function",
454253
+ name: "version",
454254
+ inputs: [],
454255
+ outputs: [{ name: "", type: "uint256" }],
454256
+ stateMutability: "pure"
454257
+ },
454258
+ {
454259
+ type: "error",
454260
+ name: "AddressIsNotContractException",
454261
+ inputs: [{ name: "", type: "address" }]
454262
+ },
454263
+ { type: "error", name: "CallerNotCreditFacadeException", inputs: [] },
454264
+ { type: "error", name: "NotImplementedException", inputs: [] },
454265
+ { type: "error", name: "ZeroAddressException", inputs: [] }
454266
+ ];
453816
454267
  var AccountMigratorAdapterV30Parser = class extends AbstractParser {
453817
454268
  constructor(contractType) {
453818
454269
  super(contractType, "constructor(address creditManager, address targetContract)");
453819
- this._abi = [];
454270
+ this._abi = abi25;
453820
454271
  this.parameterParsers = {
453821
454272
  constructor: [parseAddress(), parseAddress()]
453822
454273
  };
@@ -454805,7 +455256,7 @@ var CreditManagerV3Parser = class extends AbstractParser {
454805
455256
  };
454806
455257
 
454807
455258
  // ../../packages/node/dist/parsers/CrossChainMultisigParser.js
454808
- var abi25 = [
455259
+ var abi26 = [
454809
455260
  {
454810
455261
  type: "constructor",
454811
455262
  inputs: [
@@ -455321,7 +455772,7 @@ var abi25 = [
455321
455772
  var CrossChainMultisigParser = class extends AbstractParser {
455322
455773
  constructor(contractType) {
455323
455774
  super(contractType);
455324
- this._abi = abi25;
455775
+ this._abi = abi26;
455325
455776
  }
455326
455777
  async parse(to, calldata, signature, metaRepo) {
455327
455778
  if (!metaRepo) {
@@ -456162,7 +456613,7 @@ var InflationAttackBlockerParser = class extends AbstractParser {
456162
456613
  };
456163
456614
 
456164
456615
  // ../../packages/node/dist/parsers/InstanceManagerParser.js
456165
- var abi26 = [
456616
+ var abi27 = [
456166
456617
  {
456167
456618
  type: "constructor",
456168
456619
  inputs: [{ name: "owner_", type: "address", internalType: "address" }],
@@ -456412,7 +456863,7 @@ var abi26 = [
456412
456863
  var InstanceManagerParser = class extends AbstractParser {
456413
456864
  constructor(contractType) {
456414
456865
  super(contractType);
456415
- this._abi = abi26;
456866
+ this._abi = abi27;
456416
456867
  }
456417
456868
  };
456418
456869
 
@@ -458818,7 +459269,7 @@ function getRenderer(opts) {
458818
459269
  var package_default = {
458819
459270
  name: "@gearbox-protocol/deploy-tools",
458820
459271
  description: "Gearbox deploy tools",
458821
- version: "5.49.13",
459272
+ version: "5.49.15",
458822
459273
  homepage: "https://gearbox.fi",
458823
459274
  keywords: [
458824
459275
  "gearbox"
@@ -458859,7 +459310,7 @@ var package_default = {
458859
459310
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
458860
459311
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
458861
459312
  "@gearbox-protocol/sdk": "9.11.1",
458862
- "@gearbox-protocol/sdk-gov": "2.37.0",
459313
+ "@gearbox-protocol/sdk-gov": "v2.38.0",
458863
459314
  "@types/lodash-es": "^4.17.12",
458864
459315
  "@types/node": "^24.7.0",
458865
459316
  "@types/react": "^19.2.0",
@@ -459405,12 +459856,12 @@ var PartialLiquidationBotBaseContract = class extends BaseContract {
459405
459856
  };
459406
459857
 
459407
459858
  // ../../node_modules/@gearbox-protocol/sdk/dist/esm/plugins/bots/PartialLiquidationBotV300Contract.js
459408
- var abi27 = iPartialLiquidationBotV300Abi;
459859
+ var abi28 = iPartialLiquidationBotV300Abi;
459409
459860
  var PartialLiquidationBotV300Contract = class extends PartialLiquidationBotBaseContract {
459410
459861
  #botType;
459411
459862
  constructor(sdk, args, marketConfigurator) {
459412
459863
  super(sdk, {
459413
- abi: abi27,
459864
+ abi: abi28,
459414
459865
  ...args.baseParams,
459415
459866
  requiredPermissions: args.requiredPermissions,
459416
459867
  marketConfigurator,
@@ -459443,11 +459894,11 @@ var PartialLiquidationBotV300Contract = class extends PartialLiquidationBotBaseC
459443
459894
  };
459444
459895
 
459445
459896
  // ../../node_modules/@gearbox-protocol/sdk/dist/esm/plugins/bots/PartialLiquidationBotV310Contract.js
459446
- var abi28 = iPartialLiquidationBotV310Abi;
459897
+ var abi29 = iPartialLiquidationBotV310Abi;
459447
459898
  var PartialLiquidationBotV310Contract = class extends PartialLiquidationBotBaseContract {
459448
459899
  constructor(sdk, args, marketConfigurator) {
459449
459900
  super(sdk, {
459450
- abi: abi28,
459901
+ abi: abi29,
459451
459902
  ...args.baseParams,
459452
459903
  requiredPermissions: args.requiredPermissions,
459453
459904
  marketConfigurator,