@moonbeam-network/mrl 4.3.0 → 4.3.1
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 +126 -105
- package/build/index.mjs.map +1 -1
- package/package.json +8 -8
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.10.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.10.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.10.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.10.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.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/index.js
|
|
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.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
|
|
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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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,7 @@ var chainIdAndChainEntries = [
|
|
|
10145
10163
|
[60, "Stacks"],
|
|
10146
10164
|
[63, "Moca"],
|
|
10147
10165
|
[64, "MegaETH"],
|
|
10166
|
+
[67, "ZeroGravity"],
|
|
10148
10167
|
[3104, "Wormchain"],
|
|
10149
10168
|
[4e3, "Cosmoshub"],
|
|
10150
10169
|
[4001, "Evmos"],
|
|
@@ -10189,7 +10208,7 @@ var toChain2 = (chain2) => {
|
|
|
10189
10208
|
throw Error(`Cannot convert to Chain: ${chain2}`);
|
|
10190
10209
|
};
|
|
10191
10210
|
|
|
10192
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10211
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/platforms.js
|
|
10193
10212
|
var platformAndChainsEntries = [
|
|
10194
10213
|
[
|
|
10195
10214
|
"Evm",
|
|
@@ -10233,7 +10252,8 @@ var platformAndChainsEntries = [
|
|
|
10233
10252
|
// not an actual EVM platform; treating as EVM
|
|
10234
10253
|
"Moca",
|
|
10235
10254
|
"MegaETH",
|
|
10236
|
-
"MonadTestnet"
|
|
10255
|
+
"MonadTestnet",
|
|
10256
|
+
"ZeroGravity"
|
|
10237
10257
|
]
|
|
10238
10258
|
],
|
|
10239
10259
|
[
|
|
@@ -10317,7 +10337,7 @@ var platformAddressFormatEntries = [
|
|
|
10317
10337
|
];
|
|
10318
10338
|
var platformToAddressFormat = constMap(platformAddressFormatEntries);
|
|
10319
10339
|
|
|
10320
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.
|
|
10340
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-base@4.10.0/node_modules/@wormhole-foundation/sdk-base/dist/esm/constants/tbtc.js
|
|
10321
10341
|
var tbtc_exports = {};
|
|
10322
10342
|
__export(tbtc_exports, {
|
|
10323
10343
|
tbtcTokens: () => tbtcTokens
|
|
@@ -13139,7 +13159,7 @@ function sqrtMod(y) {
|
|
|
13139
13159
|
var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
|
|
13140
13160
|
var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
|
|
13141
13161
|
|
|
13142
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13162
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/universalAddress.js
|
|
13143
13163
|
var algorandAppIdLayout = [
|
|
13144
13164
|
{ name: "appIdPrefix", binary: "bytes", custom: encoding_exports.bytes.encode("appID"), omit: true },
|
|
13145
13165
|
{ name: "appId", binary: "uint", size: 8 }
|
|
@@ -13203,7 +13223,7 @@ var UniversalAddress2 = class _UniversalAddress {
|
|
|
13203
13223
|
}
|
|
13204
13224
|
};
|
|
13205
13225
|
|
|
13206
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13226
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/address.js
|
|
13207
13227
|
function isChainSpecificAddress(thing) {
|
|
13208
13228
|
return typeof thing === "object" && "setChain" in thing;
|
|
13209
13229
|
}
|
|
@@ -13233,7 +13253,7 @@ function toUniversal(chain2, address) {
|
|
|
13233
13253
|
return new UniversalAddress2(address, platformToAddressFormat.get(platform));
|
|
13234
13254
|
}
|
|
13235
13255
|
|
|
13236
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13256
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/registration.js
|
|
13237
13257
|
var composeLiteral = (protocol, payloadName) => protocol ? `${protocol}:${payloadName}` : payloadName;
|
|
13238
13258
|
var payloadFactory = /* @__PURE__ */ new Map();
|
|
13239
13259
|
function registerPayloadType(protocol, name, layout) {
|
|
@@ -13247,13 +13267,13 @@ function registerPayloadTypes(protocol, payloads) {
|
|
|
13247
13267
|
registerPayloadType(protocol, name, layout);
|
|
13248
13268
|
}
|
|
13249
13269
|
|
|
13250
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13270
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/amount.js
|
|
13251
13271
|
var amountItem = {
|
|
13252
13272
|
binary: "uint",
|
|
13253
13273
|
size: 32
|
|
13254
13274
|
};
|
|
13255
13275
|
|
|
13256
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13276
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/chain.js
|
|
13257
13277
|
var chainItemBase = { binary: "uint", size: 2 };
|
|
13258
13278
|
var chainItem = (opts) => ({
|
|
13259
13279
|
...chainItemBase,
|
|
@@ -13274,7 +13294,7 @@ var chainItem = (opts) => ({
|
|
|
13274
13294
|
}
|
|
13275
13295
|
});
|
|
13276
13296
|
|
|
13277
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13297
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/circle.js
|
|
13278
13298
|
var circleDomainItem = {
|
|
13279
13299
|
binary: "uint",
|
|
13280
13300
|
size: 4
|
|
@@ -13284,19 +13304,19 @@ var circleNonceItem = {
|
|
|
13284
13304
|
size: 8
|
|
13285
13305
|
};
|
|
13286
13306
|
|
|
13287
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13307
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/date.js
|
|
13288
13308
|
var dateConversion = {
|
|
13289
13309
|
to: (encoded) => new Date(Number(encoded * 1000n)),
|
|
13290
13310
|
from: (decoded) => BigInt(decoded.getTime()) / 1000n
|
|
13291
13311
|
};
|
|
13292
13312
|
|
|
13293
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13313
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/guardianSet.js
|
|
13294
13314
|
var guardianSetItem = {
|
|
13295
13315
|
binary: "uint",
|
|
13296
13316
|
size: 4
|
|
13297
13317
|
};
|
|
13298
13318
|
|
|
13299
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13319
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/payloadId.js
|
|
13300
13320
|
var payloadIdItem = (id2) => ({
|
|
13301
13321
|
name: "payloadId",
|
|
13302
13322
|
binary: "uint",
|
|
@@ -13305,13 +13325,13 @@ var payloadIdItem = (id2) => ({
|
|
|
13305
13325
|
omit: true
|
|
13306
13326
|
});
|
|
13307
13327
|
|
|
13308
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13328
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/sequence.js
|
|
13309
13329
|
var sequenceItem = {
|
|
13310
13330
|
binary: "uint",
|
|
13311
13331
|
size: 8
|
|
13312
13332
|
};
|
|
13313
13333
|
|
|
13314
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13334
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/signature.js
|
|
13315
13335
|
var Signature = class {
|
|
13316
13336
|
r;
|
|
13317
13337
|
s;
|
|
@@ -13355,7 +13375,7 @@ var SignatureUtils;
|
|
|
13355
13375
|
SignatureUtils2.recover = recover;
|
|
13356
13376
|
})(SignatureUtils || (SignatureUtils = {}));
|
|
13357
13377
|
|
|
13358
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13378
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/signature.js
|
|
13359
13379
|
var signatureLayout = [
|
|
13360
13380
|
{ name: "r", binary: "uint", size: 32 },
|
|
13361
13381
|
{ name: "s", binary: "uint", size: 32 },
|
|
@@ -13370,7 +13390,7 @@ var signatureItem = {
|
|
|
13370
13390
|
}
|
|
13371
13391
|
};
|
|
13372
13392
|
|
|
13373
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13393
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/universalAddress.js
|
|
13374
13394
|
var universalAddressItem = {
|
|
13375
13395
|
binary: "bytes",
|
|
13376
13396
|
size: 32,
|
|
@@ -13380,7 +13400,7 @@ var universalAddressItem = {
|
|
|
13380
13400
|
}
|
|
13381
13401
|
};
|
|
13382
13402
|
|
|
13383
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13403
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/layout-items/string.js
|
|
13384
13404
|
var trimZeros = (arr) => {
|
|
13385
13405
|
const i = arr.findIndex((x) => x !== 0);
|
|
13386
13406
|
return -1 < i ? arr.slice(i) : new Uint8Array([]);
|
|
@@ -13398,7 +13418,7 @@ var fixedLengthStringItem = (size) => ({
|
|
|
13398
13418
|
}
|
|
13399
13419
|
});
|
|
13400
13420
|
|
|
13401
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13421
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/vaa.js
|
|
13402
13422
|
var guardianSignatureLayout = [
|
|
13403
13423
|
{ name: "guardianIndex", binary: "uint", size: 1 },
|
|
13404
13424
|
{ name: "signature", ...signatureItem }
|
|
@@ -13418,7 +13438,7 @@ var envelopeLayout = [
|
|
|
13418
13438
|
];
|
|
13419
13439
|
var baseLayout = [...headerLayout, ...envelopeLayout];
|
|
13420
13440
|
|
|
13421
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13441
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/vaa/functions.js
|
|
13422
13442
|
function getPayloadLayout(layoutLiteral) {
|
|
13423
13443
|
const layout = payloadFactory.get(layoutLiteral);
|
|
13424
13444
|
if (!layout)
|
|
@@ -13443,7 +13463,7 @@ function payloadDiscriminator(payloadLiterals, allowAmbiguous) {
|
|
|
13443
13463
|
});
|
|
13444
13464
|
}
|
|
13445
13465
|
|
|
13446
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13466
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/automaticCircleBridgeLayout.js
|
|
13447
13467
|
var depositWithPayloadLayout = (customPayload) => [
|
|
13448
13468
|
payloadIdItem(1),
|
|
13449
13469
|
{
|
|
@@ -13473,7 +13493,7 @@ var automaticCircleBridgeNamedPayloads = [
|
|
|
13473
13493
|
];
|
|
13474
13494
|
registerPayloadTypes("AutomaticCircleBridge", automaticCircleBridgeNamedPayloads);
|
|
13475
13495
|
|
|
13476
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13496
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridgeLayout.js
|
|
13477
13497
|
var messageVersionItem = { binary: "uint", size: 4, custom: 0, omit: true };
|
|
13478
13498
|
var circleBurnMessageLayout = [
|
|
13479
13499
|
// messageBodyVersion is:
|
|
@@ -13503,7 +13523,7 @@ var circleBridgeNamedPayloads = [
|
|
|
13503
13523
|
];
|
|
13504
13524
|
registerPayloadTypes("CircleBridge", circleBridgeNamedPayloads);
|
|
13505
13525
|
|
|
13506
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13526
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/circleBridge/circleBridge.js
|
|
13507
13527
|
var CircleBridge;
|
|
13508
13528
|
(function(CircleBridge2) {
|
|
13509
13529
|
const _protocol = "CircleBridge";
|
|
@@ -13527,7 +13547,7 @@ var AutomaticCircleBridge;
|
|
|
13527
13547
|
AutomaticCircleBridge2.getTransferDiscriminator = lazyInstantiate(() => payloadDiscriminator([_protocol, _payloads]));
|
|
13528
13548
|
})(AutomaticCircleBridge || (AutomaticCircleBridge = {}));
|
|
13529
13549
|
|
|
13530
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13550
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridgeLayout.js
|
|
13531
13551
|
var fixedLengthStringItem2 = {
|
|
13532
13552
|
binary: "bytes",
|
|
13533
13553
|
size: 32,
|
|
@@ -13589,7 +13609,7 @@ var tokenBridgeNamedPayloads = [
|
|
|
13589
13609
|
];
|
|
13590
13610
|
registerPayloadTypes("TokenBridge", tokenBridgeNamedPayloads);
|
|
13591
13611
|
|
|
13592
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13612
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/porticoLayout.js
|
|
13593
13613
|
var flagsItem = bitsetItem(["shouldWrapNative", "shouldUnwrapNative"]);
|
|
13594
13614
|
var porticoFlagSetLayout = [
|
|
13595
13615
|
{ name: "recipientChain", binary: "uint", endianness: "little", size: 2 },
|
|
@@ -13624,7 +13644,7 @@ var namedPayloads = [
|
|
|
13624
13644
|
];
|
|
13625
13645
|
registerPayloadTypes("PorticoBridge", namedPayloads);
|
|
13626
13646
|
|
|
13627
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13647
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/portico/portico.js
|
|
13628
13648
|
var PorticoBridge;
|
|
13629
13649
|
(function(PorticoBridge2) {
|
|
13630
13650
|
const _protocol = "PorticoBridge";
|
|
@@ -13644,7 +13664,7 @@ var PorticoBridge;
|
|
|
13644
13664
|
};
|
|
13645
13665
|
})(PorticoBridge || (PorticoBridge = {}));
|
|
13646
13666
|
|
|
13647
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13667
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/relayer/relayerLayout.js
|
|
13648
13668
|
var encodedExecutionInfoItem = {
|
|
13649
13669
|
binary: "bytes",
|
|
13650
13670
|
layout: [
|
|
@@ -13711,7 +13731,7 @@ var namedPayloads2 = [
|
|
|
13711
13731
|
];
|
|
13712
13732
|
registerPayloadTypes("Relayer", namedPayloads2);
|
|
13713
13733
|
|
|
13714
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13734
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/automaticTokenBridgeLayout.js
|
|
13715
13735
|
var connectPayload = [
|
|
13716
13736
|
payloadIdItem(1),
|
|
13717
13737
|
{ name: "targetRelayerFee", ...amountItem },
|
|
@@ -13723,7 +13743,7 @@ var automaticTokenBridgeNamedPayloads = [
|
|
|
13723
13743
|
];
|
|
13724
13744
|
registerPayloadTypes("AutomaticTokenBridge", automaticTokenBridgeNamedPayloads);
|
|
13725
13745
|
|
|
13726
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13746
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/tokenBridge.js
|
|
13727
13747
|
var TokenBridge;
|
|
13728
13748
|
(function(TokenBridge2) {
|
|
13729
13749
|
const _protocol = "TokenBridge";
|
|
@@ -13743,21 +13763,21 @@ var ExecutorTokenBridge;
|
|
|
13743
13763
|
const _payloads = ["TransferWithExecutorRelay"];
|
|
13744
13764
|
})(ExecutorTokenBridge || (ExecutorTokenBridge = {}));
|
|
13745
13765
|
|
|
13746
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13766
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tokenBridge/executorTokenBridgeLayout.js
|
|
13747
13767
|
var payload = [{ name: "targetRecipient", ...universalAddressItem }];
|
|
13748
13768
|
var executorTokenBridgeNamedPayloads = [
|
|
13749
13769
|
["TransferWithExecutorRelay", transferWithPayloadLayout(payload)]
|
|
13750
13770
|
];
|
|
13751
13771
|
registerPayloadTypes("ExecutorTokenBridge", executorTokenBridgeNamedPayloads);
|
|
13752
13772
|
|
|
13753
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13773
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/globalAccountant.js
|
|
13754
13774
|
var modificationKinds = [
|
|
13755
13775
|
["Add", 1],
|
|
13756
13776
|
["Subtract", 2],
|
|
13757
13777
|
["Unknown", 3]
|
|
13758
13778
|
];
|
|
13759
13779
|
|
|
13760
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
13780
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/governance/layout.js
|
|
13761
13781
|
var rawEvmAddressItem = {
|
|
13762
13782
|
binary: "bytes",
|
|
13763
13783
|
size: 20,
|
|
@@ -14019,7 +14039,7 @@ registerPayloadTypes("GeneralPurposeGovernance", generalPurposeGovernancePayload
|
|
|
14019
14039
|
registerPayloadTypes("WormchainGovernance", wormchainGovernancePayloads);
|
|
14020
14040
|
registerPayloadTypes("GatewayGovernance", gatewayGovernancePayloads);
|
|
14021
14041
|
|
|
14022
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14042
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtc.js
|
|
14023
14043
|
var TBTCBridge;
|
|
14024
14044
|
(function(TBTCBridge2) {
|
|
14025
14045
|
const _protocol = "TBTCBridge";
|
|
@@ -14037,7 +14057,7 @@ var TBTCBridge;
|
|
|
14037
14057
|
};
|
|
14038
14058
|
})(TBTCBridge || (TBTCBridge = {}));
|
|
14039
14059
|
|
|
14040
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14060
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/tbtc/tbtcLayout.js
|
|
14041
14061
|
var tbtcPayloadLayout = [
|
|
14042
14062
|
{ name: "recipient", ...universalAddressItem }
|
|
14043
14063
|
];
|
|
@@ -14050,7 +14070,7 @@ var namedPayloads3 = [
|
|
|
14050
14070
|
];
|
|
14051
14071
|
registerPayloadTypes("TBTCBridge", namedPayloads3);
|
|
14052
14072
|
|
|
14053
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14073
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/relayInstruction.js
|
|
14054
14074
|
var gasInstructionLayout = [
|
|
14055
14075
|
{ name: "gasLimit", binary: "uint", size: 16 },
|
|
14056
14076
|
{ name: "msgValue", binary: "uint", size: 16 }
|
|
@@ -14088,7 +14108,7 @@ var relayInstructionsLayout = [
|
|
|
14088
14108
|
}
|
|
14089
14109
|
];
|
|
14090
14110
|
|
|
14091
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14111
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/signedQuote.js
|
|
14092
14112
|
var quoteLayout = [
|
|
14093
14113
|
{
|
|
14094
14114
|
name: "quote",
|
|
@@ -14131,7 +14151,7 @@ var signedQuoteLayout = [
|
|
|
14131
14151
|
{ name: "signature", binary: "bytes", size: 65 }
|
|
14132
14152
|
];
|
|
14133
14153
|
|
|
14134
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.
|
|
14154
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-definitions@4.10.0/node_modules/@wormhole-foundation/sdk-definitions/dist/esm/protocols/executor/api.js
|
|
14135
14155
|
var RelayStatus;
|
|
14136
14156
|
(function(RelayStatus2) {
|
|
14137
14157
|
RelayStatus2["Pending"] = "pending";
|
|
@@ -14150,7 +14170,7 @@ var RequestPrefix;
|
|
|
14150
14170
|
RequestPrefix2["ERC2"] = "ERC2";
|
|
14151
14171
|
})(RequestPrefix || (RequestPrefix = {}));
|
|
14152
14172
|
|
|
14153
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
14173
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/executorTokenBridge.js
|
|
14154
14174
|
var RELAYER_ABI = [
|
|
14155
14175
|
"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
14176
|
"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 +14228,9 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
|
|
|
14208
14228
|
const relayInstructionsBytes = serializeLayout(relayInstructionsLayout, relayInstructions);
|
|
14209
14229
|
const wormholeFee = await this.core.getMessageFee();
|
|
14210
14230
|
const nonce = 0;
|
|
14211
|
-
const
|
|
14212
|
-
const
|
|
14231
|
+
const dstAddresses = getExecutorTokenBridgeDestinationAddresses(this.network, recipient.chain, dstRelayer);
|
|
14232
|
+
const dstTransferRecipient = toUniversal(recipient.chain, dstAddresses.dstTransferRecipient);
|
|
14233
|
+
const dstExecutionAddress = toUniversal(recipient.chain, dstAddresses.dstExecutionAddress);
|
|
14213
14234
|
const executionAmount = estimatedCost;
|
|
14214
14235
|
const refundAddr = senderAddr;
|
|
14215
14236
|
let txReq;
|
|
@@ -14271,14 +14292,14 @@ var EvmExecutorTokenBridge = class _EvmExecutorTokenBridge {
|
|
|
14271
14292
|
}
|
|
14272
14293
|
};
|
|
14273
14294
|
|
|
14274
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
14295
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
|
|
14275
14296
|
var ethers_contracts_exports2 = {};
|
|
14276
14297
|
__export(ethers_contracts_exports2, {
|
|
14277
14298
|
Bridge__factory: () => Bridge__factory,
|
|
14278
14299
|
TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
|
|
14279
14300
|
});
|
|
14280
14301
|
|
|
14281
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
14302
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
|
|
14282
14303
|
var _abi2 = [
|
|
14283
14304
|
{
|
|
14284
14305
|
anonymous: false,
|
|
@@ -15518,7 +15539,7 @@ var Bridge__factory = class extends ContractFactory {
|
|
|
15518
15539
|
}
|
|
15519
15540
|
};
|
|
15520
15541
|
|
|
15521
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
15542
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
|
|
15522
15543
|
var _abi3 = [
|
|
15523
15544
|
{
|
|
15524
15545
|
inputs: [
|
|
@@ -16589,7 +16610,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
|
|
|
16589
16610
|
}
|
|
16590
16611
|
};
|
|
16591
16612
|
|
|
16592
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.
|
|
16613
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@4.10.0_bufferutil@4.1.0_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
|
|
16593
16614
|
registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
|
|
16594
16615
|
registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
|
|
16595
16616
|
registerProtocol2(_platform2, "ExecutorTokenBridge", EvmExecutorTokenBridge);
|