GLOSSARY

Blockchain Glossary — DeFi Protocol Architecture Terms for Senior

Engineers — Abstract Account, Clone Factory, Dead Shares, Flash Accounting, Hook, Reentrancy Guard, and more — deep technical glossary for protocol engineers.

Senior engineer levelEVM internalsDeFi patternsSecurity concepts

Detailed answer

DeFi protocol architecture terms for senior engineers: Abstract Account (EIP-7702/ERC-4337 programmable validation), Clone Factory (EIP-1167 minimal proxies), Dead Shares (ERC-4626 inflation attack prevention), Flash Accounting (deferred token transfers), Hook (Uniswap V4 lifecycle custom logic), Reentrancy Guard (state variable preventing reentrancy), and Timelock (governance delay mechanism).

Abstract Account:

An EVM concept under EIP-7702 and ERC-4337 where accounts have programmable validation logic rather than requiring ECDSA signatures from a specific key.

Clone Factory:

A pattern using EIP-1167 minimal proxy contracts to deploy many identical copies of a contract cheaply — each clone delegatecalls to a single implementation.

Dead Shares / Seed Deposit:

Initial shares minted to the zero address or a dead address to prevent ERC-4626 inflation attacks by ensuring the initial exchange rate is near 1:1.

Flash Accounting:

A pattern (used in Uniswap V4 hooks) deferring token transfers until the end of a transaction and verifying balances at the end, enabling more complex multi-step operations with a single token transfer.

Hook (Uniswap V4):

A contract attached to a liquidity pool that executes custom logic at specific points in a swap's lifecycle (before/after swap, before/after liquidity modification).

Reentrancy Guard:

A state variable (or OpenZeppelin's ReentrancyGuard modifier) preventing a contract function from being called again before it finishes executing.

Timelock:

A governance mechanism delaying execution of sensitive operations (parameter changes, upgrades) by a fixed time period, giving users advance warning to exit if they disagree.

Need More Technical Blockchain Terms?

Get expert guidance on DeFi protocol architecture.