PageSourceSearch

https://solana.org/_next/static/chunks/pages/sfdp-validators/AdminViewLink-70547c1d5ad57c26.js

js solana.org collected 2026-09-24 10:19:53 UTC 12,750 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1250,7846],{652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_COOKIES=void 0,t.SESSION_COOKIES={adminToken:"admin_token",adminInfo:"admin_info",discordAuthToken:"discord_auth_token",discordOAuthState:"discord_oauth_state",jwtTokenExpiration:"12h",tokenExpiration:43200,discordTokenExpiration:"24h",discordTokenExpirationSeconds:86400}},3580:(e,t,r)=>{"use strict";var i=Object.create?function(e,t,r,i){void 0===i&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]},a=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(42572),t),a(r(89596),t),a(r(44460),t),a(r(77487),t),a(r(29551),t),a(r(7103),t),a(r(87118),t),a(r(41618),t),a(r(15128),t),a(r(44049),t),a(r(4191),t),a(r(98660),t),a(r(19789),t),a(r(56756),t),a(r(52817),t),a(r(7714),t),a(r(48053),t),a(r(652),t),a(r(69277),t)},4191:(e,t)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.SfdpParticipantState=void 0,(i=r||(t.SfdpParticipantState=r={})).Pending="Pending",i.TestnetOnboarded="TestnetOnboarded",i.Approved="Approved",i.Rejected="Rejected",i.Offboarded="Offboarded",i.Retired="Retired"},7103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},15128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},19789:(e,t)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatorEpochStates=void 0,(i=r||(t.ValidatorEpochStates=r={})).None="None",i.Baseline="Baseline",i.Bonus="Bonus",i.NoneHighThirdPartyStake="NoneHighThirdPartyStake"},27846:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var i=r(6029),a=r(82203),n=r.n(a),o=r(82396),_=r(32866),s=r.n(_),d=r(36332);function c({pk:e}){let{admin:t}=(0,d.z)();return t?(0,i.jsxs)(n(),{href:`/admin/sfdp/participants?pubkey=${e}`,className:s()["admin-link"],children:["Admin view ",(0,i.jsx)(o.A,{})]}):null}},29551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},32866:e=>{e.exports={container:"SfdpParticipant_container__BitHD",admin:"SfdpParticipant_admin__YgQj_","pre-line":"SfdpParticipant_pre-line__6XcL7","admin-view":"SfdpParticipant_admin-view__w_C4w","return-link":"SfdpParticipant_return-link__uMsi4","page-content":"SfdpParticipant_page-content__74wMK","top-row":"SfdpParticipant_top-row__BoxqU",card:"SfdpParticipant_card__oVxiL","validator-summary":"SfdpParticipant_validator-summary__JkCWC","validator-logo":"SfdpParticipant_validator-logo__xoRf8","validator-name":"SfdpParticipant_validator-name__vSNy9","validator-keys":"SfdpParticipant_validator-keys__lDDRE","validator-key-label":"SfdpParticipant_validator-key-label__sS1hu","validator-key":"SfdpParticipant_validator-key__8yvTS","copy-key-button":"SfdpParticipant_copy-key-button__JOPM0",copied:"SfdpParticipant_copied__gEsgA","validator-status":"SfdpParticipant_validator-status__4tQMK","validator-status-container":"SfdpParticipant_validator-status-container__zrXzG","validator-state-value":"SfdpParticipant_validator-state-value__04URO",status_approved:"SfdpParticipant_status_approved__YeVEe",status_rejected:"SfdpParticipant_status_rejected__kBz2R",status_retired:"SfdpParticipant_status_retired__NjDh5",status_default:"SfdpParticipant_status_default__V2iTi","tds-eligible-epochs":"SfdpParticipant_tds-eligible-epochs__h9zOx","node-performance":"SfdpParticipant_node-performance__sifV_","vote-credit-score":"SfdpParticipant_vote-credit-score__WfT6s","show-hide-link":"SfdpParticipant_show-hide-link__Gtxkw","registration-stepper":"SfdpParticipant_registration-stepper__WNx0l","registration-step":"SfdpParticipant_registration-step__K4_A_","uncompleted-step":"SfdpParticipant_uncompleted-step__lyKRF","registration-tooltip":"SfdpParticipant_registration-tooltip__o66me","tds2-payments-table":"SfdpParticipant_tds2-payments-table__JHO9D",numbers:"SfdpParticipant_numbers__MjxRc","admin-link":"SfdpParticipant_admin-link__nwt20"}},36332:(e,t,r)=>{"use strict";r.d(t,{z:()=>d});
1var i=r(55729),a=r(81278),n=r(96723),o=r(86816),_=r(46887),s=r(3580);function d(){let[e,t]=(0,i.useState)(null),r=(0,a.useRouter)(),d=(0,i.useRef)(void 0),c=async()=>{await (0,n.A)("/admin/auth/admin-logout",{method:"POST",withCredentials:!0})};return(0,i.useEffect)(()=>{let e=()=>{let e=_.A.get(s.SESSION_COOKIES.adminInfo);e!==d.current&&(d.current=e,t(e?(0,o._)():null))};return e(),r.events.on("routeChangeComplete",e),()=>{r.events.off("routeChangeComplete",e)}},[]),{admin:e,logoutAdmin:c}}},41618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},42572:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},44049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BONUS_ISSUES_MAP=t.BONUS_ISSUES=t.BASELINE_ISSUES_MAP=t.BASELINE_ISSUES=void 0,t.BASELINE_ISSUES={BLOCKED_ASN:"BLOCKED_ASN",HIGH_COMPANY_CONCENTRATION:"HIGH_COMPANY_CONCENTRATION",HIGH_DCC:"HIGH_DCC",HIGH_THIRD_PARTY_STAKE:"HIGH_THIRD_PARTY_STAKE",INELIGIBLE_COMMISSION_HISTORY:"INELIGIBLE_COMMISSION_HISTORY",INELIGIBILE_TESTNET_HISTORY:"INELIGIBILE_TESTNET_HISTORY",INELIGIBLE_JITO_COMMISSION_HISTORY:"INELIGIBLE_JITO_COMMISSION_HISTORY",INELIGIBLE_METRIC_REPORTING:"INELIGIBLE_METRIC_REPORTING",INELIGIBLE_VERSION:"INELIGIBLE_VERSION",LOW_CREDITS:"LOW_CREDITS",LOW_SELF_STAKE:"LOW_SELF_STAKE",RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET:"RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET"},t.BASELINE_ISSUES_MAP={[t.BASELINE_ISSUES.BLOCKED_ASN]:"Blacklisted data center",[t.BASELINE_ISSUES.HIGH_COMPANY_CONCENTRATION]:"High ASN or company stake concentration",[t.BASELINE_ISSUES.HIGH_DCC]:"High data center stake concentration",[t.BASELINE_ISSUES.INELIGIBLE_COMMISSION_HISTORY]:"Ineligible commission history",[t.BASELINE_ISSUES.INELIGIBLE_JITO_COMMISSION_HISTORY]:"Jito commission too high",[t.BASELINE_ISSUES.INELIGIBLE_METRIC_REPORTING]:"Missing required metric reporting",[t.BASELINE_ISSUES.INELIGIBILE_TESTNET_HISTORY]:"Ineligible testnet history",[t.BASELINE_ISSUES.INELIGIBLE_VERSION]:"Invalid software version",[t.BASELINE_ISSUES.LOW_CREDITS]:"Vote credits too low",[t.BASELINE_ISSUES.LOW_SELF_STAKE]:"Low self stake",[t.BASELINE_ISSUES.RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET]:"Running Jito on mainnet but not testnet"},t.BONUS_ISSUES={HIGH_SKIP_RATE:"HIGH_SKIP_RATE"},t.BONUS_ISSUES_MAP={[t.BONUS_ISSUES.HIGH_SKIP_RATE]:"5-epoch average skip rate too high"}},44460:(e,t)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.KybStatus=void 0,(i=r||(t.KybStatus=r={})).MANUALLY_APPROVED="MANUALLY_APPROVED",i.MANUALLY_REJECTED="MANUALLY_REJECTED",i.TRULIOO_VERIFIED="TRULIOO_VERIFIED",i.PERSONA_VERIFIED="PERSONA_VERIFIED",i.NEEDS_REVIEW="NEEDS_REVIEW",i.ON_WATCHLIST="ON_WATCHLIST",i.NOT_A_BUSINESS="NOT_A_BUSINESS",i.NOT_APPLICABLE="NOT_APPLICABLE"},46887:(e,t,r)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)"__proto__"!==i&&(e[i]=r[i])}return e}r.d(t,{A:()=>a});var a=function e(t,r){function a(e,a,n){if("u">typeof document){"number"==typeof(n=i({},r,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var _ in n)n[_]&&(o+="; "+_,!0!==n[_]&&(o+="="+n[_].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+o}}return Object.create({set:a,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],i={},a=0;a<r.length;a++){var n=r[a].split("="),o=n.slice(1).join("=");try{var _=decodeURIComponent(n[0]);if(_ in i||(i[_]=t.read(o,_)),e===_)break}catch{}}return e?i[e]:i}},remove:function(e,t){a(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"})},48053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidatorEpochStatStatsV2=function(e){return null!=e&&!!e.activated_stake}},56756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},68945:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sfdp-validators/AdminViewLink",function(){return r(27846)}])},69277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SFDP_URLS=void 0,t.SFDP_URLS={ecpqForm:"https://docs.google.com/forms/d/e/1FAIpQLSelQZkt2D2ZqYZd2NJ1zKC-FvlikHChSwDcsrmIGARdA4o5RA/viewform"}},77487:(e,t)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.KycStatus=void 0,(i=r||(t.KycStatus=r={})).KYC_VALID="KYC_VALID",i.NA_REJECTED="NA_REJECTED",i.NO_KYC="NO_KYC",i.RE_KYC_EXPIRED="RE_KYC_EXPIRED",i.RE_KYC_REQUIRED="RE_KYC_REQUIRED"},82396:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let i=(0,r(85229).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},85229:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var i=r(55729);let a=(...e)=>e.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ");var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,i.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:_="",children:s,iconNode:d,...c},u)=>(0,i.createElement)("svg",{ref:u,...n,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:a("lucide",_),...c},[...d.map(([e,t])=>(0,i.createElement)(e,t)),...Array.isArray(s)?s:[s]])),_=(e,t)=>{let r=(0,i.forwardRef)(({className:r,...n},_)=>(0,i.createElement)(o,{ref:_,iconNode:t,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...n}));return r.displayName=`${e}`,r}},86816:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var i=r(46887),a=r(3580);function n(){let e=i.A.get(a.SESSION_COOKIES.adminInfo);return e?JSON.parse(e):null}},87118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatorListOrderBy=void 0,t.ValidatorListOrderBy={num_bonus_last_10:"num_bonus_last_10",name:"name",percent_bonus_since_aug1_2021:"percent_bonus_since_aug1_2021",performance:"performance",tds_onboarding_group:"tds_onboarding_group",testnet_bonus_last_13:"testnet_bonus_last_13",testnet_vc:"testnet_vc",sfdp_onboarding_epoch:"sfdp_onboarding_epoch",non_foundation_stake:"non_foundation_stake",kyb_verification_status:"kyb_verification_status"}},89596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},96723:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let i=`${"https://api.solana.org".replace(/\/+$/,"")}/api`;async function a(e,{method:t="GET",params:r={},headers:o={},body:_,json:s=!0,extract:d,errorMessage:c,includeEmptyParams:u=!1,withCredentials:S=!1,basicBehavior:p=!1}){let E,l,I;if(e.startsWith("http://")||e.startsWith("https://"))E=new URL(e);else{if("/"!==e.charAt(0))throw Error("API resource should be absolute (start with a slash)");E=new URL(`${i}${e}`)}if(p)return fetch(E,{method:t,headers:o,body:_});Object.entries(r).forEach(([e,t])=>{(u||t&&0!==t)&&E.searchParams.append(e,t)}),"object"==typeof _&&(_=JSON.stringify(_));let f={method:t,headers:o,body:_};S&&(f.credentials="include");try{l=await fetch(E,f)}catch(e){throw await n(void 0,c||`Fetch from API failed: ${E}`,e)}if(!s)return l;let{status:O}=l;if(O>=400){let e;switch(O){case 400:e="Bad request";break;case 401:case 403:e="Not authorized";break;case 404:e=`Could not find: ${E}`;break;default:e=O>=500?"Server error":"Client error"}throw await n(l,c||e)}try{I=await l.json(E)}catch(e){throw await n(l,`Could not parse data returned from API: ${E}`,e)}if(d&&void 0===(I=I[d]))throw await n(l,`Key does not exist in JSON data: ${d}`);return I}async function n(e,t,r){let i=Error(t,{cause:r});i.name="FetchError",i.response=e;try{i.responseData=await e.json()}catch(e){console.error(e),i.responseData={}}return i}},98660:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=68945)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.