Browse DEF's website and content

Proxy Pattern

A smart contract design pattern that uses two contracts: a proxy contract that interfaces with users and stores the contract’s state, and an implementation contract that contains the business logic. The proxy delegates calls to the implementation contract and can be redirected to new implementations, allowing for upgrades without changing the contract’s address or losing its state. This pattern is more efficient than data separation patterns since the proxy can execute the implementation’s logic as if it were its own code.

Back to Dictionary

Latest Posts