From 03e7d242115ed8f752c1ac0f07d4e3c22ab4ba6c Mon Sep 17 00:00:00 2001 From: Torresmorah Date: Mon, 6 Nov 2023 10:59:12 -0600 Subject: [PATCH] feat(webapp): add eos evm total wallets created --- webapp/src/language/en.json | 1 + webapp/src/language/es.json | 1 + webapp/src/routes/EVMDashboard/index.js | 3 +++ webapp/src/routes/EVMDashboard/useEVMstate.js | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp/src/language/en.json b/webapp/src/language/en.json index 075b3e3c..2532b982 100644 --- a/webapp/src/language/en.json +++ b/webapp/src/language/en.json @@ -522,6 +522,7 @@ "transactions": "EVM transactions", "gasUsed": "Gas Used", "tooltip": { + "totalWallets": "EVM active addresses of the account table from {{accountName}} contract", "gasPrice": "The cost of computational work in EVM, measured in Gas", "avgGasUsage": "Average Gas Consumed Over the Last 100 Blocks", "totalIncoming": "Total Transfers Received by {{accountName}}", diff --git a/webapp/src/language/es.json b/webapp/src/language/es.json index 7df2b3ce..cf104da3 100644 --- a/webapp/src/language/es.json +++ b/webapp/src/language/es.json @@ -540,6 +540,7 @@ "transactions": "Transacciones EVM", "gasUsed": "Gas Usado", "tooltip": { + "totalWallets": "Direcciones del EVM activas de la tabla account del contrato {{accountName}}", "gasPrice": "Combustible virtual usado para ejecutar contratos inteligentes en EVM", "avgGasUsage": "Gas promedio utilizado en los Ășltimos 100 bloques", "totalIncoming": "Cantidad de transacciones transfer hacia {{accountName}}", diff --git a/webapp/src/routes/EVMDashboard/index.js b/webapp/src/routes/EVMDashboard/index.js index 1352461d..54de327a 100644 --- a/webapp/src/routes/EVMDashboard/index.js +++ b/webapp/src/routes/EVMDashboard/index.js @@ -183,6 +183,9 @@ const EVMDashboard = () => { /> { lower_bound: null, }) - return rows[0]?.index + 1 + return rows[0]?.index + 1 || rows[0]?.id + 1 } catch (error) {} }