@moonbeam-network/mrl 3.0.9 → 3.0.10
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.ts +1 -1
- package/build/index.mjs +48 -48
- package/build/index.mjs.map +1 -1
- package/package.json +14 -14
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SourceChainTransferData, EvmSigner } from '@moonbeam-network/xcm-sdk';
|
|
2
2
|
import * as _moonbeam_network_xcm_types from '@moonbeam-network/xcm-types';
|
|
3
|
-
import { AssetAmount, EvmParachain,
|
|
3
|
+
import { AnyChain, AssetAmount, EvmParachain, EvmChain, Ecosystem, AnyAsset } from '@moonbeam-network/xcm-types';
|
|
4
4
|
import { Signer } from '@polkadot/api/types';
|
|
5
5
|
import { IKeyringPair, ISubmittableResult } from '@polkadot/types/types';
|
|
6
6
|
import { TokenTransfer } from '@wormhole-foundation/sdk-connect';
|
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@1.
|
|
23
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_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@1.
|
|
27
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_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 } from "@wormhole-foundation/sdk-evm";
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.
|
|
31
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.13.2_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@1.
|
|
35
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.13.2_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 {
|
|
@@ -146,16 +146,16 @@ var EvmWormholeCore = class _EvmWormholeCore {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.
|
|
149
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/ethers-contracts/index.js
|
|
150
150
|
var ethers_contracts_exports = {};
|
|
151
151
|
__export(ethers_contracts_exports, {
|
|
152
152
|
Implementation__factory: () => Implementation__factory
|
|
153
153
|
});
|
|
154
154
|
|
|
155
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
156
|
-
var version = "6.13.
|
|
155
|
+
// ../../node_modules/.pnpm/ethers@6.13.5_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/_version.js
|
|
156
|
+
var version = "6.13.5";
|
|
157
157
|
|
|
158
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
158
|
+
// ../../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
|
|
159
159
|
function checkType(value, type, name) {
|
|
160
160
|
const types = type.split("|").map((t) => t.trim());
|
|
161
161
|
for (let i = 0; i < types.length; i++) {
|
|
@@ -196,7 +196,7 @@ function defineProperties(target, values, types) {
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
199
|
+
// ../../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
|
|
200
200
|
function stringify(value) {
|
|
201
201
|
if (value == null) {
|
|
202
202
|
return "null";
|
|
@@ -298,7 +298,7 @@ function assertArgumentCount(count, expectedCount, message) {
|
|
|
298
298
|
if (message) {
|
|
299
299
|
message = ": " + message;
|
|
300
300
|
}
|
|
301
|
-
assert(count >= expectedCount, "missing
|
|
301
|
+
assert(count >= expectedCount, "missing argument" + message, "MISSING_ARGUMENT", {
|
|
302
302
|
count,
|
|
303
303
|
expectedCount
|
|
304
304
|
});
|
|
@@ -347,7 +347,7 @@ function assertPrivate(givenGuard, guard, className) {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
350
|
+
// ../../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
|
|
351
351
|
function _getBytes(value, name, copy) {
|
|
352
352
|
if (value instanceof Uint8Array) {
|
|
353
353
|
if (copy) {
|
|
@@ -434,7 +434,7 @@ function zeroPadBytes(data, length) {
|
|
|
434
434
|
return zeroPad(data, length, false);
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
437
|
+
// ../../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
|
|
438
438
|
var BN_0 = BigInt(0);
|
|
439
439
|
var BN_1 = BigInt(1);
|
|
440
440
|
var maxValue = 9007199254740991;
|
|
@@ -584,7 +584,7 @@ function toBeArray(_value) {
|
|
|
584
584
|
return result;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
587
|
+
// ../../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
|
|
588
588
|
var EventPayload = class {
|
|
589
589
|
/**
|
|
590
590
|
* The event filter.
|
|
@@ -614,7 +614,7 @@ var EventPayload = class {
|
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
|
|
617
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
617
|
+
// ../../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
|
|
618
618
|
function errorFunc(reason, offset, bytes2, output2, badCodepoint) {
|
|
619
619
|
assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes2);
|
|
620
620
|
}
|
|
@@ -759,7 +759,7 @@ function toUtf8String(bytes2, onError) {
|
|
|
759
759
|
return _toUtf8String(getUtf8CodePoints(bytes2, onError));
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
762
|
+
// ../../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
|
|
763
763
|
function arrayifyInteger(value) {
|
|
764
764
|
const result = [];
|
|
765
765
|
while (value) {
|
|
@@ -803,7 +803,7 @@ function encodeRlp(object) {
|
|
|
803
803
|
return result;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
806
|
+
// ../../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
|
|
807
807
|
var WordSize = 32;
|
|
808
808
|
var Padding = new Uint8Array(WordSize);
|
|
809
809
|
var passProperties = ["then"];
|
|
@@ -1476,7 +1476,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1476
1476
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1477
1477
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1478
1478
|
|
|
1479
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
1479
|
+
// ../../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
|
|
1480
1480
|
var locked = false;
|
|
1481
1481
|
var _keccak256 = function(data) {
|
|
1482
1482
|
return keccak_256(data);
|
|
@@ -1498,7 +1498,7 @@ keccak256.register = function(func) {
|
|
|
1498
1498
|
};
|
|
1499
1499
|
Object.freeze(keccak256);
|
|
1500
1500
|
|
|
1501
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
1501
|
+
// ../../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
|
|
1502
1502
|
var BN_02 = BigInt(0);
|
|
1503
1503
|
var BN_36 = BigInt(36);
|
|
1504
1504
|
function getChecksumAddress(address) {
|
|
@@ -1581,7 +1581,7 @@ function getAddress(address) {
|
|
|
1581
1581
|
assertArgument(false, "invalid address", "address", address);
|
|
1582
1582
|
}
|
|
1583
1583
|
|
|
1584
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
1584
|
+
// ../../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
|
|
1585
1585
|
function getCreateAddress(tx) {
|
|
1586
1586
|
const from = getAddress(tx.from);
|
|
1587
1587
|
const nonce = getBigInt(tx.nonce, "tx.nonce");
|
|
@@ -1596,7 +1596,7 @@ function getCreateAddress(tx) {
|
|
|
1596
1596
|
return getAddress(dataSlice(keccak256(encodeRlp([from, nonceHex])), 12));
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
1599
|
+
// ../../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
|
|
1600
1600
|
function isAddressable(value) {
|
|
1601
1601
|
return value && typeof value.getAddress === "function";
|
|
1602
1602
|
}
|
|
@@ -1623,7 +1623,7 @@ function resolveAddress(target, resolver) {
|
|
|
1623
1623
|
assertArgument(false, "unsupported addressable value", "target", target);
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
1626
|
+
// ../../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
|
|
1627
1627
|
var _gaurd = {};
|
|
1628
1628
|
function n(value, width) {
|
|
1629
1629
|
let signed = false;
|
|
@@ -2404,7 +2404,7 @@ var Typed = class _Typed {
|
|
|
2404
2404
|
}
|
|
2405
2405
|
};
|
|
2406
2406
|
|
|
2407
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2407
|
+
// ../../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
|
|
2408
2408
|
var AddressCoder = class extends Coder {
|
|
2409
2409
|
constructor(localName) {
|
|
2410
2410
|
super("address", "address", localName, false);
|
|
@@ -2426,7 +2426,7 @@ var AddressCoder = class extends Coder {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
};
|
|
2428
2428
|
|
|
2429
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2429
|
+
// ../../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
|
|
2430
2430
|
var AnonymousCoder = class extends Coder {
|
|
2431
2431
|
coder;
|
|
2432
2432
|
constructor(coder) {
|
|
@@ -2444,7 +2444,7 @@ var AnonymousCoder = class extends Coder {
|
|
|
2444
2444
|
}
|
|
2445
2445
|
};
|
|
2446
2446
|
|
|
2447
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2447
|
+
// ../../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
|
|
2448
2448
|
function pack(writer, coders, values) {
|
|
2449
2449
|
let arrayValues = [];
|
|
2450
2450
|
if (Array.isArray(values)) {
|
|
@@ -2574,7 +2574,7 @@ var ArrayCoder = class extends Coder {
|
|
|
2574
2574
|
}
|
|
2575
2575
|
};
|
|
2576
2576
|
|
|
2577
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2577
|
+
// ../../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
|
|
2578
2578
|
var BooleanCoder = class extends Coder {
|
|
2579
2579
|
constructor(localName) {
|
|
2580
2580
|
super("bool", "bool", localName, false);
|
|
@@ -2591,7 +2591,7 @@ var BooleanCoder = class extends Coder {
|
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
2593
|
|
|
2594
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2594
|
+
// ../../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
|
|
2595
2595
|
var DynamicBytesCoder = class extends Coder {
|
|
2596
2596
|
constructor(type, localName) {
|
|
2597
2597
|
super(type, type, localName, true);
|
|
@@ -2618,7 +2618,7 @@ var BytesCoder = class extends DynamicBytesCoder {
|
|
|
2618
2618
|
}
|
|
2619
2619
|
};
|
|
2620
2620
|
|
|
2621
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2621
|
+
// ../../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
|
|
2622
2622
|
var FixedBytesCoder = class extends Coder {
|
|
2623
2623
|
size;
|
|
2624
2624
|
constructor(size, localName) {
|
|
@@ -2641,7 +2641,7 @@ var FixedBytesCoder = class extends Coder {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
2643
|
|
|
2644
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2644
|
+
// ../../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
|
|
2645
2645
|
var Empty = new Uint8Array([]);
|
|
2646
2646
|
var NullCoder = class extends Coder {
|
|
2647
2647
|
constructor(localName) {
|
|
@@ -2662,7 +2662,7 @@ var NullCoder = class extends Coder {
|
|
|
2662
2662
|
}
|
|
2663
2663
|
};
|
|
2664
2664
|
|
|
2665
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2665
|
+
// ../../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
|
|
2666
2666
|
var BN_03 = BigInt(0);
|
|
2667
2667
|
var BN_12 = BigInt(1);
|
|
2668
2668
|
var BN_MAX_UINT256 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
@@ -2700,7 +2700,7 @@ var NumberCoder = class extends Coder {
|
|
|
2700
2700
|
}
|
|
2701
2701
|
};
|
|
2702
2702
|
|
|
2703
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2703
|
+
// ../../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
|
|
2704
2704
|
var StringCoder = class extends DynamicBytesCoder {
|
|
2705
2705
|
constructor(localName) {
|
|
2706
2706
|
super("string", localName);
|
|
@@ -2716,7 +2716,7 @@ var StringCoder = class extends DynamicBytesCoder {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
};
|
|
2718
2718
|
|
|
2719
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2719
|
+
// ../../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
|
|
2720
2720
|
var TupleCoder = class extends Coder {
|
|
2721
2721
|
coders;
|
|
2722
2722
|
constructor(coders, localName) {
|
|
@@ -2771,12 +2771,12 @@ var TupleCoder = class extends Coder {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
};
|
|
2773
2773
|
|
|
2774
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2774
|
+
// ../../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
|
|
2775
2775
|
function id(value) {
|
|
2776
2776
|
return keccak256(toUtf8Bytes(value));
|
|
2777
2777
|
}
|
|
2778
2778
|
|
|
2779
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2779
|
+
// ../../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
|
|
2780
2780
|
function accessSetify(addr, storageKeys) {
|
|
2781
2781
|
return {
|
|
2782
2782
|
address: getAddress(addr),
|
|
@@ -2809,7 +2809,7 @@ function accessListify(value) {
|
|
|
2809
2809
|
return result;
|
|
2810
2810
|
}
|
|
2811
2811
|
|
|
2812
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
2812
|
+
// ../../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
|
|
2813
2813
|
function setify(items) {
|
|
2814
2814
|
const result = /* @__PURE__ */ new Set();
|
|
2815
2815
|
items.forEach((k) => result.add(k));
|
|
@@ -4057,7 +4057,7 @@ var StructFragment = class _StructFragment extends NamedFragment {
|
|
|
4057
4057
|
}
|
|
4058
4058
|
};
|
|
4059
4059
|
|
|
4060
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
4060
|
+
// ../../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
|
|
4061
4061
|
var PanicReasons = /* @__PURE__ */ new Map();
|
|
4062
4062
|
PanicReasons.set(0, "GENERIC_PANIC");
|
|
4063
4063
|
PanicReasons.set(1, "ASSERT_FALSE");
|
|
@@ -4227,7 +4227,7 @@ var AbiCoder = class _AbiCoder {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
};
|
|
4229
4229
|
|
|
4230
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
4230
|
+
// ../../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
|
|
4231
4231
|
var LogDescription = class {
|
|
4232
4232
|
/**
|
|
4233
4233
|
* The matching fragment for the ``topic0``.
|
|
@@ -5235,7 +5235,7 @@ var Interface = class _Interface {
|
|
|
5235
5235
|
}
|
|
5236
5236
|
};
|
|
5237
5237
|
|
|
5238
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
5238
|
+
// ../../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
|
|
5239
5239
|
var BN_04 = BigInt(0);
|
|
5240
5240
|
function toJson(value) {
|
|
5241
5241
|
if (value == null) {
|
|
@@ -6158,7 +6158,7 @@ function createRemovedLogFilter(log) {
|
|
|
6158
6158
|
} };
|
|
6159
6159
|
}
|
|
6160
6160
|
|
|
6161
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
6161
|
+
// ../../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
|
|
6162
6162
|
var EventLog = class extends Log {
|
|
6163
6163
|
/**
|
|
6164
6164
|
* The Contract Interface.
|
|
@@ -6313,7 +6313,7 @@ var ContractEventPayload = class extends ContractUnknownEventPayload {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
};
|
|
6315
6315
|
|
|
6316
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
6316
|
+
// ../../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
|
|
6317
6317
|
var BN_05 = BigInt(0);
|
|
6318
6318
|
function canCall(value) {
|
|
6319
6319
|
return value && typeof value.call === "function";
|
|
@@ -7190,7 +7190,7 @@ function _ContractBase() {
|
|
|
7190
7190
|
var Contract = class extends _ContractBase() {
|
|
7191
7191
|
};
|
|
7192
7192
|
|
|
7193
|
-
// ../../node_modules/.pnpm/ethers@6.13.
|
|
7193
|
+
// ../../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
|
|
7194
7194
|
var ContractFactory = class _ContractFactory {
|
|
7195
7195
|
/**
|
|
7196
7196
|
* The Contract Interface.
|
|
@@ -7293,7 +7293,7 @@ var ContractFactory = class _ContractFactory {
|
|
|
7293
7293
|
}
|
|
7294
7294
|
};
|
|
7295
7295
|
|
|
7296
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.
|
|
7296
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.13.2_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
|
|
7297
7297
|
var _abi = [
|
|
7298
7298
|
{
|
|
7299
7299
|
anonymous: false,
|
|
@@ -8363,10 +8363,10 @@ var Implementation__factory = class extends ContractFactory {
|
|
|
8363
8363
|
}
|
|
8364
8364
|
};
|
|
8365
8365
|
|
|
8366
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.
|
|
8366
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-core@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-core/dist/esm/index.js
|
|
8367
8367
|
registerProtocol(_platform, "WormholeCore", EvmWormholeCore);
|
|
8368
8368
|
|
|
8369
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
8369
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/tokenBridge.js
|
|
8370
8370
|
var EvmTokenBridge = class _EvmTokenBridge {
|
|
8371
8371
|
network;
|
|
8372
8372
|
chain;
|
|
@@ -8495,7 +8495,7 @@ var EvmTokenBridge = class _EvmTokenBridge {
|
|
|
8495
8495
|
}
|
|
8496
8496
|
};
|
|
8497
8497
|
|
|
8498
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
8498
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/automaticTokenBridge.js
|
|
8499
8499
|
import { isNative as isNative2, serialize as serialize3, toNative as toNative2, nativeChainIds as nativeChainIds3, toChainId as toChainId2 } from "@wormhole-foundation/sdk-connect";
|
|
8500
8500
|
import { EvmAddress as EvmAddress3, EvmPlatform as EvmPlatform3, EvmUnsignedTransaction as EvmUnsignedTransaction3, addChainId as addChainId3, addFrom as addFrom3 } from "@wormhole-foundation/sdk-evm";
|
|
8501
8501
|
var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
@@ -8597,14 +8597,14 @@ var EvmAutomaticTokenBridge = class _EvmAutomaticTokenBridge {
|
|
|
8597
8597
|
}
|
|
8598
8598
|
};
|
|
8599
8599
|
|
|
8600
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
8600
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/ethers-contracts/index.js
|
|
8601
8601
|
var ethers_contracts_exports2 = {};
|
|
8602
8602
|
__export(ethers_contracts_exports2, {
|
|
8603
8603
|
Bridge__factory: () => Bridge__factory,
|
|
8604
8604
|
TokenBridgeRelayer__factory: () => TokenBridgeRelayer__factory
|
|
8605
8605
|
});
|
|
8606
8606
|
|
|
8607
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
8607
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_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
|
|
8608
8608
|
var _abi2 = [
|
|
8609
8609
|
{
|
|
8610
8610
|
anonymous: false,
|
|
@@ -9844,7 +9844,7 @@ var Bridge__factory = class extends ContractFactory {
|
|
|
9844
9844
|
}
|
|
9845
9845
|
};
|
|
9846
9846
|
|
|
9847
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
9847
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_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
|
|
9848
9848
|
var _abi3 = [
|
|
9849
9849
|
{
|
|
9850
9850
|
inputs: [
|
|
@@ -10915,7 +10915,7 @@ var TokenBridgeRelayer__factory = class extends ContractFactory {
|
|
|
10915
10915
|
}
|
|
10916
10916
|
};
|
|
10917
10917
|
|
|
10918
|
-
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.
|
|
10918
|
+
// ../../node_modules/.pnpm/@wormhole-foundation+sdk-evm-tokenbridge@1.13.2_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/@wormhole-foundation/sdk-evm-tokenbridge/dist/esm/index.js
|
|
10919
10919
|
registerProtocol2(_platform2, "TokenBridge", EvmTokenBridge);
|
|
10920
10920
|
registerProtocol2(_platform2, "AutomaticTokenBridge", EvmAutomaticTokenBridge);
|
|
10921
10921
|
|