mirror of
https://github.com/Instadapp/infinite-proxy.git
synced 2024-07-29 21:47:49 +00:00
added proxy interface
This commit is contained in:
parent
2989ad5ef3
commit
e9078dca61
24
contracts/infiniteProxy/IProxy.sol
Normal file
24
contracts/infiniteProxy/IProxy.sol
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
pragma solidity ^0.8.0;
|
||||||
|
|
||||||
|
interface IProxy {
|
||||||
|
function setAdmin(address newAdmin_) external;
|
||||||
|
|
||||||
|
function setDummyImplementation(address newDummyImplementation_) external;
|
||||||
|
|
||||||
|
function addImplementation(address implementation_, bytes4[] calldata sigs_)
|
||||||
|
external;
|
||||||
|
|
||||||
|
function removeImplementation(address implementation_) external;
|
||||||
|
|
||||||
|
function getAdmin() external view returns (address);
|
||||||
|
|
||||||
|
function getDummyImplementation() external view returns (address);
|
||||||
|
|
||||||
|
function getImplementationSigs(address impl_)
|
||||||
|
external
|
||||||
|
view
|
||||||
|
returns (bytes4[] memory);
|
||||||
|
|
||||||
|
function getSigsImplementation(bytes4 sig_) external view returns (address);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user