We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39885ee commit 972b15dCopy full SHA for 972b15d
projects/thesauros/index.js
@@ -44,14 +44,14 @@ Object.keys(config).forEach((chain) => {
44
});
45
46
const tvl = async (api, vaults) => {
47
- const [activeProviders, assets] = await Promise.all([
+ const [providers, assets] = await Promise.all([
48
api.multiCall({ calls: vaults, abi: "address:activeProvider" }),
49
api.multiCall({ calls: vaults, abi: "address:asset" }),
50
]);
51
52
const balances = await api.multiCall({
53
calls: vaults.map((vault, i) => ({
54
- target: activeProviders[i],
+ target: providers[i],
55
params: [vault, vault]
56
})),
57
abi
0 commit comments