Blockchain & Web3
Smart Contracts & Solidity
6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- Walk me through how a reentrancy vulnerability happens in a Solidity contract and how you'd defend against it in current practice.
- How do upgradeable smart contracts work via the proxy pattern, and what storage hazards do you have to guard against?Go Pro
- Walk me through how you'd protect a smart contract against reentrancy, and where a ReentrancyGuard alone is not enough.Go Pro
- What is a smart contract, and how is it different from a normal backend service you'd write in something like Node.js?Go Pro
- In Solidity, when would you use calldata versus memory versus storage for a variable, and what's the trade-off?Go Pro
- What is reentrancy in a Solidity contract, and how does the checks-effects-interactions pattern prevent it?Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.