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;

Functions

constructor

constructor();

_use

function _use(bytes4 selector_, address impl_) internal;

_setDictionary

function _setDictionary(address dictionary_) internal;

_implementation

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

Structs

Function

struct Function {
bytes4 selector;
address implementation;
}