From 536bf36774cb641b2028c804309cc955d9805f43 Mon Sep 17 00:00:00 2001 From: icfor Date: Fri, 8 Mar 2024 06:46:54 +0000 Subject: [PATCH] deploy: 2972f0d2b55ce50a3a7f57d64a6ddf82f0ff746b --- 404.html | 2 +- 404/index.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 .../chunks/{4-7cc425b0e8573e79.js => 4-a82c649a6d50a6e6.js} | 0 _next/static/chunks/495-cd57e1abf257cc01.js | 1 - _next/static/chunks/495-fce896f6e5144304.js | 1 + .../{567-eb84a335d528f667.js => 567-94a020bddc64bd2a.js} | 0 .../{page-7fd23971fb589ebb.js => page-4e92a6b3cd7edc92.js} | 0 .../{page-b9870beab6343960.js => page-142df4473f77c8be.js} | 0 index.html | 2 +- index.txt | 6 +++--- validator/index.html | 2 +- validator/index.txt | 6 +++--- 14 files changed, 11 insertions(+), 11 deletions(-) rename _next/static/{9d9fhlBokaMNL3id_OOwR => b8rPrRWAmHUZwRWIN1Ogz}/_buildManifest.js (100%) rename _next/static/{9d9fhlBokaMNL3id_OOwR => b8rPrRWAmHUZwRWIN1Ogz}/_ssgManifest.js (100%) rename _next/static/chunks/{4-7cc425b0e8573e79.js => 4-a82c649a6d50a6e6.js} (100%) delete mode 100644 _next/static/chunks/495-cd57e1abf257cc01.js create mode 100644 _next/static/chunks/495-fce896f6e5144304.js rename _next/static/chunks/{567-eb84a335d528f667.js => 567-94a020bddc64bd2a.js} (100%) rename _next/static/chunks/app/{page-7fd23971fb589ebb.js => page-4e92a6b3cd7edc92.js} (100%) rename _next/static/chunks/app/validator/{page-b9870beab6343960.js => page-142df4473f77c8be.js} (100%) diff --git a/404.html b/404.html index 1ca74f8..80601fd 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 1ca74f8..80601fd 100644 --- a/404/index.html +++ b/404/index.html @@ -1 +1 @@ -404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/9d9fhlBokaMNL3id_OOwR/_buildManifest.js b/_next/static/b8rPrRWAmHUZwRWIN1Ogz/_buildManifest.js similarity index 100% rename from _next/static/9d9fhlBokaMNL3id_OOwR/_buildManifest.js rename to _next/static/b8rPrRWAmHUZwRWIN1Ogz/_buildManifest.js diff --git a/_next/static/9d9fhlBokaMNL3id_OOwR/_ssgManifest.js b/_next/static/b8rPrRWAmHUZwRWIN1Ogz/_ssgManifest.js similarity index 100% rename from _next/static/9d9fhlBokaMNL3id_OOwR/_ssgManifest.js rename to _next/static/b8rPrRWAmHUZwRWIN1Ogz/_ssgManifest.js diff --git a/_next/static/chunks/4-7cc425b0e8573e79.js b/_next/static/chunks/4-a82c649a6d50a6e6.js similarity index 100% rename from _next/static/chunks/4-7cc425b0e8573e79.js rename to _next/static/chunks/4-a82c649a6d50a6e6.js diff --git a/_next/static/chunks/495-cd57e1abf257cc01.js b/_next/static/chunks/495-cd57e1abf257cc01.js deleted file mode 100644 index edf2575..0000000 --- a/_next/static/chunks/495-cd57e1abf257cc01.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{143:function(e,t,s){s.d(t,{N:function(){return r}});var n=s(3827),l=s(59371);let r=e=>{let{children:t,onSort:s,sort:r,sorting:i}=e,a=(i||[]).concat(["none"]),c=r?a.indexOf(r):-1;return(0,n.jsx)("div",{className:"text-[14px] font-normal leading-[14px] tracking-wider",children:(0,n.jsxs)("span",{className:"relative",children:[t," ",!!s&&!!r&&(0,n.jsx)("button",{className:"absolute right-[-16px] top-[6px] cursor-pointer",dangerouslySetInnerHTML:{__html:l.Sf},onClick:()=>{if(!s)return;let e=(1+a.indexOf(r))%a.length,t=a[e];null==s||s(t)},style:{rotate:0===c?"180deg":1===c?"0deg":"90deg"}})]})})}},80148:function(e,t,s){s.d(t,{B:function(){return l}});var n=s(22840);let l=(e,t,s)=>typeof e!=typeof t?0:"string"==typeof e?s?e.localeCompare(t):t.localeCompare(e):"number"==typeof e?Number.isNaN(e)||Number.isNaN(t)?0:s?e-t:t-e:e instanceof n.Z&&t instanceof n.Z?s?e.minus(t).toNumber():t.minus(e).toNumber():0},26605:function(e,t,s){var n=s(3827),l=s(30298);t.Z=e=>{let{address:t}=e;if(!t)return null;let s=[t.slice(0,5),t.slice(t.length-5)].join("...");return(0,n.jsx)("button",{className:"cursor-pointer text-left text-[12px] font-normal leading-[20px] text-typo-200",onClick:()=>{navigator.clipboard.writeText(t),(0,l.Am)("Copied to clipboard",{type:"info"})},children:s})}},62948:function(e,t,s){s.d(t,{S6:function(){return N},sv:function(){return b}});var n=s(3827),l=s(22840),r=s(64090),i=s(82012),a=s(143),c=s(59371),o=s(80148),d=s(88197),u=s(80469),x=s(62986),m=s(39730),p=s(89056),h=s(66803),j=s(19807),v=s(67497),f=s(26605),g=s(48074);let N=e=>{let t=(0,m.jv)(e,null),s=(0,m.U2)(e,null);return(0,h.UO)(t)||(0,h.UO)(s)},b=e=>{let{isShowingDetails:t,setIsShowingDetails:s}=e;return(0,n.jsxs)("button",{className:"text-primary-500 flex flex-row items-center gap-2",onClick:()=>{s(!t)},children:[t?"Hide details":"Show details",(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:c.cx},style:{transform:"rotate(".concat(t?"0deg":"180deg",")")}})]})},w={gap:"16px",gridTemplateColumns:"60px 1.5fr repeat(4, 1fr)",minWidth:800,overflow:"auto"},y="grid w-full items-center justify-between gap-2 p-2 mb-[24px] last:mb-[0px] bg-black rounded-[8px]",k="w-full overflow-auto rounded-[24px] bg-bg-600 pb-4 text-typo-100 px-[16px]",S=()=>(0,n.jsx)("span",{className:"hover:bg-bg-500",dangerouslySetInnerHTML:{__html:c.GI}}),C=(0,r.memo)(e=>{let{delegation:t,disabled:s,index:l,staking:a,validator:c}=e,{validatorAddress:o}=t;(0,r.useEffect)(()=>{o&&(0,d.Dr)(o,a)},[o,a]);let u=(0,p.P)(null==c?void 0:c.description.identity);return(0,n.jsxs)("div",{className:y,style:w,children:[(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:u,style:{height:50,width:50}})}),(0,n.jsx)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==c?void 0:c.description.moniker)||""}),(0,n.jsx)(f.Z,{address:(null==c?void 0:c.operatorAddress)||""})]})}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(t.balance)})}),(0,n.jsx)("div",{className:"text-right",children:c?(0,v.i)(c.commission.commissionRates.rate,0):""}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(t.rewards)})}),(0,n.jsxs)("div",{className:"flex flex-row items-center justify-end gap-[8px]",children:[(0,n.jsx)(i.hp,{disabled:s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{validator:c},type:"delegate"}))},children:"Delegate"}),(0,n.jsx)(i.Rk,{Trigger:S,id:"delegation-".concat(l),children:(0,n.jsxs)("div",{className:"flex flex-col gap-[12px] rounded-[8px] bg-bg-600 py-[4px]",children:[(0,n.jsx)(i.ZP,{disabled:!(0,j.m)(null==t?void 0:t.rewards)||s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{delegations:[t]},type:"rewards"}))},children:"Claim rewards"}),(0,n.jsx)(i.ZP,{disabled:s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{validator:c},type:"undelegate"}))},variant:"danger",children:"Undelegate"})]})})]})]})}),Z=e=>{let{disabled:t,stakingRef:s,unbonding:l,validator:a}=e,{staking:c}=s,o=(0,p.P)(null==a?void 0:a.description.identity),u=l.validator;return(0,r.useEffect)(()=>{u&&(0,d.Dr)(u,c)},[u,c]),(0,n.jsxs)("div",{className:y,style:w,children:[(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:o,style:{height:50,width:50}})}),(0,n.jsx)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==a?void 0:a.description.moniker)||""}),(0,n.jsx)(f.Z,{address:(null==a?void 0:a.operatorAddress)||""})]})}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(l.balance)})}),(0,n.jsx)("div",{className:"text-right",children:"Unbonding"}),(0,n.jsx)("div",{className:"text-right",children:(0,v.ts)(l.completionTime)}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(i.hp,{disabled:t,onClick:()=>{c.dispatch((0,x.ZG)({content:{unbondings:[l]},type:"cancel-unstaking"}))},variant:"danger",children:"Cancel Unstake"})})]})},F=a.N,E=a.N,I="grid w-full items-center justify-between gap-2 p-4 uppercase";t.ZP=(0,r.memo)(()=>{let e=(0,u.n)(),{staking:t}=e,[s,i]=(0,r.useState)("none"),[a,c]=(0,r.useState)("none"),d=(0,m.mM)(t.state),{delegations:x,unbondings:p}=t.state,h=!!(null==x?void 0:x.items.length),j=!!(null==p?void 0:p.items.length);return h||j?(0,n.jsxs)("div",{className:"flex h-full flex-1 flex-col items-end gap-[16px]",children:[h&&(()=>{let e=x.items.slice().sort((e,t)=>{switch(s){case"staked-asc":case"staked-desc":return(0,o.B)(new l.Z(e.balance.amount),new l.Z(t.balance.amount),"staked-asc"===s);case"rewards-asc":case"rewards-desc":return(0,o.B)(new l.Z(e.rewards.amount),new l.Z(t.rewards.amount),"rewards-asc"===s);case"commission-asc":case"commission-desc":{let n=d[e.validatorAddress],l=d[t.validatorAddress];return(0,o.B)(Number(null==n?void 0:n.commission.commissionRates.rate),Number(null==l?void 0:l.commission.commissionRates.rate),"commission-asc"===s)}default:return 0}});return(0,n.jsxs)("div",{className:k,children:[(0,n.jsxs)("div",{className:I,style:w,children:[(0,n.jsx)("div",{}),(0,n.jsx)(F,{children:"Delegations"}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["commission-asc","commission-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Commission"})}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["rewards-asc","rewards-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Rewards"})})]}),e.map((e,s)=>(0,n.jsx)(C,{delegation:e,index:s,staking:t,validator:d[e.validatorAddress]},s))]})})(),j&&(()=>{let t=p.items.slice().sort((e,t)=>{switch(a){case"amount-asc":case"amount-desc":return(0,o.B)(Number(e.balance.amount),Number(t.balance.amount),"amount-asc"===a);case"completion-asc":case"completion-desc":return(0,o.B)(e.completionTime,t.completionTime,"completion-asc"===a);default:return 0}});return(0,n.jsxs)("div",{className:k,children:[(0,n.jsxs)("div",{className:I,style:w,children:[(0,n.jsx)("div",{}),(0,n.jsx)(E,{children:"Unstakings"}),(0,n.jsx)(E,{onSort:c,sort:a,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(E,{children:(0,n.jsx)("div",{className:"text-right",children:"Status"})}),(0,n.jsx)(E,{onSort:c,sort:a,sorting:["date-asc","date-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Completion Time"})})]}),t.map((t,s)=>(0,n.jsx)(Z,{stakingRef:e,unbonding:t,validator:d[t.validator]},s))]})})()]}):null})},42498:function(e,t,s){s.d(t,{I:function(){return l},i:function(){return r}});var n=s(3827);let l=e=>{let{className:t}=e;return(0,n.jsx)("div",{className:["h-[1px] w-full bg-bg-400",t||""].join(" ")})},r=()=>(0,n.jsx)("div",{className:"h-full w-[1px] bg-bg-400"})},37275:function(e,t,s){s.d(t,{Z:function(){return F}});var n=s(3827),l=s(64090),r=s(30298),i=s(82012),a=s(98245),c=s.n(a),o=s(59371);c().setAppElement(document.body);let d=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"mb-[16px] text-[16px] leading-[24px] text-typo-100 opacity-50",children:t})};var u=e=>{let{children:t,...s}=e;return(0,l.useEffect)(()=>{if(s.isOpen){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[s.isOpen]),(0,n.jsx)(c(),{...s,style:{content:{background:"transparent",border:"none",bottom:"auto",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"grid",gridTemplateColumns:"1fr",inset:0,maxHeight:"100%",minWidth:"100vw",outline:"none",overflow:"auto",padding:"0",pointerEvents:"none",position:"fixed",right:"auto",width:"100vw",zIndex:10},overlay:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},children:(0,n.jsxs)("div",{className:"relative w-full overflow-auto px-[16px] py-[40px] md:p-[50px]",style:{backgroundColor:"#000",borderRadius:"48px",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"max-content",margin:"auto",maxWidth:"100vw",outline:"none",pointerEvents:"auto",position:"relative",width:"min-content"},children:[(0,n.jsx)("button",{className:"absolute right-[12px] top-[12px] w-[36px] cursor-pointer",dangerouslySetInnerHTML:{__html:o.kC},onClick:s.onRequestClose}),t]})})},x=s(88197),m=s(80469),p=s(62986),h=s(19807),j=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("confirm"),[a,c]=(0,l.useState)(!1),{account:o,client:j,staking:v}=e,{modal:f}=v.state,g=(null==f?void 0:f.type)==="cancel-unstaking";if(!g)return null;let{unbondings:N}=(null==f?void 0:f.content)||{};if(!(null==N?void 0:N.length))return null;let b="confirm"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Are you sure?"})}),(0,n.jsxs)(d,{children:["We are currently completing the unstaking process.",(0,n.jsx)("br",{}),"Are you sure you want to cancel the process?"]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:a,onClick:()=>{j&&(c(!0),N.reduce(async(e,t)=>{await e;let s={delegator:o.bech32Address,validator:t.validator};await (0,h.mu)(s,t,j)},Promise.resolve()).then(()=>{(0,x.VZ)(o.bech32Address,v),s("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error canceling your unstaking. Please try again later.",{type:"error"})}).finally(()=>{c(!1)}))},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(d,{children:"You have successfully cancel the unstaking process, and you are now contributing to the security of the XION network again."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(u,{isOpen:g,onRequestClose:()=>{a||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:b})})}),v=s(22840),f=s(3237),g=s(66803);let N=async(e,t)=>{let{client:s,staking:n}=e,{modal:l}=n.state;if((null==l?void 0:l.type)!=="rewards")return;let{delegations:i}=(null==l?void 0:l.content)||{};if(!s||!(null==i?void 0:i.length))return;let a=e.account.bech32Address;i.reduce(async(e,t)=>{await e;let n=(0,g.bI)(t.rewards);if(new v.Z(n.amount).lt(f._H))return;let l={delegator:a,validator:t.validatorAddress};await (0,h.YY)(l,s)},Promise.resolve()).then(()=>(0,x.VZ)(a,n)).then(()=>{t("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error claiming your rewards. Please try again later.",{type:"error"})})};var b=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("loading"),r=(0,l.useRef)(!1),{staking:a}=e,{modal:c}=a.state,o=(null==c?void 0:c.type)==="rewards";if((0,l.useEffect)(()=>{o&&!r.current&&(r.current=!0,N(e,s))},[o,e]),!o)return null;let x="loading"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"CLAIMING"})}),(0,n.jsx)(d,{children:"Wait until your rewards are withdrawn."}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:!0})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(d,{children:"You have claimed your staking rewards successfully."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(u,{isOpen:o,onRequestClose:()=>{"loading"!==t&&e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:x})})}),w=s(39730),y=s(67497);let k="input";var S=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(k),[c,o]=(0,l.useState)(!1),[h,j]=(0,l.useState)(""),[N,b]=(0,l.useState)(""),[S,C]=(0,l.useState)({amount:void 0,memo:void 0}),{account:Z,staking:F}=e,{modal:E}=F.state,I=(null==E?void 0:E.type)==="delegate";if((0,l.useEffect)(()=>()=>{a(k),C({}),j(""),b("")},[I]),!I)return null;let{validator:A}=null==E?void 0:E.content;if(!A)return null;let O=new v.Z(h),z=O.isNaN()?"":O.times(f.Ex),B=Object.values(S).some(e=>!!e),R=(0,w.ap)(F.state);return(0,n.jsx)(u,{isOpen:I,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Staked Amount (XION)"}),(0,n.jsx)(i.XJ,{children:O.toString()}),z&&(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(z)]})]}),!!N&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:N})})]});if("completed"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(d,{children:["You have successfully staked on"," ",A.description.moniker,". Thank you for contributing in securing the XION network."]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});if("review"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(d,{children:["Get ready to stake your XION token with"," ",A.description.moniker,". Press 'Confirm' to proceed."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;o(!0);let e={delegator:Z.bech32Address,validator:A.operatorAddress};(0,x._5)(e,(0,g.Jp)(O),N,t,F).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{o(!1)})},children:"CONFIRM"})]});let u=()=>{if(!z||!R||O.isNaN()||O.gt(R))return C({...S,amount:"Invalid amount"}),!0};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Delegate To ",A.description.moniker]})}),R&&(()=>{let e=R.times(f.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available for delegation (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(R)}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["= $",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!u()&&(!t||B||O.lt(0)||a("review"))},children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!S.amount,onBlur:()=>{u()},onChange:e=>{S.amount&&C({...S,amount:void 0}),j(e.target.value)},value:h}),S.amount&&(0,n.jsx)(i.Xq,{children:S.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{b(e.target.value)},placeholder:"Memo (Optional)",value:N})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c||B,type:"submit",children:"DELEGATE NOW"})})]})]})})()})})};let C="input";var Z=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(C),[c,o]=(0,l.useState)(!1),[h,j]=(0,l.useState)({amount:void 0,memo:void 0}),[N,b]=(0,l.useState)(""),[k,S]=(0,l.useState)(""),{account:Z,staking:F}=e,{modal:E}=F.state,I=(null==E?void 0:E.type)==="undelegate";if((0,l.useEffect)(()=>()=>{a(C),b(""),j({}),S("")},[I]),!I)return null;let{validator:A}=null==E?void 0:E.content;if(!A)return null;let O=new v.Z(N),z=O.isNaN()?"":O.times(f.Ex),B=(0,w.U2)(F.state,A.operatorAddress),R=()=>{if(!z||!B||O.lte(0)||O.gt(new v.Z(B.amount)))return j({...h,amount:"Invalid amount"}),!0},H=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!R()&&t&&O.gt(0)&&a("review")};return(0,n.jsx)(u,{isOpen:I,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Unstaking Amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(O)}),(0,n.jsx)(i.Bz,{children:(0,y.H_)((0,g.Jp)(O))})]}),!!k&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:k})})]});return"completed"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(d,{children:["You have successfully unstaked from"," ",A.description.moniker,". It takes ",f.Mx," ","days to complete the unstaking process"]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]}):"review"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(d,{children:["Unstaking your XION Token means you'll stop earning rewards. Remember, it takes ",f.Mx," days to complete the unstaking process."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;o(!0);let e={delegator:Z.bech32Address,validator:A.operatorAddress};(0,x.xu)(e,(0,g.Jp)(O),k,t,F).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{o(!1)})},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Unstake From ",A.description.moniker]})}),B&&(()=>{let e=new v.Z(B.amount).times(f.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(new v.Z(B.amount))}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["=$",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:H,children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!h.amount,onBlur:()=>{R()},onChange:e=>{h.amount&&j({...h,amount:void 0}),b(e.target.value)},value:N}),h.amount&&(0,n.jsx)(i.Xq,{children:h.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{S(e.target.value)},placeholder:"Memo (Optional)",value:k})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c,type:"submit",children:"Unstake Now"})})]})]})})()})})},F=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{}),(0,n.jsx)(Z,{}),(0,n.jsx)(b,{}),(0,n.jsx)(j,{})]})},48074:function(e,t,s){var n=s(3827);t.Z=e=>{let{text:t}=e,[s,l]=t.split(" ");return(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{children:s})," ",(0,n.jsx)("span",{className:"text-typo-200",children:l})]})}},89056:function(e,t,s){s.d(t,{P:function(){return a}});var n=s(64090),l=s(3237);let r={},i={getIdentityLogo:e=>{if(r[e])return r[e];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(e)).then(e=>e.json()).then(e=>{var t,s,n,l;return(null==e?void 0:null===(l=e.them)||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:null===(s=n.pictures)||void 0===s?void 0:null===(t=s.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return r[e]=t,t}},a=e=>{let[t,s]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{e&&s(await i.getIdentityLogo(e))})()},[e]),t||l.c1}},67497:function(e,t,s){s.d(t,{Em:function(){return i},HS:function(){return c},H_:function(){return d},PV:function(){return x},gg:function(){return a},i:function(){return o},ts:function(){return u}});var n=s(22840),l=s(3237),r=s(66803);let i=(e,t)=>{let s=(0,r.bI)(e),l=new n.Z(s.amount);if(l.eq(0))return"".concat(l.toFormat()," ").concat(s.denom);if(l.lt(1e-4))return"<".concat(1e-4," ").concat(s.denom);if(t){let e=Intl.NumberFormat("en",{notation:"compact"});return"".concat(e.format(l.toNumber())," ").concat(s.denom)}return"".concat(l.toFormat(4)," ").concat(s.denom)},a=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},c=(e,t)=>t&&e.lt(t)?"<".concat(t):Intl.NumberFormat("en",{notation:"compact"}).format(e.toNumber()),o=(e,t)=>{let s=new n.Z(e).div(new n.Z(10).pow(18)).toNumber();return"".concat((100*s).toFixed(t),"%")},d=(e,t)=>{let s=(0,r.bI)(e||(0,r.IB)()),i=new n.Z(e?s.amount:0).times(l.Ex);return i.eq(0)?"$0":!t&&i.lt(.01)?"<$0.01":"$".concat(t?c(i):i.toFormat(2))},u=e=>{let t=1e3*e,s=Math.floor((t-Date.now())/864e5),n=new Date(t).toLocaleString("en-US",{month:"short"}),l=new Date(t).getDate(),r=new Date(t).getFullYear();return"in ".concat(s," day").concat(1===s?"":"s",", ").concat(n," ").concat(l," ").concat(r)},x=e=>e?"".concat(e.times(100).toFixed(2),"%"):"-"}}]); \ No newline at end of file diff --git a/_next/static/chunks/495-fce896f6e5144304.js b/_next/static/chunks/495-fce896f6e5144304.js new file mode 100644 index 0000000..2c16fc0 --- /dev/null +++ b/_next/static/chunks/495-fce896f6e5144304.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{143:function(e,t,s){s.d(t,{N:function(){return r}});var n=s(3827),l=s(59371);let r=e=>{let{children:t,onSort:s,sort:r,sorting:i}=e,a=(i||[]).concat(["none"]),c=r?a.indexOf(r):-1;return(0,n.jsx)("div",{className:"text-[14px] font-normal leading-[14px] tracking-wider",children:(0,n.jsxs)("span",{className:"relative",children:[t," ",!!s&&!!r&&(0,n.jsx)("button",{className:"absolute right-[-16px] top-[6px] cursor-pointer",dangerouslySetInnerHTML:{__html:l.Sf},onClick:()=>{if(!s)return;let e=(1+a.indexOf(r))%a.length,t=a[e];null==s||s(t)},style:{rotate:0===c?"180deg":"0deg"}})]})})}},80148:function(e,t,s){s.d(t,{B:function(){return l}});var n=s(22840);let l=(e,t,s)=>typeof e!=typeof t?0:"string"==typeof e?s?e.localeCompare(t):t.localeCompare(e):"number"==typeof e?Number.isNaN(e)||Number.isNaN(t)?0:s?e-t:t-e:e instanceof n.Z&&t instanceof n.Z?s?e.minus(t).toNumber():t.minus(e).toNumber():0},26605:function(e,t,s){var n=s(3827),l=s(30298);t.Z=e=>{let{address:t}=e;if(!t)return null;let s=[t.slice(0,5),t.slice(t.length-5)].join("...");return(0,n.jsx)("button",{className:"cursor-pointer text-left text-[12px] font-normal leading-[20px] text-typo-200",onClick:()=>{navigator.clipboard.writeText(t),(0,l.Am)("Copied to clipboard",{type:"info"})},children:s})}},62948:function(e,t,s){s.d(t,{S6:function(){return N},sv:function(){return b}});var n=s(3827),l=s(22840),r=s(64090),i=s(82012),a=s(143),c=s(59371),o=s(80148),d=s(88197),u=s(80469),x=s(62986),m=s(39730),p=s(89056),h=s(66803),j=s(19807),v=s(67497),f=s(26605),g=s(48074);let N=e=>{let t=(0,m.jv)(e,null),s=(0,m.U2)(e,null);return(0,h.UO)(t)||(0,h.UO)(s)},b=e=>{let{isShowingDetails:t,setIsShowingDetails:s}=e;return(0,n.jsxs)("button",{className:"text-primary-500 flex flex-row items-center gap-2",onClick:()=>{s(!t)},children:[t?"Hide details":"Show details",(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:c.cx},style:{transform:"rotate(".concat(t?"0deg":"180deg",")")}})]})},w={gap:"16px",gridTemplateColumns:"60px 1.5fr repeat(4, 1fr)",minWidth:800,overflow:"auto"},y="grid w-full items-center justify-between gap-2 p-2 mb-[24px] last:mb-[0px] bg-black rounded-[8px]",k="w-full overflow-auto rounded-[24px] bg-bg-600 pb-4 text-typo-100 px-[16px]",S=()=>(0,n.jsx)("span",{className:"hover:bg-bg-500",dangerouslySetInnerHTML:{__html:c.GI}}),C=(0,r.memo)(e=>{let{delegation:t,disabled:s,index:l,staking:a,validator:c}=e,{validatorAddress:o}=t;(0,r.useEffect)(()=>{o&&(0,d.Dr)(o,a)},[o,a]);let u=(0,p.P)(null==c?void 0:c.description.identity);return(0,n.jsxs)("div",{className:y,style:w,children:[(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:u,style:{height:50,width:50}})}),(0,n.jsx)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==c?void 0:c.description.moniker)||""}),(0,n.jsx)(f.Z,{address:(null==c?void 0:c.operatorAddress)||""})]})}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(t.balance)})}),(0,n.jsx)("div",{className:"text-right",children:c?(0,v.i)(c.commission.commissionRates.rate,0):""}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(t.rewards)})}),(0,n.jsxs)("div",{className:"flex flex-row items-center justify-end gap-[8px]",children:[(0,n.jsx)(i.hp,{disabled:s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{validator:c},type:"delegate"}))},children:"Delegate"}),(0,n.jsx)(i.Rk,{Trigger:S,id:"delegation-".concat(l),children:(0,n.jsxs)("div",{className:"flex flex-col gap-[12px] rounded-[8px] bg-bg-600 py-[4px]",children:[(0,n.jsx)(i.ZP,{disabled:!(0,j.m)(null==t?void 0:t.rewards)||s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{delegations:[t]},type:"rewards"}))},children:"Claim rewards"}),(0,n.jsx)(i.ZP,{disabled:s,onClick:()=>{c&&a.dispatch((0,x.ZG)({content:{validator:c},type:"undelegate"}))},variant:"danger",children:"Undelegate"})]})})]})]})}),Z=e=>{let{disabled:t,stakingRef:s,unbonding:l,validator:a}=e,{staking:c}=s,o=(0,p.P)(null==a?void 0:a.description.identity),u=l.validator;return(0,r.useEffect)(()=>{u&&(0,d.Dr)(u,c)},[u,c]),(0,n.jsxs)("div",{className:y,style:w,children:[(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:o,style:{height:50,width:50}})}),(0,n.jsx)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==a?void 0:a.description.moniker)||""}),(0,n.jsx)(f.Z,{address:(null==a?void 0:a.operatorAddress)||""})]})}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(g.Z,{text:(0,v.Em)(l.balance)})}),(0,n.jsx)("div",{className:"text-right",children:"Unbonding"}),(0,n.jsx)("div",{className:"text-right",children:(0,v.ts)(l.completionTime)}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(i.hp,{disabled:t,onClick:()=>{c.dispatch((0,x.ZG)({content:{unbondings:[l]},type:"cancel-unstaking"}))},variant:"danger",children:"Cancel Unstake"})})]})},F=a.N,E=a.N,I="grid w-full items-center justify-between gap-2 p-4 uppercase";t.ZP=(0,r.memo)(()=>{let e=(0,u.n)(),{staking:t}=e,[s,i]=(0,r.useState)("none"),[a,c]=(0,r.useState)("none"),d=(0,m.mM)(t.state),{delegations:x,unbondings:p}=t.state,h=!!(null==x?void 0:x.items.length),j=!!(null==p?void 0:p.items.length);return h||j?(0,n.jsxs)("div",{className:"flex h-full flex-1 flex-col items-end gap-[16px]",children:[h&&(()=>{let e=x.items.slice().sort((e,t)=>{switch(s){case"staked-asc":case"staked-desc":return(0,o.B)(new l.Z(e.balance.amount),new l.Z(t.balance.amount),"staked-asc"===s);case"rewards-asc":case"rewards-desc":return(0,o.B)(new l.Z(e.rewards.amount),new l.Z(t.rewards.amount),"rewards-asc"===s);case"commission-asc":case"commission-desc":{let n=d[e.validatorAddress],l=d[t.validatorAddress];return(0,o.B)(Number(null==n?void 0:n.commission.commissionRates.rate),Number(null==l?void 0:l.commission.commissionRates.rate),"commission-asc"===s)}default:return 0}});return(0,n.jsxs)("div",{className:k,children:[(0,n.jsxs)("div",{className:I,style:w,children:[(0,n.jsx)("div",{}),(0,n.jsx)(F,{children:"Delegations"}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["commission-asc","commission-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Commission"})}),(0,n.jsx)(F,{onSort:i,sort:s,sorting:["rewards-asc","rewards-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Rewards"})})]}),e.map((e,s)=>(0,n.jsx)(C,{delegation:e,index:s,staking:t,validator:d[e.validatorAddress]},s))]})})(),j&&(()=>{let t=p.items.slice().sort((e,t)=>{switch(a){case"amount-asc":case"amount-desc":return(0,o.B)(Number(e.balance.amount),Number(t.balance.amount),"amount-asc"===a);case"completion-asc":case"completion-desc":return(0,o.B)(e.completionTime,t.completionTime,"completion-asc"===a);default:return 0}});return(0,n.jsxs)("div",{className:k,children:[(0,n.jsxs)("div",{className:I,style:w,children:[(0,n.jsx)("div",{}),(0,n.jsx)(E,{children:"Unstakings"}),(0,n.jsx)(E,{onSort:c,sort:a,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(E,{children:(0,n.jsx)("div",{className:"text-right",children:"Status"})}),(0,n.jsx)(E,{onSort:c,sort:a,sorting:["date-asc","date-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Completion Time"})})]}),t.map((t,s)=>(0,n.jsx)(Z,{stakingRef:e,unbonding:t,validator:d[t.validator]},s))]})})()]}):null})},42498:function(e,t,s){s.d(t,{I:function(){return l},i:function(){return r}});var n=s(3827);let l=e=>{let{className:t}=e;return(0,n.jsx)("div",{className:["h-[1px] w-full bg-bg-400",t||""].join(" ")})},r=()=>(0,n.jsx)("div",{className:"h-full w-[1px] bg-bg-400"})},37275:function(e,t,s){s.d(t,{Z:function(){return F}});var n=s(3827),l=s(64090),r=s(30298),i=s(82012),a=s(98245),c=s.n(a),o=s(59371);c().setAppElement(document.body);let d=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"mb-[16px] text-[16px] leading-[24px] text-typo-100 opacity-50",children:t})};var u=e=>{let{children:t,...s}=e;return(0,l.useEffect)(()=>{if(s.isOpen){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[s.isOpen]),(0,n.jsx)(c(),{...s,style:{content:{background:"transparent",border:"none",bottom:"auto",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"grid",gridTemplateColumns:"1fr",inset:0,maxHeight:"100%",minWidth:"100vw",outline:"none",overflow:"auto",padding:"0",pointerEvents:"none",position:"fixed",right:"auto",width:"100vw",zIndex:10},overlay:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},children:(0,n.jsxs)("div",{className:"relative w-full overflow-auto px-[16px] py-[40px] md:p-[50px]",style:{backgroundColor:"#000",borderRadius:"48px",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"max-content",margin:"auto",maxWidth:"100vw",outline:"none",pointerEvents:"auto",position:"relative",width:"min-content"},children:[(0,n.jsx)("button",{className:"absolute right-[12px] top-[12px] w-[36px] cursor-pointer",dangerouslySetInnerHTML:{__html:o.kC},onClick:s.onRequestClose}),t]})})},x=s(88197),m=s(80469),p=s(62986),h=s(19807),j=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("confirm"),[a,c]=(0,l.useState)(!1),{account:o,client:j,staking:v}=e,{modal:f}=v.state,g=(null==f?void 0:f.type)==="cancel-unstaking";if(!g)return null;let{unbondings:N}=(null==f?void 0:f.content)||{};if(!(null==N?void 0:N.length))return null;let b="confirm"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Are you sure?"})}),(0,n.jsxs)(d,{children:["We are currently completing the unstaking process.",(0,n.jsx)("br",{}),"Are you sure you want to cancel the process?"]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:a,onClick:()=>{j&&(c(!0),N.reduce(async(e,t)=>{await e;let s={delegator:o.bech32Address,validator:t.validator};await (0,h.mu)(s,t,j)},Promise.resolve()).then(()=>{(0,x.VZ)(o.bech32Address,v),s("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error canceling your unstaking. Please try again later.",{type:"error"})}).finally(()=>{c(!1)}))},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(d,{children:"You have successfully cancel the unstaking process, and you are now contributing to the security of the XION network again."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(u,{isOpen:g,onRequestClose:()=>{a||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:b})})}),v=s(22840),f=s(3237),g=s(66803);let N=async(e,t)=>{let{client:s,staking:n}=e,{modal:l}=n.state;if((null==l?void 0:l.type)!=="rewards")return;let{delegations:i}=(null==l?void 0:l.content)||{};if(!s||!(null==i?void 0:i.length))return;let a=e.account.bech32Address;i.reduce(async(e,t)=>{await e;let n=(0,g.bI)(t.rewards);if(new v.Z(n.amount).lt(f._H))return;let l={delegator:a,validator:t.validatorAddress};await (0,h.YY)(l,s)},Promise.resolve()).then(()=>(0,x.VZ)(a,n)).then(()=>{t("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error claiming your rewards. Please try again later.",{type:"error"})})};var b=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("loading"),r=(0,l.useRef)(!1),{staking:a}=e,{modal:c}=a.state,o=(null==c?void 0:c.type)==="rewards";if((0,l.useEffect)(()=>{o&&!r.current&&(r.current=!0,N(e,s))},[o,e]),!o)return null;let x="loading"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"CLAIMING"})}),(0,n.jsx)(d,{children:"Wait until your rewards are withdrawn."}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:!0})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(d,{children:"You have claimed your staking rewards successfully."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(u,{isOpen:o,onRequestClose:()=>{"loading"!==t&&e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:x})})}),w=s(39730),y=s(67497);let k="input";var S=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(k),[c,o]=(0,l.useState)(!1),[h,j]=(0,l.useState)(""),[N,b]=(0,l.useState)(""),[S,C]=(0,l.useState)({amount:void 0,memo:void 0}),{account:Z,staking:F}=e,{modal:E}=F.state,I=(null==E?void 0:E.type)==="delegate";if((0,l.useEffect)(()=>()=>{a(k),C({}),j(""),b("")},[I]),!I)return null;let{validator:A}=null==E?void 0:E.content;if(!A)return null;let O=new v.Z(h),z=O.isNaN()?"":O.times(f.Ex),B=Object.values(S).some(e=>!!e),R=(0,w.ap)(F.state);return(0,n.jsx)(u,{isOpen:I,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Staked Amount (XION)"}),(0,n.jsx)(i.XJ,{children:O.toString()}),z&&(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(z)]})]}),!!N&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:N})})]});if("completed"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(d,{children:["You have successfully staked on"," ",A.description.moniker,". Thank you for contributing in securing the XION network."]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});if("review"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(d,{children:["Get ready to stake your XION token with"," ",A.description.moniker,". Press 'Confirm' to proceed."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;o(!0);let e={delegator:Z.bech32Address,validator:A.operatorAddress};(0,x._5)(e,(0,g.Jp)(O),N,t,F).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{o(!1)})},children:"CONFIRM"})]});let u=()=>{if(!z||!R||O.isNaN()||O.gt(R))return C({...S,amount:"Invalid amount"}),!0};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Delegate To ",A.description.moniker]})}),R&&(()=>{let e=R.times(f.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available for delegation (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(R)}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["= $",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!u()&&(!t||B||O.lt(0)||a("review"))},children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!S.amount,onBlur:()=>{u()},onChange:e=>{S.amount&&C({...S,amount:void 0}),j(e.target.value)},value:h}),S.amount&&(0,n.jsx)(i.Xq,{children:S.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{b(e.target.value)},placeholder:"Memo (Optional)",value:N})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c||B,type:"submit",children:"DELEGATE NOW"})})]})]})})()})})};let C="input";var Z=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(C),[c,o]=(0,l.useState)(!1),[h,j]=(0,l.useState)({amount:void 0,memo:void 0}),[N,b]=(0,l.useState)(""),[k,S]=(0,l.useState)(""),{account:Z,staking:F}=e,{modal:E}=F.state,I=(null==E?void 0:E.type)==="undelegate";if((0,l.useEffect)(()=>()=>{a(C),b(""),j({}),S("")},[I]),!I)return null;let{validator:A}=null==E?void 0:E.content;if(!A)return null;let O=new v.Z(N),z=O.isNaN()?"":O.times(f.Ex),B=(0,w.U2)(F.state,A.operatorAddress),R=()=>{if(!z||!B||O.lte(0)||O.gt(new v.Z(B.amount)))return j({...h,amount:"Invalid amount"}),!0},H=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!R()&&t&&O.gt(0)&&a("review")};return(0,n.jsx)(u,{isOpen:I,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Unstaking Amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(O)}),(0,n.jsx)(i.Bz,{children:(0,y.H_)((0,g.Jp)(O))})]}),!!k&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:k})})]});return"completed"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(d,{children:["You have successfully unstaked from"," ",A.description.moniker,". It takes ",f.Mx," ","days to complete the unstaking process"]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]}):"review"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(d,{children:["Unstaking your XION Token means you'll stop earning rewards. Remember, it takes ",f.Mx," days to complete the unstaking process."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;o(!0);let e={delegator:Z.bech32Address,validator:A.operatorAddress};(0,x.xu)(e,(0,g.Jp)(O),k,t,F).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{o(!1)})},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Unstake From ",A.description.moniker]})}),B&&(()=>{let e=new v.Z(B.amount).times(f.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(new v.Z(B.amount))}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["=$",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:H,children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!h.amount,onBlur:()=>{R()},onChange:e=>{h.amount&&j({...h,amount:void 0}),b(e.target.value)},value:N}),h.amount&&(0,n.jsx)(i.Xq,{children:h.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{S(e.target.value)},placeholder:"Memo (Optional)",value:k})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c,type:"submit",children:"Unstake Now"})})]})]})})()})})},F=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{}),(0,n.jsx)(Z,{}),(0,n.jsx)(b,{}),(0,n.jsx)(j,{})]})},48074:function(e,t,s){var n=s(3827);t.Z=e=>{let{text:t}=e,[s,l]=t.split(" ");return(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{children:s})," ",(0,n.jsx)("span",{className:"text-typo-200",children:l})]})}},89056:function(e,t,s){s.d(t,{P:function(){return a}});var n=s(64090),l=s(3237);let r={},i={getIdentityLogo:e=>{if(r[e])return r[e];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(e)).then(e=>e.json()).then(e=>{var t,s,n,l;return(null==e?void 0:null===(l=e.them)||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:null===(s=n.pictures)||void 0===s?void 0:null===(t=s.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return r[e]=t,t}},a=e=>{let[t,s]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{e&&s(await i.getIdentityLogo(e))})()},[e]),t||l.c1}},67497:function(e,t,s){s.d(t,{Em:function(){return i},HS:function(){return c},H_:function(){return d},PV:function(){return x},gg:function(){return a},i:function(){return o},ts:function(){return u}});var n=s(22840),l=s(3237),r=s(66803);let i=(e,t)=>{let s=(0,r.bI)(e),l=new n.Z(s.amount);if(l.eq(0))return"".concat(l.toFormat()," ").concat(s.denom);if(l.lt(1e-4))return"<".concat(1e-4," ").concat(s.denom);if(t){let e=Intl.NumberFormat("en",{notation:"compact"});return"".concat(e.format(l.toNumber())," ").concat(s.denom)}return"".concat(l.toFormat(4)," ").concat(s.denom)},a=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},c=(e,t)=>t&&e.lt(t)?"<".concat(t):Intl.NumberFormat("en",{notation:"compact"}).format(e.toNumber()),o=(e,t)=>{let s=new n.Z(e).div(new n.Z(10).pow(18)).toNumber();return"".concat((100*s).toFixed(t),"%")},d=(e,t)=>{let s=(0,r.bI)(e||(0,r.IB)()),i=new n.Z(e?s.amount:0).times(l.Ex);return i.eq(0)?"$0":!t&&i.lt(.01)?"<$0.01":"$".concat(t?c(i):i.toFormat(2))},u=e=>{let t=1e3*e,s=Math.floor((t-Date.now())/864e5),n=new Date(t).toLocaleString("en-US",{month:"short"}),l=new Date(t).getDate(),r=new Date(t).getFullYear();return"in ".concat(s," day").concat(1===s?"":"s",", ").concat(n," ").concat(l," ").concat(r)},x=e=>e?"".concat(e.times(100).toFixed(2),"%"):"-"}}]); \ No newline at end of file diff --git a/_next/static/chunks/567-eb84a335d528f667.js b/_next/static/chunks/567-94a020bddc64bd2a.js similarity index 100% rename from _next/static/chunks/567-eb84a335d528f667.js rename to _next/static/chunks/567-94a020bddc64bd2a.js diff --git a/_next/static/chunks/app/page-7fd23971fb589ebb.js b/_next/static/chunks/app/page-4e92a6b3cd7edc92.js similarity index 100% rename from _next/static/chunks/app/page-7fd23971fb589ebb.js rename to _next/static/chunks/app/page-4e92a6b3cd7edc92.js diff --git a/_next/static/chunks/app/validator/page-b9870beab6343960.js b/_next/static/chunks/app/validator/page-142df4473f77c8be.js similarity index 100% rename from _next/static/chunks/app/validator/page-b9870beab6343960.js rename to _next/static/chunks/app/validator/page-142df4473f77c8be.js diff --git a/index.html b/index.html index a9bdd98..6e7216f 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -XION Staking
Your Staking Overview
Please Log In To View
Validators
Validator
Staked Amount
Commission
Voting Power
Loading the data...
\ No newline at end of file +XION Staking
Your Staking Overview
Please Log In To View
Validators
Validator
Staked Amount
Commission
Voting Power
Loading the data...
\ No newline at end of file diff --git a/index.txt b/index.txt index 03d9320..ba9cffc 100644 --- a/index.txt +++ b/index.txt @@ -1,7 +1,7 @@ -2:I[64350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-7cc425b0e8573e79.js","245","static/chunks/245-8266bc6575a22c44.js","567","static/chunks/567-eb84a335d528f667.js","495","static/chunks/495-cd57e1abf257cc01.js","931","static/chunks/app/page-7fd23971fb589ebb.js"],""] -3:I[56225,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-7cc425b0e8573e79.js","567","static/chunks/567-eb84a335d528f667.js","185","static/chunks/app/layout-4d4fc2d854df7969.js"],""] +2:I[64350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-a82c649a6d50a6e6.js","245","static/chunks/245-8266bc6575a22c44.js","567","static/chunks/567-94a020bddc64bd2a.js","495","static/chunks/495-fce896f6e5144304.js","931","static/chunks/app/page-4e92a6b3cd7edc92.js"],""] +3:I[56225,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-a82c649a6d50a6e6.js","567","static/chunks/567-94a020bddc64bd2a.js","185","static/chunks/app/layout-4d4fc2d854df7969.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -0:["9d9fhlBokaMNL3id_OOwR",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},[null,["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/fa6cd1be0a5c9c50.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +0:["b8rPrRWAmHUZwRWIN1Ogz",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},[null,["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/fa6cd1be0a5c9c50.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"XION Staking"}],["$","link","3",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/validator/index.html b/validator/index.html index d3ce0e6..23f8e79 100644 --- a/validator/index.html +++ b/validator/index.html @@ -1 +1 @@ -XION Validator Details
\ No newline at end of file +XION Validator Details
\ No newline at end of file diff --git a/validator/index.txt b/validator/index.txt index 9e55a52..f97e620 100644 --- a/validator/index.txt +++ b/validator/index.txt @@ -1,8 +1,8 @@ 2:"$Sreact.suspense" -3:I[66355,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-7cc425b0e8573e79.js","245","static/chunks/245-8266bc6575a22c44.js","567","static/chunks/567-eb84a335d528f667.js","495","static/chunks/495-cd57e1abf257cc01.js","276","static/chunks/app/validator/page-b9870beab6343960.js"],""] +3:I[66355,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-a82c649a6d50a6e6.js","245","static/chunks/245-8266bc6575a22c44.js","567","static/chunks/567-94a020bddc64bd2a.js","495","static/chunks/495-fce896f6e5144304.js","276","static/chunks/app/validator/page-142df4473f77c8be.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -6:I[56225,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-7cc425b0e8573e79.js","567","static/chunks/567-eb84a335d528f667.js","185","static/chunks/app/layout-4d4fc2d854df7969.js"],""] -0:["9d9fhlBokaMNL3id_OOwR",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$2",null,{"children":["$","$L3",null,{}]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/fa6cd1be0a5c9c50.css","precedence":"next","crossOrigin":""}]],"$L7"]]]] +6:I[56225,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","4","static/chunks/4-a82c649a6d50a6e6.js","567","static/chunks/567-94a020bddc64bd2a.js","185","static/chunks/app/layout-4d4fc2d854df7969.js"],""] +0:["b8rPrRWAmHUZwRWIN1Ogz",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$2",null,{"children":["$","$L3",null,{}]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/fa6cd1be0a5c9c50.css","precedence":"next","crossOrigin":""}]],"$L7"]]]] 7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"XION Validator Details"}],["$","link","3",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null