feat: Fix lockup amount and auctions page

This commit is contained in:
Nathan Woodburn 2024-03-15 15:07:27 +11:00
parent afd7ae2947
commit 40b4c42492
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
4 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -138,6 +138,8 @@ def getBalance(account: str):
if domain['state'] == "CLOSED":
domainValue += domain['value']
total = total - (domainValue/1000000)
locked = locked - (domainValue/1000000)
# Only keep 2 decimal places
total = round(total, 2)

View File

@ -17,7 +17,7 @@ functions = {
"status":{
"name": "Check connection",
"type": "dashboard",
"description": "You need tp set varo_instance to the ICANN domain of the chosen Varo instance and varo_api to your varo API key before you can connect",
"description": "You need to set varo_instance to the ICANN domain of the chosen Varo instance and varo_api to your varo API key before you can connect",
"params": {},
"returns": {
"status":

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Dashboard - FireWallet</title>
<title>Auctions - FireWallet</title>
<link rel="icon" type="image/png" sizes="900x768" href="/assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="900x768" href="/assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="900x768" href="/assets/img/favicon.png">