diff --git a/src/features/transactions/components/transactions-table-columns.tsx b/src/features/transactions/components/transactions-table-columns.tsx index ac41e4dd5..13112f736 100644 --- a/src/features/transactions/components/transactions-table-columns.tsx +++ b/src/features/transactions/components/transactions-table-columns.tsx @@ -4,6 +4,7 @@ import { PaymentTransactionSubType, Transaction, TransactionType, + SignatureType, } from '@/features/transactions/models' import { cn } from '@/features/common/utils' import { ColumnDef } from '@tanstack/react-table' @@ -116,9 +117,26 @@ const toColumn: ColumnDef = { } const typeColumn: ColumnDef = { header: 'Type', - accessorFn: (transaction) => transaction.type, - cell: (c) => ()} />, + accessorFn: (transaction) => transaction, + cell: (c) => { + const transaction = c.getValue() + const lsigBase64Program = transaction.signature?.type === SignatureType.Logic ? transaction.signature?.logic : null + const isFalconPQSig = + lsigBase64Program !== null && + (() => { + const bytes = atob(lsigBase64Program) + return bytes.length == 1805 && bytes.charCodeAt(bytes.length - 1) === 0x85 + })() + + return ( +
+ + {isFalconPQSig && 🦅PQ} +
+ ) + }, } + const amountColumn: ColumnDef = { header: transactionAmountLabel, accessorFn: (transaction) => transaction,