From 63384a31dfd939017d2a7eaf90f2c8f0bc8f59e1 Mon Sep 17 00:00:00 2001 From: Mike D Date: Wed, 18 Dec 2024 19:06:46 -0500 Subject: [PATCH 1/3] 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 From da9808c0124b7078aca208ab842d7eacdf713916 Mon Sep 17 00:00:00 2001 From: Mike D Date: Wed, 18 Dec 2024 19:15:56 -0500 Subject: [PATCH 2/3] renamed colonizemars to thriveonmars --- projects/{colonizemars => thriveonmars}/index.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename projects/{colonizemars => thriveonmars}/index.js (100%) diff --git a/projects/colonizemars/index.js b/projects/thriveonmars/index.js similarity index 100% rename from projects/colonizemars/index.js rename to projects/thriveonmars/index.js From 8f9eeee8f9713ee279a758a3e0fc367567d6cee9 Mon Sep 17 00:00:00 2001 From: Mike D Date: Wed, 18 Dec 2024 19:17:09 -0500 Subject: [PATCH 3/3] fixed typos --- projects/thriveonmars/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/thriveonmars/index.js b/projects/thriveonmars/index.js index e9463f1676b9..aec445e302e9 100644 --- a/projects/thriveonmars/index.js +++ b/projects/thriveonmars/index.js @@ -1,7 +1,7 @@ const { get_account_tvl } = require("../helper/chain/eos"); -// Colonize Mars -// https://colonizemars.com +// Thrive On Mars +// https://thriveonmars.com async function wax() { const accounts = ["play.mars"]; const tokens = [ @@ -11,7 +11,7 @@ async function wax() { } module.exports = { - methodology: `Colonize Mars TVL is achieved by querying token balances from NFT gaming contracts`, + methodology: `Thrive On Mars TVL is achieved by querying token balances from NFT gaming contracts`, wax: { tvl: wax },