1import{c as xe,a as d,s as o,f as m,t as Wa}from"../chunks/D9sGZGkf.js";import{p as ae,b as Na,w as we,n as Se,f as na,a as ee,g as a,d as ua,v as x,s as t,c as s,r as e,t as T,o as y}from"../chunks/CN4tyA6q.js";import{i as N}from"../chunks/C5sdDPiI.js";import{M as ja,K as ke,e as se,S as Ae,b as Ne,s as Ya}from"../chunks/8mUhvwNQ.js";import{s as Va}from"../chunks/DyJcqSGM.js";import{C as Qa,D as Ea,E as Ce,d as z,o as la,F as Ee,t as Xa,b as Ie,G as Le,f as L,i as Te,g as Za,m as Ca}from"../chunks/BEQGXt1Q.js";import{S as $e}from"../chunks/2Hd2hf89.js";const Me=!1,ds=Object.freeze(Object.defineProperty({__proto__:null,ssr:Me},Symbol.toStringTag,{value:"Module"}));var Pe=m(`<p class="verdict gone svelte-bn58pl"><b class="svelte-bn58pl">The owner key is destroyed.</b> No code update can be proposed for this 2 contract by anyone, including its author. The rules are final.</p>`),He=m(`<p class="verdict live svelte-bn58pl">The owner key still exists, and will be destroyed at block <b class="mono svelte-bn58pl"> </b> â <b class="mono svelte-bn58pl"> </b> days from now.</p> <p class="dim small svelte-bn58pl">Until then it can do exactly one thing: propose a code update. It cannot 3 move anyone's tokens. Every proposal is visible here for 48 hours before 4 it can take effect, and can be cancelled inside that window.</p>`,1),Oe=m(`<p class="unknown svelte-bn58pl">Could not reach the node â status unknown. This is not 5 the same as "none pending".</p>`),Ge=m('<p class="dim">checkingâ¦</p>'),De=m('<p class="clean svelte-bn58pl"><b class="svelte-bn58pl">None.</b><!></p>'),Fe=m('<dl class="update svelte-bn58pl"><dt class="svelte-bn58pl">proposed by</dt><dd class="mono svelte-bn58pl"> </dd> <dt class="svelte-bn58pl">new code</dt><dd class="mono break svelte-bn58pl"> </dd> <dt class="svelte-bn58pl">proposed at block</dt><dd class="mono svelte-bn58pl"> </dd> <dt class="svelte-bn58pl">can activate at</dt><dd class="mono svelte-bn58pl"> </dd> <dt class="svelte-bn58pl">which is in</dt> <dd class="mono svelte-bn58pl"> </dd></dl>'),Ue=m(`<!> <small class="dim svelte-bn58pl">The code field is a content hash of the proposed WASM â fetch it and compare 6 it against what is running before it activates.</small>`,1),Be=m('<section class="panel"><h2>Admin keys</h2> <!> <h3 class="svelte-bn58pl">Pending code updates</h3> <!> <small class="dim svelte-bn58pl">contract <span class="mono break svelte-bn58pl"> </span> <!> · verify with <span class="mono">findPendingContractUpdates</span> against <span class="mono break svelte-bn58pl"> </span></small></section>');function qe(Ia,La){ae(La,!0);let r=Na(null),C=Na(null),w=Na(!1),ba=Na(we(Qa(ja)));const O=x(()=>z.info),W=x(()=>a(O)?a(O).genesis_height+ke:0),ea=x(()=>!!a(O)&&a(O).height>=a(W)),Ta=x(()=>a(O)&&!a(ea)?Math.max(0,(a(W)-a(O).height)/28800):0);async function P(){var U,J;const G=`{ findPendingContractUpdates(filterOptions:{byId:${JSON.stringify(Ea)}}){ id code proposer creation_height activation_height } }`;try{const Y=await Ce(JSON.stringify({query:G}),{url:ja});ua(ba,Qa(ja),!0);const B=await Y.json();if(B.errors)throw new Error(((U=B.errors[0])==null?void 0:U.message)??"query failed");ua(r,((J=B.data)==null?void 0:J.findPendingContractUpdates)??[],!0),ua(w,!1)}catch{ua(w,!0)}ua(C,new Date,!0)}Se(()=>{P();const G=setInterval(P,6e4);return()=>clearInterval(G)});var ga=xe(),$a=na(ga);{var Ma=G=>{var U=Be(),J=t(s(U),2);{var Y=n=>{var p=Pe();d(n,p)},B=n=>{var p=He(),D=na(p),$=t(s(D)),S=s($,!0);e($);var F=t($,2),Q=s(F,!0);e(F),y(),e(D),y(2),T((X,q)=>{o(S,X),o(Q,q)},[()=>a(W).toLocaleString(),()=>a(Ta).toFixed(1)]),d(n,p)};N(J,n=>{a(ea)?n(Y):n(B,-1)})}var sa=t(J,4);{var Pa=n=>{var p=Oe();d(n,p)},fa=n=>{var p=Ge();d(n,p)},Ha=n=>{var p=De(),D=t(s(p));{var $=S=>{var F=Wa("And none is now possible.");d(S,F)};N(D,S=>{a(ea)&&S($)})}e(p),d(n,p)},ia=n=>{var p=Ue(),D=na(p);se(D,17,()=>a(r),$=>$.code,($,S)=>{var F=Fe(),Q=t(s(F)),X=s(Q,!0);e(Q);var q=t(Q,3),Ga=s(q,!0);e(q);var pa=t(q,3),wa=s(pa,!0);e(pa);var Z=t(pa,3),Da=s(Z,!0);e(Z);var Sa=t(Z,4),Fa=s(Sa);e(Sa),e(F),T((Ua,ka,_a)=>{o(X,a(S).proposer),o(Ga,a(S).code),o(wa,Ua),o(Da,ka),o(Fa,`${_a??""} hours`)},[()=>
6a(S).creation_height.toLocaleString(),()=>a(S).activation_height.toLocaleString(),()=>Math.max(0,(a(S).activation_height-a(O).height)/1200).toFixed(1)]),d($,F)}),y(2),d(n,p)};N(sa,n=>{a(w)?n(Pa):a(r)===null?n(fa,1):a(r).length===0?n(Ha,2):n(ia,-1)})}var ta=t(sa,2),da=t(s(ta)),ya=s(da,!0);e(da);var xa=t(da,2);{var va=n=>{var p=Wa();T(D=>o(p,`· checked ${D??""}`),[()=>a(C).toLocaleTimeString()]),d(n,p)};N(xa,n=>{a(C)&&n(va)})}var ca=t(xa,4),Oa=s(ca,!0);e(ca),e(ta),e(U),T(()=>{o(ya,Ea),o(Oa,a(ba))}),d(G,U)};N($a,G=>{a(O)&&G(Ma)})}d(Ia,ga),ee()}var Re=m('<dl class="svelte-o98i4a"><dt class="svelte-o98i4a">Did not migrate â burned to @null</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">+ Claimable by holders (claimed or not)</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">= Snapshot supply</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">+ Emission cap â never exceeded, approached asymptotically</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="sub svelte-o98i4a">emitted so far</dt><dd class="mono sub svelte-o98i4a"> </dd> <dt class="sub svelte-o98i4a">still to come, at most</dt><dd class="mono sub svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">= Maximum that will ever exist</dt><dd class="mono gold svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">Historic hardcap</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a"><strong>Unused headroom under the cap</strong></dt> <dd class="mono dim svelte-o98i4a"><strong> </strong></dd></dl>'),je=m(`<div class="bar svelte-o98i4a"><div class="seg migrated svelte-o98i4a"></div> <div class="seg emitted svelte-o98i4a"></div> <div class="seg future svelte-o98i4a"></div></div> <div class="legend svelte-o98i4a"><span><i class="migrated svelte-o98i4a"></i> </span> <span><i class="emitted svelte-o98i4a"></i> </span> <span><i class="future svelte-o98i4a"></i> still to emit</span> <span><i class="head svelte-o98i4a"></i> unused headroom</span></div> <!> <small class="dim"><strong>Did not migrate</strong> is everything the snapshot sent to 7 @null rather than to a holder. It was fixed at genesis and can never 8 change. The <strong>Burned</strong> tile above is a different figure â 9 @null's live balance, which grows with every burn since.</small> <small class="dim">A further <strong>598,784 LASSECASH</strong> was left behind on 10 Hive-Engine entirely: undistributed inflation that never reached a 11 holder. That is what keeps the 51,000,000 cap exact â the full 12 arithmetic is on the About page.</small>`,1),Ve=m('<ul class="split svelte-o98i4a"><li class="svelte-o98i4a"><span class="k svelte-o98i4a">Proof-of-Brain</span> <span class="v mono"> </span> <ul class="svelte-o98i4a"><li class="svelte-o98i4a"><span class="k svelte-o98i4a">Viral â 7 day</span> <span class="v mono"> </span></li> <li class="svelte-o98i4a"><span class="k svelte-o98i4a">Deep â 30 day</span> <span class="v mono"> </span></li></ul></li> <li class="svelte-o98i4a"><span class="k svelte-o98i4a">L-Share yield</span><span class="v mono"> </span></li> <li class="svelte-o98i4a"><span class="k svelte-o98i4a">Liquidity</span><span class="v mono"> </span></li></ul>'),ze=m('<div class="panel"><h2>Unclaimed reward pools</h2> <dl class="svelte-o98i4a"><dt class="svelte-o98i4a">L-Share</dt><dd class="mono gold svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">Viral</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">Deep</dt><dd class="mono svelte-o98i4a"> </dd> <dt class="svelte-o98i4a">Liquidity</dt><dd class="mono svelte-o98i4a"> </dd></dl></div>'),Je=m('<span class="pill info">you</span>'),Ke=m('<li class="svelte-o98i4a"><span class="rank mono svelte-o98i4a"> </span> <span class="who svelte-o98i4a"> </span> <!></li>'),We=m('<ol class="group svelte-o98i4a"></ol>'),Ye=m('<p class="empty">No L-Shares minted yet.</p>'),Qe=m(`<a class="mono svelte-o98i4a" target="_blank" rel="noopener"> </a> <small class="dim">A standard MAGI token, owned by the core. This is the address to use in any wallet, listing or registry â read live from the core's own state, so it cannot be wrong.</small>`,1),Xe=m('<span class="dim">not set on this chain</span>'),Ze=m(`<section class="panel svelte-o98i4a" id="contracts"><h2>The two contracts</h2> <div class="addr svelte-o98i4a"><span class="k svelte-o98i4a">Core â the economy</span> <a class="mono svelte-o98i4a" target="_blank" rel="noopener"> </a> <small class="dim">Mints, pools, Proof-of-Brain, thresholds. Admin key burns 10 October; after that nobody can change it.</small></div> <div class="addr svelte-o98i4a"><span class="k svelte-o98i4a">Token â LASSECASH itself</span> <!></div> <small class="dim">A test deployment's token also carries the symbol LASSECASH in MAGI's public index. Only the address the core reports above is real.</small></section>`),as=m('<section class="panel"><h2>Protocol constants</h2> <div class="consts svelte-o98i4a"><span><b class="mono svelte-o98i4a"> </b> days maximum mint</span> <span><b class="mono svelte-o98i4a"> </b> day grace after maturity</span> <span><b class="mono svelte-o98i4a"> </b> day bleed to zero</span> <span><b class="mono svelte-o98i4a"> </b> day grace with Good Accounting</span> <span><b class="mono svelte-o98i4a"> </b> days to max liquidity loyalty</span> <span><b class="mono svelte-o98i4a"> </b> vote power per full vote</span> <span><b class="mono svelte-o98i4a"> </b> per height</span> <span><b class="mono svelte-o98i4a"> </b> decimals</span></div> <small class="dim">
12Read from the engine â the interface never hardcodes a bound the chain enforces.</small></section>'),es=m(`<!> <div class="grid"><section class="stats svelte-o98i4a"><div class="panel stat"><div class="label">Snapshot supply</div> <div class="value"> </div> <div class="sub"> </div></div> <div class="panel stat"><div class="label">Emitted since genesis</div> <div class="value gold"> </div> <div class="sub"> </div></div> <div class="panel stat"><div class="label">Burned</div> <div class="value"> </div> <div class="sub">held by @null â the migration burn and every burn since, unspendable forever · <a href="/burned">audit it</a></div></div> <div class="panel stat"><div class="label">Product age</div> <div class="value"> </div> <div class="sub">since block 32,322,581 â the LASSE token, 24 Apr 2019 · Steem â Hive â MAGI</div> <div class="sub">on MAGI: <span class="mono"> </span> </div></div></section> <div class="row layout svelte-o98i4a"><section class="panel svelte-o98i4a"><h2>Supply against the hardcap</h2> <!></section> <aside class="side svelte-o98i4a"><div class="panel"><h2>Where each block reward goes</h2> <!></div> <!></aside></div> <!> <section class="panel"><h2>Consensus group â the top 10 L-Share holders</h2> <!> <small class="dim">There are no proposals. Each member keeps a standing preferred value for 13 each of the few values they can tune, and the <strong>median</strong> applies â 14 continuously, with nothing to time or tally. Every parameter carries 15 hardcoded bounds the group cannot leave, so even total capture of all ten 16 seats cannot push a value out of range.</small></section> <!> <!></div>`,1);function vs(Ia,La){ae(La,!0);const r=x(()=>z.info),C=x(()=>z.ready?Ie():null),w=x(()=>z.ready&&a(r)?Le(Xa(a(r).snapshot_total)):null),ba=x(()=>a(r)?Za(Ca(a(r).snapshot_total)-Ca(a(r).snapshot_burned)):"0.00000000"),O=x(()=>a(r)&&a(w)?Za(Ca(a(w).emissionCap)-Ca(a(r).total_emitted)):"0.00000000"),W=x(()=>a(w)?Number(a(w).hardcap):51e6),ea=x(()=>a(w)?Number(a(w).emissionCap):2e7),Ta=x(()=>a(r)?Number(a(r).total_emitted)/a(ea)*100:0),P=x(()=>z.ready?Ee(Xa("100")):null),ga=x(()=>a(r)?(a(r).height-a(r).genesis_height)/(365*28800):0),$a=32322581,Ma=x(()=>a(r)?(a(r).height-$a)/(365*28800):0);var G=es(),U=na(G);{let l=x(()=>`${Ne}/chain`);$e(U,{title:"Chain",description:"Live LASSECASH supply against the 51,000,000 hardcap, the per-block reward split, the consensus group and the protocol constants.",get canonical(){return a(l)},get image(){return Ae}})}var J=t(U,2),Y=s(J),B=s(Y),sa=t(s(B),2),Pa=s(sa,!0);e(sa);var fa=t(sa,2),Ha=s(fa);e(fa),e(B);var ia=t(B,2),ta=t(s(ia),2),da=s(ta,!0);e(ta);var ya=t(ta,2),xa=s(ya);e(ya),e(ia);var va=t(ia,2),ca=t(s(va),2),Oa=s(ca,!0);e(ca),y(2),e(va);var n=t(va,2),p=t(s(n),2),D=s(p);e(p);var $=t(p,4),S=t(s($)),F=s(S);e(S);var Q=t(S);e($),e(n),e(Y);var X=t(Y,2),q=s(X),Ga=t(s(q),2);{var pa=l=>{var i=je(),v=na(i),c=s(v),k=t(c,2),u=t(k,2);e(v);var _=t(v,2),b=s(_),E=t(s(b));e(b);var h=t(b,2),g=t(s(h));e(h),y(4),e(_);var I=t(_,2);{var f=A=>{var H=Re(),M=t(s(H)),R=s(M,!0);e(M);var j=t(M,3),aa=s(j,!0);e(j);var K=t(j,3),ha=s(K,!0);e(K);var V=t(K,3),oa=s(V,!0);e(V);var ma=t(V,3),Aa=s(ma,!0);e(ma);var ra=t(ma,3),Ba=s(ra,!0);e(ra);var qa=t(ra,3),de=s(qa,!0);e(qa);var Ra=t(qa,3),ve=s(Ra,!0);e(Ra);var Ja=t(Ra,4),Ka=s(Ja),ce=s(Ka,!0);e(Ka),e(Ja),e(H),T((pe,_e,he,me,ue,be,ge,fe,ye)=>{o(R,pe),o(aa,_e),o(ha,he),o(oa,me),o(Aa,ue),o(Ba,be),o(de,ge),o(ve,fe),o(ce,ye)},[()=>L(a(r).snapshot_burned),()=>L(a(ba)),()=>L(a(r).snapshot_total),()=>L(a(w).emissionCap),()=>L(a(r).total_emitted),()=>L(a(O)),()=>L(a(w).maxEver),()=>L(a(w).hardcap),()=>L(a(w).lost)]),d(A,H)};N(I,A=>{a(w)&&A(f)})}y(4),T((A,H,M,R,j)=>{Va(c,`width:${A??""}%`),Va(k,`width:${H??""}%`),Va(u,`width:${M??""}%`),o(E,` snapshot ${R??""}`),o(g,` emitted ${j??""}`)},[()=>Number(a(r).snapshot_total)/a(W)*100,()=>Number(a(r).total_emitted)/a(W)*100,()=>(a(ea)-Number(a(r).total_emitted))/a(W)*100,()=>la(a(r).snapshot_total),()=>la(a(r).total_emitted)]),d(l,i)};N(Ga,l=>{a(r)&&l(pa)})}e(q);var wa=t(q,2),Z=s(wa),Da=t(s(Z),2);{var Sa=l=>{var i=Ve(),v=s(i),c=t(s(v),2),k=s(c);e(c);var u=t(c,2),_=s(u),b=t(s(_),2),E=s(b);e(b),e(_);var h=t(_,2),g=t(s(h),2),I=s(g);e(g),e(h),e(u),e(v);
16var f=t(v,2),A=t(s(f)),H=s(A);e(A),e(f);var M=t(f,2),R=t(s(M)),j=s(R);e(R),e(M),e(i),T((aa,K,ha,V,oa)=>{o(k,`${aa??""}%`),o(E,`${K??""}% of it`),o(I,`${ha??""}% of it`),o(H,`${V??""}%`),o(j,`${oa??""}%`)},[()=>Number(a(P).proofOfBrain).toFixed(0),()=>(Number(a(P).viral)/Number(a(P).proofOfBrain)*100).toFixed(0),()=>(Number(a(P).deep)/Number(a(P).proofOfBrain)*100).toFixed(0),()=>Number(a(P).lshare).toFixed(0),()=>Number(a(P).liquidity).toFixed(0)]),d(l,i)};N(Da,l=>{a(P)&&l(Sa)})}e(Z);var Fa=t(Z,2);{var Ua=l=>{var i=ze(),v=t(s(i),2),c=t(s(v)),k=s(c,!0);e(c);var u=t(c,3),_=s(u,!0);e(u);var b=t(u,3),E=s(b,!0);e(b);var h=t(b,3),g=s(h,!0);e(h),e(v),e(i),T((I,f,A,H)=>{o(k,I),o(_,f),o(E,A),o(g,H)},[()=>L(a(r).pool_lshare),()=>L(a(r).pool_viral),()=>L(a(r).pool_deep),()=>L(a(r).pool_liquidity)]),d(l,i)};N(Fa,l=>{a(r)&&l(Ua)})}e(wa),e(X);var ka=t(X,2);qe(ka,{});var _a=t(ka,2),te=t(s(_a),2);{var oe=l=>{var i=We();se(i,22,()=>a(r).consensus_group,v=>v,(v,c,k)=>{var u=Ke(),_=s(u),b=s(_,!0);e(_);var E=t(_,2),h=s(E,!0);e(E);var g=t(E,2);{var I=f=>{var A=Je();d(f,A)};N(g,f=>{c===z.account&&f(I)})}e(u),T(f=>{o(b,a(k)+1),o(h,f)},[()=>Te(c)]),d(v,u)}),e(i),d(l,i)},re=l=>{var i=Ye();d(l,i)};N(te,l=>{a(r)&&a(r).consensus_group.length>0?l(oe):l(re,-1)})}y(2),e(_a);var za=t(_a,2);{var le=l=>{var i=Ze(),v=t(s(i),2),c=t(s(v),2),k=s(c,!0);e(c),y(2),e(v);var u=t(v,2),_=t(s(u),2);{var b=h=>{var g=Qe(),I=na(g),f=s(I,!0);e(I),y(2),T(()=>{Ya(I,"href",`https://vsc.techcoderx.com/contract/${z.info.token_contract??""}`),o(f,z.info.token_contract)}),d(h,g)},E=h=>{var g=Xe();d(h,g)};N(_,h=>{var g;(g=z.info)!=null&&g.token_contract?h(b):h(E,-1)})}e(u),y(2),e(i),T(()=>{Ya(c,"href",`https://vsc.techcoderx.com/contract/${Ea}`),o(k,Ea)}),d(l,i)};N(za,l=>{l(le)})}var ne=t(za,2);{var ie=l=>{var i=as(),v=t(s(i),2),c=s(v),k=s(c),u=s(k,!0);e(k),y(),e(c);var _=t(c,2),b=s(_),E=s(b,!0);e(b),y(),e(_);var h=t(_,2),g=s(h),I=s(g,!0);e(g),y(),e(h);var f=t(h,2),A=s(f),H=s(A,!0);e(A),y(),e(f);var M=t(f,2),R=s(M),j=s(R,!0);e(R),y(),e(M);var aa=t(M,2),K=s(aa),ha=s(K);e(K),y(),e(aa);var V=t(aa,2),oa=s(V),ma=s(oa);e(oa),y(),e(V);var Aa=t(V,2),ra=s(Aa),Ba=s(ra,!0);e(ra),y(),e(Aa),e(v),y(2),e(i),T(()=>{o(u,a(C).maxMintDays),o(E,a(C).graceDays),o(I,a(C).bleedDays),o(H,a(C).goodAcctGrace),o(j,a(C).loyaltyMaxDays),o(ha,`${a(C).fullVoteCostPct??""}%`),o(ma,`${a(C).secondsPerHeight??""}s`),o(Ba,a(C).decimals)}),d(l,i)};N(ne,l=>{a(C)&&l(ie)})}e(J),T((l,i,v,c,k,u,_,b)=>{o(Pa,l),o(Ha,`burned + claimable, fixed at genesis · ${i??""} landed so far`),o(da,v),o(xa,`${c??""}% of the 20M cap`),o(Oa,k),o(D,`${u??""}y`),o(F,`${_??""}y`),o(Q,` · height ${b??""}`)},[()=>a(r)?la(a(r).snapshot_total):"â",()=>a(r)?la(a(r).migrated_supply):"â",()=>a(r)?la(a(r).total_emitted):"â",()=>a(Ta).toFixed(3),()=>a(r)?la(a(r).total_burned):"â",()=>a(Ma).toFixed(2),()=>a(ga).toFixed(2),()=>{var l;return((l=a(r))==null?void 0:l.height.toLocaleString())??"â"}]),d(Ia,G),ee()}export{vs as component,ds as universal};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.