@moonbeam-network/mrl 4.0.15 → 4.0.16

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@3.4.7_bufferutil@4.0.9_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@3.8.5_bufferutil@4.0.9_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@3.4.7_bufferutil@4.0.9_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@3.8.5_bufferutil@4.0.9_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@3.4.7_bufferutil@4.0.9_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@3.8.5_bufferutil@4.0.9_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@3.4.7_bufferutil@4.0.9_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@3.8.5_bufferutil@4.0.9_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@3.4.7_bufferutil@4.0.9_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@3.8.5_bufferutil@4.0.9_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
@@ -7316,7 +7316,7 @@ var ContractFactory = class _ContractFactory {
7316
7316
  }
7317
7317
  };
7318
7318
 
7319
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
7319
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
7320
7320
  var _abi = [
7321
7321
  {
7322
7322
  anonymous: false,
@@ -8386,10 +8386,10 @@ var Implementation__factory = class extends ContractFactory {
8386
8386
  }
8387
8387
  };
8388
8388
 
8389
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
8389
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
8390
8390
  registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
8391
8391
 
8392
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
8392
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
8393
8393
  var EvmTokenBridge = class _EvmTokenBridge {
8394
8394
  network;
8395
8395
  chain;
@@ -8527,7 +8527,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
8527
8527
  }
8528
8528
  };
8529
8529
 
8530
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
8530
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
8531
8531
  import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
8532
8532
  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";
8533
8533
  var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
@@ -8635,16 +8635,16 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
8635
8635
  }
8636
8636
  };
8637
8637
 
8638
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
8638
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
8639
8639
  import { nativeChainIds as nativeChainIds4, toChainId as toChainId3, signedQuoteLayout as signedQuoteLayout2, isNative as isNative4, serializeLayout, serialize as serialize5, contracts } from "@wormhole-foundation/sdk-connect";
8640
8640
  import { EvmAddress as EvmAddress4, EvmPlatform as EvmPlatform4, EvmUnsignedTransaction as EvmUnsignedTransaction4, addChainId as addChainId4, addFrom as addFrom4 } from "@wormhole-foundation/sdk-evm";
8641
8641
 
8642
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
8642
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
8643
8643
  var range = (length) => [...Array(length).keys()];
8644
8644
  var column = (tupArr, index) => tupArr.map((tuple) => tuple[index]);
8645
8645
  var zip = (arr) => range(arr[0].length).map((col) => range(arr.length).map((row) => arr[row][col]));
8646
8646
 
8647
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
8647
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
8648
8648
  function isMappableKey(key) {
8649
8649
  return ["string", "number", "symbol", "bigint", "boolean"].includes(typeof key);
8650
8650
  }
@@ -8720,7 +8720,7 @@ function constMap(mappingEntries, shape) {
8720
8720
  return toConstMap(toMapping(mappingEntries, shape));
8721
8721
  }
8722
8722
 
8723
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
8723
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
8724
8724
  function lazyInstantiate(factory) {
8725
8725
  let instance = null;
8726
8726
  return () => {
@@ -9612,7 +9612,7 @@ function bitsetItem(bitnames, size) {
9612
9612
  };
9613
9613
  }
9614
9614
 
9615
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
9615
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
9616
9616
  var encoding_exports = {};
9617
9617
  __export(encoding_exports, {
9618
9618
  b58: () => b58,
@@ -9999,7 +9999,7 @@ function genBech32(encoding2) {
9999
9999
  }
10000
10000
  var bech32 = /* @__PURE__ */ genBech32("bech32");
10001
10001
 
10002
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
10002
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
10003
10003
  var stripPrefix = (prefix, str) => str.startsWith(prefix) ? str.slice(prefix.length) : str;
10004
10004
  var isHexRegex = /^(?:0x)?[0-9a-fA-F]+$/;
10005
10005
  var hex = {
@@ -10095,7 +10095,7 @@ var bytes2 = {
10095
10095
  }
10096
10096
  };
10097
10097
 
10098
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
10098
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
10099
10099
  var chainIdAndChainEntries = [
10100
10100
  //Unlike the old sdk, we are not including an "Unset" chain with chainId 0 here because:
10101
10101
  // * no other types would be associated with it (such as contracts or a platform)
@@ -10140,6 +10140,8 @@ var chainIdAndChainEntries = [
10140
10140
  [53, "Converge"],
10141
10141
  [55, "Plume"],
10142
10142
  [57, "XRPLEVM"],
10143
+ [58, "Plasma"],
10144
+ [59, "CreditCoin"],
10143
10145
  [3104, "Wormchain"],
10144
10146
  [4e3, "Cosmoshub"],
10145
10147
  [4001, "Evmos"],
@@ -10156,7 +10158,9 @@ var chainIdAndChainEntries = [
10156
10158
  [10004, "BaseSepolia"],
10157
10159
  [10005, "OptimismSepolia"],
10158
10160
  [10006, "Holesky"],
10159
- [10007, "PolygonSepolia"]
10161
+ [10007, "PolygonSepolia"],
10162
+ // guardians are not connected to HyperCore; this is an arbitrary number chosen by Mayan
10163
+ [65e3, "HyperCore"]
10160
10164
  ];
10161
10165
  var [chainIds, chains] = zip(chainIdAndChainEntries);
10162
10166
  var chainToChainId = constMap(chainIdAndChainEntries, [1, 0]);
@@ -10181,7 +10185,7 @@ var toChain2 = (chain2) => {
10181
10185
  throw Error(`Cannot convert to Chain: ${chain2}`);
10182
10186
  };
10183
10187
 
10184
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10188
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
10185
10189
  var platformAndChainsEntries = [
10186
10190
  [
10187
10191
  "Evm",
@@ -10218,7 +10222,11 @@ var platformAndChainsEntries = [
10218
10222
  "Sonic",
10219
10223
  "Converge",
10220
10224
  "Plume",
10221
- "XRPLEVM"
10225
+ "XRPLEVM",
10226
+ "Plasma",
10227
+ "CreditCoin",
10228
+ "HyperCore"
10229
+ // not an actual EVM platform; treating as EVM
10222
10230
  ]
10223
10231
  ],
10224
10232
  [
@@ -10295,7 +10303,7 @@ var platformAddressFormatEntries = [
10295
10303
  ];
10296
10304
  var platformToAddressFormat = constMap(platformAddressFormatEntries);
10297
10305
 
10298
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.4.7/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10306
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@3.8.5/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
10299
10307
  var tbtc_exports = {};
10300
10308
  __export(tbtc_exports, {
10301
10309
  tbtcTokens: () => tbtcTokens
@@ -13117,7 +13125,7 @@ function sqrtMod(y) {
13117
13125
  var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
13118
13126
  var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
13119
13127
 
13120
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13128
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
13121
13129
  var algorandAppIdLayout = [
13122
13130
  { name: "appIdPrefix", binary: "bytes", custom: encoding_exports.bytes.encode("appID"), omit: true },
13123
13131
  { name: "appId", binary: "uint", size: 8 }
@@ -13177,7 +13185,7 @@ var UniversalAddress2 = class _UniversalAddress {
13177
13185
  }
13178
13186
  };
13179
13187
 
13180
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13188
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
13181
13189
  function isChainSpecificAddress(thing) {
13182
13190
  return typeof thing === "object" && "setChain" in thing;
13183
13191
  }
@@ -13207,7 +13215,7 @@ function toUniversal(chain2, address) {
13207
13215
  return new UniversalAddress2(address, platformToAddressFormat.get(platform));
13208
13216
  }
13209
13217
 
13210
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13218
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
13211
13219
  var composeLiteral = (protocol, payloadName) => protocol ? `${protocol}:${payloadName}` : payloadName;
13212
13220
  var payloadFactory = /* @__PURE__ */ new Map();
13213
13221
  function registerPayloadType(protocol, name, layout) {
@@ -13221,13 +13229,13 @@ function registerPayloadTypes(protocol, payloads) {
13221
13229
  registerPayloadType(protocol, name, layout);
13222
13230
  }
13223
13231
 
13224
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13232
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
13225
13233
  var amountItem = {
13226
13234
  binary: "uint",
13227
13235
  size: 32
13228
13236
  };
13229
13237
 
13230
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13238
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
13231
13239
  var chainItemBase = { binary: "uint", size: 2 };
13232
13240
  var chainItem = (opts) => ({
13233
13241
  ...chainItemBase,
@@ -13248,7 +13256,7 @@ var chainItem = (opts) => ({
13248
13256
  }
13249
13257
  });
13250
13258
 
13251
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13259
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
13252
13260
  var circleDomainItem = {
13253
13261
  binary: "uint",
13254
13262
  size: 4
@@ -13258,19 +13266,19 @@ var circleNonceItem = {
13258
13266
  size: 8
13259
13267
  };
13260
13268
 
13261
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13269
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
13262
13270
  var dateConversion = {
13263
13271
  to: (encoded) => new Date(Number(encoded * 1000n)),
13264
13272
  from: (decoded) => BigInt(decoded.getTime()) / 1000n
13265
13273
  };
13266
13274
 
13267
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13275
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
13268
13276
  var guardianSetItem = {
13269
13277
  binary: "uint",
13270
13278
  size: 4
13271
13279
  };
13272
13280
 
13273
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13281
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
13274
13282
  var payloadIdItem = (id2) => ({
13275
13283
  name: "payloadId",
13276
13284
  binary: "uint",
@@ -13279,13 +13287,13 @@ var payloadIdItem = (id2) => ({
13279
13287
  omit: true
13280
13288
  });
13281
13289
 
13282
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13290
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
13283
13291
  var sequenceItem = {
13284
13292
  binary: "uint",
13285
13293
  size: 8
13286
13294
  };
13287
13295
 
13288
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13296
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
13289
13297
  var Signature = class {
13290
13298
  r;
13291
13299
  s;
@@ -13329,7 +13337,7 @@ var SignatureUtils;
13329
13337
  SignatureUtils2.recover = recover;
13330
13338
  })(SignatureUtils || (SignatureUtils = {}));
13331
13339
 
13332
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13340
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
13333
13341
  var signatureLayout = [
13334
13342
  { name: "r", binary: "uint", size: 32 },
13335
13343
  { name: "s", binary: "uint", size: 32 },
@@ -13344,7 +13352,7 @@ var signatureItem = {
13344
13352
  }
13345
13353
  };
13346
13354
 
13347
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13355
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
13348
13356
  var universalAddressItem = {
13349
13357
  binary: "bytes",
13350
13358
  size: 32,
@@ -13354,7 +13362,7 @@ var universalAddressItem = {
13354
13362
  }
13355
13363
  };
13356
13364
 
13357
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13365
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
13358
13366
  var trimZeros = (arr) => {
13359
13367
  const i = arr.findIndex((x) => x !== 0);
13360
13368
  return -1 < i ? arr.slice(i) : new Uint8Array([]);
@@ -13372,7 +13380,7 @@ var fixedLengthStringItem = (size) => ({
13372
13380
  }
13373
13381
  });
13374
13382
 
13375
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13383
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
13376
13384
  var guardianSignatureLayout = [
13377
13385
  { name: "guardianIndex", binary: "uint", size: 1 },
13378
13386
  { name: "signature", ...signatureItem }
@@ -13392,7 +13400,7 @@ var envelopeLayout = [
13392
13400
  ];
13393
13401
  var baseLayout = [...headerLayout, ...envelopeLayout];
13394
13402
 
13395
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13403
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
13396
13404
  function getPayloadLayout(layoutLiteral) {
13397
13405
  const layout = payloadFactory.get(layoutLiteral);
13398
13406
  if (!layout)
@@ -13417,7 +13425,7 @@ function payloadDiscriminator(payloadLiterals, allowAmbiguous) {
13417
13425
  });
13418
13426
  }
13419
13427
 
13420
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13428
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
13421
13429
  var depositWithPayloadLayout = (customPayload) => [
13422
13430
  payloadIdItem(1),
13423
13431
  {
@@ -13447,7 +13455,7 @@ var automaticCircleBridgeNamedPayloads = [
13447
13455
  ];
13448
13456
  registerPayloadTypes("AutomaticCircleBridge", automaticCircleBridgeNamedPayloads);
13449
13457
 
13450
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13458
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
13451
13459
  var messageVersionItem = { binary: "uint", size: 4, custom: 0, omit: true };
13452
13460
  var circleBurnMessageLayout = [
13453
13461
  // messageBodyVersion is:
@@ -13477,7 +13485,7 @@ var circleBridgeNamedPayloads = [
13477
13485
  ];
13478
13486
  registerPayloadTypes("CircleBridge", circleBridgeNamedPayloads);
13479
13487
 
13480
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13488
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
13481
13489
  var CircleBridge;
13482
13490
  (function(CircleBridge2) {
13483
13491
  const _protocol = "CircleBridge";
@@ -13501,7 +13509,7 @@ var AutomaticCircleBridge;
13501
13509
  AutomaticCircleBridge2.getTransferDiscriminator = lazyInstantiate(() => payloadDiscriminator([_protocol, _payloads]));
13502
13510
  })(AutomaticCircleBridge || (AutomaticCircleBridge = {}));
13503
13511
 
13504
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13512
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
13505
13513
  var fixedLengthStringItem2 = {
13506
13514
  binary: "bytes",
13507
13515
  size: 32,
@@ -13563,7 +13571,7 @@ var tokenBridgeNamedPayloads = [
13563
13571
  ];
13564
13572
  registerPayloadTypes("TokenBridge", tokenBridgeNamedPayloads);
13565
13573
 
13566
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13574
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
13567
13575
  var flagsItem = bitsetItem(["shouldWrapNative", "shouldUnwrapNative"]);
13568
13576
  var porticoFlagSetLayout = [
13569
13577
  { name: "recipientChain", binary: "uint", endianness: "little", size: 2 },
@@ -13598,7 +13606,7 @@ var namedPayloads = [
13598
13606
  ];
13599
13607
  registerPayloadTypes("PorticoBridge", namedPayloads);
13600
13608
 
13601
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13609
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
13602
13610
  var PorticoBridge;
13603
13611
  (function(PorticoBridge2) {
13604
13612
  const _protocol = "PorticoBridge";
@@ -13618,7 +13626,7 @@ var PorticoBridge;
13618
13626
  };
13619
13627
  })(PorticoBridge || (PorticoBridge = {}));
13620
13628
 
13621
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13629
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
13622
13630
  var encodedExecutionInfoItem = {
13623
13631
  binary: "bytes",
13624
13632
  layout: [
@@ -13685,7 +13693,7 @@ var namedPayloads2 = [
13685
13693
  ];
13686
13694
  registerPayloadTypes("Relayer", namedPayloads2);
13687
13695
 
13688
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13696
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
13689
13697
  var connectPayload = [
13690
13698
  payloadIdItem(1),
13691
13699
  { name: "targetRelayerFee", ...amountItem },
@@ -13697,7 +13705,7 @@ var automaticTokenBridgeNamedPayloads = [
13697
13705
  ];
13698
13706
  registerPayloadTypes("AutomaticTokenBridge", automaticTokenBridgeNamedPayloads);
13699
13707
 
13700
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13708
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
13701
13709
  var TokenBridge;
13702
13710
  (function(TokenBridge2) {
13703
13711
  const _protocol = "TokenBridge";
@@ -13717,21 +13725,21 @@ var ExecutorTokenBridge;
13717
13725
  const _payloads = ["TransferWithExecutorRelay"];
13718
13726
  })(ExecutorTokenBridge || (ExecutorTokenBridge = {}));
13719
13727
 
13720
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13728
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
13721
13729
  var payload = [{ name: "targetRecipient", ...universalAddressItem }];
13722
13730
  var executorTokenBridgeNamedPayloads = [
13723
13731
  ["TransferWithExecutorRelay", transferWithPayloadLayout(payload)]
13724
13732
  ];
13725
13733
  registerPayloadTypes("ExecutorTokenBridge", executorTokenBridgeNamedPayloads);
13726
13734
 
13727
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13735
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
13728
13736
  var modificationKinds = [
13729
13737
  ["Add", 1],
13730
13738
  ["Subtract", 2],
13731
13739
  ["Unknown", 3]
13732
13740
  ];
13733
13741
 
13734
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13742
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
13735
13743
  var rawEvmAddressItem = {
13736
13744
  binary: "bytes",
13737
13745
  size: 20,
@@ -13993,7 +14001,7 @@ registerPayloadTypes("GeneralPurposeGovernance", generalPurposeGovernancePayload
13993
14001
  registerPayloadTypes("WormchainGovernance", wormchainGovernancePayloads);
13994
14002
  registerPayloadTypes("GatewayGovernance", gatewayGovernancePayloads);
13995
14003
 
13996
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
14004
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
13997
14005
  var TBTCBridge;
13998
14006
  (function(TBTCBridge2) {
13999
14007
  const _protocol = "TBTCBridge";
@@ -14011,7 +14019,7 @@ var TBTCBridge;
14011
14019
  };
14012
14020
  })(TBTCBridge || (TBTCBridge = {}));
14013
14021
 
14014
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14022
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
14015
14023
  var tbtcPayloadLayout = [
14016
14024
  { name: "recipient", ...universalAddressItem }
14017
14025
  ];
@@ -14024,7 +14032,7 @@ var namedPayloads3 = [
14024
14032
  ];
14025
14033
  registerPayloadTypes("TBTCBridge", namedPayloads3);
14026
14034
 
14027
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14035
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
14028
14036
  var gasInstructionLayout = [
14029
14037
  { name: "gasLimit", binary: "uint", size: 16 },
14030
14038
  { name: "msgValue", binary: "uint", size: 16 }
@@ -14053,7 +14061,7 @@ var relayInstructionsLayout = [
14053
14061
  }
14054
14062
  ];
14055
14063
 
14056
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14064
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
14057
14065
  var quoteLayout = [
14058
14066
  {
14059
14067
  name: "quote",
@@ -14096,7 +14104,7 @@ var signedQuoteLayout = [
14096
14104
  { name: "signature", binary: "bytes", size: 65 }
14097
14105
  ];
14098
14106
 
14099
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.4.7/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14107
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@3.8.5/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
14100
14108
  var RelayStatus;
14101
14109
  (function(RelayStatus2) {
14102
14110
  RelayStatus2["Pending"] = "pending";
@@ -14115,7 +14123,7 @@ var RequestPrefix;
14115
14123
  RequestPrefix2["ERC2"] = "ERC2";
14116
14124
  })(RequestPrefix || (RequestPrefix = {}));
14117
14125
 
14118
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14126
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
14119
14127
  var RELAYER_ABI = [
14120
14128
  "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)",
14121
14129
  "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)",
@@ -14234,14 +14242,14 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
14234
14242
  }
14235
14243
  };
14236
14244
 
14237
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14245
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
14238
14246
  var ethers_contracts_exports2 = {};
14239
14247
  __export(ethers_contracts_exports2, {
14240
14248
  Bridge__factory: () => Bridge__factory,
14241
14249
  TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
14242
14250
  });
14243
14251
 
14244
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
14252
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
14245
14253
  var _abi2 = [
14246
14254
  {
14247
14255
  anonymous: false,
@@ -15481,7 +15489,7 @@ var Bridge__factory = class extends ContractFactory {
15481
15489
  }
15482
15490
  };
15483
15491
 
15484
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
15492
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
15485
15493
  var _abi3 = [
15486
15494
  {
15487
15495
  inputs: [
@@ -16552,7 +16560,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
16552
16560
  }
16553
16561
  };
16554
16562
 
16555
- // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.4.7_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16563
+ // ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@3.8.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
16556
16564
  registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
16557
16565
  registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
16558
16566
  registerProtocol2(_platform2, "ExecutorTokenBridge", EvmExecutorTokenBridge);