@moonbeam-network/mrl 3.1.15 → 3.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.mjs +56 -56
- package/build/index.mjs.map +1 -1
- package/package.json +14 -14
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@2.
|
|
23
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.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@2.
|
|
27
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.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@2.
|
|
31
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.1.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@2.
|
|
35
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.1.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@2.
|
|
152
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.1.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.14.
|
|
159
|
-
var version = "6.14.
|
|
158
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/_version.js
|
|
159
|
+
var version = "6.14.4";
|
|
160
160
|
|
|
161
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
161
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_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,7 +199,7 @@ function defineProperties(target, values, types) {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
202
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/errors.js
|
|
203
203
|
function stringify(value, seen) {
|
|
204
204
|
if (value == null) {
|
|
205
205
|
return "null";
|
|
@@ -358,7 +358,7 @@ function assertPrivate(givenGuard, guard, className) {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
361
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/data.js
|
|
362
362
|
function _getBytes(value, name, copy) {
|
|
363
363
|
if (value instanceof Uint8Array) {
|
|
364
364
|
if (copy) {
|
|
@@ -445,7 +445,7 @@ function zeroPadBytes(data, length) {
|
|
|
445
445
|
return zeroPad(data, length, false);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
448
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/maths.js
|
|
449
449
|
var BN_0 = BigInt(0);
|
|
450
450
|
var BN_1 = BigInt(1);
|
|
451
451
|
var maxValue = 9007199254740991;
|
|
@@ -595,7 +595,7 @@ function toBeArray(_value) {
|
|
|
595
595
|
return result;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
598
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/events.js
|
|
599
599
|
var EventPayload = class {
|
|
600
600
|
/**
|
|
601
601
|
* The event filter.
|
|
@@ -625,7 +625,7 @@ var EventPayload = class {
|
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
627
|
|
|
628
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
628
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/utf8.js
|
|
629
629
|
function errorFunc(reason, offset, bytes2, output2, badCodepoint) {
|
|
630
630
|
assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes2);
|
|
631
631
|
}
|
|
@@ -770,7 +770,7 @@ function toUtf8String(bytes2, onError) {
|
|
|
770
770
|
return _toUtf8String(getUtf8CodePoints(bytes2, onError));
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
773
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/utils/rlp-encode.js
|
|
774
774
|
function arrayifyInteger(value) {
|
|
775
775
|
const result = [];
|
|
776
776
|
while (value) {
|
|
@@ -814,7 +814,7 @@ function encodeRlp(object) {
|
|
|
814
814
|
return result;
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
817
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/abstract-coder.js
|
|
818
818
|
var WordSize = 32;
|
|
819
819
|
var Padding = new Uint8Array(WordSize);
|
|
820
820
|
var passProperties = ["then"];
|
|
@@ -1487,7 +1487,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1487
1487
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1488
1488
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1489
1489
|
|
|
1490
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
1490
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/crypto/keccak.js
|
|
1491
1491
|
var locked = false;
|
|
1492
1492
|
var _keccak256 = function(data) {
|
|
1493
1493
|
return keccak_256(data);
|
|
@@ -1509,7 +1509,7 @@ keccak256.register = function(func) {
|
|
|
1509
1509
|
};
|
|
1510
1510
|
Object.freeze(keccak256);
|
|
1511
1511
|
|
|
1512
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
1512
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/address.js
|
|
1513
1513
|
var BN_02 = BigInt(0);
|
|
1514
1514
|
var BN_36 = BigInt(36);
|
|
1515
1515
|
function getChecksumAddress(address) {
|
|
@@ -1592,7 +1592,7 @@ function getAddress(address) {
|
|
|
1592
1592
|
assertArgument(false, "invalid address", "address", address);
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
1595
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/contract-address.js
|
|
1596
1596
|
function getCreateAddress(tx) {
|
|
1597
1597
|
const from = getAddress(tx.from);
|
|
1598
1598
|
const nonce = getBigInt(tx.nonce, "tx.nonce");
|
|
@@ -1607,7 +1607,7 @@ function getCreateAddress(tx) {
|
|
|
1607
1607
|
return getAddress(dataSlice(keccak256(encodeRlp([from, nonceHex])), 12));
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
1610
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/address/checks.js
|
|
1611
1611
|
function isAddressable(value) {
|
|
1612
1612
|
return value && typeof value.getAddress === "function";
|
|
1613
1613
|
}
|
|
@@ -1634,7 +1634,7 @@ function resolveAddress(target, resolver) {
|
|
|
1634
1634
|
assertArgument(false, "unsupported addressable value", "target", target);
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
1637
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/typed.js
|
|
1638
1638
|
var _gaurd = {};
|
|
1639
1639
|
function n(value, width) {
|
|
1640
1640
|
let signed = false;
|
|
@@ -2415,7 +2415,7 @@ var Typed = class _Typed {
|
|
|
2415
2415
|
}
|
|
2416
2416
|
};
|
|
2417
2417
|
|
|
2418
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2418
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/address.js
|
|
2419
2419
|
var AddressCoder = class extends Coder {
|
|
2420
2420
|
constructor(localName) {
|
|
2421
2421
|
super("address", "address", localName, false);
|
|
@@ -2437,7 +2437,7 @@ var AddressCoder = class extends Coder {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
};
|
|
2439
2439
|
|
|
2440
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2440
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/anonymous.js
|
|
2441
2441
|
var AnonymousCoder = class extends Coder {
|
|
2442
2442
|
coder;
|
|
2443
2443
|
constructor(coder) {
|
|
@@ -2455,7 +2455,7 @@ var AnonymousCoder = class extends Coder {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
};
|
|
2457
2457
|
|
|
2458
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2458
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/array.js
|
|
2459
2459
|
function pack(writer, coders, values) {
|
|
2460
2460
|
let arrayValues = [];
|
|
2461
2461
|
if (Array.isArray(values)) {
|
|
@@ -2585,7 +2585,7 @@ var ArrayCoder = class extends Coder {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
};
|
|
2587
2587
|
|
|
2588
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2588
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/boolean.js
|
|
2589
2589
|
var BooleanCoder = class extends Coder {
|
|
2590
2590
|
constructor(localName) {
|
|
2591
2591
|
super("bool", "bool", localName, false);
|
|
@@ -2602,7 +2602,7 @@ var BooleanCoder = class extends Coder {
|
|
|
2602
2602
|
}
|
|
2603
2603
|
};
|
|
2604
2604
|
|
|
2605
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2605
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/bytes.js
|
|
2606
2606
|
var DynamicBytesCoder = class extends Coder {
|
|
2607
2607
|
constructor(type, localName) {
|
|
2608
2608
|
super(type, type, localName, true);
|
|
@@ -2629,7 +2629,7 @@ var BytesCoder = class extends DynamicBytesCoder {
|
|
|
2629
2629
|
}
|
|
2630
2630
|
};
|
|
2631
2631
|
|
|
2632
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2632
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.js
|
|
2633
2633
|
var FixedBytesCoder = class extends Coder {
|
|
2634
2634
|
size;
|
|
2635
2635
|
constructor(size, localName) {
|
|
@@ -2652,7 +2652,7 @@ var FixedBytesCoder = class extends Coder {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
};
|
|
2654
2654
|
|
|
2655
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2655
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/null.js
|
|
2656
2656
|
var Empty = new Uint8Array([]);
|
|
2657
2657
|
var NullCoder = class extends Coder {
|
|
2658
2658
|
constructor(localName) {
|
|
@@ -2673,7 +2673,7 @@ var NullCoder = class extends Coder {
|
|
|
2673
2673
|
}
|
|
2674
2674
|
};
|
|
2675
2675
|
|
|
2676
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2676
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/number.js
|
|
2677
2677
|
var BN_03 = BigInt(0);
|
|
2678
2678
|
var BN_12 = BigInt(1);
|
|
2679
2679
|
var BN_MAX_UINT256 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
@@ -2711,7 +2711,7 @@ var NumberCoder = class extends Coder {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
};
|
|
2713
2713
|
|
|
2714
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2714
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/string.js
|
|
2715
2715
|
var StringCoder = class extends DynamicBytesCoder {
|
|
2716
2716
|
constructor(localName) {
|
|
2717
2717
|
super("string", localName);
|
|
@@ -2727,7 +2727,7 @@ var StringCoder = class extends DynamicBytesCoder {
|
|
|
2727
2727
|
}
|
|
2728
2728
|
};
|
|
2729
2729
|
|
|
2730
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2730
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/coders/tuple.js
|
|
2731
2731
|
var TupleCoder = class extends Coder {
|
|
2732
2732
|
coders;
|
|
2733
2733
|
constructor(coders, localName) {
|
|
@@ -2782,7 +2782,7 @@ var TupleCoder = class extends Coder {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
};
|
|
2784
2784
|
|
|
2785
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2785
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/transaction/accesslist.js
|
|
2786
2786
|
function accessSetify(addr, storageKeys) {
|
|
2787
2787
|
return {
|
|
2788
2788
|
address: getAddress(addr),
|
|
@@ -2815,12 +2815,12 @@ function accessListify(value) {
|
|
|
2815
2815
|
return result;
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2818
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/hash/id.js
|
|
2819
2819
|
function id(value) {
|
|
2820
2820
|
return keccak256(toUtf8Bytes(value));
|
|
2821
2821
|
}
|
|
2822
2822
|
|
|
2823
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
2823
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/fragments.js
|
|
2824
2824
|
function setify(items) {
|
|
2825
2825
|
const result = /* @__PURE__ */ new Set();
|
|
2826
2826
|
items.forEach((k) => result.add(k));
|
|
@@ -4068,7 +4068,7 @@ var StructFragment = class _StructFragment extends NamedFragment {
|
|
|
4068
4068
|
}
|
|
4069
4069
|
};
|
|
4070
4070
|
|
|
4071
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
4071
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/abi-coder.js
|
|
4072
4072
|
var PanicReasons = /* @__PURE__ */ new Map();
|
|
4073
4073
|
PanicReasons.set(0, "GENERIC_PANIC");
|
|
4074
4074
|
PanicReasons.set(1, "ASSERT_FALSE");
|
|
@@ -4238,7 +4238,7 @@ var AbiCoder = class _AbiCoder {
|
|
|
4238
4238
|
}
|
|
4239
4239
|
};
|
|
4240
4240
|
|
|
4241
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
4241
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/abi/interface.js
|
|
4242
4242
|
var LogDescription = class {
|
|
4243
4243
|
/**
|
|
4244
4244
|
* The matching fragment for the ``topic0``.
|
|
@@ -5246,7 +5246,7 @@ var Interface = class _Interface {
|
|
|
5246
5246
|
}
|
|
5247
5247
|
};
|
|
5248
5248
|
|
|
5249
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
5249
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/providers/provider.js
|
|
5250
5250
|
var BN_04 = BigInt(0);
|
|
5251
5251
|
function toJson(value) {
|
|
5252
5252
|
if (value == null) {
|
|
@@ -6177,7 +6177,7 @@ function createRemovedLogFilter(log) {
|
|
|
6177
6177
|
} };
|
|
6178
6178
|
}
|
|
6179
6179
|
|
|
6180
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
6180
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/wrappers.js
|
|
6181
6181
|
var EventLog = class extends Log {
|
|
6182
6182
|
/**
|
|
6183
6183
|
* The Contract Interface.
|
|
@@ -6332,7 +6332,7 @@ var ContractEventPayload = class extends ContractUnknownEventPayload {
|
|
|
6332
6332
|
}
|
|
6333
6333
|
};
|
|
6334
6334
|
|
|
6335
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
6335
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/contract.js
|
|
6336
6336
|
var BN_05 = BigInt(0);
|
|
6337
6337
|
function canCall(value) {
|
|
6338
6338
|
return value && typeof value.call === "function";
|
|
@@ -7209,7 +7209,7 @@ function _ContractBase() {
|
|
|
7209
7209
|
var Contract = class extends _ContractBase() {
|
|
7210
7210
|
};
|
|
7211
7211
|
|
|
7212
|
-
// ../../node_modules/.pnpm/ethers@6.14.
|
|
7212
|
+
// ../../node_modules/.pnpm/ethers@6.14.4_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/contract/factory.js
|
|
7213
7213
|
var ContractFactory = class _ContractFactory {
|
|
7214
7214
|
/**
|
|
7215
7215
|
* The Contract Interface.
|
|
@@ -7312,7 +7312,7 @@ var ContractFactory = class _ContractFactory {
|
|
|
7312
7312
|
}
|
|
7313
7313
|
};
|
|
7314
7314
|
|
|
7315
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.
|
|
7315
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.1.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
7316
|
var _abi = [
|
|
7317
7317
|
{
|
|
7318
7318
|
anonymous: false,
|
|
@@ -8382,10 +8382,10 @@ var Implementation__factory = class extends ContractFactory {
|
|
|
8382
8382
|
}
|
|
8383
8383
|
};
|
|
8384
8384
|
|
|
8385
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.
|
|
8385
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@2.1.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
|
|
8386
8386
|
registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
|
|
8387
8387
|
|
|
8388
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
8388
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
|
|
8389
8389
|
var EvmTokenBridge = class _EvmTokenBridge {
|
|
8390
8390
|
network;
|
|
8391
8391
|
chain;
|
|
@@ -8523,7 +8523,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
|
|
|
8523
8523
|
}
|
|
8524
8524
|
};
|
|
8525
8525
|
|
|
8526
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
8526
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
|
|
8527
8527
|
import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
|
|
8528
8528
|
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
8529
|
var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
@@ -8631,14 +8631,14 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
|
8631
8631
|
}
|
|
8632
8632
|
};
|
|
8633
8633
|
|
|
8634
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
8634
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.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
8635
|
var ethers_contracts_exports2 = {};
|
|
8636
8636
|
__export(ethers_contracts_exports2, {
|
|
8637
8637
|
Bridge__factory: () => Bridge__factory,
|
|
8638
8638
|
TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
|
|
8639
8639
|
});
|
|
8640
8640
|
|
|
8641
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
8641
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.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
8642
|
var _abi2 = [
|
|
8643
8643
|
{
|
|
8644
8644
|
anonymous: false,
|
|
@@ -9878,7 +9878,7 @@ var Bridge__factory = class extends ContractFactory {
|
|
|
9878
9878
|
}
|
|
9879
9879
|
};
|
|
9880
9880
|
|
|
9881
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
9881
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.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
9882
|
var _abi3 = [
|
|
9883
9883
|
{
|
|
9884
9884
|
inputs: [
|
|
@@ -10949,7 +10949,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
|
|
|
10949
10949
|
}
|
|
10950
10950
|
};
|
|
10951
10951
|
|
|
10952
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.
|
|
10952
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@2.1.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
|
|
10953
10953
|
registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
|
|
10954
10954
|
registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
|
|
10955
10955
|
|
|
@@ -10960,8 +10960,8 @@ import {
|
|
|
10960
10960
|
|
|
10961
10961
|
// src/services/wormhole/WormholeWagmiSigner.ts
|
|
10962
10962
|
import {
|
|
10963
|
-
|
|
10964
|
-
|
|
10963
|
+
createPublicClient,
|
|
10964
|
+
http
|
|
10965
10965
|
} from "viem";
|
|
10966
10966
|
var WormholeWagmiSigner = class _WormholeWagmiSigner {
|
|
10967
10967
|
#chain;
|
|
@@ -11120,10 +11120,10 @@ import {
|
|
|
11120
11120
|
WormholeConfig as WormholeConfig2
|
|
11121
11121
|
} from "@moonbeam-network/xcm-builder";
|
|
11122
11122
|
import {
|
|
11123
|
-
EvmService as EvmService2,
|
|
11124
|
-
PolkadotService as PolkadotService2,
|
|
11125
11123
|
convertToChainDecimals as convertToChainDecimals2,
|
|
11126
|
-
|
|
11124
|
+
EvmService as EvmService2,
|
|
11125
|
+
getDestinationData,
|
|
11126
|
+
PolkadotService as PolkadotService2
|
|
11127
11127
|
} from "@moonbeam-network/xcm-sdk";
|
|
11128
11128
|
import {
|
|
11129
11129
|
AssetAmount as AssetAmount3,
|
|
@@ -11242,9 +11242,9 @@ import {
|
|
|
11242
11242
|
moonbeam
|
|
11243
11243
|
} from "@moonbeam-network/xcm-config";
|
|
11244
11244
|
import {
|
|
11245
|
-
PolkadotService,
|
|
11246
11245
|
convertToChainDecimals,
|
|
11247
|
-
getMin
|
|
11246
|
+
getMin,
|
|
11247
|
+
PolkadotService
|
|
11248
11248
|
} from "@moonbeam-network/xcm-sdk";
|
|
11249
11249
|
import { AssetAmount, EvmParachain as EvmParachain2 } from "@moonbeam-network/xcm-types";
|
|
11250
11250
|
import {
|
|
@@ -11253,9 +11253,9 @@ import {
|
|
|
11253
11253
|
} from "@moonbeam-network/xcm-utils";
|
|
11254
11254
|
import Big from "big.js";
|
|
11255
11255
|
import {
|
|
11256
|
-
http as http2,
|
|
11257
11256
|
createPublicClient as createPublicClient2,
|
|
11258
|
-
encodeFunctionData
|
|
11257
|
+
encodeFunctionData,
|
|
11258
|
+
http as http2
|
|
11259
11259
|
} from "viem";
|
|
11260
11260
|
var MOON_CHAIN_AUTOMATIC_GAS_ESTIMATION = {
|
|
11261
11261
|
[moonbeam.key]: 1273110n,
|