Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <state-play>\r\n
- <script>
- \
- r\ n\ t\ t /* Initializes Popovers so they only require 1 click\r\n\t\twith love -justo */ \ r\ n\ t\ t$(function() {\
- r\ n\ t\ t\ t$('[data-toggle=\"popover\"]').popover();\
- r\ n\ t\ t\ t$('.checkmark').popover({\
- r\ n\ t\ t\ t\ ttrigger: \ "hover\"\r\n\t\t\t});\r\n\t\t})\r\n\t\t\r\n\r\n\t\tsetTimeout(function() {\r\n\t\t$('.tutorialArrow').fadeOut('fast');\r\n\t\t}, 20000); // <-- time in milliseconds\r\n
- </script>\r\n\r\n\t
- <!-- fomo\t-->\r\n\t
- <!-- NOTE: Displays the current pot size in ETH as well as time left in current round -->\r\n\t
- <div class=\ "blurryboy\" if={!$this.gracePeriod}></div>\r\n\t
- <div class=\ "blurryboydark\" if={$this.gracePeriod}></div>\r\n\r\n\t
- <div class=\ "jumbotron rounded-0 text-center text-light teaser-cover\" if={!$this.roundHasPassed}>\r\n\t\t
- <!--\r\n\t\t<div class=\"grid-container\" if={!$this.gracePeriod}>\r\n\t\t\t<div id=\"hdgraphics\" class=\"grid-top\"></div>\r\n\t\t</div> -->\r\n\t\t
- <div class=\ "container\">\r\n\t\t\t
- <h4 class=\ "display-4 scammed\" style=\ "font-style: italic;\" if={!$this.playerIsLeader && JUST.Cache.currentRound[8] && JUST.Cache.currentRound[8] !=\ "0x0000000000000000000000000000000000000000000000000000000000000000\"}>\r\n\t\t\t{JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentRound[8])} is</h4>\r\n\t\t\t
- <h4 class=\ "display-4 scammed\" style=\ "font-style: italic;\" if={!$this.playerIsLeader && JUST.Cache.currentRound[8] && JUST.Cache.currentRound[8]==\ "0x0000000000000000000000000000000000000000000000000000000000000000\"}>\r\n\t\t\tsomeone else is</h4>\r\n\t\t\t
- <h1 class=\ "display-1 scammed\" if={!$this.playerIsLeader && !$this.gracePeriod}>EXIT SCAMMING</h1>\r\n\t\t\t
- <h1 class=\ "display-1 scammed\" if={$this.playerIsLeader && !$this.gracePeriod}>YOU ARE EXIT SCAMMING</h1>\r\n\t\t\t
- <h1 class=\ "display-1 scammed\" if={!$this.playerIsLeader && $this.gracePeriod}>ICO FUNDING</h1>\r\n\t\t\t
- <h1 class=\ "display-1 scammed\" if={$this.playerIsLeader && $this.gracePeriod}>YOU ARE ICO FUNDING</h1>\r\n\t\t\t
- <h2 class=\ "display-3\" if={$this.gracePeriod}><span class=\ "ethglitch titleglow\">{BN(JUST.Cache.currentRound[0]).plus(JUST.Cache.currentRound[5]).div(1e18).toFixed(4)} <i class=\ "fab fa-ethereum ethglow\"></i></span></h2>\r\n\t\t\t
- <h2 class=\ "display-3\" if={!$this.gracePeriod}><span class=\ "ethglitch titleglow\">{BN(JUST.Cache.currentRound[5]).div(1e18).toFixed(4)} <i class=\ "fab fa-ethereum ethglow\"></i></span> <span class=\ "headtimer\">--</span></h2>\r\n\t\t \t
- <h3 if={$this.gracePeriod} class=\ "display-5\" style=\ "margin-top:50px;\">ICO ends in <span class=\ "headtimer\" style=\ "display:inline;font-size:inherit;\">--</span></h3>\r\n\r\n\t\t\t
- <!-- <h5 class=\"display-5\" if={!$this.playerIsLeader && !$this.gracePeriod}><a class=\"titlepopoutrightmini\">You're</a> going to stop them, right?</h5> -->\r\n\t\t\t
- <!-- <h5 class=\"display-5\" if={!$this.playerIsLeader && !$this.gracePeriod}>{memes.buyButtonMessagePlayer[Math.floor(memes.buyButtonMessagePlayer.length * Math.random()) - 1].replace(/\\$player/g, JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentRound[8]))}</h5>-->\r\n\t\t\t
- <h5 class=\ "display-5\" if={$this.playerIsLeader && !$this.gracePeriod}>If no one buys a key, you drain the contract!</h5>\r\n\t\t \t
- <!--<a if={$this.gracePeriod} href=\"javascript:void(0)\" class=\"buyOneTicket btn btn-lg btn-block btn-purp pulse marginb\">Participate in the ICO</a> -->\r\n\t\t \t
- <h4 if={$this.gracePeriod} class=\ "lead\">ICO Phase: A short 1 Hour interlude. Sent eth will be rejected; wait for the round to start for the <a class=\ "titlepopoutrightmini\">first</a> and <a class=\ "titlepopoutrightmini\">cheapest</a> keys</b> </h4>\r\n\r\n\t\t\t\r\n\t\t\t\t
- <!-- Button Handling for Buy 1x More; -->\r\n\t\t\t\t
- <!-- This button appears when the player in the lead has a vanity name -->\r\n\t\t\t\t<a href=\ "javascript:void(0)\" if={!$this.playerIsLeader && !$this.gracePeriod && JUST.Cache.currentRound[8] !=\ "0x0000000000000000000000000000000000000000000000000000000000000000\"} class=\ "buyOneTicket btn btn-lg btn-block btn-purp pulse marginb\">\r\n\t\t\t\t\t<div class=row>\r\n\t\t\t\t\t\t
- <div class=\ "col-sm-1.5 no-mobile\" style=\ "padding-left: 10px\">\r\n\t\t\t\t\t\t 1x <i class=\ "fas fa-key\"></i>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t
- <div class=col-sm-11>\r\n\t\t\t\t\t\t<span style=\ "margin-right: 1rem;margin-left: -1rem\" class=\ "only-mobile mobile-text\">1x <i class=\ "fas fa-key\"></i></span>\r\n\t\t\t\t\t\t{memes.buyButtonMessagePlayer[Math.floor(memes.buyButtonMessagePlayer.length * Math.random()) - 1].replace(/\\$player/g, JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentRound[8]))}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t</a>\r\n\t\t\t\t\r\n\t\t\t\t
- <!-- This button appears when the player in the lead does not have a vanity name -->\r\n\t\t\t\t<a href=\ "javascript:void(0)\" if={!$this.playerIsLeader && !$this.gracePeriod && JUST.Cache.currentRound[8]==\ "0x0000000000000000000000000000000000000000000000000000000000000000\"} class=\ "buyOneTicket btn btn-lg btn-block btn-purp pulse marginb\">\r\n\t\t\t\t<div class=row>\r\n\t\t\t\t\t
- <div class=\ "col-sm-1.5 no-mobile\" style=\ "padding-left: 10px\">\r\n\t\t\t\t\t 1x <i class=\ "fas fa-key\"></i>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t
- <div class=col-sm-11>\r\n\t\t\t\t\t<span style=\ "margin-right: 1rem;margin-left: -1rem\" class=\ "only-mobile mobile-text\">1x <i class=\ "fas fa-key\"></i></span>\r\n\t\t\t\t\t{memes.buyButtonMessageAnon[Math.floor(memes.buyButtonMessageAnon.length * Math.random()) - 1].replace(/\\$player/g, JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentRound[8]))}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t</a>\r\n\t\t\t\t\r\n\t\t</div>\r\n\t\t
- <!--\r\n\t\t<div class=\"grid-container\">\r\n\t\t\t<div class=\"grid-bottom\"></div>\t\r\n\t\t</div>\r\n\t\t-->\r\n\t
- </div>\r\n\t\r\n\t\r\n\t
- <!-- So and So has EXIT SCAMMED -->\r\n\t
- <div class=\ "jumbotron rounded-0 text-center text-light teaser-cover marginb\" if={$this.roundHasPassed}>\r\n\t
- <div class=\ "container\">\r\n\t\r\n\t\r\n\t
- <!-- Grouped up into elements w/ conditionals per winner or not winning case -->\r\n\t\t
- <h1 class=\ "display-1 scammed\" if={$this.playerIsLeader}>YOU EXIT SCAMMED</h1>\r\n\t\t
- <h1 class=\ "display-1 scammed\" if={!$this.playerIsLeader}>EXIT SCAMMED</h1>\r\n\t\t\r\n\t\t\r\n\t\t
- <!-- Eth Amount -->\r\n\t\t
- <h2 class=\ "display-3\"><span class=\ "ethglitch titleglow\">{BN(JUST.Cache.currentRound[5]).div(1e18).toFixed(4)} <i class=\ "fab fa-ethereum ethglow\"></i></span> <span class=\ "headtimer\" if={!$this.playerIsLeader}>drained by <a href=\ "javascript:void(0)\">{(JUST.Cache.currentRound[8] && JUST.Cache.currentRound[8] != \"0x0000000000000000000000000000000000000000000000000000000000000000\" ? JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentRound[8]) : JUST.Cache.currentRound[7].substr(0, 10).concat(\"...\"))}</a>!</span></h2>\r\n\t\r\n\t\t
- <!-- Custom RNG winner text -->\r\n\t\t
- <h6 class=\ "display-5 scammed\" if={!$this.gracePeriod && $this.playerIsLeader}>You get about 50%, and share the rest</h6>\r\n\t\t
- <h6 class=\ "display-5 scammed\" if={$this.gracePeriod && $this.playerIsLeader}>You got about 50%, and shared the rest</h6>\r\n\t\t
- <h6 class=\ "display-5 scammed titlepopoutrightmini\" if={$this.playerIsLeader}><i>{memes.exitScamTheft[Math.floor(memes.exitScamTheft.length * Math.random()) - 1]}</i></h6>\r\n\t \r\n\t\t
- <div style=\ "position: relative;\">\r\n\t\t
- <h3 class=\ "display-5\" style=\ "margin-top:50px;\">There's <strong>{BN(JUST.Cache.currentRound[5]).div(10).div(1e18).toFixed(5)}</strong> ETH in the new pot. <span style=\ "font-style: italic;\"><a class=\ "titlepopoutrightmini\">You're</a> going to take it <span if={$this.playerIsLeader}>too...</span> right?</span></h3>\r\n\t\t \r\n\t\t \r\n\t\t
- <!-- This button appears when an exit scam has finished, and a new ICO phase needs to start -->\r\n\t\t<a href=\ "javascript:void(0)\" class=\ " buyOneTicket btn btn-lg btn-block btn-purp pulse marginb\">\r\n\t\t\t<div class=row>\r\n\t\t\t\t\t
- <div class=col-sm-1.5 style=\ "padding-left: 10px\">\r\n\t\t\t\t\t 1x <i class=\ "fas fa-key\"></i>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t
- <div class=col-sm-11>\r\n\t\t\t\t\tStart your exit scam\r\n\t\t\t\t\t</div>\r\n\t\t\t
- </div>\r\n\t\t</a>\r\n\t\t\r\n\t\t\r\n\t\t</div>\r\n\t
- </div>\r\n\t
- </div>\r\n\t
- </div>\r\n\t
- <!-- /fomo -->\r\n\t
- <div class=\ "container\" style=\ "margin-top:-1rem;\">\r\n\t\t
- <div class=\ "row cta-ticket\" style=\ "margin-top:-5rem;\">\r\n\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t
- <div class=\ "alert alert-purp pulse text-center text-light\" role=\ "alert\">Buy a key to start a new ICO</div>\r\n\t\t\t
- </div>\r\n\t\t
- </div>\r\n\t\t
- <div class=\ "row\" if={$this.gracePeriod}>\r\n\t\t\t
- <div class=\ "col-md-3 no-mobile\">\r\n\t\t\t\t\r\n\t\t\t</div>\r\n\t\t\t
- <!-- biddings & vault -->\r\n\t\t\t
- <div class=\ "col-sm\">\r\n\r\n\t\t\t\t
- <ul class=\ "nav nav-tabs tabs-border-adjust\" id=\ "buyTabs\" role=\ "tablist\">\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link active\" id=\ "purchaseTab\" data-toggle=\ "tab\" href=\ "#purchaseArea\" role=\ "tab\" aria-controls=\ "purchaseArea\" aria-selected=\ "true\">ICO</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "vaultTab\" data-toggle=\ "tab\" href=\ "#vaultArea\" role=\ "tab\" aria-controls=\ "vaultArea\" aria-selected=\ "false\">Vault</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "refTab\" data-toggle=\ "tab\" href=\ "#refArea\" role=\ "tab\" aria-controls=\ "refArea\" aria-selected=\ "false\">Vanity & Referrals</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- </ul>\r\n\t\t\t\t
- <div class=\ "tab-content\" id=\ "buyArea\">\r\n\t\t\t\t
- <!-- biddings -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade show active\" id=\ "purchaseArea\" role=\ "tabpanel\" aria-labelledby=\ "purchaseArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Initial Con Offering</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "juster maek fun text pls\" data-content=\ "{popover.ico}\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <!-- ICO Purchase -->\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col text-center\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "small\">You do want a share of the scheme, right?</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <div id=\ "purchase\" class=\ "tab-pane fade show active\" role=\ "tabpanel\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" id=\ "purchase\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "input-group mb-3\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "input-group-prepend\">\r\n\t\t\t\t\t\t\t\t\t<span class=\ "input-group-text\">\r\n\t\t\t\t\t\t\t\t\t <i class=\ "fab fa-ethereum\"></i>\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t\t <input type=\ "text\" id=\ "ethToSpend\" class=\ "form-control text-center\" value=\ "0.01 ETH\">\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" style=\ "position: relative;\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "ethSpend\" class=\ "btn btn-block btn-purp btn-lg ticketProcess\"><i class=\ "fab fa-ethereum\"></i> Send ETH</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "ethReinvest\" class=\ "btn btn-block btn-outline-purp btn-lg ticketProcess\"><i class=\ "fas fa-piggy-bank\"></i> Use Vault</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Choose a Team</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Pick where the Eth Goes!\" data-content=\ "{popover.teamselect}\"><i class=\ "far fa-question-circle\"></i></a></p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\t\t\t\r\n\t\t\t\t\t\t
- <div class=\ "row marginb distribution\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "2\" id=\ "teamsnek\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tsnek.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Snek</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Trickle down Divinomics</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t\t
- <p style=\ "color:#2ecc71\">++ Most dividends</p>\r\n\t\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "0\" id=\ "teamwhale\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/twhale.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Whale</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Feed on the greed of others.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">++ Most eth to pot</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "3\" id=\ "teambull\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tbull.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Bull</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Break upwards, never stagnate.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">+ Balanced distribution</p>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "1\" id=\ "teambear\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tbear.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Bear</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Stand alone, fight alone.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">++ Maximize eth to current round</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <div class=\ "chart\"></div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\r\n\t\t\t\t\t
- <!--<p class=\"small text-center\">Your purchase will extend the game by a total of <span class=\"extender\">NaN</span> Minutes.</p> -->\t\t\t\t\t\t\t\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /biddings -->\t\r\n\t\t\t\t
- <!-- vault -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "vaultArea\" role=\ "tabpanel\" aria-labelledby=\ "vaultArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Vault</p>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Vault 77: Where you keep the puppets\" data-content=\ "{popover.vault}\">\r\n\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t
- <!-- <div class=\"row\">\r\n\t\t\t\t\t\t\t<div class=\"col\">\r\n\t\t\t\t\t\t\t <p class=\"lead\">Winning Pot (Unused)</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"col\">\r\n\t\t\t\t\t\t\t <p class=\"h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[0]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t </div> -->\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Exit Scammed</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[0]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Bad Advice</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Total Gains</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right glow\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right\">≙ {BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).multipliedBy(JUST.Cache.fiatRatios.USD).toFixed(5)} USDT</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb\"><button href=\ "\" class=\ "btn btn-outline-purp btn-block\" id=\ "withdrawEarnings\"><i class=\ "fas fa-hand-holding-heart\"></i> Withdraw</button></p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /vault -->\r\n\r\n\t\t\t\t
- <!-- vanity -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "refArea\" role=\ "tabpanel\" aria-labelledby=\ "refArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Advisory Board</p>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Probably Bribery\" data-content=\ "{popover.referral}\">\r\n\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={!$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p>Register a unique name, and unlock the referral system permanently.</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={!$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t<button href=\ "\" class=\ "btn btn-purp btn-block buyceo\"><i class=\ "fas fa-check\"></i> Register a name to use on the Leaderboard/Referrals</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "font-weight-light\">Advise others to invest in this exit scam and we'll reward you 10% of everything they lose. In Ethereum.</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col text-center\">\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Wallet Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolink\">{$this.myLink}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolink\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Anyonmous Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolinkid\">{$this.myLinkid}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolinkid\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Vanity Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolinkvanity\">{$this.myLinkName}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolinkvanity\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t<button href=\ "\" class=\ "btn btn-outline-purp btn-block buyceo\"><i class=\ "fas fa-check\"></i> Register a new name</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t
- </div>\r\n\t\t
- </div>\r\n\t\t\t
- <!-- /vanity -->\r\n\t\t
- <div class=\ "col-md-3 no-mobile\">\r\n\t\t\t\t\r\n\t\t</div>\t\r\n\t\t
- </div>\r\n\t\t
- <div class=\ "row\" if={!$this.gracePeriod}>\r\n\t\t\t
- <!-- biddings & vault -->\r\n\t\t\t
- <div class=\ "col-sm\">\r\n\r\n\t\t\t\t
- <ul class=\ "nav nav-tabs tabs-border-adjust\" id=\ "buyTabs\" role=\ "tablist\">\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link active\" id=\ "purchaseTab\" data-toggle=\ "tab\" href=\ "#purchaseArea\" role=\ "tab\" aria-controls=\ "purchaseArea\" aria-selected=\ "true\">Purchase</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "vaultTab\" data-toggle=\ "tab\" href=\ "#vaultArea\" role=\ "tab\" aria-controls=\ "vaultArea\" aria-selected=\ "false\">Vault</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "refTab\" data-toggle=\ "tab\" href=\ "#refArea\" role=\ "tab\" aria-controls=\ "refArea\" aria-selected=\ "false\">Vanity & Referrals</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- </ul>\r\n\t\t\t\t
- <div class=\ "tab-content\" id=\ "buyArea\">\r\n\t\t\t\t
- <!-- biddings -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade show active\" id=\ "purchaseArea\" role=\ "tabpanel\" aria-labelledby=\ "purchaseArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Keyring</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\" if={$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Pre-ICO Phase</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Exit Scams and You!\" data-content=\ "{popover.purchase}\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <!-- Ticket Purchase -->\r\n\t\t\t\t\t\t
- <!-- NOTE: Ticket purchase should update the ETH value to how much is actually going to be paid by the player, as well as update the time limit extension (NaN Minutes) accordingly -->\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <div id=\ "purchase\" class=\ "tab-pane fade show active\" role=\ "tabpanel\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "font-weight-light small\" if={!$this.roundHasPassed} id=\ "airdrop_chance\">Purchases of .1 ETH or more have a {JUST.Cache.airdropTracker}% chance to win some of the {JUST.Cache.airdropPot} ETH airdrop pot, instantly!</p>\r\n\t\t\t\t\t\t\t
- <p class=\ "text-center\" if={$this.roundHasPassed}>Send ETH to start the next ICO</p>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" id=\ "purchase\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "input-group mb-3\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "input-group-prepend\">\r\n\t\t\t\t\t\t\t\t\t<span class=\ "input-group-text\">\r\n\t\t\t\t\t\t\t\t\t <i class=\ "fas fa-key\"></i>\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t\t <input type=\ "text\" id=\ "tixToBuy\" class=\ "form-control text-center\" value=\ "1 Key\">\r\n\t\t\t\t\t\t\t\t <div class=\ "input-group-append\">\r\n\t\t\t\t\t\t\t\t\t<span class=\ "input-group-text\" id=\ "tixQuotation\">\r\n\t\t\t\t\t\t\t\t\t @ {BN(JUST.Cache.currentRound[3]).div(1e18).toFixed(8)} ETH\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div id=\ "purchase\" class=\ "tab-pane fade show active\" role=\ "tabpanel\">\r\n\t\t\t\t\t\t\t\t\t\t
- <div class=\ "row\" id=\ "purchase\">\r\n\t\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t\t
- <div class=\ "input-group mb-3\">\r\n\t\t\t\t\t\t\t\t\t\t\t
- <div class=\ "input-group-prepend\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\ "input-group-text\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t <i class=\ "fab fa-ethereum\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t\t\t\t\t <input type=\ "text\" id=\ "ethToSpend\" class=\ "form-control text-center\" value=\ "0.01 ETH\">\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row marginb\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "btn-group d-flex\" role=\ "group\">\r\n\t\t\t\t\t\t\t\t <button id=\ "addOne\" class=\ "btn btn-outline-yel w-100 increment\">+ 1 Key</button>\r\n\t\t\t\t\t\t\t\t <button id=\ "addTwo\" class=\ "btn btn-outline-yel w-100 increment\">+ 2 Keys</button>\r\n\t\t\t\t\t\t\t\t <button id=\ "addFive\" class=\ "btn btn-outline-yel w-40 increment\">+ 5</button>\r\n\t\t\t\t\t\t\t\t <button id=\ "addTen\" class=\ "btn btn-outline-yel w-30 increment\">+ 10</button>\r\n\t\t\t\t\t\t\t\t <button id=\ "addHundred\" class=\ "btn btn-outline-yel w-30 increment\">+ 100</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" style=\ "position: relative;\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "tixBuy\" class=\ "btn btn-block btn-purp btn-lg ticketProcess\"><i class=\ "fab fa-ethereum\"></i> Send ETH</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "tixReinvest\" class=\ "btn btn-block btn-outline-purp btn-lg ticketProcess\"><i class=\ "fas fa-piggy-bank\"></i> Use Vault</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" style=\ "position: relative;\" if={$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "ethSpend\" class=\ "btn btn-block btn-purp btn-lg ticketProcess\"><i class=\ "fab fa-ethereum\"></i> Send ETH</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t<button type=\ "button\" id=\ "ethReinvest\" class=\ "btn btn-block btn-outline-purp btn-lg ticketProcess\"><i class=\ "fas fa-piggy-bank\"></i> Use Vault</button>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <p class=\ "small text-center\" if={!$this.gracePeriod}>Send eth, or use earnings from your vault!</p>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <!-- Team Selector -->\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Choose a Team</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Pick where the Eth Goes!\" data-content=\ "{popover.teamselect}\"><i class=\ "far fa-question-circle\"></i></a></p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\t\t\t\r\n\t\t\t\t\t\t
- <div class=\ "row marginb distribution\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "2\" id=\ "teamsnek\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tsnek.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Snek</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Trickle down Divinomics</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t\t
- <p style=\ "color:#2ecc71\">++ Most dividends</p>\r\n\t\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "0\" id=\ "teamwhale\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/twhale.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Whale</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Feed on the greed of others.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">++ Most eth to pot</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "3\" id=\ "teambull\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tbull.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Bull</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Break upwards, never stagnate.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">+ Balanced distribution</p>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-3 team\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\ "teamselector\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input class=\ "form-check-input form-radio teamsave\" type=\ "radio\" autocomplete=\ "off\" name=\ "teamselect\" value=\ "1\" id=\ "teambear\">\r\n\t\t\t\t\t\t\t\t\t\t\t<img src=\ "/img/tbear.png\" alt=\ "\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h5>Bear</h5>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <p>Stand alone, fight alone.</p>\r\n\t\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t\t\t<p style=\ "color:#2ecc71\">++ Maximize eth to current round</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <div class=\ "chart\"></div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <!-- /Team Selector -->\t\t\r\n\t\t\t\t\t
- <!--<p class=\"small text-center\">Your purchase will extend the game by a total of <span class=\"extender\">NaN</span> Minutes.</p> -->\t\t\t\t\t\t\t\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /biddings -->\t\r\n\t\t\t\t
- <!-- vault -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "vaultArea\" role=\ "tabpanel\" aria-labelledby=\ "vaultArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Vault</p>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Vault 77: Where you keep the puppets\" data-content=\ "{popover.vault}\">\r\n\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t
- <!-- <div class=\"row\">\r\n\t\t\t\t\t\t\t<div class=\"col\">\r\n\t\t\t\t\t\t\t <p class=\"lead\">Winning Pot (Unused)</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"col\">\r\n\t\t\t\t\t\t\t <p class=\"h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[0]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t </div> -->\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">On Lockdown</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <!--\r\n\t\t\t\t\t\t\t <p class=\"h6 text-right\" style=\"font-size: .9rem\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn) ? ((BN(JUST.Cache.currentPlayer.Round[2]).div(1e18).toFixed(1) : BN(0).toFixed(4)).div(BN(JUST.Cache.currentRound[2]).div(1e18).toFixed(0))).mul((BN(JUST.Cache.currentRound[5]).div(1e18).toFixed(4).div(100)).mul(30))}</p>\r\n\t\t\t\t\t\t\t -->\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right\" label=poteth>{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn) ? (((BN(JUST.Cache.currentRound[5]).div(100).multipliedBy(30)).div(BN(JUST.Cache.currentRound[2]))).multipliedBy(BN(JUST.Cache.currentPlayer.Round[2])).div(1e18).toFixed(4)) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Exit Scammed</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[0]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Bad Advice</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead\">Total Gains</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "h3 text-right glow\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Vaults) ? BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).toFixed(4) : BN(0).toFixed(4)} ETH</p>\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right\">≙ {BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).multipliedBy(JUST.Cache.fiatRatios.USD).toFixed(5)} USDT</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n \r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb\"><button href=\ "\" class=\ "btn btn-outline-purp btn-block\" id=\ "withdrawEarnings\"><i class=\ "fas fa-hand-holding-heart\"></i> Withdraw</button></p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /vault -->\r\n\r\n\t\t\t\t
- <!-- vanity -->\r\n\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "refArea\" role=\ "tabpanel\" aria-labelledby=\ "refArea\">\r\n\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Advisory Board</p>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Probably Bribery\" data-content=\ "{popover.referral}\">\r\n\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={!$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p>Register a unique name, and unlock the referral system permanently.</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={!$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t<button href=\ "\" class=\ "btn btn-purp btn-block buyceo\"><i class=\ "fas fa-check\"></i> Register a name to use on the Leaderboard/Referrals</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "font-weight-light\">Advise others to invest in this exit scam and we'll reward you 10% of everything they lose. In Ethereum.</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col text-center\">\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Wallet Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolink\">{$this.myLink}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolink\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Anyonmous Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolinkid\">{$this.myLinkid}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolinkid\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t\t
- <p>\r\n\t\t\t\t\t\t\t\t\t\t<span>Vanity Referral</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\ "small\" id=\ "ceolinkvanity\">{$this.myLinkName}</span><br>\r\n\t\t\t\t\t\t\t\t\t\t<button class=\ "btn btn-outline-purp\" id=\ "copyCeoLink\" data-clipboard-target=\ "#ceolinkvanity\"}>\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-paste\"></i> Copy</button>\r\n\t\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" if={$this.isCEO}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t<button href=\ "\" class=\ "btn btn-outline-purp btn-block buyceo\"><i class=\ "fas fa-check\"></i> Register a new name</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /vanity -->\r\n\t\t\t\t
- </div>\t\t\r\n\t\t\t
- </div>\r\n\r\n\t\t\t
- <!-- stat tabs -->\r\n\t\t\t
- <div class=\ "col-sm\">\r\n\t\t\t\t
- <!-- tabs -->\r\n\t\t\t\t
- <ul class=\ "nav nav-tabs tabs-border-adjust\" id=\ "statTabs\" role=\ "tablist\">\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link active\" id=\ "potTab\" data-toggle=\ "tab\" href=\ "#potArea\" role=\ "tab\" aria-controls=\ "potArea\" aria-selected=\ "true\">Round</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "teamTab\" data-toggle=\ "tab\" href=\ "#teamArea\" role=\ "tab\" aria-controls=\ "teamArea\" aria-selected=\ "false\">Teams</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "playerTab\" data-toggle=\ "tab\" href=\ "#playerArea\" role=\ "tab\" aria-controls=\ "playerArea\" aria-selected=\ "false\">Recent Players</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- <li class=\ "nav-item tab-item\">\r\n\t\t\t\t <a class=\ "nav-link tab-link\" id=\ "statsTab\" data-toggle=\ "tab\" href=\ "#statsArea\" role=\ "tab\" aria-controls=\ "statsArea\" aria-selected=\ "false\">Stats</a>\r\n\t\t\t\t </li>\r\n\t\t\t\t
- </ul>\r\n\r\n\t\t\t\t
- <!-- tabbable areas -->\r\n\t\t\t\t
- <div class=\ "tab-content\" id=\ "statArea\">\r\n\t\t\t\t\t
- <!-- current pot -->\r\n\t\t\t\t\t
- <div class=\ "tab-pane fade show active\" id=\ "potArea\" role=\ "tabpanel\" aria-labelledby=\ "potArea\">\r\n\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Round #{JUST.Cache.currentRound[1]}</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Important Box:\" data-content=\ "{popover.game}\">\r\n\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t
- <div class=\ "row nomarginb margin-top\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <!-- NOTE: Time limit counter -->\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-center\" if={this.playerIsLeader}>You are exit scamming in <br><span class=\ "glow boxtimer\"></span></p>\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-center\" if={!this.playerIsLeader}>Contract will drain in <br><span class=\ "glow boxtimer\"></span></p>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row nomarginb margin-top\" if={$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\" style=\ "position: relative;\">\r\n\t\t\t\t\t\t\t\t\t
- <!-- NOTE: Time limit counter -->\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h6 text-center\">That eth is just sitting there, what are <a class=\ "titlepopoutrightmini\">you</a> waiting for?</p>\r\n\t\t\t\t\t\t\t\t\t <a style=\ "margin-bottom:40px;\" href=\ "javascript:void(0)\" class=\ "buyOneTicket btn btn-lg btn-block btn-purp pulse\"> Buy one <i class=\ "fas fa-key\"></i> Put yourself back in the lead!</a>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row marginb\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "progress\">\r\n\t\t\t\t\t\t\t\t\t\t
- <div class=\ "progress-bar boxglow\" role=\ "progressbar\" style=\ "width: 0%;\" aria-valuenow=\ "0\" aria-valuemin=\ "0\" aria-valuemax=\ "100\"></div>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row nomarginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\" if={!$this.roundHasPassed}>Active Pot</p>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\" if={$this.roundHasPassed}>Unclaimed Funds</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <!-- NOTE: Display of current pot size as well as converted USDT value -->\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right glow ethglitch\" if={!$this.roundHasPassed}>{BN(JUST.Cache.currentRound[5]).div(1e18).toFormat(2)} <i class=\ "fab fa-ethereum ethglow\"></i></p>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right glow ethglitch\" if={$this.roundHasPassed}>{BN(JUST.Cache.currentRound[5]).div(1e19).toFormat(5)} <i class=\ "fab fa-ethereum ethglow\"></i></p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\" if={!$this.roundHasPassed}>≙ {BN(JUST.Cache.currentRound[5]).div(1e18).multipliedBy(JUST.Cache.fiatRatios.USD).toFormat(5)} USDT</div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\" if={$this.roundHasPassed}>≙ {BN(JUST.Cache.currentRound[5]).div(1e19).multipliedBy(JUST.Cache.fiatRatios.USD).toFormat(5)} USDT</div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row nomarginb\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\">Your Keys</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn) ? BN(JUST.Cache.currentPlayer.Round[2]).div(1e18).toFormat(1) : BN(0).toFormat(4)} <i class=\ "fas fa-key\"></i></p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t \t
- <div class=\ "row marginb\" if={!$this.roundHasPassed}>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\">Total {BN(JUST.Cache.currentRound[2]).div(1e18).toFormat(0)} Keys</div>\r\n\t\t\t\t\t\t\t \t
- </div>\r\n\t\t\t\t\t\t\t \t
- <div class=\ "row nomarginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\">Your Earnings</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right\">{(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn) ? BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).toFormat(4) : BN(0).toFormat(5)} <i class=\ "fab fa-ethereum\"></i></p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\">\r\n\t\t\t\t\t\t\t\t\t\t≙ {BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2]).div(1e18).multipliedBy(JUST.Cache.fiatRatios.USD).toFormat(5)} USDT\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t \t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- <!-- /current pot -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t
- <!-- teams -->\r\n\t\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "teamArea\" role=\ "tabpanel\" aria-labelledby=\ "teamArea\">\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t \t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Teams</p>\r\n\t\t\t\t \t\t\t\t
- </div>\r\n\t\t\t\t\t \t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Pick a team, get angry at those not on your team.\" data-content=\ "{popover.teams}\">\r\n\t\t\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t \t\t\t</div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-center teamscore\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "lead\">Whales</p>\r\n\t\t\t\t\t\t\t\t\t\t<img src=\ "../img/twhale.png\" width=\ "25%\"</img>\r\n\t\t\t\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "glow-yel\">{BN(JUST.Cache.currentRound[9]).div(1e18).toFormat(4)} ETH</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-center\tteamscore\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "lead\">Bears</p>\r\n\t\t\t\t\t\t\t\t\t\t<img src=\ "../img/tbear.png\" width=\ "25%\"</img>\r\n\t\t\t\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "glow-yel\">{BN(JUST.Cache.currentRound[10]).div(1e18).toFormat(4)} ETH</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-center\tteamscore\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "lead\">Bulls</p>\r\n\t\t\t\t\t\t\t\t\t\t<img src=\ "../img/tbull.png\" width=\ "25%\"</img>\r\n\t\t\t\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "glow-yel\">{BN(JUST.Cache.currentRound[12]).div(1e18).toFormat(4)} ETH </p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-center\tteamscore\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "lead\">Sneks</p>\r\n\t\t\t\t\t\t\t\t\t\t<img src=\ "../img/tsnek.png\" width=\ "25%\"</img>\r\n\t\t\t\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "glow-yel\">{BN(JUST.Cache.currentRound[11]).div(1e18).toFormat(4)} ETH </p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\t\r\n\t\t\t\t\t
- <!-- /teams -->\r\n\t\r\n\t\t\t\t\t
- <!-- recent players -->\r\n\t\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "playerArea\" role=\ "tabpanel\" aria-labelledby=\ "playerArea\">\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Recent Players</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Like a list of envy:\" data-content=\ "{popover.leaderboard}\">\r\n\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "row\" style=\ "position: relative;\">\r\n\t\t\t\t\t\t\t\t
- <div class=\ "faded\" style=\ "position: absolute; z-index: 9; text-align: center; width: 100%; height: 100%; background: #00000085; padding-top: 75px; font-size: 54px;\">\r\n\t\t\t\t\t\t\t\t\tComing soon\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t\t\t\t\t
- <!-- NOTE: Displays last 3 ticket buyers along with their chosen team and total amount of ETH spent -->\r\n\t\t\t\t\t\t\t\t\t\t
- <table class=\ "table\">\r\n\t\t\t\t\t\t\t\t\t\t\t
- <thead>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- <tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "col\" class=\ "borderchange\">Player</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "col\" class=\ "borderchange text-center\">Team</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "col\" class=\ "borderchange tright\">Amount</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- </tr>\r\n\t\t\t\t\t\t\t\t\t\t\t
- </thead>\r\n\t\t\t\t\t\t\t\t\t\t\t
- <tbody>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- <tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "row\" class=\ "playername truncate\">inverate inker</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "text-center\">Sneks</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "tright\">0.0248 ETH</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- </tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- <tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "row\" class=\ "playername truncate\">antic moldmaker</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "text-center\">Whales</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "tright\">0.2480 ETH</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- </tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- <tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <th scope=\ "row\" class=\ "playername truncate\">harjd laser</th>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "text-center\">Bulls</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
- <td class=\ "tright\">0.0248 ETH</td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
- </tr>\r\n\t\t\t\t\t\t\t\t\t\t\t
- </tbody>\r\n\t\t\t\t\t\t\t\t\t\t
- </table>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\t\t\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- <!-- /recent players -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t
- <!-- Stats page -->\r\n\t\t\t\t\t
- <!-- Stats page -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t
- <div class=\ "tab-pane fade\" id=\ "statsArea\" role=\ "tabpanel\" aria-labelledby=\ "statsArea\">\r\n\r\n\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust text-light bg-dark jumboshade tab-rounded\">\r\n\t\t\t\t\t\t\t
- <div class=\ "row\">\r\n\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "lead nomarginb\">Stats for Round #{JUST.Cache.currentRound[1]} (Current)</p>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t
- <p class=\ "text-right nomarginb tutorial\">\r\n\t\t\t\t\t\t\t\t\t<i class=\ "fas fa-arrow-right pulsetutorial tutorialArrow\"></i>\r\n\t\t\t\t\t\t\t\t<a tabindex=\ "0\" type=\ "button\" class=\ "qbtn\" role=\ "button\" data-toggle=\ "popover\" data-trigger=\ "focus\" data-html=\ "true\" data-placement=\ "bottom\" title=\ "Important Box:\" data-content=\ "{popover.stats}\">\r\n\t\t\t\t\t\t\t\t<i class=\ "far fa-question-circle\"></i>\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- <hr>\r\n\t\t\t\t\t\t\t
- <div class=\ "jumbotron jumbotron-adjust teamscore\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row nomarginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\">Total Invested:</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right glow ethglitch\">{((BN(JUST.Cache.currentRound[9])).plus(BN(JUST.Cache.currentRound[10])).plus(BN(JUST.Cache.currentRound[11])).plus(BN(JUST.Cache.currentRound[12]))).div(1e18).toFormat(3)} <i class=\ "fab fa-ethereum ethglow\"></i></p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\">≙ {(((BN(JUST.Cache.currentRound[9])).plus(BN(JUST.Cache.currentRound[10])).plus(BN(JUST.Cache.currentRound[11])).plus(BN(JUST.Cache.currentRound[12])))).div(1e18).multipliedBy(JUST.Cache.fiatRatios.USD).toFormat(2)} USDT</div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row nomarginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\">Distributed Rewards:</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right glow ethglitch\">{((BN(JUST.Cache.currentRound[9])).plus(BN(JUST.Cache.currentRound[10])).plus(BN(JUST.Cache.currentRound[11])).plus(BN(JUST.Cache.currentRound[12])).minus(BN(JUST.Cache.currentRound[5]))).div(1e18).toFormat(3)} <i class=\ "fab fa-ethereum ethglow\"></i></p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\">≙{((BN(JUST.Cache.currentRound[9])).plus(BN(JUST.Cache.currentRound[10])).plus(BN(JUST.Cache.currentRound[11])).plus(BN(JUST.Cache.currentRound[12])).minus(BN(JUST.Cache.currentRound[5]))).multipliedBy(JUST.Cache.fiatRatios.USD).div(1e18).toFormat(2)} USDT </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row nomarginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col-auto\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h4\">Time Purchased</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col\">\r\n\t\t\t\t\t\t\t\t\t\t
- <p class=\ "h2 text-right glow ethglitch\">{((BN(JUST.Cache.currentRound[2])).div(1e18).multipliedBy(30000)).div(31536000000).toFixed(2)} Years</p>\r\n\t\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t\t
- <div class=\ "row marginb\">\r\n\t\t\t\t\t\t\t\t\t
- <div class=\ "col text-right\"> {((BN(JUST.Cache.currentRound[2])).div(1e18).multipliedBy(30)).toFormat(0)} Seconds</div>\r\n\t\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\t
- </div>\r\n\t\t\t\t\t
- </div>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t
- </div>\r\n\t\t\t\t
- <!-- /tabbable area -->\r\n\t\t\t\t\r\n
- <section class=\ "copyright\">\r\n
- <p style=\ "font-size:1rem\" align=center>\r\n © 2018 <a><b>Team JUST</b></a>. All Rights Reserved.\r\n <br />\r\n\t\t\t\t\t\t
- <!--\r\n\t\t\t\t\t\tCopyright 2018 TEAM JUST\r\n\t\t\t\t\t\tThis product is protected under license. Any unauthorized copy, modification, or use without express written consent from the creators is prohibited.\r\n\t\t\t\t\t\t-->\r\n
- </p>\r\n
- </section>\r\n\t\t\t
- </div>\r\n\t\t\t
- <!-- /stat tabs -->\r\n\r\n\t\t
- </div>\r\n\t\t\r\n\t\t\r\n\r\n\t\t
- </div>\r\n\r\n\t
- <!-- modal popup -->\r\n\t
- <div class=\ "modal fade\" id=\ "gameover\" tabindex=\ "-1\" role=\ "dialog\" aria-labelledby=\ "gameoverTitle\" aria-hidden=\ "true\">\r\n\t\t
- <div class=\ "modal-dialog modal-dialog-centered\" role=\ "document\">\r\n\t\t\t
- <div class=\ "modal-content bg-dark text-light\">\r\n\t\t\t\t
- <div class=\ "modal-header\">\r\n\t\t\t\t\t
- <h5 class=\ "modal-title\" id=\ "gameoverTitle\">Modal Title</h5>\r\n\t\t\t\t\t<button type=\ "button\" class=\ "close\" data-dismiss=\ "modal\" aria-label=\ "Close\">\r\n\t\t\t\t\t\t<span aria-hidden=\ "true\">×</span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\t\t\t\t
- <div class=\ "modal-body\">\r\n\t\t\t\t\tModal Content\r\n\t\t\t\t</div>\r\n\t\t\t
- </div>\r\n\t\t
- </div>\r\n\t
- </div>\r\n\t
- <!-- /modal popup -->\r\n\t
- <!-- airdrop custom modal popup \r\n\tcleanup\r\n\t<div class=\"container\" id=\"airdrop\" style=\"z-index: 999;\">\r\n <div class=\"row\">\r\n <div class=\"col-6\" style=\"position: fixed; bottom:0; left:25%;\">\r\n <div class=\"jumbotron jumbotron-adjust jumboshade bg-dark text-light\">\r\n <div class=\"row\">\r\n <div class=\"col\">\r\n <div class=\"row\">\r\n <div class=\"col\">\r\n <p class=\"lead\">Airdrop: Your buying power has been multiplied!</p>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col\">\r\n <p class=\"font-weight-light string\">You've recieved at least a 2x multiplier on your last purchase! (PLACEHOLDER)</p>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-auto\">\r\n <i class=\"fas fa-parachute-box airdropicon ethglow-its-okay-justo\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\t/airdrop custom modal popup -->\r\n\t\r\n\t
- <!-- If something breaks delet this script justo made; -->\r\n\t
- <script>
- \
- r\ n\ t // Contain the popover within the body NOT the element it was called in.\r\n\t\t$('[data-toggle=\"popover\"]').popover({\r\n\t\t\tcontainer: 'body'\r\n\t\t});\r\n\r\n\t\t$this = this\r\n\t\t$this.refresher = _.debounce(async () => {\r\n\t\t\tJUST.Cache.currentRound = await JUST.Bridges.Browser.contracts.Fomo3D.read(\"getCurrentRoundInfo\")\r\n\t\t\tclearInterval(window.globalTimerObject)\r\n\t\t\t$this.update()\r\n\t\t}, 500)\r\n\r\n\t\tasync function assemble() {\r\n\t\t\t$this.roundHasPassed = Math.floor( JUST.date().getTime() / 1000) > JUST.Cache.currentRound[3]\r\n\t\t\t$this.playerIsLeader = JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && Math.floor(parseInt(JUST.Cache.currentRound[6]/10)) == parseInt(JUST.Cache.currentPlayer.PID)\r\n\t\t\t$this.playerHasWon = $this.roundHasPassed && $this.playerIsLeader\r\n\t\t\t$this.isCEO = JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn && JUST.Cache.currentPlayer && JUST.Cache.currentPlayer.Round && JUST.Cache.currentPlayer.Round[1] !== \"0x0000000000000000000000000000000000000000000000000000000000000000\"\r\n\t\t\t$this.myLink = $this.isCEO ? `${window.location.origin}/${JUST.Bridges.Metamask.web3.eth.defaultAccount}` : `#`\r\n\t\t\t$this.gracePeriod = false\r\n\t\t\t// $this.gracePeriod = true\r\n\t\t\t$this.myLinkid = $this.isCEO ? `${window.location.origin}/${JUST.Cache.currentPlayer.PID.toFixed()}` : `#`\r\n\t\t\t$this.myLinkName = $this.isCEO ? `${window.location.origin}/${JUST.Bridges.Browser.web3.utils.toAscii(JUST.Cache.currentPlayer.Round[1])}` : `#`\r\n\t\t\t$this.myLinkName = $this.myLinkName.replace(/ /g,'%20')\r\n\t\t}\r\n\r\n\t\tasync function rewire() {\r\n\r\n\t\t\tif($this.isCEO) jQuery(\".afflink span\").text($this.myLinkName)\r\n\r\n\t\t\t // open vanity from ceo box\r\n\t\t\tjQuery(\".buyceo\").click(async e => {\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tjQuery('#vanity').modal()\r\n\t\t\t})\r\n\r\n\t\t\t/* Check for graphics quality switch settings\r\n\t\t\tlet sd_mode = localStorage.getItem('fancy')\r\n\t\t\tif(sd_mode && sd_mode == \"true\"){\r\n\t\t\t\tjQuery(\"#fancyswitch\").prop(\"checked\", false);\r\n\t\t\t\tjQuery('#hdgraphics').toggle();\r\n\t\t\t} else{\r\n\t\t\t\tjQuery(\"#fancyswitch\").prop(\"checked\", true);\r\n\t\t\t}*/\r\n\r\n\t\t\t// Check for tutorial switch settings\r\n\t\t\tif(tutorial_mode != \"true\"){\r\n\t\t\t\tjQuery('.tutorial').css({\"display\": \"none\"});\r\n\t\t\t\tjQuery(\"#tutorialswitch\").prop(\"checked\", false);\r\n\t\t\t}\r\n\r\n\t\t\t // Teamselect localstorage thingy\r\n\t\t\tlet saved_team = localStorage.getItem(\"team\")\r\n\t\t \tif(saved_team){\r\n\t\t \t\tif(saved_team == \"0\"){\r\n\t\t\t\t\tjQuery(\"#teamsnek\").prop(\"checked\", true);\r\n\t\t\t\t}\r\n\t\t\t\tif(saved_team == \"1\"){\r\n\t\t\t\t\tjQuery(\"#teamwhale\").prop(\"checked\", true);\r\n\t\t\t\t}\r\n\t\t\t\tif(saved_team == \"2\"){\r\n\t\t\t\t\tjQuery(\"#teambull\").prop(\"checked\", true);\r\n\t\t\t\t}\r\n\t\t\t\tif(saved_team == \"3\"){\r\n\t\t\t\t\tjQuery(\"#teambear\").prop(\"checked\", true);\r\n\t\t\t\t}\r\n\t\t \t} else {\r\n\t\t \t\tjQuery(\"#teamsnek\").prop(\"checked\", true);\r\n\t\t \t}\r\n\t\t\t\r\n\t\t\tif(!$this.roundHasPassed) {\r\n\t\t\t\t/* WIP\r\n\t\t\t\t// add airdrop text to html\r\n\t\t\t\tlet priceQuotation = await JUST.Bridges.Browser.contracts.Fomo3D.read('iWantXKeys', count)\r\n\t\t\t\tlet purchase_amount = BN(priceQuotation).plus(100).div(1e18).toFixed(2)\r\n\t\t\t\tswitch(purchase_amount){\r\n\t\t\t\t\tcase >10:\r\n\t\t\t\t\t\t$('#airdrop_chance').text({JUST.Cache.airdropTracker} + \"% chance to receive a 4x Key Airdrop with your next purchase with at least 10 ETH!\");\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase >1:\r\n\t\t\t\t\t\t$('#airdrop_chance').text({JUST.Cache.airdropTracker} + \"% chance to receive a 3x Key Airdrop with your next purchase with at least 1 ETH!\");\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t$('#airdrop_chance').text({JUST.Cache.airdropTracker} + \"% chance to receive a 2x Key Airdrop with your next purchase with at least .1 ETH!\");\r\n\t\t\t\t}\r\n\t\t\t\t*/\r\n\t\t\t\tjQuery(\"#quotes\").addClass(\"active\")\r\n\t\t\t\tif(JUST.Bridges.Metamask && JUST.Bridges.Metamask.signedIn){\r\n\t\t\t\t\tjQuery(\".keycount\").text(BN(JUST.Cache.currentPlayer.Round[2]).div(1e18).toFixed(4))\r\n\t\t\t\t} else {\r\n\t\t\t\t\tjQuery(\".keycount\").text(\"0\")\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif($this.timer) $this.timer.Destroy()\r\n\t\t\t\t$this.timer = new Countdown(JUST.Cache.currentRound[3], async (data, expired) => {\r\n\t\t\t\t\tnow = (JUST.date().getTime() / 1000)\r\n\r\n\t\t\t\t\t// console.log({\r\n\t\t\t\t\t// \tcurrentTime: new Date(now * 1000), \r\n\t\t\t\t\t// \troundEnd: new Date(parseInt(JUST.Cache.currentRound[3]) * 1000),\r\n\t\t\t\t\t// \troundOver: now < parseInt(JUST.Cache.currentRound[3]),\r\n\t\t\t\t\t// \troundID: JUST.Cache.currentRound[1],\r\n\t\t\t\t\t// \tpot: JUST.Cache.currentRound[5]\r\n\r\n\t\t\t\t\t// })\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(Math.floor( JUST.date().getTime() / 1000) > (parseInt(JUST.Cache.currentRound[3]) - 90) && $this.gracePeriod) {\r\n\r\n\t\t\t\t\t\t$this.gracePeriod = false\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t// pepe\r\n\t\t\t\t\t\tfunction pepe(){\r\n\t\t\t\t\t\t$(\".animation\").animate({bottom: \"-30px\"}, \"slow\");\r\n\t\t\t\t\t\t $(\".animation\").animate({left: \"100%\"}, \"slow\", function () {\r\n\t\t\t\t\t\t $(this).removeAttr('style'); \r\n\t\t\t\t\t\t });\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tpepe()\r\n\r\n\t\t\t\t\t\t// clear timer from stack\r\n\t\t\t\t\t\tclearInterval(window.globalTimerObject)\r\n\r\n\t\t\t\t\t\t$this.refresher()\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif(!expired){\r\n\t\t\t\t\t\tif($this.gracePeriod){\r\n\t\t\t\t\t\t\tlet actualTime = parseDifference(new Date(parseInt(JUST.Cache.currentRound[3]) - 90), JUST.date())\r\n\t\t\t\t\t\t\tjQuery(\".headtimer\").text(`${(actualTime.hours == \"00\" ? \"\" : actualTime.hours + \":\") }${actualTime.minutes}:${actualTime.seconds}`)\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tjQuery(\".headtimer\").text(`${(data.hours == \"00\" ? \"\" : data.hours + \":\") }${data.minutes}:${data.seconds}`)\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tjQuery(\".boxtimer\").text(`${(data.hours == \"00\" ? \"\" : data.hours + \":\") }${data.minutes}:${data.seconds}`)\r\n\r\n\t\t\t\t\t\tvar timeTotal = parseInt(parseInt(JUST.Cache.currentRound[4]) - parseInt(JUST.Cache.currentRound[4])) + 3600\r\n\t\t\t\t\t\tvar timeRemaining = parseInt(JUST.Cache.currentRound[3]) - now \r\n\t\t\t\t\t\tvar timePercentage = 100 - timeRemaining / (timeTotal / 100)\r\n\r\n\t\t\t\t\t\t//console.log(timeTotal, timeRemaining, Math.floor(timePercentage))\r\n\r\n\t\t\t\t\t\tjQuery(\".progress-bar.boxglow\").css('width', `${Math.floor(timePercentage)}%`)\r\n\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tjQuery(\"#quotes\").removeClass(\"active\")\r\n\t\t\t\t\t\t// refresh dom\r\n\t\t\t\t\t\t$this.refresher()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\tif($this.gracePeriod && !this.graceTimer) {\r\n\r\n\t\t\t\tconsole.log(\"execute\", parseInt(JUST.Cache.currentRound[3]) + 300)\r\n\t\t\t\tnew Countdown(parseInt(JUST.Cache.currentRound[3]) + 300, async (data, expired) => {\r\n\t\t\t\t\t$this.graceTimer = true\r\n\t\t\t\t\tnow = (JUST.date().getTime() / 1000)\r\n\r\n\r\n\t\t\t\t\tif(now < (parseInt(JUST.Cache.currentRound[3]) + 300) ){\r\n\t\t\t\t\t\tjQuery(\".graceTimer\").text(`${(data.hours == \"00\" ? \"\" : data.hours + \":\") }${data.minutes}:${data.seconds}`)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t$this.gracePeriod = false\r\n\t\t\t\t\t\t// clear timer from stack\r\n\t\t\t\t\t\t$this.graceTimer = false\r\n\t\t\t\t\t\t// refresh dom\r\n\t\t\t\t\t\t$this.refresher()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t\tawait jQuery( \".buyOneTicket\" ).unbind()\r\n\t\t\tawait jQuery( \"#tixBuy\" ).unbind()\r\n\t\t\tawait jQuery( \"#tixReinvest\" ).unbind()\r\n\t\t\tawait jQuery( \"#withdrawEarnings\" ).unbind()\r\n\t\t\tawait jQuery( \"#ethSpend\" ).unbind()\r\n\t\t\tawait jQuery( \"#ethReinvest\" ).unbind()\r\n\r\n\t\t\tjQuery(\".buyOneTicket\").click(async e => {\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tvar masternode = window.localStorage.getItem(\"masternode\") ? window.localStorage.getItem(\"masternode\") : \"0x0\" \r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet priceQuotation = await JUST.Bridges.Browser.contracts.Fomo3D.read('iWantXKeys', [BN(1050000000000000000)])\r\n\t\t\t\t\tjQuery('#loading').modal({backdrop: 'static', keyboard: false})\r\n\t\t\t\t\tlet team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t\t\tif(!team) team = 0\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.purchaseKeys(priceQuotation, team)\r\n\t\t\t\t\t//let receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.write(\"buy\", [masternode, 1], {value: priceQuotation})\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t\talertify.log(`Your key purchasing request has been submitted to the blockchain!`)\r\n\t\t\t\t\tconsole.log(receipt)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tconsole.log(e)\r\n\t\t\t\t\talertify.log(`Buy order has been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t})\r\n\r\n\t\t\t/**\r\n\t\t\t * Whenever the input of tixToBuy changes..\r\n\t\t\t */\r\n\t\t\tjQuery(\"#tixToBuy\").bind('input', getQuote)\r\n\r\n\t\t\t/**\r\n\t\t\t * When the purchase button is clicked.\r\n\t\t\t */\r\n\t\t\tjQuery(\"#tixBuy\").click( async e => {\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tlet count = String(jQuery(\"#tixToBuy\").val()).replace(\"keys\", \"\").replace(\"key\", \"\").replace(\"Keys\", \"\").replace(\"Key\", \"\")\r\n\t\t\t\tif(!Number.isInteger(parseInt(count))) return\r\n\t\t\t\tvar masternode = window.localStorage.getItem(\"masternode\") ? window.localStorage.getItem(\"masternode\") : \"0x0\" \r\n\t\t\t\tcount = BN((parseInt(count)) * 1e18)\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet priceQuotation = await JUST.Bridges.Browser.contracts.Fomo3D.read('iWantXKeys', count)\r\n\t\t\t\t\tjQuery('#loading').modal({backdrop: 'static', keyboard: false})\r\n\t\t\t\t\tlet team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t\t\tif(!team) team = 0\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.purchaseKeys(BN(priceQuotation).plus(100).toString(), team)\r\n\t\t\t\t\talertify.log(`Your ticket purchasing request has been submitted to the blockchain!`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t\tconsole.log(receipt)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\talertify.log(`Buy order has been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t})\r\n\r\n\t\t\t/**\r\n\t\t\t * When the reinvest button is clicked.\r\n\t\t\t */\r\n\t\t\tjQuery(\"#tixReinvest\").click( async e => {\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tlet vaultEarnings = BN(JUST.Cache.currentPlayer.Vaults[0]).plus(JUST.Cache.currentPlayer.Vaults[1]).plus(JUST.Cache.currentPlayer.Vaults[2])\r\n\t\t\t\tlet count = String(jQuery(\"#tixToBuy\").val()).replace(\"keys\", \"\").replace(\"key\", \"\").replace(\"Keys\", \"\").replace(\"Key\", \"\")\r\n\t\t\t\tvar masternode = window.localStorage.getItem(\"masternode\") ? window.localStorage.getItem(\"masternode\") : \"0x0\" \r\n\t\t\t\tif(!Number.isInteger(parseInt(count))) return\r\n\t\t\t\tcount = BN((parseInt(count) ) * 1e18)\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet priceQuotation = await JUST.Bridges.Browser.contracts.Fomo3D.read('iWantXKeys', [BN(count)])\r\n\t\t\t\t\tif(vaultEarnings.isLessThan(BN(priceQuotation))) return alertify.alert(`You don't have ${BN(priceQuotation).div(1e18).toFixed(4)} ETH in your vault to pay for ${count.div(1e18).toFixed(4)} keys. You only have ${vaultEarnings.div(1e18).toFixed(4)} ETH in your vault.`)\r\n\t\t\t\t\tjQuery('#loading').modal({backdrop: 'static', keyboard: false})\r\n\t\t\t\t\tlet team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t\t\tif(!team) team = 0\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.purchaseKeys(BN(priceQuotation).plus(100).toString(), team, true)\r\n\t\t\t\t\talertify.log(`Your ticket purchasing request has been submitted to the blockchain!`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t\tconsole.log(receipt)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tconsole.error(e)\r\n\t\t\t\t\talertify.log(`Buy order has been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\t/**\r\n\t\t\t * When the ICO invest button is pressed\r\n\t\t\t */\r\n\t\t\tjQuery(\"#ethSpend\").click( async e => {\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tlet count = String(jQuery(\"#ethToSpend\").val()).replace(\"ethereum\", \"\").replace(\"Ethereum\", \"\").replace(\"eth\", \"\").replace(\"ETH\", \"\")\r\n\t\t\t\tif(!Number.isInteger(parseInt(count))) return\r\n\t\t\t\tcount = BN(count).multipliedBy(1e18)\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t\t\tif(!team) team = 1\r\n\t\t\t\t\tjQuery('#loading').modal({backdrop: 'static', keyboard: false})\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.purchaseKeys(count.toString(), team)\r\n\t\t\t\t\talertify.log(`Your ICO funding request has been submitted to the blockchain!`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t\tconsole.log(receipt)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\talertify.log(`Funding request been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\t/**\r\n\t\t\t * When the ICO invest button is pressed\r\n\t\t\t */\r\n\t\t\tjQuery(\"#ethReinvest\").click( async e => {\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tlet count = String(jQuery(\"#ethToSpend\").val()).replace(\"ethereum\", \"\").replace(\"Ethereum\", \"\").replace(\"eth\", \"\").replace(\"ETH\", \"\")\r\n\t\t\t\tif(!Number.isInteger(parseInt(count))) return\r\n\t\t\t\tcount = BN(count).multipliedBy(1e18)\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t\t\tif(!team) team = 1\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.purchaseKeys(count.toString(), team, true)\r\n\t\t\t\t\talertify.log(`Your ICO funding request has been submitted to the blockchain!`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t\tconsole.log(receipt)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\talertify.log(`Funding request been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\tjQuery(\"#withdrawEarnings\").click(async e => {\r\n\t\t\t\tlet correctNetwork = await JUST.checkNetwork()\r\n\t\t\t\tif(!correctNetwork) return alertify.alert(\"You are not in the correct network. Please navigate to <a style='color: #1e10f8;text-decoration: underline;' href='https://testnet.teamjust.io'>the testnet portal</a> and follow the instructions.\")\r\n\t\t\t\tif(!JUST.Bridges.Metamask || !JUST.Bridges.Metamask.signedIn) return alertify.alert(\"You are not signed into metamask.\")\r\n\t\t\t\tjQuery('#loading').modal({backdrop: 'static', keyboard: false})\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet receipt = await JUST.Bridges.Metamask.contracts.Fomo3D.write(\"withdraw\")\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t\talertify.log(`Your withdrawal request has been submitted to the blockchain!`)\r\n\t\t\t\t\tconsole.log(receipt)\r\n\r\n\t\t\t\t} catch(e) {\r\n\t\t\t\t\talertify.log(`Withdrawal has been cancelled.`)\r\n\t\t\t\t\tjQuery('#loading').modal('hide')\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t})\r\n\r\n\r\n\t\t\tgetQuote()\t\t\r\n\t\t}\r\n\r\n\t\tasync function getQuote(){\r\n\t\t\tlet count = String(jQuery(\"#tixToBuy\").val()).replace(\"key\", \"\").replace(\"keys\", \"\").replace(\"Key\", \"\").replace(\"Keys\", \"\")\r\n\t\t\tif(!Number.isInteger(parseInt(count))) return\r\n\t\t\tcount = BN(parseInt(count) * 1e18)\r\n\t\t\t\r\n\t\t\tlet priceQuotation = await JUST.Bridges.Browser.contracts.Fomo3D.read('iWantXKeys', count)\r\n\r\n\t\t\tjQuery(\"#tixQuotation\").text(`@ ${BN(priceQuotation).plus(100).div(1e18).toFixed(8)} ETH`)\r\n\r\n\t\t\tconsole.log(priceQuotation)\r\n\t\t}\r\n\r\n\r\n\t\t$this.on('update', assemble)\r\n\t\t$this.on('updated', rewire)\r\n\t\t$this.on('before-mount', assemble)\r\n\t\tthis.on('unmount', fn => {\r\n\t\t\tif(window.globalTimerObject && typeof window.globalTimerObject !== \"undefined\") clearInterval(window.globalTimerObject)\r\n\t\t})\r\n\t\t\r\n\r\n\t\tJUST.UI.on('ui.refresh', () => {\r\n\t\t\tconsole.log('refreshing ui')\r\n\t\t\t$this.refresher()\r\n\t\t} )\r\n\r\n\t\t\t\r\n\t\t$this.on('mount', function(){\r\n\t\t\t\r\n\t\t\t// wire listeners\r\n\t\t\trewire()\r\n\r\n\t\t\tnew ClipboardJS('.btn');\r\n\r\n\t\t // Teamselection to var\r\n\t\t jQuery('.ticketProcess').click(function(){\r\n\t\t\tvar team = $(\"input[name='teamselect']:checked\").val()\r\n\t\t\t//console.log(team)\r\n\t\t });\r\n\t\t\t\t\r\n\t\t // Increase ticket amount to buy with buttons\r\n\t\t jQuery('.increment').click(function(){\r\n\t\t\tlet id = this.id\r\n\t\t\t\r\n\t\t\tif(id == 'addOne'){ \r\n\t\t\t var increment = 1\r\n\t\t\t}\r\n\t\t\tif(id == 'addTwo'){ \r\n\t\t\t var increment = 2\r\n\t\t\t}\r\n\t\t\tif(id == 'addFive'){\r\n\t\t\t var increment = 5\r\n\t\t\t}\r\n\t\t\tif(id == 'addTen'){\r\n\t\t\t var increment = 10\r\n\t\t\t}\r\n\r\n\t\t\tif(id == 'addHundred'){\r\n\t\t\t var increment = 100\r\n\t\t\t}\r\n\t\t\tif(jQuery('#tixToBuy').val()){\r\n\t\t\t\t///replace(\"key\", \"\").replace(\"keys\", \"\").replace(\"Key\", \"\").replace(\"Keys\", \"\")\r\n\t\t\t\tvar iVal = parseInt(String(jQuery(\"#tixToBuy\").val()).replace(\"keys\", \"\").replace(\"key\", \"\").replace(\"Keys\", \"\").replace(\"Key\", \"\"))\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar iVal = 1\r\n\t\t\t}\r\n\r\n\t\t\tlet nVal = iVal + increment\r\n\r\n\t\t\tjQuery(\"#tixToBuy\").val(nVal.toString())\r\n\r\n\t\t\tgetQuote()\r\n\r\n\t\t });\r\n\r\n\t\t // Quote script\r\n\t\t //jQuery(\".qTarget\").text(memes.global.quoteRoulette[Math.floor(Math.random()*memes.global.quoteRoulette.length)]);\r\n\r\n\t\t // Enable popovers\r\n\t\t jQuery(\".qbtn\").click(function(){\r\n\t\t\tjQuery('[data-toggle=\"popover\"').popover()\r\n\t\t })\r\n\t\t \r\n\t\t \r\n\r\n\t\t \r\n\t\t\t\t\r\n\t\t\t// save team\r\n\t\t\tjQuery('.teamselector input').click(function(){\r\n\t\t\t\tlet thisteam = $(this).attr('id')\r\n\t\t\t\tif(thisteam == \"teamsnek\"){\r\n\t\t\t\t\tlocalStorage.setItem('team', '0');\r\n\t\t\t\t}\r\n\t\t\t\tif(thisteam == \"teamwhale\"){\r\n\t\t\t\t\tlocalStorage.setItem('team', '1');\r\n\t\t\t\t}\r\n\t\t\t\tif(thisteam == \"teambull\"){\r\n\t\t\t\t\tlocalStorage.setItem('team', '2');\r\n\t\t\t\t}\r\n\t\t\t\tif(thisteam == \"teambear\"){\r\n\t\t\t\t\tlocalStorage.setItem('team', '3');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\t// airdrop modal animation\r\n\t\t\t\r\n\t\t\tairdrop_animate = function(){\r\n\t\t\t\t$(\"#airdrop row col-6\").animate({bottom: \"-30px\"}, \"fast\", function(){\r\n\t\t\t\t\t$(this).removeAttr('style');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\t\r\n\t\t// bash\r\n\t\t$(\"#terminal\").click(function(){\r\n\t\t\t$(\".commandInput\").focus();\r\n\t\t})\r\n\t\t$(\"#commandLine li input\").val('');\r\n\t\t$(\"#commandLine\").on(\"keypress\", \".commandInput\", function(e){\r\n\t\t\tif(e.which == 13){\r\n\t\t\t\tvar command = $(\"input.active\").val().toLowerCase();\r\n\t\t\t\tif(/^[a-zA-Z0-9- ?.=/]*$/.test(command) == false){\r\n\t\t\t\t\tcommand = \"syntax_error\"\r\n\t\t\t\t}\r\n\t\t\t\t$(\"#commandLine li input\").each(function(){\r\n\t\t\t\t\t$(this).removeClass(\"active\");\r\n\t\t\t\t\t$(this).attr(\"disabled\", true);\r\n\t\t\t\t});\r\n\t\t\t\tswitch(command){\t\t\t\t\t\t\r\n\t\t\t\t\t// include more cases for custom commands here\r\n\t\t\t\t\tcase \"\":\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"help\":\r\n\t\t\t\t\tcase \"?\":\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">→ List of available commands</span>');\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">help, ?: display this message</span>');\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">clear, cls: clear lines</span>');\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">uname: show kernel information</span>');\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">exit: quit this application</span>');\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tcase \"syntax_error\":\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect error\">→ syntax error</span>');\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t\tcase \"uname\":\r\n\t\t\t\t\tcase \"uname -a\":\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">→ FomoOS jekyllisland 2.3.2-180708 #232-TeamJUST x86_256 GAHNOO/Fomo</span>');\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"uptime\":\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect good\">→ TIME up DIFFERENCE TO LAUNCH, USERS users, load average: 0,89, 0,92, 0,90</span>');\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"clear\":\r\n\t\t\t\t\tcase \"cls\":\r\n\t\t\t\t\t\t$(\".prompt\").each(function(){\r\n\t\t\t\t\t\t\t$(this).remove();\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tcase \"exit\":\r\n\t\t\t\t\tcase \"quit\":\r\n\t\t\t\t\t\t$(\"#commandLine li input\").val('');\r\n\t\t\t\t\t\t$(\".prompt\").each(function(){\r\n\t\t\t\t\t\t\t$(this).remove();\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t$(\"#terminal\").css({\r\n\t\t\t\t\t\t\tvisibility: \"hidden\",\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tdefault: // defaults to not found\r\n\t\t\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect error\">→ \"' + command + '\" command not found</span>');\r\n\t\t\t\t}\r\n\t\t\t\t$(\"#commandLine\").append('<li class=\"prompt\"><span class=\"ps1 noselect\">player@jekyllisland ~ $ <input type=\"text\" class=\"commandInput active\"></li>'); \r\n\t\t\t\t$(\".commandInput.active\").focus();\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t })\r\n\t
- </script>\r\n\r\n
- </state-play>\r\n\r\n
- <state-airdrop>\r\n\t
- <!-- airdrop custom modal popup -->\r\n
- <div class=\ "container\" id=\ "airdrop\" style=\ "z-index: 999; display:none;\">\r\n
- <div class=\ "row\">\r\n
- <div class=\ "col-6\" style=\ "position: fixed; bottom:0; left:25%;\">\r\n
- <div class=\ "jumbotron jumbotron-adjust jumboshade bg-dark text-light\">\r\n
- <div class=\ "row\">\r\n
- <div class=\ "col\">\r\n
- <div class=\ "row\">\r\n
- <div class=\ "col\">\r\n
- <p class=\ "lead\">Airdrop: You just hit the jackpot baby,</p>\r\n
- </div>\r\n
- </div>\r\n
- <div class=\ "row\">\r\n
- <div class=\ "col\">\r\n
- <p class=\ "font-weight-light string\">You've drained at least 25% of the airdrop POT. (PLACEHOLDER)</p>\r\n
- </div>\r\n
- </div>\r\n
- </div>\r\n
- <div class=\ "col-auto\">\r\n <i class=\ "fas fa-parachute-box airdropicon ethglow-its-okay-justo\"></i>\r\n </div>\r\n
- </div>\r\n
- </div>\r\n
- </div>\r\n
- </div>\r\n
- </div>\r\n
- <!-- /airdrop custom modal popup -->\r\n
- <script>
- \
- r\ n\ t$this = this\ r\ n\ t$this.on('mount', e => {\
- r\ n\ t\ tconsole.log('mounted')\ r\ n\ t
- })\ r\ n
- </script>\r\n
- </state-airdrop>\r\n\r\n\r\n\r\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement