You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
I've created some diagrams to help bring some clarity around the contracts used in the Fractal framework, and the upgradeability pattern used.
The diagram below shows an example of two deployed DAOs that don't have any modules attached. Both DAOs have two proxies, one delegating calls to the DAO.sol implementation contract, and the other delegating calls to the AccessControl.sol implementation contract.
The proxy contracts store all state, and the implementation contracts don't store any state. Further details on the standards used can be found here:
The next diagram shows that if a new version of the DAO.sol implementation contract is deployed, and one DAO upgrades to this new implementation contract, it will not affect other DAOs.
The next diagram shows all the addressable on-chain contracts in the codebases current state. In the future as more modules are built, this diagram can be expanded to show the additional modules.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've created some diagrams to help bring some clarity around the contracts used in the Fractal framework, and the upgradeability pattern used.
The diagram below shows an example of two deployed DAOs that don't have any modules attached. Both DAOs have two proxies, one delegating calls to the DAO.sol implementation contract, and the other delegating calls to the AccessControl.sol implementation contract.
The proxy contracts store all state, and the implementation contracts don't store any state. Further details on the standards used can be found here:
https://eips.ethereum.org/EIPS/eip-1967
https://eips.ethereum.org/EIPS/eip-1822
The next diagram shows that if a new version of the DAO.sol implementation contract is deployed, and one DAO upgrades to this new implementation contract, it will not affect other DAOs.
The next diagram shows all the addressable on-chain contracts in the codebases current state. In the future as more modules are built, this diagram can be expanded to show the additional modules.
Beta Was this translation helpful? Give feedback.
All reactions