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

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

export default function AdminWalletTransferOrdersPage() {
  return (
    <AdminPermissionGate requiredAny={PRD_WALLET_TRANSFER_ACCESS_ANY}>
      <TransferOrdersPanel />
    </AdminPermissionGate>
  );
}
