Why Does a Transparent Proxy Need to Check the Caller’s Address?
The Transparent Proxy checks the caller's address to resolve a function name clash. If the caller is the contract admin, the proxy executes the internal upgrade-related functions (like upgradeTo ).
If the caller is any other user, the proxy assumes the user wants to call a function in the logic contract and uses delegatecall. This prevents regular users from accidentally or maliciously calling admin functions.
Glossar
Transparent Proxy
Proxy ⎊ A transparent proxy is an architectural pattern where the proxy contract explicitly stores the address of the implementation contract, and every external call is routed through the proxy, which then calls the implementation using a standard external call.
Transparent
Disclosure ⎊ Transparency within cryptocurrency, options trading, and financial derivatives centers on the readily available and verifiable information regarding market participants, order book dynamics, and the underlying mechanisms governing price discovery.