Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CallReceiverMockUpgradeable

Inherits: Initializable

State Variables

_array

uint256[] private _array;

Functions

__CallReceiverMock_init

function __CallReceiverMock_init() internal onlyInitializing;

__CallReceiverMock_init_unchained

function __CallReceiverMock_init_unchained() internal onlyInitializing;

mockFunction

function mockFunction() public payable returns (string memory);

mockFunctionEmptyReturn

function mockFunctionEmptyReturn() public payable;

mockFunctionWithArgs

function mockFunctionWithArgs(uint256 a, uint256 b) public payable returns (string memory);

mockFunctionNonPayable

function mockFunctionNonPayable() public returns (string memory);

mockStaticFunction

function mockStaticFunction() public pure returns (string memory);

mockFunctionRevertsNoReason

function mockFunctionRevertsNoReason() public payable;

mockFunctionRevertsReason

function mockFunctionRevertsReason() public payable;

mockFunctionThrows

function mockFunctionThrows() public payable;

mockFunctionOutOfGas

function mockFunctionOutOfGas() public payable;

mockFunctionWritesStorage

function mockFunctionWritesStorage(bytes32 slot, bytes32 value) public returns (string memory);

mockFunctionExtra

function mockFunctionExtra() public payable;

Events

MockFunctionCalled

event MockFunctionCalled();

MockFunctionCalledWithArgs

event MockFunctionCalledWithArgs(uint256 a, uint256 b);

MockFunctionCalledExtra

event MockFunctionCalledExtra(address caller, uint256 value);