DeFi protocols (decentralized finance protocols) are formats, codes, and procedures governing decentralized finance systems. DeFi protocols are embodied in smart contracts on programmable blockchains.