@hinkal/common 0.0.66 → 0.0.67
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/{snarkjsWorkerLogic-DDtiumPH.js → snarkjsWorkerLogic-BkSolcWj.js} +2 -2
- package/assets/{utxoWorkerLogic-DzUMTGmw.js → utxoWorkerLogic-YmFgVUCJ.js} +2 -2
- package/assets/{viteWorkerURL.constant-5KVZiNHh.js → viteWorkerURL.constant-DU3D7LKk.js} +2 -2
- package/assets/{zkProofWorkerLauncher-BFqnIKeC.js → zkProofWorkerLauncher-C2KuMm7O.js} +1 -1
- package/assets/{zkProofWorkerLogic-DteqUP_R.js → zkProofWorkerLogic-Bd0sRQ50.js} +20 -20
- package/{index-GcdMOCIT.mjs → index-BCgedduK.mjs} +60764 -60721
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-CmuCT3NV.mjs → snarkjsWorkerLogic-B7Hr8R4L.mjs} +2 -2
- package/{utxoWorkerLogic-CUmqSBpX.mjs → utxoWorkerLogic-BEfHrOd3.mjs} +2 -2
- package/{viteWorkerURL.constant-CG4iLRm3.mjs → viteWorkerURL.constant-Dj8YKvHN.mjs} +3 -3
- package/{workerProxy-DrPCmw2-.mjs → workerProxy-D7RxpMZi.mjs} +1 -1
- package/{zkProofWorkerLogic-ClYDpWku.mjs → zkProofWorkerLogic-C0Khxd9i.mjs} +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Se, B as Lo } from "./zkProofWorkerLauncher-
|
|
2
|
-
import { r as sn, g as ja, a as mo, b as bo, c as en, e as $a, d as Ga, u as Un, f as yo } from "./zkProofWorkerLogic-
|
|
1
|
+
import { p as Se, B as Lo } from "./zkProofWorkerLauncher-C2KuMm7O.js";
|
|
2
|
+
import { r as sn, g as ja, a as mo, b as bo, c as en, e as $a, d as Ga, u as Un, f as yo } from "./zkProofWorkerLogic-Bd0sRQ50.js";
|
|
3
3
|
const Co = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
4
4
|
function rn(c, t) {
|
|
5
5
|
if (!t || t == 10)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as U } from "./zkProofWorkerLauncher-
|
|
2
|
-
import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-
|
|
1
|
+
import { B as U } from "./zkProofWorkerLauncher-C2KuMm7O.js";
|
|
2
|
+
import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-Bd0sRQ50.js";
|
|
3
3
|
const g = (e) => {
|
|
4
4
|
const t = T.decode(
|
|
5
5
|
["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as r } from "./zkProofWorkerLogic-
|
|
2
|
-
import "./zkProofWorkerLauncher-
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-Bd0sRQ50.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-C2KuMm7O.js";
|
|
3
3
|
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CAfPlZZk.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-DnwHvvqe.js", import.meta.url).href;
|
|
4
4
|
const n = {
|
|
5
5
|
[r.ZKProof]: o,
|
|
@@ -1192,7 +1192,7 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
globalThis.process = It;
|
|
1194
1194
|
globalThis.Buffer = gr;
|
|
1195
|
-
const Tt = import("./zkProofWorkerLogic-
|
|
1195
|
+
const Tt = import("./zkProofWorkerLogic-Bd0sRQ50.js").then(function(h) {
|
|
1196
1196
|
return h.z;
|
|
1197
1197
|
});
|
|
1198
1198
|
addEventListener("message", async (h) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-
|
|
1
|
+
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-C2KuMm7O.js";
|
|
2
2
|
const hexLen = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
3
3
|
function fromString$1(a, d) {
|
|
4
4
|
if (!d || d == 10)
|
|
@@ -141982,7 +141982,7 @@ var blastData = {
|
|
|
141982
141982
|
hinkalWrapperAddress: hinkalWrapperAddress$1,
|
|
141983
141983
|
HinkalWrapperABI: HinkalWrapperABI$1
|
|
141984
141984
|
};
|
|
141985
|
-
const hinkalAddress$2 = "
|
|
141985
|
+
const hinkalAddress$2 = "0x2933304BD5DdE25d989155768Ebb00743e4cf036", hinkalABI$2 = [
|
|
141986
141986
|
{
|
|
141987
141987
|
inputs: [
|
|
141988
141988
|
{
|
|
@@ -143729,7 +143729,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
143729
143729
|
stateMutability: "payable",
|
|
143730
143730
|
type: "receive"
|
|
143731
143731
|
}
|
|
143732
|
-
], hinkalHelperAddress$2 = "
|
|
143732
|
+
], hinkalHelperAddress$2 = "0xbC3148b3fC4aBB8aD54c9CA15C2214B9C22d4C74", hinkalHelperABI$2 = [
|
|
143733
143733
|
{
|
|
143734
143734
|
inputs: [
|
|
143735
143735
|
{
|
|
@@ -144658,7 +144658,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
144658
144658
|
stateMutability: "nonpayable",
|
|
144659
144659
|
type: "function"
|
|
144660
144660
|
}
|
|
144661
|
-
], crossChainAccessTokenAddress = "
|
|
144661
|
+
], crossChainAccessTokenAddress = "0x65af0868878aF2fdADd2854A2F52bdA5353E92eF", crossChainAccessTokenABI = [
|
|
144662
144662
|
{
|
|
144663
144663
|
inputs: [
|
|
144664
144664
|
{
|
|
@@ -145698,7 +145698,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
145698
145698
|
stateMutability: "nonpayable",
|
|
145699
145699
|
type: "function"
|
|
145700
145700
|
}
|
|
145701
|
-
], uniswapExternalActionAddress$2 = "
|
|
145701
|
+
], uniswapExternalActionAddress$2 = "0x277F7288B61d0c7c533085782f2F010B9a8E8375", odosExternalActionInstanceAddress$2 = "0xAE99b4Dc94FD8e153f964952842c833c677a0a96", oneInchExternalActionInstanceAddress$2 = "0x848cc1C274b9E5D53c77b5aDBD0c1764edc1c671", beefyExternalActionInstanceAddress = "0x18E4D3d3bD01B88d9FdD5256E24Df265CD06bdd1", beefyStakeExternalActionInstanceAddress = "0x965e9591014b8FFEb9fE855463C3c350aC877A05", curveExternalActionInstanceAddress$2 = "0x9B1fF811072E14285586C5386094F0b7bEa48163", curveExternalActionABI$2 = [
|
|
145702
145702
|
{
|
|
145703
145703
|
inputs: [
|
|
145704
145704
|
{
|
|
@@ -146079,7 +146079,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
146079
146079
|
stateMutability: "payable",
|
|
146080
146080
|
type: "receive"
|
|
146081
146081
|
}
|
|
146082
|
-
], curveExternalActionDynamicInstanceAddress = "
|
|
146082
|
+
], curveExternalActionDynamicInstanceAddress = "0xAD6b1404986BDc2889358f58F8b81EB942Df1E4d", curveExternalActionDynamicABI = [
|
|
146083
146083
|
{
|
|
146084
146084
|
inputs: [
|
|
146085
146085
|
{
|
|
@@ -146460,7 +146460,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
146460
146460
|
stateMutability: "payable",
|
|
146461
146461
|
type: "receive"
|
|
146462
146462
|
}
|
|
146463
|
-
], curveStakeExternalActionInstanceAddress = "
|
|
146463
|
+
], curveStakeExternalActionInstanceAddress = "0xC3E82e2CFf424cDD020ccC11c26DE5B787A84e5C", curveStakeExternalActionABI = [
|
|
146464
146464
|
{
|
|
146465
146465
|
inputs: [
|
|
146466
146466
|
{
|
|
@@ -147324,7 +147324,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
147324
147324
|
stateMutability: "nonpayable",
|
|
147325
147325
|
type: "function"
|
|
147326
147326
|
}
|
|
147327
|
-
], convexExternalActionInstanceAddress$2 = "
|
|
147327
|
+
], convexExternalActionInstanceAddress$2 = "0x3cAD97FF30F21F9fDE548103b4E936692728Dccd", convexExternalActionABI$2 = [
|
|
147328
147328
|
{
|
|
147329
147329
|
inputs: [
|
|
147330
147330
|
{
|
|
@@ -149627,7 +149627,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
149627
149627
|
stateMutability: "nonpayable",
|
|
149628
149628
|
type: "function"
|
|
149629
149629
|
}
|
|
149630
|
-
], lidoExternalActionEthAddress = "
|
|
149630
|
+
], lidoExternalActionEthAddress = "0xC373f14819497719558b2A0EC68f584851e6B400", lidoExternalActionMaticAddress = "0x0DD8E0Fa077dE680E59De0374Cc6E6c5E7b28Ee4", pendleExternalActionABI = [
|
|
149631
149631
|
{
|
|
149632
149632
|
inputs: [
|
|
149633
149633
|
{
|
|
@@ -150089,7 +150089,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
150089
150089
|
stateMutability: "payable",
|
|
150090
150090
|
type: "receive"
|
|
150091
150091
|
}
|
|
150092
|
-
], pendleExternalActionInstanceAddress = "
|
|
150092
|
+
], pendleExternalActionInstanceAddress = "0xc4eEb832251a1823b5CB70DBc13e6ABf7fF6b5e2", pendleLPExternalActionABI = [
|
|
150093
150093
|
{
|
|
150094
150094
|
inputs: [
|
|
150095
150095
|
{
|
|
@@ -150564,7 +150564,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
150564
150564
|
stateMutability: "payable",
|
|
150565
150565
|
type: "receive"
|
|
150566
150566
|
}
|
|
150567
|
-
], pendleLPExternalActionInstanceAddress = "
|
|
150567
|
+
], pendleLPExternalActionInstanceAddress = "0x83eD8C7bF2203E341ea2A2e92f17542E542A3551", WstYtTokenABI = [
|
|
150568
150568
|
{
|
|
150569
150569
|
inputs: [
|
|
150570
150570
|
{
|
|
@@ -151788,7 +151788,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
151788
151788
|
stateMutability: "nonpayable",
|
|
151789
151789
|
type: "function"
|
|
151790
151790
|
}
|
|
151791
|
-
], volatileVaultInstanceAddress = "
|
|
151791
|
+
], volatileVaultInstanceAddress = "0x174457C0AF7E72BC3D53FE830C95B7Fc5B0A4523", VolatileVaultABI = [
|
|
151792
151792
|
{
|
|
151793
151793
|
inputs: [
|
|
151794
151794
|
{
|
|
@@ -152100,7 +152100,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
152100
152100
|
stateMutability: "payable",
|
|
152101
152101
|
type: "receive"
|
|
152102
152102
|
}
|
|
152103
|
-
], volatileTokenActionInstanceAddress = "
|
|
152103
|
+
], volatileTokenActionInstanceAddress = "0x7e6faD4a460a1142561329e842f7e1BA888d9D5f", VolatileTokenActionABI = [
|
|
152104
152104
|
{
|
|
152105
152105
|
inputs: [
|
|
152106
152106
|
{
|
|
@@ -152733,7 +152733,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
152733
152733
|
stateMutability: "payable",
|
|
152734
152734
|
type: "receive"
|
|
152735
152735
|
}
|
|
152736
|
-
], hinkalWrapperAddress = "
|
|
152736
|
+
], hinkalWrapperAddress = "0xF893AA5c5567963Fe8FE0781b340b89297ff7716", HinkalWrapperABI = [
|
|
152737
152737
|
{
|
|
152738
152738
|
inputs: [
|
|
152739
152739
|
{
|
|
@@ -152998,7 +152998,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
152998
152998
|
stateMutability: "view",
|
|
152999
152999
|
type: "function"
|
|
153000
153000
|
}
|
|
153001
|
-
], hinkalStakeExternalActionAddress = "
|
|
153001
|
+
], hinkalStakeExternalActionAddress = "0x6a4e164559A0D83a8F42869632d9aD8EEdc5338C", HinkalStakeExternalActionABI = [
|
|
153002
153002
|
{
|
|
153003
153003
|
inputs: [
|
|
153004
153004
|
{
|
|
@@ -155134,7 +155134,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
155134
155134
|
stateMutability: "nonpayable",
|
|
155135
155135
|
type: "function"
|
|
155136
155136
|
}
|
|
155137
|
-
], hETHOracleAddress = "
|
|
155137
|
+
], hETHOracleAddress = "0x865dc9C6D7b1F5082A4C51A5d42DbB2C1e17a9d0", HTokenOracleABI = [
|
|
155138
155138
|
{
|
|
155139
155139
|
inputs: [
|
|
155140
155140
|
{
|
|
@@ -155172,7 +155172,7 @@ const hinkalAddress$2 = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", hinkalABI$
|
|
|
155172
155172
|
stateMutability: "view",
|
|
155173
155173
|
type: "function"
|
|
155174
155174
|
}
|
|
155175
|
-
], emporiumAddress = "
|
|
155175
|
+
], emporiumAddress = "0xF252f591B1173882a0ff265217899f1A9686d358";
|
|
155176
155176
|
var localhostData = {
|
|
155177
155177
|
hinkalAddress: hinkalAddress$2,
|
|
155178
155178
|
hinkalABI: hinkalABI$2,
|
|
@@ -165268,7 +165268,7 @@ class WorkerFactory {
|
|
|
165268
165268
|
constructor() {
|
|
165269
165269
|
}
|
|
165270
165270
|
static resolveWorkerURL = async (d) => {
|
|
165271
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
165271
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-DU3D7LKk.js");
|
|
165272
165272
|
return new URL(c[d], n);
|
|
165273
165273
|
};
|
|
165274
165274
|
static createWorker = async (d) => {
|
|
@@ -165276,12 +165276,12 @@ class WorkerFactory {
|
|
|
165276
165276
|
let c;
|
|
165277
165277
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
165278
165278
|
/* @vite-ignore */
|
|
165279
|
-
"./snarkjsWorkerLogic-
|
|
165279
|
+
"./snarkjsWorkerLogic-BkSolcWj.js"
|
|
165280
165280
|
) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
|
|
165281
165281
|
return zkProofWorkerLogic;
|
|
165282
165282
|
}) : d === WorkerVariant.UTXO && (c = await import(
|
|
165283
165283
|
/* @vite-ignore */
|
|
165284
|
-
"./utxoWorkerLogic-
|
|
165284
|
+
"./utxoWorkerLogic-YmFgVUCJ.js"
|
|
165285
165285
|
)), c.default;
|
|
165286
165286
|
}
|
|
165287
165287
|
const n = await WorkerFactory.resolveWorkerURL(d);
|