@moonbeam-network/mrl 1.0.0-dev.206 → 1.0.0-dev.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.mjs +58 -74
- package/build/index.mjs.map +1 -1
- package/package.json +13 -13
package/build/index.mjs
CHANGED
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
wormholeFactory
|
|
21
21
|
} from "@moonbeam-network/xcm-builder";
|
|
22
22
|
|
|
23
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
23
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
|
|
24
24
|
import { registerProtocol as registerProtocol2 } from "@wormhole-foundation/sdk-connect";
|
|
25
25
|
import { _platform as _platform2 } from "@wormhole-foundation/sdk-evm";
|
|
26
26
|
|
|
27
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
27
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
|
|
28
28
|
import { ErrNotWrapped, UniversalAddress, isNative, keccak256 as keccak2562, nativeChainIds as nativeChainIds2, serialize as serialize2, toChain, toChainId, toNative } from "@wormhole-foundation/sdk-connect";
|
|
29
29
|
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";
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@
|
|
31
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
|
|
32
32
|
import { registerProtocol } from "@wormhole-foundation/sdk-connect";
|
|
33
33
|
import { _platform } from "@wormhole-foundation/sdk-evm";
|
|
34
34
|
|
|
35
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@
|
|
35
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/core.js
|
|
36
36
|
import { nativeChainIds, createVAA, isWormholeMessageId, encoding, serialize } from "@wormhole-foundation/sdk-connect";
|
|
37
37
|
import { EvmAddress, EvmPlatform, EvmUnsignedTransaction, addChainId, addFrom } from "@wormhole-foundation/sdk-evm";
|
|
38
38
|
var EvmWormholeCore = class _EvmWormholeCore {
|
|
@@ -149,16 +149,16 @@ var EvmWormholeCore = class _EvmWormholeCore {
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@
|
|
152
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/index.js
|
|
153
153
|
var ethers_contracts_exports = {};
|
|
154
154
|
__export(ethers_contracts_exports, {
|
|
155
155
|
Implementation__factory: () => Implementation__factory
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
159
|
-
var version = "6.
|
|
158
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/_version.js
|
|
159
|
+
var version = "6.13.5";
|
|
160
160
|
|
|
161
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
161
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/properties.js
|
|
162
162
|
function checkType(value, type, name) {
|
|
163
163
|
const types = type.split("|").map((t) => t.trim());
|
|
164
164
|
for (let i = 0; i < types.length; i++) {
|
|
@@ -199,22 +199,13 @@ function defineProperties(target, values, types) {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
203
|
-
function stringify(value
|
|
202
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/errors.js
|
|
203
|
+
function stringify(value) {
|
|
204
204
|
if (value == null) {
|
|
205
205
|
return "null";
|
|
206
206
|
}
|
|
207
|
-
if (seen == null) {
|
|
208
|
-
seen = /* @__PURE__ */ new Set();
|
|
209
|
-
}
|
|
210
|
-
if (typeof value === "object") {
|
|
211
|
-
if (seen.has(value)) {
|
|
212
|
-
return "[Circular]";
|
|
213
|
-
}
|
|
214
|
-
seen.add(value);
|
|
215
|
-
}
|
|
216
207
|
if (Array.isArray(value)) {
|
|
217
|
-
return "[ " + value.map(
|
|
208
|
+
return "[ " + value.map(stringify).join(", ") + " ]";
|
|
218
209
|
}
|
|
219
210
|
if (value instanceof Uint8Array) {
|
|
220
211
|
const HEX = "0123456789abcdef";
|
|
@@ -226,21 +217,22 @@ function stringify(value, seen) {
|
|
|
226
217
|
return result;
|
|
227
218
|
}
|
|
228
219
|
if (typeof value === "object" && typeof value.toJSON === "function") {
|
|
229
|
-
return stringify(value.toJSON()
|
|
220
|
+
return stringify(value.toJSON());
|
|
230
221
|
}
|
|
231
222
|
switch (typeof value) {
|
|
232
223
|
case "boolean":
|
|
233
|
-
case "number":
|
|
234
224
|
case "symbol":
|
|
235
225
|
return value.toString();
|
|
236
226
|
case "bigint":
|
|
237
227
|
return BigInt(value).toString();
|
|
228
|
+
case "number":
|
|
229
|
+
return value.toString();
|
|
238
230
|
case "string":
|
|
239
231
|
return JSON.stringify(value);
|
|
240
232
|
case "object": {
|
|
241
233
|
const keys = Object.keys(value);
|
|
242
234
|
keys.sort();
|
|
243
|
-
return "{ " + keys.map((k) => `${stringify(k
|
|
235
|
+
return "{ " + keys.map((k) => `${stringify(k)}: ${stringify(value[k])}`).join(", ") + " }";
|
|
244
236
|
}
|
|
245
237
|
}
|
|
246
238
|
return `[ COULD NOT SERIALIZE ]`;
|
|
@@ -358,7 +350,7 @@ function assertPrivate(givenGuard, guard, className) {
|
|
|
358
350
|
}
|
|
359
351
|
}
|
|
360
352
|
|
|
361
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
353
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/data.js
|
|
362
354
|
function _getBytes(value, name, copy) {
|
|
363
355
|
if (value instanceof Uint8Array) {
|
|
364
356
|
if (copy) {
|
|
@@ -445,7 +437,7 @@ function zeroPadBytes(data, length) {
|
|
|
445
437
|
return zeroPad(data, length, false);
|
|
446
438
|
}
|
|
447
439
|
|
|
448
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
440
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/maths.js
|
|
449
441
|
var BN_0 = BigInt(0);
|
|
450
442
|
var BN_1 = BigInt(1);
|
|
451
443
|
var maxValue = 9007199254740991;
|
|
@@ -595,7 +587,7 @@ function toBeArray(_value) {
|
|
|
595
587
|
return result;
|
|
596
588
|
}
|
|
597
589
|
|
|
598
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
590
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/events.js
|
|
599
591
|
var EventPayload = class {
|
|
600
592
|
/**
|
|
601
593
|
* The event filter.
|
|
@@ -625,7 +617,7 @@ var EventPayload = class {
|
|
|
625
617
|
}
|
|
626
618
|
};
|
|
627
619
|
|
|
628
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
620
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/utf8.js
|
|
629
621
|
function errorFunc(reason, offset, bytes2, output2, badCodepoint) {
|
|
630
622
|
assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes2);
|
|
631
623
|
}
|
|
@@ -770,7 +762,7 @@ function toUtf8String(bytes2, onError) {
|
|
|
770
762
|
return _toUtf8String(getUtf8CodePoints(bytes2, onError));
|
|
771
763
|
}
|
|
772
764
|
|
|
773
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
765
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/rlp-encode.js
|
|
774
766
|
function arrayifyInteger(value) {
|
|
775
767
|
const result = [];
|
|
776
768
|
while (value) {
|
|
@@ -814,7 +806,7 @@ function encodeRlp(object) {
|
|
|
814
806
|
return result;
|
|
815
807
|
}
|
|
816
808
|
|
|
817
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
809
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/abstract-coder.js
|
|
818
810
|
var WordSize = 32;
|
|
819
811
|
var Padding = new Uint8Array(WordSize);
|
|
820
812
|
var passProperties = ["then"];
|
|
@@ -1487,7 +1479,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1487
1479
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1488
1480
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1489
1481
|
|
|
1490
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1482
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/crypto/keccak.js
|
|
1491
1483
|
var locked = false;
|
|
1492
1484
|
var _keccak256 = function(data) {
|
|
1493
1485
|
return keccak_256(data);
|
|
@@ -1509,7 +1501,7 @@ keccak256.register = function(func) {
|
|
|
1509
1501
|
};
|
|
1510
1502
|
Object.freeze(keccak256);
|
|
1511
1503
|
|
|
1512
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1504
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/address.js
|
|
1513
1505
|
var BN_02 = BigInt(0);
|
|
1514
1506
|
var BN_36 = BigInt(36);
|
|
1515
1507
|
function getChecksumAddress(address) {
|
|
@@ -1592,7 +1584,7 @@ function getAddress(address) {
|
|
|
1592
1584
|
assertArgument(false, "invalid address", "address", address);
|
|
1593
1585
|
}
|
|
1594
1586
|
|
|
1595
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1587
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/contract-address.js
|
|
1596
1588
|
function getCreateAddress(tx) {
|
|
1597
1589
|
const from = getAddress(tx.from);
|
|
1598
1590
|
const nonce = getBigInt(tx.nonce, "tx.nonce");
|
|
@@ -1607,7 +1599,7 @@ function getCreateAddress(tx) {
|
|
|
1607
1599
|
return getAddress(dataSlice(keccak256(encodeRlp([from, nonceHex])), 12));
|
|
1608
1600
|
}
|
|
1609
1601
|
|
|
1610
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1602
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/checks.js
|
|
1611
1603
|
function isAddressable(value) {
|
|
1612
1604
|
return value && typeof value.getAddress === "function";
|
|
1613
1605
|
}
|
|
@@ -1634,7 +1626,7 @@ function resolveAddress(target, resolver) {
|
|
|
1634
1626
|
assertArgument(false, "unsupported addressable value", "target", target);
|
|
1635
1627
|
}
|
|
1636
1628
|
|
|
1637
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
1629
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/typed.js
|
|
1638
1630
|
var _gaurd = {};
|
|
1639
1631
|
function n(value, width) {
|
|
1640
1632
|
let signed = false;
|
|
@@ -2415,7 +2407,7 @@ var Typed = class _Typed {
|
|
|
2415
2407
|
}
|
|
2416
2408
|
};
|
|
2417
2409
|
|
|
2418
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2410
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/address.js
|
|
2419
2411
|
var AddressCoder = class extends Coder {
|
|
2420
2412
|
constructor(localName) {
|
|
2421
2413
|
super("address", "address", localName, false);
|
|
@@ -2437,7 +2429,7 @@ var AddressCoder = class extends Coder {
|
|
|
2437
2429
|
}
|
|
2438
2430
|
};
|
|
2439
2431
|
|
|
2440
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2432
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/anonymous.js
|
|
2441
2433
|
var AnonymousCoder = class extends Coder {
|
|
2442
2434
|
coder;
|
|
2443
2435
|
constructor(coder) {
|
|
@@ -2455,7 +2447,7 @@ var AnonymousCoder = class extends Coder {
|
|
|
2455
2447
|
}
|
|
2456
2448
|
};
|
|
2457
2449
|
|
|
2458
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2450
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/array.js
|
|
2459
2451
|
function pack(writer, coders, values) {
|
|
2460
2452
|
let arrayValues = [];
|
|
2461
2453
|
if (Array.isArray(values)) {
|
|
@@ -2585,7 +2577,7 @@ var ArrayCoder = class extends Coder {
|
|
|
2585
2577
|
}
|
|
2586
2578
|
};
|
|
2587
2579
|
|
|
2588
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2580
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/boolean.js
|
|
2589
2581
|
var BooleanCoder = class extends Coder {
|
|
2590
2582
|
constructor(localName) {
|
|
2591
2583
|
super("bool", "bool", localName, false);
|
|
@@ -2602,7 +2594,7 @@ var BooleanCoder = class extends Coder {
|
|
|
2602
2594
|
}
|
|
2603
2595
|
};
|
|
2604
2596
|
|
|
2605
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2597
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/bytes.js
|
|
2606
2598
|
var DynamicBytesCoder = class extends Coder {
|
|
2607
2599
|
constructor(type, localName) {
|
|
2608
2600
|
super(type, type, localName, true);
|
|
@@ -2629,7 +2621,7 @@ var BytesCoder = class extends DynamicBytesCoder {
|
|
|
2629
2621
|
}
|
|
2630
2622
|
};
|
|
2631
2623
|
|
|
2632
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2624
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.js
|
|
2633
2625
|
var FixedBytesCoder = class extends Coder {
|
|
2634
2626
|
size;
|
|
2635
2627
|
constructor(size, localName) {
|
|
@@ -2652,7 +2644,7 @@ var FixedBytesCoder = class extends Coder {
|
|
|
2652
2644
|
}
|
|
2653
2645
|
};
|
|
2654
2646
|
|
|
2655
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2647
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/null.js
|
|
2656
2648
|
var Empty = new Uint8Array([]);
|
|
2657
2649
|
var NullCoder = class extends Coder {
|
|
2658
2650
|
constructor(localName) {
|
|
@@ -2673,7 +2665,7 @@ var NullCoder = class extends Coder {
|
|
|
2673
2665
|
}
|
|
2674
2666
|
};
|
|
2675
2667
|
|
|
2676
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2668
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/number.js
|
|
2677
2669
|
var BN_03 = BigInt(0);
|
|
2678
2670
|
var BN_12 = BigInt(1);
|
|
2679
2671
|
var BN_MAX_UINT256 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
@@ -2711,7 +2703,7 @@ var NumberCoder = class extends Coder {
|
|
|
2711
2703
|
}
|
|
2712
2704
|
};
|
|
2713
2705
|
|
|
2714
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2706
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/string.js
|
|
2715
2707
|
var StringCoder = class extends DynamicBytesCoder {
|
|
2716
2708
|
constructor(localName) {
|
|
2717
2709
|
super("string", localName);
|
|
@@ -2727,7 +2719,7 @@ var StringCoder = class extends DynamicBytesCoder {
|
|
|
2727
2719
|
}
|
|
2728
2720
|
};
|
|
2729
2721
|
|
|
2730
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2722
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/tuple.js
|
|
2731
2723
|
var TupleCoder = class extends Coder {
|
|
2732
2724
|
coders;
|
|
2733
2725
|
constructor(coders, localName) {
|
|
@@ -2782,7 +2774,12 @@ var TupleCoder = class extends Coder {
|
|
|
2782
2774
|
}
|
|
2783
2775
|
};
|
|
2784
2776
|
|
|
2785
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2777
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/hash/id.js
|
|
2778
|
+
function id(value) {
|
|
2779
|
+
return keccak256(toUtf8Bytes(value));
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/transaction/accesslist.js
|
|
2786
2783
|
function accessSetify(addr, storageKeys) {
|
|
2787
2784
|
return {
|
|
2788
2785
|
address: getAddress(addr),
|
|
@@ -2815,12 +2812,7 @@ function accessListify(value) {
|
|
|
2815
2812
|
return result;
|
|
2816
2813
|
}
|
|
2817
2814
|
|
|
2818
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
2819
|
-
function id(value) {
|
|
2820
|
-
return keccak256(toUtf8Bytes(value));
|
|
2821
|
-
}
|
|
2822
|
-
|
|
2823
|
-
// ../../node_modules/.pnpm/ethers@6.14.3_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/fragments.js
|
|
2815
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/fragments.js
|
|
2824
2816
|
function setify(items) {
|
|
2825
2817
|
const result = /* @__PURE__ */ new Set();
|
|
2826
2818
|
items.forEach((k) => result.add(k));
|
|
@@ -4068,7 +4060,7 @@ var StructFragment = class _StructFragment extends NamedFragment {
|
|
|
4068
4060
|
}
|
|
4069
4061
|
};
|
|
4070
4062
|
|
|
4071
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
4063
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/abi-coder.js
|
|
4072
4064
|
var PanicReasons = /* @__PURE__ */ new Map();
|
|
4073
4065
|
PanicReasons.set(0, "GENERIC_PANIC");
|
|
4074
4066
|
PanicReasons.set(1, "ASSERT_FALSE");
|
|
@@ -4238,7 +4230,7 @@ var AbiCoder = class _AbiCoder {
|
|
|
4238
4230
|
}
|
|
4239
4231
|
};
|
|
4240
4232
|
|
|
4241
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
4233
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/interface.js
|
|
4242
4234
|
var LogDescription = class {
|
|
4243
4235
|
/**
|
|
4244
4236
|
* The matching fragment for the ``topic0``.
|
|
@@ -5246,7 +5238,7 @@ var Interface = class _Interface {
|
|
|
5246
5238
|
}
|
|
5247
5239
|
};
|
|
5248
5240
|
|
|
5249
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
5241
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/providers/provider.js
|
|
5250
5242
|
var BN_04 = BigInt(0);
|
|
5251
5243
|
function toJson(value) {
|
|
5252
5244
|
if (value == null) {
|
|
@@ -5282,9 +5274,6 @@ function copyRequest(req) {
|
|
|
5282
5274
|
if (req.accessList) {
|
|
5283
5275
|
result.accessList = accessListify(req.accessList);
|
|
5284
5276
|
}
|
|
5285
|
-
if (req.authorizationList) {
|
|
5286
|
-
result.authorizationList = req.authorizationList.slice();
|
|
5287
|
-
}
|
|
5288
5277
|
if ("blockTag" in req) {
|
|
5289
5278
|
result.blockTag = req.blockTag;
|
|
5290
5279
|
}
|
|
@@ -5796,10 +5785,6 @@ var TransactionResponse = class _TransactionResponse {
|
|
|
5796
5785
|
* The [[link-eip-4844]] BLOb versioned hashes.
|
|
5797
5786
|
*/
|
|
5798
5787
|
blobVersionedHashes;
|
|
5799
|
-
/**
|
|
5800
|
-
* The [[link-eip-7702]] authorizations (if any).
|
|
5801
|
-
*/
|
|
5802
|
-
authorizationList;
|
|
5803
5788
|
#startBlock;
|
|
5804
5789
|
/**
|
|
5805
5790
|
* @_ignore:
|
|
@@ -5825,7 +5810,6 @@ var TransactionResponse = class _TransactionResponse {
|
|
|
5825
5810
|
this.signature = tx.signature;
|
|
5826
5811
|
this.accessList = tx.accessList != null ? tx.accessList : null;
|
|
5827
5812
|
this.blobVersionedHashes = tx.blobVersionedHashes != null ? tx.blobVersionedHashes : null;
|
|
5828
|
-
this.authorizationList = tx.authorizationList != null ? tx.authorizationList : null;
|
|
5829
5813
|
this.#startBlock = -1;
|
|
5830
5814
|
}
|
|
5831
5815
|
/**
|
|
@@ -6012,7 +5996,7 @@ var TransactionResponse = class _TransactionResponse {
|
|
|
6012
5996
|
return checkReceipt(receipt);
|
|
6013
5997
|
}
|
|
6014
5998
|
if (receipt) {
|
|
6015
|
-
if (
|
|
5999
|
+
if (await receipt.confirmations() >= confirms) {
|
|
6016
6000
|
return checkReceipt(receipt);
|
|
6017
6001
|
}
|
|
6018
6002
|
} else {
|
|
@@ -6177,7 +6161,7 @@ function createRemovedLogFilter(log) {
|
|
|
6177
6161
|
} };
|
|
6178
6162
|
}
|
|
6179
6163
|
|
|
6180
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
6164
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/wrappers.js
|
|
6181
6165
|
var EventLog = class extends Log {
|
|
6182
6166
|
/**
|
|
6183
6167
|
* The Contract Interface.
|
|
@@ -6332,7 +6316,7 @@ var ContractEventPayload = class extends ContractUnknownEventPayload {
|
|
|
6332
6316
|
}
|
|
6333
6317
|
};
|
|
6334
6318
|
|
|
6335
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
6319
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/contract.js
|
|
6336
6320
|
var BN_05 = BigInt(0);
|
|
6337
6321
|
function canCall(value) {
|
|
6338
6322
|
return value && typeof value.call === "function";
|
|
@@ -7209,7 +7193,7 @@ function _ContractBase() {
|
|
|
7209
7193
|
var Contract = class extends _ContractBase() {
|
|
7210
7194
|
};
|
|
7211
7195
|
|
|
7212
|
-
// ../../node_modules/.pnpm/ethers@6.
|
|
7196
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/factory.js
|
|
7213
7197
|
var ContractFactory = class _ContractFactory {
|
|
7214
7198
|
/**
|
|
7215
7199
|
* The Contract Interface.
|
|
@@ -7312,7 +7296,7 @@ var ContractFactory = class _ContractFactory {
|
|
|
7312
7296
|
}
|
|
7313
7297
|
};
|
|
7314
7298
|
|
|
7315
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@
|
|
7299
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/factories/Implementation__factory.js
|
|
7316
7300
|
var _abi = [
|
|
7317
7301
|
{
|
|
7318
7302
|
anonymous: false,
|
|
@@ -8382,10 +8366,10 @@ var Implementation__factory = class extends ContractFactory {
|
|
|
8382
8366
|
}
|
|
8383
8367
|
};
|
|
8384
8368
|
|
|
8385
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@
|
|
8369
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
|
|
8386
8370
|
registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
|
|
8387
8371
|
|
|
8388
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
8372
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
|
|
8389
8373
|
var EvmTokenBridge = class _EvmTokenBridge {
|
|
8390
8374
|
network;
|
|
8391
8375
|
chain;
|
|
@@ -8523,7 +8507,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
|
|
|
8523
8507
|
}
|
|
8524
8508
|
};
|
|
8525
8509
|
|
|
8526
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
8510
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
|
|
8527
8511
|
import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
|
|
8528
8512
|
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";
|
|
8529
8513
|
var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
@@ -8631,14 +8615,14 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
|
8631
8615
|
}
|
|
8632
8616
|
};
|
|
8633
8617
|
|
|
8634
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
8618
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
|
|
8635
8619
|
var ethers_contracts_exports2 = {};
|
|
8636
8620
|
__export(ethers_contracts_exports2, {
|
|
8637
8621
|
Bridge__factory: () => Bridge__factory,
|
|
8638
8622
|
TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
|
|
8639
8623
|
});
|
|
8640
8624
|
|
|
8641
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
8625
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/Bridge__factory.js
|
|
8642
8626
|
var _abi2 = [
|
|
8643
8627
|
{
|
|
8644
8628
|
anonymous: false,
|
|
@@ -9878,7 +9862,7 @@ var Bridge__factory = class extends ContractFactory {
|
|
|
9878
9862
|
}
|
|
9879
9863
|
};
|
|
9880
9864
|
|
|
9881
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
9865
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js
|
|
9882
9866
|
var _abi3 = [
|
|
9883
9867
|
{
|
|
9884
9868
|
inputs: [
|
|
@@ -10949,7 +10933,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
|
|
|
10949
10933
|
}
|
|
10950
10934
|
};
|
|
10951
10935
|
|
|
10952
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@
|
|
10936
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.23.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
|
|
10953
10937
|
registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
|
|
10954
10938
|
registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
|
|
10955
10939
|
|