mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 22:43:12 +08:00
19 lines
335 B
JavaScript
19 lines
335 B
JavaScript
const ADDRESSES = require('./helper/coreAssets.json')
|
|
const { call } = require('./helper/chain/near')
|
|
|
|
async function tvl() {
|
|
return {
|
|
near: (await call(
|
|
ADDRESSES.near.LINA,
|
|
'get_total_staked_balance',
|
|
{}
|
|
) / 1e24 )
|
|
};
|
|
}
|
|
|
|
module.exports = {
|
|
near: {
|
|
tvl
|
|
},
|
|
timetravel: false,
|
|
}; |