Copy logo as SVG
Copy wordmark as SVG
Brand guidelines
Home page
Home
Audits
Services
Services
Private Audits
Industry-leading smart contract security services
Competitive Audits
Compete, hack and win prizes
First Flights
Compete, hack and win prizes
Education
Learn how to build Web3 products and audit smart contracts
Certifications
Verify your skills through industry-recognised certifications
Research Platform
The ultimate security research tool
Video tutorials
Get up and running on new features and techniques.
Documentation
All the boring stuff that you (hopefully won’t) need.
Careers
We're hiring!
We’re always looking for talented people. Join our team!
Supported Chains
Ethereum
ZKsync
Arbitrum
Optimism
Polygon
Base
Binance
Avalanche
Solana
Latest case studies
Hardening Sablier’s v2.2 Codebase
DeFi
Tokens
Interoperability
Read case study
Fortifying the security of Oku Trade Uniswap v3 and Chainlink based on-chain limit orders
DeFi
Uniswap
Chainlink
Read case study
How to get started
Jump right in — get an overview of the basics and get started on building.
Watch video
Advanced features
Once you’re ready, learn more about advanced analytics, features and shortcuts.
Watch video
All case studies
Resources
Resources
Case Studies
Learn how our customers are making big changes.
Blog
The latest industry news, updates and info.
Documentation
Learn about our tools and technology
Glossary
All things DeFi and dev in plain English.
Brand Kit
Discover Cyfrin's brand
Newsletter
Stay up to date with the latest news.
Public Reports
Check out our public security records.
About Us
Learn about our team and our mission.
Video tutorials
Get up and running on new features and techniques.
Documentation
All the boring stuff that you (hopefully won’t) need.
Careers
We're hiring!
We’re always looking for talented people. Join our team!
Socials
Twitter
Discord
YouTube
GitHub
LinkedIn
Latest blog posts
ZKsync Governance Tool: Secure Proposal Verification
Read post
Multi-Party Computation (MPC): Secure, Private Collaboration
Read post
How I Used Solodit to Win Blockchain Security Contests
Read post
Cyfrin's Blockchain Security and Education Newsletter: March 2025
Read post
How to get started
Jump right in — get an overview of the basics and get started on building.
Watch video
Advanced features
Once you’re ready, learn more about advanced analytics, features and shortcuts.
Watch video
All blogs
Pricing
Request an audit
Resources
Glossary
All things DeFi and dev in plain English. Our glossary breaks down complex terms and concepts into relatable language, making it easier for you to grasp the essentials of decentralized finance.
Clear Filter(s)
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
#
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
EIPs/ERCs
#
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
EIPs/ERCs
Transaction
Address
Variable
Turing-complete
Signature
Curve Swap (Vyper Code Example)
Curve Add and Remove Liquidity (Vyper Code Example)
Rebase Token (Vyper Code Example)
Multi-Sig Wallet (Vyper Code Example)
Linear Interpolation (Vyper Code Example)
View and Pure Functions (Vyper Code Example)
Verify Signature (Vyper Code Example)
Unsafe Math (Vyper Code Example)
Send Ether (Vyper Code Example)
Self Destruct (Vyper Code Example)
Reentrancy Lock (Vyper Code Example)
Raw Call (Vyper Code Example)
Private and Public State Variables (Vyper Code Example)
Payable (Vyper Code Example)
Modules (Vyper Code Example)
Internal and External Functions (Vyper Code Example)
Interface (Vyper Code Example)
Imports (Vyper Code Example)
Immutable (Vyper Code Example)
If Else Conditional Statement (Vyper Code Example)
Hello World (Vyper Code Example)
Hash Function (Vyper Code Example)
Function (Vyper Code Example)
For Loop (Vyper Code Example)
Event (Vyper Code Example)
Error (Vyper Code Example)
Dynamic Arrays (Vyper Code Example)
Delegate Call (Vyper Code Example)
Default Function (Vyper Code Example)
Debug with Print (Vyper Code Example)
Data Types - Values (Vyper Code Example)
Data Types - References (Vyper Code Example)
Create New Contract (Vyper Code Example)
Constructor (Vyper Code Example)
Constants (Vyper Code Example)
Public Key
Protocol
Syntax
Private Key
63 / 64 Gas Rule (Solidity Code Example)
Foundry Time (Solidity Code Example)
Foundry Sign (Solidity Code Example)
Foundry Send (Solidity Code Example)
Foundry Mock Call (Solidity Code Example)
Foundry Label (Solidity Code Example)
Foundry Event (Solidity Code Example)
Foundry Error (Solidity Code Example)
Foundry Basic (Solidity Code Example)
Foundry Authorization (Solidity Code Example)
Vault Contract (Solidity Code Example)
Uniswap V3 Swaps (Solidity Code Examples)
Uniswap V3 Liquidity (Solidity Code Examples)
Uniswap V3 Flash Swap Arbitrage (Solidity Code Example)
Uniswap V3 Flash Loan (Solidity Code Example)
Uniswap V2 Swap (Solidity Code Example)
Uniswap V2 Optimal One Sided Supply (Solidity Code Example)
Uniswap V2 Flash Swap (Solidity Code Example)
Uniswap V2 Add Remove Liquidity (Solidity Code Example)
Stable Swap AMM (Solidity Code Example)
Discrete Staking Rewards (Solidity Code Example)
Staking Rewards (Solidity Code Example)
DAI Proxy Examples (Solidity Code Example)
Constant Sum AMM (Solidity Code Example)
Constant Product AMM (Solidity Code Example)
Chainlink Price Oracle (Solidity Code Example)
Echidna Fuzz Testing (Solidity Code Example)
EVM Memory Layout (Solidity Code Example)
EVM Storage (Solidity Code Example)
Cryptography
Smart Contract Metadata
ERC-3675
Nonce
Compiler
Bytecode
Gas
Decentralized App (dApp)
Keccak256
ERC-4337
Decentralized Finance (DeFi)
WETH Permit Hack (Solidity Code Example)
Vault Inflation Hack (Solidity Code Example)
Source of Randomness Hack (Solidity Code Example)
Signature Replay Hack (Solidity Code Example)
Self Destruct Hack (Solidity Code Example)
Re-entrancy Hack (Solidity Code Example)
Phishing with tx.origin Hack (Solidity Code Example)
Honeypot Hack (Solidity Code Example)
Hiding Malicious Code with External Contract Hack (Solidity Code Example)
Front Running Hack (Solidity Code Example)
Deploy Different Contracts at the Same Address Hack (Solidity Code Example)
Denial of Service Hack (Solidity Code Example)
Delegatecall Hack (Solidity Code Example)
Bypass Contract Size Check Hack (Solidity Code Example)
Block Timestamp Manipulation Hack (Solidity Code Example)
Arithmetic Overflow and Underflow Hack (Solidity Code Example)
Next
1 / 3
63 / 64 Gas Rule (Solidity Code Example)
ABI Decode (Solidity Code Example)
ABI Encode (Solidity Code Example)
AMM
Accessing Private Data Hack (Solidity Code Example)
Address
Arithmetic Overflow and Underflow Hack (Solidity Code Example)
Array (Solidity Code Example)
Arrays
Assembly Binary Exponentiation (Solidity Code Example)
Assembly Conditional Statements (Solidity Code Example)
Assembly Error (Solidity Code Example)
Assembly Loop (Solidity Code Example)
Assembly Math (Solidity Code Example)
Assembly Variable (Solidity Code Example)
Bi-Directional Payment Channel (Solidity Code Example)
Bitwise Operators (Solidity Code Example)
Block Timestamp Manipulation Hack (Solidity Code Example)
Blockchain
Bypass Contract Size Check Hack (Solidity Code Example)
Bytecode
Call (Solidity Code Example)
Calldata
Calling Other Contract (Solidity Code Example)
Calling Parent Contracts (Solidity Code Example)
Chainlink Price Oracle (Solidity Code Example)
Compiler
Consensus Algorithm
Constant Product AMM (Solidity Code Example)
Constant Sum AMM (Solidity Code Example)
Constants (Solidity Code Example)
Constants (Vyper Code Example)
Constructor (Solidity Code Example)
Constructor (Vyper Code Example)
Contract that Creates other Contracts (Solidity Code Example)
Create New Contract (Vyper Code Example)
Crowd Fund (Solidity Code Example)
Cryptocurrency
Cryptographic Verification
Cryptography
Curve Add and Remove Liquidity (Vyper Code Example)
Curve Swap (Vyper Code Example)
DAI Proxy Examples (Solidity Code Example)
Data Locations - Storage, Memory and Calldata (Solidity Code Example)
Data Types - References (Vyper Code Example)
Data Types - Values (Vyper Code Example)
Debug with Print (Vyper Code Example)
Decentralized App (dApp)
Decentralized Finance (DeFi)
Default Function (Vyper Code Example)
Delegate Call (Vyper Code Example)
Delegatecall (Solidity Code Example)
Delegatecall Hack (Solidity Code Example)
Denial of Service Hack (Solidity Code Example)
Deploy Any Contract (Solidity Code Example)
Deploy Different Contracts at the Same Address Hack (Solidity Code Example)
Discrete Staking Rewards (Solidity Code Example)
Dutch Auction (Solidity Code Example)
Dynamic Arrays (Vyper Code Example)
ERC-1155 (Solidity Code Example)
ERC-20
ERC-20 (Solidity Code Example)
ERC-3675
ERC-4337
ERC-721
ERC-721 (Solidity Code Example)
EVM Memory Layout (Solidity Code Example)
EVM Storage (Solidity Code Example)
Echidna Fuzz Testing (Solidity Code Example)
English Auction (Solidity Code Example)
Enum (Solidity Code Example)
Error (Solidity Code Example)
Error (Vyper Code Example)
Ether Wallet (Solidity Code Example)
Ether and Wei (Solidity Code Example)
Ethereum Virtual Machine (EVM)
Event (Vyper Code Example)
Events (Solidity Code Example)
Events Advanced (Solidity Code Example)
Fallback (Solidity Code Example)
Flash Loan
For Loop (Vyper Code Example)
For and While Loop (Solidity Code Example)
Foundry Authorization (Solidity Code Example)
Foundry Basic (Solidity Code Example)
Foundry Error (Solidity Code Example)
Foundry Event (Solidity Code Example)
Foundry Label (Solidity Code Example)
Foundry Mock Call (Solidity Code Example)
Foundry Send (Solidity Code Example)
Foundry Sign (Solidity Code Example)
Foundry Time (Solidity Code Example)
Front Running Hack (Solidity Code Example)
Function (Solidity Code Example)
Function (Vyper Code Example)
Function Modifier (Solidity Code Example)
Function Selector (Solidity Code Example)
Fuzz Testing
Gas
Gas Saving Techniques (Solidity Code Example)
Next