Skip to content

Commit

Permalink
v2.4.3: poster badge
Browse files Browse the repository at this point in the history
  • Loading branch information
munris-vlad committed Nov 27, 2024
1 parent 5ddc066 commit 30550de
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions checkers/story.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const columns = [
{ name: 'Badge Count', alignment: 'right', color: 'cyan' },
{ name: 'Main', alignment: 'right', color: 'cyan' },
{ name: 'Wand', alignment: 'right', color: 'cyan' },
{ name: 'Poster', alignment: 'right', color: 'cyan' },
{ name: 'Solo', alignment: 'right', color: 'cyan' },
{ name: 'Satori', alignment: 'right', color: 'cyan' },
{ name: 'MahojinIP', alignment: 'right', color: 'cyan' },
Expand Down Expand Up @@ -59,6 +60,7 @@ const headers = [
{ id: 'Badge Count', title: 'TX Count' },
{ id: 'Main', title: 'Main' },
{ id: 'Wand', title: 'Wand' },
{ id: 'Poster', title: 'Poster' },
{ id: 'Solo', title: 'Solo' },
{ id: 'Satori', title: 'Satori' },
{ id: 'MahojinIP', title: 'MahojinIP' },
Expand Down Expand Up @@ -264,6 +266,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
badgeCount += stats[wallet].balances['SPOT'] ? 1 : 0
badgeCount += stats[wallet].balances['ARTSTORYBADGE'] ? 1 : 0
badgeCount += stats[wallet].balances['SNGLR'] ? 1 : 0
badgeCount += stats[wallet].balances['PSTR'] ? 1 : 0

stats[wallet].badgecount = badgeCount
progressBar.update(iteration)
Expand All @@ -276,6 +279,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
'Badge Count': stats[wallet].badgecount,
'Main': stats[wallet].balances['OTCIPA'] ? 'Yes' : 'No',
'Wand': stats[wallet].balances['WAND'] ? 'Yes' : 'No',
'Poster': stats[wallet].balances['PSTR'] ? 'Yes' : 'No',
'Solo': stats[wallet].balances['SOLOXSSB'] ? 'Yes' : 'No',
'Color': stats[wallet].balances['COLB'] ? 'Yes' : 'No',
'Unleash': stats[wallet].balances['UPB'] ? 'Yes' : 'No',
Expand Down Expand Up @@ -308,6 +312,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
'Badge Count': stats[wallet].badgecount,
'Main': stats[wallet].balances['OTCIPA'] ? 1 : 0,
'Wand': stats[wallet].balances['WAND'] ? 1 : 0,
'Poster': stats[wallet].balances['PSTR'] ? 1 : 0,
'Solo': stats[wallet].balances['SOLOXSSB'] ? 1 : 0,
'Color': stats[wallet].balances['COLB'] ? 1 : 0,
'Unleash': stats[wallet].balances['UPB'] ? 1 : 0,
Expand Down
2 changes: 1 addition & 1 deletion web/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/fav.png"><title>WalletChecker</title><script defer="defer" src="/js/chunk-vendors.4e8636cd.js"></script><script defer="defer" src="/js/app.b4cd14ba.js"></script><link href="/css/app.aab38bcb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but WalletChecker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/fav.png"><title>WalletChecker</title><script defer="defer" src="/js/chunk-vendors.4e8636cd.js"></script><script defer="defer" src="/js/app.c06ee4f2.js"></script><link href="/css/app.aab38bcb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but WalletChecker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
2 changes: 0 additions & 2 deletions web/dist/js/app.b4cd14ba.js

This file was deleted.

2 changes: 2 additions & 0 deletions web/dist/js/app.c06ee4f2.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions web/src/views/StoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<td :class="tdClass">{{ item['Badge Count'] }}</td>
<td :class="tdClass">{{ item['Main'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Wand'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Poster'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Solo'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Satori'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['MahojinIP'] ? '✅' : '❌' }}</td>
Expand Down Expand Up @@ -101,6 +102,7 @@ export default {
'Badge Count',
'Main',
'Wand',
'Poster',
'Solo',
'Satori',
'MahojinIP',
Expand Down

0 comments on commit 30550de

Please sign in to comment.