import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
import { PRD_WALLET_TX_ACCESS_ANY } from "@/lib/admin-prd";
import { WalletTxnsPanel } from "@/modules/wallet/wallet-console";
import { buildPageMetadata } from "@/lib/page-metadata";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("wallet", "walletTransactions");

export default function AdminWalletTransactionsPage() {
  return (
    <AdminPermissionGate requiredAny={PRD_WALLET_TX_ACCESS_ANY}>
      <WalletTxnsPanel />
    </AdminPermissionGate>
  );
}
