@moonbeam-network/mrl 4.3.0 → 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.d.mts +95 -0
- package/build/index.d.ts +1 -1
- package/build/index.mjs +135 -106
- package/build/index.mjs.map +1 -1
- package/package.json +9 -9
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,16 +150,16 @@ var EvmWormholeCore = class _EvmWormholeCore {
|
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.
|
|
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
|
|
157
157
|
});
|
|
158
158
|
|
|
159
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
160
|
-
var version = "6.
|
|
159
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/_version.js
|
|
160
|
+
var version = "6.16.0";
|
|
161
161
|
|
|
162
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
162
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/properties.js
|
|
163
163
|
function checkType(value, type, name) {
|
|
164
164
|
const types = type.split("|").map((t) => t.trim());
|
|
165
165
|
for (let i = 0; i < types.length; i++) {
|
|
@@ -200,7 +200,7 @@ function defineProperties(target, values, types) {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
203
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/errors.js
|
|
204
204
|
function stringify(value, seen) {
|
|
205
205
|
if (value == null) {
|
|
206
206
|
return "null";
|
|
@@ -359,7 +359,7 @@ function assertPrivate(givenGuard, guard, className) {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
362
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/data.js
|
|
363
363
|
function _getBytes(value, name, copy) {
|
|
364
364
|
if (value instanceof Uint8Array) {
|
|
365
365
|
if (copy) {
|
|
@@ -367,7 +367,7 @@ function _getBytes(value, name, copy) {
|
|
|
367
367
|
}
|
|
368
368
|
return value;
|
|
369
369
|
}
|
|
370
|
-
if (typeof value === "string" && value.match(/^0x
|
|
370
|
+
if (typeof value === "string" && value.length % 2 === 0 && value.match(/^0x[0-9a-f]*$/i)) {
|
|
371
371
|
const result = new Uint8Array((value.length - 2) / 2);
|
|
372
372
|
let offset = 2;
|
|
373
373
|
for (let i = 0; i < result.length; i++) {
|
|
@@ -446,7 +446,7 @@ function zeroPadBytes(data, length) {
|
|
|
446
446
|
return zeroPad(data, length, false);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
449
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/maths.js
|
|
450
450
|
var BN_0 = BigInt(0);
|
|
451
451
|
var BN_1 = BigInt(1);
|
|
452
452
|
var maxValue = 9007199254740991;
|
|
@@ -568,6 +568,9 @@ function toBeHex(_value, _width) {
|
|
|
568
568
|
}
|
|
569
569
|
} else {
|
|
570
570
|
const width = getNumber(_width, "width");
|
|
571
|
+
if (width === 0 && value === BN_0) {
|
|
572
|
+
return "0x";
|
|
573
|
+
}
|
|
571
574
|
assert(width * 2 >= result.length, `value exceeds width (${width} bytes)`, "NUMERIC_FAULT", {
|
|
572
575
|
operation: "toBeHex",
|
|
573
576
|
fault: "overflow",
|
|
@@ -579,15 +582,27 @@ function toBeHex(_value, _width) {
|
|
|
579
582
|
}
|
|
580
583
|
return "0x" + result;
|
|
581
584
|
}
|
|
582
|
-
function toBeArray(_value) {
|
|
585
|
+
function toBeArray(_value, _width) {
|
|
583
586
|
const value = getUint(_value, "value");
|
|
584
587
|
if (value === BN_0) {
|
|
585
|
-
|
|
588
|
+
const width = _width != null ? getNumber(_width, "width") : 0;
|
|
589
|
+
return new Uint8Array(width);
|
|
586
590
|
}
|
|
587
591
|
let hex2 = value.toString(16);
|
|
588
592
|
if (hex2.length % 2) {
|
|
589
593
|
hex2 = "0" + hex2;
|
|
590
594
|
}
|
|
595
|
+
if (_width != null) {
|
|
596
|
+
const width = getNumber(_width, "width");
|
|
597
|
+
while (hex2.length < width * 2) {
|
|
598
|
+
hex2 = "00" + hex2;
|
|
599
|
+
}
|
|
600
|
+
assert(width * 2 === hex2.length, `value exceeds width (${width} bytes)`, "NUMERIC_FAULT", {
|
|
601
|
+
operation: "toBeArray",
|
|
602
|
+
fault: "overflow",
|
|
603
|
+
value: _value
|
|
604
|
+
});
|
|
605
|
+
}
|
|
591
606
|
const result = new Uint8Array(hex2.length / 2);
|
|
592
607
|
for (let i = 0; i < result.length; i++) {
|
|
593
608
|
const offset = i * 2;
|
|
@@ -596,7 +611,7 @@ function toBeArray(_value) {
|
|
|
596
611
|
return result;
|
|
597
612
|
}
|
|
598
613
|
|
|
599
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
614
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/events.js
|
|
600
615
|
var EventPayload = class {
|
|
601
616
|
/**
|
|
602
617
|
* The event filter.
|
|
@@ -626,7 +641,7 @@ var EventPayload = class {
|
|
|
626
641
|
}
|
|
627
642
|
};
|
|
628
643
|
|
|
629
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
644
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/utf8.js
|
|
630
645
|
function errorFunc(reason, offset, bytes3, output2, badCodepoint) {
|
|
631
646
|
assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes3);
|
|
632
647
|
}
|
|
@@ -771,7 +786,7 @@ function toUtf8String(bytes3, onError) {
|
|
|
771
786
|
return _toUtf8String(getUtf8CodePoints(bytes3, onError));
|
|
772
787
|
}
|
|
773
788
|
|
|
774
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
789
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/rlp-encode.js
|
|
775
790
|
function arrayifyInteger(value) {
|
|
776
791
|
const result = [];
|
|
777
792
|
while (value) {
|
|
@@ -815,7 +830,7 @@ function encodeRlp(object) {
|
|
|
815
830
|
return result;
|
|
816
831
|
}
|
|
817
832
|
|
|
818
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
833
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/abstract-coder.js
|
|
819
834
|
var WordSize = 32;
|
|
820
835
|
var Padding = new Uint8Array(WordSize);
|
|
821
836
|
var passProperties = ["then"];
|
|
@@ -1488,7 +1503,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1488
1503
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1489
1504
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1490
1505
|
|
|
1491
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1506
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/crypto/keccak.js
|
|
1492
1507
|
var locked = false;
|
|
1493
1508
|
var _keccak256 = function(data) {
|
|
1494
1509
|
return keccak_256(data);
|
|
@@ -1510,10 +1525,10 @@ keccak256.register = function(func) {
|
|
|
1510
1525
|
};
|
|
1511
1526
|
Object.freeze(keccak256);
|
|
1512
1527
|
|
|
1513
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1528
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/constants/addresses.js
|
|
1514
1529
|
var ZeroAddress = "0x0000000000000000000000000000000000000000";
|
|
1515
1530
|
|
|
1516
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1531
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/address.js
|
|
1517
1532
|
var BN_02 = BigInt(0);
|
|
1518
1533
|
var BN_36 = BigInt(36);
|
|
1519
1534
|
function getChecksumAddress(address) {
|
|
@@ -1596,7 +1611,7 @@ function getAddress(address) {
|
|
|
1596
1611
|
assertArgument(false, "invalid address", "address", address);
|
|
1597
1612
|
}
|
|
1598
1613
|
|
|
1599
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1614
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/contract-address.js
|
|
1600
1615
|
function getCreateAddress(tx) {
|
|
1601
1616
|
const from = getAddress(tx.from);
|
|
1602
1617
|
const nonce = getBigInt(tx.nonce, "tx.nonce");
|
|
@@ -1611,7 +1626,7 @@ function getCreateAddress(tx) {
|
|
|
1611
1626
|
return getAddress(dataSlice(keccak256(encodeRlp([from, nonceHex])), 12));
|
|
1612
1627
|
}
|
|
1613
1628
|
|
|
1614
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1629
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/checks.js
|
|
1615
1630
|
function isAddressable(value) {
|
|
1616
1631
|
return value && typeof value.getAddress === "function";
|
|
1617
1632
|
}
|
|
@@ -1638,7 +1653,7 @@ function resolveAddress(target, resolver) {
|
|
|
1638
1653
|
assertArgument(false, "unsupported addressable value", "target", target);
|
|
1639
1654
|
}
|
|
1640
1655
|
|
|
1641
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1656
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/typed.js
|
|
1642
1657
|
var _gaurd = {};
|
|
1643
1658
|
function n(value, width) {
|
|
1644
1659
|
let signed = false;
|
|
@@ -1651,7 +1666,7 @@ function n(value, width) {
|
|
|
1651
1666
|
function b(value, size) {
|
|
1652
1667
|
return new Typed(_gaurd, `bytes${size ? size : ""}`, value, { size });
|
|
1653
1668
|
}
|
|
1654
|
-
var _typedSymbol = Symbol.for("_ethers_typed");
|
|
1669
|
+
var _typedSymbol = /* @__PURE__ */ Symbol.for("_ethers_typed");
|
|
1655
1670
|
var Typed = class _Typed {
|
|
1656
1671
|
/**
|
|
1657
1672
|
* The type, as a Solidity-compatible type.
|
|
@@ -2419,7 +2434,7 @@ var Typed = class _Typed {
|
|
|
2419
2434
|
}
|
|
2420
2435
|
};
|
|
2421
2436
|
|
|
2422
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2437
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/address.js
|
|
2423
2438
|
var AddressCoder = class extends Coder {
|
|
2424
2439
|
constructor(localName) {
|
|
2425
2440
|
super("address", "address", localName, false);
|
|
@@ -2441,7 +2456,7 @@ var AddressCoder = class extends Coder {
|
|
|
2441
2456
|
}
|
|
2442
2457
|
};
|
|
2443
2458
|
|
|
2444
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2459
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/anonymous.js
|
|
2445
2460
|
var AnonymousCoder = class extends Coder {
|
|
2446
2461
|
coder;
|
|
2447
2462
|
constructor(coder) {
|
|
@@ -2459,7 +2474,7 @@ var AnonymousCoder = class extends Coder {
|
|
|
2459
2474
|
}
|
|
2460
2475
|
};
|
|
2461
2476
|
|
|
2462
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2477
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/array.js
|
|
2463
2478
|
function pack(writer, coders, values) {
|
|
2464
2479
|
let arrayValues = [];
|
|
2465
2480
|
if (Array.isArray(values)) {
|
|
@@ -2589,7 +2604,7 @@ var ArrayCoder = class extends Coder {
|
|
|
2589
2604
|
}
|
|
2590
2605
|
};
|
|
2591
2606
|
|
|
2592
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2607
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/boolean.js
|
|
2593
2608
|
var BooleanCoder = class extends Coder {
|
|
2594
2609
|
constructor(localName) {
|
|
2595
2610
|
super("bool", "bool", localName, false);
|
|
@@ -2606,7 +2621,7 @@ var BooleanCoder = class extends Coder {
|
|
|
2606
2621
|
}
|
|
2607
2622
|
};
|
|
2608
2623
|
|
|
2609
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2624
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/bytes.js
|
|
2610
2625
|
var DynamicBytesCoder = class extends Coder {
|
|
2611
2626
|
constructor(type, localName) {
|
|
2612
2627
|
super(type, type, localName, true);
|
|
@@ -2633,7 +2648,7 @@ var BytesCoder = class extends DynamicBytesCoder {
|
|
|
2633
2648
|
}
|
|
2634
2649
|
};
|
|
2635
2650
|
|
|
2636
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2651
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.js
|
|
2637
2652
|
var FixedBytesCoder = class extends Coder {
|
|
2638
2653
|
size;
|
|
2639
2654
|
constructor(size, localName) {
|
|
@@ -2656,7 +2671,7 @@ var FixedBytesCoder = class extends Coder {
|
|
|
2656
2671
|
}
|
|
2657
2672
|
};
|
|
2658
2673
|
|
|
2659
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2674
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/null.js
|
|
2660
2675
|
var Empty = new Uint8Array([]);
|
|
2661
2676
|
var NullCoder = class extends Coder {
|
|
2662
2677
|
constructor(localName) {
|
|
@@ -2677,7 +2692,7 @@ var NullCoder = class extends Coder {
|
|
|
2677
2692
|
}
|
|
2678
2693
|
};
|
|
2679
2694
|
|
|
2680
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2695
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/number.js
|
|
2681
2696
|
var BN_03 = BigInt(0);
|
|
2682
2697
|
var BN_12 = BigInt(1);
|
|
2683
2698
|
var BN_MAX_UINT256 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
@@ -2715,7 +2730,7 @@ var NumberCoder = class extends Coder {
|
|
|
2715
2730
|
}
|
|
2716
2731
|
};
|
|
2717
2732
|
|
|
2718
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2733
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/string.js
|
|
2719
2734
|
var StringCoder = class extends DynamicBytesCoder {
|
|
2720
2735
|
constructor(localName) {
|
|
2721
2736
|
super("string", localName);
|
|
@@ -2731,7 +2746,7 @@ var StringCoder = class extends DynamicBytesCoder {
|
|
|
2731
2746
|
}
|
|
2732
2747
|
};
|
|
2733
2748
|
|
|
2734
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2749
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/tuple.js
|
|
2735
2750
|
var TupleCoder = class extends Coder {
|
|
2736
2751
|
coders;
|
|
2737
2752
|
constructor(coders, localName) {
|
|
@@ -2786,7 +2801,7 @@ var TupleCoder = class extends Coder {
|
|
|
2786
2801
|
}
|
|
2787
2802
|
};
|
|
2788
2803
|
|
|
2789
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2804
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/transaction/accesslist.js
|
|
2790
2805
|
function accessSetify(addr, storageKeys) {
|
|
2791
2806
|
return {
|
|
2792
2807
|
address: getAddress(addr),
|
|
@@ -2819,12 +2834,12 @@ function accessListify(value) {
|
|
|
2819
2834
|
return result;
|
|
2820
2835
|
}
|
|
2821
2836
|
|
|
2822
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2837
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/hash/id.js
|
|
2823
2838
|
function id(value) {
|
|
2824
2839
|
return keccak256(toUtf8Bytes(value));
|
|
2825
2840
|
}
|
|
2826
2841
|
|
|
2827
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2842
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/fragments.js
|
|
2828
2843
|
function setify(items) {
|
|
2829
2844
|
const result = /* @__PURE__ */ new Set();
|
|
2830
2845
|
items.forEach((k) => result.add(k));
|
|
@@ -3133,7 +3148,7 @@ function verifyBasicType(type) {
|
|
|
3133
3148
|
return type;
|
|
3134
3149
|
}
|
|
3135
3150
|
var _guard2 = {};
|
|
3136
|
-
var internal = Symbol.for("_ethers_internal");
|
|
3151
|
+
var internal = /* @__PURE__ */ Symbol.for("_ethers_internal");
|
|
3137
3152
|
var ParamTypeInternal = "_ParamTypeInternal";
|
|
3138
3153
|
var ErrorFragmentInternal = "_ErrorInternal";
|
|
3139
3154
|
var EventFragmentInternal = "_EventInternal";
|
|
@@ -4072,7 +4087,7 @@ var StructFragment = class _StructFragment extends NamedFragment {
|
|
|
4072
4087
|
}
|
|
4073
4088
|
};
|
|
4074
4089
|
|
|
4075
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
4090
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/abi-coder.js
|
|
4076
4091
|
var PanicReasons = /* @__PURE__ */ new Map();
|
|
4077
4092
|
PanicReasons.set(0, "GENERIC_PANIC");
|
|
4078
4093
|
PanicReasons.set(1, "ASSERT_FALSE");
|
|
@@ -4242,7 +4257,7 @@ var AbiCoder = class _AbiCoder {
|
|
|
4242
4257
|
}
|
|
4243
4258
|
};
|
|
4244
4259
|
|
|
4245
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
4260
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/interface.js
|
|
4246
4261
|
var LogDescription = class {
|
|
4247
4262
|
/**
|
|
4248
4263
|
* The matching fragment for the ``topic0``.
|
|
@@ -5250,7 +5265,7 @@ var Interface = class _Interface {
|
|
|
5250
5265
|
}
|
|
5251
5266
|
};
|
|
5252
5267
|
|
|
5253
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
5268
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/providers/provider.js
|
|
5254
5269
|
var BN_04 = BigInt(0);
|
|
5255
5270
|
function toJson(value) {
|
|
5256
5271
|
if (value == null) {
|
|
@@ -5304,6 +5319,9 @@ function copyRequest(req) {
|
|
|
5304
5319
|
if ("kzg" in req) {
|
|
5305
5320
|
result.kzg = req.kzg;
|
|
5306
5321
|
}
|
|
5322
|
+
if ("blobWrapperVersion" in req) {
|
|
5323
|
+
result.blobWrapperVersion = req.blobWrapperVersion;
|
|
5324
|
+
}
|
|
5307
5325
|
if ("blobs" in req && req.blobs) {
|
|
5308
5326
|
result.blobs = req.blobs.map((b2) => {
|
|
5309
5327
|
if (isBytesLike(b2)) {
|
|
@@ -6181,7 +6199,7 @@ function createRemovedLogFilter(log) {
|
|
|
6181
6199
|
} };
|
|
6182
6200
|
}
|
|
6183
6201
|
|
|
6184
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
6202
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/wrappers.js
|
|
6185
6203
|
var EventLog = class extends Log {
|
|
6186
6204
|
/**
|
|
6187
6205
|
* The Contract Interface.
|
|
@@ -6336,7 +6354,7 @@ var ContractEventPayload = class extends ContractUnknownEventPayload {
|
|
|
6336
6354
|
}
|
|
6337
6355
|
};
|
|
6338
6356
|
|
|
6339
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
6357
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/contract.js
|
|
6340
6358
|
var BN_05 = BigInt(0);
|
|
6341
6359
|
function canCall(value) {
|
|
6342
6360
|
return value && typeof value.call === "function";
|
|
@@ -6618,7 +6636,7 @@ function buildWrappedEvent(contract, key) {
|
|
|
6618
6636
|
});
|
|
6619
6637
|
return method;
|
|
6620
6638
|
}
|
|
6621
|
-
var internal2 = Symbol.for("_ethersInternal_contract");
|
|
6639
|
+
var internal2 = /* @__PURE__ */ Symbol.for("_ethersInternal_contract");
|
|
6622
6640
|
var internalValues = /* @__PURE__ */ new WeakMap();
|
|
6623
6641
|
function setInternal(contract, values) {
|
|
6624
6642
|
internalValues.set(contract[internal2], values);
|
|
@@ -6787,7 +6805,7 @@ var BaseContract = class _BaseContract {
|
|
|
6787
6805
|
* The target to connect to.
|
|
6788
6806
|
*
|
|
6789
6807
|
* This can be an address, ENS name or any [[Addressable]], such as
|
|
6790
|
-
* another contract. To get the
|
|
6808
|
+
* another contract. To get the resolved address, use the ``getAddress``
|
|
6791
6809
|
* method.
|
|
6792
6810
|
*/
|
|
6793
6811
|
target;
|
|
@@ -6989,7 +7007,7 @@ var BaseContract = class _BaseContract {
|
|
|
6989
7007
|
/**
|
|
6990
7008
|
* Return the function for a given name. This is useful when a contract
|
|
6991
7009
|
* method name conflicts with a JavaScript name such as ``prototype`` or
|
|
6992
|
-
* when using a Contract
|
|
7010
|
+
* when using a Contract programmatically.
|
|
6993
7011
|
*/
|
|
6994
7012
|
getFunction(key) {
|
|
6995
7013
|
if (typeof key !== "string") {
|
|
@@ -7001,7 +7019,7 @@ var BaseContract = class _BaseContract {
|
|
|
7001
7019
|
/**
|
|
7002
7020
|
* Return the event for a given name. This is useful when a contract
|
|
7003
7021
|
* event name conflicts with a JavaScript name such as ``prototype`` or
|
|
7004
|
-
* when using a Contract
|
|
7022
|
+
* when using a Contract programmatically.
|
|
7005
7023
|
*/
|
|
7006
7024
|
getEvent(key) {
|
|
7007
7025
|
if (typeof key !== "string") {
|
|
@@ -7213,7 +7231,7 @@ function _ContractBase() {
|
|
|
7213
7231
|
var Contract = class extends _ContractBase() {
|
|
7214
7232
|
};
|
|
7215
7233
|
|
|
7216
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
7234
|
+
// ../../node_modules/.pnpm/ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/factory.js
|
|
7217
7235
|
var ContractFactory = class _ContractFactory {
|
|
7218
7236
|
/**
|
|
7219
7237
|
* The Contract Interface.
|
|
@@ -7316,7 +7334,7 @@ var ContractFactory = class _ContractFactory {
|
|
|
7316
7334
|
}
|
|
7317
7335
|
};
|
|
7318
7336
|
|
|
7319
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.
|
|
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
|
|
7320
7338
|
var _abi = [
|
|
7321
7339
|
{
|
|
7322
7340
|
anonymous: false,
|
|
@@ -8386,10 +8404,10 @@ var Implementation__factory = class extends ContractFactory {
|
|
|
8386
8404
|
}
|
|
8387
8405
|
};
|
|
8388
8406
|
|
|
8389
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@4.
|
|
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
|
|
8390
8408
|
registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
|
|
8391
8409
|
|
|
8392
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
8393
8411
|
var EvmTokenBridge = class _EvmTokenBridge {
|
|
8394
8412
|
network;
|
|
8395
8413
|
chain;
|
|
@@ -8527,7 +8545,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
|
|
|
8527
8545
|
}
|
|
8528
8546
|
};
|
|
8529
8547
|
|
|
8530
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
8531
8549
|
import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
|
|
8532
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";
|
|
8533
8551
|
var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
@@ -8635,16 +8653,16 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
|
8635
8653
|
}
|
|
8636
8654
|
};
|
|
8637
8655
|
|
|
8638
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
8639
|
-
import { nativeChainIds as nativeChainIds4, toChainId as toChainId3, signedQuoteLayout as signedQuoteLayout2, isNative as isNative4, serializeLayout, serialize as serialize5, contracts } from "@wormhole-foundation/sdk-connect";
|
|
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
|
+
import { nativeChainIds as nativeChainIds4, toChainId as toChainId3, signedQuoteLayout as signedQuoteLayout2, isNative as isNative4, serializeLayout, serialize as serialize5, contracts, getExecutorTokenBridgeDestinationAddresses } from "@wormhole-foundation/sdk-connect";
|
|
8640
8658
|
import { EvmAddress as EvmAddress4, EvmPlatform as EvmPlatform4, EvmUnsignedTransaction as EvmUnsignedTransaction4, addChainId as addChainId4, addFrom as addFrom4 } from "@wormhole-foundation/sdk-evm";
|
|
8641
8659
|
|
|
8642
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
8660
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/array.js
|
|
8643
8661
|
var range = (length) => [...Array(length).keys()];
|
|
8644
8662
|
var column = (tupArr, index) => tupArr.map((tuple) => tuple[index]);
|
|
8645
8663
|
var zip = (arr) => range(arr[0].length).map((col) => range(arr.length).map((row) => arr[row][col]));
|
|
8646
8664
|
|
|
8647
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
8665
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/mapping.js
|
|
8648
8666
|
function isMappableKey(key) {
|
|
8649
8667
|
return ["string", "number", "symbol", "bigint", "boolean"].includes(typeof key);
|
|
8650
8668
|
}
|
|
@@ -8720,7 +8738,7 @@ function constMap(mappingEntries, shape) {
|
|
|
8720
8738
|
return toConstMap(toMapping(mappingEntries, shape));
|
|
8721
8739
|
}
|
|
8722
8740
|
|
|
8723
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
8741
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/misc.js
|
|
8724
8742
|
function lazyInstantiate(factory) {
|
|
8725
8743
|
let instance = null;
|
|
8726
8744
|
return () => {
|
|
@@ -8779,7 +8797,7 @@ function findIdLayoutPair(item, data) {
|
|
|
8779
8797
|
function calcStaticSize(layout) {
|
|
8780
8798
|
return internalCalcSize(layout, staticCalc);
|
|
8781
8799
|
}
|
|
8782
|
-
var staticCalc = Symbol("staticCalc");
|
|
8800
|
+
var staticCalc = /* @__PURE__ */ Symbol("staticCalc");
|
|
8783
8801
|
function calcSizeForSerialization(layout, data) {
|
|
8784
8802
|
const bytesConversions = [];
|
|
8785
8803
|
const size = internalCalcSize(layout, data, bytesConversions);
|
|
@@ -9612,7 +9630,7 @@ function bitsetItem(bitnames, size) {
|
|
|
9612
9630
|
};
|
|
9613
9631
|
}
|
|
9614
9632
|
|
|
9615
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
9633
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
|
|
9616
9634
|
var encoding_exports = {};
|
|
9617
9635
|
__export(encoding_exports, {
|
|
9618
9636
|
b58: () => b58,
|
|
@@ -9999,7 +10017,7 @@ function genBech32(encoding2) {
|
|
|
9999
10017
|
}
|
|
10000
10018
|
var bech32 = /* @__PURE__ */ genBech32("bech32");
|
|
10001
10019
|
|
|
10002
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10020
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/utils/encoding.js
|
|
10003
10021
|
var stripPrefix = (prefix, str) => str.startsWith(prefix) ? str.slice(prefix.length) : str;
|
|
10004
10022
|
var isHexRegex = /^(?:0x)?[0-9a-fA-F]+$/;
|
|
10005
10023
|
var hex = {
|
|
@@ -10095,7 +10113,7 @@ var bytes2 = {
|
|
|
10095
10113
|
}
|
|
10096
10114
|
};
|
|
10097
10115
|
|
|
10098
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10116
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/chains.js
|
|
10099
10117
|
var chainIdAndChainEntries = [
|
|
10100
10118
|
//Unlike the old sdk, we are not including an "Unset" chain with chainId 0 here because:
|
|
10101
10119
|
// * no other types would be associated with it (such as contracts or a platform)
|
|
@@ -10145,6 +10163,8 @@ var chainIdAndChainEntries = [
|
|
|
10145
10163
|
[60, "Stacks"],
|
|
10146
10164
|
[63, "Moca"],
|
|
10147
10165
|
[64, "MegaETH"],
|
|
10166
|
+
[66, "Xrpl"],
|
|
10167
|
+
[67, "ZeroGravity"],
|
|
10148
10168
|
[3104, "Wormchain"],
|
|
10149
10169
|
[4e3, "Cosmoshub"],
|
|
10150
10170
|
[4001, "Evmos"],
|
|
@@ -10189,7 +10209,7 @@ var toChain2 = (chain2) => {
|
|
|
10189
10209
|
throw Error(`Cannot convert to Chain: ${chain2}`);
|
|
10190
10210
|
};
|
|
10191
10211
|
|
|
10192
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10212
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
|
|
10193
10213
|
var platformAndChainsEntries = [
|
|
10194
10214
|
[
|
|
10195
10215
|
"Evm",
|
|
@@ -10233,7 +10253,8 @@ var platformAndChainsEntries = [
|
|
|
10233
10253
|
// not an actual EVM platform; treating as EVM
|
|
10234
10254
|
"Moca",
|
|
10235
10255
|
"MegaETH",
|
|
10236
|
-
"MonadTestnet"
|
|
10256
|
+
"MonadTestnet",
|
|
10257
|
+
"ZeroGravity"
|
|
10237
10258
|
]
|
|
10238
10259
|
],
|
|
10239
10260
|
[
|
|
@@ -10298,6 +10319,12 @@ var platformAndChainsEntries = [
|
|
|
10298
10319
|
[
|
|
10299
10320
|
"Stacks"
|
|
10300
10321
|
]
|
|
10322
|
+
],
|
|
10323
|
+
[
|
|
10324
|
+
"Xrpl",
|
|
10325
|
+
[
|
|
10326
|
+
"Xrpl"
|
|
10327
|
+
]
|
|
10301
10328
|
]
|
|
10302
10329
|
];
|
|
10303
10330
|
var platforms = column(platformAndChainsEntries, 0);
|
|
@@ -10313,11 +10340,12 @@ var platformAddressFormatEntries = [
|
|
|
10313
10340
|
["Sui", "hex"],
|
|
10314
10341
|
["Aptos", "hex"],
|
|
10315
10342
|
["Near", "sha256"],
|
|
10316
|
-
["Stacks", "keccak256"]
|
|
10343
|
+
["Stacks", "keccak256"],
|
|
10344
|
+
["Xrpl", "base58"]
|
|
10317
10345
|
];
|
|
10318
10346
|
var platformToAddressFormat = constMap(platformAddressFormatEntries);
|
|
10319
10347
|
|
|
10320
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10348
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.12.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
|
|
10321
10349
|
var tbtc_exports = {};
|
|
10322
10350
|
__export(tbtc_exports, {
|
|
10323
10351
|
tbtcTokens: () => tbtcTokens
|
|
@@ -13139,7 +13167,7 @@ function sqrtMod(y) {
|
|
|
13139
13167
|
var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
|
|
13140
13168
|
var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
|
|
13141
13169
|
|
|
13142
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13170
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
|
|
13143
13171
|
var algorandAppIdLayout = [
|
|
13144
13172
|
{ name: "appIdPrefix", binary: "bytes", custom: encoding_exports.bytes.encode("appID"), omit: true },
|
|
13145
13173
|
{ name: "appId", binary: "uint", size: 8 }
|
|
@@ -13203,7 +13231,7 @@ var UniversalAddress2 = class _UniversalAddress {
|
|
|
13203
13231
|
}
|
|
13204
13232
|
};
|
|
13205
13233
|
|
|
13206
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13234
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
|
|
13207
13235
|
function isChainSpecificAddress(thing) {
|
|
13208
13236
|
return typeof thing === "object" && "setChain" in thing;
|
|
13209
13237
|
}
|
|
@@ -13233,7 +13261,7 @@ function toUniversal(chain2, address) {
|
|
|
13233
13261
|
return new UniversalAddress2(address, platformToAddressFormat.get(platform));
|
|
13234
13262
|
}
|
|
13235
13263
|
|
|
13236
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13264
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
|
|
13237
13265
|
var composeLiteral = (protocol, payloadName) => protocol ? `${protocol}:${payloadName}` : payloadName;
|
|
13238
13266
|
var payloadFactory = /* @__PURE__ */ new Map();
|
|
13239
13267
|
function registerPayloadType(protocol, name, layout) {
|
|
@@ -13247,13 +13275,13 @@ function registerPayloadTypes(protocol, payloads) {
|
|
|
13247
13275
|
registerPayloadType(protocol, name, layout);
|
|
13248
13276
|
}
|
|
13249
13277
|
|
|
13250
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13278
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
|
|
13251
13279
|
var amountItem = {
|
|
13252
13280
|
binary: "uint",
|
|
13253
13281
|
size: 32
|
|
13254
13282
|
};
|
|
13255
13283
|
|
|
13256
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13284
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
|
|
13257
13285
|
var chainItemBase = { binary: "uint", size: 2 };
|
|
13258
13286
|
var chainItem = (opts) => ({
|
|
13259
13287
|
...chainItemBase,
|
|
@@ -13274,7 +13302,7 @@ var chainItem = (opts) => ({
|
|
|
13274
13302
|
}
|
|
13275
13303
|
});
|
|
13276
13304
|
|
|
13277
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13305
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
|
|
13278
13306
|
var circleDomainItem = {
|
|
13279
13307
|
binary: "uint",
|
|
13280
13308
|
size: 4
|
|
@@ -13284,19 +13312,19 @@ var circleNonceItem = {
|
|
|
13284
13312
|
size: 8
|
|
13285
13313
|
};
|
|
13286
13314
|
|
|
13287
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13315
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
|
|
13288
13316
|
var dateConversion = {
|
|
13289
13317
|
to: (encoded) => new Date(Number(encoded * 1000n)),
|
|
13290
13318
|
from: (decoded) => BigInt(decoded.getTime()) / 1000n
|
|
13291
13319
|
};
|
|
13292
13320
|
|
|
13293
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13321
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
|
|
13294
13322
|
var guardianSetItem = {
|
|
13295
13323
|
binary: "uint",
|
|
13296
13324
|
size: 4
|
|
13297
13325
|
};
|
|
13298
13326
|
|
|
13299
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13327
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
|
|
13300
13328
|
var payloadIdItem = (id2) => ({
|
|
13301
13329
|
name: "payloadId",
|
|
13302
13330
|
binary: "uint",
|
|
@@ -13305,13 +13333,13 @@ var payloadIdItem = (id2) => ({
|
|
|
13305
13333
|
omit: true
|
|
13306
13334
|
});
|
|
13307
13335
|
|
|
13308
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13336
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
|
|
13309
13337
|
var sequenceItem = {
|
|
13310
13338
|
binary: "uint",
|
|
13311
13339
|
size: 8
|
|
13312
13340
|
};
|
|
13313
13341
|
|
|
13314
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13342
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
|
|
13315
13343
|
var Signature = class {
|
|
13316
13344
|
r;
|
|
13317
13345
|
s;
|
|
@@ -13355,7 +13383,7 @@ var SignatureUtils;
|
|
|
13355
13383
|
SignatureUtils2.recover = recover;
|
|
13356
13384
|
})(SignatureUtils || (SignatureUtils = {}));
|
|
13357
13385
|
|
|
13358
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13386
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
|
|
13359
13387
|
var signatureLayout = [
|
|
13360
13388
|
{ name: "r", binary: "uint", size: 32 },
|
|
13361
13389
|
{ name: "s", binary: "uint", size: 32 },
|
|
@@ -13370,7 +13398,7 @@ var signatureItem = {
|
|
|
13370
13398
|
}
|
|
13371
13399
|
};
|
|
13372
13400
|
|
|
13373
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13401
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
|
|
13374
13402
|
var universalAddressItem = {
|
|
13375
13403
|
binary: "bytes",
|
|
13376
13404
|
size: 32,
|
|
@@ -13380,7 +13408,7 @@ var universalAddressItem = {
|
|
|
13380
13408
|
}
|
|
13381
13409
|
};
|
|
13382
13410
|
|
|
13383
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13411
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
|
|
13384
13412
|
var trimZeros = (arr) => {
|
|
13385
13413
|
const i = arr.findIndex((x) => x !== 0);
|
|
13386
13414
|
return -1 < i ? arr.slice(i) : new Uint8Array([]);
|
|
@@ -13398,7 +13426,7 @@ var fixedLengthStringItem = (size) => ({
|
|
|
13398
13426
|
}
|
|
13399
13427
|
});
|
|
13400
13428
|
|
|
13401
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13429
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
|
|
13402
13430
|
var guardianSignatureLayout = [
|
|
13403
13431
|
{ name: "guardianIndex", binary: "uint", size: 1 },
|
|
13404
13432
|
{ name: "signature", ...signatureItem }
|
|
@@ -13418,7 +13446,7 @@ var envelopeLayout = [
|
|
|
13418
13446
|
];
|
|
13419
13447
|
var baseLayout = [...headerLayout, ...envelopeLayout];
|
|
13420
13448
|
|
|
13421
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13449
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
|
|
13422
13450
|
function getPayloadLayout(layoutLiteral) {
|
|
13423
13451
|
const layout = payloadFactory.get(layoutLiteral);
|
|
13424
13452
|
if (!layout)
|
|
@@ -13443,7 +13471,7 @@ function payloadDiscriminator(payloadLiterals, allowAmbiguous) {
|
|
|
13443
13471
|
});
|
|
13444
13472
|
}
|
|
13445
13473
|
|
|
13446
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13474
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
|
|
13447
13475
|
var depositWithPayloadLayout = (customPayload) => [
|
|
13448
13476
|
payloadIdItem(1),
|
|
13449
13477
|
{
|
|
@@ -13473,7 +13501,7 @@ var automaticCircleBridgeNamedPayloads = [
|
|
|
13473
13501
|
];
|
|
13474
13502
|
registerPayloadTypes("AutomaticCircleBridge", automaticCircleBridgeNamedPayloads);
|
|
13475
13503
|
|
|
13476
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13504
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
|
|
13477
13505
|
var messageVersionItem = { binary: "uint", size: 4, custom: 0, omit: true };
|
|
13478
13506
|
var circleBurnMessageLayout = [
|
|
13479
13507
|
// messageBodyVersion is:
|
|
@@ -13503,7 +13531,7 @@ var circleBridgeNamedPayloads = [
|
|
|
13503
13531
|
];
|
|
13504
13532
|
registerPayloadTypes("CircleBridge", circleBridgeNamedPayloads);
|
|
13505
13533
|
|
|
13506
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13534
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
|
|
13507
13535
|
var CircleBridge;
|
|
13508
13536
|
(function(CircleBridge2) {
|
|
13509
13537
|
const _protocol = "CircleBridge";
|
|
@@ -13527,7 +13555,7 @@ var AutomaticCircleBridge;
|
|
|
13527
13555
|
AutomaticCircleBridge2.getTransferDiscriminator = lazyInstantiate(() => payloadDiscriminator([_protocol, _payloads]));
|
|
13528
13556
|
})(AutomaticCircleBridge || (AutomaticCircleBridge = {}));
|
|
13529
13557
|
|
|
13530
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13558
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
|
|
13531
13559
|
var fixedLengthStringItem2 = {
|
|
13532
13560
|
binary: "bytes",
|
|
13533
13561
|
size: 32,
|
|
@@ -13589,7 +13617,7 @@ var tokenBridgeNamedPayloads = [
|
|
|
13589
13617
|
];
|
|
13590
13618
|
registerPayloadTypes("TokenBridge", tokenBridgeNamedPayloads);
|
|
13591
13619
|
|
|
13592
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13620
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
|
|
13593
13621
|
var flagsItem = bitsetItem(["shouldWrapNative", "shouldUnwrapNative"]);
|
|
13594
13622
|
var porticoFlagSetLayout = [
|
|
13595
13623
|
{ name: "recipientChain", binary: "uint", endianness: "little", size: 2 },
|
|
@@ -13624,7 +13652,7 @@ var namedPayloads = [
|
|
|
13624
13652
|
];
|
|
13625
13653
|
registerPayloadTypes("PorticoBridge", namedPayloads);
|
|
13626
13654
|
|
|
13627
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13655
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
|
|
13628
13656
|
var PorticoBridge;
|
|
13629
13657
|
(function(PorticoBridge2) {
|
|
13630
13658
|
const _protocol = "PorticoBridge";
|
|
@@ -13644,7 +13672,7 @@ var PorticoBridge;
|
|
|
13644
13672
|
};
|
|
13645
13673
|
})(PorticoBridge || (PorticoBridge = {}));
|
|
13646
13674
|
|
|
13647
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13675
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
|
|
13648
13676
|
var encodedExecutionInfoItem = {
|
|
13649
13677
|
binary: "bytes",
|
|
13650
13678
|
layout: [
|
|
@@ -13711,7 +13739,7 @@ var namedPayloads2 = [
|
|
|
13711
13739
|
];
|
|
13712
13740
|
registerPayloadTypes("Relayer", namedPayloads2);
|
|
13713
13741
|
|
|
13714
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13742
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
|
|
13715
13743
|
var connectPayload = [
|
|
13716
13744
|
payloadIdItem(1),
|
|
13717
13745
|
{ name: "targetRelayerFee", ...amountItem },
|
|
@@ -13723,7 +13751,7 @@ var automaticTokenBridgeNamedPayloads = [
|
|
|
13723
13751
|
];
|
|
13724
13752
|
registerPayloadTypes("AutomaticTokenBridge", automaticTokenBridgeNamedPayloads);
|
|
13725
13753
|
|
|
13726
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13754
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
|
|
13727
13755
|
var TokenBridge;
|
|
13728
13756
|
(function(TokenBridge2) {
|
|
13729
13757
|
const _protocol = "TokenBridge";
|
|
@@ -13743,21 +13771,21 @@ var ExecutorTokenBridge;
|
|
|
13743
13771
|
const _payloads = ["TransferWithExecutorRelay"];
|
|
13744
13772
|
})(ExecutorTokenBridge || (ExecutorTokenBridge = {}));
|
|
13745
13773
|
|
|
13746
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13774
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
|
|
13747
13775
|
var payload = [{ name: "targetRecipient", ...universalAddressItem }];
|
|
13748
13776
|
var executorTokenBridgeNamedPayloads = [
|
|
13749
13777
|
["TransferWithExecutorRelay", transferWithPayloadLayout(payload)]
|
|
13750
13778
|
];
|
|
13751
13779
|
registerPayloadTypes("ExecutorTokenBridge", executorTokenBridgeNamedPayloads);
|
|
13752
13780
|
|
|
13753
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13781
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
|
|
13754
13782
|
var modificationKinds = [
|
|
13755
13783
|
["Add", 1],
|
|
13756
13784
|
["Subtract", 2],
|
|
13757
13785
|
["Unknown", 3]
|
|
13758
13786
|
];
|
|
13759
13787
|
|
|
13760
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13788
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
|
|
13761
13789
|
var rawEvmAddressItem = {
|
|
13762
13790
|
binary: "bytes",
|
|
13763
13791
|
size: 20,
|
|
@@ -14019,7 +14047,7 @@ registerPayloadTypes("GeneralPurposeGovernance", generalPurposeGovernancePayload
|
|
|
14019
14047
|
registerPayloadTypes("WormchainGovernance", wormchainGovernancePayloads);
|
|
14020
14048
|
registerPayloadTypes("GatewayGovernance", gatewayGovernancePayloads);
|
|
14021
14049
|
|
|
14022
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14050
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
|
|
14023
14051
|
var TBTCBridge;
|
|
14024
14052
|
(function(TBTCBridge2) {
|
|
14025
14053
|
const _protocol = "TBTCBridge";
|
|
@@ -14037,7 +14065,7 @@ var TBTCBridge;
|
|
|
14037
14065
|
};
|
|
14038
14066
|
})(TBTCBridge || (TBTCBridge = {}));
|
|
14039
14067
|
|
|
14040
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14068
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
|
|
14041
14069
|
var tbtcPayloadLayout = [
|
|
14042
14070
|
{ name: "recipient", ...universalAddressItem }
|
|
14043
14071
|
];
|
|
@@ -14050,7 +14078,7 @@ var namedPayloads3 = [
|
|
|
14050
14078
|
];
|
|
14051
14079
|
registerPayloadTypes("TBTCBridge", namedPayloads3);
|
|
14052
14080
|
|
|
14053
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14081
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
|
|
14054
14082
|
var gasInstructionLayout = [
|
|
14055
14083
|
{ name: "gasLimit", binary: "uint", size: 16 },
|
|
14056
14084
|
{ name: "msgValue", binary: "uint", size: 16 }
|
|
@@ -14088,7 +14116,7 @@ var relayInstructionsLayout = [
|
|
|
14088
14116
|
}
|
|
14089
14117
|
];
|
|
14090
14118
|
|
|
14091
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14119
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
|
|
14092
14120
|
var quoteLayout = [
|
|
14093
14121
|
{
|
|
14094
14122
|
name: "quote",
|
|
@@ -14131,7 +14159,7 @@ var signedQuoteLayout = [
|
|
|
14131
14159
|
{ name: "signature", binary: "bytes", size: 65 }
|
|
14132
14160
|
];
|
|
14133
14161
|
|
|
14134
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14162
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.12.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
|
|
14135
14163
|
var RelayStatus;
|
|
14136
14164
|
(function(RelayStatus2) {
|
|
14137
14165
|
RelayStatus2["Pending"] = "pending";
|
|
@@ -14150,7 +14178,7 @@ var RequestPrefix;
|
|
|
14150
14178
|
RequestPrefix2["ERC2"] = "ERC2";
|
|
14151
14179
|
})(RequestPrefix || (RequestPrefix = {}));
|
|
14152
14180
|
|
|
14153
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
14154
14182
|
var RELAYER_ABI = [
|
|
14155
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)",
|
|
14156
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)",
|
|
@@ -14208,8 +14236,9 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
|
|
|
14208
14236
|
const relayInstructionsBytes = serializeLayout(relayInstructionsLayout, relayInstructions);
|
|
14209
14237
|
const wormholeFee = await this.core.getMessageFee();
|
|
14210
14238
|
const nonce = 0;
|
|
14211
|
-
const
|
|
14212
|
-
const
|
|
14239
|
+
const dstAddresses = getExecutorTokenBridgeDestinationAddresses(this.network, recipient.chain, dstRelayer);
|
|
14240
|
+
const dstTransferRecipient = toUniversal(recipient.chain, dstAddresses.dstTransferRecipient);
|
|
14241
|
+
const dstExecutionAddress = toUniversal(recipient.chain, dstAddresses.dstExecutionAddress);
|
|
14213
14242
|
const executionAmount = estimatedCost;
|
|
14214
14243
|
const refundAddr = senderAddr;
|
|
14215
14244
|
let txReq;
|
|
@@ -14271,14 +14300,14 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
|
|
|
14271
14300
|
}
|
|
14272
14301
|
};
|
|
14273
14302
|
|
|
14274
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
14275
14304
|
var ethers_contracts_exports2 = {};
|
|
14276
14305
|
__export(ethers_contracts_exports2, {
|
|
14277
14306
|
Bridge__factory: () => Bridge__factory,
|
|
14278
14307
|
TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
|
|
14279
14308
|
});
|
|
14280
14309
|
|
|
14281
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
14282
14311
|
var _abi2 = [
|
|
14283
14312
|
{
|
|
14284
14313
|
anonymous: false,
|
|
@@ -15518,7 +15547,7 @@ var Bridge__factory = class extends ContractFactory {
|
|
|
15518
15547
|
}
|
|
15519
15548
|
};
|
|
15520
15549
|
|
|
15521
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
15522
15551
|
var _abi3 = [
|
|
15523
15552
|
{
|
|
15524
15553
|
inputs: [
|
|
@@ -16589,7 +16618,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
|
|
|
16589
16618
|
}
|
|
16590
16619
|
};
|
|
16591
16620
|
|
|
16592
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
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
|
|
16593
16622
|
registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
|
|
16594
16623
|
registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
|
|
16595
16624
|
registerProtocol2(_platform2, "ExecutorTokenBridge", EvmExecutorTokenBridge);
|