-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'DefiLlama:main' into linea-fix
- Loading branch information
Showing
23 changed files
with
234 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const utils = require("../helper/utils"); | ||
const {toUSDTBalances} = require("../helper/balances"); | ||
|
||
async function tvl() { | ||
// Fetch all tickers | ||
const tickers = await utils.fetchURL("https://api-phoenix.decentrio.ventures/tickers"); | ||
|
||
// Sum up the tvl | ||
const totalTVL = tickers.data.reduce((acc, t) => acc + t.liquidity_in_usd, 0); | ||
return toUSDTBalances(totalTVL); | ||
} | ||
|
||
module.exports = { | ||
methodology: 'counts the liquidity on all Phoenix Hub AMM Pools.', | ||
stellar: { | ||
tvl, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
const { cexExports } = require('../helper/cex') | ||
|
||
const config = { | ||
ethereum: { | ||
owners: [ | ||
"0x72e5263ff33d2494692d7f94a758aa9f82062f73", | ||
"0xaD285fDEDFC0D5f944A33e478356524293c7eC68", | ||
"0xf71afe21cd32959113fc47ae2ef886b43a9413d5" | ||
], | ||
}, | ||
bsc: { | ||
owners: [ | ||
"0xd6a4452eebde830888cee4a395126831ab16250c", | ||
"0xf4be044ba7461d8444ed53f9ec7490781e08e3b7", | ||
"0x898fce2414a1347c0e12bde6b28b75843fd9bbad" | ||
], | ||
}, | ||
bitcoin: { | ||
owners: [ | ||
"19EgVpboqNjortWyhJSDAGRvHDtduqiSfr", | ||
"19AtrEvJv7UY75tvWkXMxLUAYibxpZhFfN", | ||
"17PpCEuQUT7xxP1ocfhvFdwQyrB5dG1dQP" | ||
], | ||
}, | ||
fantom: { | ||
owners: [ | ||
"0xc78600a92caf0fcf6990e7ea7381bf4297054f86", | ||
"0x06ffd89a07b078d4a1a1d9947a28e95825f9c35c", | ||
"0x813e711993fc8ec29e9e45fb3a7e47f8c33ca64f" | ||
], | ||
}, | ||
polygon: { | ||
owners: [ | ||
"0xfaef9cc9bf46c386c58a3e86ffffbf77969ca149", | ||
"0x29b6e9abf51fc7d4581f6cbd1a9d5392fa7fa78f", | ||
"0xdba24f19bce0f32ea4273faea7c01d7f9d4f91d6" | ||
], | ||
}, | ||
tron: { | ||
owners: [ | ||
"TPkn5zpxXr8jaNqvgVoFanTsvXCbNXJ8GB", | ||
"TGEwJxVErWagXnriZATPMBFFbbeuad9m3h", | ||
"TYiFSQG4dfdWh8RWETsvJn4fvXdZ8bEL7t" | ||
], | ||
}, | ||
ripple: { | ||
owners: [ | ||
"rwXEHNNuf3nctzXLtvL5JnQJGMyUZYGrVc", | ||
"rsA9ijHjo7hAkitc9GsXsiwXzqGs7eoeqr", | ||
"rEa9cAYavjfxvmdJExr1PMGxoPYzAUZXGb" | ||
], | ||
}, | ||
solana: { | ||
owners: [ | ||
"BX145kKanqBmeud72ir44iMFVAfaak4y933rgbMc2H52", | ||
"FavWP1KXVVNZLTYjfSBWPanxbVeCW4A3pJ96hn2GRWGR", | ||
], | ||
}, | ||
} | ||
|
||
module.exports = cexExports(config) |
Oops, something went wrong.