diff --git a/projects/theo-network-thbill/index.js b/projects/theo-network-thbill/index.js new file mode 100644 index 0000000000..3187e8838a --- /dev/null +++ b/projects/theo-network-thbill/index.js @@ -0,0 +1,11 @@ +// thBill token address +THBILL_ETH = "0x5FA487BCa6158c64046B2813623e20755091DA0b" + +module.exports = { + ethereum: { + tvl: async (api) => { + const supply = await api.call({ target: THBILL_ETH, abi: 'erc20:totalSupply' }) + api.add(THBILL_ETH, supply) + }, + }, +}