explorer: Rename SYSVARs to Title Case (#13679)
This commit is contained in:
@ -105,7 +105,7 @@ function SysvarAccountRecentBlockhashesCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_RECENT_BLOCKHASHES"
|
title="Sysvar: Recent Blockhashes"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ function SysvarAccountSlotHashes({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_SLOT_HASHES"
|
title="Sysvar: Slot Hashes"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ function SysvarAccountSlotHistory({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_SLOT_HISTORY"
|
title="Sysvar: Slot History"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ function SysvarAccountStakeHistory({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_STAKE_HISTORY"
|
title="Sysvar: Stake History"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ function SysvarAccountFeesCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_FEES"
|
title="Sysvar: Fees"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ function SysvarAccountEpochScheduleCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_EPOCH_SCHEDULE"
|
title="Sysvar: Epoch Schedule"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -301,7 +301,7 @@ function SysvarAccountClockCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_CLOCK"
|
title="Sysvar: Clock"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -350,7 +350,7 @@ function SysvarAccountRentCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_RENT"
|
title="Sysvar: Rent"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -399,7 +399,7 @@ function SysvarAccountRewardsCard({
|
|||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<AccountHeader
|
<AccountHeader
|
||||||
title="SYSVAR_REWARDS"
|
title="Sysvar: Rewards"
|
||||||
refresh={() => refresh(account.pubkey)}
|
refresh={() => refresh(account.pubkey)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -47,15 +47,15 @@ const SYSVAR_ID: { [key: string]: string } = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const SYSVAR_IDS = {
|
export const SYSVAR_IDS = {
|
||||||
[SYSVAR_CLOCK_PUBKEY.toBase58()]: "SYSVAR_CLOCK",
|
[SYSVAR_CLOCK_PUBKEY.toBase58()]: "Sysvar: Clock",
|
||||||
SysvarEpochSchedu1e111111111111111111111111: "SYSVAR_EPOCH_SCHEDULE",
|
SysvarEpochSchedu1e111111111111111111111111: "Sysvar: Epoch Schedule",
|
||||||
SysvarFees111111111111111111111111111111111: "SYSVAR_FEES",
|
SysvarFees111111111111111111111111111111111: "Sysvar: Fees",
|
||||||
SysvarRecentB1ockHashes11111111111111111111: "SYSVAR_RECENT_BLOCKHASHES",
|
SysvarRecentB1ockHashes11111111111111111111: "Sysvar: Recent Blockhashes",
|
||||||
[SYSVAR_RENT_PUBKEY.toBase58()]: "SYSVAR_RENT",
|
[SYSVAR_RENT_PUBKEY.toBase58()]: "Sysvar: Rent",
|
||||||
[SYSVAR_REWARDS_PUBKEY.toBase58()]: "SYSVAR_REWARDS",
|
[SYSVAR_REWARDS_PUBKEY.toBase58()]: "Sysvar: Rewards",
|
||||||
SysvarS1otHashes111111111111111111111111111: "SYSVAR_SLOT_HASHES",
|
SysvarS1otHashes111111111111111111111111111: "Sysvar: Slot Hashes",
|
||||||
SysvarS1otHistory11111111111111111111111111: "SYSVAR_SLOT_HISTORY",
|
SysvarS1otHistory11111111111111111111111111: "Sysvar: Slot History",
|
||||||
[SYSVAR_STAKE_HISTORY_PUBKEY.toBase58()]: "SYSVAR_STAKE_HISTORY",
|
[SYSVAR_STAKE_HISTORY_PUBKEY.toBase58()]: "Sysvar: Stake History",
|
||||||
};
|
};
|
||||||
|
|
||||||
export function addressLabel(
|
export function addressLabel(
|
||||||
|
Reference in New Issue
Block a user