From c2c84eb87ae090a388830cfbf78554420278ee43 Mon Sep 17 00:00:00 2001 From: 8ball030 <8baller@station.codes> Date: Wed, 4 Jun 2025 17:32:05 +0100 Subject: [PATCH] feat:resolving-tests --- .../src/lib/components/Metrics.svelte | 41 ++++++++++++++++--- .../src/lib/components/Nodes.svelte | 6 +-- third_party/python_provider | 2 +- 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/third_party/agent_runner/src/lib/components/Metrics.svelte b/third_party/agent_runner/src/lib/components/Metrics.svelte index 7c04d7e..c729445 100644 --- a/third_party/agent_runner/src/lib/components/Metrics.svelte +++ b/third_party/agent_runner/src/lib/components/Metrics.svelte @@ -36,6 +36,35 @@ import { claim, contribute, endEpoch, loadContracts, topUpOlas } from "$lib/cont let currentFees24h: number = 0; let currentTVL: number = 0; + // struuct for exchanges + interface Exchange { + name: string; + } + + // struct for the chains + interface Chain { + name: string; + id: number; + icon: string; + } + + + // we now have a hashmap fo derive and balancer + // we will use this to get the symbol from the address + + + let currentChain: Chain = { + name: "Base", + id: 84531, + icon: "https://cryptologos.cc/logos/base-logo.svg?v=022" + }; + let currentExchange: Exchange = { + name: "Balancer" + }; + let currentExchangeIcon: string = "https://cryptologos.cc/logos/balancer-logo.svg?v=022"; + + + const darkGreenTheme = { backgroundColor: '#000000', @@ -494,14 +523,14 @@ function pltData(data: any, chart: any) { -
+
-
- +
+ Derolas Share Price. -
+
@@ -556,7 +585,7 @@ function pltData(data: any, chart: any) { Cumulative ROI of Assets in Bundle. -
+
@@ -566,7 +595,7 @@ function pltData(data: any, chart: any) { TVL (USD) over previous 30 Days. -
+
diff --git a/third_party/agent_runner/src/lib/components/Nodes.svelte b/third_party/agent_runner/src/lib/components/Nodes.svelte index d9d4bea..bad2420 100644 --- a/third_party/agent_runner/src/lib/components/Nodes.svelte +++ b/third_party/agent_runner/src/lib/components/Nodes.svelte @@ -727,6 +727,7 @@ async function isTauri(): Promise { {:else if currentTab === 'metrics'}
+ Derolas Pool Metrics @@ -739,12 +740,9 @@ async function isTauri(): Promise { - - - - +
{/if} diff --git a/third_party/python_provider b/third_party/python_provider index e7a5fbb..366d8c2 160000 --- a/third_party/python_provider +++ b/third_party/python_provider @@ -1 +1 @@ -Subproject commit e7a5fbbfbd58a70c6a66896196d7c5f80a20d747 +Subproject commit 366d8c2d67c326bd35918df5bed4ad35d67aed10