@moonbeam-network/mrl 4.3.5 → 4.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.mjs CHANGED
@@ -21,19 +21,19 @@ import {
21
21
  wormholeFactory
22
22
  } from "@moonbeam-network/xcm-builder";
23
23
 
24
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
24
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
25
25
  import { registerProtocol as registerProtocol2 } from "@wormhole-foundation/sdk-connect";
26
26
  import { _platform as _platform2 } from "@wormhole-foundation/sdk-evm";
27
27
 
28
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
28
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
29
29
  import { ErrNotWrapped, UniversalAddress, isNative, keccak256 as keccak2562, nativeChainIds as nativeChainIds2, serialize as serialize2, toChain, toChainId, toNative } from "@wormhole-foundation/sdk-connect";
30
30
  import { EvmAddress as EvmAddress2, EvmPlatform as EvmPlatform2, EvmUnsignedTransaction as EvmUnsignedTransaction2, EvmZeroAddress, addChainId as addChainId2, addFrom as addFrom2, unusedArbiterFee, unusedNonce, WETH_CONTRACTS } from "@wormhole-foundation/sdk-evm";
31
31
 
32
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
32
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
33
33
  import { registerProtocol } from "@wormhole-foundation/sdk-connect";
34
34
  import { _platform } from "@wormhole-foundation/sdk-evm";
35
35
 
36
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/core.js
36
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/core.js
37
37
  import { nativeChainIds, createVAA, isWormholeMessageId, encoding, serialize } from "@wormhole-foundation/sdk-connect";
38
38
  import { EvmAddress, EvmPlatform, EvmUnsignedTransaction, addChainId, addFrom } from "@wormhole-foundation/sdk-evm";
39
39
  var EvmWormholeCore = class _EvmWormholeCore {
@@ -150,7 +150,7 @@ var EvmWormholeCore = class _EvmWormholeCore {
150
150
  }
151
151
  };
152
152
 
153
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/index.js
153
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/index.js
154
154
  var ethers_contracts_exports = {};
155
155
  __export(ethers_contracts_exports, {
156
156
  Implementation__factory: () => Implementation__factory
@@ -7334,7 +7334,7 @@ var ContractFactory = class _ContractFactory {
7334
7334
  }
7335
7335
  };
7336
7336
 
7337
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
7337
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
7338
7338
  var _abi = [
7339
7339
  {
7340
7340
  anonymous: false,
@@ -8404,10 +8404,10 @@ var Implementation__factory = class extends ContractFactory {
8404
8404
  }
8405
8405
  };
8406
8406
 
8407
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
8407
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
8408
8408
  registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
8409
8409
 
8410
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
8410
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
8411
8411
  var EvmTokenBridge = class _EvmTokenBridge {
8412
8412
  network;
8413
8413
  chain;
@@ -8545,7 +8545,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
8545
8545
  }
8546
8546
  };
8547
8547
 
8548
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
8548
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
8549
8549
  import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
8550
8550
  import { EvmAddress as EvmAddress3, EvmPlatform as EvmPlatform3, EvmUnsignedTransaction as EvmUnsignedTransaction3, WETH_CONTRACTS as WETH_CONTRACTS2, addChainId as addChainId3, addFrom as addFrom3 } from "@wormhole-foundation/sdk-evm";
8551
8551
  var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
@@ -8653,16 +8653,16 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
8653
8653
  }
8654
8654
  };
8655
8655
 
8656
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
8656
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
8657
8657
  import { nativeChainIds as nativeChainIds4, toChainId as toChainId3, signedQuoteLayout as signedQuoteLayout2, isNative as isNative4, serializeLayout, serialize as serialize5, contracts, getExecutorTokenBridgeDestinationAddresses } from "@wormhole-foundation/sdk-connect";
8658
8658
  import { EvmAddress as EvmAddress4, EvmPlatform as EvmPlatform4, EvmUnsignedTransaction as EvmUnsignedTransaction4, addChainId as addChainId4, addFrom as addFrom4 } from "@wormhole-foundation/sdk-evm";
8659
8659
 
8660
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
8660
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
8661
8661
  var range = (length) => [...Array(length).keys()];
8662
8662
  var column = (tupArr, index) => tupArr.map((tuple) => tuple[index]);
8663
8663
  var zip = (arr) => range(arr[0].length).map((col) => range(arr.length).map((row) => arr[row][col]));
8664
8664
 
8665
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
8665
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
8666
8666
  function isMappableKey(key) {
8667
8667
  return ["string", "number", "symbol", "bigint", "boolean"].includes(typeof key);
8668
8668
  }
@@ -8738,7 +8738,7 @@ function constMap(mappingEntries, shape) {
8738
8738
  return toConstMap(toMapping(mappingEntries, shape));
8739
8739
  }
8740
8740
 
8741
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
8741
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
8742
8742
  function lazyInstantiate(factory) {
8743
8743
  let instance = null;
8744
8744
  return () => {
@@ -9630,7 +9630,7 @@ function bitsetItem(bitnames, size) {
9630
9630
  };
9631
9631
  }
9632
9632
 
9633
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
9633
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
9634
9634
  var encoding_exports = {};
9635
9635
  __export(encoding_exports, {
9636
9636
  b58: () => b58,
@@ -10017,7 +10017,7 @@ function genBech32(encoding2) {
10017
10017
  }
10018
10018
  var bech32 = /* @__PURE__ */ genBech32("bech32");
10019
10019
 
10020
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
10020
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
10021
10021
  var stripPrefix = (prefix, str) => str.startsWith(prefix) ? str.slice(prefix.length) : str;
10022
10022
  var isHexRegex = /^(?:0x)?[0-9a-fA-F]+$/;
10023
10023
  var hex = {
@@ -10113,7 +10113,7 @@ var bytes2 = {
10113
10113
  }
10114
10114
  };
10115
10115
 
10116
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
10116
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
10117
10117
  var chainIdAndChainEntries = [
10118
10118
  //Unlike the old sdk, we are not including an "Unset" chain with chainId 0 here because:
10119
10119
  // * no other types would be associated with it (such as contracts or a platform)
@@ -10126,7 +10126,6 @@ var chainIdAndChainEntries = [
10126
10126
  [5, "Polygon"],
10127
10127
  [6, "Avalanche"],
10128
10128
  [8, "Algorand"],
10129
- [10, "Fantom"],
10130
10129
  [13, "Klaytn"],
10131
10130
  [14, "Celo"],
10132
10131
  [15, "Near"],
@@ -10141,9 +10140,6 @@ var chainIdAndChainEntries = [
10141
10140
  [29, "Btc"],
10142
10141
  [30, "Base"],
10143
10142
  [32, "Sei"],
10144
- [34, "Scroll"],
10145
- [35, "Mantle"],
10146
- [37, "Xlayer"],
10147
10143
  [38, "Linea"],
10148
10144
  [39, "Berachain"],
10149
10145
  [40, "Seievm"],
@@ -10165,6 +10161,8 @@ var chainIdAndChainEntries = [
10165
10161
  [64, "MegaETH"],
10166
10162
  [66, "Xrpl"],
10167
10163
  [67, "ZeroGravity"],
10164
+ [68, "Tempo"],
10165
+ [69, "Nexus"],
10168
10166
  [3104, "Wormchain"],
10169
10167
  [4e3, "Cosmoshub"],
10170
10168
  [4001, "Evmos"],
@@ -10209,7 +10207,7 @@ var toChain2 = (chain2) => {
10209
10207
  throw Error(`Cannot convert to Chain: ${chain2}`);
10210
10208
  };
10211
10209
 
10212
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10210
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10213
10211
  var platformAndChainsEntries = [
10214
10212
  [
10215
10213
  "Evm",
@@ -10220,7 +10218,6 @@ var platformAndChainsEntries = [
10220
10218
  "Bsc",
10221
10219
  "Celo",
10222
10220
  "Ethereum",
10223
- "Fantom",
10224
10221
  "Klaytn",
10225
10222
  "Moonbeam",
10226
10223
  "Optimism",
@@ -10231,9 +10228,6 @@ var platformAndChainsEntries = [
10231
10228
  "OptimismSepolia",
10232
10229
  "Holesky",
10233
10230
  "PolygonSepolia",
10234
- "Mantle",
10235
- "Scroll",
10236
- "Xlayer",
10237
10231
  "Linea",
10238
10232
  "Berachain",
10239
10233
  "Seievm",
@@ -10254,7 +10248,9 @@ var platformAndChainsEntries = [
10254
10248
  "Moca",
10255
10249
  "MegaETH",
10256
10250
  "MonadTestnet",
10257
- "ZeroGravity"
10251
+ "ZeroGravity",
10252
+ "Tempo",
10253
+ "Nexus"
10258
10254
  ]
10259
10255
  ],
10260
10256
  [
@@ -10345,7 +10341,7 @@ var platformAddressFormatEntries = [
10345
10341
  ];
10346
10342
  var platformToAddressFormat = constMap(platformAddressFormatEntries);
10347
10343
 
10348
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.15.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10344
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.20.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10349
10345
  var tbtc_exports = {};
10350
10346
  __export(tbtc_exports, {
10351
10347
  tbtcTokens: () => tbtcTokens
@@ -13167,7 +13163,7 @@ function sqrtMod(y) {
13167
13163
  var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
13168
13164
  var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
13169
13165
 
13170
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13166
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13171
13167
  var algorandAppIdLayout = [
13172
13168
  { name: "appIdPrefix", binary: "bytes", custom: encoding_exports.bytes.encode("appID"), omit: true },
13173
13169
  { name: "appId", binary: "uint", size: 8 }
@@ -13231,7 +13227,7 @@ var UniversalAddress2 = class _UniversalAddress {
13231
13227
  }
13232
13228
  };
13233
13229
 
13234
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13230
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13235
13231
  function isChainSpecificAddress(thing) {
13236
13232
  return typeof thing === "object" && "setChain" in thing;
13237
13233
  }
@@ -13261,7 +13257,7 @@ function toUniversal(chain2, address) {
13261
13257
  return new UniversalAddress2(address, platformToAddressFormat.get(platform));
13262
13258
  }
13263
13259
 
13264
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13260
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13265
13261
  var composeLiteral = (protocol, payloadName) => protocol ? `${protocol}:${payloadName}` : payloadName;
13266
13262
  var payloadFactory = /* @__PURE__ */ new Map();
13267
13263
  function registerPayloadType(protocol, name, layout) {
@@ -13275,13 +13271,13 @@ function registerPayloadTypes(protocol, payloads) {
13275
13271
  registerPayloadType(protocol, name, layout);
13276
13272
  }
13277
13273
 
13278
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13274
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13279
13275
  var amountItem = {
13280
13276
  binary: "uint",
13281
13277
  size: 32
13282
13278
  };
13283
13279
 
13284
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13280
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13285
13281
  var chainItemBase = { binary: "uint", size: 2 };
13286
13282
  var chainItem = (opts) => ({
13287
13283
  ...chainItemBase,
@@ -13302,7 +13298,7 @@ var chainItem = (opts) => ({
13302
13298
  }
13303
13299
  });
13304
13300
 
13305
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13301
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13306
13302
  var circleDomainItem = {
13307
13303
  binary: "uint",
13308
13304
  size: 4
@@ -13312,19 +13308,19 @@ var circleNonceItem = {
13312
13308
  size: 8
13313
13309
  };
13314
13310
 
13315
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13311
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13316
13312
  var dateConversion = {
13317
13313
  to: (encoded) => new Date(Number(encoded * 1000n)),
13318
13314
  from: (decoded) => BigInt(decoded.getTime()) / 1000n
13319
13315
  };
13320
13316
 
13321
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13317
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13322
13318
  var guardianSetItem = {
13323
13319
  binary: "uint",
13324
13320
  size: 4
13325
13321
  };
13326
13322
 
13327
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13323
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13328
13324
  var payloadIdItem = (id2) => ({
13329
13325
  name: "payloadId",
13330
13326
  binary: "uint",
@@ -13333,13 +13329,13 @@ var payloadIdItem = (id2) => ({
13333
13329
  omit: true
13334
13330
  });
13335
13331
 
13336
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13332
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13337
13333
  var sequenceItem = {
13338
13334
  binary: "uint",
13339
13335
  size: 8
13340
13336
  };
13341
13337
 
13342
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13338
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13343
13339
  var Signature = class {
13344
13340
  r;
13345
13341
  s;
@@ -13383,7 +13379,7 @@ var SignatureUtils;
13383
13379
  SignatureUtils2.recover = recover;
13384
13380
  })(SignatureUtils || (SignatureUtils = {}));
13385
13381
 
13386
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13382
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13387
13383
  var signatureLayout = [
13388
13384
  { name: "r", binary: "uint", size: 32 },
13389
13385
  { name: "s", binary: "uint", size: 32 },
@@ -13398,7 +13394,7 @@ var signatureItem = {
13398
13394
  }
13399
13395
  };
13400
13396
 
13401
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13397
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13402
13398
  var universalAddressItem = {
13403
13399
  binary: "bytes",
13404
13400
  size: 32,
@@ -13408,7 +13404,7 @@ var universalAddressItem = {
13408
13404
  }
13409
13405
  };
13410
13406
 
13411
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13407
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13412
13408
  var trimZeros = (arr) => {
13413
13409
  const i = arr.findIndex((x) => x !== 0);
13414
13410
  return -1 < i ? arr.slice(i) : new Uint8Array([]);
@@ -13426,7 +13422,7 @@ var fixedLengthStringItem = (size) => ({
13426
13422
  }
13427
13423
  });
13428
13424
 
13429
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13425
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13430
13426
  var guardianSignatureLayout = [
13431
13427
  { name: "guardianIndex", binary: "uint", size: 1 },
13432
13428
  { name: "signature", ...signatureItem }
@@ -13446,7 +13442,7 @@ var envelopeLayout = [
13446
13442
  ];
13447
13443
  var baseLayout = [...headerLayout, ...envelopeLayout];
13448
13444
 
13449
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13445
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13450
13446
  function getPayloadLayout(layoutLiteral) {
13451
13447
  const layout = payloadFactory.get(layoutLiteral);
13452
13448
  if (!layout)
@@ -13471,7 +13467,7 @@ function payloadDiscriminator(payloadLiterals, allowAmbiguous) {
13471
13467
  });
13472
13468
  }
13473
13469
 
13474
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13470
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13475
13471
  var depositWithPayloadLayout = (customPayload) => [
13476
13472
  payloadIdItem(1),
13477
13473
  {
@@ -13501,7 +13497,7 @@ var automaticCircleBridgeNamedPayloads = [
13501
13497
  ];
13502
13498
  registerPayloadTypes("AutomaticCircleBridge", automaticCircleBridgeNamedPayloads);
13503
13499
 
13504
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13500
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13505
13501
  var messageVersionItem = { binary: "uint", size: 4, custom: 0, omit: true };
13506
13502
  var circleBurnMessageLayout = [
13507
13503
  // messageBodyVersion is:
@@ -13531,7 +13527,7 @@ var circleBridgeNamedPayloads = [
13531
13527
  ];
13532
13528
  registerPayloadTypes("CircleBridge", circleBridgeNamedPayloads);
13533
13529
 
13534
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13530
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13535
13531
  var CircleBridge;
13536
13532
  (function(CircleBridge2) {
13537
13533
  const _protocol = "CircleBridge";
@@ -13555,7 +13551,7 @@ var AutomaticCircleBridge;
13555
13551
  AutomaticCircleBridge2.getTransferDiscriminator = lazyInstantiate(() => payloadDiscriminator([_protocol, _payloads]));
13556
13552
  })(AutomaticCircleBridge || (AutomaticCircleBridge = {}));
13557
13553
 
13558
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13554
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13559
13555
  var fixedLengthStringItem2 = {
13560
13556
  binary: "bytes",
13561
13557
  size: 32,
@@ -13617,7 +13613,7 @@ var tokenBridgeNamedPayloads = [
13617
13613
  ];
13618
13614
  registerPayloadTypes("TokenBridge", tokenBridgeNamedPayloads);
13619
13615
 
13620
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13616
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13621
13617
  var flagsItem = bitsetItem(["shouldWrapNative", "shouldUnwrapNative"]);
13622
13618
  var porticoFlagSetLayout = [
13623
13619
  { name: "recipientChain", binary: "uint", endianness: "little", size: 2 },
@@ -13652,7 +13648,7 @@ var namedPayloads = [
13652
13648
  ];
13653
13649
  registerPayloadTypes("PorticoBridge", namedPayloads);
13654
13650
 
13655
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13651
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13656
13652
  var PorticoBridge;
13657
13653
  (function(PorticoBridge2) {
13658
13654
  const _protocol = "PorticoBridge";
@@ -13672,7 +13668,7 @@ var PorticoBridge;
13672
13668
  };
13673
13669
  })(PorticoBridge || (PorticoBridge = {}));
13674
13670
 
13675
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13671
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13676
13672
  var encodedExecutionInfoItem = {
13677
13673
  binary: "bytes",
13678
13674
  layout: [
@@ -13739,7 +13735,7 @@ var namedPayloads2 = [
13739
13735
  ];
13740
13736
  registerPayloadTypes("Relayer", namedPayloads2);
13741
13737
 
13742
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13738
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13743
13739
  var connectPayload = [
13744
13740
  payloadIdItem(1),
13745
13741
  { name: "targetRelayerFee", ...amountItem },
@@ -13751,7 +13747,7 @@ var automaticTokenBridgeNamedPayloads = [
13751
13747
  ];
13752
13748
  registerPayloadTypes("AutomaticTokenBridge", automaticTokenBridgeNamedPayloads);
13753
13749
 
13754
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13750
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13755
13751
  var TokenBridge;
13756
13752
  (function(TokenBridge2) {
13757
13753
  const _protocol = "TokenBridge";
@@ -13771,21 +13767,21 @@ var ExecutorTokenBridge;
13771
13767
  const _payloads = ["TransferWithExecutorRelay"];
13772
13768
  })(ExecutorTokenBridge || (ExecutorTokenBridge = {}));
13773
13769
 
13774
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13770
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13775
13771
  var payload = [{ name: "targetRecipient", ...universalAddressItem }];
13776
13772
  var executorTokenBridgeNamedPayloads = [
13777
13773
  ["TransferWithExecutorRelay", transferWithPayloadLayout(payload)]
13778
13774
  ];
13779
13775
  registerPayloadTypes("ExecutorTokenBridge", executorTokenBridgeNamedPayloads);
13780
13776
 
13781
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13777
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13782
13778
  var modificationKinds = [
13783
13779
  ["Add", 1],
13784
13780
  ["Subtract", 2],
13785
13781
  ["Unknown", 3]
13786
13782
  ];
13787
13783
 
13788
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13784
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13789
13785
  var rawEvmAddressItem = {
13790
13786
  binary: "bytes",
13791
13787
  size: 20,
@@ -14047,7 +14043,7 @@ registerPayloadTypes("GeneralPurposeGovernance", generalPurposeGovernancePayload
14047
14043
  registerPayloadTypes("WormchainGovernance", wormchainGovernancePayloads);
14048
14044
  registerPayloadTypes("GatewayGovernance", gatewayGovernancePayloads);
14049
14045
 
14050
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
14046
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
14051
14047
  var TBTCBridge;
14052
14048
  (function(TBTCBridge2) {
14053
14049
  const _protocol = "TBTCBridge";
@@ -14065,7 +14061,7 @@ var TBTCBridge;
14065
14061
  };
14066
14062
  })(TBTCBridge || (TBTCBridge = {}));
14067
14063
 
14068
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14064
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14069
14065
  var tbtcPayloadLayout = [
14070
14066
  { name: "recipient", ...universalAddressItem }
14071
14067
  ];
@@ -14078,7 +14074,7 @@ var namedPayloads3 = [
14078
14074
  ];
14079
14075
  registerPayloadTypes("TBTCBridge", namedPayloads3);
14080
14076
 
14081
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14077
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14082
14078
  var gasInstructionLayout = [
14083
14079
  { name: "gasLimit", binary: "uint", size: 16 },
14084
14080
  { name: "msgValue", binary: "uint", size: 16 }
@@ -14116,7 +14112,7 @@ var relayInstructionsLayout = [
14116
14112
  }
14117
14113
  ];
14118
14114
 
14119
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14115
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14120
14116
  var quoteLayout = [
14121
14117
  {
14122
14118
  name: "quote",
@@ -14159,7 +14155,7 @@ var signedQuoteLayout = [
14159
14155
  { name: "signature", binary: "bytes", size: 65 }
14160
14156
  ];
14161
14157
 
14162
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.15.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14158
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.20.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14163
14159
  var RelayStatus;
14164
14160
  (function(RelayStatus2) {
14165
14161
  RelayStatus2["Pending"] = "pending";
@@ -14178,7 +14174,7 @@ var RequestPrefix;
14178
14174
  RequestPrefix2["ERC2"] = "ERC2";
14179
14175
  })(RequestPrefix || (RequestPrefix = {}));
14180
14176
 
14181
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14177
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14182
14178
  var RELAYER_ABI = [
14183
14179
  "function transferTokensWithRelay(address token, uint256 amount, uint16 targetChain, bytes32 targetRecipient, uint32 nonce, bytes32 dstTransferRecipient, bytes32 dstExecutionAddress, uint256 executionAmount, address refundAddr, bytes calldata signedQuoteBytes, bytes calldata relayInstructions) payable returns (uint64)",
14184
14180
  "function wrapAndTransferEthWithRelay(uint16 targetChain, bytes32 targetRecipient, uint32 nonce, bytes32 dstTransferRecipient, bytes32 dstExecutionAddress, uint256 executionAmount, address refundAddr, bytes calldata signedQuoteBytes, bytes calldata relayInstructions) payable returns (uint64)",
@@ -14300,14 +14296,14 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
14300
14296
  }
14301
14297
  };
14302
14298
 
14303
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14299
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14304
14300
  var ethers_contracts_exports2 = {};
14305
14301
  __export(ethers_contracts_exports2, {
14306
14302
  Bridge__factory: () => Bridge__factory,
14307
14303
  TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
14308
14304
  });
14309
14305
 
14310
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
14306
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
14311
14307
  var _abi2 = [
14312
14308
  {
14313
14309
  anonymous: false,
@@ -15547,7 +15543,7 @@ var Bridge__factory = class extends ContractFactory {
15547
15543
  }
15548
15544
  };
15549
15545
 
15550
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
15546
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
15551
15547
  var _abi3 = [
15552
15548
  {
15553
15549
  inputs: [
@@ -16618,7 +16614,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
16618
16614
  }
16619
16615
  };
16620
16616
 
16621
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.15.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16617
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.20.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16622
16618
  registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
16623
16619
  registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
16624
16620
  registerProtocol2(_platform2, "ExecutorTokenBridge", EvmExecutorTokenBridge);