From 033f353a87264c5909e0c39d648248cd7a275a61 Mon Sep 17 00:00:00 2001 From: icfor Date: Fri, 1 Mar 2024 13:02:58 +0000 Subject: [PATCH] deploy: 6734ea31f1a022b291441735815f2496a4d600f9 --- 404.html | 2 +- _next/static/chunks/658-4ee218e5418a021f.js | 1 + _next/static/chunks/658-97c6d300f2bd62c8.js | 1 - ...ayout-a4e628a73d545602.js => layout-7984ceab67c49833.js} | 0 _next/static/chunks/app/page-66cfa45fae20331a.js | 1 - _next/static/chunks/app/page-90a0c21784e9f94b.js | 1 + .../{page-82b2b46325e4e89a.js => page-e7d837fa546ccda7.js} | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 index.html | 2 +- index.txt | 6 +++--- validator.html | 2 +- validator.txt | 6 +++--- 13 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 _next/static/chunks/658-4ee218e5418a021f.js delete mode 100644 _next/static/chunks/658-97c6d300f2bd62c8.js rename _next/static/chunks/app/{layout-a4e628a73d545602.js => layout-7984ceab67c49833.js} (100%) delete mode 100644 _next/static/chunks/app/page-66cfa45fae20331a.js create mode 100644 _next/static/chunks/app/page-90a0c21784e9f94b.js rename _next/static/chunks/app/validator/{page-82b2b46325e4e89a.js => page-e7d837fa546ccda7.js} (98%) rename _next/static/{vGc2vhuVpRq-03yGVtZef => vxLs_k00C1Bh1fx33VyXe}/_buildManifest.js (100%) rename _next/static/{vGc2vhuVpRq-03yGVtZef => vxLs_k00C1Bh1fx33VyXe}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index c404ef2..c3e17a3 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -

XION Staking

\ No newline at end of file +

XION Staking

\ No newline at end of file diff --git a/_next/static/chunks/658-4ee218e5418a021f.js b/_next/static/chunks/658-4ee218e5418a021f.js new file mode 100644 index 0000000..0f9b05c --- /dev/null +++ b/_next/static/chunks/658-4ee218e5418a021f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[658],{46601:function(){},89214:function(){},42480:function(){},85568:function(){},69386:function(){},31616:function(){},20131:function(){},16026:function(){},33370:function(){},25362:function(t,e,n){"use strict";n.d(e,{sT:function(){return D},wX:function(){return w},qp:function(){return A},_5:function(){return y},xu:function(){return h}});var a=n(21390),o=n(66803),r=n(53856),i=n(62884),s=n(97481),l=n(71694);let u=async(t,e)=>{let{client:n,granteeAddress:a}=await (0,l.v4)()||{};if(!n||!a)return null;let o=[{typeUrl:"/cosmos.authz.v1beta1.MsgExec",value:s.MsgExec.fromPartial({grantee:a,msgs:t.map(t=>n.registry.encodeAsAny(t))})}];return await n.simulate(a,o,e).then(t=>Math.ceil(2*t).toString()).catch(t=>(console.log("debug: core/base.ts: Estimate error",t),null))},d=async t=>{let{address:e,amount:n=[{amount:"1000",denom:"uxion"}],gasLimit:a="400000",memo:o="",msgs:r}=t;return{amount:n,gas:await u(r,o)||a,granter:e}},c=t=>e=>{if(console.log("debug: base.ts: result",e),!e.events.find(e=>e.type===t))throw console.error(e),Error("Out of gas");return e},g=t=>{throw console.error(t),t},m=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgDelegate",value:i.MsgDelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await d({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(c("delegate")).catch(g)},v=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgUndelegate",value:i.MsgUndelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await d({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(c("unbond")).catch(g)},p=async(t,e)=>{let n=[{typeUrl:"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",value:r.MsgWithdrawDelegatorReward.fromPartial({delegatorAddress:t.delegator,validatorAddress:t.validator})}],a=await d({address:t.delegator,msgs:n});return await e.signAndBroadcast(t.delegator,n,a).then(c("withdraw_rewards")).catch(g)};var f=n(62986);let w=async(t,e)=>{try{var n,r,i,s,l,u;e.dispatch((0,f.Kv)(!0));let[d,c,g,m,v]=await Promise.all([(0,a.sb)(t),(0,a.Ld)(),(0,a.Mj)(),(0,a.cq)(t).then(async e=>({items:await Promise.all(e.delegationResponses.map(async e=>({balance:e.balance,rewards:await (0,a.rl)(t,e.delegation.validatorAddress).then(t=>(0,o.H)(t)),validatorAddress:e.delegation.validatorAddress}))),pagination:e.pagination})),(0,a.GE)(t).then(t=>({items:t.unbondingResponses.reduce((t,e)=>(t.push(...e.entries.map(t=>({balance:{amount:t.balance,denom:"uxion"},completionTime:Number(t.completionTime.seconds),completionTimeNanos:t.completionTime.nanos,id:t.unbondingId.toString(),validator:e.validatorAddress}))),t),[]),pagination:t.pagination})).catch(()=>({items:[],pagination:null})).then(t=>({items:t.items,pagination:t.pagination}))]);e.dispatch((0,f.d0)(d)),e.dispatch((0,f.T2)({items:c.validators,nextKey:(null===(n=c.pagination)||void 0===n?void 0:n.nextKey)||null,total:(null===(r=c.pagination)||void 0===r?void 0:r.total)||null},!0)),e.dispatch((0,f.Qx)({items:m.items,nextKey:(null===(i=m.pagination)||void 0===i?void 0:i.nextKey)||null,total:(null===(s=m.pagination)||void 0===s?void 0:s.total)||null},!0)),e.dispatch((0,f.Kg)({items:v.items,nextKey:(null===(l=v.pagination)||void 0===l?void 0:l.nextKey)||null,total:(null===(u=v.pagination)||void 0===u?void 0:u.total)||null},!0)),e.dispatch((0,f.DD)(g)),e.dispatch((0,f.Kv)(!1))}catch(t){console.error("error fetching staking data:",t)}},y=async(t,e,n)=>{await m(t,e,{amount:"1000",denom:"uxion"}),await w(t.delegator,n)},h=async(t,e,n)=>{await v(t,e,{amount:"1000",denom:"uxion"}),await w(t.delegator,n)},D=async(t,e,n)=>{await p(t,e),await w(t.delegator,n)},A=async(t,e)=>{var n;if((null===(n=e.state.validatorDetails)||void 0===n?void 0:n.operatorAddress)===t)return e.state.validatorDetails;let o=await (0,a.Ji)(t);return e.dispatch((0,f.gT)(o)),o}},80469:function(t,e,n){"use strict";n.d(e,{f:function(){return l},n:function(){return s}});var a=n(52674),o=n(64090),r=n(25362),i=n(544);let s=()=>{let t=(0,o.useRef)({}),e=(0,o.useContext)(i.Y);t.current.state=e.state,t.current.dispatch=e.dispatch;let{data:n,isConnected:r}=(0,a.hT)(),s=null==n?void 0:n.bech32Address;return{account:n,address:s,isConnected:r,staking:t.current}},l=()=>{let{address:t,isConnected:e,staking:n}=s();(0,o.useEffect)(()=>{e&&t&&(0,r.wX)(t,n)},[e,t,n])}},62986:function(t,e,n){"use strict";n.d(e,{DD:function(){return u},I6:function(){return m},Kg:function(){return s},Kv:function(){return o},Qx:function(){return i},T2:function(){return r},d0:function(){return a},gT:function(){return l}});let a=t=>({content:t,type:"SET_TOKENS"}),o=t=>({content:t,type:"SET_IS_INFO_LOADING"}),r=(t,e)=>({content:t,reset:e,type:"ADD_VALIDATORS"}),i=(t,e)=>({content:t,reset:e,type:"ADD_DELEGATIONS"}),s=(t,e)=>({content:t,reset:e,type:"ADD_UNBONDINGS"}),l=t=>({content:t,type:"SET_VALIDATOR_DETAILS"}),u=t=>({content:t,type:"SET_POOL"}),d=t=>{let e=new Set;return t.filter(t=>!e.has(t.operatorAddress)&&(e.add(t.operatorAddress),!0))},c=t=>{let e=new Set;return t.filter(t=>!e.has(t.validatorAddress)&&(e.add(t.validatorAddress),!0))},g=t=>{let e=new Set;return t.filter(t=>{let n=t.id;return!e.has(n)&&(e.add(n),!0)})},m=(t,e)=>{switch(e.type){case"SET_TOKENS":return{...t,tokens:e.content};case"ADD_VALIDATORS":{let n=!e.reset&&t.validators||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=d(n.items.concat(e.content.items)),{...t,validators:n}}case"ADD_DELEGATIONS":{let n=!e.reset&&t.delegations||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=c(e.content.items.concat(n.items)),{...t,delegations:n}}case"ADD_UNBONDINGS":{let n=!e.reset&&t.unbondings||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=g(e.content.items.concat(n.items)),{...t,unbondings:n}}case"SET_IS_INFO_LOADING":return{...t,isInfoLoading:e.content};case"SET_VALIDATOR_DETAILS":return{...t,validatorDetails:e.content};case"SET_POOL":return{...t,pool:e.content};default:return t}}},544:function(t,e,n){"use strict";n.d(e,{W:function(){return o},Y:function(){return r}});var a=n(64090);let o={delegations:null,isInfoLoading:!1,pool:null,tokens:null,unbondings:null,validatorDetails:null,validators:null},r=(0,a.createContext)({dispatch:()=>null,state:o})},21390:function(t,e,n){"use strict";n.d(e,{GE:function(){return f},Ji:function(){return c},Ld:function(){return u},Mj:function(){return m},cq:function(){return p},rl:function(){return w},sb:function(){return v},wv:function(){return y}});var a=n(58015),o=n(22840),r=n(71694),i=n(66803),s=n(9016);let l=null,u=async()=>l||(l=(await (0,r.C_)()).staking.validators("BOND_STATUS_BONDED").then(t=>(l=null,t))),d=null,c=async t=>{if((null==d?void 0:d[0])===t)return d[1];let e=(await (0,r.C_)()).staking.validator(t).then(e=>((null==d?void 0:d[0])===t&&(d=null),e.validator));return d=[t,e],e},g=null,m=async()=>g||(g=(await (0,r.C_)()).staking.pool().then(t=>(g=null,t.pool))),v=async t=>{let e=await a.StargateClient.connect(s.Od);return await e.getBalance(t,"uxion")},p=async t=>{let e=await (0,r.C_)();return await e.staking.delegatorDelegations(t)},f=async t=>{let e=await (0,r.C_)();return await e.staking.delegatorUnbondingDelegations(t)},w=async(t,e)=>{let n=await (0,r.C_)(),a=await n.distribution.delegationRewards(t,e);return(await Promise.all(a.rewards.map(async t=>{if(0==t.denom.indexOf("ibc/")){var e;let a=await n.ibc.transfer.denomTrace(t.denom.substring(4));t.denom=(null===(e=a.denomTrace)||void 0===e?void 0:e.baseDenom)||t.denom}return t}))).filter(t=>{var e;return(null===(e=t.denom)||void 0===e?void 0:e.toUpperCase())==="UXION"}).map(t=>({amount:new o.Z(t.amount).div(new o.Z(10).pow(18)).toString(),denom:t.denom})).map(t=>(0,i.b)(t))},y=async(t,e,n)=>{let a=(await (0,r.g_)()).subscribeNewBlock(),o={complete:n,error:e,next:t};return a.addListener(o),()=>{a.removeListener(o)}}},71694:function(t,e,n){"use strict";n.d(e,{C_:function(){return s},g_:function(){return u},v4:function(){return l}});var a=n(18722),o=n(58015),r=n(43890),i=n(9016);let s=async()=>{let t=await r.Tendermint34Client.connect(i.Od);return o.QueryClient.withExtensions(t,o.setupStakingExtension,o.setupDistributionExtension,o.setupIbcExtension)},l=async()=>{let t=localStorage.getItem("xion-authz-temp-account");if(!t)return;let e=await a.DirectSecp256k1HdWallet.deserialize(t,"abstraxion"),n=await e.getAccounts().then(t=>{var e;return null===(e=t[0])||void 0===e?void 0:e.address});return{client:await o.SigningStargateClient.connectWithSigner(i.Od,e),granteeAddress:n}},u=()=>r.Tendermint34Client.connect(i.SO)},66803:function(t,e,n){"use strict";n.d(e,{H:function(){return i},b:function(){return o}});var a=n(22840);let o=t=>{var e,n,o;return(null===(e=t.denom)||void 0===e?void 0:e.toUpperCase())==="UXION"?{amount:new a.Z(t.amount).div(new a.Z(10).pow(6)).toString(),denom:"XION"}:(null===(n=t.denom)||void 0===n?void 0:n.toUpperCase())==="XION"?{amount:t.amount,denom:"XION"}:{...t,denom:null===(o=t.denom)||void 0===o?void 0:o.toUpperCase()}},r=()=>({amount:"0",denom:"xion"}),i=t=>t.reduce((t,e)=>({amount:new a.Z(t.amount).plus(o(e).amount).toString(),denom:t.denom}),r())},9016:function(t,e,n){"use strict";n.d(e,{Bv:function(){return a},Od:function(){return r},SO:function(){return i},T$:function(){return o}});let{chainId:a}=n(3436).testnetChainInfo,o=void 0,r="https://rpc.xion-testnet.forbole.com",i=r.replace("https://","wss://")}}]); \ No newline at end of file diff --git a/_next/static/chunks/658-97c6d300f2bd62c8.js b/_next/static/chunks/658-97c6d300f2bd62c8.js deleted file mode 100644 index 4ac8ee9..0000000 --- a/_next/static/chunks/658-97c6d300f2bd62c8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[658],{46601:function(){},89214:function(){},42480:function(){},85568:function(){},69386:function(){},31616:function(){},20131:function(){},16026:function(){},33370:function(){},25442:function(t,e,n){"use strict";n.d(e,{sT:function(){return C},wX:function(){return k},qp:function(){return R},_5:function(){return U},xu:function(){return L}});var a=n(58015),o=n(22840),i=n(18722),r=n(43890),l=n(9016);let s=async()=>{let t=await r.Tendermint34Client.connect(l.Od);return a.QueryClient.withExtensions(t,a.setupStakingExtension,a.setupDistributionExtension,a.setupIbcExtension)},d=async()=>{let t=localStorage.getItem("xion-authz-temp-account");if(!t)return;let e=await i.DirectSecp256k1HdWallet.deserialize(t,"abstraxion"),n=await e.getAccounts().then(t=>{var e;return null===(e=t[0])||void 0===e?void 0:e.address});return{client:await a.SigningStargateClient.connectWithSigner(l.Od,e),granteeAddress:n}};var u=n(66803);let c=null,g=async()=>c||(c=(await s()).staking.validators("BOND_STATUS_BONDED").then(t=>(c=null,t))),m=null,v=async t=>{if((null==m?void 0:m[0])===t)return m[1];let e=(await s()).staking.validator(t).then(e=>((null==m?void 0:m[0])===t&&(m=null),e.validator));return m=[t,e],e},p=null,f=async()=>p||(p=(await s()).staking.pool().then(t=>(p=null,t.pool))),w=async t=>{let e=await a.StargateClient.connect(l.Od);return await e.getBalance(t,"uxion")},y=async t=>{let e=await s();return await e.staking.delegatorDelegations(t)},h=async t=>{let e=await s();return await e.staking.delegatorUnbondingDelegations(t)},D=async(t,e)=>{let n=await s(),a=await n.distribution.delegationRewards(t,e);return(await Promise.all(a.rewards.map(async t=>{if(0==t.denom.indexOf("ibc/")){var e;let a=await n.ibc.transfer.denomTrace(t.denom.substring(4));t.denom=(null===(e=a.denomTrace)||void 0===e?void 0:e.baseDenom)||t.denom}return t}))).filter(t=>{var e;return(null===(e=t.denom)||void 0===e?void 0:e.toUpperCase())==="UXION"}).map(t=>({amount:new o.Z(t.amount).div(new o.Z(10).pow(18)).toString(),denom:t.denom})).map(t=>(0,u.b)(t))};var A=n(53856),S=n(62884),x=n(97481);let b=async(t,e)=>{let{client:n,granteeAddress:a}=await d()||{};if(!n||!a)return null;let o=[{typeUrl:"/cosmos.authz.v1beta1.MsgExec",value:x.MsgExec.fromPartial({grantee:a,msgs:t.map(t=>n.registry.encodeAsAny(t))})}];return await n.simulate(a,o,e).then(t=>Math.ceil(2*t).toString()).catch(t=>(console.log("debug: core/base.ts: Estimate error",t),null))},T=async t=>{let{address:e,amount:n=[{amount:"1000",denom:"uxion"}],gasLimit:a="400000",memo:o="",msgs:i}=t;return{amount:n,gas:await b(i,o)||a,granter:e}},O=t=>e=>{if(console.log("debug: base.ts: result",e),!e.events.find(e=>e.type===t))throw console.error(e),Error("Out of gas");return e},E=t=>{throw console.error(t),t},I=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgDelegate",value:S.MsgDelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await T({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(O("delegate")).catch(E)},_=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgUndelegate",value:S.MsgUndelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await T({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(O("unbond")).catch(E)},N=async(t,e)=>{let n=[{typeUrl:"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",value:A.MsgWithdrawDelegatorReward.fromPartial({delegatorAddress:t.delegator,validatorAddress:t.validator})}],a=await T({address:t.delegator,msgs:n});return await e.signAndBroadcast(t.delegator,n,a).then(O("withdraw_rewards")).catch(E)};var K=n(62986);let k=async(t,e)=>{try{var n,a,o,i,r,l;e.dispatch((0,K.Kv)(!0));let[s,d,c,m,v]=await Promise.all([w(t),g(),f(),y(t).then(async e=>({items:await Promise.all(e.delegationResponses.map(async e=>({balance:e.balance,rewards:await D(t,e.delegation.validatorAddress).then(t=>(0,u.H)(t)),validatorAddress:e.delegation.validatorAddress}))),pagination:e.pagination})),h(t).then(t=>({items:t.unbondingResponses.reduce((t,e)=>(t.push(...e.entries.map(t=>({balance:{amount:t.balance,denom:"uxion"},completionTime:Number(t.completionTime.seconds),completionTimeNanos:t.completionTime.nanos,id:t.unbondingId.toString(),validator:e.validatorAddress}))),t),[]),pagination:t.pagination})).catch(()=>({items:[],pagination:null})).then(t=>({items:t.items,pagination:t.pagination}))]);e.dispatch((0,K.d0)(s)),e.dispatch((0,K.T2)({items:d.validators,nextKey:(null===(n=d.pagination)||void 0===n?void 0:n.nextKey)||null,total:(null===(a=d.pagination)||void 0===a?void 0:a.total)||null},!0)),e.dispatch((0,K.Qx)({items:m.items,nextKey:(null===(o=m.pagination)||void 0===o?void 0:o.nextKey)||null,total:(null===(i=m.pagination)||void 0===i?void 0:i.total)||null},!0)),e.dispatch((0,K.Kg)({items:v.items,nextKey:(null===(r=v.pagination)||void 0===r?void 0:r.nextKey)||null,total:(null===(l=v.pagination)||void 0===l?void 0:l.total)||null},!0)),e.dispatch((0,K.DD)(c)),e.dispatch((0,K.Kv)(!1))}catch(t){console.error("error fetching staking data:",t)}},U=async(t,e,n)=>{await I(t,e,{amount:"1000",denom:"uxion"}),await k(t.delegator,n)},L=async(t,e,n)=>{await _(t,e,{amount:"1000",denom:"uxion"}),await k(t.delegator,n)},C=async(t,e,n)=>{await N(t,e),await k(t.delegator,n)},R=async(t,e)=>{var n;if((null===(n=e.state.validatorDetails)||void 0===n?void 0:n.operatorAddress)===t)return e.state.validatorDetails;let a=await v(t);return e.dispatch((0,K.gT)(a)),a}},80469:function(t,e,n){"use strict";n.d(e,{f:function(){return s},n:function(){return l}});var a=n(52674),o=n(64090),i=n(25442),r=n(544);let l=()=>{let t=(0,o.useRef)({}),e=(0,o.useContext)(r.Y);t.current.state=e.state,t.current.dispatch=e.dispatch;let{data:n,isConnected:i}=(0,a.hT)(),l=null==n?void 0:n.bech32Address;return{account:n,address:l,isConnected:i,staking:t.current}},s=()=>{let{address:t,isConnected:e,staking:n}=l();(0,o.useEffect)(()=>{e&&t&&(0,i.wX)(t,n)},[e,t,n])}},62986:function(t,e,n){"use strict";n.d(e,{DD:function(){return d},I6:function(){return m},Kg:function(){return l},Kv:function(){return o},Qx:function(){return r},T2:function(){return i},d0:function(){return a},gT:function(){return s}});let a=t=>({content:t,type:"SET_TOKENS"}),o=t=>({content:t,type:"SET_IS_INFO_LOADING"}),i=(t,e)=>({content:t,reset:e,type:"ADD_VALIDATORS"}),r=(t,e)=>({content:t,reset:e,type:"ADD_DELEGATIONS"}),l=(t,e)=>({content:t,reset:e,type:"ADD_UNBONDINGS"}),s=t=>({content:t,type:"SET_VALIDATOR_DETAILS"}),d=t=>({content:t,type:"SET_POOL"}),u=t=>{let e=new Set;return t.filter(t=>!e.has(t.operatorAddress)&&(e.add(t.operatorAddress),!0))},c=t=>{let e=new Set;return t.filter(t=>!e.has(t.validatorAddress)&&(e.add(t.validatorAddress),!0))},g=t=>{let e=new Set;return t.filter(t=>{let n=t.id;return!e.has(n)&&(e.add(n),!0)})},m=(t,e)=>{switch(e.type){case"SET_TOKENS":return{...t,tokens:e.content};case"ADD_VALIDATORS":{let n=!e.reset&&t.validators||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=u(n.items.concat(e.content.items)),{...t,validators:n}}case"ADD_DELEGATIONS":{let n=!e.reset&&t.delegations||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=c(e.content.items.concat(n.items)),{...t,delegations:n}}case"ADD_UNBONDINGS":{let n=!e.reset&&t.unbondings||{items:[],nextKey:null,total:null};return n.total=e.content.total,n.nextKey=e.content.nextKey,n.items=g(e.content.items.concat(n.items)),{...t,unbondings:n}}case"SET_IS_INFO_LOADING":return{...t,isInfoLoading:e.content};case"SET_VALIDATOR_DETAILS":return{...t,validatorDetails:e.content};case"SET_POOL":return{...t,pool:e.content};default:return t}}},544:function(t,e,n){"use strict";n.d(e,{W:function(){return o},Y:function(){return i}});var a=n(64090);let o={delegations:null,isInfoLoading:!1,pool:null,tokens:null,unbondings:null,validatorDetails:null,validators:null},i=(0,a.createContext)({dispatch:()=>null,state:o})},66803:function(t,e,n){"use strict";n.d(e,{H:function(){return r},b:function(){return o}});var a=n(22840);let o=t=>{var e,n,o;return(null===(e=t.denom)||void 0===e?void 0:e.toUpperCase())==="UXION"?{amount:new a.Z(t.amount).div(new a.Z(10).pow(6)).toString(),denom:"XION"}:(null===(n=t.denom)||void 0===n?void 0:n.toUpperCase())==="XION"?{amount:t.amount,denom:"XION"}:{...t,denom:null===(o=t.denom)||void 0===o?void 0:o.toUpperCase()}},i=()=>({amount:"0",denom:"xion"}),r=t=>t.reduce((t,e)=>({amount:new a.Z(t.amount).plus(o(e).amount).toString(),denom:t.denom}),i())},9016:function(t,e,n){"use strict";n.d(e,{Bv:function(){return a},Od:function(){return i},T$:function(){return o}});let{chainId:a}=n(3436).testnetChainInfo,o=void 0,i="https://rpc.xion-testnet.forbole.com"}}]); \ No newline at end of file diff --git a/_next/static/chunks/app/layout-a4e628a73d545602.js b/_next/static/chunks/app/layout-7984ceab67c49833.js similarity index 100% rename from _next/static/chunks/app/layout-a4e628a73d545602.js rename to _next/static/chunks/app/layout-7984ceab67c49833.js diff --git a/_next/static/chunks/app/page-66cfa45fae20331a.js b/_next/static/chunks/app/page-66cfa45fae20331a.js deleted file mode 100644 index 0c30372..0000000 --- a/_next/static/chunks/app/page-66cfa45fae20331a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{67617:function(e,t,n){Promise.resolve().then(n.bind(n,66319))},66319:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(3827),i=n(52674),s=n(59115),l=n(8792),d=n(64090),o=n(86123),a=n(25442),c=n(80469),u=n(39730),h=n(40168),v=n(66803),x=n(67497),m=n(18722),f=n(9016),j=()=>{let[e,t]=(0,d.useState)(null);return((0,d.useEffect)(()=>{(async()=>{var e;let n=localStorage.getItem("xion-authz-temp-account");if(!n)return;let r=await m.DirectSecp256k1HdWallet.deserialize(n,"abstraxion"),i=await r.getAccounts(),s=null==i?void 0:null===(e=i[0])||void 0===e?void 0:e.address;s&&t(s)})()},[]),e)?(0,r.jsx)(l.default,{href:"https://explorer.burnt.com/".concat(f.Bv,"/account/").concat(e),target:"_blank",children:(0,r.jsx)(s.z,{onClick:()=>{},children:"DEBUG ACCOUNT"})}):null},p=n(61947),g=(0,d.memo)(e=>{let{disabled:t,onStake:n,staking:i,validator:o}=e,{website:a}=o.description,[c,h]=(0,d.useState)(null),{identity:v}=o.description;(0,d.useEffect)(()=>{(async()=>{v&&h(await p.x.getIdentityLogo(v))})()},[v]);let m=(0,u.Sg)(null==o?void 0:o.tokens,i.state),f=(0,x.gg)(m);return(0,r.jsxs)("div",{style:{border:"solid 1px white",marginBottom:10},children:[c&&(0,r.jsx)("div",{children:(0,r.jsx)("img",{alt:"Validator logo",src:c,style:{height:50,width:50}})}),(0,r.jsxs)(l.default,{href:"/validator?address=".concat(o.operatorAddress),children:[(0,r.jsx)("div",{children:(0,r.jsx)("b",{children:o.description.moniker})}),(0,r.jsx)("div",{children:o.operatorAddress})]}),m&&(0,r.jsxs)("div",{children:["Voting power: ",f]}),(0,r.jsx)("div",{children:(0,r.jsx)(s.z,{disabled:t,onClick:n,structure:"naked",children:"Stake here"})}),a&&(0,r.jsx)("div",{children:(0,r.jsx)(l.default,{href:a,target:"_blank",children:a})})]})}),b=(0,d.memo)(function(){let{account:e,staking:t}=(0,c.n)(),[n,m]=(0,d.useState)(!1),{delegations:f,isInfoLoading:p,tokens:b,unbondings:k,validators:w}=t.state,{client:A}=(0,i.Hj)(),[,y]=(0,i.dd)(),N=(0,d.useMemo)(()=>(null==w?void 0:w.items.reduce((e,t)=>(e[t.operatorAddress]=t,e),{}))||{},[w]),C=(0,u.U2)(t.state),E=(0,u.jv)(t.state),S=(0,v.H)([b,E,C].filter(e=>!!e));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{children:"Account"}),(0,r.jsx)("div",{children:(0,r.jsx)("b",{children:e.bech32Address})}),(0,r.jsx)("div",{children:(0,r.jsx)(s.z,{onClick:()=>{y(!0)},children:"Open Settings"})}),b&&(0,r.jsxs)("div",{children:["Tokens: ",(0,r.jsx)("b",{children:(0,x.Em)(b)})]}),C&&(0,r.jsxs)("div",{children:["Total delegation: ",(0,r.jsx)("b",{children:(0,x.Em)(C)})]}),E&&(0,r.jsxs)("div",{children:["Total unbonding: ",(0,r.jsx)("b",{children:(0,x.Em)(E)})]}),S&&(0,r.jsxs)("div",{children:["Total owned: ",(0,r.jsx)("b",{children:(0,x.Em)(S)})]})]}),p&&(0,r.jsx)("div",{children:"Loading ..."}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,r.jsx)(l.default,{href:(0,h.G)(e.bech32Address),target:"_blank",children:(0,r.jsx)(s.z,{onClick:()=>{},children:"VIEW ACCOUNT"})}),(0,r.jsx)(j,{})]}),(0,r.jsxs)("div",{className:"flex flex-row gap-5",children:[!!(null==w?void 0:w.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Validators:"}),(0,r.jsx)("div",{className:"max-h-[500px] max-w-max overflow-auto",children:w.items.map(i=>(0,r.jsx)(g,{disabled:n,onStake:()=>{if(!A)return;m(!0);let n={delegator:e.bech32Address,validator:i.operatorAddress};(0,a._5)(n,A,t).then(()=>{(0,o.Am)("Staking successful",{type:"success"})}).catch(()=>{(0,o.Am)("Staking error",{type:"error"})}).finally(()=>{m(!1)})},staking:t,validator:i},i.operatorAddress))})]}),(0,r.jsxs)("div",{className:"max-h-[500px] overflow-auto",children:[!!(null==f?void 0:f.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Delegations:"}),f.items.map(i=>{let l=N[i.validatorAddress],d=null==l?void 0:l.description.moniker;return(0,r.jsxs)("div",{style:{border:"1px solid #fff",marginBottom:20},children:[(0,r.jsxs)("div",{children:["Delegated: ",(0,x.Em)(i.balance)]}),i.rewards&&(0,r.jsxs)("div",{children:["Rewards: ",(0,x.Em)(i.rewards)]}),(0,r.jsxs)("div",{children:["Validator: ",d||i.validatorAddress]}),(0,r.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,r.jsx)(s.z,{disabled:n,onClick:()=>{if(!A||!l)return;m(!0);let n={delegator:e.bech32Address,validator:l.operatorAddress};(0,a.xu)(n,A,t).then(()=>{(0,o.Am)("Unstake successful",{type:"success"})}).catch(()=>{(0,o.Am)("Unstake error",{type:"error"})}).finally(()=>{m(!1)})},children:"Undelegate"}),i.rewards&&(0,r.jsx)(s.z,{disabled:n||"0"===i.rewards.amount,onClick:()=>{if(!A)return;m(!0);let n={delegator:e.bech32Address,validator:i.validatorAddress};(0,a.sT)(n,A,t).then(()=>{(0,o.Am)("Claim success",{type:"success"})}).catch(()=>{(0,o.Am)("Claim error",{type:"error"})}).finally(()=>{m(!1)})},children:"Claim rewards"})]})]},i.validatorAddress)})]}),!!(null==k?void 0:k.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Unbondings:"}),(0,r.jsx)("div",{children:null==k?void 0:k.items.map(e=>{let t=N[e.validator];return(0,r.jsxs)("div",{style:{border:"1px solid #fff"},children:[(0,r.jsxs)("div",{children:["Unbonding tokens: ",(0,x.Em)(e.balance)]}),(0,r.jsxs)("div",{children:["Completed by:"," ",new Date(e.completionTime).toString()]}),(0,r.jsxs)("div",{children:["Validator:"," ",(null==t?void 0:t.description.moniker)||e.validator]})]},"".concat(e.completionTime,"-").concat(e.completionTimeNanos))})})]})]})]})]})})},39730:function(e,t,n){"use strict";n.d(t,{Sg:function(){return d},U2:function(){return s},jv:function(){return l}});var r=n(22840),i=n(66803);let s=e=>{let{delegations:t}=e;if(!(null==t?void 0:t.items.length))return null;let n=t.items.map(e=>e.balance);return(0,i.H)(n)},l=e=>{let{unbondings:t}=e;if(!(null==t?void 0:t.items.length))return null;let n=t.items.map(e=>e.balance);return(0,i.H)(n)},d=(e,t)=>{let{pool:n}=t;return e&&"string"==typeof(null==n?void 0:n.bondedTokens)?new r.Z(e).div(new r.Z(n.bondedTokens)).toNumber():null}},40168:function(e,t,n){"use strict";n.d(t,{E:function(){return s},G:function(){return i}});var r=n(9016);let i=e=>"https://explorer.burnt.com/".concat(r.Bv,"/account/").concat(e),s=e=>"https://explorer.burnt.com/".concat(r.Bv,"/staking/").concat(e)},67497:function(e,t,n){"use strict";n.d(t,{Em:function(){return s},gg:function(){return l},i:function(){return d}});var r=n(22840),i=n(66803);let s=e=>{let t=(0,i.b)(e),n=new r.Z(t.amount);return"".concat(n.toFormat()," ").concat(t.denom)},l=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},d=e=>{let t=new r.Z(e).div(new r.Z(10).pow(18)).toNumber();return"".concat((100*t).toFixed(0),"%")}},61947:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});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,n,r,i;return(null==e?void 0:null===(i=e.them)||void 0===i?void 0:null===(r=i[0])||void 0===r?void 0:null===(n=r.pictures)||void 0===n?void 0:null===(t=n.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return r[e]=t,t}}}},function(e){e.O(0,[350,218,147,228,933,45,792,123,658,971,69,744],function(){return e(e.s=67617)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-90a0c21784e9f94b.js b/_next/static/chunks/app/page-90a0c21784e9f94b.js new file mode 100644 index 0000000..4e12587 --- /dev/null +++ b/_next/static/chunks/app/page-90a0c21784e9f94b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{67617:function(e,t,n){Promise.resolve().then(n.bind(n,66319))},66319:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var r=n(3827),i=n(52674),l=n(59115),s=n(8792),d=n(64090),o=n(86123),c=n(25362),a=n(80469),u=n(39730),h=n(40168),v=n(21390),x=n(66803),m=n(67497),f=n(18722),j=n(9016),p=()=>{let[e,t]=(0,d.useState)(null);return((0,d.useEffect)(()=>{(async()=>{var e;let n=localStorage.getItem("xion-authz-temp-account");if(!n)return;let r=await f.DirectSecp256k1HdWallet.deserialize(n,"abstraxion"),i=await r.getAccounts(),l=null==i?void 0:null===(e=i[0])||void 0===e?void 0:e.address;l&&t(l)})()},[]),e)?(0,r.jsx)(s.default,{href:"https://explorer.burnt.com/".concat(j.Bv,"/account/").concat(e),target:"_blank",children:(0,r.jsx)(l.z,{onClick:()=>{},children:"DEBUG ACCOUNT"})}):null},g=n(61947),b=(0,d.memo)(e=>{let{disabled:t,onStake:n,staking:i,validator:o}=e,{website:c}=o.description,[a,h]=(0,d.useState)(null),{identity:v}=o.description;(0,d.useEffect)(()=>{(async()=>{v&&h(await g.x.getIdentityLogo(v))})()},[v]);let x=(0,u.Sg)(null==o?void 0:o.tokens,i.state),f=(0,m.gg)(x);return(0,r.jsxs)("div",{style:{border:"solid 1px white",marginBottom:10},children:[a&&(0,r.jsx)("div",{children:(0,r.jsx)("img",{alt:"Validator logo",src:a,style:{height:50,width:50}})}),(0,r.jsxs)(s.default,{href:"/validator?address=".concat(o.operatorAddress),children:[(0,r.jsx)("div",{children:(0,r.jsx)("b",{children:o.description.moniker})}),(0,r.jsx)("div",{children:o.operatorAddress})]}),x&&(0,r.jsxs)("div",{children:["Voting power: ",f]}),(0,r.jsx)("div",{children:(0,r.jsx)(l.z,{disabled:t,onClick:n,structure:"naked",children:"Stake here"})}),c&&(0,r.jsx)("div",{children:(0,r.jsx)(s.default,{href:c,target:"_blank",children:c})})]})}),k=(0,d.memo)(function(){let{account:e,staking:t}=(0,a.n)(),[n,f]=(0,d.useState)(!1),{delegations:j,isInfoLoading:g,tokens:k,unbondings:w,validators:A}=t.state,{client:y}=(0,i.Hj)(),[,C]=(0,i.dd)(),[E,N]=(0,d.useState)(null);(0,d.useEffect)(()=>{let e=()=>{};return(0,v.wv)(e=>{N(e)},e=>{console.log("debug: main-page.tsx: err",e)},()=>{console.log("Subscription Completed"),N(null)}).then(t=>{e=t}),()=>{null==e||e()}},[]);let S=(0,d.useMemo)(()=>(null==A?void 0:A.items.reduce((e,t)=>(e[t.operatorAddress]=t,e),{}))||{},[A]),T=(0,u.U2)(t.state),_=(0,u.jv)(t.state),U=(0,x.H)([k,_,T].filter(e=>!!e));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{children:"Account"}),(0,r.jsx)("div",{children:(0,r.jsx)("b",{children:e.bech32Address})}),(0,r.jsx)("div",{children:(0,r.jsx)(l.z,{onClick:()=>{C(!0)},children:"Open Settings"})}),!!E&&(0,r.jsxs)("div",{children:["Block: #",E.header.height]}),k&&(0,r.jsxs)("div",{children:["Tokens: ",(0,r.jsx)("b",{children:(0,m.Em)(k)})]}),T&&(0,r.jsxs)("div",{children:["Total delegation: ",(0,r.jsx)("b",{children:(0,m.Em)(T)})]}),_&&(0,r.jsxs)("div",{children:["Total unbonding: ",(0,r.jsx)("b",{children:(0,m.Em)(_)})]}),U&&(0,r.jsxs)("div",{children:["Total owned: ",(0,r.jsx)("b",{children:(0,m.Em)(U)})]})]}),g&&(0,r.jsx)("div",{children:"Loading ..."}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,r.jsx)(s.default,{href:(0,h.G)(e.bech32Address),target:"_blank",children:(0,r.jsx)(l.z,{onClick:()=>{},children:"VIEW ACCOUNT"})}),(0,r.jsx)(p,{})]}),(0,r.jsxs)("div",{className:"flex flex-row gap-5",children:[!!(null==A?void 0:A.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Validators:"}),(0,r.jsx)("div",{className:"max-h-[500px] max-w-max overflow-auto",children:A.items.map(i=>(0,r.jsx)(b,{disabled:n,onStake:()=>{if(!y)return;f(!0);let n={delegator:e.bech32Address,validator:i.operatorAddress};(0,c._5)(n,y,t).then(()=>{(0,o.Am)("Staking successful",{type:"success"})}).catch(()=>{(0,o.Am)("Staking error",{type:"error"})}).finally(()=>{f(!1)})},staking:t,validator:i},i.operatorAddress))})]}),(0,r.jsxs)("div",{className:"max-h-[500px] overflow-auto",children:[!!(null==j?void 0:j.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Delegations:"}),j.items.map(i=>{let s=S[i.validatorAddress],d=null==s?void 0:s.description.moniker;return(0,r.jsxs)("div",{style:{border:"1px solid #fff",marginBottom:20},children:[(0,r.jsxs)("div",{children:["Delegated: ",(0,m.Em)(i.balance)]}),i.rewards&&(0,r.jsxs)("div",{children:["Rewards: ",(0,m.Em)(i.rewards)]}),(0,r.jsxs)("div",{children:["Validator: ",d||i.validatorAddress]}),(0,r.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,r.jsx)(l.z,{disabled:n,onClick:()=>{if(!y||!s)return;f(!0);let n={delegator:e.bech32Address,validator:s.operatorAddress};(0,c.xu)(n,y,t).then(()=>{(0,o.Am)("Unstake successful",{type:"success"})}).catch(()=>{(0,o.Am)("Unstake error",{type:"error"})}).finally(()=>{f(!1)})},children:"Undelegate"}),i.rewards&&(0,r.jsx)(l.z,{disabled:n||"0"===i.rewards.amount,onClick:()=>{if(!y)return;f(!0);let n={delegator:e.bech32Address,validator:i.validatorAddress};(0,c.sT)(n,y,t).then(()=>{(0,o.Am)("Claim success",{type:"success"})}).catch(()=>{(0,o.Am)("Claim error",{type:"error"})}).finally(()=>{f(!1)})},children:"Claim rewards"})]})]},i.validatorAddress)})]}),!!(null==w?void 0:w.items.length)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:"Unbondings:"}),(0,r.jsx)("div",{children:null==w?void 0:w.items.map(e=>{let t=S[e.validator];return(0,r.jsxs)("div",{style:{border:"1px solid #fff"},children:[(0,r.jsxs)("div",{children:["Unbonding tokens: ",(0,m.Em)(e.balance)]}),(0,r.jsxs)("div",{children:["Completed by:"," ",new Date(e.completionTime).toString()]}),(0,r.jsxs)("div",{children:["Validator:"," ",(null==t?void 0:t.description.moniker)||e.validator]})]},"".concat(e.completionTime,"-").concat(e.completionTimeNanos))})})]})]})]})]})})},39730:function(e,t,n){"use strict";n.d(t,{Sg:function(){return d},U2:function(){return l},jv:function(){return s}});var r=n(22840),i=n(66803);let l=e=>{let{delegations:t}=e;if(!(null==t?void 0:t.items.length))return null;let n=t.items.map(e=>e.balance);return(0,i.H)(n)},s=e=>{let{unbondings:t}=e;if(!(null==t?void 0:t.items.length))return null;let n=t.items.map(e=>e.balance);return(0,i.H)(n)},d=(e,t)=>{let{pool:n}=t;return e&&"string"==typeof(null==n?void 0:n.bondedTokens)?new r.Z(e).div(new r.Z(n.bondedTokens)).toNumber():null}},40168:function(e,t,n){"use strict";n.d(t,{E:function(){return l},G:function(){return i}});var r=n(9016);let i=e=>"https://explorer.burnt.com/".concat(r.Bv,"/account/").concat(e),l=e=>"https://explorer.burnt.com/".concat(r.Bv,"/staking/").concat(e)},67497:function(e,t,n){"use strict";n.d(t,{Em:function(){return l},gg:function(){return s},i:function(){return d}});var r=n(22840),i=n(66803);let l=e=>{let t=(0,i.b)(e),n=new r.Z(t.amount);return"".concat(n.toFormat()," ").concat(t.denom)},s=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},d=e=>{let t=new r.Z(e).div(new r.Z(10).pow(18)).toNumber();return"".concat((100*t).toFixed(0),"%")}},61947:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});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,n,r,i;return(null==e?void 0:null===(i=e.them)||void 0===i?void 0:null===(r=i[0])||void 0===r?void 0:null===(n=r.pictures)||void 0===n?void 0:null===(t=n.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return r[e]=t,t}}}},function(e){e.O(0,[350,218,147,228,933,45,792,123,658,971,69,744],function(){return e(e.s=67617)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/validator/page-82b2b46325e4e89a.js b/_next/static/chunks/app/validator/page-e7d837fa546ccda7.js similarity index 98% rename from _next/static/chunks/app/validator/page-82b2b46325e4e89a.js rename to _next/static/chunks/app/validator/page-e7d837fa546ccda7.js index 2d593d1..0c7507d 100644 --- a/_next/static/chunks/app/validator/page-82b2b46325e4e89a.js +++ b/_next/static/chunks/app/validator/page-e7d837fa546ccda7.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{90858:function(n,t,e){Promise.resolve().then(e.bind(e,53120))},53120:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return f}});var i=e(3827),r=e(59115),s=e(20534),o=e(8792),u=e(15313),c=e(64090),d=e(25442),l=e(80469),a=e(39730),v=e(40168),m=e(67497),h=e(61947);function f(){var n;let t=(0,u.useSearchParams)().get("address"),e=(0,l.n)(),[f,x]=(0,c.useState)(null),[p,j]=(0,c.useState)(null);if((0,c.useEffect)(()=>{(async()=>{if(t){var n;let i=await (0,d.qp)(t,e.staking);j(i),(null==i?void 0:null===(n=i.description)||void 0===n?void 0:n.identity)&&x(await h.x.getIdentityLogo(i.description.identity))}})()},[t,e]),!p)return(0,i.jsx)("div",{children:"Loading ..."});let g=(0,a.Sg)(p.tokens,e.staking.state),b=(0,m.gg)(g);return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{children:t}),f&&(0,i.jsx)("div",{children:(0,i.jsx)("img",{alt:"Validator logo",src:f})}),(0,i.jsx)("div",{children:p.description.moniker}),(0,i.jsx)("div",{children:(0,i.jsx)(o.default,{href:(0,v.E)(p.operatorAddress),target:"_blank",children:(0,i.jsx)(r.z,{children:"View in Explorer"})})}),(0,i.jsx)("div",{children:p.description.details}),(0,i.jsxs)("div",{children:["Identity: ",p.description.identity]}),(0,i.jsx)("div",{children:p.description.securityContact}),(0,i.jsx)("div",{children:p.description.website}),(0,i.jsxs)("div",{children:["Pub key: ",null===(n=p.consensusPubkey)||void 0===n?void 0:n.value]}),(0,i.jsxs)("div",{children:["Commission:"," ",(0,m.i)(p.commission.commissionRates.rate)]}),(0,i.jsxs)("div",{children:["Max commission:"," ",(0,m.i)(p.commission.commissionRates.maxRate)]}),(0,i.jsxs)("div",{children:["Max commission change:"," ",(0,m.i)(p.commission.commissionRates.maxChangeRate)]}),(0,i.jsxs)("div",{children:["Jailed: ",p.jailed.toString()]}),(0,i.jsxs)("div",{children:["Status:"," ",p.status===s.BondStatus.BOND_STATUS_BONDED?"Bonded":p.status]}),b&&(0,i.jsxs)("div",{children:["Voting Power: ",b]}),(0,i.jsx)(o.default,{href:"/",children:(0,i.jsx)(r.z,{children:"Back"})})]})}},39730:function(n,t,e){"use strict";e.d(t,{Sg:function(){return u},U2:function(){return s},jv:function(){return o}});var i=e(22840),r=e(66803);let s=n=>{let{delegations:t}=n;if(!(null==t?void 0:t.items.length))return null;let e=t.items.map(n=>n.balance);return(0,r.H)(e)},o=n=>{let{unbondings:t}=n;if(!(null==t?void 0:t.items.length))return null;let e=t.items.map(n=>n.balance);return(0,r.H)(e)},u=(n,t)=>{let{pool:e}=t;return n&&"string"==typeof(null==e?void 0:e.bondedTokens)?new i.Z(n).div(new i.Z(e.bondedTokens)).toNumber():null}},40168:function(n,t,e){"use strict";e.d(t,{E:function(){return s},G:function(){return r}});var i=e(9016);let r=n=>"https://explorer.burnt.com/".concat(i.Bv,"/account/").concat(n),s=n=>"https://explorer.burnt.com/".concat(i.Bv,"/staking/").concat(n)},67497:function(n,t,e){"use strict";e.d(t,{Em:function(){return s},gg:function(){return o},i:function(){return u}});var i=e(22840),r=e(66803);let s=n=>{let t=(0,r.b)(n),e=new i.Z(t.amount);return"".concat(e.toFormat()," ").concat(t.denom)},o=n=>{if("number"!=typeof n||Number.isNaN(n))return null;let t=n<1e-4?"<0.1":(100*n).toFixed(1);return"".concat(t,"%")},u=n=>{let t=new i.Z(n).div(new i.Z(10).pow(18)).toNumber();return"".concat((100*t).toFixed(0),"%")}},61947:function(n,t,e){"use strict";e.d(t,{x:function(){return r}});let i={},r={getIdentityLogo:n=>{if(i[n])return i[n];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(n)).then(n=>n.json()).then(n=>{var t,e,i,r;return(null==n?void 0:null===(r=n.them)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:null===(e=i.pictures)||void 0===e?void 0:null===(t=e.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return i[n]=t,t}}}},function(n){n.O(0,[350,218,147,228,933,45,792,658,971,69,744],function(){return n(n.s=90858)}),_N_E=n.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{90858:function(n,t,e){Promise.resolve().then(e.bind(e,53120))},53120:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return f}});var i=e(3827),r=e(59115),s=e(20534),o=e(8792),u=e(15313),c=e(64090),d=e(25362),l=e(80469),a=e(39730),v=e(40168),m=e(67497),h=e(61947);function f(){var n;let t=(0,u.useSearchParams)().get("address"),e=(0,l.n)(),[f,x]=(0,c.useState)(null),[p,j]=(0,c.useState)(null);if((0,c.useEffect)(()=>{(async()=>{if(t){var n;let i=await (0,d.qp)(t,e.staking);j(i),(null==i?void 0:null===(n=i.description)||void 0===n?void 0:n.identity)&&x(await h.x.getIdentityLogo(i.description.identity))}})()},[t,e]),!p)return(0,i.jsx)("div",{children:"Loading ..."});let g=(0,a.Sg)(p.tokens,e.staking.state),b=(0,m.gg)(g);return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{children:t}),f&&(0,i.jsx)("div",{children:(0,i.jsx)("img",{alt:"Validator logo",src:f})}),(0,i.jsx)("div",{children:p.description.moniker}),(0,i.jsx)("div",{children:(0,i.jsx)(o.default,{href:(0,v.E)(p.operatorAddress),target:"_blank",children:(0,i.jsx)(r.z,{children:"View in Explorer"})})}),(0,i.jsx)("div",{children:p.description.details}),(0,i.jsxs)("div",{children:["Identity: ",p.description.identity]}),(0,i.jsx)("div",{children:p.description.securityContact}),(0,i.jsx)("div",{children:p.description.website}),(0,i.jsxs)("div",{children:["Pub key: ",null===(n=p.consensusPubkey)||void 0===n?void 0:n.value]}),(0,i.jsxs)("div",{children:["Commission:"," ",(0,m.i)(p.commission.commissionRates.rate)]}),(0,i.jsxs)("div",{children:["Max commission:"," ",(0,m.i)(p.commission.commissionRates.maxRate)]}),(0,i.jsxs)("div",{children:["Max commission change:"," ",(0,m.i)(p.commission.commissionRates.maxChangeRate)]}),(0,i.jsxs)("div",{children:["Jailed: ",p.jailed.toString()]}),(0,i.jsxs)("div",{children:["Status:"," ",p.status===s.BondStatus.BOND_STATUS_BONDED?"Bonded":p.status]}),b&&(0,i.jsxs)("div",{children:["Voting Power: ",b]}),(0,i.jsx)(o.default,{href:"/",children:(0,i.jsx)(r.z,{children:"Back"})})]})}},39730:function(n,t,e){"use strict";e.d(t,{Sg:function(){return u},U2:function(){return s},jv:function(){return o}});var i=e(22840),r=e(66803);let s=n=>{let{delegations:t}=n;if(!(null==t?void 0:t.items.length))return null;let e=t.items.map(n=>n.balance);return(0,r.H)(e)},o=n=>{let{unbondings:t}=n;if(!(null==t?void 0:t.items.length))return null;let e=t.items.map(n=>n.balance);return(0,r.H)(e)},u=(n,t)=>{let{pool:e}=t;return n&&"string"==typeof(null==e?void 0:e.bondedTokens)?new i.Z(n).div(new i.Z(e.bondedTokens)).toNumber():null}},40168:function(n,t,e){"use strict";e.d(t,{E:function(){return s},G:function(){return r}});var i=e(9016);let r=n=>"https://explorer.burnt.com/".concat(i.Bv,"/account/").concat(n),s=n=>"https://explorer.burnt.com/".concat(i.Bv,"/staking/").concat(n)},67497:function(n,t,e){"use strict";e.d(t,{Em:function(){return s},gg:function(){return o},i:function(){return u}});var i=e(22840),r=e(66803);let s=n=>{let t=(0,r.b)(n),e=new i.Z(t.amount);return"".concat(e.toFormat()," ").concat(t.denom)},o=n=>{if("number"!=typeof n||Number.isNaN(n))return null;let t=n<1e-4?"<0.1":(100*n).toFixed(1);return"".concat(t,"%")},u=n=>{let t=new i.Z(n).div(new i.Z(10).pow(18)).toNumber();return"".concat((100*t).toFixed(0),"%")}},61947:function(n,t,e){"use strict";e.d(t,{x:function(){return r}});let i={},r={getIdentityLogo:n=>{if(i[n])return i[n];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(n)).then(n=>n.json()).then(n=>{var t,e,i,r;return(null==n?void 0:null===(r=n.them)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:null===(e=i.pictures)||void 0===e?void 0:null===(t=e.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return i[n]=t,t}}}},function(n){n.O(0,[350,218,147,228,933,45,792,658,971,69,744],function(){return n(n.s=90858)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/_next/static/vGc2vhuVpRq-03yGVtZef/_buildManifest.js b/_next/static/vxLs_k00C1Bh1fx33VyXe/_buildManifest.js similarity index 100% rename from _next/static/vGc2vhuVpRq-03yGVtZef/_buildManifest.js rename to _next/static/vxLs_k00C1Bh1fx33VyXe/_buildManifest.js diff --git a/_next/static/vGc2vhuVpRq-03yGVtZef/_ssgManifest.js b/_next/static/vxLs_k00C1Bh1fx33VyXe/_ssgManifest.js similarity index 100% rename from _next/static/vGc2vhuVpRq-03yGVtZef/_ssgManifest.js rename to _next/static/vxLs_k00C1Bh1fx33VyXe/_ssgManifest.js diff --git a/index.html b/index.html index 48ab007..6b39cfe 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -

XION Staking

\ No newline at end of file +

XION Staking

\ No newline at end of file diff --git a/index.txt b/index.txt index a3b1732..90d11be 100644 --- a/index.txt +++ b/index.txt @@ -1,7 +1,7 @@ -2:I[66319,["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","45","static/chunks/45-30742cd74ed5857f.js","792","static/chunks/792-afecb2b0239972a4.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-97c6d300f2bd62c8.js","931","static/chunks/app/page-66cfa45fae20331a.js"],""] -3:I[75354,["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","45","static/chunks/45-30742cd74ed5857f.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-97c6d300f2bd62c8.js","185","static/chunks/app/layout-a4e628a73d545602.js"],""] +2:I[66319,["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","45","static/chunks/45-30742cd74ed5857f.js","792","static/chunks/792-afecb2b0239972a4.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-4ee218e5418a021f.js","931","static/chunks/app/page-90a0c21784e9f94b.js"],""] +3:I[75354,["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","45","static/chunks/45-30742cd74ed5857f.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-4ee218e5418a021f.js","185","static/chunks/app/layout-7984ceab67c49833.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -0:["vGc2vhuVpRq-03yGVtZef",[[["",{"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/bc2f410f8074df3b.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +0:["vxLs_k00C1Bh1fx33VyXe",[[["",{"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/bc2f410f8074df3b.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/validator.html b/validator.html index c30277d..5068573 100644 --- a/validator.html +++ b/validator.html @@ -1 +1 @@ -

XION Staking

\ No newline at end of file +

XION Staking

\ No newline at end of file diff --git a/validator.txt b/validator.txt index f4beeb2..cb169e5 100644 --- a/validator.txt +++ b/validator.txt @@ -1,7 +1,7 @@ -2:I[53120,["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","45","static/chunks/45-30742cd74ed5857f.js","792","static/chunks/792-afecb2b0239972a4.js","658","static/chunks/658-97c6d300f2bd62c8.js","276","static/chunks/app/validator/page-82b2b46325e4e89a.js"],""] +2:I[53120,["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","45","static/chunks/45-30742cd74ed5857f.js","792","static/chunks/792-afecb2b0239972a4.js","658","static/chunks/658-4ee218e5418a021f.js","276","static/chunks/app/validator/page-e7d837fa546ccda7.js"],""] 3:I[5613,[],""] 4:I[31778,[],""] -5:I[75354,["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","45","static/chunks/45-30742cd74ed5857f.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-97c6d300f2bd62c8.js","185","static/chunks/app/layout-a4e628a73d545602.js"],""] -0:["vGc2vhuVpRq-03yGVtZef",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L5",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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/bc2f410f8074df3b.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +5:I[75354,["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","45","static/chunks/45-30742cd74ed5857f.js","123","static/chunks/123-a02f34c6889ca88d.js","658","static/chunks/658-4ee218e5418a021f.js","185","static/chunks/app/layout-7984ceab67c49833.js"],""] +0:["vxLs_k00C1Bh1fx33VyXe",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L5",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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/bc2f410f8074df3b.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null