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