A smart contract is a program that runs on a blockchain and automatically carries out actions when its conditions are met. Because the rules and outcomes are in code, smart contracts execute transparently and predictably, for example, minting vault tokens after a deposit or processing a redemption.