* feat: add BitFlow adapter

* code refactor

---------

Co-authored-by: Rodrigo Eduardo <rodrigoeduardodb1@gmail.com>
This commit is contained in:
g1nt0ki
2024-02-15 23:46:21 +01:00
committed by GitHub
parent 462636c674
commit 6f930b618f
3 changed files with 25 additions and 1 deletions

17
projects/bitflow/index.js Normal file
View File

@@ -0,0 +1,17 @@
const { sumTokensExport } = require("../helper/sumTokens");
const BITFLOW_ADDRESS = "SPQC38PW542EQJ5M11CR25P7BS1CA6QT4TBXGB3M";
const PAIRS = [
`${BITFLOW_ADDRESS}.stableswap-stx-ststx-v-1-1`,
`${BITFLOW_ADDRESS}.stableswap-stx-ststx-v-1-2`,
`${BITFLOW_ADDRESS}.stableswap-usda-susdt-v-1-2`,
`${BITFLOW_ADDRESS}.stableswap-abtc-xbtc-v-1-2`,
]
module.exports = {
stacks: {
tvl: sumTokensExport({ owners: PAIRS }),
},
methodology: "Total Liquidity Added to DEX Trading Pools",
};