@hinkal/common 0.0.43 → 0.0.44
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/assets/{snarkjsWorkerLauncher-CAfPlZZk.js → snarkjsWorkerLauncher-CngHEU6x.js} +1 -1
- package/assets/{snarkjsWorkerLogic-CfOGOfbH.js → snarkjsWorkerLogic-BwxUsId2.js} +10145 -10112
- package/assets/{snarkjsWorkerLogic-DDtiumPH.js → snarkjsWorkerLogic-DLhoRE_O.js} +2 -2
- package/assets/{utxoWorkerLauncher-DnwHvvqe.js → utxoWorkerLauncher-fcb6eWp0.js} +1 -1
- package/assets/{utxoWorkerLogic-DzUMTGmw.js → utxoWorkerLogic-DzsRGSVo.js} +2 -2
- package/assets/{utxoWorkerLogic-7GeccTLS.js → utxoWorkerLogic-Wy6IstjZ.js} +27063 -27120
- package/assets/viteWorkerURL.constant-B_0V36oA.js +11 -0
- package/assets/{zkProofWorkerLauncher-BFqnIKeC.js → zkProofWorkerLauncher-BPOcv44V.js} +1 -1
- package/assets/{zkProofWorkerLogic-DteqUP_R.js → zkProofWorkerLogic-CaPV5_qC.js} +57761 -57787
- package/data-structures/Hinkal/Hinkal.d.ts +1 -1
- package/data-structures/Hinkal/IHinkal.d.ts +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +1 -1
- package/{index-S7NxYJfW.mjs → index-CI1I8kjU.mjs} +107 -94
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-kq6JiXAq.mjs → snarkjsWorkerLogic-QvSx35g1.mjs} +2 -2
- package/{utxoWorkerLogic-hCUWRT_z.mjs → utxoWorkerLogic-DakXyGzM.mjs} +2 -2
- package/viteWorkerURL.constant-BMo1vWG2.mjs +9 -0
- package/{workerProxy-CZX-DWFv.mjs → workerProxy-DVJcPYhz.mjs} +1 -1
- package/{zkProofWorkerLogic-C7vo40c0.mjs → zkProofWorkerLogic-seAk-edB.mjs} +2 -2
- package/assets/viteWorkerURL.constant-5KVZiNHh.js +0 -11
- package/viteWorkerURL.constant-Dp5yJzo8.mjs +0 -9
|
@@ -75,7 +75,7 @@ export declare class Hinkal<ConnectorType> implements IHinkal {
|
|
|
75
75
|
actionPendleLP(erc20Addresses: string[], amountChanges: bigint[], pendleLPMetadata: PendleLPMetadata, gasTokenAddress?: string, onlyGasEstimate?: boolean): Promise<RelayerTransaction | bigint>;
|
|
76
76
|
actionVolatile(erc20Addresses: string[], amountChanges: bigint[], volatileHelperData: VolatileHelperData, onlyGasEstimate?: boolean): Promise<RelayerTransaction | ContractTransaction | bigint>;
|
|
77
77
|
actionStake(erc20Addresses: string[], amountChanges: bigint[], stakeMode: HinkalStakeMode, stakedTokenRecipient: string): Promise<ContractTransaction>;
|
|
78
|
-
actionPrivateWallet(erc20Addresses: string[], amountChanges: bigint[], ops: string[] | undefined, walletNonce: bigint, onlyGasEstimate?: boolean): Promise<RelayerTransaction | bigint>;
|
|
78
|
+
actionPrivateWallet(erc20Addresses: string[], amountChanges: bigint[], ops: string[] | undefined, walletNonce: bigint | undefined, onlyGasEstimate?: boolean): Promise<RelayerTransaction | bigint>;
|
|
79
79
|
getPendleLPClaimableParams(wlpTokenAddress: string, wlpTokenBalance: bigint): Promise<{
|
|
80
80
|
amount: bigint;
|
|
81
81
|
timestamp: string;
|
|
@@ -67,7 +67,7 @@ export interface IHinkal<ConnectorType = unknown> {
|
|
|
67
67
|
actionPendle(erc20Addresses: string[], amountChanges: bigint[], pendleMetadata: PendleMetadata, gasTokenAddress?: string, onlyGasEstimate?: boolean): Promise<RelayerTransaction | ContractTransaction | bigint>;
|
|
68
68
|
actionPendleLP(erc20Addresses: string[], amountChanges: bigint[], pendleLPMetadata: PendleLPMetadata, gasTokenAddress?: string, onlyGasEstimate?: boolean): Promise<RelayerTransaction | bigint>;
|
|
69
69
|
actionVolatile(erc20Addresses: string[], amountChanges: bigint[], volatileHelperData: VolatileHelperData, onlyGasEstimate?: boolean): Promise<RelayerTransaction | ContractTransaction | bigint>;
|
|
70
|
-
actionPrivateWallet(erc20Addresses: string[], amountChanges: bigint[], ops: string[], walletNonce: bigint, onlyGasEstimate: boolean): Promise<RelayerTransaction | bigint>;
|
|
70
|
+
actionPrivateWallet(erc20Addresses: string[], amountChanges: bigint[], ops: string[], walletNonce: bigint | undefined, onlyGasEstimate: boolean): Promise<RelayerTransaction | bigint>;
|
|
71
71
|
getPendleLPClaimableParams(wlpTokenAddress: string, wlpTokenBalance: bigint): Promise<{
|
|
72
72
|
amount: bigint;
|
|
73
73
|
timestamp: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IHinkal } from './IHinkal';
|
|
2
|
-
export declare const hinkalPrivateWallet: (hinkal: IHinkal, erc20Addresses: string[], amountChanges: bigint[], ops
|
|
2
|
+
export declare const hinkalPrivateWallet: (hinkal: IHinkal, erc20Addresses: string[], amountChanges: bigint[], ops?: string[], walletNonce?: bigint, onlyGasEstimate?: boolean) => Promise<bigint | import("libs/shared/common/src/types/relayer.types").RelayerTransaction>;
|
|
@@ -225422,7 +225422,7 @@ function arrayify(a, t) {
|
|
|
225422
225422
|
}
|
|
225423
225423
|
return isBytes$2(a) ? addSlice(new Uint8Array(a)) : logger$J.throwArgumentError("invalid arrayify value", "value", a);
|
|
225424
225424
|
}
|
|
225425
|
-
function concat$
|
|
225425
|
+
function concat$2(a) {
|
|
225426
225426
|
const t = a.map((b) => arrayify(b)), d = t.reduce((b, u) => b + u.length, 0), c = new Uint8Array(d);
|
|
225427
225427
|
return t.reduce((b, u) => (c.set(u, b), b + u.length), 0), addSlice(c);
|
|
225428
225428
|
}
|
|
@@ -225539,7 +225539,7 @@ function splitSignature(a) {
|
|
|
225539
225539
|
return t.yParityAndS = t._vs, t.compact = t.r + t.yParityAndS.substring(2), t;
|
|
225540
225540
|
}
|
|
225541
225541
|
function joinSignature(a) {
|
|
225542
|
-
return a = splitSignature(a), hexlify(concat$
|
|
225542
|
+
return a = splitSignature(a), hexlify(concat$2([
|
|
225543
225543
|
a.r,
|
|
225544
225544
|
a.s,
|
|
225545
225545
|
a.recoveryParam ? "0x1c" : "0x1b"
|
|
@@ -225548,7 +225548,7 @@ function joinSignature(a) {
|
|
|
225548
225548
|
const lib_esm$k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
225549
225549
|
__proto__: null,
|
|
225550
225550
|
arrayify,
|
|
225551
|
-
concat: concat$
|
|
225551
|
+
concat: concat$2,
|
|
225552
225552
|
hexConcat,
|
|
225553
225553
|
hexDataLength,
|
|
225554
225554
|
hexDataSlice,
|
|
@@ -226483,20 +226483,20 @@ let Writer$4 = class {
|
|
|
226483
226483
|
return this._data.push(t), this._dataLength += t.length, t.length;
|
|
226484
226484
|
}
|
|
226485
226485
|
appendWriter(t) {
|
|
226486
|
-
return this._writeData(concat$
|
|
226486
|
+
return this._writeData(concat$2(t._data));
|
|
226487
226487
|
}
|
|
226488
226488
|
// Arrayish items; padded on the right to wordSize
|
|
226489
226489
|
writeBytes(t) {
|
|
226490
226490
|
let d = arrayify(t);
|
|
226491
226491
|
const c = d.length % this.wordSize;
|
|
226492
|
-
return c && (d = concat$
|
|
226492
|
+
return c && (d = concat$2([d, this._padding.slice(c)])), this._writeData(d);
|
|
226493
226493
|
}
|
|
226494
226494
|
_getValue(t) {
|
|
226495
226495
|
let d = arrayify(BigNumber.from(t));
|
|
226496
226496
|
return d.length > this.wordSize && logger$E.throwError("value out-of-bounds", Logger.errors.BUFFER_OVERRUN, {
|
|
226497
226497
|
length: this.wordSize,
|
|
226498
226498
|
offset: d.length
|
|
226499
|
-
}), d.length % this.wordSize && (d = concat$
|
|
226499
|
+
}), d.length % this.wordSize && (d = concat$2([this._padding.slice(d.length % this.wordSize), d])), d;
|
|
226500
226500
|
}
|
|
226501
226501
|
// BigNumberish items; padded on the left to wordSize
|
|
226502
226502
|
writeValue(t) {
|
|
@@ -226953,7 +226953,7 @@ function getContractAddress(a) {
|
|
|
226953
226953
|
return getAddress(hexDataSlice(keccak256$2(encode$8([t, d])), 12));
|
|
226954
226954
|
}
|
|
226955
226955
|
function getCreate2Address(a, t, d) {
|
|
226956
|
-
return hexDataLength(t) !== 32 && logger$C.throwArgumentError("salt must be 32 bytes", "salt", t), hexDataLength(d) !== 32 && logger$C.throwArgumentError("initCodeHash must be 32 bytes", "initCodeHash", d), getAddress(hexDataSlice(keccak256$2(concat$
|
|
226956
|
+
return hexDataLength(t) !== 32 && logger$C.throwArgumentError("salt must be 32 bytes", "salt", t), hexDataLength(d) !== 32 && logger$C.throwArgumentError("initCodeHash must be 32 bytes", "initCodeHash", d), getAddress(hexDataSlice(keccak256$2(concat$2(["0xff", getAddress(a), t, d])), 12));
|
|
226957
226957
|
}
|
|
226958
226958
|
const lib_esm$g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
226959
226959
|
__proto__: null,
|
|
@@ -227364,7 +227364,7 @@ function formatBytes32String(a) {
|
|
|
227364
227364
|
const t = toUtf8Bytes(a);
|
|
227365
227365
|
if (t.length > 31)
|
|
227366
227366
|
throw new Error("bytes32 string must be less than 32 bytes");
|
|
227367
|
-
return hexlify(concat$
|
|
227367
|
+
return hexlify(concat$2([t, HashZero$1]).slice(0, 32));
|
|
227368
227368
|
}
|
|
227369
227369
|
function parseBytes32String(a) {
|
|
227370
227370
|
const t = arrayify(a);
|
|
@@ -227922,11 +227922,11 @@ function namehash(a) {
|
|
|
227922
227922
|
let t = Zeros$1;
|
|
227923
227923
|
const d = ensNameSplit(a);
|
|
227924
227924
|
for (; d.length; )
|
|
227925
|
-
t = keccak256$2(concat$
|
|
227925
|
+
t = keccak256$2(concat$2([t, keccak256$2(d.pop())]));
|
|
227926
227926
|
return hexlify(t);
|
|
227927
227927
|
}
|
|
227928
227928
|
function dnsEncode(a) {
|
|
227929
|
-
return hexlify(concat$
|
|
227929
|
+
return hexlify(concat$2(ensNameSplit(a).map((t) => {
|
|
227930
227930
|
if (t.length > 63)
|
|
227931
227931
|
throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");
|
|
227932
227932
|
const d = new Uint8Array(t.length + 1);
|
|
@@ -227936,7 +227936,7 @@ function dnsEncode(a) {
|
|
|
227936
227936
|
const messagePrefix = `Ethereum Signed Message:
|
|
227937
227937
|
`;
|
|
227938
227938
|
function hashMessage(a) {
|
|
227939
|
-
return typeof a == "string" && (a = toUtf8Bytes(a)), keccak256$2(concat$
|
|
227939
|
+
return typeof a == "string" && (a = toUtf8Bytes(a)), keccak256$2(concat$2([
|
|
227940
227940
|
toUtf8Bytes(messagePrefix),
|
|
227941
227941
|
toUtf8Bytes(String(a.length)),
|
|
227942
227942
|
a
|
|
@@ -228404,7 +228404,7 @@ class Interface {
|
|
|
228404
228404
|
return hexlify(c.slice(0, 4)) !== this.getSighash(t) && logger$w.throwArgumentError(`data signature does not match error ${t.name}.`, "data", hexlify(c)), this._decodeParams(t.inputs, c.slice(4));
|
|
228405
228405
|
}
|
|
228406
228406
|
encodeErrorResult(t, d) {
|
|
228407
|
-
return typeof t == "string" && (t = this.getError(t)), hexlify(concat$
|
|
228407
|
+
return typeof t == "string" && (t = this.getError(t)), hexlify(concat$2([
|
|
228408
228408
|
this.getSighash(t),
|
|
228409
228409
|
this._encodeParams(t.inputs, d || [])
|
|
228410
228410
|
]));
|
|
@@ -228417,7 +228417,7 @@ class Interface {
|
|
|
228417
228417
|
}
|
|
228418
228418
|
// Encode the data for a function call (e.g. tx.data)
|
|
228419
228419
|
encodeFunctionData(t, d) {
|
|
228420
|
-
return typeof t == "string" && (t = this.getFunction(t)), hexlify(concat$
|
|
228420
|
+
return typeof t == "string" && (t = this.getFunction(t)), hexlify(concat$2([
|
|
228421
228421
|
this.getSighash(t),
|
|
228422
228422
|
this._encodeParams(t.inputs, d || [])
|
|
228423
228423
|
]));
|
|
@@ -228511,7 +228511,7 @@ class Interface {
|
|
|
228511
228511
|
t.inputs.forEach((S, fe) => {
|
|
228512
228512
|
S.indexed ? S.type === "string" || S.type === "bytes" || S.baseType === "tuple" || S.baseType === "array" ? (b.push(ParamType.fromObject({ type: "bytes32", name: S.name })), p.push(!0)) : (b.push(S), p.push(!1)) : (u.push(S), p.push(!1));
|
|
228513
228513
|
});
|
|
228514
|
-
let T = c != null ? this._abiCoder.decode(b, concat$
|
|
228514
|
+
let T = c != null ? this._abiCoder.decode(b, concat$2(c)) : null, G = this._abiCoder.decode(u, d, !0), H = [], F = 0, ee = 0;
|
|
228515
228515
|
t.inputs.forEach((S, fe) => {
|
|
228516
228516
|
if (S.indexed)
|
|
228517
228517
|
if (T == null)
|
|
@@ -231949,7 +231949,7 @@ class ContractFactory {
|
|
|
231949
231949
|
}), d.value && !BigNumber.from(d.value).isZero() && !this.interface.deploy.payable && logger$r.throwError("non-payable constructor cannot override value", Logger.errors.UNSUPPORTED_OPERATION, {
|
|
231950
231950
|
operation: "overrides.value",
|
|
231951
231951
|
value: d.value
|
|
231952
|
-
}), logger$r.checkArgumentCount(t.length, this.interface.deploy.inputs.length, " in Contract constructor"), d.data = hexlify(concat$
|
|
231952
|
+
}), logger$r.checkArgumentCount(t.length, this.interface.deploy.inputs.length, " in Contract constructor"), d.data = hexlify(concat$2([
|
|
231953
231953
|
this.bytecode,
|
|
231954
231954
|
this.interface.encodeDeploy(t)
|
|
231955
231955
|
])), d;
|
|
@@ -232150,7 +232150,7 @@ function bytes32(a) {
|
|
|
232150
232150
|
return hexZeroPad(hexlify(a), 32);
|
|
232151
232151
|
}
|
|
232152
232152
|
function base58check(a) {
|
|
232153
|
-
return Base58.encode(concat$
|
|
232153
|
+
return Base58.encode(concat$2([a, hexDataSlice(sha256$6(sha256$6(a)), 0, 4)]));
|
|
232154
232154
|
}
|
|
232155
232155
|
function getWordlist(a) {
|
|
232156
232156
|
if (a == null)
|
|
@@ -232183,13 +232183,13 @@ class HDNode {
|
|
|
232183
232183
|
get extendedKey() {
|
|
232184
232184
|
if (this.depth >= 256)
|
|
232185
232185
|
throw new Error("Depth too large!");
|
|
232186
|
-
return base58check(concat$
|
|
232186
|
+
return base58check(concat$2([
|
|
232187
232187
|
this.privateKey != null ? "0x0488ADE4" : "0x0488B21E",
|
|
232188
232188
|
hexlify(this.depth),
|
|
232189
232189
|
this.parentFingerprint,
|
|
232190
232190
|
hexZeroPad(hexlify(this.index), 4),
|
|
232191
232191
|
this.chainCode,
|
|
232192
|
-
this.privateKey != null ? concat$
|
|
232192
|
+
this.privateKey != null ? concat$2(["0x00", this.privateKey]) : this.publicKey
|
|
232193
232193
|
]));
|
|
232194
232194
|
}
|
|
232195
232195
|
neuter() {
|
|
@@ -233114,7 +233114,7 @@ function _decrypt(a, t, d) {
|
|
|
233114
233114
|
}
|
|
233115
233115
|
function _getAccount(a, t) {
|
|
233116
233116
|
const d = looseArrayify(searchPath(a, "crypto/ciphertext"));
|
|
233117
|
-
if (hexlify(keccak256$2(concat$
|
|
233117
|
+
if (hexlify(keccak256$2(concat$2([t.slice(16, 32), d]))).substring(2) !== searchPath(a, "crypto/mac").toLowerCase())
|
|
233118
233118
|
throw new Error("invalid password");
|
|
233119
233119
|
const b = _decrypt(a, t.slice(0, 16), d);
|
|
233120
233120
|
b || logger$l.throwError("unsupported cipher", Logger.errors.UNSUPPORTED_OPERATION, {
|
|
@@ -233221,7 +233221,7 @@ function encrypt(a, t, d, c) {
|
|
|
233221
233221
|
let fe = 1 << 17, ie = 8, L = 1;
|
|
233222
233222
|
return d.scrypt && (d.scrypt.N && (fe = d.scrypt.N), d.scrypt.r && (ie = d.scrypt.r), d.scrypt.p && (L = d.scrypt.p)), scrypt.scrypt(u, F, fe, ie, L, 64, c).then((X) => {
|
|
233223
233223
|
X = arrayify(X);
|
|
233224
|
-
const J = X.slice(0, 16), O = X.slice(16, 32), q = X.slice(32, 64), be = new aes$1.Counter(ee), Ce = new aes$1.ModeOfOperation.ctr(J, be), Re = arrayify(Ce.encrypt(b)), ae = keccak256$2(concat$
|
|
233224
|
+
const J = X.slice(0, 16), O = X.slice(16, 32), q = X.slice(32, 64), be = new aes$1.Counter(ee), Ce = new aes$1.ModeOfOperation.ctr(J, be), Re = arrayify(Ce.encrypt(b)), ae = keccak256$2(concat$2([O, Re])), Ie = {
|
|
233225
233225
|
address: a.address.substring(2).toLowerCase(),
|
|
233226
233226
|
id: uuidV4(S),
|
|
233227
233227
|
version: 3,
|
|
@@ -233392,7 +233392,7 @@ class Wallet extends Signer {
|
|
|
233392
233392
|
*/
|
|
233393
233393
|
static createRandom(t) {
|
|
233394
233394
|
let d = randomBytes(16);
|
|
233395
|
-
t || (t = {}), t.extraEntropy && (d = arrayify(hexDataSlice(keccak256$2(concat$
|
|
233395
|
+
t || (t = {}), t.extraEntropy && (d = arrayify(hexDataSlice(keccak256$2(concat$2([d, t.extraEntropy])), 0, 16)));
|
|
233396
233396
|
const c = entropyToMnemonic$1(d, t.locale);
|
|
233397
233397
|
return Wallet.fromMnemonic(c, t.path, t.locale);
|
|
233398
233398
|
}
|
|
@@ -234437,7 +234437,7 @@ function bytes32ify(a) {
|
|
|
234437
234437
|
return hexZeroPad(BigNumber.from(a).toHexString(), 32);
|
|
234438
234438
|
}
|
|
234439
234439
|
function base58Encode(a) {
|
|
234440
|
-
return Base58.encode(concat$
|
|
234440
|
+
return Base58.encode(concat$2([a, hexDataSlice(sha256$6(sha256$6(a)), 0, 4)]));
|
|
234441
234441
|
}
|
|
234442
234442
|
const matcherIpfs = new RegExp("^(ipfs)://(.*)$", "i"), matchers = [
|
|
234443
234443
|
new RegExp("^(https)://(.*)$", "i"),
|
|
@@ -234540,7 +234540,7 @@ class Resolver {
|
|
|
234540
234540
|
if (u) {
|
|
234541
234541
|
const p = parseInt(u[1], 16);
|
|
234542
234542
|
if (u[2].length === p * 2 && p >= 1 && p <= 75)
|
|
234543
|
-
return base58Encode(concat$
|
|
234543
|
+
return base58Encode(concat$2([[c.p2pkh], "0x" + u[2]]));
|
|
234544
234544
|
}
|
|
234545
234545
|
}
|
|
234546
234546
|
if (c.p2sh != null) {
|
|
@@ -234548,7 +234548,7 @@ class Resolver {
|
|
|
234548
234548
|
if (u) {
|
|
234549
234549
|
const p = parseInt(u[1], 16);
|
|
234550
234550
|
if (u[2].length === p * 2 && p >= 1 && p <= 75)
|
|
234551
|
-
return base58Encode(concat$
|
|
234551
|
+
return base58Encode(concat$2([[c.p2sh], "0x" + u[2]]));
|
|
234552
234552
|
}
|
|
234553
234553
|
}
|
|
234554
234554
|
if (c.prefix != null) {
|
|
@@ -234690,7 +234690,7 @@ class Resolver {
|
|
|
234690
234690
|
getText(t) {
|
|
234691
234691
|
return __awaiter$m(this, void 0, void 0, function* () {
|
|
234692
234692
|
let d = toUtf8Bytes(t);
|
|
234693
|
-
d = concat$
|
|
234693
|
+
d = concat$2([bytes32ify(64), bytes32ify(d.length), d]), d.length % 32 !== 0 && (d = concat$2([d, hexZeroPad("0x", 32 - t.length % 32)]));
|
|
234694
234694
|
const c = yield this._fetchBytes("0x59d1d43c", hexlify(d));
|
|
234695
234695
|
return c == null || c === "0x" ? null : toUtf8String(c);
|
|
234696
234696
|
});
|
|
@@ -237412,7 +237412,7 @@ function _pack(a, t, d) {
|
|
|
237412
237412
|
const p = [];
|
|
237413
237413
|
return t.forEach(function(T) {
|
|
237414
237414
|
p.push(_pack(b, T, !0));
|
|
237415
|
-
}), concat$
|
|
237415
|
+
}), concat$2(p);
|
|
237416
237416
|
}
|
|
237417
237417
|
return logger$2.throwArgumentError("invalid type", "type", a);
|
|
237418
237418
|
}
|
|
@@ -237421,7 +237421,7 @@ function pack(a, t) {
|
|
|
237421
237421
|
const d = [];
|
|
237422
237422
|
return a.forEach(function(c, b) {
|
|
237423
237423
|
d.push(_pack(c, t[b]));
|
|
237424
|
-
}), hexlify(concat$
|
|
237424
|
+
}), hexlify(concat$2(d));
|
|
237425
237425
|
}
|
|
237426
237426
|
function keccak256$1(a, t) {
|
|
237427
237427
|
return keccak256$2(pack(a, t));
|
|
@@ -237535,7 +237535,7 @@ const lib_esm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePro
|
|
|
237535
237535
|
computeAddress,
|
|
237536
237536
|
computeHmac,
|
|
237537
237537
|
computePublicKey,
|
|
237538
|
-
concat: concat$
|
|
237538
|
+
concat: concat$2,
|
|
237539
237539
|
deepCopy,
|
|
237540
237540
|
defaultAbiCoder,
|
|
237541
237541
|
defaultPath,
|
|
@@ -249394,16 +249394,16 @@ var eventsExports = events$1.exports, streamBrowser$1 = eventsExports.EventEmitt
|
|
|
249394
249394
|
return !1;
|
|
249395
249395
|
}
|
|
249396
249396
|
return !0;
|
|
249397
|
-
}, hasSymbols$
|
|
249398
|
-
return hasSymbols$
|
|
249399
|
-
}, esErrors = Error, _eval = EvalError, range = RangeError, ref = ReferenceError, syntax = SyntaxError, type = TypeError, uri = URIError, origSymbol = typeof Symbol < "u" && Symbol, hasSymbolSham = shams$1, hasSymbols$
|
|
249397
|
+
}, hasSymbols$3 = shams$1, shams = function() {
|
|
249398
|
+
return hasSymbols$3() && !!Symbol.toStringTag;
|
|
249399
|
+
}, esErrors = Error, _eval = EvalError, range = RangeError, ref = ReferenceError, syntax = SyntaxError, type = TypeError, uri = URIError, origSymbol = typeof Symbol < "u" && Symbol, hasSymbolSham = shams$1, hasSymbols$2 = function() {
|
|
249400
249400
|
return typeof origSymbol != "function" || typeof Symbol != "function" || typeof origSymbol("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : hasSymbolSham();
|
|
249401
249401
|
}, test = {
|
|
249402
249402
|
__proto__: null,
|
|
249403
249403
|
foo: {}
|
|
249404
249404
|
}, $Object = Object, hasProto$1 = function() {
|
|
249405
249405
|
return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
|
|
249406
|
-
}, ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr$
|
|
249406
|
+
}, ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr$4 = Object.prototype.toString, max = Math.max, funcType = "[object Function]", concatty = function(t, d) {
|
|
249407
249407
|
for (var c = [], b = 0; b < t.length; b += 1)
|
|
249408
249408
|
c[b] = t[b];
|
|
249409
249409
|
for (var u = 0; u < d.length; u += 1)
|
|
@@ -249419,7 +249419,7 @@ var eventsExports = events$1.exports, streamBrowser$1 = eventsExports.EventEmitt
|
|
|
249419
249419
|
return d;
|
|
249420
249420
|
}, implementation$9 = function(t) {
|
|
249421
249421
|
var d = this;
|
|
249422
|
-
if (typeof d != "function" || toStr$
|
|
249422
|
+
if (typeof d != "function" || toStr$4.apply(d) !== funcType)
|
|
249423
249423
|
throw new TypeError(ERROR_MESSAGE + d);
|
|
249424
249424
|
for (var c = slicy(arguments, 1), b, u = function() {
|
|
249425
249425
|
if (this instanceof b) {
|
|
@@ -249465,14 +249465,14 @@ var throwTypeError = function() {
|
|
|
249465
249465
|
return throwTypeError;
|
|
249466
249466
|
}
|
|
249467
249467
|
}
|
|
249468
|
-
}() : throwTypeError, hasSymbols$
|
|
249468
|
+
}() : throwTypeError, hasSymbols$1 = hasSymbols$2(), hasProto = hasProto$1(), getProto$1 = Object.getPrototypeOf || (hasProto ? function(a) {
|
|
249469
249469
|
return a.__proto__;
|
|
249470
249470
|
} : null), needsEval = {}, TypedArray = typeof Uint8Array > "u" || !getProto$1 ? undefined$1 : getProto$1(Uint8Array), INTRINSICS = {
|
|
249471
249471
|
__proto__: null,
|
|
249472
249472
|
"%AggregateError%": typeof AggregateError > "u" ? undefined$1 : AggregateError,
|
|
249473
249473
|
"%Array%": Array,
|
|
249474
249474
|
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? undefined$1 : ArrayBuffer,
|
|
249475
|
-
"%ArrayIteratorPrototype%": hasSymbols$
|
|
249475
|
+
"%ArrayIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
|
|
249476
249476
|
"%AsyncFromSyncIteratorPrototype%": undefined$1,
|
|
249477
249477
|
"%AsyncFunction%": needsEval,
|
|
249478
249478
|
"%AsyncGenerator%": needsEval,
|
|
@@ -249503,10 +249503,10 @@ var throwTypeError = function() {
|
|
|
249503
249503
|
"%Int32Array%": typeof Int32Array > "u" ? undefined$1 : Int32Array,
|
|
249504
249504
|
"%isFinite%": isFinite,
|
|
249505
249505
|
"%isNaN%": isNaN,
|
|
249506
|
-
"%IteratorPrototype%": hasSymbols$
|
|
249506
|
+
"%IteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
|
|
249507
249507
|
"%JSON%": typeof JSON == "object" ? JSON : undefined$1,
|
|
249508
249508
|
"%Map%": typeof Map > "u" ? undefined$1 : Map,
|
|
249509
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !hasSymbols$
|
|
249509
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
249510
249510
|
"%Math%": Math,
|
|
249511
249511
|
"%Number%": Number,
|
|
249512
249512
|
"%Object%": Object,
|
|
@@ -249519,11 +249519,11 @@ var throwTypeError = function() {
|
|
|
249519
249519
|
"%Reflect%": typeof Reflect > "u" ? undefined$1 : Reflect,
|
|
249520
249520
|
"%RegExp%": RegExp,
|
|
249521
249521
|
"%Set%": typeof Set > "u" ? undefined$1 : Set,
|
|
249522
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !hasSymbols$
|
|
249522
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
249523
249523
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? undefined$1 : SharedArrayBuffer,
|
|
249524
249524
|
"%String%": String,
|
|
249525
|
-
"%StringIteratorPrototype%": hasSymbols$
|
|
249526
|
-
"%Symbol%": hasSymbols$
|
|
249525
|
+
"%StringIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
|
|
249526
|
+
"%Symbol%": hasSymbols$1 ? Symbol : undefined$1,
|
|
249527
249527
|
"%SyntaxError%": $SyntaxError$1,
|
|
249528
249528
|
"%ThrowTypeError%": ThrowTypeError,
|
|
249529
249529
|
"%TypedArray%": TypedArray,
|
|
@@ -249666,21 +249666,28 @@ var doEval = function a(t) {
|
|
|
249666
249666
|
}
|
|
249667
249667
|
}
|
|
249668
249668
|
return T;
|
|
249669
|
-
}, callBind$2 = { exports: {} },
|
|
249670
|
-
|
|
249671
|
-
|
|
249672
|
-
|
|
249673
|
-
|
|
249674
|
-
|
|
249675
|
-
|
|
249676
|
-
|
|
249669
|
+
}, callBind$2 = { exports: {} }, esDefineProperty, hasRequiredEsDefineProperty;
|
|
249670
|
+
function requireEsDefineProperty() {
|
|
249671
|
+
if (hasRequiredEsDefineProperty)
|
|
249672
|
+
return esDefineProperty;
|
|
249673
|
+
hasRequiredEsDefineProperty = 1;
|
|
249674
|
+
var a = getIntrinsic, t = a("%Object.defineProperty%", !0) || !1;
|
|
249675
|
+
if (t)
|
|
249676
|
+
try {
|
|
249677
|
+
t({}, "a", { value: 1 });
|
|
249678
|
+
} catch {
|
|
249679
|
+
t = !1;
|
|
249680
|
+
}
|
|
249681
|
+
return esDefineProperty = t, esDefineProperty;
|
|
249682
|
+
}
|
|
249683
|
+
var GetIntrinsic$2 = getIntrinsic, $gOPD = GetIntrinsic$2("%Object.getOwnPropertyDescriptor%", !0);
|
|
249677
249684
|
if ($gOPD)
|
|
249678
249685
|
try {
|
|
249679
249686
|
$gOPD([], "length");
|
|
249680
249687
|
} catch {
|
|
249681
249688
|
$gOPD = null;
|
|
249682
249689
|
}
|
|
249683
|
-
var gopd$1 = $gOPD, $defineProperty$1 =
|
|
249690
|
+
var gopd$1 = $gOPD, $defineProperty$1 = requireEsDefineProperty(), $SyntaxError = syntax, $TypeError$1 = type, gopd = gopd$1, defineDataProperty = function(t, d, c) {
|
|
249684
249691
|
if (!t || typeof t != "object" && typeof t != "function")
|
|
249685
249692
|
throw new $TypeError$1("`obj` must be an object or a function`");
|
|
249686
249693
|
if (typeof d != "string" && typeof d != "symbol")
|
|
@@ -249705,7 +249712,7 @@ var gopd$1 = $gOPD, $defineProperty$1 = esDefineProperty, $SyntaxError = syntax,
|
|
|
249705
249712
|
t[d] = c;
|
|
249706
249713
|
else
|
|
249707
249714
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
249708
|
-
}, $defineProperty =
|
|
249715
|
+
}, $defineProperty = requireEsDefineProperty(), hasPropertyDescriptors = function() {
|
|
249709
249716
|
return !!$defineProperty;
|
|
249710
249717
|
};
|
|
249711
249718
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function() {
|
|
@@ -249717,7 +249724,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function() {
|
|
|
249717
249724
|
return !0;
|
|
249718
249725
|
}
|
|
249719
249726
|
};
|
|
249720
|
-
var hasPropertyDescriptors_1 = hasPropertyDescriptors, GetIntrinsic$1 = getIntrinsic, define$1 = defineDataProperty
|
|
249727
|
+
var hasPropertyDescriptors_1 = hasPropertyDescriptors, GetIntrinsic$1 = getIntrinsic, define$1 = defineDataProperty, hasDescriptors = hasPropertyDescriptors_1(), gOPD$1 = gopd$1, $TypeError = type, $floor = GetIntrinsic$1("%Math.floor%"), setFunctionLength = function(t, d) {
|
|
249721
249728
|
if (typeof t != "function")
|
|
249722
249729
|
throw new $TypeError("`fn` is not a function");
|
|
249723
249730
|
if (typeof d != "number" || d < 0 || d > 4294967295 || $floor(d) !== d)
|
|
@@ -249742,7 +249749,7 @@ var hasPropertyDescriptors_1 = hasPropertyDescriptors, GetIntrinsic$1 = getIntri
|
|
|
249742
249749
|
)), t;
|
|
249743
249750
|
};
|
|
249744
249751
|
(function(a) {
|
|
249745
|
-
var t = functionBind, d = getIntrinsic, c = setFunctionLength, b = type, u = d("%Function.prototype.apply%"), p = d("%Function.prototype.call%"), T = d("%Reflect.apply%", !0) || t.call(p, u), G =
|
|
249752
|
+
var t = functionBind, d = getIntrinsic, c = setFunctionLength, b = type, u = d("%Function.prototype.apply%"), p = d("%Function.prototype.call%"), T = d("%Reflect.apply%", !0) || t.call(p, u), G = requireEsDefineProperty(), H = d("%Math.max%");
|
|
249746
249753
|
a.exports = function(S) {
|
|
249747
249754
|
if (typeof S != "function")
|
|
249748
249755
|
throw new b("a function is required");
|
|
@@ -249769,7 +249776,7 @@ var callBindExports = callBind$2.exports, GetIntrinsic = getIntrinsic, callBind$
|
|
|
249769
249776
|
return isStandardArguments(arguments);
|
|
249770
249777
|
}();
|
|
249771
249778
|
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
249772
|
-
var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments, toStr$
|
|
249779
|
+
var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments, toStr$3 = Object.prototype.toString, fnToStr$1 = Function.prototype.toString, isFnRegex = /^\s*(?:function)?\*/, hasToStringTag$2 = shams(), getProto = Object.getPrototypeOf, getGeneratorFunc = function() {
|
|
249773
249780
|
if (!hasToStringTag$2)
|
|
249774
249781
|
return !1;
|
|
249775
249782
|
try {
|
|
@@ -249782,7 +249789,7 @@ var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyAr
|
|
|
249782
249789
|
if (isFnRegex.test(fnToStr$1.call(t)))
|
|
249783
249790
|
return !0;
|
|
249784
249791
|
if (!hasToStringTag$2) {
|
|
249785
|
-
var d = toStr$
|
|
249792
|
+
var d = toStr$3.call(t);
|
|
249786
249793
|
return d === "[object GeneratorFunction]";
|
|
249787
249794
|
}
|
|
249788
249795
|
if (!getProto)
|
|
@@ -249820,15 +249827,15 @@ var constructorRegex = /^\s*class\b/, isES6ClassFn = function(t) {
|
|
|
249820
249827
|
} catch {
|
|
249821
249828
|
return !1;
|
|
249822
249829
|
}
|
|
249823
|
-
}, toStr$
|
|
249830
|
+
}, toStr$2 = Object.prototype.toString, objectClass = "[object Object]", fnClass = "[object Function]", genClass = "[object GeneratorFunction]", ddaClass = "[object HTMLAllCollection]", ddaClass2 = "[object HTML document.all class]", ddaClass3 = "[object HTMLCollection]", hasToStringTag$1 = typeof Symbol == "function" && !!Symbol.toStringTag, isIE68 = !(0 in [,]), isDDA = function() {
|
|
249824
249831
|
return !1;
|
|
249825
249832
|
};
|
|
249826
249833
|
if (typeof document == "object") {
|
|
249827
249834
|
var all = document.all;
|
|
249828
|
-
toStr$
|
|
249835
|
+
toStr$2.call(all) === toStr$2.call(document.all) && (isDDA = function(t) {
|
|
249829
249836
|
if ((isIE68 || !t) && (typeof t > "u" || typeof t == "object"))
|
|
249830
249837
|
try {
|
|
249831
|
-
var d = toStr$
|
|
249838
|
+
var d = toStr$2.call(t);
|
|
249832
249839
|
return (d === ddaClass || d === ddaClass2 || d === ddaClass3 || d === objectClass) && t("") == null;
|
|
249833
249840
|
} catch {
|
|
249834
249841
|
}
|
|
@@ -249856,9 +249863,9 @@ var isCallable$1 = reflectApply ? function(t) {
|
|
|
249856
249863
|
return tryFunctionObject(t);
|
|
249857
249864
|
if (isES6ClassFn(t))
|
|
249858
249865
|
return !1;
|
|
249859
|
-
var d = toStr$
|
|
249866
|
+
var d = toStr$2.call(t);
|
|
249860
249867
|
return d !== fnClass && d !== genClass && !/^\[object HTML/.test(d) ? !1 : tryFunctionObject(t);
|
|
249861
|
-
}, isCallable = isCallable$1, toStr$
|
|
249868
|
+
}, isCallable = isCallable$1, toStr$1 = Object.prototype.toString, hasOwnProperty$1 = Object.prototype.hasOwnProperty, forEachArray = function(t, d, c) {
|
|
249862
249869
|
for (var b = 0, u = t.length; b < u; b++)
|
|
249863
249870
|
hasOwnProperty$1.call(t, b) && (c == null ? d(t[b], b, t) : d.call(c, t[b], b, t));
|
|
249864
249871
|
}, forEachString = function(t, d, c) {
|
|
@@ -249871,7 +249878,7 @@ var isCallable$1 = reflectApply ? function(t) {
|
|
|
249871
249878
|
if (!isCallable(d))
|
|
249872
249879
|
throw new TypeError("iterator must be a function");
|
|
249873
249880
|
var b;
|
|
249874
|
-
arguments.length >= 3 && (b = c), toStr$
|
|
249881
|
+
arguments.length >= 3 && (b = c), toStr$1.call(t) === "[object Array]" ? forEachArray(t, d, b) : typeof t == "string" ? forEachString(t, d, b) : forEachObject(t, d, b);
|
|
249875
249882
|
}, forEach_1 = forEach$3, possibleTypedArrayNames = [
|
|
249876
249883
|
"Float32Array",
|
|
249877
249884
|
"Float64Array",
|
|
@@ -278056,9 +278063,9 @@ should equal
|
|
|
278056
278063
|
}(/* @__PURE__ */ S(Error), be.custom);
|
|
278057
278064
|
return assertion_error = te, assertion_error;
|
|
278058
278065
|
}
|
|
278059
|
-
var toStr
|
|
278060
|
-
var d = toStr
|
|
278061
|
-
return c || (c = d !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && toStr
|
|
278066
|
+
var toStr = Object.prototype.toString, isArguments$1 = function(t) {
|
|
278067
|
+
var d = toStr.call(t), c = d === "[object Arguments]";
|
|
278068
|
+
return c || (c = d !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && toStr.call(t.callee) === "[object Function]"), c;
|
|
278062
278069
|
}, implementation$7, hasRequiredImplementation$1;
|
|
278063
278070
|
function requireImplementation$1() {
|
|
278064
278071
|
if (hasRequiredImplementation$1)
|
|
@@ -278164,14 +278171,14 @@ keysShim.shim = function() {
|
|
|
278164
278171
|
Object.keys = keysShim;
|
|
278165
278172
|
return Object.keys || keysShim;
|
|
278166
278173
|
};
|
|
278167
|
-
var objectKeys$1 = keysShim, objectKeys = objectKeys$1, hasSymbols
|
|
278174
|
+
var objectKeys$1 = keysShim, objectKeys = objectKeys$1, hasSymbols = shams$1(), callBound = callBound$3, toObject = Object, $push = callBound("Array.prototype.push"), $propIsEnumerable = callBound("Object.prototype.propertyIsEnumerable"), originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null, implementation$6 = function(t, d) {
|
|
278168
278175
|
if (t == null)
|
|
278169
278176
|
throw new TypeError("target must be an object");
|
|
278170
278177
|
var c = toObject(t);
|
|
278171
278178
|
if (arguments.length === 1)
|
|
278172
278179
|
return c;
|
|
278173
278180
|
for (var b = 1; b < arguments.length; ++b) {
|
|
278174
|
-
var u = toObject(arguments[b]), p = objectKeys(u), T = hasSymbols
|
|
278181
|
+
var u = toObject(arguments[b]), p = objectKeys(u), T = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
278175
278182
|
if (T)
|
|
278176
278183
|
for (var G = T(u), H = 0; H < G.length; ++H) {
|
|
278177
278184
|
var F = G[H];
|
|
@@ -278213,30 +278220,36 @@ var objectKeys$1 = keysShim, objectKeys = objectKeys$1, hasSymbols$1 = shams$1()
|
|
|
278213
278220
|
return t === 0 && d === 0 ? 1 / t === 1 / d : !!(t === d || numberIsNaN(t) && numberIsNaN(d));
|
|
278214
278221
|
}, implementation$3 = implementation$4, polyfill$3 = function() {
|
|
278215
278222
|
return typeof Object.is == "function" ? Object.is : implementation$3;
|
|
278216
|
-
},
|
|
278217
|
-
|
|
278218
|
-
|
|
278219
|
-
|
|
278220
|
-
|
|
278221
|
-
|
|
278223
|
+
}, defineProperties_1, hasRequiredDefineProperties;
|
|
278224
|
+
function requireDefineProperties() {
|
|
278225
|
+
if (hasRequiredDefineProperties)
|
|
278226
|
+
return defineProperties_1;
|
|
278227
|
+
hasRequiredDefineProperties = 1;
|
|
278228
|
+
var a = objectKeys$1, t = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", d = Object.prototype.toString, c = Array.prototype.concat, b = defineDataProperty, u = function(H) {
|
|
278229
|
+
return typeof H == "function" && d.call(H) === "[object Function]";
|
|
278230
|
+
}, p = hasPropertyDescriptors_1(), T = function(H, F, ee, S) {
|
|
278231
|
+
if (F in H) {
|
|
278232
|
+
if (S === !0) {
|
|
278233
|
+
if (H[F] === ee)
|
|
278234
|
+
return;
|
|
278235
|
+
} else if (!u(S) || !S())
|
|
278222
278236
|
return;
|
|
278223
|
-
}
|
|
278224
|
-
|
|
278225
|
-
}
|
|
278226
|
-
|
|
278227
|
-
|
|
278228
|
-
|
|
278229
|
-
|
|
278230
|
-
|
|
278231
|
-
|
|
278232
|
-
}
|
|
278233
|
-
|
|
278234
|
-
var defineProperties_1 = defineProperties$1, shim$3, hasRequiredShim$1;
|
|
278237
|
+
}
|
|
278238
|
+
p ? b(H, F, ee, !0) : b(H, F, ee);
|
|
278239
|
+
}, G = function(H, F) {
|
|
278240
|
+
var ee = arguments.length > 2 ? arguments[2] : {}, S = a(F);
|
|
278241
|
+
t && (S = c.call(S, Object.getOwnPropertySymbols(F)));
|
|
278242
|
+
for (var fe = 0; fe < S.length; fe += 1)
|
|
278243
|
+
T(H, S[fe], F[S[fe]], ee[S[fe]]);
|
|
278244
|
+
};
|
|
278245
|
+
return G.supportsDescriptors = !!p, defineProperties_1 = G, defineProperties_1;
|
|
278246
|
+
}
|
|
278247
|
+
var shim$3, hasRequiredShim$1;
|
|
278235
278248
|
function requireShim$1() {
|
|
278236
278249
|
if (hasRequiredShim$1)
|
|
278237
278250
|
return shim$3;
|
|
278238
278251
|
hasRequiredShim$1 = 1;
|
|
278239
|
-
var a = polyfill$3, t =
|
|
278252
|
+
var a = polyfill$3, t = requireDefineProperties();
|
|
278240
278253
|
return shim$3 = function() {
|
|
278241
278254
|
var c = a();
|
|
278242
278255
|
return t(Object, { is: c }, {
|
|
@@ -278251,7 +278264,7 @@ function requireObjectIs() {
|
|
|
278251
278264
|
if (hasRequiredObjectIs)
|
|
278252
278265
|
return objectIs;
|
|
278253
278266
|
hasRequiredObjectIs = 1;
|
|
278254
|
-
var a =
|
|
278267
|
+
var a = requireDefineProperties(), t = callBindExports, d = implementation$4, c = polyfill$3, b = requireShim$1(), u = t(c(), Object);
|
|
278255
278268
|
return a(u, {
|
|
278256
278269
|
getPolyfill: c,
|
|
278257
278270
|
implementation: d,
|
|
@@ -278279,7 +278292,7 @@ function requireShim() {
|
|
|
278279
278292
|
if (hasRequiredShim)
|
|
278280
278293
|
return shim$2;
|
|
278281
278294
|
hasRequiredShim = 1;
|
|
278282
|
-
var a =
|
|
278295
|
+
var a = requireDefineProperties(), t = requirePolyfill();
|
|
278283
278296
|
return shim$2 = function() {
|
|
278284
278297
|
var c = t();
|
|
278285
278298
|
return a(Number, { isNaN: c }, {
|
|
@@ -278294,7 +278307,7 @@ function requireIsNan() {
|
|
|
278294
278307
|
if (hasRequiredIsNan)
|
|
278295
278308
|
return isNan;
|
|
278296
278309
|
hasRequiredIsNan = 1;
|
|
278297
|
-
var a = callBindExports, t =
|
|
278310
|
+
var a = callBindExports, t = requireDefineProperties(), d = requireImplementation(), c = requirePolyfill(), b = requireShim(), u = a(c(), Number);
|
|
278298
278311
|
return t(u, {
|
|
278299
278312
|
getPolyfill: c,
|
|
278300
278313
|
implementation: d,
|
|
@@ -304417,7 +304430,7 @@ class WorkerFactory {
|
|
|
304417
304430
|
constructor() {
|
|
304418
304431
|
}
|
|
304419
304432
|
static resolveWorkerURL = async (t) => {
|
|
304420
|
-
const d = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
304433
|
+
const d = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-BMo1vWG2.mjs");
|
|
304421
304434
|
return new URL(c[t], d);
|
|
304422
304435
|
};
|
|
304423
304436
|
static createWorker = async (t) => {
|
|
@@ -304425,13 +304438,13 @@ class WorkerFactory {
|
|
|
304425
304438
|
let c;
|
|
304426
304439
|
return t === WorkerVariant.SnarkJS ? c = await import(
|
|
304427
304440
|
/* @vite-ignore */
|
|
304428
|
-
"./snarkjsWorkerLogic-
|
|
304441
|
+
"./snarkjsWorkerLogic-QvSx35g1.mjs"
|
|
304429
304442
|
) : t === WorkerVariant.ZKProof ? c = await import(
|
|
304430
304443
|
/* @vite-ignore */
|
|
304431
|
-
"./zkProofWorkerLogic-
|
|
304444
|
+
"./zkProofWorkerLogic-seAk-edB.mjs"
|
|
304432
304445
|
) : t === WorkerVariant.UTXO && (c = await import(
|
|
304433
304446
|
/* @vite-ignore */
|
|
304434
|
-
"./utxoWorkerLogic-
|
|
304447
|
+
"./utxoWorkerLogic-DakXyGzM.mjs"
|
|
304435
304448
|
)), c.default;
|
|
304436
304449
|
}
|
|
304437
304450
|
const d = await WorkerFactory.resolveWorkerURL(t);
|
|
@@ -304875,7 +304888,7 @@ async function callRelayerTransactAPI(a, t) {
|
|
|
304875
304888
|
const emporiumOp = (a, t, d, c, b) => {
|
|
304876
304889
|
let u = new Uint8Array(), p = new Uint8Array();
|
|
304877
304890
|
typeof a == "object" && "address" in a ? (u = arrayify(a.address), t && (p = arrayify(a.interface.encodeFunctionData(t, d)))) : u = arrayify(a);
|
|
304878
|
-
const T = arrayify([c ? 1 : 0]), G = zeroPad(arrayify(BigNumber.from(b ?? 0n)), 16), H = concat$
|
|
304891
|
+
const T = arrayify([c ? 1 : 0]), G = zeroPad(arrayify(BigNumber.from(b ?? 0n)), 16), H = concat$2([u, T, G, p]);
|
|
304879
304892
|
return hexlify(H);
|
|
304880
304893
|
}, encodeEmporiumMetadata = (a, t) => defaultAbiCoder.encode(
|
|
304881
304894
|
["tuple(bytes32 walletSalt, bytes[] ops)"],
|
|
@@ -359823,7 +359836,7 @@ var ponyfill = ponyfill$1, implementation_browser = { exports: {} };
|
|
|
359823
359836
|
typeof self < "u" ? implementation_browser.exports = self : typeof window < "u" ? implementation_browser.exports = window : implementation_browser.exports = Function("return this")();
|
|
359824
359837
|
var implementation_browserExports = implementation_browser.exports, implementation$1 = implementation_browserExports, polyfill$1 = function a() {
|
|
359825
359838
|
return typeof commonjsGlobal != "object" || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array ? implementation$1 : commonjsGlobal;
|
|
359826
|
-
}, define =
|
|
359839
|
+
}, define = requireDefineProperties(), getPolyfill$1 = polyfill$1, shim$1 = function a() {
|
|
359827
359840
|
var t = getPolyfill$1();
|
|
359828
359841
|
if (define.supportsDescriptors) {
|
|
359829
359842
|
var d = Object.getOwnPropertyDescriptor(t, "globalThis");
|
|
@@ -359836,7 +359849,7 @@ var implementation_browserExports = implementation_browser.exports, implementati
|
|
|
359836
359849
|
} else
|
|
359837
359850
|
(typeof globalThis != "object" || globalThis !== t) && (t.globalThis = t);
|
|
359838
359851
|
return t;
|
|
359839
|
-
}, defineProperties =
|
|
359852
|
+
}, defineProperties = requireDefineProperties(), implementation = implementation_browserExports, getPolyfill = polyfill$1, shim = shim$1, polyfill = getPolyfill(), getGlobal = function() {
|
|
359840
359853
|
return polyfill;
|
|
359841
359854
|
};
|
|
359842
359855
|
defineProperties(getGlobal, {
|