feat(governance): implement real blockchain data for governance section

- Update ElectionsInterface to fetch real elections from welati pallet
- Add MyVotes component for user voting history (proposals, elections, delegations)
- Add GovernanceHistory component for completed elections and proposals
- Integrate DelegationManager into GovernanceInterface delegation tab
- Fix linter errors across multiple files (unused imports, type annotations)
- Update eslint.config.js to ignore SDK docs and CJS files
This commit is contained in:
2025-12-11 01:45:13 +03:00
parent 11678fe7cd
commit 47ea12d0de
286 changed files with 1393 additions and 317 deletions
@@ -20,11 +20,6 @@ import {
Loader2,
AlertCircle,
Download,
Upload,
Send,
Link2,
Coins,
TestTube,
ChevronRight,
} from 'lucide-react';
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card';
@@ -61,7 +56,7 @@ interface XCMConfigurationWizardProps {
interface StepStatus {
completed: boolean;
data?: any;
data?: unknown;
error?: string;
}