The technical content top engineers rely on to level up.
6 min read
EIP-1167: Minimal Proxy Standard with Initialization (Clone pattern) !clones Image from https://pixabay.com/photos/stormtrooper-star-wars-lego-storm-2899993/ Introduction EIP-1167, which is also...
12 min read
ERC4626 Interface Explained ERC4626 is a tokenized vault standard that uses ERC20 tokens to represent shares of some other asset. How it works is you deposit one ERC20 token (token A) into the...
9 min read
Checklist for Technical Writing !An image of a completed checklist and the text "" Fluff Are fluff transitions removed? (”It is important to note, ”Why did they do this?”, “Here’s how we can solve...
5 min read
EIP-150 and the 63/64 Rule for Gas Introduction EIP-150, or Ethereum Improvement Proposal 150, is a protocol upgrade for the Ethereum blockchain. It was proposed on March 18, 2016, and implemented on...
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...
11 min read
Solidity Events Solidity events are the closest thing to a or statement in Ethereum. We will explain how they work, best practices for events, and go into a lot of technical details often omitted in...
8 min read
Governance Contract in Solidity The pattern of governance many DeFi applications follows is heavily inspired by Compound Finance’s implementation. Although, there isn’t an Ethereum Improvement...
8 min read
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...
1 min read
Verify Signature Solidity in Foundry Here is a minimal (copy and paste) example of how to safely create and verify ECDSA signatures with OpenZeppelin in the Foundry environment. Contract:...
7 min read
EIP-2930 - Ethereum access list Introduction An Ethereum access list transaction enables saving gas on cross-contract calls by declaring in advance which contract and storage slots will be accessed....
2 min read
Uint256 max value The uint256 max value can be obtained with which is or 2²⁵⁶-1. But it's cleaner and safer to use . The same can be used for signed integer types The math behind maximum values in...
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...