From 98ba0e26f98ddc20019566e8997f686ca60079fe Mon Sep 17 00:00:00 2001 From: icfor Date: Fri, 1 Mar 2024 05:15:04 +0000 Subject: [PATCH] deploy: 94ed48c76c3605c811ac2f4fd36407aeaf8ab035 --- 404.html | 2 +- _next/static/chunks/658-b64396c747d560d1.js | 1 - _next/static/chunks/658-be3b0371f3ae62bb.js | 1 + ...ayout-98d806ca19840535.js => layout-1683db28beda5f70.js} | 0 _next/static/chunks/app/page-1a412f0608e84bbf.js | 1 + _next/static/chunks/app/page-9d033c4a4ef1bb02.js | 1 - _next/static/chunks/app/validator/page-6c64e0ef18b555b4.js | 1 - _next/static/chunks/app/validator/page-b533129e818cd4b7.js | 1 + .../_buildManifest.js | 0 .../_ssgManifest.js | 0 index.html | 2 +- index.txt | 6 +++--- validator.html | 2 +- validator.txt | 6 +++--- 14 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 _next/static/chunks/658-b64396c747d560d1.js create mode 100644 _next/static/chunks/658-be3b0371f3ae62bb.js rename _next/static/chunks/app/{layout-98d806ca19840535.js => layout-1683db28beda5f70.js} (100%) create mode 100644 _next/static/chunks/app/page-1a412f0608e84bbf.js delete mode 100644 _next/static/chunks/app/page-9d033c4a4ef1bb02.js delete mode 100644 _next/static/chunks/app/validator/page-6c64e0ef18b555b4.js create mode 100644 _next/static/chunks/app/validator/page-b533129e818cd4b7.js rename _next/static/{lWrRgfiD5oswQMo2SD6Hg => f6STQxA0oT7aKwIzZ3kF3}/_buildManifest.js (100%) rename _next/static/{lWrRgfiD5oswQMo2SD6Hg => f6STQxA0oT7aKwIzZ3kF3}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 85dd340..dd93cf9 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-b64396c747d560d1.js b/_next/static/chunks/658-b64396c747d560d1.js deleted file mode 100644 index cbeb8f4..0000000 --- a/_next/static/chunks/658-b64396c747d560d1.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(){},94108:function(t,e,n){"use strict";n.d(e,{sT:function(){return U},wX:function(){return N},qp:function(){return B},d7:function(){return C},_5:function(){return K},xu:function(){return k}});var a=n(58015),o=n(22840),i=n(53856),r=n(62884),s=n(18722),l=n(43890),d=n(9016);let u=async()=>{let t=await l.Tendermint34Client.connect(d.Od);return a.QueryClient.withExtensions(t,a.setupStakingExtension,a.setupDistributionExtension,a.setupIbcExtension)},c=async()=>{let t=localStorage.getItem("xion-authz-temp-account");if(!t)return;let e=await s.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(d.Od,e),granteeAddress:n}};var g=n(66803),m=n(97481);let v=async(t,e)=>{let{client:n,granteeAddress:a}=await c()||{};if(!n||!a)return null;let o=[{typeUrl:"/cosmos.authz.v1beta1.MsgExec",value:m.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))},p=async t=>{let{address:e,amount:n=[{amount:"1000",denom:"uxion"}],gasLimit:a="400000",memo:o="",msgs:i}=t;return{amount:n,gas:await v(i,o)||a,granter:e}},f=async()=>{let t=await u();return await t.staking.validators("BOND_STATUS_BONDED")},w=null,y=async t=>{if((null==w?void 0:w[0])===t)return w[1];let e=(await u()).staking.validator(t).then(t=>(w=null,t.validator));return w=[t,e],e},h=async t=>{let e=await a.StargateClient.connect(d.Od);return await e.getBalance(t,"uxion")},A=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},D=t=>{throw console.error(t),t},b=async t=>{let e=await u();return await e.staking.delegatorDelegations(t)},x=async t=>{let e=await u();return await e.staking.delegatorUnbondingDelegations(t)},S=async(t,e)=>{let n=await u(),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,g.bI)(t))},T=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgDelegate",value:r.MsgDelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await p({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(A("delegate")).catch(D)},I=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgUndelegate",value:r.MsgUndelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await p({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(A("unbond")).catch(D)},E=async(t,e)=>{let n=[{typeUrl:"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",value:i.MsgWithdrawDelegatorReward.fromPartial({delegatorAddress:t.delegator,validatorAddress:t.validator})}],a=await p({address:t.delegator,msgs:n});return await e.signAndBroadcast(t.delegator,n,a).then(A("withdraw_rewards")).catch(D)},O=async(t,e)=>{let n={typeUrl:"/cosmos.staking.v1beta1.MsgBeginRedelegate",value:r.MsgBeginRedelegate.fromPartial({delegatorAddress:t})},a=await p({address:t,msgs:[n]});return await e.signAndBroadcast(t,[n],a)};var _=n(62986);let N=async(t,e)=>{try{var n,a,o,i,r,s;e.dispatch((0,_.Kv)(!0));let[l,d,u,c]=await Promise.all([h(t),f(),b(t).then(async e=>({items:await Promise.all(e.delegationResponses.map(async e=>({balance:e.balance,rewards:await S(t,e.delegation.validatorAddress).then(t=>(0,g.HJ)(t)),validatorAddress:e.delegation.validatorAddress}))),pagination:e.pagination})),x(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,_.d0)(l)),e.dispatch((0,_.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,_.Qx)({items:u.items,nextKey:(null===(o=u.pagination)||void 0===o?void 0:o.nextKey)||null,total:(null===(i=u.pagination)||void 0===i?void 0:i.total)||null},!0)),e.dispatch((0,_.Kg)({items:c.items,nextKey:(null===(r=c.pagination)||void 0===r?void 0:r.nextKey)||null,total:(null===(s=c.pagination)||void 0===s?void 0:s.total)||null},!0)),e.dispatch((0,_.Kv)(!1))}catch(t){console.error("error fetching staking data:",t)}},K=async(t,e,n)=>{await T(t,e,{amount:"1000",denom:"uxion"}),await N(t.delegator,n)},k=async(t,e,n)=>{await I(t,e,{amount:"1000",denom:"uxion"}),await N(t.delegator,n)},U=async(t,e,n)=>{await E(t,e),await N(t.delegator,n)},C=async(t,e,n)=>{await O(t,e),await N(t,n)},B=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 y(t);return e.dispatch((0,_.gT)(a)),a}},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),i=n(94108),r=n(544);let s=()=>{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)(),s=null==n?void 0:n.bech32Address;return{account:n,address:s,isConnected:i,staking:t.current}},l=()=>{let{address:t,isConnected:e,staking:n}=s();(0,o.useEffect)(()=>{e&&t&&(0,i.wX)(t,n)},[e,t,n])}},62986:function(t,e,n){"use strict";n.d(e,{I6:function(){return g},Kg:function(){return s},Kv:function(){return o},Qx:function(){return r},T2:function(){return i},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"}),i=(t,e)=>({content:t,reset:e,type:"ADD_VALIDATORS"}),r=(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"}),d=t=>{let e=new Set;return t.filter(t=>!e.has(t.operatorAddress)&&(e.add(t.operatorAddress),!0))},u=t=>{let e=new Set;return t.filter(t=>!e.has(t.validatorAddress)&&(e.add(t.validatorAddress),!0))},c=t=>{let e=new Set;return t.filter(t=>{let n=t.id;return!e.has(n)&&(e.add(n),!0)})},g=(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=u(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=c(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};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,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,{Em:function(){return i},HJ:function(){return s},bI: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=t=>{let e=o(t),n=new a.Z(e.amount);return"".concat(n.toFormat()," ").concat(e.denom)},r=()=>({amount:"0",denom:"xion"}),s=t=>t.reduce((t,e)=>({amount:(parseFloat(t.amount)+parseFloat(o(e).amount)).toString(),denom:e.denom}),r())},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/658-be3b0371f3ae62bb.js b/_next/static/chunks/658-be3b0371f3ae62bb.js new file mode 100644 index 0000000..3f09ce9 --- /dev/null +++ b/_next/static/chunks/658-be3b0371f3ae62bb.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(){},94108:function(t,e,n){"use strict";n.d(e,{sT:function(){return B},wX:function(){return U},qp:function(){return M},d7:function(){return R},_5:function(){return L},xu:function(){return C}});var a=n(58015),o=n(22840),i=n(53856),r=n(62884),s=n(18722),l=n(43890),d=n(9016);let u=async()=>{let t=await l.Tendermint34Client.connect(d.Od);return a.QueryClient.withExtensions(t,a.setupStakingExtension,a.setupDistributionExtension,a.setupIbcExtension)},c=async()=>{let t=localStorage.getItem("xion-authz-temp-account");if(!t)return;let e=await s.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(d.Od,e),granteeAddress:n}};var g=n(66803),m=n(97481);let v=async(t,e)=>{let{client:n,granteeAddress:a}=await c()||{};if(!n||!a)return null;let o=[{typeUrl:"/cosmos.authz.v1beta1.MsgExec",value:m.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))},p=async t=>{let{address:e,amount:n=[{amount:"1000",denom:"uxion"}],gasLimit:a="400000",memo:o="",msgs:i}=t;return{amount:n,gas:await v(i,o)||a,granter:e}},f=null,w=async()=>f||(f=(await u()).staking.validators("BOND_STATUS_BONDED").then(t=>(f=null,t))),y=null,h=async t=>{if((null==y?void 0:y[0])===t)return y[1];let e=(await u()).staking.validator(t).then(t=>(y=null,t.validator));return y=[t,e],e},A=null,D=async()=>A||(A=(await u()).staking.pool().then(t=>(A=null,t.pool))),S=async t=>{let e=await a.StargateClient.connect(d.Od);return await e.getBalance(t,"uxion")},b=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},x=t=>{throw console.error(t),t},T=async t=>{let e=await u();return await e.staking.delegatorDelegations(t)},O=async t=>{let e=await u();return await e.staking.delegatorUnbondingDelegations(t)},I=async(t,e)=>{let n=await u(),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,g.bI)(t))},E=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgDelegate",value:r.MsgDelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await p({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(b("delegate")).catch(x)},_=async(t,e,n)=>{let a={typeUrl:"/cosmos.staking.v1beta1.MsgUndelegate",value:r.MsgUndelegate.fromPartial({amount:n,delegatorAddress:t.delegator,validatorAddress:t.validator})},o=await p({address:t.delegator,msgs:[a]});return await e.signAndBroadcast(t.delegator,[a],o).then(b("unbond")).catch(x)},N=async(t,e)=>{let n=[{typeUrl:"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",value:i.MsgWithdrawDelegatorReward.fromPartial({delegatorAddress:t.delegator,validatorAddress:t.validator})}],a=await p({address:t.delegator,msgs:n});return await e.signAndBroadcast(t.delegator,n,a).then(b("withdraw_rewards")).catch(x)},K=async(t,e)=>{let n={typeUrl:"/cosmos.staking.v1beta1.MsgBeginRedelegate",value:r.MsgBeginRedelegate.fromPartial({delegatorAddress:t})},a=await p({address:t,msgs:[n]});return await e.signAndBroadcast(t,[n],a)};var k=n(62986);let U=async(t,e)=>{try{var n,a,o,i,r,s;e.dispatch((0,k.Kv)(!0));let[l,d,u,c,m]=await Promise.all([S(t),w(),D(),T(t).then(async e=>({items:await Promise.all(e.delegationResponses.map(async e=>({balance:e.balance,rewards:await I(t,e.delegation.validatorAddress).then(t=>(0,g.HJ)(t)),validatorAddress:e.delegation.validatorAddress}))),pagination:e.pagination})),O(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)(l)),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:c.items,nextKey:(null===(o=c.pagination)||void 0===o?void 0:o.nextKey)||null,total:(null===(i=c.pagination)||void 0===i?void 0:i.total)||null},!0)),e.dispatch((0,k.Kg)({items:m.items,nextKey:(null===(r=m.pagination)||void 0===r?void 0:r.nextKey)||null,total:(null===(s=m.pagination)||void 0===s?void 0:s.total)||null},!0)),e.dispatch((0,k.DD)(u)),e.dispatch((0,k.Kv)(!1))}catch(t){console.error("error fetching staking data:",t)}},L=async(t,e,n)=>{await E(t,e,{amount:"1000",denom:"uxion"}),await U(t.delegator,n)},C=async(t,e,n)=>{await _(t,e,{amount:"1000",denom:"uxion"}),await U(t.delegator,n)},B=async(t,e,n)=>{await N(t,e),await U(t.delegator,n)},R=async(t,e,n)=>{await K(t,e),await U(t,n)},M=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 h(t);return e.dispatch((0,k.gT)(a)),a}},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),i=n(94108),r=n(544);let s=()=>{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)(),s=null==n?void 0:n.bech32Address;return{account:n,address:s,isConnected:i,staking:t.current}},l=()=>{let{address:t,isConnected:e,staking:n}=s();(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 s},Kv:function(){return o},Qx:function(){return r},T2:function(){return i},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"}),i=(t,e)=>({content:t,reset:e,type:"ADD_VALIDATORS"}),r=(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"}),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,{Em:function(){return i},HJ:function(){return s},bI: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=t=>{let e=o(t),n=new a.Z(e.amount);return"".concat(n.toFormat()," ").concat(e.denom)},r=()=>({amount:"0",denom:"xion"}),s=t=>t.reduce((t,e)=>({amount:(parseFloat(t.amount)+parseFloat(o(e).amount)).toString(),denom:e.denom}),r())},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-98d806ca19840535.js b/_next/static/chunks/app/layout-1683db28beda5f70.js similarity index 100% rename from _next/static/chunks/app/layout-98d806ca19840535.js rename to _next/static/chunks/app/layout-1683db28beda5f70.js diff --git a/_next/static/chunks/app/page-1a412f0608e84bbf.js b/_next/static/chunks/app/page-1a412f0608e84bbf.js new file mode 100644 index 0000000..baa8c0d --- /dev/null +++ b/_next/static/chunks/app/page-1a412f0608e84bbf.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{67617:function(e,r,i){Promise.resolve().then(i.bind(i,30014))},30014:function(e,r,i){"use strict";i.r(r),i.d(r,{default:function(){return f}});var s=i(3827),d=i(52674),t=i(59115),l=i(8792),n=i(64090),a=i(86123),c=i(94108),o=i(80469),u=i(66803),h=i(9016),v=i(61947),x=i(18722),m=()=>{let[e,r]=(0,n.useState)(null);return((0,n.useEffect)(()=>{(async()=>{var e;let i=localStorage.getItem("xion-authz-temp-account");if(!i)return;let s=await x.DirectSecp256k1HdWallet.deserialize(i,"abstraxion"),d=await s.getAccounts(),t=null==d?void 0:null===(e=d[0])||void 0===e?void 0:e.address;t&&r(t)})()},[]),e)?(0,s.jsx)(l.default,{href:"https://explorer.burnt.com/".concat(h.Bv,"/account/").concat(e),target:"_blank",children:(0,s.jsx)(t.z,{onClick:()=>{},children:"DEBUG ACCOUNT"})}):null};let j=e=>{let{disabled:r,onStake:i,validator:d}=e,{website:a}=d.description,[c,o]=(0,n.useState)(null),{identity:u}=d.description;return(0,n.useEffect)(()=>{(async()=>{u&&o(await v.x.getIdentityLogo(u))})()},[u]),(0,s.jsxs)("div",{style:{border:"solid 1px white",marginBottom:10},children:[c&&(0,s.jsx)("div",{children:(0,s.jsx)("img",{alt:"Validator logo",src:c,style:{height:50,width:50}})}),(0,s.jsxs)(l.default,{href:"/validator?address=".concat(d.operatorAddress),children:[(0,s.jsx)("div",{children:(0,s.jsx)("b",{children:d.description.moniker})}),(0,s.jsx)("div",{children:d.operatorAddress})]}),(0,s.jsx)("div",{children:(0,s.jsx)(t.z,{disabled:r,onClick:i,structure:"naked",children:"Stake here"})}),a&&(0,s.jsx)("div",{children:(0,s.jsx)(l.default,{href:a,target:"_blank",children:a})})]})};var f=(0,n.memo)(function(){let{account:e,staking:r}=(0,o.n)(),[i,v]=(0,n.useState)(!1),{delegations:x,isInfoLoading:f,tokens:p,unbondings:g,validators:b}=r.state,{client:k}=(0,d.Hj)(),[,A]=(0,d.dd)(),y=(0,n.useMemo)(()=>(null==b?void 0:b.items.reduce((e,r)=>(e[r.operatorAddress]=r,e),{}))||{},[b]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{children:"Account"}),(0,s.jsx)("div",{children:(0,s.jsx)("b",{children:e.bech32Address})}),(0,s.jsx)("div",{children:(0,s.jsx)(t.z,{onClick:()=>{A(!0)},children:"Open Settings"})}),p&&(0,s.jsxs)("div",{children:["Tokens: ",(0,s.jsx)("b",{children:(0,u.Em)(p)})]})]}),f&&(0,s.jsx)("div",{children:"Loading ..."}),!!(null==x?void 0:x.items.length)&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:"Delegations:"}),x.items.map(d=>{let l=y[d.validatorAddress],n=null==l?void 0:l.description.moniker;return(0,s.jsxs)("div",{style:{border:"1px solid #fff",marginBottom:20},children:[(0,s.jsxs)("div",{children:["Delegated: ",(0,u.Em)(d.balance)]}),d.rewards&&(0,s.jsxs)("div",{children:["Rewards: ",(0,u.Em)(d.rewards)]}),(0,s.jsxs)("div",{children:["Validator: ",n||d.validatorAddress]}),(0,s.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,s.jsx)(t.z,{disabled:i,onClick:()=>{if(!k||!l)return;v(!0);let i={delegator:e.bech32Address,validator:l.operatorAddress};(0,c.xu)(i,k,r).then(()=>{(0,a.Am)("Unstake successful",{type:"success"})}).catch(()=>{(0,a.Am)("Unstake error",{type:"error"})}).finally(()=>{v(!1)})},children:"Undelegate"}),d.rewards&&(0,s.jsx)(t.z,{disabled:i||"0"===d.rewards.amount,onClick:()=>{if(!k)return;v(!0);let i={delegator:e.bech32Address,validator:d.validatorAddress};(0,c.sT)(i,k,r).then(()=>{(0,a.Am)("Claim success",{type:"success"})}).catch(()=>{(0,a.Am)("Claim error",{type:"error"})}).finally(()=>{v(!1)})},children:"Claim rewards"}),(0,s.jsx)(t.z,{disabled:i,onClick:()=>{k&&(v(!0),(0,c.d7)(e.bech32Address,k,r).finally(()=>{v(!1)}))},children:"Redelelegate"})]})]},d.validatorAddress)})]}),!!(null==g?void 0:g.items.length)&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:"Unbondings:"}),(0,s.jsx)("div",{children:null==g?void 0:g.items.map(e=>{let r=y[e.validator];return(0,s.jsxs)("div",{style:{border:"1px solid #fff"},children:[(0,s.jsxs)("div",{children:["Unbonding tokens: ",(0,u.Em)(e.balance)]}),(0,s.jsxs)("div",{children:["Completed by:"," ",new Date(e.completionTime).toString()]}),(0,s.jsxs)("div",{children:["Validator:"," ",(null==r?void 0:r.description.moniker)||e.validator]})]},"".concat(e.completionTime,"-").concat(e.completionTimeNanos))})})]}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,s.jsx)(l.default,{href:"https://explorer.burnt.com/".concat(h.Bv,"/account/").concat(e.bech32Address),target:"_blank",children:(0,s.jsx)(t.z,{onClick:()=>{},children:"VIEW ACCOUNT"})}),(0,s.jsx)(m,{})]}),!!(null==b?void 0:b.items.length)&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:"Validators:"}),(0,s.jsx)("div",{className:"max-h-[200px] max-w-max overflow-auto",children:b.items.map(d=>(0,s.jsx)(j,{disabled:i,onStake:()=>{if(!k)return;v(!0);let i={delegator:e.bech32Address,validator:d.operatorAddress};(0,c._5)(i,k,r).then(()=>{(0,a.Am)("Staking successful",{type:"success"})}).catch(()=>{(0,a.Am)("Staking error",{type:"error"})}).finally(()=>{v(!1)})},validator:d},d.operatorAddress))})]})]})})},61947:function(e,r,i){"use strict";i.d(r,{x:function(){return d}});let s={},d={getIdentityLogo:e=>{if(s[e])return s[e];let r=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(e)).then(e=>e.json()).then(e=>{var r,i,s,d;return(null==e?void 0:null===(d=e.them)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:null===(i=s.pictures)||void 0===i?void 0:null===(r=i.primary)||void 0===r?void 0:r.url)||null}).catch(()=>null);return s[e]=r,r}}}},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-9d033c4a4ef1bb02.js b/_next/static/chunks/app/page-9d033c4a4ef1bb02.js deleted file mode 100644 index 1d99fa8..0000000 --- a/_next/static/chunks/app/page-9d033c4a4ef1bb02.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{67617:function(e,r,s){Promise.resolve().then(s.bind(s,30014))},30014:function(e,r,s){"use strict";s.r(r),s.d(r,{default:function(){return j}});var d=s(3827),i=s(52674),l=s(59115),t=s(8792),n=s(64090),a=s(86123),c=s(94108),o=s(80469),h=s(66803),u=s(9016),x=s(18722),v=()=>{let[e,r]=(0,n.useState)(null);return((0,n.useEffect)(()=>{(async()=>{var e;let s=localStorage.getItem("xion-authz-temp-account");if(!s)return;let d=await x.DirectSecp256k1HdWallet.deserialize(s,"abstraxion"),i=await d.getAccounts(),l=null==i?void 0:null===(e=i[0])||void 0===e?void 0:e.address;l&&r(l)})()},[]),e)?(0,d.jsx)(t.default,{href:"https://explorer.burnt.com/".concat(u.Bv,"/account/").concat(e),target:"_blank",children:(0,d.jsx)(l.z,{onClick:()=>{},children:"DEBUG ACCOUNT"})}):null};let m=e=>{let{disabled:r,onStake:s,validator:i}=e,{website:n}=i.description;return(0,d.jsxs)("div",{style:{border:"solid 1ps white",marginBottom:10},children:[(0,d.jsxs)(t.default,{href:"/validator?address=".concat(i.operatorAddress),children:[(0,d.jsx)("div",{children:(0,d.jsx)("b",{children:i.description.moniker})}),(0,d.jsx)("div",{children:i.operatorAddress})]}),(0,d.jsx)("div",{children:(0,d.jsx)(l.z,{disabled:r,onClick:s,structure:"naked",children:"Stake here"})}),n&&(0,d.jsx)("div",{children:(0,d.jsx)(t.default,{href:n,target:"_blank",children:n})})]})};var j=(0,n.memo)(function(){let{account:e,staking:r}=(0,o.n)(),[s,x]=(0,n.useState)(!1),{delegations:j,isInfoLoading:f,tokens:p,unbondings:b,validators:g}=r.state,{client:k}=(0,i.Hj)(),[,A]=(0,i.dd)(),C=(0,n.useMemo)(()=>(null==g?void 0:g.items.reduce((e,r)=>(e[r.operatorAddress]=r,e),{}))||{},[g]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("div",{children:"Account"}),(0,d.jsx)("div",{children:(0,d.jsx)("b",{children:e.bech32Address})}),(0,d.jsx)("div",{children:(0,d.jsx)(l.z,{onClick:()=>{A(!0)},children:"Open Settings"})}),p&&(0,d.jsxs)("div",{children:["Tokens: ",(0,d.jsx)("b",{children:(0,h.Em)(p)})]})]}),f&&(0,d.jsx)("div",{children:"Loading ..."}),!!(null==j?void 0:j.items.length)&&(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:"Delegations:"}),j.items.map(i=>{let t=C[i.validatorAddress],n=null==t?void 0:t.description.moniker;return(0,d.jsxs)("div",{style:{border:"1px solid #fff",marginBottom:20},children:[(0,d.jsxs)("div",{children:["Delegated: ",(0,h.Em)(i.balance)]}),i.rewards&&(0,d.jsxs)("div",{children:["Rewards: ",(0,h.Em)(i.rewards)]}),(0,d.jsxs)("div",{children:["Validator: ",n||i.validatorAddress]}),(0,d.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,d.jsx)(l.z,{disabled:s,onClick:()=>{if(!k||!t)return;x(!0);let s={delegator:e.bech32Address,validator:t.operatorAddress};(0,c.xu)(s,k,r).then(()=>{(0,a.Am)("Unstake successful",{type:"success"})}).catch(()=>{(0,a.Am)("Unstake error",{type:"error"})}).finally(()=>{x(!1)})},children:"Undelegate"}),i.rewards&&(0,d.jsx)(l.z,{disabled:s||"0"===i.rewards.amount,onClick:()=>{if(!k)return;x(!0);let s={delegator:e.bech32Address,validator:i.validatorAddress};(0,c.sT)(s,k,r).then(()=>{(0,a.Am)("Claim success",{type:"success"})}).catch(()=>{(0,a.Am)("Claim error",{type:"error"})}).finally(()=>{x(!1)})},children:"Claim rewards"}),(0,d.jsx)(l.z,{disabled:s,onClick:()=>{k&&(x(!0),(0,c.d7)(e.bech32Address,k,r).finally(()=>{x(!1)}))},children:"Redelelegate"})]})]},i.validatorAddress)})]}),!!(null==b?void 0:b.items.length)&&(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:"Unbondings:"}),(0,d.jsx)("div",{children:null==b?void 0:b.items.map(e=>{let r=C[e.validator];return(0,d.jsxs)("div",{style:{border:"1px solid #fff"},children:[(0,d.jsxs)("div",{children:["Unbonding tokens: ",(0,h.Em)(e.balance)]}),(0,d.jsxs)("div",{children:["Completed by:"," ",new Date(e.completionTime).toString()]}),(0,d.jsxs)("div",{children:["Validator:"," ",(null==r?void 0:r.description.moniker)||e.validator]})]},"".concat(e.completionTime,"-").concat(e.completionTimeNanos))})})]}),(0,d.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,d.jsx)(t.default,{href:"https://explorer.burnt.com/".concat(u.Bv,"/account/").concat(e.bech32Address),target:"_blank",children:(0,d.jsx)(l.z,{onClick:()=>{},children:"VIEW ACCOUNT"})}),(0,d.jsx)(v,{})]}),!!(null==g?void 0:g.items.length)&&(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:"Validators:"}),(0,d.jsx)("div",{className:"max-h-[200px] max-w-max overflow-auto",children:g.items.map(i=>(0,d.jsx)(m,{disabled:s,onStake:()=>{if(!k)return;x(!0);let s={delegator:e.bech32Address,validator:i.operatorAddress};(0,c._5)(s,k,r).then(()=>{(0,a.Am)("Staking successful",{type:"success"})}).catch(()=>{(0,a.Am)("Staking error",{type:"error"})}).finally(()=>{x(!1)})},validator:i},i.operatorAddress))})]})]})})}},function(e){e.O(0,[350,218,147,228,933,45,123,792,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-6c64e0ef18b555b4.js b/_next/static/chunks/app/validator/page-6c64e0ef18b555b4.js deleted file mode 100644 index a0e2aec..0000000 --- a/_next/static/chunks/app/validator/page-6c64e0ef18b555b4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{90858:function(i,e,n){Promise.resolve().then(n.bind(n,53120))},53120:function(i,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var s=n(3827),t=n(20534),d=n(15313),r=n(64090),c=n(94108),u=n(80469);function a(){let i=(0,d.useSearchParams)().get("address"),e=(0,u.n)(),[n,a]=(0,r.useState)(null);return((0,r.useEffect)(()=>{(async()=>{i&&a(await (0,c.qp)(i,e.staking))})()},[i,e]),n)?(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:i}),(0,s.jsx)("div",{children:n.description.moniker}),(0,s.jsx)("div",{children:n.description.details}),(0,s.jsx)("div",{children:n.description.identity}),(0,s.jsx)("div",{children:n.description.securityContact}),(0,s.jsx)("div",{children:n.description.website}),(0,s.jsxs)("div",{children:["Jailed: ",n.jailed.toString()]}),(0,s.jsxs)("div",{children:["Status:"," ",n.status===t.BondStatus.BOND_STATUS_BONDED?"Bonded":n.status]})]}):(0,s.jsx)("div",{children:"Loading ..."})}}},function(i){i.O(0,[350,218,147,228,933,45,658,971,69,744],function(){return i(i.s=90858)}),_N_E=i.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/validator/page-b533129e818cd4b7.js b/_next/static/chunks/app/validator/page-b533129e818cd4b7.js new file mode 100644 index 0000000..1ae168f --- /dev/null +++ b/_next/static/chunks/app/validator/page-b533129e818cd4b7.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{90858:function(i,e,t){Promise.resolve().then(t.bind(t,53120))},53120:function(i,e,t){"use strict";t.r(e),t.d(e,{default:function(){return v}});var n=t(3827),s=t(22840),d=t(20534),o=t(8792),r=t(15313),l=t(64090),u=t(94108),c=t(80469),a=t(61947);function v(){let i=(0,r.useSearchParams)().get("address"),e=(0,c.n)(),{pool:t}=e.staking.state,[v,h]=(0,l.useState)(null),[f,x]=(0,l.useState)(null);if((0,l.useEffect)(()=>{(async()=>{if(i){var t;let n=await (0,u.qp)(i,e.staking);x(n),(null==n?void 0:null===(t=n.description)||void 0===t?void 0:t.identity)&&h(await a.x.getIdentityLogo(n.description.identity))}})()},[i,e]),!f)return(0,n.jsx)("div",{children:"Loading ..."});let j=(()=>{let i=f.tokens;if(!i||"string"!=typeof(null==t?void 0:t.bondedTokens))return null;let e=new s.Z(i).div(new s.Z(t.bondedTokens)).toNumber(),n=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(n,"%")})();return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{children:i}),v&&(0,n.jsx)("div",{children:(0,n.jsx)("img",{alt:"Validator logo",src:v})}),(0,n.jsx)("div",{children:f.description.moniker}),(0,n.jsx)("div",{children:f.description.details}),(0,n.jsx)("div",{children:f.description.identity}),(0,n.jsx)("div",{children:f.description.securityContact}),(0,n.jsx)("div",{children:f.description.website}),(0,n.jsxs)("div",{children:["Commission:"," ",(i=>{let e=new s.Z(i).div(new s.Z(10).pow(18)).toNumber();return"".concat((100*e).toFixed(0),"%")})(f.commission.commissionRates.rate)]}),(0,n.jsxs)("div",{children:["Jailed: ",f.jailed.toString()]}),(0,n.jsxs)("div",{children:["Status:"," ",f.status===d.BondStatus.BOND_STATUS_BONDED?"Bonded":f.status]}),j&&(0,n.jsxs)("div",{children:["Voting Power: ",j]}),(0,n.jsx)(o.default,{href:"/",children:"Back"})]})}},61947:function(i,e,t){"use strict";t.d(e,{x:function(){return s}});let n={},s={getIdentityLogo:i=>{if(n[i])return n[i];let e=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(i)).then(i=>i.json()).then(i=>{var e,t,n,s;return(null==i?void 0:null===(s=i.them)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:null===(t=n.pictures)||void 0===t?void 0:null===(e=t.primary)||void 0===e?void 0:e.url)||null}).catch(()=>null);return n[i]=e,e}}}},function(i){i.O(0,[350,218,147,228,933,45,792,658,971,69,744],function(){return i(i.s=90858)}),_N_E=i.O()}]); \ No newline at end of file diff --git a/_next/static/lWrRgfiD5oswQMo2SD6Hg/_buildManifest.js b/_next/static/f6STQxA0oT7aKwIzZ3kF3/_buildManifest.js similarity index 100% rename from _next/static/lWrRgfiD5oswQMo2SD6Hg/_buildManifest.js rename to _next/static/f6STQxA0oT7aKwIzZ3kF3/_buildManifest.js diff --git a/_next/static/lWrRgfiD5oswQMo2SD6Hg/_ssgManifest.js b/_next/static/f6STQxA0oT7aKwIzZ3kF3/_ssgManifest.js similarity index 100% rename from _next/static/lWrRgfiD5oswQMo2SD6Hg/_ssgManifest.js rename to _next/static/f6STQxA0oT7aKwIzZ3kF3/_ssgManifest.js diff --git a/index.html b/index.html index ef2da75..e1a1ec1 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 5009df0..e26520a 100644 --- a/index.txt +++ b/index.txt @@ -1,7 +1,7 @@ -2:I[30014,["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","792","static/chunks/792-afecb2b0239972a4.js","658","static/chunks/658-b64396c747d560d1.js","931","static/chunks/app/page-9d033c4a4ef1bb02.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-b64396c747d560d1.js","185","static/chunks/app/layout-98d806ca19840535.js"],""] +2:I[30014,["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-be3b0371f3ae62bb.js","931","static/chunks/app/page-1a412f0608e84bbf.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-be3b0371f3ae62bb.js","185","static/chunks/app/layout-1683db28beda5f70.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -0:["lWrRgfiD5oswQMo2SD6Hg",[[["",{"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/072fce330c72c32a.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +0:["f6STQxA0oT7aKwIzZ3kF3",[[["",{"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/072fce330c72c32a.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 d7ae3b1..1878f4a 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 76f4cff..a469c0f 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","658","static/chunks/658-b64396c747d560d1.js","276","static/chunks/app/validator/page-6c64e0ef18b555b4.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-be3b0371f3ae62bb.js","276","static/chunks/app/validator/page-b533129e818cd4b7.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-b64396c747d560d1.js","185","static/chunks/app/layout-98d806ca19840535.js"],""] -0:["lWrRgfiD5oswQMo2SD6Hg",[[["",{"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/072fce330c72c32a.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-be3b0371f3ae62bb.js","185","static/chunks/app/layout-1683db28beda5f70.js"],""] +0:["f6STQxA0oT7aKwIzZ3kF3",[[["",{"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/072fce330c72c32a.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