help4 min read
Glossary
Every term used on this site, defined once, in the order you would find them in a dictionary.
- Basis point (bps)
- One hundredth of a percent. 100 bps is 1%, and 200 bps is the fee ceiling here.
- Beneficiary
- The address a creator nominated at launch to receive its share of the swap fee. Fixed forever at registration.
- CREATE2
- A way of deploying a contract to an address you can compute in advance from a salt. Uniswap v4 hooks need it, because the pool manager reads a hook's permissions off its address.
- currency0 and currency1
- The two sides of a v4 pool, sorted numerically. Native ETH is address zero, so it is always currency0 in an Etherflow pool.
- Exact input and exact output
- Whether a swapper names the amount they are spending or the amount they want to receive. Both are charged here, in different hooks.
- Full range position
- Liquidity spread across every possible price rather than a band. Less capital efficient, but it never goes out of range and never needs managing.
- Hook
- A contract a v4 pool calls into around its own operations. Etherflow's takes a slice of the ETH side of every swap.
- LP fee
- The pool's own fee, paid to liquidity providers. 1% on every Etherflow pool, and separate from the hook fee.
- Orbit
- Arbitrum's framework for launching a chain that settles to Ethereum. Robinhood Chain is one.
- Pool id
- The keccak hash of a pool's key. What the hook stores fee terms against, and what feesByPool is indexed by.
- PoolManager
- The single Uniswap v4 contract that holds every pool's state and funds on a chain.
- Pull payment
- Crediting a balance and letting the owner withdraw, rather than sending funds unprompted. Used here so a recipient that cannot receive ETH cannot break anyone's swap.
- Rollup
- A chain that executes transactions itself and posts data to Ethereum for security. Robinhood Chain is one, which is why gas is cheap and blocks are fast.
- Salt
- The number mined until a CREATE2 address happens to carry the right permission bits. Found once at deploy time and then irrelevant.
- sqrtPriceX96
- How v4 stores a price: the square root of the ratio between the two currencies, as a fixed point number scaled by 2^96.
- Sniper
- A bot that watches the mempool and buys in the same block a pool opens. There is no protection against them here.
- Tick spacing
- How finely liquidity can be positioned along the price curve. 200 on every Etherflow pool.
- Transfer tax
- The older way to share fees, implemented inside the token. Bypassable through aggregators, which is why this project does not use one.
- Unlock callback
- The v4 pattern where a contract asks the pool manager for control, does its work, and settles every balance to zero before returning.