From 702c3a97d021d4e244704851e52d51cfeaad5601 Mon Sep 17 00:00:00 2001 From: 0xpeluche <110820448+0xpeluche@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:29:23 +0200 Subject: [PATCH] Feat: Adapter, Sygnum-Bank (RWA) (#11740) --- projects/sygnum-bank/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 projects/sygnum-bank/index.js diff --git a/projects/sygnum-bank/index.js b/projects/sygnum-bank/index.js new file mode 100644 index 00000000000..3d1318486b7 --- /dev/null +++ b/projects/sygnum-bank/index.js @@ -0,0 +1,11 @@ +const fund = "0x2AB105A3eAd22731082B790CA9A00D9A3A7627F9"; + +module.exports = { + methodology: "TVL represents the total sum of all tokens minted in Fidelity's investment fund (FIUSD)", + era: { + tvl: async (api) => { + const supply = await api.call({ target: fund, abi: "erc20:totalSupply" }); + api.add("0x2AB105A3eAd22731082B790CA9A00D9A3A7627F9", supply); + }, + }, +};