Smart Contract Metadata
Smart contract metadata provides context and additional information about the code, function, or data managed by a smart contract. While the smart contract code defines the logic, the metadata describes the parameters, the assets involved, or the external data sources used.
In derivatives, metadata might include the specific terms of an option contract, the underlying asset, or the expiration date. Because storing extensive metadata on-chain is costly, it is often stored in off-chain locations and referenced via a content identifier within the smart contract.
This allows for complex financial instruments to be managed on-chain while keeping the core contract code lean and efficient.