📖 Web3 Security Glossary

Essential terms and concepts in blockchain security and DeFi. Perfect for beginners and as a quick reference for experts.

Showing 30 of 30 terms

A

ABI

Application Binary Interface - A JSON representation of a smart contract's functions and events that allows external applications to interact with it.

Technical

Access Control

Security mechanisms that restrict which addresses can call certain functions in a smart contract.

Security

Audit

A comprehensive security review of smart contract code to identify vulnerabilities and suggest improvements.

Security

B

Block

A collection of transactions that are bundled together and added to the blockchain.

Blockchain

C

CEI Pattern

Checks-Effects-Interactions - A coding pattern where you first validate inputs, then update state, and finally make external calls.

Security

D

DeFi

Decentralized Finance - Financial services built on blockchain technology without traditional intermediaries.

Ecosystem

DEX

Decentralized Exchange - A cryptocurrency exchange that operates without a central authority.

Ecosystem

E

EIP

Ethereum Improvement Proposal - A design document providing information about new features or processes for Ethereum.

Technical

ERC-20

A standard interface for fungible tokens on Ethereum, defining functions like transfer and approve.

Standards

ERC-721

A standard interface for non-fungible tokens (NFTs) on Ethereum.

Standards

F

Fallback Function

A special function in Solidity that executes when a contract receives ETH or when no other function matches.

Technical

Flash Loan

An uncollateralized loan that must be borrowed and repaid within a single transaction.

DeFi

Front-Running

When someone sees a pending transaction and submits their own transaction first with higher gas to exploit it.

Security

G

Gas

A unit measuring the computational effort required to execute operations on Ethereum.

Blockchain

Governance

The system by which decisions are made in a decentralized protocol, often through token voting.

Ecosystem

I

Impermanent Loss

The temporary loss of funds experienced by liquidity providers due to price volatility.

DeFi

L

Liquidation

The process of closing a position when collateral falls below required levels in lending protocols.

DeFi

M

MEV

Maximal Extractable Value - The profit that can be extracted by reordering, inserting, or censoring transactions.

Security

Modifier

A Solidity construct that can change the behavior of functions, often used for access control.

Technical

O

Oracle

A service that provides external data (like prices) to smart contracts.

DeFi

P

Proxy

A smart contract pattern that allows upgrading contract logic while maintaining state and address.

Technical

R

Reentrancy

A vulnerability where an external call allows an attacker to re-enter a function before it completes.

Security

S

Sandwich Attack

An MEV attack where a transaction is surrounded by attacker transactions to profit from price movement.

Security

Slippage

The difference between expected and actual price when executing a trade.

DeFi

Smart Contract

Self-executing code deployed on a blockchain that automatically enforces the terms of an agreement.

Blockchain

Solidity

The primary programming language for writing smart contracts on Ethereum and EVM-compatible chains.

Technical

T

TVL

Total Value Locked - The total amount of assets deposited in a DeFi protocol.

DeFi

TWAP

Time-Weighted Average Price - A pricing mechanism that averages prices over time to resist manipulation.

DeFi

V

Vault

A smart contract that holds user funds and typically earns yield through various strategies.

DeFi

Vyper

A Python-like programming language for writing smart contracts on Ethereum.

Technical

Missing a term?

Help us improve this glossary by suggesting new terms.

Suggest on Twitter