Smart Contract Security Glossary
Definitions, examples, and audit checks for Solidity, EVM, and DeFi security terms.
Browse by topic.
All glossary terms.
EVM
7Delegatecall
Delegatecall executes code from another contract while reading and writing the caller's storage, preserving the original caller context.
Function Selector
A function selector is the first 4 bytes of calldata that tells an EVM contract which function should handle a call.
Storage Collision
A storage collision happens when two variables or contracts use the same storage slot, corrupting state in upgradeable or delegatecall-based systems.
selfdestruct
selfdestruct is an EVM operation that can force-send Ether and historically removed contract code and storage under older semantics.
Calldata
Calldata is the read-only input data sent to a contract call, usually containing the function selector and ABI-encoded arguments.
CREATE2
CREATE2 is an EVM opcode that deploys contracts to deterministic addresses based on the deployer, salt, and init-code hash.
Storage Slot
A storage slot is a 32-byte indexed location in EVM contract storage used to hold state variables and derived storage data.