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 e97c189 commit cd985deCopy full SHA for cd985de
projects/DigiFT/index.js
@@ -59,5 +59,14 @@ module.exports = {
59
await api.addTokens(tokens, tokenSupplies)
60
return api.getBalances()
61
}
62
+ },
63
+ bsc: {
64
+ tvl: async (api) => {
65
+ const tokenAPI = new sdk.ChainApi({ chain: 'polygon', timestamp: api.timestamp, });
66
+ const tokens = await getTokenList(tokenAPI, api.chainId)
67
+ const tokenSupplies = await api.multiCall({ abi: 'uint256:totalSupply', calls: tokens })
68
+ await api.addTokens(tokens, tokenSupplies)
69
+ return api.getBalances()
70
+ }
71
72
};
0 commit comments