From 63384a31dfd939017d2a7eaf90f2c8f0bc8f59e1 Mon Sep 17 00:00:00 2001 From: Mike D Date: Wed, 18 Dec 2024 19:06:46 -0500 Subject: [PATCH] Added Colonize Mars project --- projects/colonizemars/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 projects/colonizemars/index.js diff --git a/projects/colonizemars/index.js b/projects/colonizemars/index.js new file mode 100644 index 000000000000..e9463f1676b9 --- /dev/null +++ b/projects/colonizemars/index.js @@ -0,0 +1,18 @@ +const { get_account_tvl } = require("../helper/chain/eos"); + +// Colonize Mars +// https://colonizemars.com +async function wax() { + const accounts = ["play.mars"]; + const tokens = [ + ["eosio.token", "WAX", "wax"] + ]; + return await get_account_tvl(accounts, tokens, "wax"); +} + +module.exports = { + methodology: `Colonize Mars TVL is achieved by querying token balances from NFT gaming contracts`, + wax: { + tvl: wax + }, +} \ No newline at end of file