Browse all Smart Contract Security articles.

3 min read
Solidity test internal function To test an internal Solidity function, create a child contract that inherits from the contract being tested, wrap the parent contract’s internal function with an...
Last updated on Oct 29, 2025
6 min read
Solidity Coding Standards The purpose of this article is not to rehash the official Solidity Style Guide, which you should read. Rather, it is to document the common deviations from the style guide...
Last updated on Oct 29, 2025
The staking algorithm of SushiSwap MasterChef and Synthetix The MasterChef and Synthetix staking algorithms distribute a fixed reward pool among stakers according to their time-weighted contributions...
Last updated on Oct 29, 2025
7 min read
Solidity vs Rust A common misconception is that learning blockchain is about learning a new programming language. It isn't. Learning blockchain is far more akin to learning a framework than a...
Last updated on Oct 29, 2025
The blockchain shortage of developers is not real. !Typewriter close up Photo by markuswinkler (https://unsplash.com/@markuswinkler) It’s hard to read news about developers and not get the impression...
Last updated on Oct 29, 2025
The Transparent Upgradeable Proxy Pattern Explained in Detail The Transparent Upgradeable Proxy is a design pattern for upgrading a proxy while eliminating the possibility of a function selector...
Last updated on Oct 29, 2025
Finite Fields and Modular Arithmetic for ZK Proofs This article is the third in a series. We present finite fields in the context of circuits for zero-knowledge proofs. The previous chapters are P vs...
Last updated on Oct 22, 2025
Flash Loans and how to hack them: a walk through of ERC 3156 Flash loans are loans between smart contracts that must be repaid in the same transaction. This article describes the ERC 3156 flash loan...
Last updated on Oct 22, 2025
EIP-3448 MetaProxy Standard: Minimal Proxy with support for immutable metadata The minimal proxy standard allows us to parameterize the creation of the clone, but this requires an extra...
Last updated on Oct 22, 2025
6 min read
EIP 1967 Storage Slots for Proxies EIP 1967 is a standard for where to store information that proxy contracts need to execute. Both the UUPS (Universal Upgradeable Proxy Standard) and the Transparent...
Last updated on Oct 22, 2025
11 min read
ERC-7201 Storage Namespaces Explained ERC-7201 (formerly EIP-7201) is a standard for grouping storage variables together by a common identifier called a namespace, and also to document the group of...
Last updated on Oct 22, 2025
6 min read
ERC20 Votes: ERC5805 and ERC6372 !ERC20 Votes ERC20 Votes Knowledge of ERC20 Snapshot is assumed, please refer to our article on ERC20 Snapshot for an introduction to the subject. ERC20 Votes does...
Last updated on Oct 22, 2025