Skip to content

Commit

Permalink
fix strudel
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 5, 2024
1 parent ade55ba commit 39f6c60
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions projects/strudel.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
async function tvl(api) {
const BTC = '0xe1406825186D63980fd6e2eC61888f7B91C4bAe4'
const supply = await api.call({ abi: 'erc20:totalSupply', target: BTC })
api.addCGToken('bitcoin', supply/1e18)
}

module.exports = {
ethereum: { tvl },
ethereum: { tvl: () => ({}) },
// deadFrom: "2022-02-31",
}

0 comments on commit 39f6c60

Please sign in to comment.