From b5f19e9f28c75e8cd739a23f6e9b865df0dba591 Mon Sep 17 00:00:00 2001 From: LpcAries <101619245+LpcAries@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:05:12 +0800 Subject: [PATCH] add utonic adapter (#12231) --- projects/utonic/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 projects/utonic/index.js diff --git a/projects/utonic/index.js b/projects/utonic/index.js new file mode 100644 index 000000000000..6a9cccd91f99 --- /dev/null +++ b/projects/utonic/index.js @@ -0,0 +1,11 @@ +const { call } = require("../helper/chain/ton"); + +module.exports = { + timetravel: false, + ton: { + tvl: async () => { + const result = await call({ target: "EQAfF5j3JMIpZlLmACv7Ub7RH7WmiVMuV4ivcgNYHvNnqHTz", abi: "get_minter_data"}) + return { "coingecko:the-open-network": result[0]/1e9 }; + } + } +} \ No newline at end of file