-
Notifications
You must be signed in to change notification settings - Fork 56
/
main.js
1 lines (1 loc) · 6.26 KB
/
main.js
1
'use strict';function a0_0x5003(_0x49a720,_0x3ce72a){const _0x4927e4=a0_0x4927();return a0_0x5003=function(_0x500382,_0x2a734c){_0x500382=_0x500382-0x19e;let _0xc207ac=_0x4927e4[_0x500382];return _0xc207ac;},a0_0x5003(_0x49a720,_0x3ce72a);}const a0_0x24ea05=a0_0x5003;(function(_0x30992c,_0x503a2d){const _0x1243b5=a0_0x5003,_0x2f73fa=_0x30992c();while(!![]){try{const _0x3ed4dd=parseInt(_0x1243b5(0x19f))/0x1+-parseInt(_0x1243b5(0x1a3))/0x2*(-parseInt(_0x1243b5(0x1b5))/0x3)+parseInt(_0x1243b5(0x1af))/0x4*(-parseInt(_0x1243b5(0x1c3))/0x5)+parseInt(_0x1243b5(0x1db))/0x6*(parseInt(_0x1243b5(0x1bb))/0x7)+-parseInt(_0x1243b5(0x1ac))/0x8+-parseInt(_0x1243b5(0x1ce))/0x9*(-parseInt(_0x1243b5(0x1d7))/0xa)+-parseInt(_0x1243b5(0x1d8))/0xb;if(_0x3ed4dd===_0x503a2d)break;else _0x2f73fa['push'](_0x2f73fa['shift']());}catch(_0x5c0469){_0x2f73fa['push'](_0x2f73fa['shift']());}}}(a0_0x4927,0x67a5a));var __awaiter=this&&this[a0_0x24ea05(0x1a7)]||function(_0x56f82d,_0x4a577a,_0xcb4d9d,_0xa8a4c5){const _0x210eb7=a0_0x24ea05,_0xa0fdf8={'KJcvw':function(_0x1d8382,_0x922533){return _0x1d8382!==_0x922533;},'SegVH':_0x210eb7(0x1dc),'LtikC':function(_0xd7dbcf,_0x5526be){return _0xd7dbcf(_0x5526be);},'mtlbA':function(_0x5104a0,_0x3d6b5a){return _0x5104a0(_0x3d6b5a);},'RWtLB':function(_0x24a0c0,_0x423eb4){return _0x24a0c0(_0x423eb4);},'hHsaW':function(_0x56e4af,_0x4165f7){return _0x56e4af(_0x4165f7);}};function _0xf4acaf(_0x165201){const _0x3ab218=_0x210eb7,_0x1e656f={'kEYSI':function(_0x48d8db,_0x3dbbe0){const _0x22e1cc=a0_0x5003;return _0xa0fdf8[_0x22e1cc(0x1da)](_0x48d8db,_0x3dbbe0);},'PdBIJ':'yEJcc','ECPEi':_0xa0fdf8[_0x3ab218(0x1b7)],'qhHdq':function(_0x5556c3,_0x713a56){const _0x33e877=_0x3ab218;return _0xa0fdf8[_0x33e877(0x1d5)](_0x5556c3,_0x713a56);}};return _0x165201 instanceof _0xcb4d9d?_0x165201:new _0xcb4d9d(function(_0x1ec88b){const _0x71f92e=_0x3ab218;if(_0x1e656f[_0x71f92e(0x19e)](_0x1e656f[_0x71f92e(0x1d0)],_0x1e656f[_0x71f92e(0x1c5)]))_0x1e656f[_0x71f92e(0x1c1)](_0x1ec88b,_0x165201);else return _0x2ee719&&_0x123a1e[_0x71f92e(0x1b4)]?_0x1ead50:{'default':_0x1beecb};});}return new(_0xcb4d9d||(_0xcb4d9d=Promise))(function(_0x3c314d,_0x56933d){const _0x1e63ce=_0x210eb7,_0x52ba2e={'mNTOZ':function(_0x2010cf,_0x2dcb78){const _0x4b0799=a0_0x5003;return _0xa0fdf8[_0x4b0799(0x1d5)](_0x2010cf,_0x2dcb78);},'GPjhD':_0x1e63ce(0x1c2)};function _0x4c00c0(_0x1a374c){const _0x243eb6=_0x1e63ce;try{_0xa0fdf8[_0x243eb6(0x1d5)](_0x1df688,_0xa8a4c5[_0x243eb6(0x1a2)](_0x1a374c));}catch(_0x2f7f95){_0xa0fdf8[_0x243eb6(0x1bd)](_0x56933d,_0x2f7f95);}}function _0x22bcb1(_0x373326){const _0x68ee8f=_0x1e63ce;try{_0x52ba2e[_0x68ee8f(0x1b2)](_0x1df688,_0xa8a4c5[_0x52ba2e[_0x68ee8f(0x1a9)]](_0x373326));}catch(_0x5c551a){_0x56933d(_0x5c551a);}}function _0x1df688(_0x165f14){const _0x49e5ce=_0x1e63ce;_0x165f14['done']?_0x3c314d(_0x165f14[_0x49e5ce(0x1c8)]):_0xa0fdf8[_0x49e5ce(0x1ae)](_0xf4acaf,_0x165f14['value'])[_0x49e5ce(0x1bc)](_0x4c00c0,_0x22bcb1);}_0xa0fdf8['hHsaW'](_0x1df688,(_0xa8a4c5=_0xa8a4c5[_0x1e63ce(0x1c9)](_0x56f82d,_0x4a577a||[]))[_0x1e63ce(0x1a2)]());});},__importDefault=this&&this['__importDefault']||function(_0x3c9f41){const _0xca5788=a0_0x24ea05;return _0x3c9f41&&_0x3c9f41[_0xca5788(0x1b4)]?_0x3c9f41:{'default':_0x3c9f41};};Object[a0_0x24ea05(0x1d4)](exports,'__esModule',{'value':!![]});function a0_0x4927(){const _0x1897f7=['Type\x20\x27exit\x27\x20to\x20quit.','4.\x20Sell\x20All\x20Buyers','2784141cYqpIQ','./src/senderUI','PdBIJ','error','log','2.\x20Pre\x20Launch\x20Checklist','defineProperty','LtikC','exit','20cZdarn','3181849pdTLtc','./src/sellFunc','KJcvw','897204tudPkL','SdNTT','kEYSI','410964xXDyqq','ubxGs','./src/jitoPool','next','54OcfKhc','vVXth','prompt-sync','createWalletSells','__awaiter','Invalid\x20option,\x20please\x20choose\x20again.','GPjhD','\x0aMenu:','buyBundle','6544616Xahnmg','Error:','RWtLB','37772PkuvpG','3.\x20Create\x20Pool\x20Bundle','XeOAh','mNTOZ','JDSPx','__esModule','53517Lpnunh','1.\x20Create\x20Keypairs','SegVH','sellXPercentage','Exiting...','Choose\x20an\x20option\x20or\x20\x27exit\x27:\x20','35dvRYPx','then','mtlbA','bDdYG','createKeypairs','remove','qhHdq','throw','385gblHRS','iapoJ','ECPEi','WHMmh','scdAI','value','apply','kSsAF','NHtfa'];a0_0x4927=function(){return _0x1897f7;};return a0_0x4927();}const createKeys_1=require('./src/createKeys'),jitoPool_1=require(a0_0x24ea05(0x1a1)),senderUI_1=require(a0_0x24ea05(0x1cf)),sellFunc_1=require(a0_0x24ea05(0x1d9)),removeLiq_1=require('./src/removeLiq'),prompt_sync_1=__importDefault(require(a0_0x24ea05(0x1a5))),prompt=(0x0,prompt_sync_1['default'])();function main(){const _0x5b2b47=a0_0x24ea05,_0x50984f={'vVXth':_0x5b2b47(0x1aa),'WHMmh':_0x5b2b47(0x1b6),'scdAI':_0x5b2b47(0x1d3),'XtRFG':_0x5b2b47(0x1cd),'iapoJ':'5.\x20Sell\x20%\x20of\x20Supply','NHtfa':'6.\x20Remove\x20Liquidity','JDSPx':_0x5b2b47(0x1cc),'DUOQP':function(_0x4a6a8e,_0x97c253){return _0x4a6a8e(_0x97c253);},'lNLYd':_0x5b2b47(0x1ba),'bDdYG':'exit','ZKGoz':_0x5b2b47(0x1a8),'kSsAF':_0x5b2b47(0x1b9),'ubxGs':function(_0x57c5d5,_0x13e900,_0x363b83,_0x619768,_0x193b03){return _0x57c5d5(_0x13e900,_0x363b83,_0x619768,_0x193b03);}};return _0x50984f[_0x5b2b47(0x1a0)](__awaiter,this,void 0x0,void 0x0,function*(){const _0x4363d7=_0x5b2b47;let _0x57ba56=!![];while(_0x57ba56){console['log'](_0x50984f[_0x4363d7(0x1a4)]),console['log'](_0x50984f[_0x4363d7(0x1c6)]),console[_0x4363d7(0x1d2)](_0x50984f[_0x4363d7(0x1c7)]),console['log'](_0x4363d7(0x1b0)),console[_0x4363d7(0x1d2)](_0x50984f['XtRFG']),console[_0x4363d7(0x1d2)](_0x50984f[_0x4363d7(0x1c4)]),console[_0x4363d7(0x1d2)](_0x50984f[_0x4363d7(0x1cb)]),console['log'](_0x50984f[_0x4363d7(0x1b3)]);const _0x1f327c=_0x50984f['DUOQP'](prompt,_0x50984f['lNLYd']);switch(_0x1f327c){case'1':yield(0x0,createKeys_1[_0x4363d7(0x1bf)])();break;case'2':yield(0x0,senderUI_1['sender'])();break;case'3':yield(0x0,jitoPool_1[_0x4363d7(0x1ab)])();break;case'4':yield(0x0,sellFunc_1[_0x4363d7(0x1a6)])();break;case'5':yield(0x0,sellFunc_1[_0x4363d7(0x1b8)])();break;case'6':yield(0x0,removeLiq_1[_0x4363d7(0x1c0)])();break;case _0x50984f[_0x4363d7(0x1be)]:_0x57ba56=![];break;default:console['log'](_0x50984f['ZKGoz']);}}console[_0x4363d7(0x1d2)](_0x50984f[_0x4363d7(0x1ca)]),process[_0x4363d7(0x1d6)](0x0);});}main()['catch'](_0x35ea01=>{const _0x344dce=a0_0x24ea05,_0x5bb8f5={'XeOAh':_0x344dce(0x1ad)};console[_0x344dce(0x1d1)](_0x5bb8f5[_0x344dce(0x1b1)],_0x35ea01);});