@moonbeam-network/mrl 4.3.1 → 4.3.2

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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.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.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
8660
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
8665
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
8741
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
9633
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
10020
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
10116
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.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)
@@ -10163,6 +10163,7 @@ var chainIdAndChainEntries = [
10163
10163
  [60, "Stacks"],
10164
10164
  [63, "Moca"],
10165
10165
  [64, "MegaETH"],
10166
+ [66, "Xrpl"],
10166
10167
  [67, "ZeroGravity"],
10167
10168
  [3104, "Wormchain"],
10168
10169
  [4e3, "Cosmoshub"],
@@ -10208,7 +10209,7 @@ var toChain2 = (chain2) => {
10208
10209
  throw Error(`Cannot convert to Chain: ${chain2}`);
10209
10210
  };
10210
10211
 
10211
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10212
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10212
10213
  var platformAndChainsEntries = [
10213
10214
  [
10214
10215
  "Evm",
@@ -10318,6 +10319,12 @@ var platformAndChainsEntries = [
10318
10319
  [
10319
10320
  "Stacks"
10320
10321
  ]
10322
+ ],
10323
+ [
10324
+ "Xrpl",
10325
+ [
10326
+ "Xrpl"
10327
+ ]
10321
10328
  ]
10322
10329
  ];
10323
10330
  var platforms = column(platformAndChainsEntries, 0);
@@ -10333,11 +10340,12 @@ var platformAddressFormatEntries = [
10333
10340
  ["Sui", "hex"],
10334
10341
  ["Aptos", "hex"],
10335
10342
  ["Near", "sha256"],
10336
- ["Stacks", "keccak256"]
10343
+ ["Stacks", "keccak256"],
10344
+ ["Xrpl", "base58"]
10337
10345
  ];
10338
10346
  var platformToAddressFormat = constMap(platformAddressFormatEntries);
10339
10347
 
10340
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10348
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10341
10349
  var tbtc_exports = {};
10342
10350
  __export(tbtc_exports, {
10343
10351
  tbtcTokens: () => tbtcTokens
@@ -13159,7 +13167,7 @@ function sqrtMod(y) {
13159
13167
  var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
13160
13168
  var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
13161
13169
 
13162
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13170
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13163
13171
  var algorandAppIdLayout = [
13164
13172
  { name: "appIdPrefix", binary: "bytes", custom: encoding_exports.bytes.encode("appID"), omit: true },
13165
13173
  { name: "appId", binary: "uint", size: 8 }
@@ -13223,7 +13231,7 @@ var UniversalAddress2 = class _UniversalAddress {
13223
13231
  }
13224
13232
  };
13225
13233
 
13226
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13234
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13227
13235
  function isChainSpecificAddress(thing) {
13228
13236
  return typeof thing === "object" && "setChain" in thing;
13229
13237
  }
@@ -13253,7 +13261,7 @@ function toUniversal(chain2, address) {
13253
13261
  return new UniversalAddress2(address, platformToAddressFormat.get(platform));
13254
13262
  }
13255
13263
 
13256
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13264
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13257
13265
  var composeLiteral = (protocol, payloadName) => protocol ? `${protocol}:${payloadName}` : payloadName;
13258
13266
  var payloadFactory = /* @__PURE__ */ new Map();
13259
13267
  function registerPayloadType(protocol, name, layout) {
@@ -13267,13 +13275,13 @@ function registerPayloadTypes(protocol, payloads) {
13267
13275
  registerPayloadType(protocol, name, layout);
13268
13276
  }
13269
13277
 
13270
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13278
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13271
13279
  var amountItem = {
13272
13280
  binary: "uint",
13273
13281
  size: 32
13274
13282
  };
13275
13283
 
13276
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13284
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13277
13285
  var chainItemBase = { binary: "uint", size: 2 };
13278
13286
  var chainItem = (opts) => ({
13279
13287
  ...chainItemBase,
@@ -13294,7 +13302,7 @@ var chainItem = (opts) => ({
13294
13302
  }
13295
13303
  });
13296
13304
 
13297
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13305
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13298
13306
  var circleDomainItem = {
13299
13307
  binary: "uint",
13300
13308
  size: 4
@@ -13304,19 +13312,19 @@ var circleNonceItem = {
13304
13312
  size: 8
13305
13313
  };
13306
13314
 
13307
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13315
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13308
13316
  var dateConversion = {
13309
13317
  to: (encoded) => new Date(Number(encoded * 1000n)),
13310
13318
  from: (decoded) => BigInt(decoded.getTime()) / 1000n
13311
13319
  };
13312
13320
 
13313
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13321
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13314
13322
  var guardianSetItem = {
13315
13323
  binary: "uint",
13316
13324
  size: 4
13317
13325
  };
13318
13326
 
13319
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13327
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13320
13328
  var payloadIdItem = (id2) => ({
13321
13329
  name: "payloadId",
13322
13330
  binary: "uint",
@@ -13325,13 +13333,13 @@ var payloadIdItem = (id2) => ({
13325
13333
  omit: true
13326
13334
  });
13327
13335
 
13328
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13336
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13329
13337
  var sequenceItem = {
13330
13338
  binary: "uint",
13331
13339
  size: 8
13332
13340
  };
13333
13341
 
13334
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13342
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13335
13343
  var Signature = class {
13336
13344
  r;
13337
13345
  s;
@@ -13375,7 +13383,7 @@ var SignatureUtils;
13375
13383
  SignatureUtils2.recover = recover;
13376
13384
  })(SignatureUtils || (SignatureUtils = {}));
13377
13385
 
13378
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13386
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13379
13387
  var signatureLayout = [
13380
13388
  { name: "r", binary: "uint", size: 32 },
13381
13389
  { name: "s", binary: "uint", size: 32 },
@@ -13390,7 +13398,7 @@ var signatureItem = {
13390
13398
  }
13391
13399
  };
13392
13400
 
13393
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13401
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13394
13402
  var universalAddressItem = {
13395
13403
  binary: "bytes",
13396
13404
  size: 32,
@@ -13400,7 +13408,7 @@ var universalAddressItem = {
13400
13408
  }
13401
13409
  };
13402
13410
 
13403
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13411
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13404
13412
  var trimZeros = (arr) => {
13405
13413
  const i = arr.findIndex((x) => x !== 0);
13406
13414
  return -1 < i ? arr.slice(i) : new Uint8Array([]);
@@ -13418,7 +13426,7 @@ var fixedLengthStringItem = (size) => ({
13418
13426
  }
13419
13427
  });
13420
13428
 
13421
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13429
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13422
13430
  var guardianSignatureLayout = [
13423
13431
  { name: "guardianIndex", binary: "uint", size: 1 },
13424
13432
  { name: "signature", ...signatureItem }
@@ -13438,7 +13446,7 @@ var envelopeLayout = [
13438
13446
  ];
13439
13447
  var baseLayout = [...headerLayout, ...envelopeLayout];
13440
13448
 
13441
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13449
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13442
13450
  function getPayloadLayout(layoutLiteral) {
13443
13451
  const layout = payloadFactory.get(layoutLiteral);
13444
13452
  if (!layout)
@@ -13463,7 +13471,7 @@ function payloadDiscriminator(payloadLiterals, allowAmbiguous) {
13463
13471
  });
13464
13472
  }
13465
13473
 
13466
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13474
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13467
13475
  var depositWithPayloadLayout = (customPayload) => [
13468
13476
  payloadIdItem(1),
13469
13477
  {
@@ -13493,7 +13501,7 @@ var automaticCircleBridgeNamedPayloads = [
13493
13501
  ];
13494
13502
  registerPayloadTypes("AutomaticCircleBridge", automaticCircleBridgeNamedPayloads);
13495
13503
 
13496
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13504
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13497
13505
  var messageVersionItem = { binary: "uint", size: 4, custom: 0, omit: true };
13498
13506
  var circleBurnMessageLayout = [
13499
13507
  // messageBodyVersion is:
@@ -13523,7 +13531,7 @@ var circleBridgeNamedPayloads = [
13523
13531
  ];
13524
13532
  registerPayloadTypes("CircleBridge", circleBridgeNamedPayloads);
13525
13533
 
13526
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13534
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13527
13535
  var CircleBridge;
13528
13536
  (function(CircleBridge2) {
13529
13537
  const _protocol = "CircleBridge";
@@ -13547,7 +13555,7 @@ var AutomaticCircleBridge;
13547
13555
  AutomaticCircleBridge2.getTransferDiscriminator = lazyInstantiate(() => payloadDiscriminator([_protocol, _payloads]));
13548
13556
  })(AutomaticCircleBridge || (AutomaticCircleBridge = {}));
13549
13557
 
13550
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13558
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13551
13559
  var fixedLengthStringItem2 = {
13552
13560
  binary: "bytes",
13553
13561
  size: 32,
@@ -13609,7 +13617,7 @@ var tokenBridgeNamedPayloads = [
13609
13617
  ];
13610
13618
  registerPayloadTypes("TokenBridge", tokenBridgeNamedPayloads);
13611
13619
 
13612
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13620
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13613
13621
  var flagsItem = bitsetItem(["shouldWrapNative", "shouldUnwrapNative"]);
13614
13622
  var porticoFlagSetLayout = [
13615
13623
  { name: "recipientChain", binary: "uint", endianness: "little", size: 2 },
@@ -13644,7 +13652,7 @@ var namedPayloads = [
13644
13652
  ];
13645
13653
  registerPayloadTypes("PorticoBridge", namedPayloads);
13646
13654
 
13647
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13655
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13648
13656
  var PorticoBridge;
13649
13657
  (function(PorticoBridge2) {
13650
13658
  const _protocol = "PorticoBridge";
@@ -13664,7 +13672,7 @@ var PorticoBridge;
13664
13672
  };
13665
13673
  })(PorticoBridge || (PorticoBridge = {}));
13666
13674
 
13667
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13675
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13668
13676
  var encodedExecutionInfoItem = {
13669
13677
  binary: "bytes",
13670
13678
  layout: [
@@ -13731,7 +13739,7 @@ var namedPayloads2 = [
13731
13739
  ];
13732
13740
  registerPayloadTypes("Relayer", namedPayloads2);
13733
13741
 
13734
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13742
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13735
13743
  var connectPayload = [
13736
13744
  payloadIdItem(1),
13737
13745
  { name: "targetRelayerFee", ...amountItem },
@@ -13743,7 +13751,7 @@ var automaticTokenBridgeNamedPayloads = [
13743
13751
  ];
13744
13752
  registerPayloadTypes("AutomaticTokenBridge", automaticTokenBridgeNamedPayloads);
13745
13753
 
13746
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13754
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13747
13755
  var TokenBridge;
13748
13756
  (function(TokenBridge2) {
13749
13757
  const _protocol = "TokenBridge";
@@ -13763,21 +13771,21 @@ var ExecutorTokenBridge;
13763
13771
  const _payloads = ["TransferWithExecutorRelay"];
13764
13772
  })(ExecutorTokenBridge || (ExecutorTokenBridge = {}));
13765
13773
 
13766
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13774
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13767
13775
  var payload = [{ name: "targetRecipient", ...universalAddressItem }];
13768
13776
  var executorTokenBridgeNamedPayloads = [
13769
13777
  ["TransferWithExecutorRelay", transferWithPayloadLayout(payload)]
13770
13778
  ];
13771
13779
  registerPayloadTypes("ExecutorTokenBridge", executorTokenBridgeNamedPayloads);
13772
13780
 
13773
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13781
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13774
13782
  var modificationKinds = [
13775
13783
  ["Add", 1],
13776
13784
  ["Subtract", 2],
13777
13785
  ["Unknown", 3]
13778
13786
  ];
13779
13787
 
13780
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13788
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13781
13789
  var rawEvmAddressItem = {
13782
13790
  binary: "bytes",
13783
13791
  size: 20,
@@ -14039,7 +14047,7 @@ registerPayloadTypes("GeneralPurposeGovernance", generalPurposeGovernancePayload
14039
14047
  registerPayloadTypes("WormchainGovernance", wormchainGovernancePayloads);
14040
14048
  registerPayloadTypes("GatewayGovernance", gatewayGovernancePayloads);
14041
14049
 
14042
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
14050
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
14043
14051
  var TBTCBridge;
14044
14052
  (function(TBTCBridge2) {
14045
14053
  const _protocol = "TBTCBridge";
@@ -14057,7 +14065,7 @@ var TBTCBridge;
14057
14065
  };
14058
14066
  })(TBTCBridge || (TBTCBridge = {}));
14059
14067
 
14060
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14068
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14061
14069
  var tbtcPayloadLayout = [
14062
14070
  { name: "recipient", ...universalAddressItem }
14063
14071
  ];
@@ -14070,7 +14078,7 @@ var namedPayloads3 = [
14070
14078
  ];
14071
14079
  registerPayloadTypes("TBTCBridge", namedPayloads3);
14072
14080
 
14073
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14081
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14074
14082
  var gasInstructionLayout = [
14075
14083
  { name: "gasLimit", binary: "uint", size: 16 },
14076
14084
  { name: "msgValue", binary: "uint", size: 16 }
@@ -14108,7 +14116,7 @@ var relayInstructionsLayout = [
14108
14116
  }
14109
14117
  ];
14110
14118
 
14111
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14119
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14112
14120
  var quoteLayout = [
14113
14121
  {
14114
14122
  name: "quote",
@@ -14151,7 +14159,7 @@ var signedQuoteLayout = [
14151
14159
  { name: "signature", binary: "bytes", size: 65 }
14152
14160
  ];
14153
14161
 
14154
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14162
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14155
14163
  var RelayStatus;
14156
14164
  (function(RelayStatus2) {
14157
14165
  RelayStatus2["Pending"] = "pending";
@@ -14170,7 +14178,7 @@ var RequestPrefix;
14170
14178
  RequestPrefix2["ERC2"] = "ERC2";
14171
14179
  })(RequestPrefix || (RequestPrefix = {}));
14172
14180
 
14173
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14181
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.12.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14174
14182
  var RELAYER_ABI = [
14175
14183
  "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)",
14176
14184
  "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)",
@@ -14292,14 +14300,14 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
14292
14300
  }
14293
14301
  };
14294
14302
 
14295
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14303
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.12.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14296
14304
  var ethers_contracts_exports2 = {};
14297
14305
  __export(ethers_contracts_exports2, {
14298
14306
  Bridge__factory: () => Bridge__factory,
14299
14307
  TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
14300
14308
  });
14301
14309
 
14302
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.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
14310
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.12.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
14303
14311
  var _abi2 = [
14304
14312
  {
14305
14313
  anonymous: false,
@@ -15539,7 +15547,7 @@ var Bridge__factory = class extends ContractFactory {
15539
15547
  }
15540
15548
  };
15541
15549
 
15542
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.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
15550
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.12.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
15543
15551
  var _abi3 = [
15544
15552
  {
15545
15553
  inputs: [
@@ -16610,7 +16618,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
16610
16618
  }
16611
16619
  };
16612
16620
 
16613
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16621
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.12.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16614
16622
  registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
16615
16623
  registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
16616
16624
  registerProtocol2(_platform2, "ExecutorTokenBridge", EvmExecutorTokenBridge);