Skip to content

Commit

Permalink
track dinero staking
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Jul 25, 2024
1 parent 0d91d59 commit 60de9a1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions projects/dinero/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
const { nullAddress } = require("../helper/unwrapLPs");
const { sumERC4626VaultsExport } = require("../helper/erc4626");

module.exports = {
ethereum: {
tvl: async (api) => {
const totalSupply = await api.call({ target: '0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6', abi: 'uint256:totalSupply'});
const totalSupply = await api.call({ target: '0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6', abi: 'uint256:totalSupply' });

return {
[nullAddress]: totalSupply
};
}
},
staking: sumERC4626VaultsExport({ vaults: ['0x55769490c825CCb09b2A6Ae955203FaBF04857fd'], isOG4626: true, })
}
};

0 comments on commit 60de9a1

Please sign in to comment.