Skip to main content

MCTest

Git Source

Inherits: MCTestBase, Proxy_0

State Variables​

implementations​

mapping(bytes4 selector => address) implementations;

target​

address target = address(this);

functions​

Function[] internal functions;

dictionary​

address dictionary;

receiver​

address receiver = address(new Receive());

Functions​

_use​

function _use(bytes4 selector_, address impl_) internal;

_setDictionary​

function _setDictionary(address dictionary_) internal;

_implementation​

function _implementation() internal view override returns (address implementation);

receive​

receive() external payable;

Structs​

Function​

struct Function {
bytes4 selector;
address implementation;
}