(window.webpackJsonp=window.webpackJsonp||[]).push([[181],{2449:function(e,t,r){"use strict";var n=r(8),o=r(85),l=r(86),h=r(87),c=r(61),m=r(0),w=r(1);m(t,"__esModule",{value:!0}),t.default=void 0;var f=w(r(325)),d=w(r(15)),N=w(r(2)),P=w(r(3)),y=w(r(9)),S=w(r(7)),D=w(r(10)),v=w(r(13)),T=w(r(761)),x=r(2472);function k(e,t){var r=void 0!==l&&e[h]||e["@@iterator"];if(!r){if(c(e)||(r=function(e,a){if(e){if("string"==typeof e)return E(e,a);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?o(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?E(e,a):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,m=function(){};return{s:m,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:m}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,w=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw w}}}}function E(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,r=Array(a);t<a;t++)r[t]=e[t];return r}function A(){try{var e=!Boolean.prototype.valueOf.call(n(Boolean,[],(function(){})))}catch(e){}return(A=function(){return!!e})()}var C=t.default=function(e){function t(){var e,r,o,l;return(0,N.default)(this,t),r=this,o=t,o=(0,S.default)(o),e=(0,y.default)(r,A()?n(o,l||[],(0,S.default)(r).constructor):o.apply(r,l)),(0,v.default)(e,"readyCallbackMap",void 0),(0,v.default)(e,"outPipes",void 0),e.outPipes=new f.default,e.readyCallbackMap=new f.default,e}return(0,D.default)(t,e),(0,P.default)(t,[{key:"inputPipe",value:function(e,t,r,n){var o=this;n?this.has(e)?this._ready(e,t):this.init(e,t).then((function(t){o._ready(e,t)})):this.has(e)&&this.dealNewData(e,t,r)}},{key:"_ready",value:function(e,t){var r=this.readyCallbackMap.get(e);"[object Function]"===Object.prototype.toString.call(r)&&r(t)}},{key:"outPipe",value:function(e,t){this.outPipes.set(e,t)}},{key:"deleteOutPipe",value:function(e){this.outPipes.has(e)&&this.outPipes.delete(e)}},{key:"addAndEmit",value:function(e,data){this.add(e,data),this.emit(e,data)}},{key:"emit",value:function(e,t){var r=this.outPipes.get(e);r&&r(t)}},{key:"pause",value:function(e){this.has(e)&&this.updateMeta(e,"PAUSE",!1)}},{key:"_whenCacheReady",value:function(e,t){this.readyCallbackMap.set(e,t)}},{key:"deleteWhenCacheReady",value:function(e){this.readyCallbackMap.has(e)&&this.readyCallbackMap.delete(e)}},{key:"getLastKline",value:function(e){return this.has(e)&&!this.isEmpty(e)?this.get(e).slice(-1)[0]:{}}},{key:"updateLastKline",value:function(e,t){var r=t.open,n=t.close,o=t.high,l=t.low,h=t.volume,time=t.time;if(this.has(e)&&!this.isEmpty(e)){var c=this.get(e);c.pop(),c.push({open:r,close:n,high:o,low:l,volume:h,time:time})}}},{key:"dealNewData",value:function(e,data,t){var r,n=k(data);try{for(n.s();!(r=n.n()).done;){var o=r.value;this.updateCache(e,o,t)}}catch(e){n.e(e)}finally{n.f()}this.isReady(e)||(this.updateMeta(e,"APPEND",!0),this._ready(e,this.get(e)))}},{key:"updateCache",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime(),o=this.getLastKline(e),l=o.time,h=this.isReady(e);if(!o)return this.add(e,t),void(h&&this.emit(e,t));var c=n;Number(t.time)>Number(l)?Number(t.time)<=c?(this.add(e,t),h&&this.emit(e,t)):setTimeout((function(){r.add(e,t),h&&r.emit(e,t)}),t.time-c+100):Number(t.time)===Number(l)&&(this.updateLastKline(e,t),this.emit(e,t))}},{key:"outPeriodData",value:function(e,t,r){var n=this;return new d.default((function(o,l){var h=function(){o(n.getPeriodData(e,t,r))};n.isReady(e)?h():n._whenCacheReady(e,h)}))}},{key:"getPeriodData",value:function(e,t,r){var n=this.get(e),o=[],l=!1;return n.forEach((function(e){e.time>1e3*t&&((!r||e.time<=1e3*r)&&o.push((0,T.default)(e)),l=!0)})),{data:o,noData:l&&o.length<=0}}}],[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}])}(x.BaseCache);(0,v.default)(C,"instance",void 0)},2472:function(e,t,r){"use strict";var n=r(0),o=r(1);n(t,"__esModule",{value:!0}),t.BaseCache=void 0;var l=o(r(325)),h=o(r(15)),c=o(r(52)),m=o(r(2)),w=o(r(3)),f=o(r(13));t.BaseCache=function(){return(0,w.default)((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;(0,m.default)(this,e),(0,f.default)(this,"cache",void 0),(0,f.default)(this,"ttl",void 0),this.cache=new l.default,this.ttl=t}),[{key:"updateMeta",value:function(e,t,r){var n={lastUpdateTime:(new Date).getTime(),lastAction:t};void 0!==r&&(n.ready=r),(0,c.default)(this.cache.get(e).meta,n)}},{key:"has",value:function(e){return this.cache.has(e)&&this.cache.get(e).data}},{key:"isReady",value:function(e){return this.has(e)&&this.cache.get(e).meta.ready}},{key:"isEmpty",value:function(e){return this.cache.has(e)&&0===this.cache.get(e).data.length}},{key:"add",value:function(e,data){this.has(e)&&(this.cache.get(e).data.push(data),this.updateMeta(e,"ADD"))}},{key:"get",value:function(e){return this.has(e)&&this.cache.get(e).data||[]}},{key:"init",value:function(e,t){var r=this;return new h.default((function(n,o){r.has(e)&&o("Key:".concat(e," already exists"));var time=(new Date).getTime();r.cache.set(e,{meta:{lastUpdateTime:time,createTime:time,lastAction:"INIT",ready:!0},data:t}),n(t)}))}},{key:"delete",value:function(e){this.cache.delete(e)}},{key:"truncate",value:function(e){this.has(e)&&(this.cache.get(e).data=[],this.updateMeta(e,"TRUNCATE"))}},{key:"clearAll",value:function(){this.cache=new l.default}}])}()},2957:function(e,t,r){"use strict";r(0)(t,"__esModule",{value:!0}),t.coinArr=void 0;t.coinArr=[{fullName:"Bitcoin",baseName:"BTC",issueDate:"2008-11-01",issuePrice:"0.0025 USDT",maxSupply:21e6,whitePaper:"https://bitcoin.org/bitcoin.pdf",website:"https://bitcoin.org/en/"},{fullName:"Ethereum",baseName:"ETH",issueDate:"2014-07-24",issuePrice:"0.35 USDT",maxSupply:96311500,whitePaper:"",website:"https://ethereum.org/"},{fullName:"Bitcoin Cash",baseName:"BCH",issueDate:"2017-07-24",issuePrice:"555.89 USDT",maxSupply:21e6,whitePaper:"https://bch.info/bitcoin.pdf",website:"https://www.bitcoincash.org/"},{fullName:"Litecoin",baseName:"LTC",issueDate:"2011-10-07",issuePrice:"4.3 USDT",maxSupply:84e6,whitePaper:"https://litecoin.org/",website:"https://litecoin.org/"},{fullName:"Dogecoin",baseName:"DOGE",issueDate:"2013-12-06",issuePrice:"0.000559 USDT",maxSupply:"-",whitePaper:"-",website:"https://dogecoin.com/"},{fullName:"Ethereum Classic",baseName:"ETC",issueDate:"2015-07-30",issuePrice:"0.7523 USDT",maxSupply:2107e5,whitePaper:"",website:"https://ethereumclassic.org/"},{fullName:"Tron",baseName:"TRX",issueDate:"2017-08-28",issuePrice:"0.0015 USDT",maxSupply:"-",whitePaper:"https://s3.amazonaws.com/tron.network/%E7%AE%80%E4%BB%8B%E4%B8%8E%E6%84%BF%E6%99%AF.pdf",website:"https://tron.network/"},{fullName:"Polkadot",baseName:"DOT",issueDate:"2019-05-05",issuePrice:"-",maxSupply:"-",whitePaper:"https://polkadot.network/whitepaper/",website:"https://polkadot.network/"},{fullName:"Uniswap",baseName:"UNI",issueDate:"2020-09-16",issuePrice:"-",maxSupply:1e9,whitePaper:"-",website:"https://uniswap.org/"},{fullName:"Ripple",baseName:"XRP",issueDate:"2011-04-18",issuePrice:"0.005874 USDT",maxSupply:1e11,whitePaper:"https://ripple.com/files/ripple_consensus_whitepaper.pdf",website:"https://xrpl.org/"},{fullName:"Solana",baseName:"SOL",issueDate:"2020-03-23",issuePrice:"-",maxSupply:57121e4,whitePaper:"https://solana.com/solana-whitepaper.pdf",website:"https://solana.com/"},{fullName:"The Sandbox",baseName:"SAND",issueDate:"2020-08-14",issuePrice:"-",maxSupply:3e9,whitePaper:"https://installers.sandbox.game/The_Sandbox_Whitepaper_2020.pdf",website:"https://www.sandbox.game/en/"},{fullName:"Decentraland",baseName:"MANA",issueDate:"2017-09-18",issuePrice:"0.024 USDT",maxSupply:219e7,whitePaper:"https://decentraland.org/whitepaper-cn.pdf",website:"https://decentraland.org/"},{fullName:"Filecoin",baseName:"FIL",issueDate:"2017-08-10",issuePrice:"-",maxSupply:2e9,whitePaper:"https://filecoin.io/filecoin.pdf",website:"https://filecoin.io/"},{fullName:"Binance Coin",baseName:"BNB",issueDate:"2017-07-26",issuePrice:"0.15 USDT",maxSupply:2e8,whitePaper:"https://www.binance.com/en/bnb",website:"https://www.binance.com/"},{fullName:"Cardano",baseName:"ADA",issueDate:"2015-09-01",issuePrice:"0.002 USDT",maxSupply:45e9,whitePaper:"https://docs.cardano.org/introduction",website:"https://www.cardano.org/en/home/"},{fullName:"Chainlink",baseName:"LINK",issueDate:"2017-09-21",issuePrice:"0.0914 USDT",maxSupply:1e9,whitePaper:"https://link.smartcontract.com/whitepaper",website:"https://www.smartcontract.com/"},{fullName:"Polygon",baseName:"MATIC",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"-",website:"https://matic.network/"},{fullName:"EOS",baseName:"EOS",issueDate:"2017-07-02",issuePrice:"0.99 USDT",maxSupply:"-",whitePaper:"https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md",website:"https://eos.io/"},{fullName:"Internet Computer",baseName:"ICP",issueDate:"-",issuePrice:"-",maxSupply:5151e5,whitePaper:"https://internetcomputer.org/whitepaper.pdf",website:"https://internetcomputer.org/"},{fullName:"Aave",baseName:"AAVE",issueDate:"-",issuePrice:"-",maxSupply:16e6,whitePaper:"-",website:"https://aave.com/"},{fullName:"Stellar",baseName:"XLM",issueDate:"2013-07-01",issuePrice:"-",maxSupply:50001806812,whitePaper:"https://www.stellar.org/papers/stellar-consensus-protocol.pdf",website:"https://www.stellar.org/"},{fullName:"Cosmos",baseName:"ATOM",issueDate:"2019-03-15",issuePrice:"0.1 USDT",maxSupply:38906e4,whitePaper:"https://cosmos.network/resources/whitepaper",website:"https://cosmos.network/"},{fullName:"Terra",baseName:"LUNA",issueDate:"-",issuePrice:"-",maxSupply:108e7,whitePaper:"-",website:"https://www.terra.money/"},{fullName:"Avalanche",baseName:"AVAX",issueDate:"-",issuePrice:"-",maxSupply:72e7,whitePaper:"https://www.avalabs.org/whitepapers",website:"https://avascan.info/"},{fullName:"Fantom",baseName:"FTM",issueDate:"2018-10-29",issuePrice:"0.0431 USDT",maxSupply:3175e6,whitePaper:"https://www.fantom.foundation/data/whitepaper_eng.pdf",website:"https://fantom.foundation/"},{fullName:"Near Protocol",baseName:"NEAR",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"-",website:"https://near.org/"},{fullName:"NEO",baseName:"NEO",issueDate:"2014-06-01",issuePrice:"0.159 USDT",maxSupply:1e8,whitePaper:"https://docs.neo.org/zh-cn/whitepaper.html",website:"https://neo.org/"},{fullName:"Opitimism",baseName:"OP",issueDate:"-",issuePrice:"-",maxSupply:4294967296,whitePaper:"https://community.optimism.io/",website:"https://www.optimism.io/"},{fullName:"Galxe",baseName:"GALA",issueDate:"-",issuePrice:"-",maxSupply:5e10,whitePaper:"https://support.gala.games/gala-games/what-is-the-gala-games-vision",website:"https://gala.games/"},{fullName:"Chiliz",baseName:"CHZ",issueDate:"2019-07-02",issuePrice:"-",maxSupply:8888888888,whitePaper:"https://www.chiliz.com/docs/CHZ_whitepaper.pdf",website:"https://www.chiliz.net/"},{fullName:"1000SHIB",baseName:"SHIB",issueDate:"-",issuePrice:"-",maxSupply:"999.98T",whitePaper:"-",website:"https://shibatoken.com/"},{fullName:"dYdX",baseName:"DYDX",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"https://whitepaper.dydx.exchange/",website:"https://trade.dydx.exchange/"},{fullName:"ApeCoin",baseName:"APE",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"-",website:"https://apecoin.com/"},{fullName:"Aptos",baseName:"APT",issueDate:"-",issuePrice:"-",maxSupply:108e7,whitePaper:"-",website:"https://aptosfoundation.org/"},{fullName:"Magic",baseName:"MAGIC",issueDate:"-",issuePrice:"-",maxSupply:34771e4,whitePaper:"-",website:"https://www.treasure.lol/"},{fullName:"Dash",baseName:"DASH",issueDate:"2014-01-01",issuePrice:"0.2138 USDT",maxSupply:189e5,whitePaper:"https://github.com/dashpay/dash/wiki/Whitepaper_zh_cn",website:"https://www.dash.org/"},{fullName:"Curve DAO Token",baseName:"CRV",issueDate:"-",issuePrice:"-",maxSupply:33e8,whitePaper:"-",website:"https://curve.fi/#/ethereum/swap"},{fullName:"Mask Network",baseName:"MASK",issueDate:"2021-02-24",issuePrice:"0.85 USDT",maxSupply:1e8,whitePaper:"-",website:"https://mask.io/"},{fullName:"Kusama",baseName:"KSM",issueDate:"2019-08-01",issuePrice:"-",maxSupply:1e7,whitePaper:"-",website:"https://kusama.network/"},{fullName:"Arweave",baseName:"AR",issueDate:"2017-08-01",issuePrice:"-",maxSupply:66e6,whitePaper:"https://pdfs.semanticscholar.org/1c7e/309d1eb5298603600d9732093cb702a844f2.pdf",website:"https://www.arweave.org/"},{fullName:"Ren",baseName:"REN",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"https://republicprotocol.github.io/whitepaper/republic-whitepaper.pdf",website:"https://renproject.io/"},{fullName:"SushiSwap",baseName:"SUSHI",issueDate:"-",issuePrice:"-",maxSupply:2502e5,whitePaper:"-",website:"https://sushiswap.org/"},{fullName:"ConstitutionDAO",baseName:"PEOPLE",issueDate:"-",issuePrice:"-",maxSupply:506e7,whitePaper:"-",website:"https://www.constitutiondao.com/"},{fullName:"Loopring",baseName:"LRC",issueDate:"2017-08-01",issuePrice:"0.053 USDT",maxSupply:137e7,whitePaper:"-",website:"https://loopring.org/#/"},{fullName:"ARBITRUM",baseName:"ARB",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"-",website:"https://arbitrum.io/"},{fullName:"Injective",baseName:"INJ",issueDate:"-",issuePrice:"-",maxSupply:1e8,whitePaper:"https://docs.injective.network/#introduction",website:"https://injective.com/"},{fullName:"Render",baseName:"RNDR",issueDate:"2021-03-27",issuePrice:"-",maxSupply:506e7,whitePaper:"https://know.rendertoken.com/",website:"https://rendertoken.com/"},{fullName:"Conflux",baseName:"CFX",issueDate:"2020-11-09",issuePrice:"-",maxSupply:546e7,whitePaper:"https://confluxnetwork.org/files/Conflux_Economic_Paper_20201230.pdf",website:"https://confluxnetwork.org/"},{fullName:"Solar",baseName:"SXP",issueDate:"-",issuePrice:"0.2 USDT",maxSupply:59638e4,whitePaper:"https://docs.solar.org/project/whitepaper/",website:"https://solar.org/"},{fullName:"1000PEPE",baseName:"PEPE",issueDate:"-",issuePrice:"-",maxSupply:42069e10,whitePaper:"-",website:"https://www.pepe.vip/"},{fullName:"Sushiswap",baseName:"SUI",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"-",website:"https://sui.io/"},{fullName:"Axie Infinity",baseName:"AXS",issueDate:"2021-03-30",issuePrice:"-",maxSupply:27e7,whitePaper:"https://whitepaper.axieinfinity.com/",website:"https://axieinfinity.com/"},{fullName:"SPACE ID",baseName:"ID",issueDate:"-",issuePrice:"-",maxSupply:2e9,whitePaper:"https://docs.space.id/",website:"https://space.id/"},{fullName:"MultiversX",baseName:"EGLD",issueDate:"-",issuePrice:"-",maxSupply:31415926,whitePaper:"-",website:"http://multiversx.com/"},{fullName:"Waves",baseName:"WAVES",issueDate:"-",issuePrice:"-",maxSupply:"-",whitePaper:"-",website:"https://waves.tech/"},{fullName:"Lido Staked Ether",baseName:"LDO",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"https://lido.fi/static/Lido:Ethereum-Liquid-Staking.pdf",website:"https://lido.fi/"},{fullName:"Alchemy Pay",baseName:"ACH",issueDate:"2020-09-07’",issuePrice:"-",maxSupply:1e10,whitePaper:"https://file.alchemytech.io/Alchemy_WP-EN.pdf",website:"https://alchemypay.org/"},{fullName:"Stacks",baseName:"STX",issueDate:"-",issuePrice:"-",maxSupply:1818e6,whitePaper:"https://gaia.blockstack.org/hub/1AxyPunHHAHiEffXWESKfbvmBpGQv138Fp/stacks.pdf",website:"https://www.stacks.co/"},{fullName:"Immutable",baseName:"IMX",issueDate:"-",issuePrice:"-",maxSupply:2e9,whitePaper:"-",website:"https://www.immutable.com/"},{fullName:"The Graph",baseName:"GRT",issueDate:"-",issuePrice:"-",maxSupply:"-",whitePaper:"-",website:"https://thegraph.com/"},{fullName:"Enjin Coin",baseName:"ENJ",issueDate:"-",issuePrice:"-",maxSupply:179e7,whitePaper:"-",website:"https://enjin.io/"},{fullName:"Oasis Network",baseName:"ROSE",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"https://docsend.com/view/aq86q2pckrut2yvq",website:"https://oasisprotocol.org/"},{fullName:"SingularityNET",baseName:"AGIX",issueDate:"-",issuePrice:"-",maxSupply:2e9,whitePaper:"https://public.singularitynet.io/whitepaper.pdf",website:"https://singularitynet.io/"},{fullName:"Yearn.finance",baseName:"YFI",issueDate:"-",issuePrice:"-",maxSupply:36666,whitePaper:"-",website:"https://yearn.finance/"},{fullName:"SelfKey",baseName:"KEY",issueDate:"-",issuePrice:"-",maxSupply:6e9,whitePaper:"https://selfkey.org/whitepaper",website:"https://selfkey.org/"},{fullName:"Metal DAO",baseName:"MTL",issueDate:"-",issuePrice:"-",maxSupply:6659e4,whitePaper:"-",website:"https://www.metalpay.com/"},{fullName:"Bella Protocol",baseName:"BEL",issueDate:"2020-09-09",issuePrice:"\n0.75 USDT",maxSupply:1e8,whitePaper:"-",website:"https://bella.fi/"},{fullName:"Linear Finance",baseName:"LINA",issueDate:"2020-09-17",issuePrice:"-",maxSupply:1e10,whitePaper:"https://linear.finance/defi/Linear_Whitepaper_EN.pdf",website:"https://linear.finance/"},{fullName:"Stella",baseName:"ALPHA",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"-",website:"https://stellaxyz.io/"},{fullName:"GMX",baseName:"GMX",issueDate:"-",issuePrice:"-",maxSupply:1225e4,whitePaper:"https://gmxio.gitbook.io/gmx/",website:"https://gmx.io/"},{fullName:"Ocean Protocol",baseName:"OCEAN",issueDate:"2019-05-07",issuePrice:"-",maxSupply:141e7,whitePaper:"https://oceanprotocol.com/tech-whitepaper.pdf",website:"https://oceanprotocol.com/"},{fullName:"Open Campus",baseName:"EDU",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"-",website:"https://www.opencampus.xyz/"},{fullName:"Quant",baseName:"QNT",issueDate:"-",issuePrice:"-",maxSupply:14881364,whitePaper:"-",website:"https://quant.network/"},{fullName:"Blur",baseName:"BLUR",issueDate:"-",issuePrice:"-",maxSupply:3e9,whitePaper:"-",website:"https://blur.io/"},{fullName:"Aragon",baseName:"ANT",issueDate:"-",issuePrice:"0.9 USDT",maxSupply:4509e4,whitePaper:"https://wiki.aragon.org/documentation/whitepaper/",website:"https://aragon.org/"},{fullName:"Compound",baseName:"COMP",issueDate:"-",issuePrice:"-",maxSupply:1e7,whitePaper:"https://compound.finance/documents/Compound.Whitepaper.pdf",website:"https://compound.finance/"},{fullName:"Maverick Protocol",baseName:"MAV",issueDate:"-",issuePrice:"-",maxSupply:2e9,whitePaper:"-",website:"https://www.mav.xyz/"},{fullName:"Horizen",baseName:"ZEN",issueDate:"-",issuePrice:"-",maxSupply:21e6,whitePaper:"https://www.horizen.io/research/",website:"https://www.horizen.io/"},{fullName:"Frax Share",baseName:"FXS",issueDate:"2020-12-21",issuePrice:"-",maxSupply:9968e4,whitePaper:"-",website:"https://frax.finance/"},{fullName:"NKN",baseName:"NKN",issueDate:"2018-05-28",issuePrice:"0.0024 USDT",maxSupply:1e9,whitePaper:"https://www.nkn.org/doc/NKN_Whitepaper.pdf",website:"https://www.nkn.org/#/"},{fullName:"WOO Network",baseName:"WOO",issueDate:"2020-10-29",issuePrice:"0.02 USDT",maxSupply:223e7,whitePaper:"https://www.woo.network/Litepaper.pdf",website:"https://woo.network/"},{fullName:"API3",baseName:"API3",issueDate:"-",issuePrice:"-",maxSupply:12915e4,whitePaper:"https://raw.githubusercontent.com/api3dao/api3-whitepaper/master/api3-whitepaper.pdf",website:"https://api3.org/"},{fullName:"Gitcoin",baseName:"GTC",issueDate:"-",issuePrice:"-",maxSupply:1e8,whitePaper:"-",website:"https://gitcoin.co/"},{fullName:"Kyber Network Crystal v2",baseName:"KNC",issueDate:"2017-09-25",issuePrice:"\n0.5 USDT",maxSupply:23052e4,whitePaper:"https://docs.kyberswap.com/introduction",website:"https://kyber.network/"},{fullName:"Yield Guild Games",baseName:"YGG",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"https://yieldguild.io/YGG-Whitepaper-English.pdf",website:"https://yieldguild.io/"},{fullName:"1000FLOKI",baseName:"FLOKI",issueDate:"-",issuePrice:"-",maxSupply:1e13,whitePaper:"https://docs.theflokiinu.com/",website:"https://theflokiinu.com/"},{fullName:"THORChain",baseName:"RUNE",issueDate:"2020-04-01",issuePrice:"\n0.038 USDT",maxSupply:5e8,whitePaper:"https://github.com/thorchain/Resources/blob/master/Whitepapers/THORChain-Whitepaper-May2020.pdf",website:"https://thorchain.org/"},{fullName:"Hedera",baseName:"HBAR",issueDate:"-",issuePrice:"-",maxSupply:5e10,whitePaper:"https://hedera.com/hh_whitepaper_v2.1-20200815.pdf",website:"https://www.hedera.com/"},{fullName:"Bluzelle",baseName:"BLZ",issueDate:"2018-02-06",issuePrice:"0.12 USDT",maxSupply:5e8,whitePaper:"https://bluzelle.com/wp-content/uploads/2017/10/bluzelle-whitepaper-english1-4.pdf",website:"https://bluzelle.com/"},{fullName:"Livepeer",baseName:"LPT",issueDate:"2019-05-01",issuePrice:"-",maxSupply:3116e4,whitePaper:"https://github.com/livepeer/wiki/blob/master/WHITEPAPER.md",website:"https://livepeer.org/"},{fullName:"Coin98",baseName:"C98",issueDate:"2021-07-23",issuePrice:"-",maxSupply:1e9,whitePaper:"https://coin98.com/coin98-whitepaper",website:"https://coin98.com/"},{fullName:"BakeryToken",baseName:"BAKE",issueDate:"-",issuePrice:"-",maxSupply:27724e4,whitePaper:"-",website:"https://www.bakeryswap.org/#/home"},{fullName:"Unifi Protocol Dao",baseName:"UNFI",issueDate:"2020-11-14",issuePrice:"-",maxSupply:1e7,whitePaper:"https://medium.com/unifiprotocol/introducing-the-unifi-protocol-2ad67bc8435",website:"https://unifiprotocol.com/"},{fullName:"Sei",baseName:"SEI",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"https://github.com/sei-protocol/sei-chain/blob/main/whitepaper/Sei_Whitepaper.pdf",website:"https://www.sei.io/"},{fullName:"Worldcoin",baseName:"WLD",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"-",website:"https://worldcoin.org/"},{fullName:"CyberConnect",baseName:"CYBER",issueDate:"-",issuePrice:"-",maxSupply:1e8,whitePaper:"https://link3.to/cyberconnect/post/92e4477c7833a3e8a793c14e8ec884421a5c30edc9afb06d5ce2177ff22c074a",website:"https://cyberconnect.me/"},{fullName:"LeverFi",baseName:"LEVER",issueDate:"-",issuePrice:"-",maxSupply:35e9,whitePaper:"https://docs.leverfi.io/",website:"https://www.leverfi.io/"},{fullName:"GMT",baseName:"GMT",issueDate:"-",issuePrice:"",maxSupply:6e9,whitePaper:"-",website:"https://gmt.io/en"},{fullName:"Synthetix",baseName:"SNX",issueDate:"-",issuePrice:"0.9 USDT",maxSupply:32819e4,whitePaper:"https://docs.synthetix.io/synthetix-protocol/welcome-to-synthetix",website:"https://www.synthetix.io/"},{fullName:"Arakham",baseName:"ARKM",issueDate:"-",issuePrice:"-",maxSupply:1e9,whitePaper:"https://assets-global.website-files.com/62879326fd745f7489b43224/64abc4471879916bc4e2aeb0_Arkham_Whitepaper_FINAL.pdf",website:"https://www.arkhamintelligence.com/"},{fullName:"Tellor",baseName:"TRB",issueDate:"-",issuePrice:"-",maxSupply:26e5,whitePaper:"https://docs.tellor.io/tellor/the-basics/readme",website:"https://tellor.io/"},{fullName:"TIA",baseName:"TIA",issueDate:"-",issuePrice:"-",maxSupply:103e7,whitePaper:"https://docs.celestia.org/developers/overview/",website:"https://celestia.org/"},{fullName:"Ordinals",baseName:"ORDI",issueDate:"-",issuePrice:"-",maxSupply:21e6,whitePaper:"-",website:"https://ordinals.com/"},{fullName:"Degenerator Meme",baseName:"MEME",issueDate:"-",issuePrice:"-",maxSupply:69e9,whitePaper:"https://www.memecoin.org/whitepaper",website:"https://www.memecoin.org/"},{fullName:"Pyth Network",baseName:"PYTH",issueDate:"-",issuePrice:"-",maxSupply:1e10,whitePaper:"https://pyth.network/whitepaper_v2.pdf",website:"https://pyth.network/"},{fullName:"EthereumPoW",baseName:"ETHW",issueDate:"-",issuePrice:"-",maxSupply:10782e4,whitePaper:"https://docs.ethereumpow.org/",website:"https://ethereumpow.org/"},{fullName:"Kaspa",baseName:"KAS",issueDate:"-",issuePrice:"-",maxSupply:287e8,whitePaper:"https://eprint.iacr.org/2018/104.pdf",website:"https://kaspa.org/"},{fullName:"1000SATS",baseName:"1000SATS",issueDate:"-",issuePrice:"-",maxSupply:21e11,whitePaper:"-",website:"https://satscoin.vip/"},{fullName:"1000RATS",baseName:"1000RATS",issueDate:"-",issuePrice:"-",maxSupply:1e12,whitePaper:"-",website:"https://unisat.io/brc20/rats"},{fullName:"Maker",baseName:"MKR",issueDate:"2017-01-30",issuePrice:"-",maxSupply:1005577,whitePaper:"https://makerdao.com/en/whitepaper",website:"https://makerdao.com/"},{fullName:"Monero",baseName:"XMR",issueDate:"2014-04-18",issuePrice:"-",maxSupply:"-",whitePaper:"-",website:"https://web.getmonero.org/"},{fullName:"Band Protocol",baseName:"BAND",issueDate:"-",issuePrice:"-",maxSupply:14409e4,whitePaper:"-",website:"https://www.bandprotocol.com/"},{fullName:"SafePal",baseName:"SFP",issueDate:"2021-02-08",issuePrice:"-",maxSupply:5e8,whitePaper:"-",website:"https://www.safepal.io/"}]},2958:function(e,t,r){"use strict";r.r(t);var n=r(2959),o=r.n(n);for(var l in n)["default"].indexOf(l)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(l);t.default=o.a},2959:function(e,t,r){"use strict";var n=r(14),o=r(17),l=r(20),h=r(12),c=r(21),m=r(22),w=r(0),f=r(18),d=r(1);w(t,"__esModule",{value:!0}),t.default=void 0;var N=d(r(13)),P=r(26),y=r(24),S=r(212),D=d(r(2449)),v=r(66),T=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=C(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=w&&h;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?h(e,u):null;i&&(i.get||i.set)?w(o,u,i):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o}(r(39)),x=r(974),k=r(2957),E=r(26),A=r(48);function C(e){if("function"!=typeof f)return null;var t=new f,r=new f;return(C=function(e){return e?r:t})(e)}function _(e,t){var r=o(e);if(l){var n=l(e);t&&(n=n.filter((function(t){return h(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){(0,N.default)(e,t,r[t])})):c?m(e,c(r)):_(Object(r)).forEach((function(t){w(e,t,h(r,t))}))}return e}t.default={name:"coin_coin_trade",data:function(){return{symbol:(0,E.formatTradeCoinCode)(this.$route.params.coin,!0),entrustChangeListenerId:-1,balanceListenerId:-1,token:""}},head:function(){var e=this.$i18n.locale,t={"zh-CN":"zh-hans","zh-TW":"zh-Hant"}[e]||e,r=this.seoSymbol,n=r.coin1,o=r.coin2,l=r.coinName1,h=r.coinName2,title=this.$t("seo_tdk.trade.title",{coin1:n,coin2:o,coinName1:l});return this.getHeadInfo({title:title,seo:{keywords:this.$t("common.contract_keywords"),metaDescription:this.$t("seo_tdk.trade.description",{coin1:n,coin2:o,coinName1:l,coinName2:h}),metaTitle:title,htmlAttrs:{lang:t,dir:(0,A.getDirValue)(this.$route.path)}}})},layout:"trade",created:function(){(0,v.BB_CoinDetailView)(this.symbol),this.setSymbol(this.symbol)},computed:L(L(L(L({},(0,y.mapGetters)(["isLogin"])),(0,y.mapState)({userTopExchange:function(e){return e.userTopExchange},marketDetailReady:function(e){return e.spot.marketDetailReady},tradeInfo:function(e){return e.spot.marketDetail}})),(0,y.mapGetters)("spot",{symbolInfo:S.SPOT_GETTERS_TYPE.SYMBOL_INFO})),{},{seoSymbol:function(){var e,t=null===(e=this.$route.params.coin)||void 0===e?void 0:e.toUpperCase(),r={coin1:"BTC",coin2:"USDT",coinName1:"Bitcoin",coinName2:"Tether"};if(t){var n=t.split("-")||[];r.coin1=n[0],r.coin2=n[1];var o=k.coinArr.find((function(e){return e.baseName.toLocaleLowerCase()==r.coin1.toLocaleLowerCase()}));r.coinName1=(null==o?void 0:o.fullName)||r.coin1}return r}}),watch:{tradeInfo:{handler:function(e){var t=this.seoSymbol,r=t.coin1,n=t.coin2,o=t.coinName1,title=this.$t("seo_tdk.trade.title",{coin1:r,coin2:n,coinName1:o});document.title="".concat(e.last||"-"," ").concat(title)},deep:!0},$route:function(e){e.params.coin?(this.changeMarketDetailReady(!1),(0,v.BB_CoinDetailView)((0,E.formatTradeCoinCode)(e.params.coin,!0)),this.setSymbol((0,E.formatTradeCoinCode)(e.params.coin,!0)),this.spotInitAll((0,E.formatTradeCoinCode)(e.params.coin,!0))):this.$router.push({path:this.topExchange})},marketDetailReady:function(e){e&&(this.subscribeEntrustChange(),this.subscribeBalance())},isLogin:function(e){e||(this.$websocket.unregisterListener("entrustChange",this.entrustChangeListenerId),this.$websocket.unregisterListener("balance",this.balanceListenerId),this.refreshUserEntrust({currentEntrust:[],historyEntrust:[],fentrustlogs:[]}))}},methods:L(L(L(L({},(0,y.mapMutations)(["SET_LAYOUT"])),(0,y.mapMutations)("spot",{setSymbol:S.SPOT_MUTATIONS_TYPE.SET_SYMBOL,changeMarketDetailReady:S.SPOT_MUTATIONS_TYPE.CHANGE_MARKET_DETAIL_READY,changeEntrustLoading:S.SPOT_MUTATIONS_TYPE.CHANGE_ENTRUST_LOADING,setAllTicker:S.SPOT_MUTATIONS_TYPE.SET_ALL_TICKER,clearSpotState:S.SPOT_MUTATIONS_TYPE.CLEAR_TRADE_STATE})),(0,y.mapActions)("spot",{refreshUserAssets:S.SPOT_ACTIONS_TYPE.REFRESH_USER_ASSETS,refreshUserEntrust:S.SPOT_ACTIONS_TYPE.REFRESH_USER_ENTRUST,spotInitAll:S.SPOT_ACTIONS_TYPE.INIT_ALL})),{},{subscribeEntrustChange:function(){var e=this;if(this.isLogin){this.changeEntrustLoading(!0);var t=x.TRADE_TOPICS.ENTRUST_CHANGE;this.$websocket.unregisterListener(t,this.entrustChangeListenerId),this.entrustChangeListenerId=this.$websocket.registerListener(t,(function(data){if(200===data.code){var t={};t.currentEntrust=data.data||{},e.refreshUserEntrust(t)}}));var r={action:t,id:"".concat(t)},n=this.getToken();(null==n?void 0:n.length)>0&&(r.token=n),this.$websocket.sendMsg(r)}},handleVisibilityChange:function(){var e;"visible"===document.visibilityState&&(this.$websocket&&null!==(e=this.$websocket)&&void 0!==e&&e.isConnected||this.reconnectWS())},handleNetworkChange:function(){navigator.onLine&&this.reconnectWS()},reconnectWS:function(){var e;(0,P.hideGlobalLoading)(),(0,P.clearLauncher)(),null===(e=this.$websocket)||void 0===e||e.reconnect(),this.subscribeAllTicker(),this.spotInitAll(this.symbol)},subscribeAllTicker:function(){var e,t=this,r="all_ticker";null===(e=this.$websocket)||void 0===e||e.registerListener(r,(function(data){200===data.code&&t.setAllTicker(data.data)}));var n={action:r,id:r+"|"+this.symbolInfo.symbol};this.$websocket.sendMsg(n),this.SET_LAYOUT()},getToken:function(){return T.default.get(T.TokenKey.R_TOKEN)},subscribeBalance:function(){var e=this;if(this.isLogin){var t,r=x.TRADE_TOPICS.BALANCE;this.$websocket.unregisterListener(r,this.balanceListenerId),this.balanceListenerId=null===(t=this.$websocket)||void 0===t?void 0:t.registerListener(r,(function(data){200===data.code&&data.data&&e.refreshUserAssets(data.data)}));var n={action:r,exchangeTypeCode:this.symbolInfo.symbol,id:r+"|"+this.symbolInfo.symbol},o=this.getToken();(null==o?void 0:o.length)>0&&(n.token=this.token),this.$websocket.sendMsg(n),this.SET_LAYOUT()}}}),mounted:function(){var e=this;document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.token=T.default.get(T.TokenKey.R_TOKEN),window.isReadyPromise.then((function(){var t,r;((0,P.hideGlobalLoading)(),(0,P.clearLauncher)(),null!==(t=e.$websocket)&&void 0!==t&&t.isConnected())||(null===(r=e.$websocket)||void 0===r||r.connect());e.subscribeAllTicker(),e.spotInitAll(e.symbol)}))},beforeDestroy:function(){var e;document.removeEventListener("visibilitychange",this.handleVisibilityChange),null===(e=this.$websocket)||void 0===e||e.close(),this.clearSpotState(),D.default.getInstance().outPipes.clear(),D.default.getInstance().readyCallbackMap.clear(),this.$children.forEach((function(e){e.$destroy(),e=null}))}}},3824:function(e,t,r){"use strict";r(0)(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("div",[e("nuxt-child")],1)},t.staticRenderFns=[]},4548:function(e,t,r){"use strict";var n=r(3824);r.o(n,"render")&&r.d(t,"render",(function(){return n.render})),r.o(n,"staticRenderFns")&&r.d(t,"staticRenderFns",(function(){return n.staticRenderFns}))},5454:function(e,t,r){"use strict";r.r(t);var n=r(4548),o=r(2958);for(var l in o)["default"].indexOf(l)<0&&function(e){r.d(t,e,(function(){return o[e]}))}(l);var h=r(11),component=Object(h.a)(o.default,n.render,n.staticRenderFns,!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=c6c5ff7.js.map