Accelernate commited on
Commit
be1b068
·
verified ·
1 Parent(s): f1374b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -48,6 +48,9 @@ if st.button("Verify"):
48
  decimals = balance_info['decimals']
49
  adjusted_amount = amount / (10 ** decimals)
50
 
 
 
 
51
  # Compare the adjusted amount to thresholds
52
  if adjusted_amount >= 3333333:
53
  st.success("✅ Guaranteed OG Status")
@@ -56,9 +59,9 @@ if st.button("Verify"):
56
  elif adjusted_amount >= 33333:
57
  st.success("✅ Guaranteed WLR Status")
58
  else:
59
- st.error("You do not meet any status requirements.")
60
  else:
61
- st.error("Token account not found or zero balance.")
62
  except Exception as e:
63
  st.error(f"An error occurred: {e}")
64
  else:
 
48
  decimals = balance_info['decimals']
49
  adjusted_amount = amount / (10 ** decimals)
50
 
51
+ # Display the amount the user holds
52
+ st.write(f"You hold {adjusted_amount:,.0f} tokens.")
53
+
54
  # Compare the adjusted amount to thresholds
55
  if adjusted_amount >= 3333333:
56
  st.success("✅ Guaranteed OG Status")
 
59
  elif adjusted_amount >= 33333:
60
  st.success("✅ Guaranteed WLR Status")
61
  else:
62
+ st.error("You don't have enough yet 👻")
63
  else:
64
+ st.error("Zero tokens found check another address?.")
65
  except Exception as e:
66
  st.error(f"An error occurred: {e}")
67
  else: