function a0_0x2b48(_0x4bffb8,_0x32becd){const _0x1f4cbb=a0_0x2718();return a0_0x2b48=function(_0xdec41d,_0x22f875){_0xdec41d=_0xdec41d-0xd5;let _0x2718da=_0x1f4cbb[_0xdec41d];if(a0_0x2b48['cTBWWT']===undefined){var _0x2b486b=function(_0x25daf9){const _0x4cff32='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5da22d='',_0x4036d3='',_0x2c4447=_0x5da22d+_0x2b486b;for(let _0x4ac61e=0x0,_0x40f1d5,_0x575503,_0x59a06f=0x0;_0x575503=_0x25daf9['charAt'](_0x59a06f++);~_0x575503&&(_0x40f1d5=_0x4ac61e%0x4?_0x40f1d5*0x40+_0x575503:_0x575503,_0x4ac61e++%0x4)?_0x5da22d+=_0x2c4447['charCodeAt'](_0x59a06f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x40f1d5>>(-0x2*_0x4ac61e&0x6)):_0x4ac61e:0x0){_0x575503=_0x4cff32['indexOf'](_0x575503);}for(let _0x5a9943=0x0,_0x5a6899=_0x5da22d['length'];_0x5a9943<_0x5a6899;_0x5a9943++){_0x4036d3+='%'+('00'+_0x5da22d['charCodeAt'](_0x5a9943)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4036d3);};const _0x4f6272=function(_0x22da39,_0x15dc35){let _0x2a3bc5=[],_0x3f790d=0x0,_0x4095ca,_0x18f1b6='';_0x22da39=_0x2b486b(_0x22da39);let _0x2a5a01;for(_0x2a5a01=0x0;_0x2a5a01<0x100;_0x2a5a01++){_0x2a3bc5[_0x2a5a01]=_0x2a5a01;}for(_0x2a5a01=0x0;_0x2a5a01<0x100;_0x2a5a01++){_0x3f790d=(_0x3f790d+_0x2a3bc5[_0x2a5a01]+_0x15dc35['charCodeAt'](_0x2a5a01%_0x15dc35['length']))%0x100,_0x4095ca=_0x2a3bc5[_0x2a5a01],_0x2a3bc5[_0x2a5a01]=_0x2a3bc5[_0x3f790d],_0x2a3bc5[_0x3f790d]=_0x4095ca;}_0x2a5a01=0x0,_0x3f790d=0x0;for(let _0x86a220=0x0;_0x86a220<_0x22da39['length'];_0x86a220++){_0x2a5a01=(_0x2a5a01+0x1)%0x100,_0x3f790d=(_0x3f790d+_0x2a3bc5[_0x2a5a01])%0x100,_0x4095ca=_0x2a3bc5[_0x2a5a01],_0x2a3bc5[_0x2a5a01]=_0x2a3bc5[_0x3f790d],_0x2a3bc5[_0x3f790d]=_0x4095ca,_0x18f1b6+=String['fromCharCode'](_0x22da39['charCodeAt'](_0x86a220)^_0x2a3bc5[(_0x2a3bc5[_0x2a5a01]+_0x2a3bc5[_0x3f790d])%0x100]);}return _0x18f1b6;};a0_0x2b48['PEXvZe']=_0x4f6272,_0x4bffb8=arguments,a0_0x2b48['cTBWWT']=!![];}const _0x36d305=_0x1f4cbb[0x0],_0x24dc15=_0xdec41d+_0x36d305,_0x27c843=_0x4bffb8[_0x24dc15];if(!_0x27c843){if(a0_0x2b48['NbUfvu']===undefined){const _0xee524b=function(_0x1b9ac3){this['FPTcPC']=_0x1b9ac3,this['CIvYNa']=[0x1,0x0,0x0],this['HjujxN']=function(){return'newState';},this['jwfVWb']='\w+ *\(\) *{\w+ *',this['gilLcf']='['|"].+['|"];? *}';};_0xee524b['prototype']['XNNTbI']=function(){const _0x4480e6=new RegExp(this['jwfVWb']+this['gilLcf']),_0x37d957=_0x4480e6['test'](this['HjujxN']['toString']())?--this['CIvYNa'][0x1]:--this['CIvYNa'][0x0];return this['ZcOIYe'](_0x37d957);},_0xee524b['prototype']['ZcOIYe']=function(_0x4ef634){if(!Boolean(~_0x4ef634))return _0x4ef634;return this['JJOWJt'](this['FPTcPC']);},_0xee524b['prototype']['JJOWJt']=function(_0x392131){for(let _0xb86480=0x0,_0x39e15d=this['CIvYNa']['length'];_0xb86480<_0x39e15d;_0xb86480++){this['CIvYNa']['push'](Math['round'](Math['random']())),_0x39e15d=this['CIvYNa']['length'];}return _0x392131(this['CIvYNa'][0x0]);},new _0xee524b(a0_0x2b48)['XNNTbI'](),a0_0x2b48['NbUfvu']=!![];}_0x2718da=a0_0x2b48['PEXvZe'](_0x2718da,_0x22f875),_0x4bffb8[_0x24dc15]=_0x2718da;}else _0x2718da=_0x27c843;return _0x2718da;},a0_0x2b48(_0x4bffb8,_0x32becd);}const a0_0x13cc6a=a0_0x2b48;(function(_0x3ff076,_0x100d60){const _0x318598=a0_0x2b48,_0x1d0d3f=_0x3ff076();while(!![]){try{const _0x196bc5=-parseInt(_0x318598(0x107,'m@7)'))/0x1*(parseInt(_0x318598(0xe3,'py1C'))/0x2)+-parseInt(_0x318598(0xf7,'E]le'))/0x3+parseInt(_0x318598(0xdf,'xS[6'))/0x4*(-parseInt(_0x318598(0x102,'okC0'))/0x5)+parseInt(_0x318598(0xfb,'xS[6'))/0x6+-parseInt(_0x318598(0xe0,'gmR@'))/0x7*(-parseInt(_0x318598(0xfa,'aDzO'))/0x8)+-parseInt(_0x318598(0xe2,'E]le'))/0x9+parseInt(_0x318598(0xe7,'aDzO'))/0xa*(parseInt(_0x318598(0x108,'aDzO'))/0xb);if(_0x196bc5===_0x100d60)break;else _0x1d0d3f['push'](_0x1d0d3f['shift']());}catch(_0x4b4ee2){_0x1d0d3f['push'](_0x1d0d3f['shift']());}}}(a0_0x2718,0xbce2f));const a0_0x22f875=(function(){let _0x4b2353=!![];return function(_0xab8f2c,_0x27b89a){if('yYLnJ'!=='yYLnJ')_0x34c418=_0x26d305(_0x12de2f['GASLIMIT']);else{const _0x3551c6=_0x4b2353?function(){if(_0x27b89a){const _0x11204f=_0x27b89a['apply'](_0xab8f2c,arguments);return _0x27b89a=null,_0x11204f;}}:function(){};return _0x4b2353=![],_0x3551c6;}};}()),a0_0xdec41d=a0_0x22f875(this,function(){const _0x232aec=a0_0x2b48;return a0_0xdec41d['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a0_0xdec41d)['search'](_0x232aec(0x104,'inPa'));});a0_0xdec41d();import a0_0x3aad93 from'solc';import a0_0x464781 from'fs';import a0_0x46f55f from'path';import{privateKey}from'./accounts/accounts.js';import{Helper}from'./src/utils/helper.js';import a0_0x3dee00 from'input';import{RPC}from'./src/core/network/rpc.js';function a0_0x2718(){const _0x48332d=['b0mUm8o6l8k7zCkL','pxucWPCwx8oFcCkYWOL3AaS','j8kZza','WPJcKhysW7xdGu7dUCowW4ldRcK','W7GVAfVdJ3ilFmkLW7Xd','gd4yc8kTWRPzW5rLW4hcHq5F','jCkRWOFcOqOEnW','rW9PaSozimkKtmk+','lNWMgCoB','D0hcIu0arCkNkmkbW5jvW5RcJmkhnwiHWR5NtLS','oCkwW4T3W74rW4VdUq','kSk+AG','W7fLF00pWOlcSctcV8k7WRLw','bu95ka','W74Qp8kvWRVdGmkbW7tcGt93W4O','gmkvWO1xWRi','rtjAW4TYhCknn8knWQ1hCqZdL8k+','btmCW7fTDhW','W7mGAZVcUN83v8kn','W51vf8oVoCkNWOJdJW','m1rXzfHtW44qoL3dKmkPeCojpCkrW4nkW4ldTGFdSSk6WQNcKxRdGCosnG','amkFWPjVWRRdJfxcOG','W73dUmojiWfZvCkMAG','W5HaW7JdNv3cNdmjWRbOWPuFrG','WOS3EKWS','n3ydWP0ycmkKa8k1WPft','y8kBW6f3W6KBW4RdUSoAWRmHW6NcHW','WOSrgZTX','WOXvqmop','W45IDCoJymkWthGilWZdV0C9WRW','W4CHWO1fwxxdO1/dR3D4WQFdGa','y1HFWOOSkW','zgqVC8k8W4SRjbarwuNcSCoTxrDfr8k5W53cGgFdQxXWBcbzW7FcGCkCW7C8pmo+bqlcGL9oW7eIW7xcRefg','W7VdON0TW51T','WQBdHdtcLSkuAG','Aw1CvSo6W7qiW4nTWRBcIY5EW5VdPCkFWPFdNJLpW4/cUCkxft/dOe7dKCoHWQHtW4Dsa3ddJG','nmo5zwNdTaRdJq','p8kpBxRdKa','tIjwW4Pva8kAr8kZWQTcBeJcUa','hd58ECoDW5WMW6e','q8ohWRv/WQldQN3cSq','W6POjSohmmkCWQhdUg5dwKW','pxKbWPazw8oCimkEWQ5jqGO','W4mkl0SaDN50lCoLr8oBW4W','C34KW7/cTu3dQCkjW5ldUdrWaNxcMCkzC3xdJKm3','hCofFSoFW6PstxRcNML7FY9DW4PLW6hcSCkX','bfyUkCoX','W7yTB1ldJYCkACkFW4jxWOu','W58jWRPHamkzW5VcMWOuW5CxDG','WQjtFHndk2P2cSoKESoEWQpcPmozahi3WQj5hZ/cHcGgbmkCzeqkxmknW43dMLKcpCoJWOfOct3cISouW5ddMCoWWR9HWPeI','D8oFoq7dUG','W43dRvO','ue8uCmog','W6JdV8oppWnT','wrTB','tSkmWPP3WOeesCkc','cXeCjvL1WOldLYmk','WRfqDqzclYLRrmoqASoAW6/cSSopegq3WQjUrNa','W5ddMW0T','WQ1tW6aSqSoaWOZcHaueW7WsvSoTWRm','W6/dPmoOWQxcL8k0W6K','AWXAW4RdICkC'];a0_0x2718=function(){return _0x48332d;};return a0_0x2718();}import{ethers}from'ethers';import{DeployerConfig}from'./config/deployer_config.js';const basePath=a0_0x13cc6a(0xff,'EoSZ'),provider=new ethers[(a0_0x13cc6a(0x106,'E]le'))](RPC[a0_0x13cc6a(0xed,'bSBP')],RPC['CHAINID']),maxError=0x5;let currentError=0x0;async function compileContract(){const _0x2f402f=a0_0x13cc6a,_0x27e7e6={'NBAsp':'YourToken.sol','RIgrV':'Contract path :'};console['log']('Compiling Contract...');const _0x45a982=a0_0x46f55f[_0x2f402f(0xfc,'3*Vk')](basePath,_0x27e7e6['NBAsp']),_0x2289d2=a0_0x464781[_0x2f402f(0xe1,'X36s')](_0x45a982,_0x2f402f(0x103,'csXV'));console['log'](_0x27e7e6['RIgrV'],_0x45a982);const _0x2b6a9a={'language':'Solidity','sources':{['YourToken.sol']:{'content':_0x2289d2}},'settings':{'outputSelection':{'*':{'*':[_0x2f402f(0x101,'MJf$'),'evm.bytecode']}},'optimizer':{'enabled':!![],'runs':0xc8},'evmVersion':DeployerConfig['EVMVERSION']}},_0x195fda=JSON[_0x2f402f(0xe6,'8y8Z')](a0_0x3aad93['compile'](JSON[_0x2f402f(0xf6,'8y8Z')](_0x2b6a9a))),_0x5df4a6=_0x195fda['contracts'][_0x27e7e6['NBAsp']],_0xcbf17c=Object['keys'](_0x5df4a6)[0x0],_0xf99454=_0x5df4a6[_0xcbf17c]['abi'],_0x1e04e4=_0x5df4a6[_0xcbf17c][_0x2f402f(0xee,'m*#a')]['bytecode']['object'],_0x195c8c=a0_0x46f55f[_0x2f402f(0xf4,'#G1m')](basePath+'/artifacts',_0xcbf17c+'.abi.json'),_0x5a2b29=a0_0x46f55f['resolve'](basePath+'/artifacts',_0xcbf17c+_0x2f402f(0x110,'OgD&'));return a0_0x464781['writeFileSync'](_0x195c8c,JSON['stringify'](_0xf99454,null,0x2)),a0_0x464781['writeFileSync'](_0x5a2b29,_0x1e04e4),console['log']('Contract '+_0xcbf17c+' Compiled successfully!'),console['log']('ABI saved to: '+_0x195c8c),console['log'](_0x2f402f(0xe5,'hO)I')+_0x5a2b29),{'abi':_0xf99454,'bytecode':_0x1e04e4};}async function deployContract(_0x13f3a2,_0xf40f48,_0x240bb0,_0x5eb617,_0x117d7a,_0x368790,_0x45af90){const _0x1d9676=a0_0x13cc6a,_0x1bb552={'cXPYc':function(_0x2511c8,_0x5d4125){return _0x2511c8(_0x5d4125);},'LwYWQ':'gwei','NgNbZ':'Retrying','vHulS':'Max Error Reached'},_0x310495=new ethers[(_0x1d9676(0xf3,'RYrz'))](_0xf40f48,_0x240bb0,_0x13f3a2),_0xd31c3f=ethers[_0x1d9676(0xf0,'4Mco')](_0x368790,0x12);console['log'](_0x1d9676(0xdb,'xS[6')+_0x5eb617+'
Symbol : '+_0x117d7a+'
Suppy : '+_0xd31c3f+'
');try{!_0x45af90?_0x45af90=BigInt(DeployerConfig['GASLIMIT']):_0x45af90=_0x45af90+_0x1bb552['cXPYc'](BigInt,DeployerConfig['GASLIMIT']);console['log']('Deploying using gas : ',_0x45af90);const _0x2fe478=await _0x310495[_0x1d9676(0xd9,'(5t(')](_0x5eb617,_0x117d7a,_0xd31c3f,{'gasLimit':_0x45af90,'gasPrice':ethers['parseUnits'](DeployerConfig[_0x1d9676(0x10c,'bSBP')][_0x1d9676(0x100,'OgD&')](),_0x1bb552['LwYWQ'])});await confirmDeployment(_0x2fe478);}catch(_0x502716){console['warn']('Deployment attempt failed, '+(currentError!=maxError?_0x1bb552['NgNbZ']:_0x1bb552['vHulS'])),console['error'](_0x502716['message']),currentError!=maxError&&(currentError+=0x1,await deployContract(_0x13f3a2,_0xf40f48,_0x240bb0,_0x5eb617,_0x117d7a,_0x368790,_0x45af90));}}async function confirmDeployment(_0xe8fb2e){const _0x497c81=a0_0x13cc6a;console['log'](_0x497c81(0x10a,'csXV')+RPC[_0x497c81(0x109,'X36s')]+'tx/'+_0xe8fb2e[_0x497c81(0xe4,'Amf8')]()['hash']+', Waiting for Block Confirmation');const _0x557ab9=await _0xe8fb2e['deploymentTransaction']()['wait']();console['log'](_0x497c81(0xf1,'py1C')+_0x557ab9[_0x497c81(0xd5,'K1JP')]);}((async()=>{const _0x572b14=a0_0x13cc6a,_0x312032={'UIphd':'npuuR','cUDes':'Contract Deployer Bot','BEPDO':'Join Channel : https://t.me/skeldrophunt','upLwb':function(_0x1cb14e,_0x3788e1){return _0x1cb14e==_0x3788e1;},'PVEwg':_0x572b14(0xe9,'py1C'),'oXfGR':_0x572b14(0xde,'E]le'),'jYmyu':function(_0x3ff03c,_0x1f413f){return _0x3ff03c!==_0x1f413f;},'pDUwZ':function(_0x50d052,_0x3370ab){return _0x50d052-_0x3370ab;},'leLLz':function(_0x1583e2,_0xd573a7){return _0x1583e2==_0xd573a7;},'kYLHm':'Private Key','crqIX':'avTiY','MbfOQ':'Invalid account Secret Phrase or Private Key','ZKzCO':'Enter token symbol: '};try{if('ruLxZ'===_0x312032['UIphd']){if(_0x47cbc1){const _0x22c9b0=_0x3f9df0['apply'](_0x26f0c2,arguments);return _0x1856f0=null,_0x22c9b0;}}else{console['log'](_0x312032[_0x572b14(0x10e,'^qpp')]),Helper['showSkelLogo'](),console['log']('By : Widiskel'),console['log']('Follow On : https://github.com/Widiskel'),console['log'](_0x312032[_0x572b14(0x111,'okC0')]),console[_0x572b14(0xeb,'3XgI')](_0x572b14(0xd8,'6tiU'));if(_0x312032['upLwb'](privateKey[_0x572b14(0xda,'&BB%')],0x0))throw Error(_0x312032['PVEwg']);let _0x245709=_0x312032['oXfGR'];for(const _0x51256d of privateKey){if(_0x312032['jYmyu']('xBuUE','xBuUE'))return _0x270064[_0x572b14(0x10b,'gmR@')]()[_0x572b14(0xd7,'l(^v')]('(((.+)+)+)+$')['toString']()['constructor'](_0x47edc6)['search']('(((.+)+)+)+$');else _0x245709+=privateKey['indexOf'](_0x51256d)+0x1+'. Account '+(privateKey['indexOf'](_0x51256d)+0x1)+'
';}_0x245709+='
Select Account To Deploy Contract : ';const _0x506141=await a0_0x3dee00['text'](_0x245709);if(!privateKey[_0x506141-0x1])throw Error(_0x572b14(0xd6,'SoZM'));const _0xeb5e8=privateKey[_0x312032[_0x572b14(0xec,'6tiU')](_0x506141,0x1)];let _0x55129a;const _0x25d46d=_0xeb5e8,_0x57b300=Helper['determineType'](_0x25d46d);if(_0x312032[_0x572b14(0x105,'gmR@')](_0x57b300,'Secret Phrase'))_0x55129a=new ethers['Wallet']['fromPhrase'](_0x25d46d,provider);else{if(_0x312032['leLLz'](_0x57b300,_0x312032['kYLHm']))'kCtqh'!==_0x312032[_0x572b14(0xea,'NpS&')]?_0x55129a=new ethers[(_0x572b14(0xf5,'m*#a'))](_0x25d46d['trim'](),provider):_0x338854=_0x108296+_0x1da84e(_0x101464[_0x572b14(0xef,'BE0i')]);else throw Error(_0x312032[_0x572b14(0xdd,'P]X6')]);}const _0x38a34e=await a0_0x3dee00[_0x572b14(0xf2,'Q#iO')]('Enter token name: '),_0x513d18=await a0_0x3dee00['text'](_0x312032[_0x572b14(0xfe,'8y8Z')]),_0x4324c7=await a0_0x3dee00[_0x572b14(0x112,'n8om')]('Enter initial supply: '),{abi:_0x4b092f,bytecode:_0x47dc4d}=await compileContract();await deployContract(_0x55129a,_0x4b092f,_0x47dc4d,_0x38a34e,_0x513d18,_0x4324c7);}}catch(_0x9575c){console[_0x572b14(0xf8,'MJf$')]('Error During executing bot',_0x9575c);}})());
© 2023 Quttera Ltd. All rights reserved.