ton-evm-bridge 0.0.1-security → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ton-evm-bridge might be problematic. Click here for more details.

Files changed (65) hide show
  1. package/.editorconfig +13 -0
  2. package/.eslintrc.js +16 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.yaml +108 -0
  4. package/.nvmrc +1 -0
  5. package/.prettierrc +4 -0
  6. package/@types/global.d.ts +1 -0
  7. package/@types/params.d.ts +24 -0
  8. package/@types/tonweb.d.ts +44 -0
  9. package/LICENSE +674 -0
  10. package/README.md +71 -5
  11. package/assets/WTON.json +1 -0
  12. package/assets/pics/arrow.svg +44 -0
  13. package/assets/pics/done.svg +38 -0
  14. package/assets/pics/link.svg +15 -0
  15. package/assets/pics/swap.svg +331 -0
  16. package/assets/styles/reboot.css +163 -0
  17. package/components/BridgeProcessor.vue +977 -0
  18. package/docs/.nojekyll +0 -0
  19. package/docs/200.html +9 -0
  20. package/docs/_nuxt/1f2ac62.js +1 -0
  21. package/docs/_nuxt/1f2ac62.js.br +0 -0
  22. package/docs/_nuxt/1f2ac62.js.gz +0 -0
  23. package/docs/_nuxt/5cc51a5.js +1 -0
  24. package/docs/_nuxt/5cc51a5.js.br +0 -0
  25. package/docs/_nuxt/5cc51a5.js.gz +0 -0
  26. package/docs/_nuxt/7767db0.js +2 -0
  27. package/docs/_nuxt/7767db0.js.br +0 -0
  28. package/docs/_nuxt/7767db0.js.gz +0 -0
  29. package/docs/_nuxt/9ead974.js +2 -0
  30. package/docs/_nuxt/9ead974.js.br +0 -0
  31. package/docs/_nuxt/9ead974.js.gz +0 -0
  32. package/docs/_nuxt/LICENSES +98 -0
  33. package/docs/_nuxt/a46cdc5.js +1 -0
  34. package/docs/_nuxt/a46cdc5.js.br +0 -0
  35. package/docs/_nuxt/a46cdc5.js.gz +0 -0
  36. package/docs/_nuxt/b3f7827.js +1 -0
  37. package/docs/_nuxt/b3f7827.js.br +0 -0
  38. package/docs/_nuxt/b3f7827.js.gz +0 -0
  39. package/docs/_nuxt/b5d388d.js +1 -0
  40. package/docs/_nuxt/b5d388d.js.br +0 -0
  41. package/docs/_nuxt/b5d388d.js.gz +0 -0
  42. package/docs/_nuxt/fe8ca79.js +2 -0
  43. package/docs/_nuxt/fe8ca79.js.br +0 -0
  44. package/docs/_nuxt/fe8ca79.js.gz +0 -0
  45. package/docs/_nuxt/img/arrow.69e1e70.svg +44 -0
  46. package/docs/_nuxt/img/arrow.69e1e70.svg.br +0 -0
  47. package/docs/_nuxt/img/arrow.69e1e70.svg.gz +0 -0
  48. package/docs/_nuxt/img/swap.b8b4b2f.svg +331 -0
  49. package/docs/_nuxt/img/swap.b8b4b2f.svg.br +0 -0
  50. package/docs/_nuxt/img/swap.b8b4b2f.svg.gz +0 -0
  51. package/docs/favicon.ico +0 -0
  52. package/docs/index.html +9 -0
  53. package/index.js +66 -0
  54. package/lang/en/bridge.json +105 -0
  55. package/lang/en-US.js +7 -0
  56. package/layouts/default.vue +53 -0
  57. package/modules/i18n.js +44 -0
  58. package/nuxt.config.js +73 -0
  59. package/package.json +61 -6
  60. package/pages/index.vue +635 -0
  61. package/static/favicon.ico +0 -0
  62. package/tsconfig.json +39 -0
  63. package/utils/constants.ts +65 -0
  64. package/utils/helpers.ts +37 -0
  65. package/vue-shim.d.ts +4 -0
package/docs/.nojekyll ADDED
File without changes
package/docs/200.html ADDED
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en" translate="no" data-n-head="%7B%22lang%22:%7B%221%22:%22en%22%7D,%22translate%22:%7B%221%22:%22no%22%7D%7D">
3
+ <head>
4
+ <title>TON Bridge</title><meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover"><meta data-n-head="1" data-hid="description" name="description" content="TON Bridge"><meta data-n-head="1" data-hid="google" name="google" content="notranslate"><meta data-n-head="1" name="format-detection" content="telephone=no"><link data-n-head="1" rel="icon" type="image/x-icon" href="/favicon.ico"><base href="/bridge/"><link rel="preload" href="/bridge/_nuxt/b3f7827.js" as="script"><link rel="preload" href="/bridge/_nuxt/7767db0.js" as="script"><link rel="preload" href="/bridge/_nuxt/9ead974.js" as="script"><link rel="preload" href="/bridge/_nuxt/5cc51a5.js" as="script">
5
+ </head>
6
+ <body>
7
+ <div id="__nuxt"><style>#nuxt-loading{background:#fff;visibility:hidden;opacity:0;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;animation:nuxtLoadingIn 10s ease;-webkit-animation:nuxtLoadingIn 10s ease;animation-fill-mode:forwards;overflow:hidden}@keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}@-webkit-keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}#nuxt-loading>div,#nuxt-loading>div:after{border-radius:50%;width:5rem;height:5rem}#nuxt-loading>div{font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid #f5f5f5;border-left:.5rem solid #d3d3d3;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:nuxtLoading 1.1s infinite linear;animation:nuxtLoading 1.1s infinite linear}#nuxt-loading.error>div{border-left:.5rem solid #ff4500;animation-duration:5s}@-webkit-keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script>window.addEventListener("error",function(){var e=document.getElementById("nuxt-loading");e&&(e.className+=" error")})</script><div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div></div><script>window.__NUXT__={config:{_app:{basePath:"/bridge/",assetsPath:"/bridge/_nuxt/",cdnURL:null}}}</script>
8
+ <script src="/bridge/_nuxt/b3f7827.js"></script><script src="/bridge/_nuxt/7767db0.js"></script><script src="/bridge/_nuxt/9ead974.js"></script><script src="/bridge/_nuxt/5cc51a5.js"></script></body>
9
+ </html>
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{268:function(t,r,n){"use strict";var e,o=n(331),f=n(13),c=n(8),y=n(11),h=n(14),l=n(98),d=n(26),v=n(22),A=n(15).f,T=n(134),w=n(97),x=n(6),I=n(80),E=c.Int8Array,M=E&&E.prototype,N=c.Uint8ClampedArray,m=N&&N.prototype,R=E&&T(E),S=M&&T(M),O=Object.prototype,_=O.isPrototypeOf,L=x("toStringTag"),F=I("TYPED_ARRAY_TAG"),U=o&&!!w&&"Opera"!==l(c.opera),V=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P={BigInt64Array:8,BigUint64Array:8},C=function(t){if(!y(t))return!1;var r=l(t);return h(B,r)||h(P,r)};for(e in B)c[e]||(U=!1);if((!U||"function"!=typeof R||R===Function.prototype)&&(R=function(){throw TypeError("Incorrect invocation")},U))for(e in B)c[e]&&w(c[e],R);if((!U||!S||S===O)&&(S=R.prototype,U))for(e in B)c[e]&&w(c[e].prototype,S);if(U&&T(m)!==S&&w(m,S),f&&!h(S,L))for(e in V=!0,A(S,L,{get:function(){return y(this)?this[F]:void 0}}),B)c[e]&&d(c[e],F,e);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:V&&F,aTypedArray:function(t){if(C(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(w){if(_.call(R,t))return t}else for(var r in B)if(h(B,e)){var n=c[r];if(n&&(t===n||_.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,r,n){if(f){if(n)for(var e in B){var o=c[e];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(t){}}S[t]&&!n||v(S,t,n?r:U&&M[t]||r)}},exportTypedArrayStaticMethod:function(t,r,n){var e,o;if(f){if(w){if(n)for(e in B)if((o=c[e])&&h(o,t))try{delete o[t]}catch(t){}if(R[t]&&!n)return;try{return v(R,t,n?r:U&&R[t]||r)}catch(t){}}for(e in B)!(o=c[e])||o[t]&&!n||v(o,t,r)}},isView:function(t){if(!y(t))return!1;var r=l(t);return"DataView"===r||h(B,r)||h(P,r)},isTypedArray:C,TypedArray:R,TypedArrayPrototype:S}},294:function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},330:function(t,r,n){"use strict";var e=n(8),o=n(13),f=n(331),c=n(26),y=n(103),h=n(4),l=n(78),d=n(55),v=n(17),A=n(332),T=n(436),w=n(134),x=n(97),I=n(76).f,E=n(15).f,M=n(333),N=n(60),m=n(38),R=m.get,S=m.set,O="ArrayBuffer",_="DataView",L="Wrong index",F=e.ArrayBuffer,U=F,V=e.DataView,B=V&&V.prototype,P=Object.prototype,C=e.RangeError,k=T.pack,Y=T.unpack,W=function(t){return[255&t]},D=function(t){return[255&t,t>>8&255]},j=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},G=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return k(t,23,4)},X=function(t){return k(t,52,8)},$=function(t,r){E(t.prototype,r,{get:function(){return R(this)[r]}})},z=function(view,t,r,n){var e=A(r),o=R(view);if(e+t>o.byteLength)throw C(L);var f=R(o.buffer).bytes,c=e+o.byteOffset,y=f.slice(c,c+t);return n?y:y.reverse()},H=function(view,t,r,n,e,o){var f=A(r),c=R(view);if(f+t>c.byteLength)throw C(L);for(var y=R(c.buffer).bytes,h=f+c.byteOffset,l=n(+e),i=0;i<t;i++)y[h+i]=l[o?i:t-i-1]};if(f){if(!h((function(){F(1)}))||!h((function(){new F(-1)}))||h((function(){return new F,new F(1.5),new F(NaN),F.name!=O}))){for(var K,Q=(U=function(t){return l(this,U),new F(A(t))}).prototype=F.prototype,Z=I(F),tt=0;Z.length>tt;)(K=Z[tt++])in U||c(U,K,F[K]);Q.constructor=U}x&&w(B)!==P&&x(B,P);var nt=new V(new U(2)),et=B.setInt8;nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||y(B,{setInt8:function(t,r){et.call(this,t,r<<24>>24)},setUint8:function(t,r){et.call(this,t,r<<24>>24)}},{unsafe:!0})}else U=function(t){l(this,U,O);var r=A(t);S(this,{bytes:M.call(new Array(r),0),byteLength:r}),o||(this.byteLength=r)},V=function(t,r,n){l(this,V,_),l(t,U,_);var e=R(t).byteLength,f=d(r);if(f<0||f>e)throw C("Wrong offset");if(f+(n=void 0===n?e-f:v(n))>e)throw C("Wrong length");S(this,{buffer:t,byteLength:n,byteOffset:f}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=f)},o&&($(U,"byteLength"),$(V,"buffer"),$(V,"byteLength"),$(V,"byteOffset")),y(V.prototype,{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var r=z(this,2,t,arguments.length>1?arguments[1]:void 0);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t){var r=z(this,2,t,arguments.length>1?arguments[1]:void 0);return r[1]<<8|r[0]},getInt32:function(t){return G(z(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return G(z(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return Y(z(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return Y(z(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,r){H(this,1,t,W,r)},setUint8:function(t,r){H(this,1,t,W,r)},setInt16:function(t,r){H(this,2,t,D,r,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,r){H(this,2,t,D,r,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,r){H(this,4,t,j,r,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,r){H(this,4,t,j,r,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,r){H(this,4,t,J,r,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,r){H(this,8,t,X,r,arguments.length>2?arguments[2]:void 0)}});N(U,O),N(V,_),t.exports={ArrayBuffer:U,DataView:V}},331:function(t,r){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},332:function(t,r,n){var e=n(55),o=n(17);t.exports=function(t){if(void 0===t)return 0;var r=e(t),n=o(r);if(r!==n)throw RangeError("Wrong length or index");return n}},333:function(t,r,n){"use strict";var e=n(25),o=n(96),f=n(17);t.exports=function(t){for(var r=e(this),n=f(r.length),c=arguments.length,y=o(c>1?arguments[1]:void 0,n),h=c>2?arguments[2]:void 0,l=void 0===h?n:o(h,n);l>y;)r[y++]=t;return r}},334:function(t,r,n){var e=n(440);t.exports=function(t,r){var n=e(t);if(n%r)throw RangeError("Wrong offset");return n}},335:function(t,r,n){var e=n(23),o=n(25),f=n(79),c=n(17),y=function(t){return function(r,n,y,h){e(n);var l=o(r),d=f(l),v=c(l.length),A=t?v-1:0,i=t?-1:1;if(y<2)for(;;){if(A in d){h=d[A],A+=i;break}if(A+=i,t?A<0:v<=A)throw TypeError("Reduce of empty array with no initial value")}for(;t?A>=0:v>A;A+=i)A in d&&(h=n(h,d[A],A,l));return h}};t.exports={left:y(!1),right:y(!0)}},351:function(t,r,n){"use strict";var e=n(2),o=n(55),f=n(352),c=n(182),y=n(4),h=1..toFixed,l=Math.floor,d=function(t,r,n){return 0===r?n:r%2==1?d(t,r-1,n*t):d(t*t,r/2,n)},v=function(data,t,r){for(var n=-1,e=r;++n<6;)e+=t*data[n],data[n]=e%1e7,e=l(e/1e7)},A=function(data,t){for(var r=6,n=0;--r>=0;)n+=data[r],data[r]=l(n/t),n=n%t*1e7},T=function(data){for(var t=6,s="";--t>=0;)if(""!==s||0===t||0!==data[t]){var r=String(data[t]);s=""===s?r:s+c.call("0",7-r.length)+r}return s};e({target:"Number",proto:!0,forced:h&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!y((function(){h.call({})}))},{toFixed:function(t){var r,n,e,y,h=f(this),l=o(t),data=[0,0,0,0,0,0],w="",x="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(h!=h)return"NaN";if(h<=-1e21||h>=1e21)return String(h);if(h<0&&(w="-",h=-h),h>1e-21)if(n=(r=function(t){for(var r=0,n=t;n>=4096;)r+=12,n/=4096;for(;n>=2;)r+=1,n/=2;return r}(h*d(2,69,1))-69)<0?h*d(2,-r,1):h/d(2,r,1),n*=4503599627370496,(r=52-r)>0){for(v(data,0,n),e=l;e>=7;)v(data,1e7,0),e-=7;for(v(data,d(10,e,1),0),e=r-1;e>=23;)A(data,1<<23),e-=23;A(data,1<<e),v(data,1,1),A(data,2),x=T(data)}else v(data,0,n),v(data,1<<-r,0),x=T(data)+c.call("0",l);return x=l>0?w+((y=x.length)<=l?"0."+c.call("0",l-y)+x:x.slice(0,y-l)+"."+x.slice(y-l)):w+x}})},352:function(t,r,n){var e=n(57);t.exports=function(t){if("number"!=typeof t&&"Number"!=e(t))throw TypeError("Incorrect invocation");return+t}},429:function(t,r,n){"use strict";var e=n(13),o=n(8),f=n(81),c=n(22),y=n(14),h=n(57),l=n(135),d=n(77),v=n(4),A=n(58),T=n(76).f,w=n(46).f,x=n(15).f,I=n(430).trim,E="Number",M=o.Number,N=M.prototype,m=h(A(N))==E,R=function(t){var r,n,e,o,f,c,y,code,h=d(t,!1);if("string"==typeof h&&h.length>2)if(43===(r=(h=I(h)).charCodeAt(0))||45===r){if(88===(n=h.charCodeAt(2))||120===n)return NaN}else if(48===r){switch(h.charCodeAt(1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+h}for(c=(f=h.slice(2)).length,y=0;y<c;y++)if((code=f.charCodeAt(y))<48||code>o)return NaN;return parseInt(f,e)}return+h};if(f(E,!M(" 0o1")||!M("0b1")||M("+0x1"))){for(var S,O=function(t){var r=arguments.length<1?0:t,n=this;return n instanceof O&&(m?v((function(){N.valueOf.call(n)})):h(n)!=E)?l(new M(R(r)),n,O):R(r)},_=e?T(M):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),L=0;_.length>L;L++)y(M,S=_[L])&&!y(O,S)&&x(O,S,w(M,S));O.prototype=N,N.constructor=O,c(o,E,O)}},430:function(t,r,n){var e=n(27),o="["+n(431)+"]",f=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),y=function(t){return function(r){var n=String(e(r));return 1&t&&(n=n.replace(f,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:y(1),end:y(2),trim:y(3)}},431:function(t,r){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},432:function(t,r,n){"use strict";var e=n(2),o=n(433);e({target:"String",proto:!0,forced:n(434)("sub")},{sub:function(){return o(this,"sub","","")}})},433:function(t,r,n){var e=n(27),o=/"/g;t.exports=function(t,r,n,f){var c=String(e(t)),y="<"+r;return""!==n&&(y+=" "+n+'="'+String(f).replace(o,"&quot;")+'"'),y+">"+c+"</"+r+">"}},434:function(t,r,n){var e=n(4);t.exports=function(t){return e((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))}},435:function(t,r,n){"use strict";var e=n(2),o=n(4),f=n(330),c=n(3),y=n(96),h=n(17),l=n(56),d=f.ArrayBuffer,v=f.DataView,A=d.prototype.slice;e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(t,r){if(void 0!==A&&void 0===r)return A.call(c(this),t);for(var n=c(this).byteLength,e=y(t,n),o=y(void 0===r?n:r,n),f=new(l(this,d))(h(o-e)),T=new v(this),w=new v(f),x=0;e<o;)w.setUint8(x++,T.getUint8(e++));return f}})},436:function(t,r){var n=Math.abs,e=Math.pow,o=Math.floor,f=Math.log,c=Math.LN2;t.exports={pack:function(t,r,y){var h,l,d,v=new Array(y),A=8*y-r-1,T=(1<<A)-1,w=T>>1,rt=23===r?e(2,-24)-e(2,-77):0,x=t<0||0===t&&1/t<0?1:0,I=0;for((t=n(t))!=t||t===1/0?(l=t!=t?1:0,h=T):(h=o(f(t)/c),t*(d=e(2,-h))<1&&(h--,d*=2),(t+=h+w>=1?rt/d:rt*e(2,1-w))*d>=2&&(h++,d/=2),h+w>=T?(l=0,h=T):h+w>=1?(l=(t*d-1)*e(2,r),h+=w):(l=t*e(2,w-1)*e(2,r),h=0));r>=8;v[I++]=255&l,l/=256,r-=8);for(h=h<<r|l,A+=r;A>0;v[I++]=255&h,h/=256,A-=8);return v[--I]|=128*x,v},unpack:function(t,r){var n,o=t.length,f=8*o-r-1,c=(1<<f)-1,y=c>>1,h=f-7,l=o-1,d=t[l--],v=127&d;for(d>>=7;h>0;v=256*v+t[l],l--,h-=8);for(n=v&(1<<-h)-1,v>>=-h,h+=r;h>0;n=256*n+t[l],l--,h-=8);if(0===v)v=1-y;else{if(v===c)return n?NaN:d?-1/0:1/0;n+=e(2,r),v-=y}return(d?-1:1)*n*e(2,v-r)}}},437:function(t,r,n){n(438)("Uint8",(function(t){return function(data,r,n){return t(this,data,r,n)}}))},438:function(t,r,n){"use strict";var e=n(2),o=n(8),f=n(13),c=n(439),y=n(268),h=n(330),l=n(78),d=n(59),v=n(26),A=n(17),T=n(332),w=n(334),x=n(77),I=n(14),E=n(98),M=n(11),N=n(58),m=n(97),R=n(76).f,S=n(441),O=n(63).forEach,_=n(104),L=n(15),F=n(46),U=n(38),V=n(135),B=U.get,P=U.set,C=L.f,k=F.f,Y=Math.round,W=o.RangeError,D=h.ArrayBuffer,j=h.DataView,G=y.NATIVE_ARRAY_BUFFER_VIEWS,J=y.TYPED_ARRAY_TAG,X=y.TypedArray,$=y.TypedArrayPrototype,z=y.aTypedArrayConstructor,H=y.isTypedArray,K="BYTES_PER_ELEMENT",Q="Wrong length",Z=function(t,r){for(var n=0,e=r.length,o=new(z(t))(e);e>n;)o[n]=r[n++];return o},tt=function(t,r){C(t,r,{get:function(){return B(this)[r]}})},nt=function(t){var r;return t instanceof D||"ArrayBuffer"==(r=E(t))||"SharedArrayBuffer"==r},et=function(t,r){return H(t)&&"symbol"!=typeof r&&r in t&&String(+r)==String(r)},ot=function(t,r){return et(t,r=x(r,!0))?d(2,t[r]):k(t,r)},it=function(t,r,n){return!(et(t,r=x(r,!0))&&M(n)&&I(n,"value"))||I(n,"get")||I(n,"set")||n.configurable||I(n,"writable")&&!n.writable||I(n,"enumerable")&&!n.enumerable?C(t,r,n):(t[r]=n.value,t)};f?(G||(F.f=ot,L.f=it,tt($,"buffer"),tt($,"byteOffset"),tt($,"byteLength"),tt($,"length")),e({target:"Object",stat:!0,forced:!G},{getOwnPropertyDescriptor:ot,defineProperty:it}),t.exports=function(t,r,n){var f=t.match(/\d+$/)[0]/8,y=t+(n?"Clamped":"")+"Array",h="get"+t,d="set"+t,x=o[y],I=x,E=I&&I.prototype,L={},F=function(t,r){C(t,r,{get:function(){return function(t,r){var data=B(t);return data.view[h](r*f+data.byteOffset,!0)}(this,r)},set:function(t){return function(t,r,e){var data=B(t);n&&(e=(e=Y(e))<0?0:e>255?255:255&e),data.view[d](r*f+data.byteOffset,e,!0)}(this,r,t)},enumerable:!0})};G?c&&(I=r((function(t,data,r,n){return l(t,I,y),V(M(data)?nt(data)?void 0!==n?new x(data,w(r,f),n):void 0!==r?new x(data,w(r,f)):new x(data):H(data)?Z(I,data):S.call(I,data):new x(T(data)),t,I)})),m&&m(I,X),O(R(x),(function(t){t in I||v(I,t,x[t])})),I.prototype=E):(I=r((function(t,data,r,n){l(t,I,y);var e,o,c,h=0,d=0;if(M(data)){if(!nt(data))return H(data)?Z(I,data):S.call(I,data);e=data,d=w(r,f);var v=data.byteLength;if(void 0===n){if(v%f)throw W(Q);if((o=v-d)<0)throw W(Q)}else if((o=A(n)*f)+d>v)throw W(Q);c=o/f}else c=T(data),e=new D(o=c*f);for(P(t,{buffer:e,byteOffset:d,byteLength:o,length:c,view:new j(e)});h<c;)F(t,h++)})),m&&m(I,X),E=I.prototype=N($)),E.constructor!==I&&v(E,"constructor",I),J&&v(E,J,y),L[y]=I,e({global:!0,forced:I!=x,sham:!G},L),K in I||v(I,K,f),K in E||v(E,K,f),_(y)}):t.exports=function(){}},439:function(t,r,n){var e=n(8),o=n(4),f=n(101),c=n(268).NATIVE_ARRAY_BUFFER_VIEWS,y=e.ArrayBuffer,h=e.Int8Array;t.exports=!c||!o((function(){h(1)}))||!o((function(){new h(-1)}))||!f((function(t){new h,new h(null),new h(1.5),new h(t)}),!0)||o((function(){return 1!==new h(new y(2),1,void 0).length}))},440:function(t,r,n){var e=n(55);t.exports=function(t){var r=e(t);if(r<0)throw RangeError("The argument can't be less than 0");return r}},441:function(t,r,n){var e=n(25),o=n(17),f=n(82),c=n(137),y=n(19),h=n(268).aTypedArrayConstructor;t.exports=function(source){var i,t,r,n,l,d,v=e(source),A=arguments.length,T=A>1?arguments[1]:void 0,w=void 0!==T,x=f(v);if(null!=x&&!c(x))for(d=(l=x.call(v)).next,v=[];!(n=d.call(l)).done;)v.push(n.value);for(w&&A>2&&(T=y(T,arguments[2],2)),t=o(v.length),r=new(h(this))(t),i=0;t>i;i++)r[i]=w?T(v[i],i):v[i];return r}},442:function(t,r,n){"use strict";var e=n(268),o=n(443),f=e.aTypedArray;(0,e.exportTypedArrayMethod)("copyWithin",(function(t,r){return o.call(f(this),t,r,arguments.length>2?arguments[2]:void 0)}))},443:function(t,r,n){"use strict";var e=n(25),o=n(96),f=n(17),c=Math.min;t.exports=[].copyWithin||function(t,r){var n=e(this),y=f(n.length),h=o(t,y),l=o(r,y),d=arguments.length>2?arguments[2]:void 0,v=c((void 0===d?y:o(d,y))-l,y-h),A=1;for(l<h&&h<l+v&&(A=-1,l+=v-1,h+=v-1);v-- >0;)l in n?n[h]=n[l]:delete n[h],h+=A,l+=A;return n}},444:function(t,r,n){"use strict";var e=n(268),o=n(63).every,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("every",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},445:function(t,r,n){"use strict";var e=n(268),o=n(333),f=e.aTypedArray;(0,e.exportTypedArrayMethod)("fill",(function(t){return o.apply(f(this),arguments)}))},446:function(t,r,n){"use strict";var e=n(268),o=n(63).filter,f=n(447),c=e.aTypedArray;(0,e.exportTypedArrayMethod)("filter",(function(t){var r=o(c(this),t,arguments.length>1?arguments[1]:void 0);return f(this,r)}))},447:function(t,r,n){var e=n(268).aTypedArrayConstructor,o=n(56);t.exports=function(t,r){for(var n=o(t,t.constructor),f=0,c=r.length,y=new(e(n))(c);c>f;)y[f]=r[f++];return y}},448:function(t,r,n){"use strict";var e=n(268),o=n(63).find,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("find",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},449:function(t,r,n){"use strict";var e=n(268),o=n(63).findIndex,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("findIndex",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},450:function(t,r,n){"use strict";var e=n(268),o=n(63).forEach,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("forEach",(function(t){o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},451:function(t,r,n){"use strict";var e=n(268),o=n(133).includes,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("includes",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},452:function(t,r,n){"use strict";var e=n(268),o=n(133).indexOf,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("indexOf",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},453:function(t,r,n){"use strict";var e=n(8),o=n(268),f=n(102),c=n(6)("iterator"),y=e.Uint8Array,h=f.values,l=f.keys,d=f.entries,v=o.aTypedArray,A=o.exportTypedArrayMethod,T=y&&y.prototype[c],w=!!T&&("values"==T.name||null==T.name),x=function(){return h.call(v(this))};A("entries",(function(){return d.call(v(this))})),A("keys",(function(){return l.call(v(this))})),A("values",x,!w),A(c,x,!w)},454:function(t,r,n){"use strict";var e=n(268),o=e.aTypedArray,f=e.exportTypedArrayMethod,c=[].join;f("join",(function(t){return c.apply(o(this),arguments)}))},455:function(t,r,n){"use strict";var e=n(268),o=n(456),f=e.aTypedArray;(0,e.exportTypedArrayMethod)("lastIndexOf",(function(t){return o.apply(f(this),arguments)}))},456:function(t,r,n){"use strict";var e=n(28),o=n(55),f=n(17),c=n(105),y=Math.min,h=[].lastIndexOf,l=!!h&&1/[1].lastIndexOf(1,-0)<0,d=c("lastIndexOf"),v=l||!d;t.exports=v?function(t){if(l)return h.apply(this,arguments)||0;var r=e(this),n=f(r.length),c=n-1;for(arguments.length>1&&(c=y(c,o(arguments[1]))),c<0&&(c=n+c);c>=0;c--)if(c in r&&r[c]===t)return c||0;return-1}:h},457:function(t,r,n){"use strict";var e=n(268),o=n(63).map,f=n(56),c=e.aTypedArray,y=e.aTypedArrayConstructor;(0,e.exportTypedArrayMethod)("map",(function(t){return o(c(this),t,arguments.length>1?arguments[1]:void 0,(function(t,r){return new(y(f(t,t.constructor)))(r)}))}))},458:function(t,r,n){"use strict";var e=n(268),o=n(335).left,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("reduce",(function(t){return o(f(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},459:function(t,r,n){"use strict";var e=n(268),o=n(335).right,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("reduceRight",(function(t){return o(f(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},460:function(t,r,n){"use strict";var e=n(268),o=e.aTypedArray,f=e.exportTypedArrayMethod,c=Math.floor;f("reverse",(function(){for(var t,r=this,n=o(r).length,e=c(n/2),f=0;f<e;)t=r[f],r[f++]=r[--n],r[n]=t;return r}))},461:function(t,r,n){"use strict";var e=n(268),o=n(17),f=n(334),c=n(25),y=n(4),h=e.aTypedArray;(0,e.exportTypedArrayMethod)("set",(function(t){h(this);var r=f(arguments.length>1?arguments[1]:void 0,1),n=this.length,e=c(t),y=o(e.length),l=0;if(y+r>n)throw RangeError("Wrong length");for(;l<y;)this[r+l]=e[l++]}),y((function(){new Int8Array(1).set({})})))},462:function(t,r,n){"use strict";var e=n(268),o=n(56),f=n(4),c=e.aTypedArray,y=e.aTypedArrayConstructor,h=e.exportTypedArrayMethod,l=[].slice;h("slice",(function(t,r){for(var n=l.call(c(this),t,r),e=o(this,this.constructor),f=0,h=n.length,d=new(y(e))(h);h>f;)d[f]=n[f++];return d}),f((function(){new Int8Array(1).slice()})))},463:function(t,r,n){"use strict";var e=n(268),o=n(63).some,f=e.aTypedArray;(0,e.exportTypedArrayMethod)("some",(function(t){return o(f(this),t,arguments.length>1?arguments[1]:void 0)}))},464:function(t,r,n){"use strict";var e=n(268),o=n(8),f=n(4),c=n(23),y=n(17),h=n(185),l=n(186),d=n(187),v=n(66),A=n(188),T=e.aTypedArray,w=e.exportTypedArrayMethod,x=o.Uint16Array,I=x&&x.prototype.sort,E=!!I&&!f((function(){var t=new x(2);t.sort(null),t.sort({})})),M=!!I&&!f((function(){if(v)return v<74;if(l)return l<67;if(d)return!0;if(A)return A<602;var t,r,n=new x(516),e=Array(516);for(t=0;t<516;t++)r=t%4,n[t]=515-t,e[t]=t-2*r+3;for(n.sort((function(a,b){return(a/4|0)-(b/4|0)})),t=0;t<516;t++)if(n[t]!==e[t])return!0}));w("sort",(function(t){var r=this;if(void 0!==t&&c(t),M)return I.call(r,t);T(r);var n,e=y(r.length),o=Array(e);for(n=0;n<e;n++)o[n]=r[n];for(o=h(r,function(t){return function(r,n){return void 0!==t?+t(r,n)||0:n!=n?-1:r!=r?1:0===r&&0===n?1/r>0&&1/n<0?1:-1:r>n}}(t)),n=0;n<e;n++)r[n]=o[n];return r}),!M||E)},465:function(t,r,n){"use strict";var e=n(268),o=n(17),f=n(96),c=n(56),y=e.aTypedArray;(0,e.exportTypedArrayMethod)("subarray",(function(t,r){var n=y(this),e=n.length,h=f(t,e);return new(c(n,n.constructor))(n.buffer,n.byteOffset+h*n.BYTES_PER_ELEMENT,o((void 0===r?e:f(r,e))-h))}))},466:function(t,r,n){"use strict";var e=n(8),o=n(268),f=n(4),c=e.Int8Array,y=o.aTypedArray,h=o.exportTypedArrayMethod,l=[].toLocaleString,d=[].slice,v=!!c&&f((function(){l.call(new c(1))}));h("toLocaleString",(function(){return l.apply(v?d.call(y(this)):y(this),arguments)}),f((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!f((function(){c.prototype.toLocaleString.call([1,2])})))},467:function(t,r,n){"use strict";var e=n(268).exportTypedArrayMethod,o=n(4),f=n(8).Uint8Array,c=f&&f.prototype||{},y=[].toString,h=[].join;o((function(){y.call({})}))&&(y=function(){return h.call(this)});var l=c.toString!=y;e("toString",y,l)},480:function(t,r){(function(r){t.exports=r}).call(this,{})}}]);
Binary file
Binary file
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{163:function(n,e,t){var content=t(223);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[n.i,content,""]]),content.locals&&(n.exports=content.locals);(0,t(100).default)("7bb96de3",content,!0,{sourceMap:!1})},177:function(n,e,t){"use strict";t(10);e.a=function(){return new Promise((function(n){n({Bridge:t(224)})}))}},180:function(n,e,t){"use strict";var o=t(0),r=t(176),l=o.a.extend({name:"LayoutDefault",head:function(){return{htmlAttrs:{lang:"en",translate:"no"},meta:[{hid:"google",name:"google",content:"notranslate"}]}},mounted:function(){document.documentElement.classList.add("touch"===r.a?"isTouch":"isPointer")}}),c=(t(222),t(91)),component=Object(c.a)(l,(function(){var n=this._self._c;this._self._setupProxy;return n("div",{staticClass:"LayoutDefault"},[n("Nuxt")],1)}),[],!1,null,null,null);e.a=component.exports},189:function(n,e,t){n.exports=t(190)},220:function(n,e,t){var content=t(221);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[n.i,content,""]]),content.locals&&(n.exports=content.locals);(0,t(100).default)("4c5dc825",content,!0,{sourceMap:!1})},221:function(n,e,t){var o=t(99)(!1);o.push([n.i,'/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmenu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n vertical-align: baseline;\n}\ninput, textarea{\n margin: 0;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, menu, nav, section {\n display: block;\n}\n\nblockquote, q {\n quotes: none;\n}\n\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: \'\';\n content: none;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n\n*,\n*:after,\n*:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :root {\n /*scroll-behavior: smooth;*/\n }\n}\n\nhtml {\n -webkit-text-size-adjust: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n -webkit-text-size-adjust: 100%;\n -webkit-font-feature-settings: "kern";\n -moz-font-feature-settings: "kern=1";\n -moz-font-feature-settings: "kern";\n -ms-font-feature-settings: "kern" 1;\n font-feature-settings: "kern";\n font-variant-numeric: normal;\n word-wrap: break-word;\n}\n\ninput::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n display: none !important;\n pointer-events: none;\n position: absolute;\n right: 0;\n}\n\n::-webkit-credentials-auto-fill-button {\n visibility: hidden;\n pointer-events: none;\n position: absolute;\n right: 0;\n}\n\ninput::-ms-clear {\n display: none !important;\n}\n\ninput::-ms-reveal {\n display: none !important;\n}\n\ninput:focus::-webkit-input-placeholder,\ntextarea:focus::-webkit-input-placeholder {\n color: transparent !important;\n}\n\ninput:focus::-moz-placeholder,\ntextarea:focus::-moz-placeholder {\n color: transparent !important;\n}\n\ninput:focus:-moz-placeholder,\ntextarea:focus:-moz-placeholder {\n color: transparent !important;\n}\n\ninput:focus::placeholder,\ntextarea:focus::placeholder {\n color: transparent !important;\n}\n\nbutton {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: inherit;\n outline: none;\n border-radius: 0;\n cursor: pointer;\n\n line-height: normal;\n\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n -webkit-appearance: none;\n}\n\na {\n outline: none;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n\nsvg {\n overflow: visible;\n}\n\n[tabindex="-1"]:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n',""]),n.exports=o},222:function(n,e,t){"use strict";t(163)},223:function(n,e,t){var o=t(99)(!1);o.push([n.i,"* {\n box-sizing: border-box;\n}\nbody {\n font-family: 'Helvetica', 'Arial', 'sans-serif';\n -webkit-text-size-adjust: 100%;\n}\na,\na:hover,\na:after,\na:active,\na:focus {\n color: #1d98dc;\n text-decoration: none;\n word-break: break-all;\n}\n",""]),n.exports=o},224:function(n){n.exports=JSON.parse('{"testnet":"TESTNET","networks":{"ton":{"transactionCompleted":"TON transaction completed successfully","transactionSendAmount":"Please send <AMOUNT> <FROM_COIN>s to bridge smart-contract","transactionSendFromPersonal":"Send from your personal wallet.","transactionSendNotFromExchanges":"Do not send directly from exchanges and bots!","errors":{"invalidAddress":"Not valid TON address"},"main":{"name":"TON Network","full":"TON Network","coin":"Toncoin","coinShort":"Toncoin"},"test":{"name":"TON Testnet","full":"TON Testnet","coin":"Toncoin","coinShort":"Toncoin"}},"eth":{"pageTitle":"TON-ETH Bridge","gasFee":"Ethereum gas fee ~ <FEE> ETH","transactionCompleted":"Ethereum transaction completed successfully","transactionWait":"Please wait for the Ethereum transaction to be processed","transactionSend":"Please send Ethereum transaction in Metamask","blocksConfirmations":"Collected <COUNT> Ethereum block confirmations","errors":{"invalidAddress":"Not valid ETH address","lowBalance":"You need to have ETH on your wallet to pay for gas in the Ethereum network"},"main":{"name":"Ethereum","full":"Ethereum Network","coin":"TONCOIN (ERC20)","coinShort":"TONCOIN"},"test":{"name":"Ethereum Goerli","full":"Ethereum Goerli","coin":"TONCOIN (ERC20)","coinShort":"TONCOIN"}},"bsc":{"pageTitle":"TON-BSC Bridge","gasFee":"BSC gas fee ~ <FEE> BNB","transactionCompleted":"BSC transaction completed successfully","transactionWait":"Please wait for the BSC transaction to be processed","transactionSend":"Please send BSC transaction in Metamask","blocksConfirmations":"Collected <COUNT> BSC block confirmations","errors":{"invalidAddress":"Not valid BSC address","lowBalance":"You need to have BNB on your wallet to pay for gas in the BSC network"},"main":{"name":"Binance Smart Chain","full":"BSC Network","coin":"TONCOIN (BEP-20)","coinShort":"TONCOIN"},"test":{"name":"BSC Testnet","full":"BSC Testnet","coin":"TONCOIN (BEP-20)","coinShort":"TONCOIN"}}},"amountOfTon":"Amount of TON:","addressInputLabel":"Address to receive in <NETWORK>:","bridgeFeeAbove10":"Bridge fee - <FEE> TON","bridgeFeeBelow10":"Bridge fee - 5 TON + 0.25% of amount","sourceCode":"Source Code","howItWorks":"How it works","documentation":"Documentation","transfer":"Transfer","getToncoin":"Get TONCOIN","done":"Done","cancel":"Cancel","blocksConfirmationsCollected":"The confirmations of the blocks are collected","blocksConfirmationsWaiting":"Wait a bit for the blocks confirmations","oraclesConfirmations":"Collected <COUNT> confirmations of oracles","oraclesConfirmationsCollected":"The confirmations of the oracles are collected","oraclesConfirmationsWaiting":"Wait a bit for the oracles to confirm the transfer","getCoinsByMetamask":"Get <TO_COIN>s by metamask","coinsSent":"<TO_COIN>s have been sent to your address","getCoins":"Get <TO_COIN>s in <TO_NETWORK>","errors":{"notValidAmount":"Amount is not valid number","amountBelow10":"Amount must be at least 10 TON","needPersonalAddress":"Please enter YOUR address to receive","toncoinBalance":"You have only <BALANCE> TONCOIN","installMetamask":"Please install MetaMask","wrongMetamaskNetwork":"Set chain to <NETWORK> in Metamask"}}')}},[[189,4,1,5]]]);
Binary file
Binary file