diff --git a/configs/incognitee.ts b/configs/incognitee.ts
new file mode 100644
index 0000000..e96cf10
--- /dev/null
+++ b/configs/incognitee.ts
@@ -0,0 +1,7 @@
+// some hard-coded values in incognitee worker
+// update manually if necessary
+export const INCOGNITEE_TX_FEE = 0.01; // TEER or PAS, decimals are respected
+export const INCOGNITEE_GTN_GUESS_FEE = 0.1; // TEER or PAS, decimals are respected
+
+export const INCOGNITEE_UNSHIELDING_FEE = 3 * INCOGNITEE_TX_FEE; // TEER or PAS, decimals are respected
+export const INCOGNITEE_SHIELDING_FEE_FRACTION = 0.00175; // 0.175% of the shielding amount
diff --git a/pages/index.vue b/pages/index.vue
index 0332f37..d7d5b09 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -362,7 +362,7 @@
/>
Fee: 16 m{{ accountStore.getSymbol }} for L1, 0.175% for
+ >Fee: ~16 m{{ accountStore.getSymbol }} for L1, {{ formatDecimalBalance(INCOGNITEE_SHIELDING_FEE_FRACTION * 100) }}% for
Incognitee
@@ -563,7 +563,7 @@
Fee: 30m {{ accountStore.getSymbol }} for IncogniteeFee: {{ formatDecimalBalance(INCOGNITEE_UNSHIELDING_FEE)}} {{ accountStore.getSymbol }} for Incognitee
@@ -723,7 +723,7 @@
Fee: 10m {{ accountStore.getSymbol }} for IncogniteeFee: {{ formatDecimalBalance(INCOGNITEE_TX_FEE) }} {{ accountStore.getSymbol }} for Incognitee
@@ -767,8 +767,8 @@
- {{ guessTheNumberInfo?.winnings / Math.pow(10, 10) }}
- PAS
+ {{ formatDecimalBalance(guessTheNumberInfo?.winnings / Math.pow(10, accountStore.decimals)) }}
+ {{ accountStore.getSymbol }}
@@ -885,7 +885,7 @@
Fee: 1 PAS for IncogniteeFee: {{ formatDecimalBalance(INCOGNITEE_GTN_GUESS_FEE) }} {{ accountStore.getSymbol }} for Incognitee
@@ -1045,6 +1045,13 @@ import {
isLive,
} from "@/lib/environmentConfig";
import ObtainTokenOverlay from "~/components/ui/ObtainTokenOverlay.vue";
+import { formatDecimalBalance } from "@/store/account";
+import {
+ INCOGNITEE_GTN_GUESS_FEE,
+ INCOGNITEE_SHIELDING_FEE_FRACTION,
+ INCOGNITEE_TX_FEE,
+ INCOGNITEE_UNSHIELDING_FEE
+} from "../configs/incognitee";
const router = useRouter();
const accountStore = useAccount();