From a5abfc7dbf5aa1866771a48b04b3559d77e589eb Mon Sep 17 00:00:00 2001 From: Calvin Date: Fri, 10 May 2024 02:12:21 -0600 Subject: [PATCH] Add SundaeSwap V3 Contract TVL (#10154) * chore: v3 tvl * chore: add v3 contract tvl --- projects/sundaeswap-v3/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 projects/sundaeswap-v3/index.js diff --git a/projects/sundaeswap-v3/index.js b/projects/sundaeswap-v3/index.js new file mode 100644 index 000000000000..ab3b6a2c625d --- /dev/null +++ b/projects/sundaeswap-v3/index.js @@ -0,0 +1,16 @@ +const { getAdaInAddress } = require('../helper/chain/cardano') + +async function tvl(){ + const ammLocked = await getAdaInAddress("addr1x8srqftqemf0mjlukfszd97ljuxdp44r372txfcr75wrz26rnxqnmtv3hdu2t6chcfhl2zzjh36a87nmd6dwsu3jenqsslnz7e") + // const orderBookLocked = await getAdaInAddress("addr1w8ax5k9mutg07p2ngscu3chsauktmstq92z9de938j8nqacprc9mw") + return { + "cardano": ammLocked * 2 + } +} + +module.exports={ + timetravel: false, + cardano:{ + tvl + } +}