@augustdigital/sdk 9.13.2 → 9.13.3
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/lib/core/helpers/web3.js
CHANGED
|
@@ -382,7 +382,7 @@ function sharedDecimalsRequest(key, fetch) {
|
|
|
382
382
|
async function fetchDecimals(runner, address, isVault) {
|
|
383
383
|
let realAddress = address;
|
|
384
384
|
if (isVault) {
|
|
385
|
-
const tokenizedVault = (await (0, fetcher_1.fetchTokenizedVault)(address))?.[0];
|
|
385
|
+
const tokenizedVault = (await (0, fetcher_1.fetchTokenizedVault)(address, undefined, false, false))?.[0];
|
|
386
386
|
const version = (0, vault_version_1.getVaultVersionV2)(tokenizedVault);
|
|
387
387
|
if (version === 'evm-2') {
|
|
388
388
|
realAddress = await (0, exports.getReceiptTokenAddress)(runner, address);
|
|
@@ -716,7 +716,7 @@ const getSymbol = async (provider, address, isVault = true) => {
|
|
|
716
716
|
const fetchPromise = (async () => {
|
|
717
717
|
try {
|
|
718
718
|
if (isVault) {
|
|
719
|
-
const tokenizedVault = (await (0, fetcher_1.fetchTokenizedVault)(address))?.[0];
|
|
719
|
+
const tokenizedVault = (await (0, fetcher_1.fetchTokenizedVault)(address, undefined, false, false))?.[0];
|
|
720
720
|
const version = (0, vault_version_1.getVaultVersionV2)(tokenizedVault);
|
|
721
721
|
let realAddress = address;
|
|
722
722
|
if (version === 'evm-2') {
|
|
@@ -405,7 +405,7 @@ async function getSubgraphWithdrawRequests(pool, provider, slackWebookUrl = (0,
|
|
|
405
405
|
});
|
|
406
406
|
return [];
|
|
407
407
|
}
|
|
408
|
-
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool))?.[0];
|
|
408
|
+
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool, undefined, false, false))?.[0];
|
|
409
409
|
const version = (0, core_1.getVaultVersionV2)(tokenizedVault);
|
|
410
410
|
// Probe the deployed subgraph to learn its actual field schema (cached per
|
|
411
411
|
// URL) instead of guessing from the vault symbol. See resolveSubgraphSchema —
|
|
@@ -479,7 +479,7 @@ async function getSubgraphWithdrawProccessed(pool, provider, slackWebookUrl = (0
|
|
|
479
479
|
});
|
|
480
480
|
return [];
|
|
481
481
|
}
|
|
482
|
-
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool))?.[0];
|
|
482
|
+
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool, undefined, false, false))?.[0];
|
|
483
483
|
const version = (0, core_1.getVaultVersionV2)(tokenizedVault);
|
|
484
484
|
// Probe the deployed subgraph's actual field schema (cached per URL) rather
|
|
485
485
|
// than guessing from the vault symbol — see resolveSubgraphSchema (AUGUST-6568).
|
|
@@ -566,7 +566,7 @@ async function getSubgraphAllWithdrawals(pool, provider, slackWebookUrl = (0, sl
|
|
|
566
566
|
});
|
|
567
567
|
return errorReturnObj;
|
|
568
568
|
}
|
|
569
|
-
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool))?.[0];
|
|
569
|
+
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool, undefined, false, false))?.[0];
|
|
570
570
|
const version = (0, core_1.getVaultVersionV2)(tokenizedVault);
|
|
571
571
|
// Probe the deployed subgraph's actual field schema (cached per URL) rather
|
|
572
572
|
// than guessing from the vault symbol — see resolveSubgraphSchema (AUGUST-6568).
|
|
@@ -748,7 +748,7 @@ async function getSubgraphUserHistory(user, provider, pool, slackWebookUrl = (0,
|
|
|
748
748
|
});
|
|
749
749
|
return requests;
|
|
750
750
|
}
|
|
751
|
-
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool))?.[0];
|
|
751
|
+
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool, undefined, false, false))?.[0];
|
|
752
752
|
const version = (0, core_1.getVaultVersionV2)(tokenizedVault);
|
|
753
753
|
// Probe the deployed subgraph's actual field schema (cached per URL) rather
|
|
754
754
|
// than guessing from the vault symbol — see resolveSubgraphSchema (AUGUST-6568).
|
|
@@ -881,7 +881,7 @@ async function getSubgraphVaultHistory(provider, pool, slackWebookUrl = (0, slac
|
|
|
881
881
|
});
|
|
882
882
|
return requests;
|
|
883
883
|
}
|
|
884
|
-
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool))?.[0];
|
|
884
|
+
const tokenizedVault = (await (0, core_1.fetchTokenizedVault)(pool, undefined, false, false))?.[0];
|
|
885
885
|
const version = (0, core_1.getVaultVersionV2)(tokenizedVault);
|
|
886
886
|
// Probe the deployed subgraph's actual field schema (cached per URL) rather
|
|
887
887
|
// than guessing from the vault symbol — see resolveSubgraphSchema (AUGUST-6568).
|