mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-09 15:27:55 -05:00
We use `IStakeManagerProxy` to ensure instances of `TransparentProxy` are stake managers where necessary.
13 lines
399 B
Solidity
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();
|
|
}
|
|
}
|