UNPKG

@venly/wallet-mcp

Version:

Production-ready MCP server enabling AI agents to perform Web3 wallet operations through Venly's blockchain infrastructure. Supports 14+ networks including Ethereum, Polygon, Arbitrum, and stablecoin operations.

104 lines 2.85 kB
/** * Financial Data Exporter * * Standardized financial reporting and data export for tax/accounting integration */ import type { TaxReport, PortfolioReport, TransactionHistoryExport, DateRange } from '../types/venly.js'; import { ExportFormat } from '../types/venly.js'; import { VenlyClient } from '../venly/VenlyClient.js'; /** * Export configuration options */ interface ExportConfig { includeMetadata: boolean; includePrivateData: boolean; timezone: string; currency: string; locale: string; } /** * Financial data exporter for standardized reporting */ export declare class FinancialDataExporter { private readonly logger; private readonly defaultConfig; constructor(_venlyClient: VenlyClient); /** * Export transaction history for specified wallets */ exportTransactionHistory(walletIds: string[], format: ExportFormat, dateRange: DateRange, config?: Partial<ExportConfig>): Promise<TransactionHistoryExport>; /** * Generate comprehensive tax report */ exportTaxReport(walletIds: string[], taxYear: number, jurisdiction: string, config?: Partial<ExportConfig>): Promise<TaxReport>; /** * Generate comprehensive portfolio report */ exportPortfolioReport(walletIds: string[], dateRange: DateRange, config?: Partial<ExportConfig>): Promise<PortfolioReport>; /** * Fetch transaction history for a wallet (simulated) */ private fetchTransactionHistory; /** * Enrich token balances with market data (simulated) */ private enrichTokenBalances; /** * Calculate tax implications */ private calculateTaxImplications; /** * Calculate portfolio performance metrics */ private calculatePerformanceMetrics; /** * Format transaction data for export */ private formatTransactionData; /** * Format data as CSV */ private formatAsCSV; /** * Format data as JSON */ private formatAsJSON; /** * Format data as XLSX (simulated) */ private formatAsXLSX; /** * Generate tax report PDF (simulated) */ private generateTaxReportPDF; /** * Generate portfolio report PDF (simulated) */ private generatePortfolioReportPDF; /** * Upload export file (simulated) */ private uploadExportFile; /** * Calculate total volume from transactions */ private calculateTotalVolume; /** * Generate tax warnings */ private generateTaxWarnings; /** * Get tax disclaimers for jurisdiction */ private getTaxDisclaimers; /** * Generate unique export ID */ private generateExportId; /** * Create Winston logger instance */ private createLogger; } export {}; //# sourceMappingURL=FinancialDataExporter.d.ts.map