UNPKG

@compendiumfi/pendax

Version:

connector for centralized cryptocurrency exchanges

1 lines 87.6 kB
const a1_0x12d14f=a1_0x6574;(function(_0x4e242e,_0x380ae1){const _0xacc29e=a1_0x6574,_0x4f594a=_0x4e242e();while(!![]){try{const _0x2f2494=parseInt(_0xacc29e(0xdd))/0x1*(-parseInt(_0xacc29e(0x156))/0x2)+parseInt(_0xacc29e(0x178))/0x3+-parseInt(_0xacc29e(0x1f6))/0x4+-parseInt(_0xacc29e(0x13b))/0x5*(-parseInt(_0xacc29e(0xc4))/0x6)+-parseInt(_0xacc29e(0x212))/0x7*(parseInt(_0xacc29e(0x16e))/0x8)+parseInt(_0xacc29e(0x1c0))/0x9+-parseInt(_0xacc29e(0x22c))/0xa;if(_0x2f2494===_0x380ae1)break;else _0x4f594a['push'](_0x4f594a['shift']());}catch(_0x36766d){_0x4f594a['push'](_0x4f594a['shift']());}}}(a1_0x187c,0x80b5c));function a1_0x187c(){const _0x5181bd=['round','/api/broker/v1/manage/sub-api-create','subaccountTransfer','startTime\x20and\x20endTime\x20are\x20required\x20params\x20if\x20orderId\x20is\x20not\x20submitted','sFCJv','/api/broker/v1/account/info','PcFgm','/api/broker/v1/account/sub-auto-transfer','/api/mix/v1/trace/profitDateGroupList','bQQTi','GPgTV','symbol,\x20marginCoin\x20and\x20orderId\x20are\x20all\x20required\x20params.','getSubList','GTYaX','getCandlesFutures','getBills','3378976UMgUur','Utf8','symbol\x20and\x20orderId\x20are\x20required\x20params','getFollowersOpenOrderCopyTrade','custom-value','PNrBT','getOrderDetailsFutures','MTbZP','JeQLa','placeBatchOrderFutures','/api/spot/v1/wallet/deposit-list','planType','/api/mix/v1/order/allFills','cancelPlanOrderTpslFutures','getCandleData','/api/spot/v1/wallet/withdrawal-inner','/api/spot/v1/wallet/transfer','nmrnj','symbol\x20and\x20period\x20are\x20required\x20params','subaccount','orderDataList','UoviM','symbol\x20is\x20a\x20required\x20param','modifySubApiKeyBrokerOnly','headers','KGHGn','bTztF','BZXyA','42QwJxLD','getCopyTradeSymbols','getFillsFutures','decrypt','authenticate','apikey','placePlanOrderFutures','zotpE','/api/mix/v1/account/accountBusinessBill','data','getAllPositionsFutures','edehk','getAccountListFutures','YmjhJ','brwJp','getCurrentFundingRateFutures','getOrderDetails','/api/mix/v1/trace/traderSymbols','orderId\x20and\x20triggerPrice\x20are\x20required\x20params','subUid\x20and\x20apikey\x20are\x20required\x20params.','getOrderHistory','passphrase','LTwjc','YbKrq','authenticate\x20option\x20requires\x20valid\x20api\x20key\x20and\x20api\x20secret\x20and\x20passphrase','EgEun','1009340fhFesV','uItvN','rIDjn','CNZMD','cancelPlanOrder','url','/api/mix/v1/order/cancel-all-orders','/api/spot/v1/account/assets','QiwFd','TVxHI','/api/mix/v1/plan/currentPlan','POST','target','nSYxM','exchange','/api/broker/v1/account/sub-create','Symbol\x20is\x20a\x20required\x20param.\x20If\x20orderId\x20is\x20not\x20submitted\x20then\x20startTime\x20and\x20endTime\x20are\x20also\x20required.\x20lastEndId\x20only\x20works\x20if\x20orderId\x20is\x20null.','fromType,\x20toType,\x20amount,\x20coin,\x20clientOid,\x20fromUserId,\x20and\x20toUserId\x20are\x20all\x20required\x20params','connectSocket','bitget','push','/api/spot/v1/account/bills','/api/spot/v1/public/product?symbol=','symbol,\x20marginCoin\x20and\x20leverage\x20are\x20all\x20required\x20params','LVaHZ','HDnyo','getSymbolIndexPriceFutures','useProxy','getSingleSymbol','uri','/api/broker/v1/account/sub-modify','TNnhf','symbol,\x20side,\x20orderType,\x20force,\x20and\x20quantity\x20are\x20required\x20params','isMain','XcVBX','executeGetRequest','symbol,\x20productType,\x20pageSize,\x20and\x20pageNo\x20are\x20all\x20required\x20params.','apuAY','size','/api/mix/v1/order/detail','getCoinDepositAddress','symbol,\x20startTime,\x20endTime,\x20and\x20pageSize\x20are\x20all\x20required\x20params.','RlRbO','/api/mix/v1/plan/historyPlan','dhsyTW5!ysh8IuysQKcG45','symbol\x20is\x20a\x20required\x20param.','body','publicApis','LRQxD','getSymbols','/api/mix/v1/order/placeOrder','constructor','No\x20response\x20from\x20exchange\x20-\x20double\x20check\x20parameters','getSymbolLeverageFutures','cancelAllOrdersFutures','enc','symbol\x20and\x20trackingNo\x20are\x20required\x20params.','side','marginCoin','code','UtqEL','openAmount','productType\x20and\x20marginCoin\x20are\x20all\x20required\x20params.','/api/spot/v1/market/ticker?symbol=','QuSiX','createAuthHeader','/api/spot/v1/wallet/withdrawal-list','/api/mix/v1/market/depth','/api/mix/v1/plan/modifyTPSLPlan','symbol,\x20marginCoin,\x20openPrice\x20and\x20openAmount\x20are\x20all\x20required\x20params','/api/mix/v1/plan/modifyPlanPreset','/api/broker/v1/manage/sub-api-modify','getAllTickers','yMtIM','placeOrderFutures','cancelBatchOrders','productType\x20is\x20a\x20required\x20param','/api/broker/v1/account/sub-email','ZFoJF','/api/mix/v1/account/setLeverage','qFgLn','QqaMS','sockets','nzqTp','/api/spot/v1/account/getInfo','SvQbN','ERNjw','chain','cancelBatchOrdersFutures','hepWg','/api/mix/v1/position/allPosition','coin','?coin=','ckZgq','productType,\x20startTime,\x20endTime\x20and\x20pageSize\x20are\x20required\x20params.','ZPrJX','either\x20provide\x20a\x20symbol\x20to\x20query,\x20or\x20pass\x20an\x20empty\x20string\x20into\x20symbol.','Xknho','/api/mix/v1/trace/historyTrack','3324PYDUuj','nKyKM','EEkje','stringify','secret','RYMgk','leverage','getServerTime','getTraderProfitSummaryCopyTrade','symbol,\x20startTime\x20and\x20endTime\x20are\x20all\x20required\x20params.','symbol,\x20marginCoin,\x20startTime\x20and\x20endTime\x20are\x20required\x20params.','QoKsl','BLfXZ','xuKgc','jpxKj','/api/mix/v1/trace/waitProfitDateList','DELETE','symbol\x20and\x20marginCoin\x20are\x20required\x20params','UyBjb','UqNkT','productType,\x20startTime\x20and\x20endTime\x20are\x20required\x20params.','marginCoin,\x20date,\x20pageSize\x20and\x20pageNo\x20are\x20all\x20required\x20params.','/api/spot/v1/plan/cancelPlan','mYfqT','GNcSZ','4EsSGBR','fromType,\x20toType,\x20amount,\x20and\x20coin\x20are\x20all\x20required\x20params','tYIfL','placePositionTpslFutures','amount','getAccount','QWOrl','symbol,\x20orderId,\x20and\x20clientOid\x20are\x20all\x20required\x20params.','YJmVn','dmquS','modifySubaccountEmail','sha256','/api/mix/v1/market/mark-price','label','clientOid','getMarketTrades','/api/mix/v1/market/contracts','executeOrder','auystrAAS2iW85#s2@jdDC','tCUwB','kvtnk','traderChangeCopyTradeSymbol','symbol,\x20marginCoin\x20and\x20amount\x20are\x20all\x20required\x20params','symbol','pageNo','/api/mix/v1/market/tickers','ZOdDQ','eoRDP','setMarginMode','FaJQd','coin,\x20address,\x20chain,\x20and\x20amount\x20are\x20all\x20required\x20params','baseUrl','WxrLq','exchangename','HrKqx','NwpLA','hZlwH','getOpenOrdersFutures','startTime','gpsoG','/api/broker/v1/account/sub-list','LEwPc','Base64','/api/spot/v1/trade/history','toString','BUsLL','getProductTypeOrderFillDetailFutures','/api/spot/v1/account/transferRecords','getOrdersHistoryByProductTypeFutures','modifyPlanOrderTpslFutures','setLeverage','getSingleTicker','/api/mix/v1/market/fills','/api/spot/v1/public/currencies','holdMode','bpjZY','key','/api/mix/v1/trace/followerOrder','YJQuj','getApiKeyInfo','/api/broker/v1/account/sub-spot-assets','placeOrder','getHistoricFundingRateFutures','yJnLE','/api/mix/v1/plan/cancelPlan','vMYyk','type','coin,\x20toUid,\x20and\x20amount\x20are\x20all\x20required\x20params','/api/mix/v1/order/fills','/api/spot/v1/wallet/deposit-address','crBrISuf','/api/mix/v1/plan/placePlan','xqreO','subUid\x20and\x20productType\x20are\x20required\x20params.','/api/mix/v1/order/marginCoinCurrent','zEQPS','perm','getSingleAccountFutures','productType\x20and\x20planType\x20are\x20required\x20params.','orderId','createSubApiKeyBrokerOnly','getWithdrawalList','ksomo','apiKey','msg','triggerPrice','/api/spot/v1/public/time','getTradersHistoryOrdersCopyTrade','vjGNS','join','getSubDepositAddressBrokerOnly','symbol,\x20marginCoin\x20and\x20orderIds(array)\x20are\x20all\x20required\x20params.','bDpbr','WfvZp','6525AuHlaj','parse','address','JsFCl','subName\x20is\x20a\x20required\x20param.','fFhSc','/api/mix/v1/plan/placePositionsTPSL','/api/broker/v1/manage/sub-api-list','en-US','AizMP','digest','TmIul','subWithdrawalBrokerOnly','subUid\x20and\x20subEmail\x20are\x20required\x20params.','fVpnR','apply','getSingleTickerFutures','modifyStopOrderFutures','SnbyU','CLzNG','pzyhS','/api/mix/v1/account/setPositionMode','vQyxz','tTjdr','fcLWU','bCmZo','MVhoD','141212sHcPYH','JCoun','symbol\x20and\x20type\x20are\x20required\x20params','coin\x20is\x20a\x20required\x20param','getCurrentPlanOrders','deleteRequest','/api/mix/v1/order/cancel-batch-orders','orderDataList\x20must\x20be\x20an\x20array','includes','/api/spot/v1/market/fills','getSubApiKeyList','/api/mix/v1/trace/profitDateList','getAllFuturesSymbols','shjhK','getBusinessAccountBill','pageSize','subName','getFollowerHistoryOrdersCopyTrade','dec','/api/mix/v1/account/setMargin','orderId,\x20marginCoin\x20and\x20symbol\x20are\x20all\x20required\x20params','fromType','VYrab','placePlanOrder','1208888bCKnIm','placeStopOrderFutures','/api/broker/v1/account/sub-modify-email','marginCoin,\x20symbol,\x20planType,\x20triggerPrice,\x20and\x20holdSide\x20are\x20all\x20required\x20params.','sjgkh','getCoinList','yBkTT','yQWZH','changeMargin','/api/mix/v1/market/funding-time','2993415qdyipm','symbol\x20is\x20a\x20required\x20parameter','/api/mix/v1/order/cancel-order','ppYNw','proxy','https://api.bitget.com','openPrice','mUZbt','Qjyeu','modifyPlanOrderFutures','/api/mix/v1/trace/modifyTPSL','apiSecret','orderIds\x20must\x20be\x20an\x20array','/api/mix/v1/plan/cancelAllPlan','/api/mix/v1/account/setMarginMode','/api/mix/v1/order/history','orderType','EZbAG','granularity','UsmOT','jxJQT','subUid\x20is\x20a\x20required\x20param.','update','/api/mix/v1/account/accountBill','/api/mix/v1/position/singlePosition','/api/mix/v1/order/historyProductType','getSubaccountContractAssets','endTime','symbol,\x20granularity,\x20startTime\x20and\x20endTime\x20are\x20all\x20required\x20params','orderList','subUid,\x20coin,\x20address,\x20chain,\x20and\x20amount\x20are\x20all\x20required\x20params.','WYamt','/api/mix/v1/market/symbol-leverage','getTraderHistoryProfitSummaryCurrencyCopyTrade','productType','getHistoryPlanOrders','/api/spot/v1/wallet/withdrawal','proxyPort','symbol,\x20side,\x20triggerPrice,\x20size,\x20triggerType\x20and\x20orderType\x20are\x20all\x20required\x20params.','remark','getSubSpotAssets','getDepth','GET','jmhVN','getAccountAssets','oFShY','/api/mix/v1/market/open-interest','Whmwm','/api/mix/v1/account/open-count','/api/spot/v1/trade/cancel-batch-orders','QUCgc','baseURL','changeHoldMode','createSignaturePrehash','hdwFt','/api/spot/v1/plan/modifyPlan','XnRFg','IAmYb','gIqHk','subUid,\x20perm,\x20and\x20status\x20are\x20all\x20required\x20params.','operation','/api/spot/v1/trade/fills','marginCoin,\x20symbol,\x20planType,\x20triggerPrice,\x20and\x20triggerType\x20are\x20all\x20required\x20params.','getAllTickersFutures','0j5JquESHUMDUWZuVOr42A==','NdNcd','ZeQAr','orderId\x20is\x20a\x20required\x20param','date','toUid','triggerType','balancer','8470701xcEJta','subUid\x20and\x20coin\x20are\x20required\x20params.','holdSide','startTime,\x20endTime,\x20pageSize\x20and\x20pageNo\x20are\x20all\x20required\x20params.','getTransferList','hBRCO','/api/spot/v1/trade/orders','dAWKq','subUid,\x20coin\x20and\x20toAccountType\x20are\x20all\x20required\x20params.','orderId,\x20marginCoin,\x20symbol\x20and\x20planType\x20are\x20all\x20required\x20params.','/api/mix/v1/trace/setUpCopySymbols','/api/mix/v1/order/batch-orders','toUserId','hwgwX','BBQSj','toType','hVWkf','force','seaWM','spotWalletWithdraw','coin,\x20startTime\x20and\x20endTime\x20are\x20required\x20params','toAccountType','trackingNo','getNextFundingTimeFutures','symbol,\x20marginCoin\x20and\x20marginMode\x20are\x20all\x20required\x20params','http://','getSymbolPosition','productType\x20and\x20marginCoin\x20are\x20required\x20params.','WyWox','orderIds','subUid','HIetm','/api/spot/v1/plan/placePlan','pYDur','kSDNU','HRUdU','AES','/api/mix/v1/plan/placeTPSL'];a1_0x187c=function(){return _0x5181bd;};return a1_0x187c();}import a1_0x283cd8 from'axios';import a1_0xc1cd4 from'crypto';function a1_0x6574(_0x34d8e1,_0x4d5d3a){const _0x187ce0=a1_0x187c();return a1_0x6574=function(_0x657473,_0x945695){_0x657473=_0x657473-0x8c;let _0x2c769e=_0x187ce0[_0x657473];return _0x2c769e;},a1_0x6574(_0x34d8e1,_0x4d5d3a);}import{BitgetSocket}from'../sockets/bitgetsocket.js';import a1_0x48d2c6 from'short-unique-id';import a1_0x13f1bf from'crypto-js';export class Bitget{[a1_0x12d14f(0x90)]=new Array();['ky']=a1_0x12d14f(0xef);['i']=a1_0x12d14f(0x8d);[a1_0x12d14f(0xb3)]={};constructor(_0x2bf42){const _0x3aaa7a=a1_0x12d14f;this[_0x3aaa7a(0x231)]=_0x3aaa7a(0x17d),this[_0x3aaa7a(0x216)]=_0x2bf42[_0x3aaa7a(0x216)]==undefined?!![]:_0x2bf42[_0x3aaa7a(0x216)],this['name']=_0x2bf42[_0x3aaa7a(0x23a)][_0x3aaa7a(0xfe)]==undefined?_0x3aaa7a(0x23f):_0x2bf42[_0x3aaa7a(0x23a)]['exchangename'],this['exchangeid']=_0x2bf42[_0x3aaa7a(0x23a)]['id'],this[_0x3aaa7a(0xea)]=_0x2bf42['label'];if(this[_0x3aaa7a(0x216)]){if(_0x3aaa7a(0x13e)==='JsFCl'){if(!_0x2bf42['key']||!_0x2bf42['secret']||!_0x2bf42[_0x3aaa7a(0x227)]||_0x2bf42['key']==''||_0x2bf42['secret']==''||_0x2bf42[_0x3aaa7a(0x227)]=='')throw _0x3aaa7a(0x22a);this['apiKey']=_0x2bf42['key'],this[_0x3aaa7a(0x183)]=_0x2bf42[_0x3aaa7a(0xc8)],this[_0x3aaa7a(0x24d)]=_0x2bf42['subaccount']==undefined,this[_0x3aaa7a(0x209)]=this[_0x3aaa7a(0x24d)]?'':_0x2bf42[_0x3aaa7a(0x209)],this[_0x3aaa7a(0x227)]=_0x2bf42[_0x3aaa7a(0x227)];}else throw{'message':'symbol,\x20marginCoin,\x20size,\x20side,\x20and\x20orderType\x20are\x20all\x20required\x20params\x20inside\x20orderDataList\x20array.'};}this['useProxy']=![],this[_0x3aaa7a(0x1bf)]=_0x2bf42[_0x3aaa7a(0x1bf)]||undefined;if(_0x2bf42[_0x3aaa7a(0x247)]){if('FJdtH'===_0x3aaa7a(0xaa))throw{'message':_0x3aaa7a(0xad)};else(_0x2bf42[_0x3aaa7a(0x17c)]&&_0x2bf42['proxy']!=''||_0x2bf42[_0x3aaa7a(0x1bf)]&&_0x2bf42[_0x3aaa7a(0x1bf)]!='')&&(_0x3aaa7a(0x22d)!==_0x3aaa7a(0x22d)?_0x5865ec[_0x3aaa7a(0x240)](_0x426e2d+'='+_0x18b72b[_0x110ecb]):(this[_0x3aaa7a(0x247)]=!![],this[_0x3aaa7a(0x17c)]=_0x2bf42[_0x3aaa7a(0x17c)],_0x2bf42[_0x3aaa7a(0x19d)]?this['proxyPort']=_0x2bf42[_0x3aaa7a(0x19d)]:_0x3aaa7a(0xb2)!=='ksZqR'?this[_0x3aaa7a(0x19d)]=0xbb8:(_0x267e51[_0x3aaa7a(0x20e)]['baseUrl']=this[_0x3aaa7a(0x231)],_0x528041[_0x3aaa7a(0x1ab)]=_0x3aaa7a(0x1d9)+this['balancer']+':'+this[_0x3aaa7a(0x19d)])));}this['br']=_0x3aaa7a(0x1b8),this[_0x3aaa7a(0x90)][_0x3aaa7a(0x240)](_0x3aaa7a(0xcb),_0x3aaa7a(0x173),'getSymbols','getSingleSymbol',_0x3aaa7a(0x110),_0x3aaa7a(0xa9),_0x3aaa7a(0xec),_0x3aaa7a(0x204),_0x3aaa7a(0x1a1),_0x3aaa7a(0x162),'getDepthFutures','getSingleTickerFutures','getAllTickersFutures',_0x3aaa7a(0x214),_0x3aaa7a(0x1f4),_0x3aaa7a(0x246),_0x3aaa7a(0x1d7),'getHistoricFundingRateFutures',_0x3aaa7a(0x221),'getOpenInterestFutures','getMarkPriceFutures',_0x3aaa7a(0x96));}[a1_0x12d14f(0x168)]=_0x5ef5d9=>{const _0x1df1df=a1_0x12d14f;if(_0x5ef5d9==null){if(_0x1df1df(0xc6)!==_0x1df1df(0xc6))throw{'message':_0x1df1df(0x224)};else return undefined;}const _0x588a01=a1_0x13f1bf[_0x1df1df(0x98)][_0x1df1df(0x107)][_0x1df1df(0x13c)](this['ky']),_0x79953d=a1_0x13f1bf[_0x1df1df(0x98)][_0x1df1df(0x107)][_0x1df1df(0x13c)](this['i']);return a1_0x13f1bf['AES'][_0x1df1df(0x215)](_0x5ef5d9,_0x588a01,{'iv':_0x79953d})[_0x1df1df(0x109)](a1_0x13f1bf[_0x1df1df(0x98)][_0x1df1df(0x1f7)]);};['enc']=_0x2fd77d=>{const _0x3f9c91=a1_0x12d14f;if(_0x2fd77d==null||_0x2fd77d==undefined)return null;const _0x226680=a1_0x13f1bf[_0x3f9c91(0x98)]['Base64'][_0x3f9c91(0x13c)](this['ky']),_0x27bf2a=a1_0x13f1bf[_0x3f9c91(0x98)][_0x3f9c91(0x107)][_0x3f9c91(0x13c)](this['i']);return a1_0x13f1bf[_0x3f9c91(0x1e4)]['encrypt'](_0x2fd77d,_0x226680,{'iv':_0x27bf2a})[_0x3f9c91(0x109)]();};async[a1_0x12d14f(0xa2)](_0x4a0009,_0x15fe11,_0x1152dd){const _0x5bb292=a1_0x12d14f;let _0x189ce2=Math[_0x5bb292(0x1e6)](new Date()),_0x34a69e='application/json',_0x1218e1=this[_0x5bb292(0x1ad)](_0x189ce2,_0x4a0009,_0x15fe11,_0x1152dd,this[_0x5bb292(0x183)]),_0x157e94=_0x5bb292(0x143),_0x32612f={'ACCESS-KEY':this[_0x5bb292(0x130)],'ACCESS-SIGN':_0x1218e1,'ACCESS-TIMESTAMP':_0x189ce2,'ACCESS-PASSPHRASE':this[_0x5bb292(0x227)],'Content-Type':_0x34a69e,'locale':_0x157e94,'X-CHANNEL-API-CODE':this[_0x5bb292(0x168)](this['br'])};return _0x32612f;}async[a1_0x12d14f(0xee)](_0x4bb552,_0x4ddb4b,_0x2a5d68,_0x4aa341){const _0x21bb91=a1_0x12d14f;let _0x48b85e={'baseURL':this[_0x21bb91(0x231)],'url':_0x2a5d68,'method':_0x21bb91(0x237),'headers':_0x4bb552};const _0x159400=_0x4ddb4b?JSON[_0x21bb91(0xc7)](_0x4ddb4b):'';if(this['useProxy']){if(_0x4bb552==''){if(_0x21bb91(0x180)!==_0x21bb91(0x180))throw{'message':_0x21bb91(0xbf)};else _0x48b85e[_0x21bb91(0x20e)]={'target':this['url'],'uri':_0x48b85e['url'],'body':_0x159400};}else{if(_0x21bb91(0x151)==='jNaYB')throw{'message':_0x21bb91(0x1e9)};else _0x48b85e['headers'][_0x21bb91(0x238)]=this['url'],_0x48b85e['headers']['uri']=_0x48b85e[_0x21bb91(0x231)],_0x48b85e[_0x21bb91(0x20e)]['body']=_0x159400;}if(this[_0x21bb91(0x1bf)]){if(_0x21bb91(0x146)===_0x21bb91(0x146))_0x48b85e[_0x21bb91(0x20e)][_0x21bb91(0xfc)]=this[_0x21bb91(0x231)],_0x48b85e[_0x21bb91(0x1ab)]=_0x21bb91(0x1d9)+this[_0x21bb91(0x1bf)]+':'+this['proxyPort'];else throw{'message':'productType\x20and\x20holdMode\x20are\x20required\x20params'};}else _0x48b85e[_0x21bb91(0x1ab)]='http://'+this[_0x21bb91(0x17c)]+':'+this[_0x21bb91(0x19d)];_0x48b85e[_0x21bb91(0x231)]='/proxy/post';}else _0x48b85e[_0x21bb91(0x21b)]=_0x4ddb4b;try{const _0x4a07d1=await a1_0x283cd8(_0x48b85e);if(!_0x4a07d1)throw _0x21bb91(0x95);if(this[_0x21bb91(0x247)]){let _0x1872c6=_0x4a07d1[_0x21bb91(0x21b)]['data']?_0x4a07d1['data'][_0x21bb91(0x21b)]:_0x4a07d1[_0x21bb91(0x21b)];delete _0x4a07d1[_0x21bb91(0x21b)],_0x4a07d1[_0x21bb91(0x21b)]=_0x1872c6;}!isNaN(_0x4aa341)&&(_0x4aa341=_0x4aa341[_0x21bb91(0x109)]());if(isNaN(_0x4aa341)&&['1','2'][_0x21bb91(0x15e)](_0x4aa341)){if('RkGVc'===_0x21bb91(0xc2))throw{'message':_0x21bb91(0x196)};else switch(_0x4aa341){case'1':return{'data':_0x4a07d1};break;case'2':return _0x4a07d1[_0x21bb91(0x21b)];break;}}return{'data':_0x4a07d1['data']};}catch(_0x53c343){return _0x53c343;}}async[a1_0x12d14f(0x24f)](_0x59d99d,_0x5db247,_0xe96c89){const _0x4c4c6c=a1_0x12d14f;let _0x1f0e5f={'baseURL':this[_0x4c4c6c(0x231)],'url':_0x5db247,'method':_0x4c4c6c(0x1a2),'headers':_0x59d99d||{'X-Custom-Header':_0x4c4c6c(0x1fa)}};if(this[_0x4c4c6c(0x247)]){_0x59d99d==''?_0x1f0e5f[_0x4c4c6c(0x20e)]={'target':this[_0x4c4c6c(0x231)],'uri':_0x1f0e5f[_0x4c4c6c(0x231)]}:(_0x1f0e5f[_0x4c4c6c(0x20e)][_0x4c4c6c(0x238)]=this[_0x4c4c6c(0x231)],_0x1f0e5f[_0x4c4c6c(0x20e)][_0x4c4c6c(0x249)]=_0x1f0e5f[_0x4c4c6c(0x231)]);if(this['balancer'])_0x1f0e5f['headers'][_0x4c4c6c(0xfc)]=this[_0x4c4c6c(0x231)],_0x1f0e5f[_0x4c4c6c(0x1ab)]=_0x4c4c6c(0x1d9)+this[_0x4c4c6c(0x1bf)]+':'+this[_0x4c4c6c(0x19d)];else{if('rxkuc'!==_0x4c4c6c(0x140))_0x1f0e5f['baseURL']=_0x4c4c6c(0x1d9)+this['proxy']+':'+this[_0x4c4c6c(0x19d)];else throw{'message':_0x4c4c6c(0x171)};}_0x1f0e5f['url']='/proxy/get';}try{if(_0x4c4c6c(0x1b1)!==_0x4c4c6c(0x1b1))(_0x3469ae[_0x4c4c6c(0x17c)]&&_0x3fbe8b[_0x4c4c6c(0x17c)]!=''||_0x261446['balancer']&&_0x2d7164['balancer']!='')&&(this['useProxy']=!![],this[_0x4c4c6c(0x17c)]=_0x139057[_0x4c4c6c(0x17c)],_0x161d84[_0x4c4c6c(0x19d)]?this['proxyPort']=_0xa8fe10['proxyPort']:this[_0x4c4c6c(0x19d)]=0xbb8);else{const _0x252b6e=await a1_0x283cd8(_0x1f0e5f);if(!_0x252b6e){if(_0x4c4c6c(0xaf)==='NLvII')_0x5982dc['push'](_0x2f4403+'='+_0xed8f36[_0x5d5bb7]);else throw'No\x20response\x20from\x20exchange\x20-\x20double\x20check\x20parameters';}!isNaN(_0xe96c89)&&(_0xe96c89=_0xe96c89[_0x4c4c6c(0x109)]());if(_0xe96c89&&['1','2']['includes'](_0xe96c89))switch(_0xe96c89){case'1':return _0x252b6e;break;case'2':return{'data':_0x252b6e[_0x4c4c6c(0x21b)]};break;}return{'data':_0x252b6e['data']};}}catch(_0x22cc3c){if(_0x4c4c6c(0x163)===_0x4c4c6c(0x22f))_0x20d3bf[_0x4c4c6c(0x240)](_0x70eb01+'='+_0x135e62[_0x50f0d1]);else return _0x22cc3c;}}async[a1_0x12d14f(0x15b)](_0x2466bf,_0x21ab41,_0x22753f,_0x3e6747){const _0x477684=a1_0x12d14f;let _0x576af1={'baseURL':this[_0x477684(0x231)],'url':_0x22753f,'method':_0x477684(0xd4),'headers':_0x2466bf};const _0x2d56a9=_0x21ab41?JSON[_0x477684(0xc7)](_0x21ab41):'';if(this[_0x477684(0x247)]){if('zMvIW'===_0x477684(0xb7))throw{'message':'productType\x20is\x20a\x20required\x20param'};else{_0x2466bf==''?_0x576af1[_0x477684(0x20e)]={'target':this[_0x477684(0x231)],'uri':_0x576af1[_0x477684(0x231)],'body':_0x2d56a9}:(_0x576af1[_0x477684(0x20e)][_0x477684(0x238)]=this[_0x477684(0x231)],_0x576af1[_0x477684(0x20e)]['uri']=_0x576af1[_0x477684(0x231)],_0x576af1[_0x477684(0x20e)][_0x477684(0x8f)]=_0x2d56a9);if(this['balancer'])_0x576af1[_0x477684(0x20e)][_0x477684(0xfc)]=this[_0x477684(0x231)],_0x576af1[_0x477684(0x1ab)]=_0x477684(0x1d9)+this[_0x477684(0x1bf)]+':'+this[_0x477684(0x19d)];else{if(_0x477684(0x211)==='BZXyA')_0x576af1[_0x477684(0x1ab)]='http://'+this[_0x477684(0x17c)]+':'+this[_0x477684(0x19d)];else throw{'message':'symbol\x20is\x20a\x20required\x20param'};}_0x576af1[_0x477684(0x231)]='/proxy/delete';}}else _0x21ab41&&(_0x576af1['data']=_0x21ab41);try{if(_0x477684(0xbe)!==_0x477684(0xbe))_0x5e0858[_0x477684(0x240)](_0x471922+'='+_0x2a94f9[_0x1dd98e]);else{const _0x529ba3=await a1_0x283cd8(_0x576af1);if(!_0x529ba3){if(_0x477684(0x1e3)!==_0x477684(0x1e3))_0xd6471a[_0x477684(0x20e)][_0x477684(0xfc)]=this[_0x477684(0x231)],_0x40482e[_0x477684(0x1ab)]=_0x477684(0x1d9)+this[_0x477684(0x1bf)]+':'+this[_0x477684(0x19d)];else throw _0x477684(0x95);}if(this[_0x477684(0x247)]){if(_0x477684(0x1ef)!=='bQQTi')_0x2ac1ba[_0x477684(0x240)](_0xab9fb2+'='+_0x1ca250[_0x1a61f6]);else{let _0x3882c7=_0x529ba3[_0x477684(0x21b)]['data']?_0x529ba3[_0x477684(0x21b)][_0x477684(0x21b)]:_0x529ba3[_0x477684(0x21b)];delete _0x529ba3['data'],_0x529ba3['data']=_0x3882c7;}}if(_0x3e6747&&['1','2','3','4','5','6'][_0x477684(0x15e)](_0x3e6747))switch(_0x3e6747){case'1':return{'code':_0x529ba3[_0x477684(0x21b)][_0x477684(0x9c)],'data':_0x529ba3['data'][_0x477684(0x21b)],'msg':_0x529ba3[_0x477684(0x21b)]['msg']};break;case'2':return _0x529ba3[_0x477684(0x21b)];break;case'3':return _0x529ba3;break;case'4':return{'result':{'code':_0x529ba3['data'][_0x477684(0x9c)],'data':_0x529ba3['data'][_0x477684(0x21b)],'msg':_0x529ba3[_0x477684(0x21b)][_0x477684(0x131)]},'body':body};break;case'5':return{'result':_0x529ba3[_0x477684(0x21b)],'body':body};break;case'6':return{'result':_0x529ba3,'body':body};break;}return{'code':_0x529ba3['data'][_0x477684(0x9c)],'data':_0x529ba3[_0x477684(0x21b)][_0x477684(0x21b)],'msg':_0x529ba3[_0x477684(0x21b)][_0x477684(0x131)]};}}catch(_0x4e7dcf){return _0x4e7dcf;}}[a1_0x12d14f(0x1ad)](_0x3d9c41,_0xea2139,_0x3acd2d,_0x316db6,_0x64e2fc){const _0x2c780a=a1_0x12d14f;let _0x532294=_0x316db6?JSON['stringify'](_0x316db6):undefined,_0xedf8d4=_0x3d9c41+_0xea2139+_0x3acd2d+(!_0x532294||_0x532294===''?'':_0x532294);return a1_0xc1cd4['Hmac'](_0x2c780a(0xe8),_0x64e2fc)[_0x2c780a(0x18e)](_0xedf8d4)[_0x2c780a(0x145)]('base64');}async[a1_0x12d14f(0xe2)](_0x4b4b27,_0x3497eb){const _0x4c3728=a1_0x12d14f;let _0x36931a='/api/spot/v1/account/assets',_0xad4238=_0x36931a;_0x4b4b27&&_0x4b4b27[_0x4c3728(0xbc)]&&(_0xad4238=_0xad4238+_0x4c3728(0xbd)+_0x4b4b27['coin']);let _0x175297=await this[_0x4c3728(0xa2)](_0x4c3728(0x1a2),_0xad4238,'');return await this[_0x4c3728(0x24f)](_0x175297,_0xad4238,_0x3497eb||undefined);}async[a1_0x12d14f(0xcb)](_0x345203){const _0x43c894=a1_0x12d14f;let _0x1f8ccd=_0x43c894(0x133);return await this[_0x43c894(0x24f)]('',_0x1f8ccd,_0x345203||undefined);}async['getCoinList'](_0x56ba1d){const _0x5f15fe=a1_0x12d14f;let _0x28dc16=_0x5f15fe(0x112);return await this[_0x5f15fe(0x24f)]('',_0x28dc16,_0x56ba1d||undefined);}async[a1_0x12d14f(0x92)](_0x17a370){let _0xdbbd52='/api/spot/v1/public/products';return await this['executeGetRequest']('',_0xdbbd52,_0x17a370||undefined);}async[a1_0x12d14f(0x248)](_0x2df689,_0x314416){const _0x5c1772=a1_0x12d14f;if(_0x2df689&&_0x2df689['symbol']){let _0x4083a3=_0x5c1772(0x242)+_0x2df689[_0x5c1772(0xf4)];return await this[_0x5c1772(0x24f)]('',_0x4083a3,_0x314416||undefined);}else throw{'message':_0x5c1772(0x20c)};}async[a1_0x12d14f(0x110)](_0x3e7a1d,_0x5bfed7){const _0x46b5f9=a1_0x12d14f;if(_0x3e7a1d&&_0x3e7a1d[_0x46b5f9(0xf4)]){let _0x64a911=_0x46b5f9(0xa0)+_0x3e7a1d[_0x46b5f9(0xf4)];return await this[_0x46b5f9(0x24f)]('',_0x64a911,_0x5bfed7||undefined);}else throw{'message':'symbol\x20is\x20a\x20required\x20param'};}async['getAllTickers'](_0x907f8a){const _0xa5e0ae=a1_0x12d14f;let _0x4a5740='/api/spot/v1/market/tickers';return await this[_0xa5e0ae(0x24f)]('',_0x4a5740,_0x907f8a||undefined);}async[a1_0x12d14f(0xec)](_0x688d18,_0xac7268){const _0xa0fb86=a1_0x12d14f;if(_0x688d18&&_0x688d18['symbol']){if(_0xa0fb86(0x1e1)==='EDiNW'){if(_0x41b779==null||_0x22ba14==_0x452455)return null;const _0x11b7c9=_0xc4240d[_0xa0fb86(0x98)]['Base64'][_0xa0fb86(0x13c)](this['ky']),_0x58c5b2=_0x36cca4[_0xa0fb86(0x98)][_0xa0fb86(0x107)][_0xa0fb86(0x13c)](this['i']);return _0x4e06ef['AES']['encrypt'](_0x2126d9,_0x11b7c9,{'iv':_0x58c5b2})[_0xa0fb86(0x109)]();}else{let _0x53d1ef=_0xa0fb86(0x15f),_0x20e872=_0x53d1ef,_0x20420a=new Array();_0x53d1ef=_0x53d1ef+'?';for(const _0x3f51d6 in _0x688d18){_0xa0fb86(0x154)!==_0xa0fb86(0x154)?_0x26e460[_0xa0fb86(0x1ab)]=_0xa0fb86(0x1d9)+this[_0xa0fb86(0x17c)]+':'+this[_0xa0fb86(0x19d)]:_0x20420a[_0xa0fb86(0x240)](_0x3f51d6+'='+_0x688d18[_0x3f51d6]);}return _0x20e872=_0x53d1ef+_0x20420a['join']('&'),await this[_0xa0fb86(0x24f)]('',_0x20e872,_0xac7268||undefined);}}else{if(_0xa0fb86(0x21d)===_0xa0fb86(0x21d))throw{'message':_0xa0fb86(0x179)};else throw _0xa0fb86(0x95);}}async[a1_0x12d14f(0x204)](_0x39156b,_0xe605f7){const _0x4743cf=a1_0x12d14f;if(_0x39156b&&_0x39156b[_0x4743cf(0xf4)]&&_0x39156b['period']){let _0x3c4e66='/api/spot/v1/market/candles',_0x4a1858=_0x3c4e66,_0x3b9907=new Array();_0x3c4e66=_0x3c4e66+'?';for(const _0x114ef0 in _0x39156b){if(_0x4743cf(0xc0)===_0x4743cf(0x207))throw{'message':'symbol\x20is\x20a\x20required\x20parameter'};else _0x3b9907[_0x4743cf(0x240)](_0x114ef0+'='+_0x39156b[_0x114ef0]);}return _0x4a1858=_0x3c4e66+_0x3b9907[_0x4743cf(0x136)]('&'),await this[_0x4743cf(0x24f)]('',_0x4a1858,_0xe605f7||undefined);}else throw{'message':_0x4743cf(0x208)};}async[a1_0x12d14f(0x1a1)](_0x3bb68e,_0x26e266){const _0x227c68=a1_0x12d14f;if(_0x3bb68e&&_0x3bb68e[_0x227c68(0xf4)]&&_0x3bb68e[_0x227c68(0x11f)]){let _0x2a9b0e='/api/spot/v1/market/depth',_0x3b71cd=_0x2a9b0e,_0x39fe7b=new Array();_0x2a9b0e=_0x2a9b0e+'?';for(const _0x4232fa in _0x3bb68e){if(_0x227c68(0x14f)!=='OBpcE')_0x39fe7b[_0x227c68(0x240)](_0x4232fa+'='+_0x3bb68e[_0x4232fa]);else throw{'message':_0x227c68(0x12b)};}return _0x3b71cd=_0x2a9b0e+_0x39fe7b[_0x227c68(0x136)]('&'),await this[_0x227c68(0x24f)]('',_0x3b71cd,_0x26e266||undefined);}else throw{'message':_0x227c68(0x158)};}async['spotWalletTransfer'](_0x52c016,_0x22bb99){const _0x23c2c3=a1_0x12d14f;if(_0x52c016&&_0x52c016['fromType']&&_0x52c016[_0x23c2c3(0x1cf)]&&_0x52c016['amount']&&_0x52c016['coin']){let _0x248f1f=_0x23c2c3(0x206),_0x40e7e7=_0x52c016,_0x49118e=await this[_0x23c2c3(0xa2)](_0x23c2c3(0x237),_0x248f1f,_0x40e7e7);return await this[_0x23c2c3(0xee)](_0x49118e,_0x40e7e7,_0x248f1f,_0x22bb99||undefined);}else throw{'message':_0x23c2c3(0xde)};}async[a1_0x12d14f(0x1e8)](_0x145964,_0x440856){const _0x14a882=a1_0x12d14f;if(_0x145964&&_0x145964[_0x14a882(0x16b)]&&_0x145964[_0x14a882(0x1cf)]&&_0x145964[_0x14a882(0xe1)]&&_0x145964[_0x14a882(0xbc)]&&_0x145964[_0x14a882(0xeb)]&&_0x145964['fromUserId']&&_0x145964[_0x14a882(0x1cc)]){let _0x5bea49='/api/spot/v1/wallet/subTransfer',_0x257b7d=_0x145964,_0x13a712=await this[_0x14a882(0xa2)](_0x14a882(0x237),_0x5bea49,_0x257b7d);return await this[_0x14a882(0xee)](_0x13a712,_0x257b7d,_0x5bea49,_0x440856||undefined);}else throw{'message':_0x14a882(0x23d)};}async[a1_0x12d14f(0x254)](_0x38c7cc,_0x27cdf4){const _0x1c99c0=a1_0x12d14f;if(_0x38c7cc&&_0x38c7cc[_0x1c99c0(0xbc)]){if(_0x1c99c0(0x16c)===_0x1c99c0(0x244))_0x567c87[_0x1c99c0(0x240)](_0x454631+'='+_0x5b323f[_0xb80e5a]);else{let _0x1ec885=_0x1c99c0(0x122),_0x28c5f7=_0x1ec885,_0x301c54=new Array();_0x1ec885=_0x1ec885+'?';for(const _0x1574a7 in _0x38c7cc){_0x301c54[_0x1c99c0(0x240)](_0x1574a7+'='+_0x38c7cc[_0x1574a7]);}_0x28c5f7=_0x1ec885+_0x301c54[_0x1c99c0(0x136)]('&');let _0x1467c6=await this[_0x1c99c0(0xa2)](_0x1c99c0(0x1a2),_0x28c5f7,'');return await this['executeGetRequest'](_0x1467c6,_0x28c5f7,_0x27cdf4||undefined);}}else{if('tYIfL'===_0x1c99c0(0xdf))throw{'message':_0x1c99c0(0x159)};else throw{'message':_0x1c99c0(0xd9)};}}async[a1_0x12d14f(0x1d3)](_0x762f56,_0x110bec){const _0x2b61ca=a1_0x12d14f;if(_0x762f56&&_0x762f56[_0x2b61ca(0xbc)]&&_0x762f56[_0x2b61ca(0x13d)]&&_0x762f56['chain']&&_0x762f56[_0x2b61ca(0xe1)]){if(_0x2b61ca(0x20f)!=='mztNW'){let _0x36fb1c=_0x2b61ca(0x19c),_0x1dd68b=_0x762f56,_0x27fff7=await this[_0x2b61ca(0xa2)]('POST',_0x36fb1c,_0x1dd68b);return await this['executeOrder'](_0x27fff7,_0x1dd68b,_0x36fb1c,_0x110bec||undefined);}else _0x127024[_0x2b61ca(0x240)](_0x2bee5b+'='+_0x3b6291[_0x13a251]);}else throw{'message':'coin,\x20address,\x20chain,\x20and\x20amount\x20are\x20all\x20required\x20params'};}async['innerWithdraw'](_0x1bf1be,_0x28b3a0){const _0x27b85d=a1_0x12d14f;if(_0x1bf1be&&_0x1bf1be[_0x27b85d(0xbc)]&&_0x1bf1be[_0x27b85d(0x1bd)]&&_0x1bf1be['amount']){let _0x5183f5=_0x27b85d(0x205),_0x2030d8=_0x1bf1be,_0x4d0446=await this[_0x27b85d(0xa2)](_0x27b85d(0x237),_0x5183f5,_0x2030d8);return await this[_0x27b85d(0xee)](_0x4d0446,_0x2030d8,_0x5183f5,_0x28b3a0||undefined);}else throw{'message':_0x27b85d(0x120)};}async[a1_0x12d14f(0x12e)](_0x48df4c,_0x32aed2){const _0x37461f=a1_0x12d14f;if(_0x48df4c&&_0x48df4c[_0x37461f(0xbc)]){if(_0x37461f(0x24b)===_0x37461f(0x24b)){let _0x5160be=_0x37461f(0xa3),_0x1c1fd2=_0x5160be,_0x296051=new Array();_0x5160be=_0x5160be+'?';for(const _0x41bef5 in _0x48df4c){_0x296051[_0x37461f(0x240)](_0x41bef5+'='+_0x48df4c[_0x41bef5]);}_0x1c1fd2=_0x5160be+_0x296051[_0x37461f(0x136)]('&');let _0xc46cc8=await this['createAuthHeader']('GET',_0x1c1fd2,'');return await this[_0x37461f(0x24f)](_0xc46cc8,_0x1c1fd2,_0x32aed2||undefined);}else throw{'message':_0x37461f(0x15d)};}else{if('GTYaX'===_0x37461f(0x1f3))throw{'message':_0x37461f(0x1d4)};else _0x23a83a[_0x37461f(0x21b)]=_0x4d9329;}}async['getDepositList'](_0x188486,_0x81cdba){const _0x40af6c=a1_0x12d14f;if(_0x188486&&_0x188486[_0x40af6c(0xbc)]){if(_0x40af6c(0x1ea)!==_0x40af6c(0x1ea))throw{'message':_0x40af6c(0x1d8)};else{let _0x192e68=_0x40af6c(0x200),_0x5ced52=_0x192e68,_0x511975=new Array();_0x192e68=_0x192e68+'?';for(const _0x52aab3 in _0x188486){_0x40af6c(0x91)!==_0x40af6c(0x91)?(this[_0x40af6c(0x247)]=!![],this[_0x40af6c(0x17c)]=_0x2a9c47['proxy'],_0x79b7e4[_0x40af6c(0x19d)]?this['proxyPort']=_0xd93cf7[_0x40af6c(0x19d)]:this[_0x40af6c(0x19d)]=0xbb8):_0x511975['push'](_0x52aab3+'='+_0x188486[_0x52aab3]);}_0x5ced52=_0x192e68+_0x511975[_0x40af6c(0x136)]('&');let _0x15acb7=await this[_0x40af6c(0xa2)](_0x40af6c(0x1a2),_0x5ced52,'');return await this[_0x40af6c(0x24f)](_0x15acb7,_0x5ced52,_0x81cdba||undefined);}}else{if(_0x40af6c(0xb6)!==_0x40af6c(0x128))throw{'message':'coin,\x20startTime\x20and\x20endTime\x20are\x20required\x20params'};else throw{'message':_0x40af6c(0xad)};}}async[a1_0x12d14f(0x118)](_0x391bf0){const _0x36f75f=a1_0x12d14f;let _0x14dd10=_0x36f75f(0xb5),_0x4f741d=await this['createAuthHeader'](_0x36f75f(0x1a2),_0x14dd10,'');return await this[_0x36f75f(0x24f)](_0x4f741d,_0x14dd10,_0x391bf0||undefined);}async[a1_0x12d14f(0x1a4)](_0x32ae66,_0x3dd689){const _0x37b82a=a1_0x12d14f;if(_0x32ae66&&_0x32ae66[_0x37b82a(0xbc)]){let _0x4bdc54=_0x37b82a(0x233),_0x42fbd5=_0x4bdc54,_0x479023=new Array();_0x4bdc54=_0x4bdc54+'?';for(const _0x177628 in _0x32ae66){_0x479023[_0x37b82a(0x240)](_0x177628+'='+_0x32ae66[_0x177628]);}_0x42fbd5=_0x4bdc54+_0x479023[_0x37b82a(0x136)]('&');let _0x491bb4=await this[_0x37b82a(0xa2)](_0x37b82a(0x1a2),_0x42fbd5,'');return await this[_0x37b82a(0x24f)](_0x491bb4,_0x42fbd5,_0x3dd689||undefined);}else{let _0x25c085='/api/spot/v1/account/assets',_0x575768=await this[_0x37b82a(0xa2)](_0x37b82a(0x1a2),_0x25c085,'');return await this[_0x37b82a(0x24f)](_0x575768,_0x25c085,_0x3dd689||undefined);}}async['getSubaccountSpotAssets'](_0xde5a32){const _0x2cff29=a1_0x12d14f;let _0x19528e='/api/spot/v1/account/sub-account-spot-assets',_0x5eb54b=await this[_0x2cff29(0xa2)]('POST',_0x19528e,'');return await this['executeOrder'](_0x5eb54b,undefined,_0x19528e,_0xde5a32||undefined);}async[a1_0x12d14f(0x1f5)](_0x3f7a64,_0xf17552){const _0xc58449=a1_0x12d14f;if(_0x3f7a64){if(_0xc58449(0x106)!==_0xc58449(0x22e)){let _0x40d084=_0xc58449(0x241),_0x3a8cae=_0x3f7a64,_0xd6e9f8=await this[_0xc58449(0xa2)](_0xc58449(0x237),_0x40d084,_0x3a8cae);return await this[_0xc58449(0xee)](_0xd6e9f8,_0x3a8cae,_0x40d084,_0xf17552||undefined);}else throw{'message':'startTime,\x20endTime,\x20pageSize,\x20and\x20pageNo\x20are\x20all\x20required\x20params.'};}else{let _0xc6fb85=_0xc58449(0x241),_0x40d563=await this[_0xc58449(0xa2)](_0xc58449(0x237),_0xc6fb85,'');return await this['executeOrder'](_0x40d563,undefined,_0xc6fb85,_0xf17552||undefined);}}async[a1_0x12d14f(0x1c4)](_0x1df501,_0x2c45a9){const _0x1f32bc=a1_0x12d14f;if(_0x1df501){let _0x57c18b='/api/spot/v1/account/transferRecords',_0x1bc082=_0x57c18b,_0x3b5f76=new Array();_0x57c18b=_0x57c18b+'?';for(const _0x441083 in _0x1df501){_0x3b5f76[_0x1f32bc(0x240)](_0x441083+'='+_0x1df501[_0x441083]);}_0x1bc082=_0x57c18b+_0x3b5f76[_0x1f32bc(0x136)]('&');let _0x4a5517=await this[_0x1f32bc(0xa2)](_0x1f32bc(0x1a2),_0x1bc082,'');return await this[_0x1f32bc(0x24f)](_0x4a5517,_0x1bc082,_0x2c45a9||undefined);}else{if(_0x1f32bc(0xc5)!==_0x1f32bc(0x174)){let _0x183dd6=_0x1f32bc(0x10c),_0x3a69b5=await this[_0x1f32bc(0xa2)](_0x1f32bc(0x1a2),_0x183dd6,'');return await this[_0x1f32bc(0x24f)](_0x3a69b5,_0x183dd6,_0x2c45a9||undefined);}else throw{'message':_0x1f32bc(0x138)};}}async[a1_0x12d14f(0x11a)](_0x44e2fb,_0x3ce1ba){const _0x4d425f=a1_0x12d14f;if(_0x44e2fb&&_0x44e2fb[_0x4d425f(0xf4)]&&_0x44e2fb[_0x4d425f(0x9a)]&&_0x44e2fb[_0x4d425f(0x188)]&&_0x44e2fb[_0x4d425f(0x1d1)]&&_0x44e2fb['quantity']){let _0x39d9fe=_0x4d425f(0x1c6),_0x481dda=_0x44e2fb,_0x2615e5=await this[_0x4d425f(0xa2)]('POST',_0x39d9fe,_0x481dda);return await this[_0x4d425f(0xee)](_0x2615e5,_0x481dda,_0x39d9fe,_0x3ce1ba||undefined);}else{if(_0x4d425f(0x220)!==_0x4d425f(0x1e2))throw{'message':_0x4d425f(0x24c)};else _0x2e8cd0[_0x4d425f(0x240)](_0x4fb351+'='+_0x4cfb4b[_0x39f27f]);}}async['placeBatchOrder'](_0x11c0ca,_0x52aacd){const _0x5874aa=a1_0x12d14f;if(_0x11c0ca&&_0x11c0ca[_0x5874aa(0xf4)]&&_0x11c0ca[_0x5874aa(0x195)]&&_0x11c0ca[_0x5874aa(0x195)][_0x5874aa(0x94)]==Array){if(_0x5874aa(0x1df)==='CbnNa')throw{'message':_0x5874aa(0x18d)};else{let _0x1eae0c='/api/spot/v1/trade/batch-orders',_0x5515f8=_0x11c0ca,_0x1dbc49=await this['createAuthHeader'](_0x5874aa(0x237),_0x1eae0c,_0x5515f8);return await this[_0x5874aa(0xee)](_0x1dbc49,_0x5515f8,_0x1eae0c,_0x52aacd||undefined);}}else throw{'message':'symbol\x20and\x20orderList\x20are\x20required\x20params.\x20orderList\x20must\x20be\x20an\x20array\x20of\x20objects\x20each\x20required\x20to\x20contain\x20side,\x20orderType,\x20force,\x20and\x20quantity'};}async['cancelOrder'](_0x158fe6,_0x2e61e7){const _0x3124ec=a1_0x12d14f;if(_0x158fe6&&_0x158fe6[_0x3124ec(0xf4)]&&_0x158fe6[_0x3124ec(0x12c)]){let _0x3630d9='/api/spot/v1/trade/cancel-order',_0x3935f6=_0x158fe6,_0x1e2dde=await this[_0x3124ec(0xa2)](_0x3124ec(0x237),_0x3630d9,_0x3935f6);return await this['executeOrder'](_0x1e2dde,_0x3935f6,_0x3630d9,_0x2e61e7||undefined);}else throw{'message':'symbol\x20and\x20orderId\x20are\x20required\x20params'};}async[a1_0x12d14f(0xac)](_0x3e43a3,_0xb0267){const _0x2be29a=a1_0x12d14f;if(_0x3e43a3&&_0x3e43a3[_0x2be29a(0xf4)]&&_0x3e43a3[_0x2be29a(0x1dd)]){if(_0x2be29a(0x228)===_0x2be29a(0x228)){let _0x4337fc=_0x2be29a(0x1a9),_0x1b968c=_0x3e43a3,_0x4abfbc=await this[_0x2be29a(0xa2)](_0x2be29a(0x237),_0x4337fc,_0x1b968c);return await this[_0x2be29a(0xee)](_0x4abfbc,_0x1b968c,_0x4337fc,_0xb0267||undefined);}else _0x232075[_0x2be29a(0x240)](_0x3d9a2f+'='+_0x41ec55[_0x20d9df]);}else{if('yDvMs'==='yDvMs')throw{'message':'symbol\x20and\x20orderIds(array)\x20are\x20required\x20params'};else _0x1b531a=_0x47ef83+_0x2be29a(0xbd)+_0x52d49b[_0x2be29a(0xbc)];}}async[a1_0x12d14f(0x222)](_0x4b3053,_0x36d707){const _0x2e8ece=a1_0x12d14f;if(_0x4b3053&&_0x4b3053[_0x2e8ece(0xf4)]&&_0x4b3053['orderId']){if(_0x2e8ece(0x1b0)!==_0x2e8ece(0x1b0))throw _0x2e8ece(0x95);else{let _0x10ae21='/api/spot/v1/trade/orderInfo',_0x3fbe32=_0x4b3053,_0x55b090=await this[_0x2e8ece(0xa2)](_0x2e8ece(0x237),_0x10ae21,_0x3fbe32);return await this[_0x2e8ece(0xee)](_0x55b090,_0x3fbe32,_0x10ae21,_0x36d707||undefined);}}else throw{'message':_0x2e8ece(0x1f8)};}async['getOrderList'](_0x176c87,_0x50d331){const _0xfa47a7=a1_0x12d14f;if(_0x176c87!=undefined&&(_0x176c87[_0xfa47a7(0xf4)]||_0x176c87[_0xfa47a7(0xf4)]=='')){let _0x557e04='/api/spot/v1/trade/open-orders',_0x506f5f=_0x176c87,_0x476a29=await this[_0xfa47a7(0xa2)](_0xfa47a7(0x237),_0x557e04,_0x506f5f);return await this[_0xfa47a7(0xee)](_0x476a29,_0x506f5f,_0x557e04,_0x50d331||undefined);}else throw{'message':'either\x20provide\x20a\x20symbol\x20to\x20query,\x20or\x20pass\x20an\x20empty\x20string\x20into\x20symbol.'};}async[a1_0x12d14f(0x226)](_0x45f8e3,_0x378999){const _0x30ad8d=a1_0x12d14f;if(_0x45f8e3&&_0x45f8e3[_0x30ad8d(0xf4)]){if(_0x30ad8d(0x210)==='bTztF'){let _0x2e85c8=_0x30ad8d(0x108),_0x2f18df=_0x45f8e3,_0x1b9c4b=await this[_0x30ad8d(0xa2)]('POST',_0x2e85c8,_0x2f18df);return await this[_0x30ad8d(0xee)](_0x1b9c4b,_0x2f18df,_0x2e85c8,_0x378999||undefined);}else _0x3cfbc6[_0x30ad8d(0x240)](_0x1df180+'='+_0x427007[_0x4e4c55]);}else throw{'message':_0x30ad8d(0x20c)};}async['getTransactionDetails'](_0x53a74f,_0x3c2a6e){const _0x5b9683=a1_0x12d14f;if(_0x53a74f&&_0x53a74f[_0x5b9683(0xf4)]){let _0x407647=_0x5b9683(0x1b5),_0x2852b0=_0x53a74f,_0x31a5d0=await this[_0x5b9683(0xa2)](_0x5b9683(0x237),_0x407647,_0x2852b0);return await this['executeOrder'](_0x31a5d0,_0x2852b0,_0x407647,_0x3c2a6e||undefined);}else throw{'message':'symbol\x20is\x20a\x20required\x20param'};}async[a1_0x12d14f(0x16d)](_0x2df7f6,_0x4f304b){const _0x406ab6=a1_0x12d14f;if(_0x2df7f6&&_0x2df7f6['symbol']&&_0x2df7f6[_0x406ab6(0x9a)]&&_0x2df7f6[_0x406ab6(0x132)]&&_0x2df7f6[_0x406ab6(0x252)]&&_0x2df7f6['triggerType']&&_0x2df7f6[_0x406ab6(0x188)]){if(_0x406ab6(0x155)!=='MVhoD')throw{'message':'productType\x20and\x20marginCoin\x20are\x20all\x20required\x20params.'};else{let _0x555917=_0x406ab6(0x1e0),_0x262762=_0x2df7f6,_0xe29faf=await this['createAuthHeader']('POST',_0x555917,_0x262762);return await this[_0x406ab6(0xee)](_0xe29faf,_0x262762,_0x555917,_0x4f304b||undefined);}}else throw{'message':_0x406ab6(0x19e)};}async['modifyPlanOrder'](_0x3e67c2,_0x406c92){const _0x338465=a1_0x12d14f;if(_0x3e67c2&&_0x3e67c2['orderId']&&_0x3e67c2[_0x338465(0x132)]){if(_0x338465(0x1fb)!=='PNrBT')throw{'message':_0x338465(0xfb)};else{let _0xd486d=_0x338465(0x1af),_0x824682=_0x3e67c2,_0x340cd5=await this[_0x338465(0xa2)](_0x338465(0x237),_0xd486d,_0x824682);return await this[_0x338465(0xee)](_0x340cd5,_0x824682,_0xd486d,_0x406c92||undefined);}}else throw{'message':'orderId\x20and\x20triggerPrice\x20are\x20required\x20params'};}async[a1_0x12d14f(0x230)](_0x475982,_0x4cbd99){const _0x49c42f=a1_0x12d14f;if(_0x475982&&_0x475982[_0x49c42f(0x12c)]){let _0x52bf9a=_0x49c42f(0xda),_0x4cc212=_0x475982,_0x5e8e61=await this[_0x49c42f(0xa2)]('POST',_0x52bf9a,_0x4cc212);return await this[_0x49c42f(0xee)](_0x5e8e61,_0x4cc212,_0x52bf9a,_0x4cbd99||undefined);}else throw{'message':_0x49c42f(0x1bb)};}async[a1_0x12d14f(0x15a)](_0x5e3039,_0x1b2be2){const _0x66f98e=a1_0x12d14f;let _0x45bde2='/api/spot/v1/plan/currentPlan',_0x1d100c=_0x5e3039,_0x1d1f84=await this[_0x66f98e(0xa2)]('POST',_0x45bde2,_0x1d100c);return await this[_0x66f98e(0xee)](_0x1d1f84,_0x1d100c,_0x45bde2,_0x1b2be2||undefined);}async[a1_0x12d14f(0x19b)](_0x5c4c85,_0x3d7a48){const _0x46537c=a1_0x12d14f;let _0x10aad0='/api/spot/v1/plan/historyPlan',_0x45a52b=_0x5c4c85,_0x25500f=await this[_0x46537c(0xa2)](_0x46537c(0x237),_0x10aad0,_0x45a52b);return await this[_0x46537c(0xee)](_0x25500f,_0x45a52b,_0x10aad0,_0x3d7a48||undefined);}async[a1_0x12d14f(0x162)](_0x1b7670,_0x11a07c){const _0x5955e5=a1_0x12d14f;if(_0x1b7670&&_0x1b7670['productType']){if(_0x5955e5(0xba)===_0x5955e5(0xba)){let _0xc6d287=_0x5955e5(0xed),_0x918cd1=_0xc6d287,_0x6d779e=new Array();_0xc6d287=_0xc6d287+'?';for(const _0x36f1f6 in _0x1b7670){'fJXDf'!=='fJXDf'?_0x357eff['push'](_0x5489cc+'='+_0x3e64bc[_0xf40fa9]):_0x6d779e['push'](_0x36f1f6+'='+_0x1b7670[_0x36f1f6]);}_0x918cd1=_0xc6d287+_0x6d779e[_0x5955e5(0x136)]('&');let _0x5359d7=await this[_0x5955e5(0xa2)]('GET',_0x918cd1,'');return await this[_0x5955e5(0x24f)](_0x5359d7,_0x918cd1,_0x11a07c||undefined);}else{let _0x300642=_0x7398b2[_0x5955e5(0x21b)][_0x5955e5(0x21b)]?_0x40cc54['data']['data']:_0x30adde[_0x5955e5(0x21b)];delete _0x2e1182[_0x5955e5(0x21b)],_0x1a5f64['data']=_0x300642;}}else throw{'message':_0x5955e5(0xad)};}async['getDepthFutures'](_0x357442,_0xc0b5e){const _0x3537ec=a1_0x12d14f;if(_0x357442&&_0x357442['symbol']){let _0xb40674=_0x3537ec(0xa4),_0x214d9a=_0xb40674,_0xe3e396=new Array();_0xb40674=_0xb40674+'?';for(const _0x338e4f in _0x357442){_0x3537ec(0x125)!==_0x3537ec(0x125)?_0x2a593b[_0x3537ec(0x20e)]={'target':this[_0x3537ec(0x231)],'uri':_0x4c0ae7[_0x3537ec(0x231)]}:_0xe3e396[_0x3537ec(0x240)](_0x338e4f+'='+_0x357442[_0x338e4f]);}_0x214d9a=_0xb40674+_0xe3e396['join']('&');let _0x233fc5=await this[_0x3537ec(0xa2)](_0x3537ec(0x1a2),_0x214d9a,'');return await this[_0x3537ec(0x24f)](_0x233fc5,_0x214d9a,_0xc0b5e||undefined);}else throw{'message':_0x3537ec(0x20c)};}async[a1_0x12d14f(0x14b)](_0x2771db,_0x4b08fe){const _0x53dccf=a1_0x12d14f;if(_0x2771db&&_0x2771db['symbol']){let _0x33ea9d='/api/mix/v1/market/ticker',_0x468577=_0x33ea9d,_0x52270c=new Array();_0x33ea9d=_0x33ea9d+'?';for(const _0x3f48d0 in _0x2771db){_0x52270c[_0x53dccf(0x240)](_0x3f48d0+'='+_0x2771db[_0x3f48d0]);}_0x468577=_0x33ea9d+_0x52270c[_0x53dccf(0x136)]('&');let _0x2b359c=await this[_0x53dccf(0xa2)](_0x53dccf(0x1a2),_0x468577,'');return await this[_0x53dccf(0x24f)](_0x2b359c,_0x468577,_0x4b08fe||undefined);}else throw{'message':_0x53dccf(0x20c)};}async[a1_0x12d14f(0x1b7)](_0x266869,_0x339d1e){const _0x3f9736=a1_0x12d14f;if(_0x266869&&_0x266869[_0x3f9736(0x19a)]){if('cZKyC'===_0x3f9736(0x11e))_0x292c1c[_0x3f9736(0x240)](_0x4a1673+'='+_0x3b8364[_0x2b77bc]);else{let _0x5a94df=_0x3f9736(0xf6),_0xd1f8fb=_0x5a94df,_0x57681e=new Array();_0x5a94df=_0x5a94df+'?';for(const _0x256f6b in _0x266869){_0x57681e[_0x3f9736(0x240)](_0x256f6b+'='+_0x266869[_0x256f6b]);}_0xd1f8fb=_0x5a94df+_0x57681e['join']('&');let _0x5d3b09=await this[_0x3f9736(0xa2)](_0x3f9736(0x1a2),_0xd1f8fb,'');return await this[_0x3f9736(0x24f)](_0x5d3b09,_0xd1f8fb,_0x339d1e||undefined);}}else throw{'message':_0x3f9736(0xad)};}async[a1_0x12d14f(0x214)](_0x54b491,_0xaacf22){const _0x3fd283=a1_0x12d14f;if(_0x54b491&&_0x54b491[_0x3fd283(0xf4)]){let _0x208263=_0x3fd283(0x111),_0x53263c=_0x208263,_0x400338=new Array();_0x208263=_0x208263+'?';for(const _0x1ddcfa in _0x54b491){_0x400338[_0x3fd283(0x240)](_0x1ddcfa+'='+_0x54b491[_0x1ddcfa]);}_0x53263c=_0x208263+_0x400338[_0x3fd283(0x136)]('&');let _0x169869=await this[_0x3fd283(0xa2)](_0x3fd283(0x1a2),_0x53263c,'');return await this[_0x3fd283(0x24f)](_0x169869,_0x53263c,_0xaacf22||undefined);}else{if('flWmI'==='AVgtb')_0x5b5a69[_0x3fd283(0x240)](_0x15ca44+'='+_0x31a03c[_0x2a8959]);else throw{'message':_0x3fd283(0x20c)};}}async[a1_0x12d14f(0x1f4)](_0x541db4,_0x26c108){const _0x2739fd=a1_0x12d14f;if(_0x541db4&&_0x541db4[_0x2739fd(0xf4)]&&_0x541db4[_0x2739fd(0x18a)]&&_0x541db4[_0x2739fd(0x103)]&&_0x541db4[_0x2739fd(0x193)]){if('pMdrZ'!==_0x2739fd(0x229)){let _0x3832bf='/api/mix/v1/market/candles',_0x1b2b4c=_0x3832bf,_0x313d58=new Array();_0x3832bf=_0x3832bf+'?';for(const _0x28cada in _0x541db4){if(_0x2739fd(0x1fd)!==_0x2739fd(0x1fd))return _0x6a6418=_0x248666||{},_0x1942ea['key']=this[_0x2739fd(0x130)],_0x104edf[_0x2739fd(0xc8)]=this[_0x2739fd(0x183)],_0x3ee3c3[_0x2739fd(0x227)]=this[_0x2739fd(0x227)],!this['isMain']&&(_0x565468[_0x2739fd(0x209)]=this[_0x2739fd(0x209)]),new _0x14ea28(_0x1a02e5);else _0x313d58['push'](_0x28cada+'='+_0x541db4[_0x28cada]);}_0x1b2b4c=_0x3832bf+_0x313d58[_0x2739fd(0x136)]('&');let _0x160ab9=await this['createAuthHeader']('GET',_0x1b2b4c,'');return await this[_0x2739fd(0x24f)](_0x160ab9,_0x1b2b4c,_0x26c108||undefined);}else _0x5a3367[_0x2739fd(0x20e)][_0x2739fd(0x238)]=this[_0x2739fd(0x231)],_0x2f70c5['headers']['uri']=_0x1725b9[_0x2739fd(0x231)],_0xd8ee28[_0x2739fd(0x20e)][_0x2739fd(0x8f)]=_0x8f2c40;}else throw{'message':_0x2739fd(0x194)};}async[a1_0x12d14f(0x246)](_0xb69075,_0x3a0ed6){const _0x5ac13a=a1_0x12d14f;if(_0xb69075&&_0xb69075[_0x5ac13a(0xf4)]){let _0x6796f2='/api/mix/v1/market/index',_0x522e4b=_0x6796f2,_0x23c094=new Array();_0x6796f2=_0x6796f2+'?';for(const _0x586354 in _0xb69075){if(_0x5ac13a(0x1a5)!=='oFShY')return null;else _0x23c094[_0x5ac13a(0x240)](_0x586354+'='+_0xb69075[_0x586354]);}_0x522e4b=_0x6796f2+_0x23c094[_0x5ac13a(0x136)]('&');let _0x57a1c9=await this[_0x5ac13a(0xa2)](_0x5ac13a(0x1a2),_0x522e4b,'');return await this[_0x5ac13a(0x24f)](_0x57a1c9,_0x522e4b,_0x3a0ed6||undefined);}else{if(_0x5ac13a(0x139)===_0x5ac13a(0x20b))throw{'message':'productType\x20is\x20a\x20required\x20param'};else throw{'message':_0x5ac13a(0x20c)};}}async[a1_0x12d14f(0x1d7)](_0x16d398,_0x282ca9){const _0x27c542=a1_0x12d14f;if(_0x16d398&&_0x16d398['symbol']){if(_0x27c542(0xc9)!==_0x27c542(0x189)){let _0x60a7cc=_0x27c542(0x177),_0x2ab805=_0x60a7cc,_0x4a5853=new Array();_0x60a7cc=_0x60a7cc+'?';for(const _0xabc8a1 in _0x16d398){_0x27c542(0xd7)==='BuLjP'?_0x347762['push'](_0x41f409+'='+_0x2d9e40[_0x9d4474]):_0x4a5853[_0x27c542(0x240)](_0xabc8a1+'='+_0x16d398[_0xabc8a1]);}_0x2ab805=_0x60a7cc+_0x4a5853[_0x27c542(0x136)]('&');let _0xa2f1be=await this[_0x27c542(0xa2)]('GET',_0x2ab805,'');return await this[_0x27c542(0x24f)](_0xa2f1be,_0x2ab805,_0x282ca9||undefined);}else this[_0x27c542(0x19d)]=0xbb8;}else throw{'message':_0x27c542(0x20c)};}async[a1_0x12d14f(0x11b)](_0x15720b,_0xe2a63b){const _0x9a4cac=a1_0x12d14f;if(_0x15720b&&_0x15720b[_0x9a4cac(0xf4)]){if('JeQLa'!==_0x9a4cac(0x1fe))throw{'message':_0x9a4cac(0x126)};else{let _0x5cf662='/api/mix/v1/market/history-fundRate',_0xfb576e=_0x5cf662,_0x326c1c=new Array();_0x5cf662=_0x5cf662+'?';for(const _0x22773f in _0x15720b){_0x326c1c['push'](_0x22773f+'='+_0x15720b[_0x22773f]);}_0xfb576e=_0x5cf662+_0x326c1c['join']('&');let _0x3c9e62=await this[_0x9a4cac(0xa2)](_0x9a4cac(0x1a2),_0xfb576e,'');return await this[_0x9a4cac(0x24f)](_0x3c9e62,_0xfb576e,_0xe2a63b||undefined);}}else{if(_0x9a4cac(0xdc)===_0x9a4cac(0x22b))throw{'message':_0x9a4cac(0x20c)};else throw{'message':_0x9a4cac(0x20c)};}}async[a1_0x12d14f(0x221)](_0x30a360,_0x50345c){const _0x51d925=a1_0x12d14f;if(_0x30a360&&_0x30a360['symbol']){if('KwvfB'!=='KwvfB')throw{'message':_0x51d925(0x13f)};else{let _0x4cd739='/api/mix/v1/market/current-fundRate',_0x3ac76b=_0x4cd739,_0x394f7b=new Array();_0x4cd739=_0x4cd739+'?';for(const _0x2a9313 in _0x30a360){_0x394f7b[_0x51d925(0x240)](_0x2a9313+'='+_0x30a360[_0x2a9313]);}_0x3ac76b=_0x4cd739+_0x394f7b[_0x51d925(0x136)]('&');let _0x3ff875=await this[_0x51d925(0xa2)]('GET',_0x3ac76b,'');return await this['executeGetRequest'](_0x3ff875,_0x3ac76b,_0x50345c||undefined);}}else{if(_0x51d925(0x256)!==_0x51d925(0x256))throw{'message':_0x51d925(0x24c)};else throw{'message':_0x51d925(0x20c)};}}async['getOpenInterestFutures'](_0x22a598,_0xd6d2d3){const _0x5ad546=a1_0x12d14f;if(_0x22a598&&_0x22a598[_0x5ad546(0xf4)]){let _0x416533=_0x5ad546(0x1a6),_0x412ff5=_0x416533,_0x2b0df8=new Array();_0x416533=_0x416533+'?';for(const _0x53f16a in _0x22a598){_0x2b0df8[_0x5ad546(0x240)](_0x53f16a+'='+_0x22a598[_0x53f16a]);}_0x412ff5=_0x416533+_0x2b0df8[_0x5ad546(0x136)]('&');let _0x321a63=await this['createAuthHeader'](_0x5ad546(0x1a2),_0x412ff5,'');return await this[_0x5ad546(0x24f)](_0x321a63,_0x412ff5,_0xd6d2d3||undefined);}else{if('jZOEe'!==_0x5ad546(0xfa))throw{'message':_0x5ad546(0x20c)};else{let _0xd072be=_0x5ae093['data'][_0x5ad546(0x21b)]?_0x1dc32e['data']['data']:_0x5197ed['data'];delete _0x48e4a3[_0x5ad546(0x21b)],_0x4a8f8e['data']=_0xd072be;}}}async['getMarkPriceFutures'](_0x560f8d,_0xe16c8b){const _0x5c5ad5=a1_0x12d14f;if(_0x560f8d&&_0x560f8d['symbol']){let _0x232ad3=_0x5c5ad5(0xe9),_0x10a153=_0x232ad3,_0x2359ab=new Array();_0x232ad3=_0x232ad3+'?';for(const _0x4c764e in _0x560f8d){if(_0x5c5ad5(0x18b)===_0x5c5ad5(0x245))throw{'message':_0x5c5ad5(0x1db)};else _0x2359ab[_0x5c5ad5(0x240)](_0x4c764e+'='+_0x560f8d[_0x4c764e]);}_0x10a153=_0x232ad3+_0x2359ab['join']('&');let _0x463044=await this[_0x5c5ad5(0xa2)](_0x5c5ad5(0x1a2),_0x10a153,'');return await this[_0x5c5ad5(0x24f)](_0x463044,_0x10a153,_0xe16c8b||undefined);}else{if(_0x5c5ad5(0x1aa)==='QUCgc')throw{'message':_0x5c5ad5(0x20c)};else throw{'message':_0x5c5ad5(0x1c9)};}}async['getSymbolLeverageFutures'](_0x4f28db,_0x51e608){const _0x599f34=a1_0x12d14f;if(_0x4f28db&&_0x4f28db[_0x599f34(0xf4)]){if('dtBwv'===_0x599f34(0x157))_0x41ecf9[_0x599f34(0x240)](_0xb20f87+'='+_0x1ada23[_0x147cc2]);else{let _0xc14c87=_0x599f34(0x198),_0x13f5e1=_0xc14c87,_0x47d077=new Array();_0xc14c87=_0xc14c87+'?';for(const _0x3452bc in _0x4f28db){_0x47d077[_0x599f34(0x240)](_0x3452bc+'='+_0x4f28db[_0x3452bc]);}_0x13f5e1=_0xc14c87+_0x47d077['join']('&');let _0x385041=await this[_0x599f34(0xa2)]('GET',_0x13f5e1,'');return await this['executeGetRequest'](_0x385041,_0x13f5e1,_0x51e608||undefined);}}else throw{'message':_0x599f34(0x20c)};}async[a1_0x12d14f(0x12a)](_0x3e94fb,_0x57841a){const _0x379d47=a1_0x12d14f;if(_0x3e94fb&&_0x3e94fb[_0x379d47(0xf4)]&&_0x3e94fb[_0x379d47(0x9b)]){if('GHOlZ'==='GHOlZ'){let _0x3f7277='/api/mix/v1/account/account',_0x3071dd=_0x3f7277,_0x33618a=new Array();_0x3f7277=_0x3f7277+'?';for(const _0xa8dc98 in _0x3e94fb){_0x3