Browse DEF's website and content

Data Separation Pattern

One kind of software design pattern employed in DeFi protocols that splits functionality between two smart contracts: one for storing data (i.e., state) and another for operational logic (i.e., how software behaves). Under this design, only the logic contract is upgradable, meaning it can be replaced with a new logic contract, while the state contract is not.

Back to Dictionary

Latest Posts