mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 22:43:12 +08:00
* use tvl function v2 * refactor addFundsInMasterChef * replace usage of timestamp field * more refactoring * more refactoring
14 lines
303 B
JavaScript
14 lines
303 B
JavaScript
const st_tao = "0xB60acD2057067DC9ed8c083f5aa227a244044fD6"
|
|
|
|
async function tvl(api) {
|
|
const supply = await api.call({ abi: 'erc20:totalSupply', target: st_tao })
|
|
api.add(st_tao, supply)
|
|
}
|
|
|
|
module.exports = {
|
|
methodology: "TVL counts tokens staked by the protocol.",
|
|
ethereum: {
|
|
tvl,
|
|
},
|
|
}
|