PageSourceSearch

https://pancakeswap.finance/_next/static/chunks/pages/info/infinity/[chainName]/pairs-a66b2a9d089fed94.js

js pancakeswap.finance collected 2026-09-24 08:44:40 UTC 6,331 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="10dbd1ed-35dc-4460-a7b0-7fd55066d8e4",e._sentryDebugIdIdentifier="sentry-dbid-10dbd1ed-35dc-4460-a7b0-7fd55066d8e4")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[432],{85738:(e,s,l)=>{"use strict";l.d(s,{l:()=>o});var r=l(450253),n=l.n(r),d=l(25963),t=l(856870),i=l(660430);let o=()=>{let{poolsData:e,...s}=(()=>{let e=(0,t.T8)(),s=(0,i.HS)(),l=(0,d.useMemo)(()=>Object.values(s).map(e=>{let{data:s}=e;return null==s?void 0:s.lpAddress}).filter(e=>!!e),[s]),r=(0,i.Nn)(l);return{poolsData:(0,d.useMemo)(()=>Object.values(s).map(s=>({...s.data,...e&&r&&s.data.lpAddress&&{lpApr7d:r[s.data.lpAddress]}})).filter(e=>"unknown"!==e.token1.name&&"unknown"!==e.token0.name),[s,e,r]),stableSwapsAprs:r}})();return{poolsData:(0,d.useMemo)(()=>e.reduce((e,s)=>(e.length>10?e.push(s):4>n()().diff(n().unix(s.timestamp),"day")||e.push(s),e),[]),[e]),...s}}},150001:(e,s,l)=>{"use strict";l.d(s,{A:()=>C});var r=l(350979),n=l(769932),d=l(990296),t=l(605641),i=l(501823),o=l(821410),a=l(494350),c=l(428089),p=l(905470),x=l(996464),u=l(25963),h=l(774900),m=l(856870),f=l(660430),j=l(680797),y=l(456194),A=l(442828),b=l(950198),g=l(590245);let k=j.I4.div.withConfig({componentId:"sc-93b7b688-0"})(["display:grid;grid-gap:1em;align-items:center;grid-template-columns:20px 3.5fr repeat(5,1fr);padding:0 24px;@media screen and (max-width:900px){grid-template-columns:20px 1.5fr repeat(3,1fr);& :nth-child(4),& :nth-child(5){display:none;}}@media screen and (max-width:500px){grid-template-columns:20px 1.5fr repeat(1,1fr);& :nth-child(4),& :nth-child(5),& :nth-child(6),& :nth-child(7){display:none;}}@media screen and (max-width:480px){grid-template-columns:2.5fr repeat(1,1fr);> *:nth-child(1){display:none;}}"]),D=(0,j.I4)(p.Y).withConfig({componentId:"sc-93b7b688-1"})(["text-decoration:none;&:hover{cursor:pointer;opacity:0.7;}"]),v={volumeUSD:"volumeUSD",liquidityUSD:"liquidityUSD",volumeUSDWeek:"volumeUSDWeek",lpFees24h:"lpFees24h",lpApr7d:"lpApr7d"},S=()=>(0,r.jsxs)(k,{children:[(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{}),(0,r.jsx)(d.Ay,{})]}),w=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S,{}),(0,r.jsx)(S,{}),(0,r.jsx)(S,{})]}),U=e=>{let{poolData:s,index:l}=e,n=(0,f.Rc)(),d=(0,f.Vx)(),o=(0,f.j$)(),a=(0,f.Zx)(),c=(0,m.n2)(),p=(0,A.En)(s.token0.address,d,s.token0.symbol),x=(0,A.En)(s.token1.address,d,s.token1.symbol),j=(0,u.useMemo)(()=>c?`/liquidity/pool/${(0,h.uP)(d)}/${s.address}`:`/info${o}/pairs/${s.address}${a}`,[o,s.address,a,d,c]);return(0,r.jsx)(D,{to:j,children:(0,r.jsxs)(k,{children:[(0,r.jsx)(t.A,{children:l+1}),(0,r.jsxs)(i.A,{children:[(0,r.jsx)(b.g,{address0:s.token0.address,address1:s.token1.address,chainName:n}),(0,r.jsxs)(t.A,{ml:"8px",children:[p,"/",x]})]}),(0,r.jsxs)(t.A,{children:["$",(0,y.e)(s.volumeUSD)]}),(0,r.jsxs)(t.A,{children:["$",(0,y.e)(s.volumeUSDWeek)]}),(0,r.jsxs)(t.A,{children:["$",(0,y.e)(s.lpFees24h)]}),(0,r.jsxs)(t.A,{children:[(0,y.e)(s.lpApr7d),"%"]}),(0,r.jsxs)(t.A,{children:["$",(0,y.e)(s.liquidityUSD)]})]})})},C=e=>{let{poolDatas:s,loading:l}=e,[d,i]=(0,u.useState)(v.volumeUSD),[p,h]=(0,u.useState)(!0),{t:m}=(0,n.A)(),[f,j]=(0,u.useState)(1),[y,A]=(0,u.useState)(1);(0,u.useEffect)(()=>{if(s){let e=1;s.length%x.vq==0&&(e=0),A(Math.floor(s.length/x.vq)+e)}},[s]);let b=(0,u.useMemo)(()=>s?s.sort((e,s)=>{if(e&&s){let l=e[d],r=s[d];return void 0!==l&&void 0!==r&&l>r?(p?-1:1)*1:-((p?-1:1)*1)}return -1}).slice(x.vq*(f-1),f*x.vq):[],[f,s,p,d]),D=(0,u.useCallback)(e=>{i(e),h(d!==e||!p)},[p,d]),C=(0,u.useCallback)(e=>{let s=p?"↓":"↑";return d===e?s:""},[p,d]);return(0,r.jsxs)(g.AC,{children:[(0,r.jsxs)(k,{children:[(0,r.jsx)(t.A,{color:"secondary",fontSize:"12px",bold:!0,children:"#"}),(0,r.jsx)(t.A,{color:"secondary",fontSize:"12px",bold:!0,textTransform:"uppercase",children:m("Pair")}),(0,r.jsxs)(g.yw,{color:"secondary",fontSize:"12px",bold:!0,onClick:()=>D(v.volumeUSD),textTransform:"uppercase",children:[m("Volume 24H")," ",C(v.volumeUSD)]}),(0,r.jsxs)(g.yw,{color:"secondary",fontSize:"12px",bold:!0,onClick:()=>D(v.volumeUSDWeek),textTransform:"uppercase",children:[m("Volume 7D")," ",C(v.volumeUSDWeek)]}),(0,r.jsxs)(g.yw,{color:"secondary",fontSize:"12px",bold:!0,onClick:()=>D(v.lpFees24h),textTransform:"uppercase",children:[m("LP reward fees 24H")," ",C(v.lpFees24h)]}),(0,r.jsxs)(g.yw,{color:"secondary",fontSize:"12px",bold:!0,onClick:()=>D(v.lpApr7d),textTransform:"uppercase",children:[m("LP reward APR")," ",C(v.lpApr7d)]}),(0,r.jsxs)(g.yw,{color:"secondary",fontSize:"12px",bold:!0,onClick:()=>D(v.liquidityUSD),textTransform:"uppercase",children:[m("Liquidity")," ",C(v.liquidityUSD)]})]}),(0,r.jsx)(g.qC,{}),b.length>0?(0,r.jsxs)(r.Fragment,{children:[b.map((e,s)=>e?(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)(U,{index:(f-1)*x.vq+s,poolData:e}),(0,r.jsx)(g.qC,{})]},e.address):null),l&&(0,r.jsx)(S,{}),(0,r.jsxs)(g.PU,{children:[(0,r.jsx)(g.i3,{onClick:()=>{j(1===f?f:f-1)},children:(0,r.jsx)(o.A,{color:1===f?"textDisabled":"primary"})}),(0,r.jsx)(t.A,{children:m("Page %page% of %maxPage%",{page:f,maxPage:y})}),(0,r.jsx)(g.i3,{onClick:()=>
1{j(f===y?f:f+1)},children:(0,r.jsx)(a.A,{color:f===y?"textDisabled":"primary"})})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{}),(0,r.jsx)(c.Ay,{})]})]})}},656052:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>j});var r=l(350979),n=l(273523),d=l(87242),t=l.n(d),i=l(562792),o=l(769932),a=l(575058),c=l(814795),p=l(25963),x=l(150001),u=l(85738);let h=()=>{let{t:e}=(0,o.A)(),{poolsData:s}=(0,u.l)(),l=(0,p.useMemo)(()=>s.some(e=>!(null==e?void 0:e.token0Price)),[s]);return(0,r.jsxs)(c.A,{children:[(0,r.jsx)(a.A,{scale:"lg",mt:"40px",mb:"16px",id:"info-pools-title",children:e("All Pairs")}),(0,r.jsx)(x.A,{poolDatas:s,loading:l})]})},m=()=>(0,r.jsx)(h,{}),f=t()(()=>Promise.resolve(m),{ssr:!1});f.Layout=i.Y,f.chains=[...n.Di];let j=f},976923:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/info/infinity/[chainName]/pairs",function(){return l(656052)}])}},e=>{e.O(0,[1895,7212,2775,4641,7817,3227,2792,636,6593,8792],()=>e(e.s=976923)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.