PolygonTransparentProxy.sol
Inherits from , a Openzeppelin v5 contract, with the following modifications: - Admin is a parameter in the constructor instead of being deployed. - Let the adm
Inherits from TransparentUpgradeableProxy, a Openzeppelin v5 contract, with the following modifications:
- Admin is a parameter in the constructor instead of being deployed.
- Let the admin get access to the proxy.
- Replace
_msgSender()withmsg.sender
Functions
constructor
Initializes an upgradeable proxy managed by an instance of a ProxyAdmin with an initialOwner backed by the implementation at _logic, and optionally initialized with _data as explained in ERC1967Proxy-constructor.
function constructor(
) public_proxyAdmin
Returns the admin of this proxy.
function _proxyAdmin(
) internal returns (address)_fallback
If caller is the admin, process the call internally. Otherwise, transparently fallback to the proxy behavior.
function _fallback(
) internalLast updated on
PolygonRollupBaseEtrog.sol
## Functions ### ##### Parameters | Name | Type | Description | | :--- | :--- | :------------------------------------------------------------------- | | | contr
PolygonZkEVMGlobalExitRootBaseStorage.sol
Abstract contract required to preserve the storage slots from previous versions. Inherits from ## Functions None. ## Variables ### Rollup root, contains all exi