From 495a2dd7bdbc8babc4026a9f013733aca4946a2e Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 10 Sep 2024 13:01:01 +0200 Subject: [PATCH 1/3] prettier --- pages/index.vue | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index ac8e3c7..af372b9 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -59,9 +59,12 @@

A new era of digital currency transfer is about to come. Our - Incognitee Web3 solution - empowers you to make secure, private, and anonymous transactions - without compromising control over your assets.

+ Incognitee + Web3 solution empowers you to make secure, private, and anonymous + transactions without compromising control over your assets. +

Collect TEERdays now and save the pole position for the Incognitee Go-Live.

@@ -525,12 +528,13 @@

By bonding your TEER now, you can already accumulate TEERdays prior to the launch of - Incognitee. TEERdays are - calculated by multiplying the amount of TEER by the number of days - bonded. You can unbond your TEER anytime within 7 days, but you - will lose a fraction of the accumulated TEERdays if you do. - TEERdays are non-transferable. Start now to get the best position - for the Incognitee launch. ​ + Incognitee. TEERdays are calculated by multiplying the amount of TEER by + the number of days bonded. You can unbond your TEER anytime within + 7 days, but you will lose a fraction of the accumulated TEERdays + if you do. TEERdays are non-transferable. Start now to get the + best position for the Incognitee launch. ​

@@ -548,8 +552,11 @@

TEERdays can be used to increase your revenue share for the launch - of Incognitee on - Polkadot/Kusama and will also increase your governance voting + of + Incognitee + on Polkadot/Kusama and will also increase your governance voting power for future decisions related to Incognitee.

@@ -569,10 +576,20 @@

1. First, you need to possess some TEER. Grab them at one of the avenues like - Kraken, Gate or - , + Gate + or + Basilisk
From 6f37d0a8834eed8d78c39255674050a37254abf5 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 10 Sep 2024 14:40:59 +0200 Subject: [PATCH 2/3] hotfix remove testnet link if balance low --- pages/index.vue | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index af372b9..fce5537 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -420,17 +420,7 @@ " class="text-sm text-red-500" > - Not enough transferrable TEER. Please get free test TEER - at our - testnet faucet. + Not enough transferrable TEER.

Date: Wed, 11 Sep 2024 09:42:50 +0200 Subject: [PATCH 3/3] use BigInt for bond and unbond --- pages/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index fce5537..77d8bce 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1226,7 +1226,7 @@ watch(accountStore, async () => { const amountToBond = ref(0); const bondAmount = () => { // Handle the bonding process here - const amount = amountToBond.value * Math.pow(10, 12); + const amount = BigInt(amountToBond.value) * BigInt(Math.pow(10, 12)); console.log(`Bonding ${amount}`); txStatus.value = "⌛ Bonding. Please sign the transaction in your wallet."; openStatusOverlay(); @@ -1255,7 +1255,7 @@ const bondAmount = () => { const amountToUnbond = ref(0); const unbondAmount = () => { // Handle the bonding process here - const amount = amountToUnbond.value * Math.pow(10, 12); + const amount = BigInt(amountToUnbond.value) * BigInt(Math.pow(10, 12)); console.log(`Unbonding ${amount}`); txStatus.value = "⌛ Unbonding. Please sign the transaction in your wallet."; openStatusOverlay();