Codegobli (codegobli)

Codegobli

Solidity dev | Web3 learner | Building Meaningful Tech

0 Followers

Recent casts

Mini DeFi Bank Update Today I reviewed and upgraded my contract found flaws, patched ‘em, learned a lot. 🧠 Lessons + Fixes: ✅ Tracked direct ETH in receive() with an event log (didn’t even know I could tbh) ✅ Removed redundant require() in withdraw() (gas savings > over-checking) ✅ Added 24hr cooldown per withdrawal ✅ Built 10% annual interest logic primary school math finally paid off 😅 Next: 🎯 .reset() function for test mode 🎯 Testnet deploy this weekend 🧪 How would you test a Defi Bank contract? #Solidity #DeFi #SmartContracts #OpenZeppelin #BuilderJourney #MiniDeFiBank #Web3Dev

  • 0 replies
  • 0 recasts
  • 1 reaction

🛡️ Building a Mini DeFi Bank with a couple of security upgrades. Was using CEI, but I layered in: ✅ ReentrancyGuard (to block recursive withdraws) ✅ Pausable (for emergency stops) ✅ Ownable (so only admin controls pause/unpause) ✅ Custom modifiers + events for clean traceability Got stuck at first importing Ownable — forgot that newer OZ versions require initialOwner in the constructor. Easy fix once I caught it. Security isn’t optional. Cooldown logic + interest counter drops tomorrow. #solidity #defi #openzeppelin #smartcontracts

  • 0 replies
  • 0 recasts
  • 1 reaction

Top casts

🛡️ Building a Mini DeFi Bank with a couple of security upgrades. Was using CEI, but I layered in: ✅ ReentrancyGuard (to block recursive withdraws) ✅ Pausable (for emergency stops) ✅ Ownable (so only admin controls pause/unpause) ✅ Custom modifiers + events for clean traceability Got stuck at first importing Ownable — forgot that newer OZ versions require initialOwner in the constructor. Easy fix once I caught it. Security isn’t optional. Cooldown logic + interest counter drops tomorrow. #solidity #defi #openzeppelin #smartcontracts

  • 0 replies
  • 0 recasts
  • 1 reaction

Mini DeFi Bank Update Today I reviewed and upgraded my contract found flaws, patched ‘em, learned a lot. 🧠 Lessons + Fixes: ✅ Tracked direct ETH in receive() with an event log (didn’t even know I could tbh) ✅ Removed redundant require() in withdraw() (gas savings > over-checking) ✅ Added 24hr cooldown per withdrawal ✅ Built 10% annual interest logic primary school math finally paid off 😅 Next: 🎯 .reset() function for test mode 🎯 Testnet deploy this weekend 🧪 How would you test a Defi Bank contract? #Solidity #DeFi #SmartContracts #OpenZeppelin #BuilderJourney #MiniDeFiBank #Web3Dev

  • 0 replies
  • 0 recasts
  • 1 reaction

recast:farcaster://casts/0xfc1c889c761b37158b0e3ef8bc83091168436844bfd2ef72a3ef9962191fe0d6

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses