@strkfarm/sdk 1.1.20 → 1.1.21
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.
|
@@ -61447,7 +61447,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61447
61447
|
);
|
|
61448
61448
|
pools = data.data;
|
|
61449
61449
|
for (const pool of vesu_pools_default.data) {
|
|
61450
|
-
const found = pools.find((d) => d.id
|
|
61450
|
+
const found = pools.find((d) => ContractAddr.from(d.id).eqString(pool.id));
|
|
61451
61451
|
if (!found) {
|
|
61452
61452
|
logger2.verbose(`VesuRebalance: pools: ${JSON.stringify(pools)}`);
|
|
61453
61453
|
logger2.verbose(
|
package/dist/index.browser.mjs
CHANGED
|
@@ -9854,7 +9854,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9854
9854
|
);
|
|
9855
9855
|
pools = data.data;
|
|
9856
9856
|
for (const pool of vesu_pools_default.data) {
|
|
9857
|
-
const found = pools.find((d) => d.id
|
|
9857
|
+
const found = pools.find((d) => ContractAddr.from(d.id).eqString(pool.id));
|
|
9858
9858
|
if (!found) {
|
|
9859
9859
|
logger.verbose(`VesuRebalance: pools: ${JSON.stringify(pools)}`);
|
|
9860
9860
|
logger.verbose(
|
package/dist/index.js
CHANGED
|
@@ -9953,7 +9953,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9953
9953
|
);
|
|
9954
9954
|
pools = data.data;
|
|
9955
9955
|
for (const pool of vesu_pools_default.data) {
|
|
9956
|
-
const found = pools.find((d) => d.id
|
|
9956
|
+
const found = pools.find((d) => ContractAddr.from(d.id).eqString(pool.id));
|
|
9957
9957
|
if (!found) {
|
|
9958
9958
|
logger.verbose(`VesuRebalance: pools: ${JSON.stringify(pools)}`);
|
|
9959
9959
|
logger.verbose(
|
package/dist/index.mjs
CHANGED
|
@@ -9853,7 +9853,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9853
9853
|
);
|
|
9854
9854
|
pools = data.data;
|
|
9855
9855
|
for (const pool of vesu_pools_default.data) {
|
|
9856
|
-
const found = pools.find((d) => d.id
|
|
9856
|
+
const found = pools.find((d) => ContractAddr.from(d.id).eqString(pool.id));
|
|
9857
9857
|
if (!found) {
|
|
9858
9858
|
logger.verbose(`VesuRebalance: pools: ${JSON.stringify(pools)}`);
|
|
9859
9859
|
logger.verbose(
|
package/package.json
CHANGED
|
@@ -496,7 +496,7 @@ export class VesuRebalance extends BaseStrategy<
|
|
|
496
496
|
|
|
497
497
|
// Vesu API is unstable sometimes, some Pools may be missing sometimes
|
|
498
498
|
for (const pool of VesuPoolIDs.data) {
|
|
499
|
-
const found = pools.find((d: any) => d.id
|
|
499
|
+
const found = pools.find((d: any) => ContractAddr.from(d.id).eqString(pool.id));
|
|
500
500
|
if (!found) {
|
|
501
501
|
logger.verbose(`VesuRebalance: pools: ${JSON.stringify(pools)}`);
|
|
502
502
|
logger.verbose(
|