Glossary

DeFi and Smart Contract Glossary

82 terms across AMM mechanics, security patterns, protocol architecture, tokenomics, and Solidity. Click any term for the full definition and related Academy modules.

82 terms

Web3

Web3 Basics

The vision of an internet built on public blockchains where users own their data, assets, and identity instead of relying on centralized companies.

View term

Blockchain

Web3 Basics

A shared database duplicated across thousands of computers, where records are grouped into blocks and linked in chronological order.

View term

Cryptocurrency

Web3 Basics

Digital money secured by cryptography and recorded on a blockchain, allowing people to send value directly without banks.

View term

Token

Web3 Basics

A digital asset created and managed by a smart contract on an existing blockchain, rather than having its own chain.

View term

Coin

Web3 Basics

A cryptocurrency that is native to its own blockchain and used to pay transaction fees and secure the network.

View term

Altcoin

Web3 Basics

Any cryptocurrency other than Bitcoin. The term combines 'alternative' and 'coin' and covers a huge range of projects, from established networks like Ethereum to thousands of small...

View term

Wallet

Web3 Basics

Software or hardware that stores your private keys and lets you send, receive, and manage crypto assets. A wallet does not actually hold coins; it holds the keys that prove ownersh...

View term

Private Key

Web3 Basics

A secret number that proves ownership of a crypto address and authorizes transactions from it. Anyone with the private key controls the funds, so it must never be shared.

View term

Seed Phrase (Recovery Phrase)

Web3 Basics

A list of 12 or 24 ordinary words that acts as the master backup for a wallet, capable of regenerating all its private keys.

View term

Public Address

Web3 Basics

A string of characters derived from your public key that others use to send you crypto, similar to an account number.

View term

Self-Custody

Web3 Basics

Holding your own crypto by controlling the private keys yourself, rather than trusting an exchange or company to hold them for you.

View term

Gas (Gas Fee)

Web3 Basics

The fee paid to have a transaction processed and included on a blockchain like Ethereum. Gas measures the computational work a transaction requires, and users pay in the network's...

View term

On-Chain Transaction

Web3 Basics

An action recorded directly on the blockchain, such as sending tokens or calling a smart contract. It is validated by the network, permanently stored, and visible to anyone.

View term

Block

Web3 Basics

A bundle of transactions grouped together and added to the blockchain as a single unit. Each block references the previous one, forming a chain.

View term

Node

Web3 Basics

A computer running blockchain software that stores a copy of the ledger and helps validate and relay transactions.

View term

Consensus Mechanism

Web3 Basics

The method a blockchain uses to get thousands of independent nodes to agree on which transactions are valid and what the ledger's true state is.

View term

Mining

Web3 Basics

The process in Proof of Work blockchains where computers compete to solve a hard math puzzle for the right to add the next block, earning newly created coins as a reward.

View term

Staking

Web3 Basics

Locking up coins to help secure a Proof of Stake blockchain, earning rewards in return. Validators put their stake at risk, so they lose funds if they act dishonestly.

View term

Proof of Work

Web3 Basics

A consensus mechanism where miners spend computing power solving puzzles to add blocks and secure the network.

View term

Proof of Stake

Web3 Basics

A consensus mechanism where validators lock up coins as collateral to earn the right to add blocks. Dishonest behavior gets their stake slashed, aligning incentives with honesty.

View term

Smart Contract

Web3 Basics

A program stored on a blockchain that runs automatically when its conditions are met, without needing an intermediary.

View term

dApp (Decentralized Application)

Web3 Basics

An application whose backend logic runs on smart contracts on a blockchain instead of on a company's private servers.

View term

DeFi (Decentralized Finance)

Web3 Basics

Financial services like lending, trading, and earning yield built on smart contracts instead of banks. Anyone with a wallet can use DeFi permissionlessly, and the code is public.

View term

CeFi (Centralized Finance)

Web3 Basics

Crypto financial services run by companies that hold customer funds and control the platform, such as centralized exchanges and lending desks.

View term

DEX (Decentralized Exchange)

Web3 Basics

A trading platform that runs entirely on smart contracts, letting users swap tokens directly from their own wallets without a company holding their funds.

View term

CEX (Centralized Exchange)

Web3 Basics

A company-run platform where you deposit funds and trade crypto through their servers, with the exchange holding your assets.

View term

Yield Farming

Web3 Basics

Moving crypto between DeFi protocols to earn the highest possible returns from interest, trading fees, and token rewards.

View term

APY

Web3 Basics

Annual Percentage Yield, the total return earned on a deposit over a year including compounding. In DeFi, APY figures can be very high but often depend on token rewards whose price...

View term

Stablecoin

Web3 Basics

A token designed to hold a steady value, usually pegged to a currency like the US dollar. Stablecoins let people trade and hold value on-chain without volatility.

View term

Oracle

Web3 Basics

A service that feeds real-world data, such as asset prices, into a blockchain so smart contracts can react to it. Blockchains cannot fetch external data on their own.

View term

NFT (Non-Fungible Token)

Web3 Basics

A unique token that represents ownership of a specific item, such as digital art, a collectible, or in-game asset.

View term

Minting

Web3 Basics

Creating a new token or NFT and recording it on the blockchain for the first time. Minting an NFT publishes it on-chain and assigns you as the owner, usually for a fee.

View term

DAO (Decentralized Autonomous Organization)

Web3 Basics

An organization governed by its members through on-chain voting instead of a traditional management hierarchy.

View term

Tokenomics

Web3 Basics

The economic design of a token, covering how it is created, distributed, and used, plus its supply schedule and incentives.

View term

Circulating Supply

Web3 Basics

The number of a token's units currently available and trading in the market, excluding locked, reserved, or not-yet-released tokens.

View term

Airdrop

Web3 Basics

A free distribution of tokens to wallets, often to reward early users or bootstrap a community. Protocols airdrop tokens to people who used them before a token launch.

View term

Layer 1 (L1)

Web3 Basics

A base blockchain that settles its own transactions and provides security for everything built on top, such as Ethereum, Bitcoin, or Solana.

View term

Layer 2 (L2)

Web3 Basics

A network built on top of a Layer 1 that processes transactions off the main chain to make them faster and cheaper, then posts results back for security.

View term

Rollup

Web3 Basics

A common type of Layer 2 that bundles many transactions together, executes them off-chain, and posts a compressed summary to the Layer 1.

View term

Cross-Chain Bridge

Web3 Basics

A tool that lets you move assets or data between different blockchains, for example bringing tokens from Ethereum to a Layer 2.

View term

MEV (Maximal Extractable Value)

Web3 Basics

The extra profit that block producers or bots can capture by reordering, inserting, or censoring transactions within a block.

View term

Rug Pull

Web3 Basics

A scam where a project's creators suddenly withdraw all the liquidity or funds and disappear, leaving holders with worthless tokens.

View term

Phishing

Web3 Basics

A social-engineering attack that tricks you into revealing your seed phrase or signing a malicious transaction, often via fake websites, emails, or support messages.

View term

Distributed Ledger

Web3 Basics

A record of transactions maintained simultaneously across many computers rather than in one central database. Every participant holds a synchronized copy, so there is no single poi...

View term

Fiat

Web3 Basics

Government-issued currency like the US dollar or euro, which has value because a state declares it legal tender rather than being backed by a commodity.

View term

HODL

Web3 Basics

A crypto term for holding an asset long-term through price swings instead of selling during volatility. It originated from a misspelled 'hold' in a 2013 forum post and is now read...

View term

FUD

Web3 Basics

Fear, Uncertainty, and Doubt: negative information or rumors, sometimes exaggerated or false, that scare people into selling. The term is common in crypto communities.

View term

FOMO

Web3 Basics

Fear Of Missing Out: the anxiety that drives people to buy an asset because its price is rising fast and they do not want to miss the gains.

View term

Whale

Web3 Basics

An individual or entity holding a very large amount of a cryptocurrency, enough that their trades can move the market.

View term

Immutable

Web3 Basics

Unchangeable once created. Blockchain records and deployed smart contract code are immutable, meaning no one can secretly alter past transactions or logic.

View term

Permissionless

Web3 Basics

A property of open blockchains and dApps where anyone can participate, transact, or build without asking a gatekeeper for approval.

View term

Trustless

Web3 Basics

A system where you do not have to trust any single party because the rules are enforced by code and verified by the network.

View term

Depeg

Web3 Basics

When a stablecoin loses its intended fixed value, for example a dollar-pegged token trading below one dollar. Depegs can be temporary from market stress or permanent from a failed...

View term

Automated Market Maker (AMM)

AMM

A smart contract that holds token reserves and enables trading without an order book. Prices are determined algorithmically based on the ratio of tokens in the pool.

View term

Constant Product Formula

AMM

The pricing invariant x * y = k, where x and y are token reserves and k is a constant. When one token is bought, the other's reserve increases to maintain k.

View term

Liquidity Pool

AMM

A smart contract holding paired token reserves that enables trading. Liquidity providers deposit equal value of two tokens and receive LP tokens representing their share.

View term

Liquidity Provider (LP)

AMM

A user who deposits tokens into a liquidity pool to facilitate trading, earning a share of trading fees in return. LPs take on impermanent loss risk in exchange for fee income.

View term

LP Token

AMM

A token minted to liquidity providers representing their share of a pool. LP tokens can be burned to withdraw the underlying tokens plus accumulated fees.

View term

Impermanent Loss

AMM

The difference between holding tokens in a liquidity pool versus holding them in a wallet. When the price ratio of pooled tokens changes, the pool rebalances, and LPs end up with m...

View term

Slippage

AMM

The difference between the expected price of a trade and the actual execution price. In AMMs, larger trades relative to pool size cause more slippage because each unit bought moves...

View term

TWAP Oracle

AMM

Time-Weighted Average Price oracle. An on-chain price feed calculated from cumulative price accumulators updated on every trade.

View term

Concentrated Liquidity

AMM

An AMM design (introduced by Uniswap V3) where liquidity providers can allocate capital to specific price ranges instead of across the entire curve.

View term

Flash Swap

AMM

A feature of Uniswap V2 where tokens are sent to the borrower before payment is verified. The borrower can use the tokens, then either return them or pay with the other token, all...

View term

Reentrancy Attack

Security

An exploit where a malicious contract calls back into the vulnerable contract before the first execution is complete, manipulating state that hasn't been updated yet.

View term

Flash Loan Attack

Security

An exploit that uses uncollateralized flash loans to temporarily manipulate prices, governance votes, or oracle readings within a single transaction.

View term

Front-running

Security

Observing a pending transaction in the mempool and submitting a transaction with a higher gas price to execute before it.

View term

Invariant

Security

A condition that must always be true throughout a contract's execution. In Uniswap V2, the key invariant is x * y >= k after every swap.

View term

CEI Pattern

Security

Checks-Effects-Interactions pattern. A Solidity best practice where you first validate inputs (Checks), then update state (Effects), then make external calls (Interactions).

View term

Oracle Manipulation

Security

Exploiting a price oracle to make the protocol act on incorrect price data. Spot price oracles (single-block readings) are trivially manipulable via flash loans.

View term

Factory Pattern

Architecture

A design pattern where one contract (the Factory) creates and registers other contracts (Pairs/Pools). In Uniswap V2, the Factory uses CREATE2 to deploy Pair contracts with determi...

View term

CREATE2

Architecture

An EVM opcode that deploys contracts to deterministic addresses based on the deployer address, a salt, and the contract bytecode.

View term

Proxy Pattern

Architecture

A smart contract architecture where users interact with a proxy contract that delegates calls to a separate implementation contract.

View term

Core vs Periphery

Architecture

An architecture pattern separating immutable, security-critical logic (Core: Pair, Factory) from replaceable user-facing contracts (Periphery: Router).

View term

Fee-on-Transfer Token

Architecture

A token that deducts a fee on every transfer, meaning the recipient receives less than the sender sent. These tokens break pre-calculated swap amounts because the actual tokens arr...

View term

Protocol Revenue

Tokenomics

Income generated by a protocol's core operations, distinct from token price appreciation. In Uniswap V2, protocol revenue comes from an optional 0.05% fee (1/6th of the 0.

View term

Token Vesting

Tokenomics

A schedule that releases tokens to holders over time rather than all at once. Prevents early investors and team members from selling immediately after launch.

View term

Governance Token

Tokenomics

A token that grants holders voting rights over protocol decisions. Can cover parameter changes (fee rates, collateral factors), treasury allocation, and upgrade proposals.

View term

Total Value Locked (TVL)

Tokenomics

The total value of assets deposited in a DeFi protocol's smart contracts. TVL is the most common metric for measuring protocol adoption, but it can be misleading: incentivized liqu...

View term

Storage Packing

Solidity

An EVM gas optimization where multiple state variables are packed into a single 32-byte storage slot. Reading one slot costs 2,100 gas.

View term

EIP-2612 Permit

Solidity

A standard that allows token approvals via off-chain signatures instead of on-chain transactions. Users sign a permit message, and anyone can submit it on-chain.

View term

Unchecked Block

Solidity

A Solidity 0.8+ block where arithmetic overflow/underflow checks are disabled. Used when overflow is intentional (e.g.

View term

Fixed-Point Arithmetic

Solidity

A technique for representing fractional numbers in Solidity (which has no native floating-point). Uniswap V2 uses UQ112.

View term