mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-14 04:32:17 -04:00
743 B
743 B
🐊 Proxies
TL;DR Proxies Patterns
Transparent Proxy Pattern (TPP)
- upgrade logic is stored in proxy itself.
- gas-inefficient
Universal Upgradable Proxy Standard (UUPS)
- upgrade logic is stored in logic itself
- gas-efficient
Unitialized proxy bug
- Developers might leave proxies unitialized - this can be a problem when it leads to changes such as granting ownership to the caller
- the owners of the contract can upgrade the implementation contract
- this bug can lead to the self-destruction of the implementation contract (proxy contract is bricked)