ZainAchak / DeFi_PanCakeSwapBot

Defi PancakeSwap bot is programmed in Python to buy and sell tokens in seconds once the target is hit.
MIT License
262 stars 174 forks source link

list index out of range #4

Closed Bcarslen closed 3 years ago

Bcarslen commented 3 years ago

issue with bs4 getting price from arken finance

line 125, in runCode price = float(page_soup.find_all("b", {"class": "number"})[0].text[1:].replace(",", "")) IndexError: list index out of range

ZainAchak commented 3 years ago

Can you please share full error ? And also try to print the "page_soup" variable and paste it here. :)

markbell2410 commented 3 years ago

So I initially had a problem with lxml so I changed the parser to page_soup = bsp(driver.page_source, "html.parser")

I then ran into the issue that the OP has. I have three extra imports so my line numbers are slightly higher than @Bcarslen 's

Error:

  File "C:\Users\User\Desktop\DeFi_PanCakeSwapBot\DeFiTranscation.py", line 286, in <module>
    runCode()
  File "C:\Users\User\Desktop\DeFi_PanCakeSwapBot\DeFiTranscation.py", line 129, in runCode
    price = float(page_soup.find_all("b", {"class": "number"})[0].text[1:].replace(",", ""))
IndexError: list index out of range

The page_soup variable contains:

<html lang="en" style="--app-height:600px; --app-width:800px;"><head><style>
.anticon {
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -0.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.anticon > * {
  line-height: 1;
}

.anticon svg {
  display: inline-block;
}

.anticon::before {
  display: none;
}

.anticon .anticon-icon {
  display: block;
}

.anticon[tabindex] {
  cursor: pointer;
}

.anticon-spin::before,
.anticon-spin {
  display: inline-block;
  -webkit-animation: loadingCircle 1s infinite linear;
  animation: loadingCircle 1s infinite linear;
}

@-webkit-keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
</style><meta charset="utf-8"/><link href="https://fonts.gstatic.com" rel="preconnect"/><link as="style" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&amp;display=swap" onload='this.onload=null,this.rel="stylesheet"' rel="stylesheet"/><noscript><link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&amp;display=swap" rel="stylesheet"/></noscript><link href="/apple-icon-57x57.png" rel="apple-touch-icon" sizes="57x57"/><link href="/apple-icon-60x60.png" rel="apple-touch-icon" sizes="60x60"/><link href="/apple-icon-72x72.png" rel="apple-touch-icon" sizes="72x72"/><link href="/apple-icon-76x76.png" rel="apple-touch-icon" sizes="76x76"/><link href="/apple-icon-114x114.png" rel="apple-touch-icon" sizes="114x114"/><link href="/apple-icon-120x120.png" rel="apple-touch-icon" sizes="120x120"/><link href="/apple-icon-144x144.png" rel="apple-touch-icon" sizes="144x144"/><link href="/apple-icon-152x152.png" rel="apple-touch-icon" sizes="152x152"/><link href="/apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="/android-icon-192x192.png" rel="icon" sizes="192x192" type="image/png"/><link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="/manifest.json" rel="manifest"/><meta content="#ffffff" name="msapplication-TileColor"/><meta content="/ms-icon-144x144.png" name="msapplication-TileImage"/><meta content="#ffffff" name="theme-color"/><title>Arken Finance - DeFi/DEX aggregator with the best rates swap and the most realtime trading view in the world.</title><meta content="Arken Finance" name="application-name"/><meta content="Best rate swap and realtime tradingview, Arken offers DeFi/DEX aggregator with the best rates and realtime trading view to help you discover treasures from decentralized exchange on Ethereum, Binance Smart Chain and Polygon Chain." name="description"/><meta content="width=device-width,user-scalable=no,initial-scale=1,viewport-fit=cover" name="viewport"/><meta content="yes" name="mobile-web-app-capable"/><meta content="yes" name="apple-mobile-web-app-capable"/><meta content="#17263E" name="theme-color"/><meta content="j93LgcVZk79qcgyo" name="fortmatic-site-verification"/><meta content="width=device-width,initial-scale=1,viewport-fit=cover,maximum-scale=3,minimum-scale=1,user-scalable=no" name="viewport"/><meta content="Arken Finance" property="og:site_name"/><meta content="DEX Price Chart | Arken Finance" property="og:title"/><meta content="https://swap.arken.finance/images/og_banner_1500x500.jpeg" property="og:image"/><meta content="1500" property="og:image:width"/><meta content="500" property="og:image:height"/><meta content="Realtime tradingview and Best rate swap, Arken offers DeFi/DEX aggregator with the best rates and realtime trading view to help you discover treasures from decentralized exchange on Binance Smart Chain and Polygon Chain." property="og:description"/><meta content="DEX Price Chart | Arken Finance" property="twitter:title"/><meta content="Realtime tradingview and Best rate swap, Arken offers DeFi/DEX aggregator with the best rates and realtime trading view to help you discover treasures from decentralized exchange on Binance Smart Chain and Polygon Chain." property="twitter:description"/><meta content="@ArkenFinance" property="twitter:creator"/><meta content="https://arken.finance" property="twitter:site"/><meta content="summary_large_image" property="twitter:card"/><meta content="https://swap.arken.finance/images/arken-og.jpg" property="twitter:image"/><meta content="https://swap.arken.finance/images/arken-og.jpg" property="twitter:image:src"/><link href="https://cdn.onesignal.com/" rel="preconnect"/><script async="" src="https://certify-js.alexametrics.com/atrk.js" type="text/javascript"></script><script async="" src="https://s.adroll.com/j/J5PHW4Z74JABLEDJO3FGX7/roundtrip.js"></script><script async="" src="https://connect.facebook.net/signals/config/250077106454426?v=2.9.47&amp;r=stable"></script><script async="" src="https://connect.facebook.net/en_US/fbevents.js"></script><script async="" src="//static.ads-twitter.com/uwt.js"></script><script async="" crossorigin="anonymous" integrity="sha384-u0hlTAJ1tNefeBKwiBNwB4CkHZ1ck4ajx/pKmwWtc+IufKJiCQZ+WjJIi+7C6Ntm" src="https://cdn.amplitude.com/libs/amplitude-8.1.0-min.gz.js" type="text/javascript"></script><script async="" src="https://www.google-analytics.com/analytics.js" type="text/javascript"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-905M3BN4MG&amp;l=dataLayer&amp;cx=c" type="text/javascript"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-M48JNTT&amp;gtm_auth=TJzUpn9oym-iXROV0oi3kQ&amp;gtm_preview=env-1&amp;gtm_cookies_win=x"></script><script>!function(e,t,a,n,m){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var g=t.getElementsByTagName(a)[0],o=t.createElement(a);o.async=!0,o.src="https://www.googletagmanager.com/gtm.js?id=GTM-M48JNTT&gtm_auth=TJzUpn9oym-iXROV0oi3kQ&gtm_preview=env-1&gtm_cookies_win=x",g.parentNode.insertBefore(o,g)}(window,document,"script","dataLayer")</script><script async="" src="https://cdn.onesignal.com/sdks/OneSignalSDK.js"></script><script>window.prerenderReady=!1,window.OneSignal=window.OneSignal||[],OneSignal.push((function(){window.OneSignalInit=OneSignal.init({appId:"802d2004-02f3-403a-9f75-6ead4bfdf14b",allowLocalhostAsSecureOrigin:!1})}))</script><script type="application/ld+json">{
        "@context": "https://schema.org",
        "@type": "Organization",
        "name": "Arken Finance",
        "url": "https://arken.finance",
        "logo": "https://arken.finance/images/arken-logo.svg",
        "sameAs": [
          "https://www.facebook.com/arkenfinance",
          "https://twitter.com/ArkenFinance",
          "https://t.me/arkenfinance"
        ]
      }</script><link href="/static/css/5.bcb3ab06.chunk.css" rel="stylesheet"/><link href="/static/css/main.2d5f006b.chunk.css" rel="stylesheet"/><script async="" src="https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151508"></script><meta content="A41wt2Lsq30A9Ox/WehogvJckPI4aY9RoSxhb8FMtVnqaUle1AtI6Yf7Wk+7+Wm0AfDDOkMX+Wn6wnDpBWYgWwYAAAB8eyJvcmlnaW4iOiJodHRwczovL2Fkcm9sbC5jb206NDQzIiwiZmVhdHVyZSI6IkludGVyZXN0Q29ob3J0QVBJIiwiZXhwaXJ5IjoxNjI2MjIwNzk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==" http-equiv="origin-trial"/><script id="adroll_scr_exp" onerror="window.adroll_exp_list = [];" src="https://s.adroll.com/j/exp/J5PHW4Z74JABLEDJO3FGX7/index.js" type="text/javascript"></script><script async="" src="https://cdn.lr-ingest.io/logger-1.min.js"></script><script async="" src="https://static.hotjar.com/c/hotjar-2472416.js?sv=6"></script><style data-emotion="css-global" data-s=""></style><style data-emotion="css" data-s=""></style><style data-emotion="css"></style><link href="/favicon-32x32.png" rel="icon" sizes="32x32" style="" type="image/png"/><link href="/favicon-16x16.png" rel="icon" sizes="16x16" style="" type="image/png"/><script src="https://d.adroll.com/consent/check/J5PHW4Z74JABLEDJO3FGX7?arrfrr=https%3A%2F%2Fswap.arken.finance%2Ftokens%2Fbsc%2F0x5a3010d4d8d3b5fb49f8b6e57fb9e48063f16700&amp;_s=1249b2149ef83a3b42603f521475cc01&amp;_b=2" type="text/javascript"></script><script charset="utf-8" src="/static/js/1.92529747.chunk.js"></script><script charset="utf-8" src="/static/js/8.8e927bfe.chunk.js"></script><script charset="utf-8" src="/static/js/2.b504b803.chunk.js"></script><script charset="utf-8" src="/static/js/11.4374d713.chunk.js"></script><script charset="utf-8" src="/static/js/12.e5509c58.chunk.js"></script></head><body><noscript><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-M48JNTT&gt;m_auth=TJzUpn9oym-iXROV0oi3kQ&gt;m_preview=env-1&gt;m_cookies_win=x" style="display:none;visibility:hidden" width="0"></iframe></noscript><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div class="css-3oacdi e1ivwj4s1" style=""><div style="position: fixed; left: 0px; top: 0px; bottom: 0px; width: 100%; overflow: hidden; height: -webkit-fill-available;"><div class="css-1ib4agv e1dej11h0" direction="column" style="position: absolute; inset: 0px; overflow: hidden;"><div class="css-120h0u5 e75vy2f0" style="width: 100%; height: 100%; position: relative; flex: 1 1 0%;"><div class="custom-dark-card css-fi2jbe e17te42g1"><div class="ant-tabs ant-tabs-top"><div class="ant-tabs-nav" role="tablist"><div class="ant-tabs-nav-wrap"><div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);"><div class="ant-tabs-tab ant-tabs-tab-active"><div aria-controls="rc-tabs-0-panel-chart-view" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-0-tab-chart-view" role="tab" tabindex="0"><div class="css-nivc7w e1dej11h0">Chart View</div></div></div><div class="ant-tabs-tab"><div aria-controls="rc-tabs-0-panel-market-trade" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-0-tab-market-trade" role="tab" tabindex="0"><div class="css-nivc7w e1dej11h0">Market Trade</div></div></div><div class="ant-tabs-tab"><div aria-controls="rc-tabs-0-panel-liquidity-info" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-0-tab-liquidity-info" role="tab" tabindex="0"><div class="css-nivc7w e1dej11h0">Liquidity Info <div class="css-1cpj5ec eprh2i80">New</div></div></div></div><div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" style="left: 0px; width: 0px;"></div></div></div><div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"><button aria-controls="rc-tabs-0-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-0-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button"><span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img"><svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewbox="64 64 896 896" width="1em"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"></path></svg></span></button></div></div><div class="ant-tabs-content-holder"><div class="ant-tabs-content ant-tabs-content-top"><div aria-hidden="false" aria-labelledby="rc-tabs-0-tab-chart-view" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-0-panel-chart-view" role="tabpanel" style="font-size: 12px;" tabindex="0"><div class="css-1koz4f3 e17te42g9"><div class="css-1uq6vvf e1626whq0" id="tradingview"><iframe allowfullscreen="" allowtransparency="true" frameborder="0" height="500" id="tradingview_f16cc" name="tradingview_f16cc" scrolling="no" src="/charting_library/en-tv-chart.b555c6a4.html#symbol=bsc_0x5a3010d4d8d3b5fb49f8b6e57fb9e48063f16700&amp;interval=15&amp;timeframe=12H&amp;toolbarbg=161B1D&amp;widgetbar=%7B%22details%22%3Afalse%2C%22watchlist%22%3Afalse%2C%22watchlist_settings%22%3A%7B%22default_symbols%22%3A%5B%5D%7D%7D&amp;timeFrames=%5B%7B%22text%22%3A%221y%22%2C%22resolution%22%3A%221W%22%2C%22description%22%3A%223%20Months%22%7D%2C%7B%22text%22%3A%221m%22%2C%22resolution%22%3A%22720%22%2C%22description%22%3A%221%20Month%22%7D%2C%7B%22text%22%3A%221w%22%2C%22resolution%22%3A%22240%22%2C%22description%22%3A%227%20Days%22%7D%2C%7B%22text%22%3A%221d%22%2C%22resolution%22%3A%2230%22%2C%22description%22%3A%221%20Day%22%7D%5D&amp;locale=en&amp;uid=tradingview_f16cc&amp;clientId=0&amp;userId=0&amp;chartsStorageVer=1.0&amp;customCSS=css%2Fdark-theme-trading-view.css&amp;debug=false&amp;timezone=Europe%2FLondon&amp;theme=Dark" style="display:block;" width="800"></iframe></div></div></div><div aria-hidden="true" aria-labelledby="rc-tabs-0-tab-market-trade" class="ant-tabs-tabpane" id="rc-tabs-0-panel-market-trade" role="tabpanel" style="display: none;" tabindex="-1"></div><div aria-hidden="true" aria-labelledby="rc-tabs-0-tab-liquidity-info" class="ant-tabs-tabpane" id="rc-tabs-0-panel-liquidity-info" role="tabpanel" style="display: none;" tabindex="-1"></div></div></div></div></div></div></div></div></div></div><div id="portal-root"></div><script>!function(e){function r(r){for(var n,u,i=r[0],c=r[1],f=r[2],s=0,p=[];s<i.length;s++)u=i[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(l&&l(r);p.length;)p.shift()();return a.push.apply(a,f||[]),t()}function t(){for(var e,r=0;r<a.length;r++){for(var t=a[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(a.splice(r--,1),e=u(u.s=t[0]))}return e}var n={},o={4:0},a=[];function u(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"355cb183",1:"92529747",2:"b504b803",6:"e0139b42",7:"12631c52",8:"8e927bfe",9:"b7520070",10:"6aa706a1",11:"4374d713",12:"e5509c58",13:"57ab0546",14:"4d4a42a2"}[e]+".chunk.js"}(e);var c=new Error;a=function(r){i.onerror=i.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var f=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(r)},u.m=e,u.c=n,u.d=function(e,r,t){u.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,r){if(1&r&&(e=u(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)u.d(t,n,function(r){return e[r]}.bind(null,n));return t},u.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(r,"a",r),r},u.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},u.p="/",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpsafefi-swap-2"]=this["webpackJsonpsafefi-swap-2"]||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var l=c;t()}([])</script><script id="" type="text/javascript">(function(g,c){function k(a,f){a.prototype[f]=function(){this._q.push([f].concat(Array.prototype.slice.call(arguments,0)));return this}}function l(a){function f(m){a[m]=function(){a._q.push([m].concat(Array.prototype.slice.call(arguments,0)))}}for(var h=0;h<n.length;h++)f(n[h])}var d=g.amplitude||{_q:[],_iq:{}},b=c.createElement("script");b.type="text/javascript";b.integrity="sha384-u0hlTAJ1tNefeBKwiBNwB4CkHZ1ck4ajx/pKmwWtc+IufKJiCQZ+WjJIi+7C6Ntm";b.crossOrigin="anonymous";b.async=!0;b.src="https://cdn.amplitude.com/libs/amplitude-8.1.0-min.gz.js";
b.onload=function(){g.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};c=c.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c);b=function(){this._q=[];return this};c="add append clearAll prepend set setOnce unset preInsert postInsert remove".split(" ");for(var e=0;e<c.length;e++)k(b,c[e]);d.Identify=b;b=function(){this._q=[];return this};c=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];for(e=0;e<c.length;e++)k(b,c[e]);
d.Revenue=b;var n="init logEvent logRevenue setUserId setUserProperties setOptOut setVersionName setDomain setDeviceId enableTracking setGlobalUserProperties identify clearUserProperties setGroup logRevenueV2 regenerateDeviceId groupIdentify onInit logEventWithTimestamp logEventWithGroups setSessionId resetSessionId".split(" ");l(d);d.getInstance=function(a){a=(a&&0!==a.length?a:"$default_instance").toLowerCase();Object.prototype.hasOwnProperty.call(d._iq,a)||(d._iq[a]={_q:[]},l(d._iq[a]));return d._iq[a]};
g.amplitude=d})(window,document);amplitude.getInstance().init("2c8436fd56ab8e8bdb80fedf8ba34985",null,{saveEvents:!0,includeUtm:!0,includeReferrer:!0});</script><script id="" src="https://cdn.lr-ingest.io/LogRocket.min.js" type="text/javascript"></script><script id="" src="https://browser.sentry-cdn.com/6.4.1/bundle.tracing.min.js" type="text/javascript"></script>
<script id="" type="text/javascript">!function(d,e,f,a,b,c){d.twq||(a=d.twq=function(){a.exe?a.exe.apply(a,arguments):a.queue.push(arguments)},a.version="1.1",a.queue=[],b=e.createElement(f),b.async=!0,b.src="//static.ads-twitter.com/uwt.js",c=e.getElementsByTagName(f)[0],c.parentNode.insertBefore(b,c))}(window,document,"script");twq("init","o6adm");twq("track","PageView");</script>
<script id="" type="text/javascript">!function(b,e,f,g,a,c,d){b.fbq||(a=b.fbq=function(){a.callMethod?a.callMethod.apply(a,arguments):a.queue.push(arguments)},b._fbq||(b._fbq=a),a.push=a,a.loaded=!0,a.version="2.0",a.queue=[],c=e.createElement(f),c.async=!0,c.src=g,d=e.getElementsByTagName(f)[0],d.parentNode.insertBefore(c,d))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js");fbq("init","250077106454426");fbq("track","PageView");</script>
<noscript><img height="1" src="https://www.facebook.com/tr?id=250077106454426&amp;ev=PageView&amp;noscript=1" style="display:none" width="1"/></noscript>
<script id="" type="text/javascript">adroll_adv_id="J5PHW4Z74JABLEDJO3FGX7";adroll_pix_id="FTWANQLBKVFEVEW6Q35ET7";adroll_version="2.0";
(function(a,e,c,d,b){a.__adroll_loaded=!0;a.adroll=a.adroll||[];a.adroll.f=["setProperties","identify","track"];var f="https://s.adroll.com/j/"+adroll_adv_id+"/roundtrip.js";for(b=0;b<a.adroll.f.length;b++)a.adroll[a.adroll.f[b]]=a.adroll[a.adroll.f[b]]||function(g){return function(){a.adroll.push([g,arguments])}}(a.adroll.f[b]);c=e.createElement("script");d=e.getElementsByTagName("script")[0];c.async=1;c.src=f;d.parentNode.insertBefore(c,d)})(window,document);adroll.track("pageView");</script> <script src="/static/js/5.1b403558.chunk.js"></script>
<script id="" type="text/javascript">(function(a,c,e,f,d,b){a.hj=a.hj||function(){(a.hj.q=a.hj.q||[]).push(arguments)};a._hjSettings={hjid:2472416,hjsv:6};d=c.getElementsByTagName("head")[0];b=c.createElement("script");b.async=1;b.src=e+a._hjSettings.hjid+f+a._hjSettings.hjsv;d.appendChild(b)})(window,document,"https://static.hotjar.com/c/hotjar-",".js?sv\x3d");</script>
<script id="" type="text/javascript">function onSetUserId(a){["0x542a9bc53fc6ae54f74ea7cebabfda1f1aefc870","0xb0cc32190a06f4ba13027e7d6c516217b49e8eb0"].includes(a.toLowerCase())&&(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{debug_20_aug:"YES"}));"0x82923Ee7A071B50f43b234c414E3320dcdca3941 0xcd81917ff5313d02d7Da3d47a9Afcd3f635c36e3 0xAb8c1B2471308773F1Ee07deD9FB79E8DDc9290d 0x23A977F0973ee5d5bBfE40763B13243f9ffd0e74 0x4A6EFa3356ea1dc3474072b6E1233b7Fc3581BAb 0x1b0a79369d06EFC32b1F7C4F68556c0B5C8F8981 0x949Ddd9511Dac0A16E6cA87667231dA819F2Ef6D 0x2b420F4793661056c74f2CaA8C79aa4Cb71dC1bC 0x5faAFB5885c813cdea27f15c730080Aae15C371B 0x7019756d7b9F359D788B78fCEE4423B856d1804F 0x67CFc0E8BeB1857f662E79881F9971C5Ad6a7B04 0xd82994d8F9631dfB6f5816eE552861dF6ba8266c 0xf25696DeFD305ed9cb5Fa9bba406A3710f3D1C32 0x4db24E856f34485BD5ae33E3885cD2e78F6Ad252 0xFC9D38F6a53aA4Bf14C99fFeD17035acc766ccE4 0x5bC0AA095632c76DA0BE9838D960Da9A66FCa30e 0xaa11DB89fd89f44841Eb0a6a60787D5dcc525F79 0x0263c49283E72Bdf42C0e52F7140D4D90cfbBCf6 0x6e873918CfecC6156806753DEdEF212Dcb3f5B0D 0xDB4D32Ca46310b4079feF1D135C88C1d1def32D7 0x088b8f6C24f3549d44886a24bc9Cac7a9a3990a1 0x92795668a59DfbF0ceFAC596Cb72B83f61f5895C 0x9e987ec7aBe01401d10b9DD8f5C46C9a104cb010 0x796dA8Ba56EAe4757e39B0a92EAd7bD99AEc8535 0x8FCB8C46D8948BC54Ce65e2A23DE5E143E8A7a5a 0x04729D32665406F828c6381a825bE21AC3059ea0 0x15FC8Fded82344698948fAdBeBDCEcE482B33296 0x7388CCA8F76A409612F1a7e32e8ab886364e316d 0x5D127aA51D923314ed71455a1e6a0112d51A3983 0x6244D6b9921a768ed3D7A1e5AF4e2a6836303899 0x33326fB672959b266E085D9d464346DC609Cb570 0x26975C91A2e40F7CeA5Df99Ba97AD081a022D886 0x9BE962d4858C46d80D87da97330B0CDb41a9735b 0xd4f6B49f8e3500e90BA33840A194b69071053e47 0x6a6f93dFc394A2C1dF43Fa5c7693F3b8224A407d 0xE92b706A3c0C9feA4784d5f5C9aC507dB32EE41C 0x349800BA5a93cF51488cA9181c19992cD97D3b83 0x1ae9a70cE30a629fb7F5d17E5F95715Be03aFd3D 0x8faDe62c6Cd202975259bbA9Be1053021825E0d3 0x4f27C6349c791EcbE6b70c6fC77dD94B72e17395 0x168C177cdDE8ceCD5F2ebEA781DcD708298036FC 0x48650d3Ea59E97E07De251f2447DaF88a6AbC66e 0x25A46Bbaf69fF9268dF80B8D0189Fc43F5E8E6A9 0x18A456132d95c027A55113222233b6128777EdB8 0xb96B88235ae2ef667B4FE5287B8d23402A6D95cf 0x1e2CC37406F868b3d481170248e8aB2fb0181644 0x2B5b64dF5E31A31d2E48dE94b15c2093bC4CC09C 0xFdB796C1c16511E42C0573230604ABbAc6a88c82 0x6fEc079288329553F4d4512be33d05d5793e1f31 0x3d9a723D8b1E30aABcb2FD3e10615A70FCd3466d 0x5F8Cc86F3644c53286e383793d8cB375D593e7D9 0xd9CB613E30e8CcC9c819F9A1776B3B8D53a2C35B 0x1799913Ea2204197fC827094bF5D8D7108CD3d9b 0xB0509656456A9AE80A97936C7CF2576e9b96a885 0x5824896fe2a233c9493e88E07cA77d8c2Fc1Dc07 0x2Da7f476557Db217f53f993aA82E8E66108EF5f4 0x12A2c33fA9B0314B47f41E243eE94B7539C79ea2 0x9455EeeC4Cc81357260eBa061Cd16FeF8c7d321A 0xf5A125b835e7a628d70B34C49370ADD87Dc8C947 0x5745582acd6928a3eeC0351744A3d54965bF66E3 0xf79e743fFcBB02Ba1E6C07C924d351e6C7C8Cdbf 0x2FFE71ae30b0c6f06E661c1E0Ba7e2e33f412d81 0x14a34Dd5615Ec0322CF9E95C325e6228D0f3B368 0x7f54042B1324Ae7fFE8689A0BA8C159E0F45aAe1 0x15c53A443C47C7DBea0903892ca4d1ac8a299519 0xa4949e78CA8E1DF9D9A93Af18060bd824d895fA5 0x351a6b44ac100fad59182778492bE6A430b35987 0x8f2258f5F7D2e3B195bfFDcdDb9a1744F268F780 0x28A3ab3c80fa7456811648c42bB07A1FF3b9de86 0xE316E62EA7405780B33Da2F73E39b689d2463575 0x424A70a8796AA6600eC372FA154a8a4BE3c21949 0xb2dE69B257FaDE6b62F96cd33c2Dbdf29D2f093f 0x3772Cf9db434DaB96dc98035F6444C0671f1e205 0xA839199aC9Ae19b15265659e45C60B67bcA1B477 0x1178fb2bc89c02C275222629794DF4d26B614eD5 0xfE30DaA1bd0F0152868e1FC4620EE7334997CC35 0x1721B54edC456849Eef4dAaEF6f8646e2667aDf5 0x7bAd0ED828f1dB8A83d84D3D783f4C7263A1e822 0x63A7400D62dfeC3b98201564651d9BeBd5788A6F 0x611738B1B8531d1f807e3707DA42B449671Fc30A 0x23dF9DbE08BD77231e25D18C7590cFaa18D048dB 0x16253Adf7372503b92776f0ffaae1323e1514F47 0xdf3238e8CA04c0c5dc9520ccAdd69993802161C7 0xE442CA7F73015E5f78d126Aad3ec641362c5963a 0x6A8368782eCA875A8eD5511Bc63121814EC9Ae16 0xb571E78F21aEE1C25A84e343DF1de6A2825afcD6 0x84f985d36D6210D8284A7141149a0decfd839691 0x776246411869BE82688Fe2E961d76CD9aB0CacEE 0x6741B94bA25001B9177183335c23141110ACf4A6 0x9c66192481976897BcB487BF0222e6bf5B2Da329 0xee2275488910948DE02780EC140BCd762b8d217E 0x969238e4A99967A1050501DC1ef7e162cf127d13 0x1441Cf99C8a8a14b2a353405c45357f0CA4CD0E3 0x77Fd2C371388473015C87Ccd0abEc47811EDE600 0xCAA8fEaC3B66c3f08c09E7c18C6Db54371d44628 0xfb377B0c987c7033532aF7fdF765DEF9B1595099 0xd6E768BD2f29375C89223aE8903e23517976483a 0x8653fFc3ca6aC830CE7CA6E04Cf1089Cd137317F 0x3C516f085E94177Eaf0BdFB5b5eb1aB71052d064 0x11f2cfaC186F7dC14ff8264C49D239aEE3549e43".split(" ").includes(a)&&
(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{next_chain_survey:"YES"}),hj("trigger","next_chain_survey"));"0x82923Ee7A071B50f43b234c414E3320dcdca3941 0xAb8c1B2471308773F1Ee07deD9FB79E8DDc9290d 0x5bC0AA095632c76DA0BE9838D960Da9A66FCa30e 0x7388CCA8F76A409612F1a7e32e8ab886364e316d 0x26975C91A2e40F7CeA5Df99Ba97AD081a022D886 0xd4f6B49f8e3500e90BA33840A194b69071053e47 0x349800BA5a93cF51488cA9181c19992cD97D3b83 0x18A456132d95c027A55113222233b6128777EdB8 0x5F8Cc86F3644c53286e383793d8cB375D593e7D9 0x1e2CC37406F868b3d481170248e8aB2fb0181644 0x23A977F0973ee5d5bBfE40763B13243f9ffd0e74 0x25A46Bbaf69fF9268dF80B8D0189Fc43F5E8E6A9 0x4A6EFa3356ea1dc3474072b6E1233b7Fc3581BAb 0x8faDe62c6Cd202975259bbA9Be1053021825E0d3 0xb96B88235ae2ef667B4FE5287B8d23402A6D95cf 0x2b420F4793661056c74f2CaA8C79aa4Cb71dC1bC 0x4db24E856f34485BD5ae33E3885cD2e78F6Ad252 0x1b0a79369d06EFC32b1F7C4F68556c0B5C8F8981 0xaa11DB89fd89f44841Eb0a6a60787D5dcc525F79 0x15FC8Fded82344698948fAdBeBDCEcE482B33296 0x7019756d7b9F359D788B78fCEE4423B856d1804F 0x088b8f6C24f3549d44886a24bc9Cac7a9a3990a1 0xE92b706A3c0C9feA4784d5f5C9aC507dB32EE41C 0x6244D6b9921a768ed3D7A1e5AF4e2a6836303899 0x6fEc079288329553F4d4512be33d05d5793e1f31".split(" ").includes(a)&&
(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{segment:"local_evangelist"}),hj("trigger","local_evangelist"));"0x82923Ee7A071B50f43b234c414E3320dcdca3941 0xbDdDB09A359ee33C076C2bdd9B39Dd11FAE30091 0x4adE427ba9cBEcd50496d8a4b3E16276001E1D83 0x66B661f0830899F87AAc25983Df94f5DCF40f1b0 0xd9236515389871B8DED19884c96D6E0609D4c4e0 0x9130fC4334921f418fBbaF87d37A57E786eE75D2 0x355B227c4a6F6a114A9C1B84983d307d116be285 0x97F43b85c1e402a2264b1e46322288f9b4060Dd0 0x35fd496C38dd513EaD96b1B87882f8c242353D6a 0x91c63611d597FF1034B53E8E4f300497bB217E22 0x96578F3de207423c612Cd86591474F0BBDaf6e4e 0x2cF017a8514f0c012d5f957940B7773CF140eF17 0x190D42315c7dfF9922fd6D7b0df225306A0DA1B7 0x6B2190dB4eDDc207eD8E3e1e4D7BbD581359Dbc1 0xAE0d097B2A7911e1Ec29487C159ab1b927aC7E3d 0x446345E00EEB54B4489de4a55A20f38799823968 0xE8425d5FF0236C8588F76C0CEbd95E44a91fC79f 0x7f54b4de1FdAb903cAC12239c9AD15c2c1AE3fe8 0x3947837f0410d414640Bb89E96b8790569CEF49a 0x72cf7dDdf225292b25c1B7b483E3B47c0085BF28 0x9E08dF137F48B75e2556fB75c239Af31A08b33d7 0xB99640474e74c0322a256D2a2462D4e4BFaA7c67 0xceD53647421bD87073ACEAc74A664Ebe9857b524 0xC8e9ba6958991ECfbd073E163152923012045E50 0xDa375A59F16438272c924c3a6c24E0752cbf970c 0xE8425d5FF0236C8588F76C0CEbd95E44a91fC79f 0xba9598BB88861B598F20C66fe6427b4E7766E821 0x225c1F38ddEA07F4c8455432856DfF72dA8A78A9 0x4f33C00F7fB95b179A0C9e61c02E93cbF43c1919 0xA7D9037FA53d22bC819bf7520493c19F25FBf6f6 0xfD20dF8B35B2C8B35F7da68B7218bbB3268523A1 0xa4F009613503456074c1ec2707A34766fF66D3B7 0x1a840E6A2E13936e2b3d8B7A935AFB3f9B29bee3 0xdFE875F84E76843dD87FfFf8A08D65980700CFb5 0x8c9d080fca8b8ee7c9B62B1AAe91BEDdc4849fDf 0xdC95eEB2aE2d0AfD93490f330269F58a775d3c6A 0x6B2190dB4eDDc207eD8E3e1e4D7BbD581359Dbc1 0xE68467668DB28FB309D015cf90EC345095c0c74e 0xE1e5DF51F7D55dF7cB2e5903771c09d8DF8F2694 0x16dE2069132e25b94Bc0016Ced26FeCf46d2a9f3 0xcAfE255cE81FA0Ff6706D45f00BC90538Bd39840 0x27305A11f0028f9035572B76F79e3F15fdE01079 0xE32caCB7968f070dC7Ec3484f8344Fb3c3A076F4 0xD0b4f2707Ed2493d143Cd6fB5f4074Ff5BaA0b70 0xF1BCEaa571065DD8dfA5E6179a42Ee19C2f8D4db 0x5B5983390718bD007f6f978A4314886c77Cdcd4e 0xf69b20b4b0483bb5Fe21a5b56162877A8fcB800f 0x116eF09EF37fD46f906a7B9d1AEc214Ba29Ae438 0xEd0D668DB0C1152353b502Ac617E77b501DDB434 0xBDf3842cef8aF7cb1c48A8E2582FCd94097c5835 0xAfFc63Eb521b0Fba7EdFbfB56353fC6F9BDeA3D8 0xa8f607119aBa61853D5f9F14F7cd347f0Fc41533 0xaF5c5eb885Ee5124fe04BcC615FDCCC1667C0C79 0xA42A772e30E11f8E8F50c63241b99208f89deAbd 0xC8e9ba6958991ECfbd073E163152923012045E50 0xae996BCF5c88C9c41e94dA26bfd5e6678F261Fa2 0x67BB53850c4D6716835E1C4d525d62908Db337C5 0xa9Eb3CbD01bf95C0da6f8fDc2368E4A330FAE300 0xA6c5F8DA4007261ebb90e4c2Ca41BB44cB6BE513 0x38B80B2f863E66c5Fa2a117745C3dd54be16520d 0xB5112E36c90e6E224Cb904680E35C8a304a31766 0xCfafE5Fd7997F46edF85c6c8b193FD1E7cd9a7A9 0x9C7aA045914860A271218CDb681ae65690e97813 0x25f829e42B7eD7929c92fEf50BcFD62c4B1b41Ec 0xe32D9410eb5882bb51146A4cd99eC063A74a12E6 0xBe2ce40e3B472C08A6DC135dd788c6149519f419 0x10EC280db5F5B8d0e619a6f27504Ed94853ceFA9 0xC5Feb1E3ce8229c8645f72F8a5FE627647D407Bc 0x45c635392BAB9FD0241d0eb733265336A132E780 0xb1176e925E012EcE7a7A6A9276f40ae75fb41B85 0x4b30A28570Aa269bDd022e73cf1aDcd358BE23DD 0x29E21D0B48A74011696753d578c8db6Ad558F6FE 0x800f7Aa1a036716C2FD8ac2f8Ad2F5B74D73a014 0x683D907141B6256c7A7DF9Adb0D9E39F500FB36d 0x33Fb88A66B98D5091e82db169fD38ddb55F4c98B 0x8A803d083475B74ff93C5f0783A7A0E8F5AF698c 0xE68467668DB28FB309D015cf90EC345095c0c74e 0x8F6918c0C3a1191D969f7729c6CE1b121E37D980 0x5B5983390718bD007f6f978A4314886c77Cdcd4e 0x6C06D1d7d95a18b3eb3534881019f57C2ee37511 0x09f1c5a8c83B3917D436A5fC7Fcf781D88C208C7 0xD708164f4c5E3F2422B2C57d5c4e39ae4c286ab2 0xdb8ED29858AFE4b7b0f79E3Bd9E221432658e297 0xbE3d1F28e5bB24515aCB1d45FFc2e4AfC070e836 0xa33D12128F96E93Af5e6109c02Db3953969AB87f 0x40863743268FdaA9d171AF6EE71E638B57f13885 0x8395464E991D9287A19E48EE444aaEFcFAd4D78b 0xd29bc7544cCc82A0725db58FB3e3Ea44F04B2fef 0xA1b671D8e4F25414B2f8644EaaADeFCf7D7Ebf42 0x430f173FC9A6d85B1e345c7DF805C88446943D5b 0x136F476f676603E477D483E0d3cBe507760380C8 0x00A9d0f80Aa63018a784D870A145AF61384c12d2 0x187e00Db2f2fC06daFa389f841a0607703beC188 0x8C71A6D5C248Fb5A7F8Af90c30b37781cEbFf81e 0xE62e25A35A5051a24A8A526151Bdc9609f8Ca727 0x80484bc00EAdbAEe877607B22a6C52b847084f87 0x995A64813900BD552D735E3F0E628A72586A07d3 0x4Fbd49c841c2f891b8e04B887B9C5035BE7c7209 0x049A198dd6d7937a07520D6F0f6C3570d7b00d9a 0xfe248D805DF478d29CE945251EC12558E4968b26 0xCC8Ad2C287Ab39D842546d0482B2bA3AEb952115 0x13bd5d9dff3fa6Eb1D3928f34afd0d2d9543989B 0xB9419ae3c0C35a7B809544375B76019BCdF815f8 0x1237E80Ad710409673Dbaffbe9C874586e9f7147 0x80722369Ab4E4319a0FB84538566cb6c73092d96 0xD876D4928E7da8195c8f5Fff814148557037C125 0x82923Ee7A071B50f43b234c414E3320dcdca3941 0xCde8685d48baE8A0DE9469B8dd46A69e31bec5d8 0x18ffBbBcb79951B0Eae320d013D3e08914a9C6b7 0xE4450694Ed7D90668Bf16452F883f62F3771BAAA 0xCc33168dAe9a416CA918DB4eBCdc550B01976783 0x882E08d2Ed4c2493C1Ffa31d9cFd5dcd65E5d6Ce 0xBeC0109bC4118C35ED8D0645E47647FFF046bd22 0x92a5c54C080c31bCc54cB5B9447CCe4B0b771Cbb 0xb3a2E742DD42222093E4605DE1987E512472593E 0xe7456ce69d1e9b85A32f6afFbe45b16AB7Cc03eB 0x219f71Ed2F08FC5e86a61A10c0C7908f6a4D28D5 0x09f1c5a8c83B3917D436A5fC7Fcf781D88C208C7 0x1f3C3483DD28Cd90Da23a56Dd143d7f86F13F4A0 0xB0dfd673B0790BbBFa8F9E3aD6d9b21BbC04A5a6 0xCE856aca54aE76b7824353362136bC9200490cCe 0x951bc7504a2F63486dAD4Bc6a21b0009f483e70E 0xbDFb8AE44691e77A4c70CEfA95F99B989D888cA7 0xa7d413a7EF2d6D8b61049dAb5f2B05b8435024F4 0xb7d4Fdc75309f996096D39E30e5639C3dbCa64A4 0x97899C97300A50C940AB06d93b0B9B4E856B5524 0xE5C97f2eFf61634Ee671cb3DF0aC2A2Cfe0cCF41 0x9AEa7a91D3eAa3914ABB45a5Ef954D72ebf514D5 0x6ff63e09d48245a58219793b76BEdF1b9E4509E8 0x0279b8Fd96505df2307E0b8232C0B61e6F389C8C 0xB2dDdAd388b0985318B8C6437Df99AF52686037B 0x2335811424b99D3e6DE2b3911487D172E2EC4808 0xE3226FffEbfb1adD262f90C6278F5E742BB56ea2 0x813a3B82E63c0aE1959C5D8771D0E8fe90a245da 0x99f61C4F928B1724CddB243150eb4EE3A21e7065 0x219f71Ed2F08FC5e86a61A10c0C7908f6a4D28D5 0x3EF21CE9d2f3e8a4c3797f2b1d729C20068CDeEE 0x7E2d5f7a75C90654E819370f81f7173d713CC209 0xc3F64677E2cb33D4024fc3e7B4773092808C1139 0x8c5498E6e850B7D24125646e5F4F54B92985CE81 0x61b408373B2d9FE160DeB68b734eb3556CbA6715 0xc9266A4dDD445940144A5f99EC922BF87D6C35b1 0x2b84D85f02bC0C1A0ef2200891a63d5B41211B50 0x49A2e107F4c66F7468864b3f9bFbFCc6705AE63d 0x8176A51e693fD58c0Daa6bF2e6BBa94895Af3810 0xC4040C3F7C231b18e5E125eA142c31f1B1C4129b 0xf59B214E9E0413d54dB65E977B531CEDF8d98645 0x20942dDb8a60ad4fD1b78756954040aF117d9277 0x8E3B03dcBD9B5bF3CE925af7Cd0b8BF61aE996aF 0xD04Adaf54030B5353D4D02e2FAFd615CFc0E99eD 0x951bc7504a2F63486dAD4Bc6a21b0009f483e70E 0xC1269906cBCc1708dDaC73D8926502297eB814c6 0x895353e9e115f82D466Bf88bb1d59941621c9b66 0xA002F07e59A30e71dac9D9A8463F183E963f5cd8 0x82a4e1ADF1909Be33D07e08CF1a30A19F3C3EBCd 0x9f7Fe85064029b7F90E9eB63483064213EB49ACE 0xeBbF1Cde278AbAB25def8Fb25F693febBB96CD86 0x1ca505C318d59db236b6ccD6e23C2EA3f27d3CBF 0x3063cDC828229537D997B6c46B4F7DCf8503017e 0x39f1908F6A2EBc387614e5C31d724af82e91f33a 0xbDFb8AE44691e77A4c70CEfA95F99B989D888cA7 0xa03edABBe6a3f9EF99cf3Cf0387dbd66de30DD28 0x011F10B5741969dBAfaF29eE1a153cB98aD0E596 0xEc4358FC37956f200AfDc7dCc031dEe26B5f93F8 0x6121731247226e142cdC0d547ac947B66eAFB2e9 0x270095696F5c7f6c62eb670254fBf7B6d02924A3 0x0814918f05D9af83bAE23a462D1F4577bd754a07 0x2cAC6d68475b9B19B5d76eb40369A2b5224f9453 0x153d13abe3AE24f2f5D07EE1A930fA24C21E6624 0xe8b9056328081FE0129dc1845d37Cee580afFeA8 0xae996BCF5c88C9c41e94dA26bfd5e6678F261Fa2 0x7f609B043428908AD9282052D4A09D0f94C22891 0x1587F4F782B828EA055fe7025aCbE50Cc7CAde98 0xD04Adaf54030B5353D4D02e2FAFd615CFc0E99eD 0x26975C91A2e40F7CeA5Df99Ba97AD081a022D886 0x94c0fBd2A2a0Fd455595Daa05424b5d4249ddB7c 0x4C83d8673F6Ffa262d46024790A10a38849549f4 0x183C74274111c844a9793cdFB2d5bca0e776eDe1 0x5624BC8f55959Dc00e650F5292AeF20Fa6d842c8 0xe771975fC78F6731c5b6bA199a97616552138E7d 0x45f03bc1cb2c70F4F057E710b7032a194FFC0108 0x6ff63e09d48245a58219793b76BEdF1b9E4509E8 0xA7D9037FA53d22bC819bf7520493c19F25FBf6f6 0x3063cDC828229537D997B6c46B4F7DCf8503017e 0xB69E5Ae337F23971589fA639fbe008Ea9aA4370d 0xE861582120DA2b4C895D3c2e67Fba0c298a1e11A 0x4a2658F71988227064D6C2621093b05a96cf6A0E 0x196EB2f3692553C1028ddBA84f9B8aab9a401f59 0x9B41BE4d268C20aE7F555c2719dC470Da6FB6604 0xc0F5d87d5a48fc7212709301530CD6A97909899c 0xfB89b68C7e2241260f9293C91522E846917E365F 0x1Aa8fe1569157e7Ef3F70e4B673ff7312799D9Dd 0xF000BdcCe0A72c661DDcCe7691F7DE4c92b1F1D6 0x5f49C795F8e06eF219deB930a56088dDf45ceC87 0x4cc96235C198D785Bee6281642e39532026bBC3b 0xF46552655f66315E6C33180de331Df26A82EBAdE 0x18925665f141a6370D7b065a74e7729945FaE0D2 0x78E1ff9852Fc039EaFF697837D4601C0C34D94fc 0x25e5a06CC590Aa7DA5f02E914aEC7299202de575 0xbc85fbCBE09b92C5801454f143ca82b55D7D25e4 0x8dC14dDD805120b17129636858e9051a51651F08 0x77F7FC3fA9d49227f9C055DE6b6525425d3F1E05".split(" ").includes(a)&&
(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{segment:"swapbox_feedback_survey"}),hj("trigger","swapbox_feedback_survey"));["0x82923Ee7A071B50f43b234c414E3320dcdca3941","0x67CFc0E8BeB1857f662E79881F9971C5Ad6a7B04","0x27B66A40320b03A8aECbA40f501EF4453e640FaF","0x796dA8Ba56EAe4757e39B0a92EAd7bD99AEc8535","0xC614A4C2fe9F999F85D1C316D6AF556457db7Dc4"].includes(a)&&(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{segment_feedback_interview:"YES"}),hj("trigger","contact_request_interview"));
"0x82923Ee7A071B50f43b234c414E3320dcdca3941 0x00aC83019f6cCe0527403EE7f3cE7C54E360C8D9 0x67CFc0E8BeB1857f662E79881F9971C5Ad6a7B04 0x92795668a59DfbF0ceFAC596Cb72B83f61f5895C 0xEF43f435c6E4Ef074a044fdEd6705B338dDFB288 0x717dE98955829bb53BEEE91237743F1F185147F3 0xE378b80090ce63A4277DC114c143900ECd7C117B 0x27B66A40320b03A8aECbA40f501EF4453e640FaF 0x796dA8Ba56EAe4757e39B0a92EAd7bD99AEc8535 0xaA9688936Aaca69588F898037d3696257b888795 0x83358C189B503Df74E1e4cDBF729579f9b48890D 0x7bAd0ED828f1dB8A83d84D3D783f4C7263A1e822 0x1598340a54FB8a514520028401e39fB383c380b6 0xC614A4C2fe9F999F85D1C316D6AF556457db7Dc4 0x1BB2662be46a2e5f1c2009A18D42c75d598ee6a8 0xc9b722A2DC3F4C17c0B01416288E86082dFe90d3 0x8D29c3b0e06984f1873F1a8f9EF98A7bE1AaA509 0x11Add7af96d6f94bAD07E338E9a4CA5dC0f94D4F 0x0d4B0f1133dEcA0AD3cc7b0440F3B416E7CAde0B 0xaBF8dfb5c1626f74Cbf57E443aC9eA18B7F759D8 0xF8b2C69142ceC629C65B3eF5f3d2899bE642cF87 0x6a6f93dFc394A2C1dF43Fa5c7693F3b8224A407d 0x8A7E1ff53B2E59276fab6E936D69476CC27B0966 0x777777787Ac54f9dc243013AF727F0d5810eDB20 0xaeE32Aa72DF4897ea9a40Af1f2EB88304CCecA40 0xB2D6231294E427352F1c73C20d00aa013256B998 0x41C54Ec24fA2786c44DB9b7A7ca5e78f10F6eCa9 0x69DFCEE06A21D3687d6AF0C0D8ab36FFF7C30F70 0xaE0a27957f633eA3B35b953e27e22fa76427f61D".split(" ").includes(a)&&
(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a,{segment:"Feedback_interview"}),hj("trigger","Feedback_interview"));"0x238Bcb446d0f30aE586C17899aa83C3BB3bBF943 0x611738B1B8531d1f807e3707DA42B449671Fc30A 0xaC110BD262f819CDe50604D67e6D9CC1F473c3ea 0x8A63F40C5a2411FDC5D79d82eDB9b3143aA1e14e 0x8696aF03ED690a45Cdff7267013484B2C76A38Da 0x351a6b44ac100fad59182778492bE6A430b35987 0x10a58758dE6259b85611a8470E7a8255e7768870 0xBD76E14e2650fbc3a8eC87eD469A10CF3d6A33EB 0x67CFc0E8BeB1857f662E79881F9971C5Ad6a7B04 0xfB2523b72F0B7778e5A51f6FAB89634A3d2EB6C8 0x8C02b606dfe10f2d8566a1876db9f92C7C25e234 0x09609fCE44Bd1811de387C0E8F16e161AAadCFEe 0x6BCd0288A4856C812cA42C3cDB216E5529B29722 0x9FdDA8B68aAA94bF856121A6B5036945C2A785f2 0xd5EE8c485c961eb58B982E25Ca571188F10fb87e 0xaFa28b2929ccFa12Fab9d329B79CE4aCb4F404A5 0x512e101CA2387FecdF117C7a0F99d0126eE0808a 0x5bfFb55Def303c28dDd6f21E59DA23B881B0DaE1 0x4ac157343dd790201540720597bf4f49F5f778fb".split(" ").includes(a)&&
(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a));if("0x989ac26098C78d0b7b69C73565b89eECA72F64CC 0x7Bb8DD5f8F8A066872F2a9C47Ab17221EA0914a6 0x351a6b44ac100fad59182778492bE6A430b35987 0xDBC7cF739110eB265BF3a61f0E28a88F77314533 0x7b6E4C6DB83eDbaDE4e67Cd31b976146BB8F0E7B 0x944f6C96f45F939D1aE129a9d6669cd9109CC7D5 0x66415206D6336ABF88ceF72Ed0FdaAF08b16F815 0xcB1A461bA242B2dA4d0246B6b66A57d49c7C9D68 0x21123105aa234401ca66CEDB85cDDBC430eAaE5c 0x72761E272902956Ec17F3Ab445e526336F88DD2E 0xb2C7f3a83E7d07aAA2289C82CA7e0EA31941333C 0x5642c605EE4240392a007407f4B04cB3B0f89DEB 0xFb28B2A4c940bb16FdD7c7F0f844dE529AF309aa 0x16253Adf7372503b92776f0ffaae1323e1514F47".split(" ").includes(a)){hj("trigger",
"swap");hj("trigger","trading_survey");var c="frequency_select_token"}else["0xB892119e611188adF871e5bE96b9717cb8Bc2034","0x8461a77d4587bDA7bB76226A9893754C702803bc"].includes(a)&&(hj("trigger","apologize"),hj("trigger","swap"),c="apologize");hj("identify",a,{segment:c});window.LogRocket._isInitialized||location.host.includes("localhost")||(window.LogRocket.init("uenndu/moby"),window.LogRocket.identify(a));window.LogRocket._isInitialized&&LogRocket.getSessionURL(function(b){amplitude.getInstance().setUserProperties({logRocketURL:b})})}
function onTradingViewLoaded(a){if(window.LogRocket._isInitialized){var c=a._iFrame.contentWindow;a=a._iFrame.contentDocument;if(!a.getElementById("logrocket")){var b=a.createElement("script");b.id="logrocket";b.src="https://cdn.lr-ingest.io/LogRocket.min.js";b.crossorigin="anonymous";b.onload=function(){c.LogRocket.init("uenndu/moby",{mergeIframes:!0})};a.body.appendChild(b)}}}(window.walletAddress||localStorage.getItem("username"))&&onSetUserId(window.walletAddress||localStorage.getItem("username"));</script>
<script id="" type="text/javascript">_atrk_opts={atrk_acct:"Oi9nx1k6p920J2",domain:"arken.finance",dynamic:!0};(function(){var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src="https://certify-js.alexametrics.com/atrk.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();</script>
<noscript><img alt="" height="1" src="https://certify.alexametrics.com/atrk.gif?account=Oi9nx1k6p920J2" style="display:none" width="1"/></noscript>
<script id="" type="text/javascript">location.host.includes("localhost")||Sentry.init({dsn:"https://cff5c0e7d24645499d43dff4e6a58041@o32236.ingest.sentry.io/5790954",integrations:[new Sentry.Integrations.BrowserTracing],tracesSampleRate:1});</script><script src="/static/js/main.68bfe0ff.chunk.js"></script><script id="" type="text/javascript">var params="{\x22theme\x22:\x22dark\x22}";amplitude.getInstance().setUserProperties(JSON.parse(params));</script><script src="https://analytics.twitter.com/i/adsct?type=javascript&amp;version=2.0.4&amp;p_id=Twitter&amp;p_user_id=0&amp;txn_id=o6adm&amp;events=%5B%5B%22pageview%22%2Cnull%5D%5D&amp;tw_sale_amount=0&amp;tw_order_quantity=0&amp;tw_iframe_status=0&amp;event_id=b3000936-2532-4655-8b77-b73c130744ca&amp;tw_document_href=https%3A%2F%2Fswap.arken.finance%2Ftokens%2Fbsc%2F0x5a3010d4d8d3b5fb49f8b6e57fb9e48063f16700&amp;tpx_cb=twttr.conversion.loadPixels" type="text/javascript"></script><script id="" type="text/javascript">try{var params="{\x22fullUrl\x22:\x22https:\/\/swap.arken.finance\/tokens\/bsc\/0x5a3010d4d8d3b5fb49f8b6e57fb9e48063f16700\x22,\x22pathname\x22:\x22\/tokens\/bsc\/0x5a3010d4d8d3b5fb49f8b6e57fb9e48063f16700\x22,\x22search\x22:\x22\x22,\x22chainName\x22:\x22Binance Smart Chain\x22,\x22chainId\x22:56,\x22theme\x22:\x22dark\x22}";amplitude.getInstance().logEvent("View Page",params?JSON.parse(params):{})}catch(a){amplitude.getInstance().logEvent("View Page")};</script></body></html>

python --version 3.9.1 Windows 10

ZainAchak commented 3 years ago

You have to change webdriver from chrome to mozilla in the code. It seems like chrome doesn't works for you as arken detect it as a bot. Use Firebox instead

markbell2410 commented 3 years ago

Thanks, @ZainAchak .

Python isn't my first language and I'm having difficulty changing it to Firefox. Is it merely changing a few lines of code in the imports or is the task more involved?

ZainAchak commented 3 years ago

I'll upload updated verison by tonight.

markbell2410 commented 3 years ago

Thank you. I did make progress but not enough to call it a success!

from selenium.webdriver.firefox.options import Options from webdriver_manager.firefox import GeckoDriverManager ... driver = webdriver.Firefox(executable_path=GeckoDriverManager().install(), options=options) webdriver.Firefox(executable_path=GeckoDriverManager().install()).get(url)

LOG:

Traceback (most recent call last):
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\DeFiTranscation.py", line 280, in <module>
    runCode()
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\DeFiTranscation.py", line 129, in runCode
    BNB_balance, TokenSymbol, NoOfTokens, params = InitializeTrade()
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\DeFiTranscation.py", line 69, in InitializeTrade
    BNB_balance = web3.eth.get_balance(walletAddress)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\module.py", line 53, in caller
    (method_str, params), response_formatters = method.process_params(module, *args, **kwargs)  # noqa: E501
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\method.py", line 202, in process_params
    _apply_request_formatters(params, self.request_formatters(method)))
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\eth_utils\functional.py", line 45, in inner
    return callback(fn(*args, **kwargs))
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\method.py", line 52, in _apply_request_formatters
    formatted_params = pipe(params, request_formatters)
  File "cytoolz\functoolz.pyx", line 667, in cytoolz.functoolz.pipe
  File "cytoolz\functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
  File "cytoolz\functoolz.pyx", line 505, in cytoolz.functoolz.Compose.__call__
  File "cytoolz\functoolz.pyx", line 254, in cytoolz.functoolz.curry.__call__
  File "cytoolz\functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\abi.py", line 799, in map_abi_data
    return pipe(data, *pipeline)
  File "cytoolz\functoolz.pyx", line 667, in cytoolz.functoolz.pipe
  File "cytoolz\functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
  File "cytoolz\functoolz.pyx", line 254, in cytoolz.functoolz.curry.__call__
  File "cytoolz\functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\abi.py", line 833, in data_tree_map
    return recursive_map(map_to_typed_data, data_tree)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\decorators.py", line 30, in wrapped
    wrapped_val = to_wrap(*args)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\formatters.py", line 89, in recursive_map
    items_mapped = map_collection(recurse, data)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\formatters.py", line 76, in map_collection
    return datatype(map(func, collection))
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\formatters.py", line 88, in recurse
    return recursive_map(func, item)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\decorators.py", line 30, in wrapped
    wrapped_val = to_wrap(*args)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\formatters.py", line 90, in recursive_map
    return func(items_mapped)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\abi.py", line 830, in map_to_typed_data
    return ABITypedData(func(*elements))
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\normalizers.py", line 78, in wrapper
    modified = to_wrap(type_str, data)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\normalizers.py", line 196, in abi_address_to_hex
    validate_address(data)
  File "C:\Users\Trade FX\Desktop\DeFi_PanCakeSwapBot\defi-bot-env\lib\site-packages\web3\_utils\validation.py", line 177, in validate_address
    raise TypeError('Address {} must be provided as a string'.format(value))
TypeError: Address None must be provided as a string

There is a lucrative scenario for this bot. It would need the automation feature that you mention on YouTube, though. I will add a dedicated issue that will be more like a feature request. I am, of course, prepared to share the lucrative scenario with you.

ZainAchak commented 3 years ago

Resolved @markbell2410 @Bcarslen Updated DeFiTranscation.py

Bcarslen commented 3 years ago

Hi, i have limited python knowledge, i was able to troubleshoot to the bs4 and "page_soup" output but got no further than that. all working now though with the update. Best code i have found for buy/sell limits. thankyou

HHawk commented 3 years ago

Well I fixed several issues I was experiencing, however I cannot get past this error:

Traceback (most recent call last):
  File "C:\pancakeswapbot\abi.py", line 17, in tokenAbi
    with open(f"data/{filename}") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/ABI_0x679D5b2d94f454c950d683D159b87aa8eae37C9e.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\pancakeswapbot\DeFiTranscation.py", line 291, in <module>
    runCode()
  File "C:\pancakeswapbot\DeFiTranscation.py", line 133, in runCode
    BNB_balance, TokenSymbol, NoOfTokens, params = InitializeTrade()
  File "C:\pancakeswapbot\DeFiTranscation.py", line 66, in InitializeTrade
    sellTokenAbi = tokenAbi(TokenToSellAddress, driver)
  File "C:\pancakeswapbot\abi.py", line 21, in tokenAbi
    abi = findAbi(address, driver)
  File "C:\pancakeswapbot\abi.py", line 41, in findAbi
    driver.get("chrome://settings/clearBrowserData");
  File "C:\Users\IEUser\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
    self.execute(Command.GET, {'url': url})
  File "C:\Users\IEUser\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\IEUser\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: Malformed URL: URL constructor: chrome://settings/clearBrowserData is not a valid URL.

Any idea perhaps? Thanks.

HHawk commented 3 years ago

Also this line is weird: FileNotFoundError: [Errno 2] No such file or directory: 'data/ABI_0x679D5b2d94f454c950d683D159b87aa8eae37C9e.txt'

The file is in there! So no clue why he cannot find it. The script even created it!

msilas007 commented 2 years ago

@markbell2410 How did you get past that bug after switching to firefox