coinwalk

for zulu snowybot dune

Dec 24th, 2023
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var oldestbal = parseFloat(document.getElementById('pct_balance').value);
  2. var base = (oldestbal/100); //dont change;
  3. var bellance = oldestbal;
  4. var botplus = base;
  5. var trget = parseFloat(oldestbal);
  6. var tens = (base*10);
  7. var sevens = (base*6.9);
  8. var eights  = (base*7.1)
  9. var floatingbal = 0;
  10. var betnext = ((botplus*1).toFixed(8));
  11.  
  12.  
  13. function get(){
  14. bellance = document.getElementById('pct_balance').value;
  15. if ((bellance>(((Math.floor(bellance/tens))*tens)+sevens))&&(bellance<(((Math.floor(bellance/tens))*tens)+eights))&&(bellance!=floatingbal)) {
  16.      botplus = botplus*2;    
  17.      floatingbal  = parseFloat(bellance);
  18. }
  19. if ((((bellance-(oldestbal-(tens*2)))-(botplus*2))<=0)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  20.     botplus = base;
  21.     floatingbal = 0;
  22. }
  23. if (((botplus*2)>=tens)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  24.     botplus = base;
  25.     floatingbal = 0;
  26.     oldestbal = parseFloat(((Math.floor(bellance/tens))*tens));
  27. }
  28. if ((((bellance-(oldestbal-(tens*2)))-(botplus*2))<=0)&&(bellance>(((Math.floor(bellance/tens))*tens)+sevens))&&(bellance<(((Math.floor(bellance/tens))*tens)+eights))){
  29.     botplus = base*2;
  30.     floatingbal  = parseFloat(bellance);
  31. }
  32. if ((bellance-(oldestbal-(tens)))<=0){
  33. oldestbal = parseFloat(((Math.floor(bellance/tens))*tens));
  34. botplus = base;
  35. floatingbal = 0;
  36. }
  37. if (bellance>=(trget*2.4)){
  38. oldestbal = parseFloat(bellance);
  39. base = (oldestbal/100); //dont change;
  40. botplus = base;
  41. tens = (base*10);
  42. sevens = (base*6.9);
  43. eights  = (base*7.1)
  44. floatingbal = 0;
  45. trget = parseFloat(oldestbal);
  46. }
  47. if (bellance>80000){
  48. console.log("buy ebike")
  49. return
  50. }
  51. betnext = ((botplus*1).toFixed(8));
  52. $('#pct_chance').val(49.5);
  53. $('#pct_bet').val(betnext);
  54. $('#a_hi').click();
  55. setTimeout(() => get(), 1000);
  56. }
  57. get();
Add Comment
Please, Sign In to add comment