Proxy
Inherits:AdminInternals
This abstract contract provides a fallback function that delegates all calls to another contract using the EVM. It implements the Instadapp infinite-proxy: https://github.com/Instadapp/infinite-proxy
Functions
constructor
constructor(address admin_, address dummyImplementation_) AdminInternals(admin_, dummyImplementation_);
getAdmin
Returns admin's address.
function getAdmin() external view returns (address);
getDummyImplementation
Returns dummy-implementations's address.
function getDummyImplementation() external view returns (address);
getImplementationSigs
Returns bytes4 sigs from implementation address If not registered then returns empty array.
function getImplementationSigs(address impl_) external view returns (bytes4[] memory);
getSigsImplementation
Returns implementation address from bytes4 sig. If sig is not registered then returns address(0).
function getSigsImplementation(bytes4 sig_) external view returns (address);
fallback
Fallback function that delegates calls to the address returned by Implementations registry.
fallback() external payable;
receive
receive() external payable;