Files
staking-reward-streamer/src/TransparentProxy.sol
r4bbit 177aba24d6 refactor: introduce TransparentProxy in favor of StakeManagerProxy
We use `IStakeManagerProxy` to ensure instances of `TransparentProxy`
are stake managers where necessary.
2025-02-06 08:52:53 +01:00

13 lines
399 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
contract TransparentProxy is ERC1967Proxy {
constructor(address _implementation, bytes memory _data) ERC1967Proxy(_implementation, _data) { }
function implementation() external view returns (address) {
return _implementation();
}
}