Smart Contract
A smart contract is a self-executing agreement with the terms of the contract directly written into lines of code stored on a blockchain. These programs automatically trigger actions, such as the transfer of assets or the execution of a derivative trade, once predefined conditions are satisfied.
Because they operate on decentralized networks, smart contracts eliminate the need for manual oversight or legal enforcement for routine transactions. They serve as the foundational building blocks for decentralized finance by ensuring that protocol logic is executed exactly as intended without bias or downtime.
However, their reliance on code means they are subject to risks related to bugs or logic vulnerabilities that could be exploited. In derivatives, they manage margin, collateralization, and settlement without human intervention.