Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions projects/blockrock-rwa/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const QQQAI_ADDRESS = "0xa91D704B6edA6e207413bB888bd1B00e3037Dd24";

async function tvl(api) {
const totalSupply = await api.call({
abi: "erc20:totalSupply",
target: QQQAI_ADDRESS,
});
api.add(QQQAI_ADDRESS, totalSupply);
}

module.exports = {
methodology: "TVL is the total supply of QQQAI tokens in the QQQAI contract.",
ethereum: {
tvl,
},
};
Loading