From 4f262d2e6bb35cc27aa3eb22715a0bb295bfce59 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 01/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - From - To - - Amount - - - Tx Hash - - Date + From + To + Amount + Tx Hash + Date ); } else if (type === "MINT") { return ( - - Block - - - Address - - - Amount - - - Tx Hash - - - Date - + Block + Address + Amount + Tx Hash + Date ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - {abbreviateAddress(tx.creator)} - {abbreviateAddress(tx.destination)} - {formattedAmt} - + {abbreviateAddress(tx.creator)} + {abbreviateAddress(tx.destination)} + {formattedAmt} + {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })} - *** ); } else if (type === "MINT") { return ( - {tx.block_index} - {abbreviateAddress(tx.destination)} - {formattedAmt} - *** - *** + {tx.block_index} + {abbreviateAddress(tx.destination)} + {formattedAmt} ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From cd7b75a00e791011f1fbcda1d1282c2a2004c6e6 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 02/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - From - To - Amount - Tx Hash - Date + From + To + + Amount + + + Tx Hash + + Date ); } else if (type === "MINT") { return ( - Block - Address - Amount - Tx Hash - Date + + Block + + + Address + + + Amount + + + Tx Hash + + + Date + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - {abbreviateAddress(tx.creator)} - {abbreviateAddress(tx.destination)} - {formattedAmt} - + {abbreviateAddress(tx.creator)} + {abbreviateAddress(tx.destination)} + {formattedAmt} + {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })} + *** ); } else if (type === "MINT") { return ( - {tx.block_index} - {abbreviateAddress(tx.destination)} - {formattedAmt} + {tx.block_index} + {abbreviateAddress(tx.destination)} + {formattedAmt} + *** + *** ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 44c47419631538049243f3c1fa93671ad387a04e Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 03/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - From - To - - Amount - - - Tx Hash - - Date + From + To + Amount + Tx Hash + Date ); } else if (type === "MINT") { return ( - - Block - - - Address - - - Amount - - - Tx Hash - - - Date - + Block + Address + Amount + Tx Hash + Date ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - {abbreviateAddress(tx.creator)} - {abbreviateAddress(tx.destination)} - {formattedAmt} - + {abbreviateAddress(tx.creator)} + {abbreviateAddress(tx.destination)} + {formattedAmt} + {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })} - *** ); } else if (type === "MINT") { return ( - {tx.block_index} - {abbreviateAddress(tx.destination)} - {formattedAmt} - *** - *** + {tx.block_index} + {abbreviateAddress(tx.destination)} + {formattedAmt} ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From a98219155057851efc1006abdb0bff042c034f4e Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 04/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - From - To - Amount - Tx Hash - Date + From + To + + Amount + + + Tx Hash + + Date ); } else if (type === "MINT") { return ( - Block - Address - Amount - Tx Hash - Date + + Block + + + Address + + + Amount + + + Tx Hash + + + Date + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - {abbreviateAddress(tx.creator)} - {abbreviateAddress(tx.destination)} - {formattedAmt} - + {abbreviateAddress(tx.creator)} + {abbreviateAddress(tx.destination)} + {formattedAmt} + {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })} + *** ); } else if (type === "MINT") { return ( - {tx.block_index} - {abbreviateAddress(tx.destination)} - {formattedAmt} + {tx.block_index} + {abbreviateAddress(tx.destination)} + {formattedAmt} + *** + *** ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 905b0d6f9491782cc38a361485f812f99058c5aa Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 05/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- components/shared/HoldersGraph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shared/HoldersGraph.tsx b/components/shared/HoldersGraph.tsx index a4f0ee145..de14fdb25 100644 --- a/components/shared/HoldersGraph.tsx +++ b/components/shared/HoldersGraph.tsx @@ -84,7 +84,7 @@ export function HoldersGraph({ holders = [] }: HoldersGraphProps) {
- +
{tableHeaders.map(({ key, label }) => ( From 5fe63574f5762b31b27662937ddc1d359ba619fd Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 06/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 5b2e4b532a3b4f398b34ba5e27de494a8d4d505f Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 07/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From e46a60f4869e40875b557960e4927aed13b16885 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 08/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 0c67ac75b050ad376efd7715ab5e9d82091d3bb0 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 09/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From f6b0caf21bf81196ae71d372cf24b7ca0b71d27c Mon Sep 17 00:00:00 2001 From: itttm127 Date: Thu, 19 Dec 2024 23:11:57 +0900 Subject: [PATCH 10/82] chore: fix dependency & update date field --- components/stampDetails/StampTransfers.tsx | 10 ++++++---- islands/src20/SRC20Section.tsx | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 362f8c24c..3ab04b505 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -20,7 +20,7 @@ const tableHeaders = [ { key: "quantity", label: "Quantity" }, { key: "memo", label: "Memo" }, { key: "txHash", label: "Tx Hash" }, - { key: "created", label: "Date" }, + // { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -68,11 +68,13 @@ function TransferRow({ send }: { send: SendRow }) { - + */ + } ); } @@ -88,7 +90,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* Quantity */} {/* Memo */} {/* Tx hash */} - {/* Created */} + {/* Created */} diff --git a/islands/src20/SRC20Section.tsx b/islands/src20/SRC20Section.tsx index 11681b68f..9c8c84a38 100644 --- a/islands/src20/SRC20Section.tsx +++ b/islands/src20/SRC20Section.tsx @@ -122,7 +122,7 @@ export function SRC20Section( fetchMintData(); } - }, [data, fromPage]); + }, [fromPage]); const handleCloseModal = () => setModalOpen(false); const handleImageClick = (imgSrc: string) => { From 20abce140f539523e64238b9e850d7712e15deee Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 11/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From ac70370bdfec19c01a8313d437b6d2666ed4e8b0 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 12/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From c1a7c0c29633f38602791980990c320d2e6ea873 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 13/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 06797f18e81a0554e25fce8d9d3ed3e64b8b46b8 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 14/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From cc5c77c516c8cfc0de10ba897dd1a15808bf5e5b Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 15/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From c4ed9c7c2552486134ec93d2db4d98726355dea7 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 16/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 1ca37838f30f17baec9f297607ba59ee625e076c Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 17/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 5ac5dccf3ede3c8bc345c3a4cbc6493168c385c9 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 18/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From f001cd15f61f5f7f2f10d6da093d4f06a1418770 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 01:45:58 +0900 Subject: [PATCH 19/82] chore: add date field & remove memo --- components/stampDetails/StampTransfers.tsx | 23 +++++++++------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 3ab04b505..74ee292ff 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -18,9 +18,8 @@ const tableHeaders = [ { key: "from", label: "From" }, { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, - { key: "memo", label: "Memo" }, { key: "txHash", label: "Tx Hash" }, - // { key: "created", label: "Date" }, + { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -62,19 +61,16 @@ function TransferRow({ send }: { send: SendRow }) { - - { - /* */ - } + ); } @@ -88,9 +84,8 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* From column */} {/* To */} {/* Quantity */} - {/* Memo */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 32aa770d46764d2da829bcaafb8116c3f0c17e59 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 06:19:43 +0900 Subject: [PATCH 20/82] feat: add date field on xcp service & update src20 pagination on wallet content --- islands/Wallet/details/WalletContent.tsx | 2 +- islands/src20/SRC20Section.tsx | 2 +- server/services/xcpService.ts | 45 ++++++++++++++++++------ 3 files changed, 37 insertions(+), 12 deletions(-) diff --git a/islands/Wallet/details/WalletContent.tsx b/islands/Wallet/details/WalletContent.tsx index 246456822..891901e7d 100644 --- a/islands/Wallet/details/WalletContent.tsx +++ b/islands/Wallet/details/WalletContent.tsx @@ -563,7 +563,7 @@ export default function WalletContent({ { - if (!initialData) { + if (!initialData?.length) { setIsTransitioning(true); setIsLoading(true); const endpoint = fromPage === "wallet" && address diff --git a/server/services/xcpService.ts b/server/services/xcpService.ts index 28fae3eb0..4abc30b2b 100644 --- a/server/services/xcpService.ts +++ b/server/services/xcpService.ts @@ -763,6 +763,29 @@ export class XcpManager { } } + static async getTxInfo(tx: string): Promise { + const endpoint = `https://blockstream.info/api/tx/${tx}`; + let timestamp: number | null = null; + + try { + const response = await fetch(endpoint); + if (!response.ok) { + console.error(`Failed to fetch transaction data: ${response.statusText}`); + return null; + } + + const data = await response.json(); + if (data.status && data.status.block_time) { + timestamp = data.status.block_time * 1000; + } else { + console.warn("Block time not found in the API response."); + } + } catch (error) { + console.error("Error fetching transaction data:", error); + } + return timestamp; + } + static async getXcpSendsByCPID( cpid: string, page: number = 1, @@ -799,16 +822,18 @@ export class XcpManager { break; } - const sends = response.result.map((send: any) => ({ - tx_hash: send.tx_hash, - block_index: send.block_index, - source: send.source, - destination: send.destination, - quantity: send.quantity, - asset: cpid, - status: send.status, - })); - + const sends = await Promise.all( + response.result.map(async (send: any) => ({ + tx_hash: send.tx_hash, + block_index: send.block_index, + block_time: await this.getTxInfo(send.tx_hash), // Fetch block time + source: send.source, + destination: send.destination, + quantity: send.quantity, + asset: cpid, + status: send.status, + })) + ); allSends = allSends.concat(sends); processedCount += sends.length; From 5a1a127410128b75c91d21570f6d60d9c930f20d Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 21/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 0a9ad88bb2b1904e3fd82aa27793c903bac0f7e0 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 22/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From f82be127aafdba274220ed701527bcac0ec85492 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 23/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 94fdcf89ff9d02a901d875b50d24677f14c56d5d Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 24/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From fcdd173f28a4fe8a610b8f4cfaffadcd3c3a07f6 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 25/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 0e8fb61974e49b6b4934b3e1b371a6f996650d10 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 26/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From c82acb826a72507bdda6d2462c3a51d91661bd24 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 27/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From b7204d42c888a35b1af0c6979166cd72e4a89076 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 28/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 434b651b210eb27cbd2c7ea643b2a180e882a59c Mon Sep 17 00:00:00 2001 From: itttm127 Date: Thu, 19 Dec 2024 23:11:57 +0900 Subject: [PATCH 29/82] chore: fix dependency & update date field --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 74ee292ff..6876de452 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - { key: "created", label: "Date" }, + // { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 64d2685d8620becac158e0b7fe206b0ddbcfe391 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 30/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 838614f82a8f36749f94227c7842d206608ff966 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 31/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From f706373ee88b8bf5706267ce45588a4c268fd2b2 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 32/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 40c3e0bfc6e0328d561f55937cc58b49bba8b8fb Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 33/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 00244b99a03da3219c693687c9116f190a829df1 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 34/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 8ce5e4ca86f0c5bd23a4e6c8378c6b44558a7242 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 35/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 05fac6311db4eddd621c6dc0e90a40cb07b99d88 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 36/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 68032a8d9..4c3715c6b 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,7 +960,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From c7aed15bb5976e945d3a69686e329ee8c076dd9b Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 37/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 4c3715c6b..68032a8d9 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -960,6 +960,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From d7d0494131c179cc3f7ba538441d7f4c73333f99 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 01:45:58 +0900 Subject: [PATCH 38/82] chore: add date field & remove memo --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 6876de452..74ee292ff 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - // { key: "created", label: "Date" }, + { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 0099efc71a627262d8bf8ba9733a856a56051924 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 06:19:43 +0900 Subject: [PATCH 39/82] feat: add date field on xcp service & update src20 pagination on wallet content --- islands/Wallet/details/WalletContent.tsx | 2 +- islands/src20/SRC20Section.tsx | 2 +- server/services/xcpService.ts | 45 ++++++++++++++++++------ 3 files changed, 37 insertions(+), 12 deletions(-) diff --git a/islands/Wallet/details/WalletContent.tsx b/islands/Wallet/details/WalletContent.tsx index 246456822..891901e7d 100644 --- a/islands/Wallet/details/WalletContent.tsx +++ b/islands/Wallet/details/WalletContent.tsx @@ -563,7 +563,7 @@ export default function WalletContent({ { - if (!initialData) { + if (!initialData?.length) { setIsTransitioning(true); setIsLoading(true); const endpoint = fromPage === "wallet" && address diff --git a/server/services/xcpService.ts b/server/services/xcpService.ts index 28fae3eb0..4abc30b2b 100644 --- a/server/services/xcpService.ts +++ b/server/services/xcpService.ts @@ -763,6 +763,29 @@ export class XcpManager { } } + static async getTxInfo(tx: string): Promise { + const endpoint = `https://blockstream.info/api/tx/${tx}`; + let timestamp: number | null = null; + + try { + const response = await fetch(endpoint); + if (!response.ok) { + console.error(`Failed to fetch transaction data: ${response.statusText}`); + return null; + } + + const data = await response.json(); + if (data.status && data.status.block_time) { + timestamp = data.status.block_time * 1000; + } else { + console.warn("Block time not found in the API response."); + } + } catch (error) { + console.error("Error fetching transaction data:", error); + } + return timestamp; + } + static async getXcpSendsByCPID( cpid: string, page: number = 1, @@ -799,16 +822,18 @@ export class XcpManager { break; } - const sends = response.result.map((send: any) => ({ - tx_hash: send.tx_hash, - block_index: send.block_index, - source: send.source, - destination: send.destination, - quantity: send.quantity, - asset: cpid, - status: send.status, - })); - + const sends = await Promise.all( + response.result.map(async (send: any) => ({ + tx_hash: send.tx_hash, + block_index: send.block_index, + block_time: await this.getTxInfo(send.tx_hash), // Fetch block time + source: send.source, + destination: send.destination, + quantity: send.quantity, + asset: cpid, + status: send.status, + })) + ); allSends = allSends.concat(sends); processedCount += sends.length; From 0ada3e9c24f6ecd3829201a7fac05f718e2f8da2 Mon Sep 17 00:00:00 2001 From: reinamora Date: Thu, 19 Dec 2024 22:28:08 +0000 Subject: [PATCH 40/82] chore: deprecated window in deno 2.x --- islands/Wallet/WalletModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/islands/Wallet/WalletModal.tsx b/islands/Wallet/WalletModal.tsx index ae68173bc..8ae438118 100644 --- a/islands/Wallet/WalletModal.tsx +++ b/islands/Wallet/WalletModal.tsx @@ -314,7 +314,7 @@ export const WalletModal = ({ connectors = [] }: Props) => {
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
{abbreviateAddress(send.tx_hash)} + { + /* {formatDate(new Date(send.block_time), { includeRelative: false, })} -
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
{send.quantity} - {send.memo || "transfer"} - {abbreviateAddress(send.tx_hash)} - {formatDate(new Date(send.block_time), { - includeRelative: false, - })} - + {send.block_time + ? formatDate(new Date(send.block_time), { + includeRelative: false, + }) + : "N/A"} +
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
diff --git a/fresh.gen.ts b/fresh.gen.ts index 05d8ace4f..37bc85806 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -15,10 +15,10 @@ import * as $api_internal_creatorName from "./routes/api/internal/creatorName.ts import * as $api_internal_csrfToken from "./routes/api/internal/csrfToken.ts"; import * as $api_internal_debug_headers from "./routes/api/internal/debug-headers.ts"; import * as $api_internal_fees from "./routes/api/internal/fees.ts"; +import * as $api_internal_src20Background from "./routes/api/internal/src20Background.ts"; import * as $api_internal_src20_details from "./routes/api/internal/src20/details.ts"; import * as $api_internal_src20_recentTransactions from "./routes/api/internal/src20/recentTransactions.ts"; import * as $api_internal_src20_trending from "./routes/api/internal/src20/trending.ts"; -import * as $api_internal_src20Background from "./routes/api/internal/src20Background.ts"; import * as $api_v2_path_ from "./routes/api/v2/[...path].ts"; import * as $api_v2_balance_address_ from "./routes/api/v2/balance/[address].ts"; import * as $api_v2_balance_getStampsBalance from "./routes/api/v2/balance/getStampsBalance.ts"; @@ -235,11 +235,11 @@ const manifest = { "./routes/api/internal/csrfToken.ts": $api_internal_csrfToken, "./routes/api/internal/debug-headers.ts": $api_internal_debug_headers, "./routes/api/internal/fees.ts": $api_internal_fees, + "./routes/api/internal/src20Background.ts": $api_internal_src20Background, "./routes/api/internal/src20/details.ts": $api_internal_src20_details, "./routes/api/internal/src20/recentTransactions.ts": $api_internal_src20_recentTransactions, "./routes/api/internal/src20/trending.ts": $api_internal_src20_trending, - "./routes/api/internal/src20Background.ts": $api_internal_src20Background, "./routes/api/v2/[...path].ts": $api_v2_path_, "./routes/api/v2/balance/[address].ts": $api_v2_balance_address_, "./routes/api/v2/balance/getStampsBalance.ts": From 4029197565c2a93507017925f171e00d404ecde7 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 44/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 23f33d887928f291646352077519e82fd6bccf01 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 45/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 1c87fac78e9fbf2ee6944678bb4020a0721e2fb6 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 46/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 2ce147f4f88319251d0ba07fd477da1e35d59c82 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 47/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From cb9fb230aa7cc69df721af77c8784e196e64242c Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 48/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From ff5e3501e911bc7880865e8c72d9f2471b245fa3 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 49/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From ce55b1671e0c337f0e31881cd488d26b5a4ed1d5 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 50/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 6c8c138e25eea9fd483d1c9e0861c29439e73115 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 51/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From b8fc9112f8896566c858f514a5642389e853319c Mon Sep 17 00:00:00 2001 From: itttm127 Date: Thu, 19 Dec 2024 23:11:57 +0900 Subject: [PATCH 52/82] chore: fix dependency & update date field --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 74ee292ff..6876de452 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - { key: "created", label: "Date" }, + // { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 9b50ba2a09a66b79ff95220e43ca13a79ddba617 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 53/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 9a890c97691ee7039a8fef9d8073a30a010ddff9 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 54/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 01ce7730156ebd11396c1840f83745d359e25de9 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 55/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 358faed7a72e91c0c64e68783a89fc249fdfa6ef Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 56/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From e3633a6fedf6d9461ba3991a5cd89811323c130f Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 57/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From d1dfa76b069323f38ad0444b588bb907c158a152 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 58/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 73f0eaa827c4f3096af922b4369099958b4d8636 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 59/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From d0f41c58f69ca4ce2524c03838b90f71e4b247f7 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 60/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 186206c195051e32cebef95c0e0def259e27f7a8 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 01:45:58 +0900 Subject: [PATCH 61/82] chore: add date field & remove memo --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 6876de452..74ee292ff 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - // { key: "created", label: "Date" }, + { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 092d6e2541a1d4d8c5ce3fcec56af87dbe63426d Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 06:19:43 +0900 Subject: [PATCH 62/82] feat: add date field on xcp service & update src20 pagination on wallet content --- islands/Wallet/details/WalletContent.tsx | 2 +- islands/src20/SRC20Section.tsx | 2 +- server/services/xcpService.ts | 45 ++++++++++++++++++------ 3 files changed, 37 insertions(+), 12 deletions(-) diff --git a/islands/Wallet/details/WalletContent.tsx b/islands/Wallet/details/WalletContent.tsx index ac999be40..f7f4e9546 100644 --- a/islands/Wallet/details/WalletContent.tsx +++ b/islands/Wallet/details/WalletContent.tsx @@ -574,7 +574,7 @@ export default function WalletContent({ { - if (!initialData) { + if (!initialData?.length) { setIsTransitioning(true); setIsLoading(true); const endpoint = fromPage === "wallet" && address diff --git a/server/services/xcpService.ts b/server/services/xcpService.ts index 28fae3eb0..4abc30b2b 100644 --- a/server/services/xcpService.ts +++ b/server/services/xcpService.ts @@ -763,6 +763,29 @@ export class XcpManager { } } + static async getTxInfo(tx: string): Promise { + const endpoint = `https://blockstream.info/api/tx/${tx}`; + let timestamp: number | null = null; + + try { + const response = await fetch(endpoint); + if (!response.ok) { + console.error(`Failed to fetch transaction data: ${response.statusText}`); + return null; + } + + const data = await response.json(); + if (data.status && data.status.block_time) { + timestamp = data.status.block_time * 1000; + } else { + console.warn("Block time not found in the API response."); + } + } catch (error) { + console.error("Error fetching transaction data:", error); + } + return timestamp; + } + static async getXcpSendsByCPID( cpid: string, page: number = 1, @@ -799,16 +822,18 @@ export class XcpManager { break; } - const sends = response.result.map((send: any) => ({ - tx_hash: send.tx_hash, - block_index: send.block_index, - source: send.source, - destination: send.destination, - quantity: send.quantity, - asset: cpid, - status: send.status, - })); - + const sends = await Promise.all( + response.result.map(async (send: any) => ({ + tx_hash: send.tx_hash, + block_index: send.block_index, + block_time: await this.getTxInfo(send.tx_hash), // Fetch block time + source: send.source, + destination: send.destination, + quantity: send.quantity, + asset: cpid, + status: send.status, + })) + ); allSends = allSends.concat(sends); processedCount += sends.length; From b8f1ad00f50356eae26ff00d78ab56b2245ec12d Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 63/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 787f17df15366987e281032581acc378a3775808 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 64/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 54927ecb4ab4ffd542e5fc89b9e5c8e47dff6d57 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 65/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 45a07aaa64daeabc20a2de764ee69ded4c618e04 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 66/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 8366c3d16e6df4b3d5e8cbc0723d81f426154d98 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 67/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From e99acf011cc63107c0892b7e0565227ade384ec5 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 68/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 534999ec0043d7578d779d2a804274c667183859 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 69/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 69afbda97200839a98ad145b534dfbb8150f6961 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 70/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From e6ed4cce7a57d13d9bd37dfd7d845191f4cafb01 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Thu, 19 Dec 2024 23:11:57 +0900 Subject: [PATCH 71/82] chore: fix dependency & update date field --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 74ee292ff..6876de452 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - { key: "created", label: "Date" }, + // { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From c6d978b6147a18fb8dfde677a83b20ba94a883d3 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 72/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 74fcfc74b4eb11dc2a8fcbc50368423895e84796 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 73/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 76bf704ff44a9a4fee6797499f27eea8bd290719 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 74/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 3a2f1950d72d62985ea63bd5039cb7f1b24fea7d Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 75/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From d22e70a087870f9525f3796909bb2c453161de00 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 00:09:44 +0900 Subject: [PATCH 76/82] chore: change file for updating --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 3c809b18da864648624dd9f10b12512ad7d68400 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:50:29 +0900 Subject: [PATCH 77/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 9b91217e1459c7f850f7e9f3b754ceeb23c5ecd2 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Tue, 17 Dec 2024 23:51:25 +0900 Subject: [PATCH 78/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++------------------ islands/stamping/stamp/OlgaContent.tsx | 1 - 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index a180e1981..041b6cc4d 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,44 +52,21 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -114,27 +91,24 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + - ); } else if (type === "MINT") { return ( - - - - - + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index dcb9d06a2..1731d9d05 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,7 +961,6 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; - const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 489b62f281a4fdbf088d2d79751e8c0c95cdc0d4 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Wed, 18 Dec 2024 01:23:39 +0900 Subject: [PATCH 79/82] chore: update button style on mint & fix stamping/stamp page loading & update table for responsive --- islands/src20/details/SRC20TX.tsx | 60 ++++++++++++++++++-------- islands/stamping/stamp/OlgaContent.tsx | 1 + 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/islands/src20/details/SRC20TX.tsx b/islands/src20/details/SRC20TX.tsx index 041b6cc4d..a180e1981 100644 --- a/islands/src20/details/SRC20TX.tsx +++ b/islands/src20/details/SRC20TX.tsx @@ -52,21 +52,44 @@ export function SRC20TX(props: SRC20TXProps) { if (type === "TRANSFER") { return ( - - - - - + + + + + ); } else if (type === "MINT") { return ( - - - - - + + + + + ); } @@ -91,24 +114,27 @@ export function SRC20TX(props: SRC20TXProps) { key={tx.tx_hash} class="w-full table table-fixed text-xs mobileLg:text-sm font-normal text-stamp-grey-light" > - - - - + + + + ); } else if (type === "MINT") { return ( - - - + + + + + ); } diff --git a/islands/stamping/stamp/OlgaContent.tsx b/islands/stamping/stamp/OlgaContent.tsx index 1731d9d05..dcb9d06a2 100644 --- a/islands/stamping/stamp/OlgaContent.tsx +++ b/islands/stamping/stamp/OlgaContent.tsx @@ -961,6 +961,7 @@ export function OlgaContent() { const bodyTools = "flex flex-col w-full items-center gap-3 mobileMd:gap-6"; const titlePurpleLDCenter = "inline-block w-full mobileMd:-mb-3 mobileLg:mb-0 text-3xl mobileMd:text-4xl mobileLg:text-5xl desktop:text-6xl font-black purple-gradient3 text-center"; + const feeSelectorContainer = "p-3 mobileMd:p-6 dark-gradient z-[10] w-full"; const tooltipButton = "absolute left-1/2 -translate-x-1/2 bg-[#000000BF] px-2 py-1 rounded-sm mb-1 bottom-full text-[10px] mobileLg:text-xs text-stamp-grey-light whitespace-nowrap"; const tooltipImage = From 0febd829ae5d1dae65d3f47617f3cf8f1631e697 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 01:45:58 +0900 Subject: [PATCH 80/82] chore: add date field & remove memo --- components/stampDetails/StampTransfers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stampDetails/StampTransfers.tsx b/components/stampDetails/StampTransfers.tsx index 6876de452..74ee292ff 100644 --- a/components/stampDetails/StampTransfers.tsx +++ b/components/stampDetails/StampTransfers.tsx @@ -19,7 +19,7 @@ const tableHeaders = [ { key: "to", label: "To" }, { key: "quantity", label: "Quantity" }, { key: "txHash", label: "Tx Hash" }, - // { key: "created", label: "Date" }, + { key: "created", label: "Date" }, ]; const tableLabelClassName = @@ -85,7 +85,7 @@ export function StampTransfers({ sends }: StampTransfersProps) { {/* To */} {/* Quantity */} {/* Tx hash */} - {/* Created */} + {/* Created */} From 0889d3ad030936cd9a93c157adc24195de7c8cd0 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 07:35:17 +0900 Subject: [PATCH 81/82] chore: move the getTxInfo inot utxoUtilis --- lib/utils/utxoUtils.ts | 25 +++++++++++++++++++++++++ server/services/xcpService.ts | 26 ++------------------------ 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/lib/utils/utxoUtils.ts b/lib/utils/utxoUtils.ts index 5e8a44e3f..76f7eb81a 100644 --- a/lib/utils/utxoUtils.ts +++ b/lib/utils/utxoUtils.ts @@ -22,6 +22,31 @@ export function isValidBitcoinAddress(address: string): boolean { ); } +export async function getTxInfo(tx: string): Promise { + const endpoint = `${BLOCKSTREAM_API_BASE_URL}/tx/${tx}`; + let timestamp: number | string = "N/A"; + + try { + const response = await fetch(endpoint); + if (!response.ok) { + console.error(`Failed to fetch transaction data: ${response.statusText}`); + return "N/A"; + } + + const data = await response.json(); + if (data.status && data.status.block_time) { + timestamp = data.status.block_time * 1000; + } else { + console.warn("Block time not found in the API response."); + return "N/A"; + } + } catch (error) { + console.error("Error fetching transaction data:", error); + return "N/A"; + } + return timestamp; +} + function reverseEndian(hexString: string): string { if (hexString.length % 2 !== 0) { hexString = "0" + hexString; diff --git a/server/services/xcpService.ts b/server/services/xcpService.ts index 4abc30b2b..85913ff8d 100644 --- a/server/services/xcpService.ts +++ b/server/services/xcpService.ts @@ -4,6 +4,7 @@ import { StampService } from "$server/services/stampService.ts"; import { dbManager } from "$server/database/databaseManager.ts"; import { DispenserFilter, DispenseEvent, XcpBalance } from "$types/index.d.ts"; import { formatSatoshisToBTC } from "$lib/utils/formatUtils.ts"; +import { getTxInfo } from "$lib/utils/utxoUtils.ts"; import { SATS_PER_KB_MULTIPLIER } from "$lib/utils/constants.ts"; import { logger } from "$lib/utils/logger.ts"; @@ -763,29 +764,6 @@ export class XcpManager { } } - static async getTxInfo(tx: string): Promise { - const endpoint = `https://blockstream.info/api/tx/${tx}`; - let timestamp: number | null = null; - - try { - const response = await fetch(endpoint); - if (!response.ok) { - console.error(`Failed to fetch transaction data: ${response.statusText}`); - return null; - } - - const data = await response.json(); - if (data.status && data.status.block_time) { - timestamp = data.status.block_time * 1000; - } else { - console.warn("Block time not found in the API response."); - } - } catch (error) { - console.error("Error fetching transaction data:", error); - } - return timestamp; - } - static async getXcpSendsByCPID( cpid: string, page: number = 1, @@ -826,7 +804,7 @@ export class XcpManager { response.result.map(async (send: any) => ({ tx_hash: send.tx_hash, block_index: send.block_index, - block_time: await this.getTxInfo(send.tx_hash), // Fetch block time + block_time: await getTxInfo(send.tx_hash), // Fetch block time source: send.source, destination: send.destination, quantity: send.quantity, From e962ada24d3d9956b2b39c8a0a034967c7bf57e3 Mon Sep 17 00:00:00 2001 From: itttm127 Date: Fri, 20 Dec 2024 08:02:57 +0900 Subject: [PATCH 82/82] chore: update holder table --- components/shared/HoldersGraph.tsx | 4 ++-- fresh.gen.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/shared/HoldersGraph.tsx b/components/shared/HoldersGraph.tsx index de14fdb25..0e2f8c1ce 100644 --- a/components/shared/HoldersGraph.tsx +++ b/components/shared/HoldersGraph.tsx @@ -68,7 +68,7 @@ export function HoldersGraph({ holders = [] }: HoldersGraphProps) { const tableLabelClassName = "text-sm mobileLg:text-base font-light text-stamp-grey-darker uppercase"; const tableValueClassName = - "text-xs mobileLg:text-sm font-normal text-stamp-grey-light"; + "text-xs mobileLg:text-sm font-normal text-stamp-grey-light w-full"; const totalHolders = holders.length; return ( @@ -83,7 +83,7 @@ export function HoldersGraph({ holders = [] }: HoldersGraphProps) {
-
+
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromTo - Amount - DateFromToAmountTx HashDate
- Block - - Address - - Amount - BlockAddressAmountTx HashDate
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
FromToAmountTx HashDateFromTo + Amount + Date
BlockAddressAmountTx HashDate + Block + + Address + + Amount +
{abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} + {abbreviateAddress(tx.creator)}{abbreviateAddress(tx.destination)}{formattedAmt} {formatDate(new Date(tx.block_time), { month: "numeric", day: "numeric", year: "numeric", })}
{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}{tx.block_index}{abbreviateAddress(tx.destination)}{formattedAmt}
diff --git a/fresh.gen.ts b/fresh.gen.ts index 05d8ace4f..37bc85806 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -15,10 +15,10 @@ import * as $api_internal_creatorName from "./routes/api/internal/creatorName.ts import * as $api_internal_csrfToken from "./routes/api/internal/csrfToken.ts"; import * as $api_internal_debug_headers from "./routes/api/internal/debug-headers.ts"; import * as $api_internal_fees from "./routes/api/internal/fees.ts"; +import * as $api_internal_src20Background from "./routes/api/internal/src20Background.ts"; import * as $api_internal_src20_details from "./routes/api/internal/src20/details.ts"; import * as $api_internal_src20_recentTransactions from "./routes/api/internal/src20/recentTransactions.ts"; import * as $api_internal_src20_trending from "./routes/api/internal/src20/trending.ts"; -import * as $api_internal_src20Background from "./routes/api/internal/src20Background.ts"; import * as $api_v2_path_ from "./routes/api/v2/[...path].ts"; import * as $api_v2_balance_address_ from "./routes/api/v2/balance/[address].ts"; import * as $api_v2_balance_getStampsBalance from "./routes/api/v2/balance/getStampsBalance.ts"; @@ -235,11 +235,11 @@ const manifest = { "./routes/api/internal/csrfToken.ts": $api_internal_csrfToken, "./routes/api/internal/debug-headers.ts": $api_internal_debug_headers, "./routes/api/internal/fees.ts": $api_internal_fees, + "./routes/api/internal/src20Background.ts": $api_internal_src20Background, "./routes/api/internal/src20/details.ts": $api_internal_src20_details, "./routes/api/internal/src20/recentTransactions.ts": $api_internal_src20_recentTransactions, "./routes/api/internal/src20/trending.ts": $api_internal_src20_trending, - "./routes/api/internal/src20Background.ts": $api_internal_src20Background, "./routes/api/v2/[...path].ts": $api_v2_path_, "./routes/api/v2/balance/[address].ts": $api_v2_balance_address_, "./routes/api/v2/balance/getStampsBalance.ts":