VIP 👤
🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles 🔌 API y routers
advanced

Phát triển Smart Contract an toàn

#blockchain #solidity #smart-contracts #security

Viết Smart Contract xử lý token ERC-20 với tính bảo mật cao.

Viết một Smart Contract bằng Solidity tuân thủ tiêu chuẩn ERC-20 nhưng bao gồm các tính năng nâng cao như pause mechanism (tạm dừng), burnable (đốt token), và role-based access control (quyền hạn dựa trên vai trò). Quan trọng hơn, hãy tích hợp các biện pháp bảo vệ chống lại các cuộc tấn công tái nhập (reentrancy attacks) và tràn số nguyên (integer overflow/underflow). Giải thích logic bảo mật trong từng đoạn mã.