Blog
The technical content top engineers rely on to level up.
4 min read
Public and Private Inputs
A public input in Circom is a signal in the witness that will be revealed to the verifier.
3 min read
Symbolic Variables in Circom
A symbolic variable in Circom is a variable that has been assigned values from a signal.
6 min read
Circom Template Parameters, Variables, Loops, If Statements, Assert
This chapter covers essential syntax, which you'll see in most Circom programs.
6 min read
Tick limits in Uniswap V3
The smallest tick in Uniswap v3 is -887,272 and the largest tick is 887,272.
9 min read
Square Root Price in Uniswap V3
In Uniswap V2, the protocol tracks token reserves and derives the spot price, p_x=y/x, and total liquidity, L=xy, where x and y are the reserves of…
13 min read
ERC-6909 Minimal Multi-Token Standard
The ERC-6909 token standard is a streamlined alternative to the ERC-1155 token standard.
12 min read
Coding a Solidity rebase token
A “rebase token” (sometimes “rebasing token”) is an ERC-20 token where the total supply, and the balances of token holders, can change without transfers…
25 min read
The Diamond Proxy Pattern Explained
The Diamond Pattern (ERC-2535) is a proxy pattern where the proxy contract uses multiple implementation contracts simultaneously, unlike the Transparent…
13 min read
Q Number Format (Qm.n) Explained for Solidity
Q numbers store fractions as binary fixed-point integers in Qm.n format. Learn to convert to and from Q numbers, their max value, and how to do math on them.
10 min read
Introduction to Proxies
Proxy contracts enable smart contracts to retain their state while allowing their logic to be upgraded.
15 min read
Introducing ticks in Uniswap V3
This article explains what ticks are in Uniswap V3. Ticks enable gas-efficient accounting of concentrated liquidity, so let’s quickly review concentrated…
18 min read
How Concentrated Liquidity in Uniswap V3 Works
This article explains how Uniswap V3 implements concentrated liquidity. We assume the reader already understands Uniswap V2.