        }

        // DAO functions
        function submitProposal() {
            const title = document.getElementById('proposalTitle').value;
            const description = document.getElementById('proposalDescription').value;
            const type = document.getElementById('proposalType').value;
            
            if (title && description) {
                // Submit DAO proposal via API
                fetch('/api/dao/propose', {
                    method: 'POST',
                    headers: