MadibaGroup / 2021-Upgrade

A project studying delegate call and design patterns for upgradeable smart contracts on Ethereum
MIT License
0 stars 1 forks source link

To Do: May 3 #1

Open PulpSpy opened 3 years ago

PulpSpy commented 3 years ago

Add security discussion

Add evaluation framework

Sample code

GreatSoshiant commented 3 years ago

Some Ideas:

GreatSoshiant commented 3 years ago

Check OpenZepplin upgrade patterns and find out the structure, events, and function names it used

GreatSoshiant commented 3 years ago
  1. In addresses that the "Upgraded" event fired before, we can find the new version's code using the implementation address and check the amount of change on the code using some code diff algorithms.
  2. In addresses that the "AdminChanged" event fired before, we can check if it changed from EOA to Multi-sig or another EOA or a governance structure.
  3. Don't forget to check for Pauseability and TimeLock and other stuff