PageSourceSearch

https://clr.fund/assets/AboutLayer2-2f599958.js

js clr.fund collected 2026-10-03 23:03:00 UTC 5,425 bytes, 1 lines download raw bytes

1import{u as D,s as v,o as N,r as R,c as r,a as i,m as U,d as V}from"./index-5bc6a8c3.js";import{l as I,j as c,B as L,a0 as P,v as u,x as b,U as t,Z as e,a2 as n,K as o,J as s,u as a,G as y,E as j}from"./@vuelidate-37974312.js";import"./google-spreadsheet-52064692.js";import"./common-8c12cf0d.js";import"./@kleros/gtcr-encoder-abf0ce58.js";const q={class:"about"},G={class:"content-heading"},J={key:1,class:"divider",id:"bridge"},K={key:2,class:"chain-details"},O={width:"16px",src:U},W={class:"btn-action"},Z={key:3},z={class:"btn-action"},F=I({__name:"AboutLayer2",setup(H){const k=D(),{nativeTokenAddress:$,nativeTokenSymbol:d,nativeTokenDecimals:_,operator:w}=v(k),T=N(),{currentUser:S}=v(T),A=R(),m=c(()=>window.ethereum),f=c(()=>m.value.isMetaMask),B=c(()=>`${r.explorer}/address/${$.value}`);L(()=>{const{section:l}=A.params;l&&g(l)});function g(l){const p=document.getElementById(l);if(!p)return;const h=80,M=p.getBoundingClientRect().top-h;window.scrollTo({top:M,behavior:"smooth"})}async function C(){try{m.value&&f.value&&await m.value.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:$.value,symbol:d.value,decimals:_.value}}})}catch(l){console.log(l)}}return(l,p)=>{const h=P("tooltip");return u(),b("div",q,[t("h1",G,e(l.$t("layer2.heading.title")),1),t("h2",null,e(l.$t("layer2.heading.subtitle")),1),t("p",null,[t("b",null,[n(e(l.$t("layer2.heading.paragraph-1-text-1"))+" ",1),o(i,{to:"https://ethereum.org/en/developers/docs/scaling/layer-2-rollups/"},{default:s(()=>[n(e(l.$t("layer2.heading.link-1")),1)]),_:1}),n(" "+e(l.$t("layer2.heading.paragraph-1-text-2",{chain:a(r).label})),1)])]),a(r).bridge?(u(),b("button",{key:0,class:"btn-secondary",onClick:p[0]||(p[0]=E=>g("bridge"))},e(l.$t("layer2.heading.cta")),1)):y("",!0),t("h2",null,e(l.$t("layer2.transactions.title")),1),t("p",null,e(l.$t("layer2.transactions.paragraph-1")),1),t("p",null,e(l.$t("layer2.transactions.paragraph-2")),1),t("h2",null,e(l.$t("layer2.scalability.title")),1),t("p",null,e(l.$t("layer2.scalability.p1")),1),t("p",null,e(l.$t("layer2.scalability.p2")),1),t("p",null,e(l.$t("layer2.scalability.p3")),1),t("p",null,[n(e(l.$t("layer2.scalability.p4_t1"))+" ",1),o(i,{to:"https://ethereum.org/en/developers/docs/scaling/layer-2-rollups/"},{default:s(()=>[n(e(l.$t("layer2.scalability.p4_l1")),1)]),_:1})]),a(r).bridge?(u(),b("div",J)):y("",!0),a(r).label.includes("Arbitrum")?(u(),b("div",K,[t("h2",null,e(a(r).label),1),t("p",null,[n(e(l.$t("layer2.arbitrum.p1",{operator:a(w),chain:a(r).label}))+" ",1),o(i,{to:"https://developer.offchainlabs.com/docs/rollup_basics"},{default:s(()=>[n(e(l.$t("layer2.arbitrum.link",{chain:a(r).label})),1)]),_:1})]),t("h2",null,e(l.$t("layer2.arbitrum.subtitle")),1),t("ul",null,[t("li",null,e(l.$t("layer2.arbitrum.li1",{chain:a(r).label})),1),t("li",null,e(l.$t("layer2.arbitrum.li2",{chain:a(r).label})),1)]),t("h3",null,[n(e(l.$t("layer2.arbitrum.h3",{chain:a(r).label}))+" ",1),j(t("img",O,null,512),[[h,{content:l.$t("layer2.arbitrum.tooltip")}]])]),t("ul",null,[t("li",null,[n(e(l.$t("layer2.arbitrum.li3_t1"))+" ",1),o(i,{to:"https://portal.arbitrum.one/"},{default:s(()=>[n(e(l.$t("layer2.arbitrum.li3_link",{chain:a(r).label})),1)]),_:1}),n(" "+e(l.$t("layer2.arbitrum.li3_t2",{chain:a(r).label})),1)]),t("li",null,[n(e(l.$t("layer2.arbitrum.li4_t1"))+" ",1),o(i,{to:"https://registry.walletconnect.org/wallets"},{default:s(()=>[n(e(l.$t("layer2.arbitrum.li4_link")),1)]),_:1}),n(" "+e(l.$t("layer2.arbitrum.li4_t2")),1)])]),t("h3",null,e(l.$t("layer2.arbitrum.funds.h3",{chain:a(r).label})),1),t("p",null,[o(i,{to:a(r).bridge,hideArrow:!0},{default:s(()=>[t("button",W,e(l.$t("layer2.arbitrum.funds.button",{chain:a(r).label})),1)]),_:1},8,["to"])]),t("p",null,[n(e(l.$t("layer2.arbitrum.funds.p1_t1"))+" ",1),o(i,{to:"https://arbitrum.io/bridge-tutorial/"},{default:s(()=>[n(e(l.$t("layer2.arbitrum.funds.link1")),1)]),_:1}),n(" "+e(l.$t("layer2.arbitrum.funds.p1_t2")),1)]),t("ol",null,[t("li",null,e(l.$t("layer2.arbitrum.funds.li1",{chain:a(r).label})),1),t("li",null,[n(e(l.$t("layer2.arbitrum.funds.li2",{chain:a(r).label}))+" ",1),t("strong",null,e(l.$t("layer2.arbitrum.funds.li2_b")),1)]),t("li",null,[n(e(l.$t("layer2.arbitrum.funds.li3",{nativeTokenSymbol:a(d)}
1))+" ",1),t("p",null,e(l.$t("layer2.arbitrum.funds.li3_p",{nativeTokenSymbol:a(d)})),1)]),t("li",null,e(l.$t("layer2.arbitrum.funds.li4")),1),t("li",null,e(l.$t("layer2.arbitrum.funds.li5")),1)]),t("p",null,[n(e(l.$t("layer2.arbitrum.funds.p2_t1",{nativeTokenSymbol:a(d),chain:a(r).label}))+" ",1),o(i,{to:a(B)},{default:s(()=>[n(e(l.$t("layer2.arbitrum.funds.p2_link")),1)]),_:1},8,["to"]),n(" "+e(l.$t("layer2.arbitrum.funds.p2_t2")),1)]),a(S)&&a(f)?(u(),b("button",{key:0,class:"btn-secondary",onClick:C},e(l.$t("layer2.arbitrum.funds.button_2nd",{nativeTokenSymbol:a(d),chain:a(r).label})),1)):y("",!0)])):a(r).bridge?(u(),b("div",Z,[t("h2",null,e(a(r).label),1),t("h2",null,e(l.$t("layer2.not_arbitrum.subtitle")),1),t("ul",null,[t("li",null,e(l.$t("layer2.not_arbitrum.li1",{chain:a(r).label})),1),t("li",null,e(l.$t("layer2.not_arbitrum.li2",{chain:a(r).label})),1)]),t("h2",null,e(l.$t("layer2.not_arbitrum.h2",{chain:a(r).label})),1),t("p",null,[o(i,{to:a(r).bridge,hideArrow:!0},{default:s(()=>[t("button",z,e(l.$t("layer2.not_arbitrum.cta",{chain:a(r).label})),1)]),_:1},8,["to"])])])):y("",!0)])}}});const el=V(F,[["__scopeId","data-v-54096999"]]);export{el as default};

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.