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 BasicsThe vision of an internet built on public blockchains where users own their data, assets, and identity instead of relying on centralized companies.
View termBlockchain
Web3 BasicsA shared database duplicated across thousands of computers, where records are grouped into blocks and linked in chronological order.
View termCryptocurrency
Web3 BasicsDigital money secured by cryptography and recorded on a blockchain, allowing people to send value directly without banks.
View termToken
Web3 BasicsA digital asset created and managed by a smart contract on an existing blockchain, rather than having its own chain.
View termCoin
Web3 BasicsA cryptocurrency that is native to its own blockchain and used to pay transaction fees and secure the network.
View termAltcoin
Web3 BasicsAny 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 termWallet
Web3 BasicsSoftware 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 termPrivate Key
Web3 BasicsA 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 termSeed Phrase (Recovery Phrase)
Web3 BasicsA list of 12 or 24 ordinary words that acts as the master backup for a wallet, capable of regenerating all its private keys.
View termPublic Address
Web3 BasicsA string of characters derived from your public key that others use to send you crypto, similar to an account number.
View termSelf-Custody
Web3 BasicsHolding your own crypto by controlling the private keys yourself, rather than trusting an exchange or company to hold them for you.
View termGas (Gas Fee)
Web3 BasicsThe 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 termOn-Chain Transaction
Web3 BasicsAn 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 termBlock
Web3 BasicsA bundle of transactions grouped together and added to the blockchain as a single unit. Each block references the previous one, forming a chain.
View termNode
Web3 BasicsA computer running blockchain software that stores a copy of the ledger and helps validate and relay transactions.
View termConsensus Mechanism
Web3 BasicsThe 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 termMining
Web3 BasicsThe 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 termStaking
Web3 BasicsLocking 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 termProof of Work
Web3 BasicsA consensus mechanism where miners spend computing power solving puzzles to add blocks and secure the network.
View termProof of Stake
Web3 BasicsA 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 termSmart Contract
Web3 BasicsA program stored on a blockchain that runs automatically when its conditions are met, without needing an intermediary.
View termdApp (Decentralized Application)
Web3 BasicsAn application whose backend logic runs on smart contracts on a blockchain instead of on a company's private servers.
View termDeFi (Decentralized Finance)
Web3 BasicsFinancial 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 termCeFi (Centralized Finance)
Web3 BasicsCrypto financial services run by companies that hold customer funds and control the platform, such as centralized exchanges and lending desks.
View termDEX (Decentralized Exchange)
Web3 BasicsA trading platform that runs entirely on smart contracts, letting users swap tokens directly from their own wallets without a company holding their funds.
View termCEX (Centralized Exchange)
Web3 BasicsA company-run platform where you deposit funds and trade crypto through their servers, with the exchange holding your assets.
View termYield Farming
Web3 BasicsMoving crypto between DeFi protocols to earn the highest possible returns from interest, trading fees, and token rewards.
View termAPY
Web3 BasicsAnnual 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 termStablecoin
Web3 BasicsA 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 termOracle
Web3 BasicsA 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 termNFT (Non-Fungible Token)
Web3 BasicsA unique token that represents ownership of a specific item, such as digital art, a collectible, or in-game asset.
View termMinting
Web3 BasicsCreating 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 termDAO (Decentralized Autonomous Organization)
Web3 BasicsAn organization governed by its members through on-chain voting instead of a traditional management hierarchy.
View termTokenomics
Web3 BasicsThe economic design of a token, covering how it is created, distributed, and used, plus its supply schedule and incentives.
View termCirculating Supply
Web3 BasicsThe number of a token's units currently available and trading in the market, excluding locked, reserved, or not-yet-released tokens.
View termAirdrop
Web3 BasicsA 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 termLayer 1 (L1)
Web3 BasicsA base blockchain that settles its own transactions and provides security for everything built on top, such as Ethereum, Bitcoin, or Solana.
View termLayer 2 (L2)
Web3 BasicsA 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 termRollup
Web3 BasicsA common type of Layer 2 that bundles many transactions together, executes them off-chain, and posts a compressed summary to the Layer 1.
View termCross-Chain Bridge
Web3 BasicsA tool that lets you move assets or data between different blockchains, for example bringing tokens from Ethereum to a Layer 2.
View termMEV (Maximal Extractable Value)
Web3 BasicsThe extra profit that block producers or bots can capture by reordering, inserting, or censoring transactions within a block.
View termRug Pull
Web3 BasicsA scam where a project's creators suddenly withdraw all the liquidity or funds and disappear, leaving holders with worthless tokens.
View termPhishing
Web3 BasicsA 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 termDistributed Ledger
Web3 BasicsA 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 termFiat
Web3 BasicsGovernment-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 termHODL
Web3 BasicsA 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 termFUD
Web3 BasicsFear, Uncertainty, and Doubt: negative information or rumors, sometimes exaggerated or false, that scare people into selling. The term is common in crypto communities.
View termFOMO
Web3 BasicsFear 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 termWhale
Web3 BasicsAn individual or entity holding a very large amount of a cryptocurrency, enough that their trades can move the market.
View termImmutable
Web3 BasicsUnchangeable once created. Blockchain records and deployed smart contract code are immutable, meaning no one can secretly alter past transactions or logic.
View termPermissionless
Web3 BasicsA property of open blockchains and dApps where anyone can participate, transact, or build without asking a gatekeeper for approval.
View termTrustless
Web3 BasicsA system where you do not have to trust any single party because the rules are enforced by code and verified by the network.
View termDepeg
Web3 BasicsWhen 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 termAutomated Market Maker (AMM)
AMMA 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 termConstant Product Formula
AMMThe 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 termLiquidity Pool
AMMA 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 termLiquidity Provider (LP)
AMMA 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 termLP Token
AMMA 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 termImpermanent Loss
AMMThe 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 termSlippage
AMMThe 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 termTWAP Oracle
AMMTime-Weighted Average Price oracle. An on-chain price feed calculated from cumulative price accumulators updated on every trade.
View termConcentrated Liquidity
AMMAn AMM design (introduced by Uniswap V3) where liquidity providers can allocate capital to specific price ranges instead of across the entire curve.
View termFlash Swap
AMMA 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 termReentrancy Attack
SecurityAn 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 termFlash Loan Attack
SecurityAn exploit that uses uncollateralized flash loans to temporarily manipulate prices, governance votes, or oracle readings within a single transaction.
View termFront-running
SecurityObserving a pending transaction in the mempool and submitting a transaction with a higher gas price to execute before it.
View termInvariant
SecurityA 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 termCEI Pattern
SecurityChecks-Effects-Interactions pattern. A Solidity best practice where you first validate inputs (Checks), then update state (Effects), then make external calls (Interactions).
View termOracle Manipulation
SecurityExploiting 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 termFactory Pattern
ArchitectureA 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 termCREATE2
ArchitectureAn EVM opcode that deploys contracts to deterministic addresses based on the deployer address, a salt, and the contract bytecode.
View termProxy Pattern
ArchitectureA smart contract architecture where users interact with a proxy contract that delegates calls to a separate implementation contract.
View termCore vs Periphery
ArchitectureAn architecture pattern separating immutable, security-critical logic (Core: Pair, Factory) from replaceable user-facing contracts (Periphery: Router).
View termFee-on-Transfer Token
ArchitectureA 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 termProtocol Revenue
TokenomicsIncome 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 termToken Vesting
TokenomicsA 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 termGovernance Token
TokenomicsA token that grants holders voting rights over protocol decisions. Can cover parameter changes (fee rates, collateral factors), treasury allocation, and upgrade proposals.
View termTotal Value Locked (TVL)
TokenomicsThe 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 termStorage Packing
SolidityAn EVM gas optimization where multiple state variables are packed into a single 32-byte storage slot. Reading one slot costs 2,100 gas.
View termEIP-2612 Permit
SolidityA 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 termUnchecked Block
SolidityA Solidity 0.8+ block where arithmetic overflow/underflow checks are disabled. Used when overflow is intentional (e.g.
View termFixed-Point Arithmetic
SolidityA technique for representing fractional numbers in Solidity (which has no native floating-point). Uniswap V2 uses UQ112.
View term