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