Skip to main content

SimpleMockProxyLib

Git Source

State Variables​

STORAGE_LOCATION​

bytes32 internal constant STORAGE_LOCATION = 0x64a9f0903a8f864d59bc40808555c0090d6ada027fd81884feeb2af9acdbc200;

Functions​

Storage​

function Storage() internal pure returns (SimpleMockProxyStorage storage ref);

set​

function set(bytes4 selector, address implementation) internal;

getImplementation​

function getImplementation(bytes4 selector) internal view returns (address);

Structs​

SimpleMockProxyStorage​

Note: storage-location: erc7021:mc.mock.proxy

struct SimpleMockProxyStorage {
mapping(bytes4 selector => address) implementations;
}