1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4674],{14129:(e,s,l)=>{l.d(s,{A:()=>i});var a=l(25763),n=l(84415);function i(e){let s,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wei";switch(l){case"wei":s=n.M$;break;case"gwei":s=n.dW;break;default:s=new a.A(1)}return new a.A(e).dividedBy(s)}},34460:(e,s,l)=>{l.d(s,{A:()=>c});var a=l(37876),n=l(57175),i=l(14232),r=l(83614),t=l(34742),o=l(70145),d=l(12265),h=l(97675),x=l(58081);let c=i.memo((0,n.B)(e=>{var s,l;let{className:i,tx:c,accuracy:j,accuracyUsd:p,isLoading:u,withCurrency:m=!0,withUsd:f}=e;if("celo"in c&&(null===(s=c.celo)||void 0===s?void 0:s.gas_token)){let e=c.celo.gas_token,{valueStr:s,usd:l}=(0,t.A)({value:c.fee.value||"0",exchangeRate:e.exchange_rate,decimals:e.decimals,accuracy:j,accuracyUsd:p});return(0,a.jsxs)(d.EA,{whiteSpace:"pre-wrap",wordBreak:"break-word",loading:u,display:"flex",flexWrap:"wrap",className:i,children:[(0,a.jsxs)("span",{children:[s," "]}),(0,a.jsx)(x.Ay,{token:e,noCopy:!0,onlySymbol:!0,w:"auto",ml:1}),l&&f&&(0,a.jsxs)(n.B.span,{color:"text.secondary",children:[" ($",l,")"]})]})}if("stability_fee"in c&&c.stability_fee){let e=c.stability_fee.token,{valueStr:s,usd:l}=(0,t.A)({value:c.stability_fee.total_fee,exchangeRate:e.exchange_rate,decimals:e.decimals,accuracy:j,accuracyUsd:p});return(0,a.jsxs)(d.EA,{whiteSpace:"pre",loading:u,display:"flex",className:i,children:[(0,a.jsxs)("span",{children:[s," "]}),"0"!==s&&(0,a.jsx)(x.Ay,{token:e,noCopy:!0,onlySymbol:!0,w:"auto",ml:1}),l&&f&&(0,a.jsxs)(n.B.span,{color:"text.secondary",children:[" ($",l,")"]})]})}let g=m&&!(null===(l=r.A.UI.views.tx.hiddenFields)||void 0===l?void 0:l.fee_currency);return(0,a.jsx)(h.A,{value:c.fee.value,currency:g?o.T.ether:"",exchangeRate:f&&"exchange_rate"in c?c.exchange_rate:null,accuracy:j,accuracyUsd:p,flexWrap:"wrap",className:i,isLoading:u})}))},45283:(e,s,l)=>{l.d(s,{z:()=>a});function a(e){return(null==e?void 0:e.chain)&&"page"!==e.level?e.chain:void 0}},46002:(e,s,l)=>{l.d(s,{A:()=>N});var a=l(37876),n=l(57175),i=l(14232),r=l(31522),t=l(18376),o=l(82114),d=l(66290),h=l(21555),x=l(8091),c=l(47152),j=l(12265),p=l(45883),u=l(43123),m=l(58509),f=l(25763),g=l(22187),b=l(83614),_=l(83197),w=l(14129),A=l(70145),y=l(75884),v=l(42469),E=l(58989),W=l(34460),B=l(66594);let R=i.memo(e=>{var s,l;let{tx:n}=e,i=(0,_.HX)(),r={borderBottom:"1px solid",borderColor:"border.divider",paddingBottom:4},t={color:"text.secondary",fontWeight:600,marginBottom:3};return(0,a.jsxs)(a.Fragment,{children:[n.blob_versioned_hashes&&n.blob_versioned_hashes.length>0&&(0,a.jsxs)(h.a,{...r,mb:4,children:[(0,a.jsxs)(u.s,{alignItems:"center",justifyContent:"space-between",children:[(0,a.jsxs)(m.E,{...t,children:["Blobs: ",n.blob_versioned_hashes.length]}),n.blob_versioned_hashes.length>3&&(0,a.jsx)(y.N_,{href:(0,g.w)({pathname:"/tx/[hash]",query:{hash:n.hash,tab:"blobs"}}),mb:3,children:"view all"})]}),(0,a.jsx)(u.s,{flexDir:"column",rowGap:3,children:n.blob_versioned_hashes.slice(0,3).map((e,s)=>(0,a.jsxs)(u.s,{columnGap:2,children:[(0,a.jsx)(h.a,{fontWeight:500,children:s+1}),(0,a.jsx)(v.Ay,{hash:e,noIcon:!0})]},e))})]}),!(null===(s=b.A.UI.views.tx.hiddenFields)||void 0===s?void 0:s.tx_fee)&&(0,a.jsx)(h.a,{...r,mb:4,children:(void 0!==n.stability_fee||null!==n.fee.value)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.E,{...t,children:"Transaction fee"}),(0,a.jsx)(W.A,{tx:n,withUsd:!0,accuracyUsd:2,rowGap:0})]})}),null!==n.gas_used&&(0,a.jsxs)(h.a,{...r,mb:4,children:[(0,a.jsx)(m.E,{...t,children:"Gas limit & usage by transaction"}),(0,a.jsxs)(u.s,{children:[(0,a.jsx)(m.E,{children:(0,f.A)(n.gas_used).toFormat()}),(0,a.jsx)(E.A,{}),(0,a.jsx)(m.E,{children:(0,f.A)(n.gas_limit).toFormat()}),(0,a.jsx)(B.A,{ml:4,value:Number((0,f.A)(n.gas_used).dividedBy((0,f.A)(n.gas_limit)).toFixed(2))})]})]}),!(null===(l=b.A.UI.views.tx.hiddenFields)||void 0===l?void 0:l.gas_fees)&&(null!==n.base_fee_per_gas||null!==n.max_fee_per_gas||null!==n.max_priority_fee_per_gas)&&(0,a.jsxs)(h.a,{...r,mb:4,children:[(0,a.jsxs)(m.E,{...t,children:["Gas fees (",A.T.gwei,")"]}),null!==n.base_fee_per_gas&&(0,a.jsxs)(h.a,{children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Base: "}),(0,a.jsx)(m.E,{fontWeight:"700",as:"span",children:(0,w.A)(n.base_fee_per_gas,"gwei").toFormat()})]}),null!==n.max_fee_per_gas&&(0,a.jsxs)(h.a,{mt:1,children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Max: "}),(0,a.jsx)(m.E,{fontWeight:"700",as:"span",children:(0,w.A)(n.max_fee_per_gas,"gwei").toFormat()})]}),null!==n.max_priority_fee_per_gas&&(0,a.jsxs)(h.a,{mt:1,children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Max priority: "}),(0,a.jsx)(m.E,{fontWeight:"700",as:"span",children:(0,w.A)(n.max_priority_fee_per_gas,"gwei").toFormat()})]})]}),!(n.blob_versioned_hashes&&n.blob_versioned_hashes.length>0)&&(0,a.jsxs)(h.a,{...r,mb:4,children:[(0,a.jsx)(m.E,{...t,children:"Others"}),(0,a.jsxs)(h.a,{children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Txn type: "}),(0,a.jsx)(m.E,{fontWeight:"600",as:"span",children:n.type}),2===n.type&&(0,a.jsx)(m.E,{fontWeight:"400",as:"span",ml:1,color:"text.secondary",children:"(EIP-1559)"})]}),(0,a.jsxs)(h.a,{mt:1,children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Nonce: "}),(0,a.jsx)(m.E,{fontWeight:"600",as:"span",children:n.nonce})]}),(0,a.jsxs)(h.a,{mt:1,children:[(0,a.jsx)(m.E,{as:"span",fontWeight:"500",children:"Position: "}),(0,a.jsx)(m.E,{fontWeight:"600",as:"span",children:n.position})]})]}),(0,a.jsx)(y.N_,{href:(0,g.w)({pathname:"/tx/[hash]",query:{hash:n.hash}},i),children:"More details"})]})}),k=i.memo(e=>{let{hash:s}=e,{data:l,isError:n,isPending:i}=(0,c.A)("general:tx",{pathParams:{hash:s},queryOptions:{refetchOnMount:!1}});return i?(0,a.jsxs)(h.a,{children:[(0,a.jsxs)(h.a,{children:[(0,a.jsx)(j.EA,{loading:!0,w:"110px",h:"16px",borderRadius:"full",mb:3}),(0,a.jsx)(j.EA,{loading:!0,w:"100%",h:"16px",borderRadius:"full"})]}),(0,a.jsx)(x.w,{my:4}),(0,a.jsxs)(h.a,{children:[(0,a.jsx)(j.EA,{loading:!0,w:"110px",h:"16px",borderRadius:"full",mb:3}),(0,a.jsx)(j.EA,{loading:!0,w:"100%",h:"16px",borderRadius:"full"})]}),(0,a.jsx)(x.w,{my:4}),(0,a.jsxs)(h.a,{children:[(0,a.jsx)(j.EA,{loading:!0,w:"110px",h:"16px",borderRadius:"full",mb:3}),(0,a.jsx)(j.EA,{loading:!0,w:"100%",h:"16px",borderRadius:"full"})]}),(0,a.jsx)(x.w,{my:4}),(0,a.jsxs)(h.a,{children:[(0,a.jsx)(j.EA,{loading:!0,w:"110px",h:"16px",borderRadius:"full",mb:3}),(0,a.jsx)(j.EA,{loading:!0,w:"75%",h:"16px",borderRadius:"full"}),(0,a.jsx)(j.EA,{loading:!0,w:"75%",h:"16px",borderRadius:"full",mt:1}),(0,a.jsx)(j.EA,{loading:!0,w:"75%",h:"16px",borderRadius:"full",mt:1})]}),(0,a.jsx)(x.w,{my:4}),(0,a.jsx)(j.EA,{loading:!0,w:"80px",h:"16px",borderRadius:"full"})]}):n?(0,a.jsx)(p.A,{}):(0,a.jsx)(R,{tx:l})}),N=i.memo((0,n.B)(e=>{let{hash:s,tx:l,isMobile:n,isLoading:i,className:h}=e,x=void 0!==s?(0,a.jsx)(k,{hash:s}):(0,a.jsx)(R,{tx:l});return n?(0,a.jsxs)(r.Dz,{size:"full",children:[(0,a.jsx)(r.zM,{asChild:!0,children:(0,a.jsx)(d.A,{loading:i,className:h})}),(0,a.jsxs)(r.Cf,{children:[(0,a.jsx)(r.c7,{children:"Additional info"}),(0,a.jsx)(r.R4,{children:x})]})]}):(0,a.jsxs)(o.yt,{positioning:{placement:"right-start"},children:[(0,a.jsx)(o.Wv,{children:(0,a.jsx)(d.A,{loading:i,className:h})}),(0,a.jsx)(o.hl,{w:"330px",children:(0,a.jsxs)(o.ej,{children:[(0,a.jsx)(t.D,{level:"3",mb:6,children:"Additional info "}),x]})})]})}))},66290:(e,s,l)=>{l.d(s,{A:()=>o});var a=l(37876),n=l(57175),i=l(14232),r=l(68250),t=l(28348);let o=(0,n.B)(i.forwardRef((e,s)=>{let{loading:l,...n}=e;return(0,a.jsx)(r.K,{ref:s,variant:"icon_secondary",_open:{bgColor:"selected.control.bg",color:"selected.control.text"},borderRadius:"base","aria-label":"Transaction info",boxSize:6,loadingSkeleton:l,...n,children:(0,a.jsx)(t.A,{name:"info",boxSize:5})})}))},78963:(e,s,l)=>{l.d(s,{A:()=>h});var a=l(37876),n=l(14232),i=l(87112),r=l(48543),t=l(84375),o=l(12265),d=l(45267);let h=n.memo(e=>{let{data:s,boxSize:l=5,borderRadius:n="full",isLoading:h,withTooltip:x,...c}=e;if(h)return(0,a.jsx)(o.EA,{boxSize:l,borderRadius:n,...c,loading:!0});let j=(0,a.jsx)(t._,{src:(0,r.A)(s),boxSize:l,borderRadius:n,...c});return x?(0,a.jsx)(d.m,{content:(0,i.A)(s),children:j}):j})},97675:(e,s,l)=>{l.d(s,{A:()=>x});var a=l(37876),n=l(57175),i=l(14232),r=l(34742),t=l(70145),o=l(12265),d=l(45267),h=l(84415);let x=i.memo((0,n.B)(e=>{let{value:s,currency:l="",decimals:i,exchangeRate:x,className:c,accuracy:j,accuracyUsd:p,isLoading:u,startElement:m,showGweiTooltip:f}=e;if(u)return(0,a.jsx)(o.EA,{className:c,loading:!0,display:"inline-block",children:"0.00 ($0.00)"});if(null==s)return(0,a.jsx)(n.B.span,{className:c,children:"-"});let{valueCurr:g,valueStr:b,usd:_}
1=(0,r.A)({value:s,accuracy:j,accuracyUsd:p,exchangeRate:x,decimals:i}),w=(0,a.jsxs)(n.B.span,{display:"inline-block",maxW:"100%",whiteSpace:"pre",overflow:"hidden",textOverflow:"ellipsis",children:[b,l?" ".concat(l):""]}),A=f?g.multipliedBy(h.dW).toFormat():null;return(0,a.jsxs)(n.B.span,{className:c,display:"inline-flex",rowGap:3,columnGap:1,children:[m,f?(0,a.jsx)(d.m,{content:"".concat(A," ").concat(t.T.gwei),children:w}):w,_&&(0,a.jsxs)(n.B.span,{color:"text.secondary",fontWeight:400,children:["($",_,")"]})]})}))}}]); 2//# sourceMappingURL=4674-ccdb0481e94d95f2.js.map
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.