Skip to content
Onchain Economics

Smart Contract

Self-executing code deployed on a blockchain that automatically enforces agreement terms when conditions are met.

In-Depth Explanation

Smart contracts are the foundation of DeFi—they hold funds, execute trades, and enforce rules without intermediaries. Once deployed, they're immutable (unless designed to be upgradeable). Smart contract risk is the risk of bugs or exploits in this code.

Related Terms

More in Infrastructure

View all →