|
|
|
|
|
|
|
|
|
pragma solidity ^0.8.7;
|
|
|
|
import "./ERC1967Proxy.sol";
|
|
|
|
contract PEPEJold is ERC1967Proxy {
|
|
|
|
* @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
|
|
* optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.
|
|
*/
|
|
constructor(address _logic) payable ERC1967Proxy(_logic, bytes("")) {}
|
|
|
|
|
|
|
|
* @dev Returns the current implementation.
|
|
*
|
|
* NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
|
|
*
|
|
* TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
|
|
* https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
|
|
* `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
|
|
*/
|
|
function implementation() public view returns (address) {
|
|
return _implementation();
|
|
}
|
|
} |