PageSourceSearch

https://fantom.foundation/_next/static/chunks/pages/ecosystemvault-d1c88f5bf9ceeb50.js

js fantom.foundation collected 2026-10-02 06:32:25 UTC 14,036 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4258],{8396:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i,a=n(7294),r=n(4168),o=n(539),l=n(8974);function p(e,t,n,i,r){let[o,p]=a.useState(()=>r&&n?n(e).matches:i?i(e).matches:t);return(0,l.Z)(()=>{let t=!0;if(!n)return;let i=n(e),a=()=>{t&&p(i.matches)};return a(),i.addListener(a),()=>{t=!1,i.removeListener(a)}},[e,n]),o}let d=(i||(i=n.t(a,2))).useSyncExternalStore;function s(e,t,n,i,r){let o=a.useCallback(()=>t,[t]),l=a.useMemo(()=>{if(r&&n)return()=>n(e).matches;if(null!==i){let{matches:t}=i(e);return()=>t}return o},[o,e,i,r,n]),[p,s]=a.useMemo(()=>{if(null===n)return[o,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[o,n,e]),x=d(s,p,l);return x}function x(e,t={}){let n=(0,r.Z)(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:a=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:x=null,noSsr:g=!1}=(0,o.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),c="function"==typeof e?e(n):e;c=c.replace(/^@media( ?)/m,"");let m=(void 0!==d?s:p)(c,a,l,x,g);return m}},8974:function(e,t,n){"use strict";var i=n(3546);t.Z=i.Z},4619:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ecosystemvault",function(){return n(2089)}])},5976:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(5893),a=n(5861),r=n(3967),o=n.n(r),l=n(3443);let p=(0,l.Z)(e=>({requirements:{display:"flex",flexDirection:"column",gap:"24px",[e.breakpoints.down("lg")]:{gap:"16px"}},blue:{background:e.palette.gradient.main,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent"},green:{background:e.palette.gradient.green,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent"},purple:{background:e.palette.gradient.purple,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent"},unitboxWrapper:{padding:"40px !important",[e.breakpoints.down("lg")]:{padding:"32px !important"},[e.breakpoints.down("md")]:{padding:"24px !important"},"& p":{fontSize:"80px ",lineHeight:"80px ",letterSpacing:"-0.8px",fontFamily:"Manrope",fontWeight:700,[e.breakpoints.down("lg")]:{fontSize:"70px ",lineHeight:"86px "},[e.breakpoints.down("md")]:{fontSize:"54px",lineHeight:"64px",letterSpacing:"-1px"}}},boxWrapper:{padding:"40px !important",minHeight:"240px","& $itemContainer":{justifyContent:"center"},"& p":{lineHeight:"96px"},[e.breakpoints.down("lg")]:{padding:"32px !important","& p":{fontSize:"80px",lineHeight:"96px"}},[e.breakpoints.down("md")]:{padding:"24px !important",minHeight:"200px","& p":{fontSize:"64px",lineHeight:"64px"}}},boxContentContainer:{display:"flex",padding:"40px",borderRadius:"24px",gap:"32px",background:e.palette.common.black2,[e.breakpoints.down("md")]:{padding:"32px"},[e.breakpoints.down("tablet")]:{padding:"24px",minHeight:"512px",height:"100%"}},boxContent:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"32px",width:"100%",[e.breakpoints.down("tablet")]:{flexDirection:"column",alignItems:"flex-start",gap:0}},unitboxContent:{minHeight:"222px",[e.breakpoints.down("lg")]:{minHeight:"238px"},[e.breakpoints.down("md")]:{minHeight:"158px"}},divider:{border:"1px solid ".concat(e.palette.common.divider),marginLeft:"25%",[e.breakpoints.up("lg")]:{display:"none"},[e.breakpoints.down("lg")]:{display:"block"},"@media (max-width: 1190px)":{marginLeft:"15%"},"@media (max-width: 1100px)":{display:"none"}},itemContainer:{display:"flex",flexDirection:"column",gap:"8px"},titleHeight:{"@media (max-width: 795px)":{minHeight:"54px"},[e.breakpoints.down("tablet")]:{minHeight:"unset"}},gradientHeadingStyle:{fontSize:"80px",lineHeight:"80px",fontFamily:"Manrope",fontWeight:700,letterSpacing:"-1px",[e.breakpoints.down("lg")]:{fontSize:"64px",lineHeight:"64px"},"@media (max-width: 1100px)":{fontSize:"40px",lineHeight:"56px"},[e.breakpoints.down("sm")]:{fontSize:"48px",lineHeight:"64px"}},smallText:{color:e.palette.common.white},boxTitleStyle:{fontSize:"40px",lineHeight:"48px",letterSpacing:"-1px",[e.breakpoints.down("tablet")]:{fontSize:"32px",lineHeight:"40px",letterSpacing:"-0.5px"}},keyDiv:{display:"flex"},unit:{[e.breakpoints.down("lg")]:{fontSize:"24px",lineHeight:"24px",letterSpacing:"-0.24px"}}}));var d=n(9605);let s=e=>{let{startingText:t,gradientText:n,endingText:r,gradientColor:l,unit:s}=e,x=p();return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:x.itemContainer,children:[(0,i.jsx)(a.Z,{variant:"h5",className:o()(x.smallText,s&&x.titleHeight),children:t}),(0,i.jsx)(a.Z,{className:x.gradientHeadingStyle,children:(0,i.jsxs)("span",{className:"".concat(x[(0,d.SQ)(l)]),children:[n,s&&(0,i.jsx)("span",{className:o()(x.unit),children:s})]})}),(0,i.jsx)(a.Z,{variant:"h5",className:x.smallText,children:r})]})})},x=e=>{let{requirementsData:t,title:n}=e,r=p();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:r.requirements,children:[(0,i.jsx)("div",{className:r.boxTitleContainer,children:(0,i.jsx)(a.Z,{variant:"h3",children:(0,i.jsx)("span",{className:"".concat(r[(0,d.SQ)(t[0].gradientColor)]),children:n})})}),(0,i.jsx)("div",{className:o()(r.boxContentContainer,t[0].unit?r.unitboxWrapper:t[0].noCaption?r.boxWrapper:""),children:(0,i.jsx)("div",{className:o()(r.boxContent,t[0].unit&&r.unitboxContent),children:t.map((e,t)=>(0,i.jsxs)("div",{className:r.keyDiv,children:[(0,i.jsx)(s,{startingText:e.startingText,gradientText:e.gradientText,endingText:e.endingText,gradientColor:e.gradientColor,unit:e.unit}),e.showDivider&&(0,i.jsx)("div",{className:r.divider})]},t))})})]})})})};var g=x},2089:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return C}});var i=n(5893),a=n(7294),r=n(9008),o=n.n(r),l=n(990),p=n(5317),d=n(6546),s=n(6209),x=n(5861);let g=[{gradientTextAtlast:"false",gradientColor:"blueGradient",heading1:"Ecosystem",heading2:"Vault",paragraph:"A community-driven source of funding for your dApp.",showButton:"true",background:"darkBackgroun
1d",buttonText:"Submit a proposal",buttonLink:"/contact",arrowBtnText:"Get involved",arrowBtnTextColor:"white",arrowBtnLink:"https://forum.fantom.network/",arrowBtnLinkType:"external",arrowSvgTip:"#FFFFFF",arrowSvgLine:"#FFFFFF"}],c={title:"How it works?",paragraph:"10% of all Fantom transaction fees go to the Ecosystem Vault, serving as an additional stream of revenue for dApps.",smallParagraph:"We distribute those funds to dApps in quarterly funding rounds.",subTitle:"Available FTM",ftmNumber:"52,268"},m=[{id:1,startingText:"Submit",gradientText:"Proposal",endingText:"for governance",gradientColor:"blueGradient",showDivider:!0},{id:2,startingText:"Specify",gradientText:"Amount",endingText:"of funding requested",gradientColor:"blueGradient",showDivider:!0},{id:3,startingText:"Own a",gradientText:"Multi-sig",endingText:"wallet address",gradientColor:"blueGradient",showDivider:!1}],u=[{title:"Payments",titleColor:"primaryBlue",detail:"10% of all Fantom’s transaction fees go to the Ecosystem Vault.",subDetail:"The Ecosystem Vault is managed by a governance contract that is controlled by the Fantom token holders.",subDetailVariant:"h4",background:"black",width:"66%",btnText:"Check out the Vault",arrowSvgTip:"#1969FF",arrowSvgLine:"#65B3DF",btnTextColor:"primaryBlue",widthEqualOnSmallDeskTop:!0,link:"https://docs.fantom.foundation/funding/gas-monetization",linkType:"external"},{title:"Launch",titleColor:"white",detail:"Upon passing a successful governance proposal, the payment will be streamed to the dApp’s wallet over time.",subDetail:"",background:"gradient",width:"32%",btnText:"Submit a proposal",arrowSvgTip:"#FFFFFF",arrowSvgLine:"#FFFFFF",btnTextColor:"white",link:"/contact"}];var h=n(3443);let b=(0,h.Z)(e=>({redirectNetworkBox:{display:"flex",justifyContent:"space-between",background:e.palette.gradient.black,padding:"40px",borderRadius:"24px",flexDirection:"column",[e.breakpoints.down("lg")]:{gap:"16px",padding:"32px"},[e.breakpoints.down("md")]:{gap:"36px",padding:"24px"},[e.breakpoints.down("tablet")]:{minHeight:"512px"}},redirectNetworkText:{maxWidth:"907px",[e.breakpoints.down("lg")]:{maxWidth:"668px"},[e.breakpoints.down("md")]:{maxWidth:"537px"}},primaryGradientText:{background:e.palette.gradient.main,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent",display:"inline-block"},whiteText:{color:e.palette.common.white},paragraph:{fontFamily:"Manrope",fontSize:"64px",lineHeight:"64px",letterSpacing:"-2px",fontWeight:400,color:e.palette.common.offWhite,padding:"40px 0",[e.breakpoints.down("lg")]:{fontSize:"32px",lineHeight:"40px",letterSpacing:"-0.5px",padding:"32px 0"},[e.breakpoints.down("md")]:{fontSize:"24px",lineHeight:"32px",letterSpacing:"-0.25px",padding:"24px 0"}},availableFtmBox:{display:"flex",flexDirection:"column",alignItems:"flex-end",marginTop:"-30px",[e.breakpoints.down("lg")]:{marginTop:0}},availableFtmBoxTitle:{display:"flex",justifyContent:"flex-end"},divider:{background:e.palette.gradient.main,width:"100%",height:"8px",borderRadius:"4px",[e.breakpoints.down("md")]:{height:"4px"},[e.breakpoints.down("tablet")]:{height:"8px"}},availableFtmNumber:{display:"flex",alignItems:"flex-end",flexDirection:"column",gap:"8px",paddingTop:"16px"},ftmNumberStyle:{fontFamily:"Manrope",fontSize:"96px",lineHeight:"96px",letterSpacing:"-2px",fontWeight:400,background:e.palette.gradient.main,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent",[e.breakpoints.down("md")]:{fontSize:"64px",lineHeight:"64px",letterSpacing:"-1px"},[e.breakpoints.down("tablet")]:{fontSize:"80px",lineHeight:"96px"}},ftmTitleStyle:{fontSize:"32px",fontWeight:"700",[e.breakpoints.down("lg")]:{fontSize:"32px",lineHeight:"40px",letterSpacing:"-0.5px"},[e.breakpoints.down("md")]:{fontSize:"20px",lineHeight:"28px",letterSpacing:"-0.25px"},[e.breakpoints.down("tablet")]:{fontSize:"24px",lineHeight:"28px"}}})),f=()=>{let e=b();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:e.redirectNetworkBox,children:[(0,i.jsxs)("div",{className:e.redirectNetworkText,children:[(0,i.jsx)(x.Z,{variant:"h5",className:e.primaryGradientText,children:c.title}),(0,i.jsx)(x.Z,{className:e.paragraph,children:c.paragraph}),(0,i.jsx)(x.Z,{variant:"h5",className:e.whiteText,children:c.smallParagraph})]}),(0,i.jsxs)("div",{className:e.availableFtmBox,children:[(0,i.jsx)("div",{className:e.availableFtmBoxTitle,children:(0,i.jsx)(x.Z,{className:e.ftmTitleStyle,children:(0,i.jsx)("span",{className:e.whiteText,children:c.subTitle})})}),(0,i.jsxs)("div",{className:e.availableFtmNumber,children:[(0,i.jsx)("div",{className:e.divider}),(0,i.jsx)(x.Z,{className:e.ftmNumberStyle,children:c.ftmNumber})]})]})]})})})};var w=n(5047),k=n(5976);let v=(0,h.Z)(e=>
1({ecoSystemVaultParallax:{position:"absolute",left:0,right:0,top:0,padding:"160px 0 160px 0",borderRadius:"160px 160px 0 0",background:e.palette.gradient.lightBackground,[e.breakpoints.down("lg")]:{padding:"120px 0 120px 0"},[e.breakpoints.down("md")]:{padding:"100px 0 140px 0",borderRadius:"100px 100px 0 0"},[e.breakpoints.down("sm")]:{padding:"24px 0 80px 0",borderRadius:"32px 32px 0 0"}},bodySection:{position:"relative",background:e.palette.gradient.lightBackground,borderRadius:"160px 160px 0 0",[e.breakpoints.down("md")]:{borderRadius:"100px 100px 0 0"},[e.breakpoints.down("sm")]:{borderRadius:"32px 32px 0 0",marginTop:"-28px"}},innerContainer:{display:"flex",flexDirection:"column",gap:"140px",padding:"930px 0 160px 0",[e.breakpoints.down("lg")]:{padding:"730px 0 120px 0"},[e.breakpoints.down("md")]:{padding:"672px 0 140px 0",gap:"100px"},[e.breakpoints.down("tablet")]:{padding:"752px 0 140px 0"},[e.breakpoints.down("sm")]:{padding:"648px 0 80px 0",gap:"64px"},"@media (max-width: 365px)":{padding:"680px 0 80px 0"}},upperContents:{display:"flex",flexDirection:"column",gap:"140px",[e.breakpoints.down("lg")]:{gap:"120px"},[e.breakpoints.down("md")]:{gap:"82px"},[e.breakpoints.down("sm")]:{gap:"67px"}},lowerContents:{display:"flex",flexDirection:"column",gap:"30px",[e.breakpoints.down("tablet")]:{gap:"24px"}}})),y=()=>{let e=v();return(0,i.jsx)("div",{className:e.bodySection,children:(0,i.jsxs)("div",{className:e.innerContainer,children:[(0,i.jsx)("div",{id:"ecoSystemVaultParallax",className:e.ecoSystemVaultParallax,children:(0,i.jsx)("div",{className:e.upperContents,children:(0,i.jsx)(f,{})})}),(0,i.jsxs)("div",{className:e.lowerContents,id:"lowerContents",children:[(0,i.jsx)(k.Z,{requirementsData:m,title:"Funding process"}),(0,i.jsx)(w.Z,{boxData:u})]})]})})};var S=n(8068);let T=()=>{let[e,t]=(0,a.useState)(window.innerWidth);return l.p8.registerPlugin(d.ScrollTrigger),(0,a.useEffect)(()=>{let n=()=>{t(window.innerWidth),e>=1024&&location.reload()};return window.addEventListener("resize",()=>{n()}),()=>{window.removeEventListener("resize",n)}},[e]),(0,a.useEffect)(()=>{l.p8.to("#ecoSystemVaultParallax",{y:e<768?0:-172,duration:.6,ease:p.EA.easeInOut,scrollTrigger:{trigger:"#ecoSystemVaultParallax",start:e<=1024?"top 50%":e>1920?"top 30%":"-7% 98%",end:e>1920?"top top":"top 20%",scrub:!0}}),l.p8.to("#lowerContents",{marginTop:e<768?0:"-172px",duration:.6,ease:p.EA.easeInOut,scrollTrigger:{trigger:"#lowerContents",start:e<=1024?"top 80%":e>1920?"top 85%":"-6% 98%",end:e>1920?"top top":"top 20%",scrub:!0}})},[e]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o(),{children:[(0,i.jsx)("title",{children:"Ecosystem Vault | Fantom"}),(0,i.jsx)("meta",{name:"description",content:"Fantom Foundation | Ecosystem Vault"})]}),(0,i.jsxs)("div",{className:"lightGreyBackground pageWrapper",children:[(0,i.jsx)(S.Z,{headerTheme:"dark"}),(0,i.jsx)(s.Z,{heroData:g}),(0,i.jsx)(y,{})]})]})};var C=T}},function(e){e.O(0,[8802,5945,6137,8068,6209,5047,9774,2888,179],function(){return e(e.s=4619)}),_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.