diff --git a/explorer/src/components/account/StakeAccountDetailsCard.tsx b/explorer/src/components/account/StakeAccountDetailsCard.tsx index 862cedad80..c7defe6ea8 100644 --- a/explorer/src/components/account/StakeAccountDetailsCard.tsx +++ b/explorer/src/components/account/StakeAccountDetailsCard.tsx @@ -11,6 +11,7 @@ export function StakeAccountDetailsCard({ account: StakeAccount; }) { const { meta, stake } = account; + const hasLockup = meta && meta.lockup.unixTimestamp > 0; return (
{meta.authorized.staker.toBase58()}
@@ -43,7 +44,7 @@ export function StakeAccountDetailsCard({
{meta.authorized.withdrawer.toBase58()}
@@ -51,28 +52,27 @@ export function StakeAccountDetailsCard({
- {displayAddress(meta.lockup.custodian.toBase58())}
-
-
+ {displayAddress(meta.lockup.custodian.toBase58())}
+
+ {authorizedPubkey}
@@ -77,7 +77,7 @@ export function AuthorizeDetailsCard(props: {
{newAuthorizedPubkey}
@@ -86,7 +86,7 @@ export function AuthorizeDetailsCard(props: {
{authorizedPubkey}
diff --git a/explorer/src/components/instruction/stake/DelegateDetailsCard.tsx b/explorer/src/components/instruction/stake/DelegateDetailsCard.tsx
index f6de80dfb0..7315498657 100644
--- a/explorer/src/components/instruction/stake/DelegateDetailsCard.tsx
+++ b/explorer/src/components/instruction/stake/DelegateDetailsCard.tsx
@@ -64,7 +64,7 @@ export function DelegateDetailsCard(props: {
{authorizedPubkey}
diff --git a/explorer/src/components/instruction/stake/InitializeDetailsCard.tsx b/explorer/src/components/instruction/stake/InitializeDetailsCard.tsx
index 05fd5ca114..23a2ccb6fa 100644
--- a/explorer/src/components/instruction/stake/InitializeDetailsCard.tsx
+++ b/explorer/src/components/instruction/stake/InitializeDetailsCard.tsx
@@ -3,7 +3,8 @@ import {
TransactionInstruction,
SignatureResult,
StakeInstruction,
- StakeProgram
+ StakeProgram,
+ SystemProgram
} from "@solana/web3.js";
import { displayAddress } from "utils/tx";
import { InstructionCard } from "../InstructionCard";
@@ -55,7 +56,7 @@ export function InitializeDetailsCard(props: {
{stakerPubkey}
@@ -64,7 +65,7 @@ export function InitializeDetailsCard(props: {
{withdrawerPubkey}
@@ -72,26 +73,32 @@ export function InitializeDetailsCard(props: {
{displayAddress(params.lockup.custodian.toBase58())}
- {displayAddress(params.lockup.custodian.toBase58())}
+ {authorizedPubkey}
diff --git a/explorer/src/components/instruction/stake/WithdrawDetailsCard.tsx b/explorer/src/components/instruction/stake/WithdrawDetailsCard.tsx
index 39ccd31e19..a1a5a3608a 100644
--- a/explorer/src/components/instruction/stake/WithdrawDetailsCard.tsx
+++ b/explorer/src/components/instruction/stake/WithdrawDetailsCard.tsx
@@ -56,7 +56,7 @@ export function WithdrawDetailsCard(props: {
{authorizedPubkey}
diff --git a/explorer/src/components/instruction/system/NonceAdvanceDetailsCard.tsx b/explorer/src/components/instruction/system/NonceAdvanceDetailsCard.tsx
index 6ba33213a7..d32b06964d 100644
--- a/explorer/src/components/instruction/system/NonceAdvanceDetailsCard.tsx
+++ b/explorer/src/components/instruction/system/NonceAdvanceDetailsCard.tsx
@@ -54,7 +54,7 @@ export function NonceAdvanceDetailsCard(props: {
{authorizedKey}
diff --git a/explorer/src/components/instruction/system/NonceAuthorizeDetailsCard.tsx b/explorer/src/components/instruction/system/NonceAuthorizeDetailsCard.tsx
index 0f33f7da7f..1566f20491 100644
--- a/explorer/src/components/instruction/system/NonceAuthorizeDetailsCard.tsx
+++ b/explorer/src/components/instruction/system/NonceAuthorizeDetailsCard.tsx
@@ -55,7 +55,7 @@ export function NonceAuthorizeDetailsCard(props: {
{authorizedKey}
@@ -64,7 +64,7 @@ export function NonceAuthorizeDetailsCard(props: {
{newAuthorizedKey}
diff --git a/explorer/src/components/instruction/system/NonceInitializeDetailsCard.tsx b/explorer/src/components/instruction/system/NonceInitializeDetailsCard.tsx
index fbd922ae86..1f81353445 100644
--- a/explorer/src/components/instruction/system/NonceInitializeDetailsCard.tsx
+++ b/explorer/src/components/instruction/system/NonceInitializeDetailsCard.tsx
@@ -54,7 +54,7 @@ export function NonceInitializeDetailsCard(props: {
{authorizedKey}
diff --git a/explorer/src/components/instruction/system/NonceWithdrawDetailsCard.tsx b/explorer/src/components/instruction/system/NonceWithdrawDetailsCard.tsx
index 3fa90bc699..742293f401 100644
--- a/explorer/src/components/instruction/system/NonceWithdrawDetailsCard.tsx
+++ b/explorer/src/components/instruction/system/NonceWithdrawDetailsCard.tsx
@@ -57,7 +57,7 @@ export function NonceWithdrawDetailsCard(props: {
{authorizedKey}