mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-29 13:25:30 +08:00
14 lines
388 B
JavaScript
14 lines
388 B
JavaScript
const utils = require('./helper/utils')
|
|
|
|
const url = "https://public1.nuls.io/nuls/tvl"
|
|
|
|
const tvl = async (api) => {
|
|
const { data } = await utils.fetchURL(url)
|
|
return api.addUSDValue(Math.floor(data.tvl))
|
|
}
|
|
|
|
module.exports={
|
|
misrepresentedTokens: true,
|
|
methodology: 'TVL counts native chain staking and data is pulled from: "https://public1.nuls.io/nuls/tvl".',
|
|
nuls: { tvl }
|
|
} |