mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-28 21:05:32 +08:00
14 lines
364 B
JavaScript
14 lines
364 B
JavaScript
const ADDRESSES = require('../helper/coreAssets.json')
|
|
const { call } = require("../helper/chain/ton");
|
|
|
|
module.exports = {
|
|
timetravel: false,
|
|
methodology: "stTon",
|
|
ton: {
|
|
tvl: async () => {
|
|
const result = await call({ target: ADDRESSES.ton.stTON, abi: "get_full_data" })
|
|
return { "coingecko:the-open-network": result[1] / 1e9 };
|
|
}
|
|
}
|
|
}
|