@strkfarm/sdk 1.1.42 → 1.1.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.
|
@@ -61391,7 +61391,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61391
61391
|
};
|
|
61392
61392
|
}
|
|
61393
61393
|
static async getAllPossibleVerifiedPools(asset) {
|
|
61394
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
61394
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE_STAGING}/pools`);
|
|
61395
61395
|
const verifiedPools = data.data.filter((d) => d.isVerified);
|
|
61396
61396
|
const pools = verifiedPools.map((p) => {
|
|
61397
61397
|
const hasMyAsset = p.assets.find((a) => asset.eqString(a.address));
|
|
@@ -61568,7 +61568,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61568
61568
|
let pools = [];
|
|
61569
61569
|
try {
|
|
61570
61570
|
const data = await getAPIUsingHeadlessBrowser(
|
|
61571
|
-
`${ENDPOINTS.
|
|
61571
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
61572
61572
|
);
|
|
61573
61573
|
pools = data.data;
|
|
61574
61574
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -91231,7 +91231,7 @@ spurious results.`);
|
|
|
91231
91231
|
let pools = [];
|
|
91232
91232
|
try {
|
|
91233
91233
|
const data = await getAPIUsingHeadlessBrowser(
|
|
91234
|
-
`${ENDPOINTS.
|
|
91234
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
91235
91235
|
);
|
|
91236
91236
|
pools = data.data;
|
|
91237
91237
|
for (const pool of vesu_pools_default.data) {
|
package/dist/index.browser.mjs
CHANGED
|
@@ -9793,7 +9793,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
9795
|
static async getAllPossibleVerifiedPools(asset) {
|
|
9796
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
9796
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE_STAGING}/pools`);
|
|
9797
9797
|
const verifiedPools = data.data.filter((d) => d.isVerified);
|
|
9798
9798
|
const pools = verifiedPools.map((p) => {
|
|
9799
9799
|
const hasMyAsset = p.assets.find((a) => asset.eqString(a.address));
|
|
@@ -9970,7 +9970,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9970
9970
|
let pools = [];
|
|
9971
9971
|
try {
|
|
9972
9972
|
const data = await getAPIUsingHeadlessBrowser(
|
|
9973
|
-
`${ENDPOINTS.
|
|
9973
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
9974
9974
|
);
|
|
9975
9975
|
pools = data.data;
|
|
9976
9976
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -27320,7 +27320,7 @@ var VesuAdapter = class _VesuAdapter extends BaseAdapter {
|
|
|
27320
27320
|
let pools = [];
|
|
27321
27321
|
try {
|
|
27322
27322
|
const data = await getAPIUsingHeadlessBrowser(
|
|
27323
|
-
`${ENDPOINTS.
|
|
27323
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
27324
27324
|
);
|
|
27325
27325
|
pools = data.data;
|
|
27326
27326
|
for (const pool of vesu_pools_default.data) {
|
package/dist/index.js
CHANGED
|
@@ -9797,7 +9797,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9797
9797
|
};
|
|
9798
9798
|
}
|
|
9799
9799
|
static async getAllPossibleVerifiedPools(asset) {
|
|
9800
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
9800
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE_STAGING}/pools`);
|
|
9801
9801
|
const verifiedPools = data.data.filter((d) => d.isVerified);
|
|
9802
9802
|
const pools = verifiedPools.map((p) => {
|
|
9803
9803
|
const hasMyAsset = p.assets.find((a) => asset.eqString(a.address));
|
|
@@ -9974,7 +9974,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9974
9974
|
let pools = [];
|
|
9975
9975
|
try {
|
|
9976
9976
|
const data = await getAPIUsingHeadlessBrowser(
|
|
9977
|
-
`${ENDPOINTS.
|
|
9977
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
9978
9978
|
);
|
|
9979
9979
|
pools = data.data;
|
|
9980
9980
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -27320,7 +27320,7 @@ var VesuAdapter = class _VesuAdapter extends BaseAdapter {
|
|
|
27320
27320
|
let pools = [];
|
|
27321
27321
|
try {
|
|
27322
27322
|
const data = await getAPIUsingHeadlessBrowser(
|
|
27323
|
-
`${ENDPOINTS.
|
|
27323
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
27324
27324
|
);
|
|
27325
27325
|
pools = data.data;
|
|
27326
27326
|
for (const pool of vesu_pools_default.data) {
|
package/dist/index.mjs
CHANGED
|
@@ -9691,7 +9691,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9691
9691
|
};
|
|
9692
9692
|
}
|
|
9693
9693
|
static async getAllPossibleVerifiedPools(asset) {
|
|
9694
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
9694
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE_STAGING}/pools`);
|
|
9695
9695
|
const verifiedPools = data.data.filter((d) => d.isVerified);
|
|
9696
9696
|
const pools = verifiedPools.map((p) => {
|
|
9697
9697
|
const hasMyAsset = p.assets.find((a) => asset.eqString(a.address));
|
|
@@ -9868,7 +9868,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9868
9868
|
let pools = [];
|
|
9869
9869
|
try {
|
|
9870
9870
|
const data = await getAPIUsingHeadlessBrowser(
|
|
9871
|
-
`${ENDPOINTS.
|
|
9871
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
9872
9872
|
);
|
|
9873
9873
|
pools = data.data;
|
|
9874
9874
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -27218,7 +27218,7 @@ var VesuAdapter = class _VesuAdapter extends BaseAdapter {
|
|
|
27218
27218
|
let pools = [];
|
|
27219
27219
|
try {
|
|
27220
27220
|
const data = await getAPIUsingHeadlessBrowser(
|
|
27221
|
-
`${ENDPOINTS.
|
|
27221
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
27222
27222
|
);
|
|
27223
27223
|
pools = data.data;
|
|
27224
27224
|
for (const pool of vesu_pools_default.data) {
|
package/package.json
CHANGED
|
@@ -223,7 +223,7 @@ export class VesuRebalance extends BaseStrategy<
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
static async getAllPossibleVerifiedPools(asset: ContractAddr) {
|
|
226
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
226
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE_STAGING}/pools`);
|
|
227
227
|
const verifiedPools = data.data.filter((d: any) => d.isVerified);
|
|
228
228
|
const pools = verifiedPools
|
|
229
229
|
.map((p: any) => {
|
|
@@ -489,7 +489,7 @@ export class VesuRebalance extends BaseStrategy<
|
|
|
489
489
|
let pools: any[] = [];
|
|
490
490
|
try {
|
|
491
491
|
const data = await getAPIUsingHeadlessBrowser(
|
|
492
|
-
`${ENDPOINTS.
|
|
492
|
+
`${ENDPOINTS.VESU_BASE_STAGING}/pools`
|
|
493
493
|
);
|
|
494
494
|
pools = data.data;
|
|
495
495
|
|