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

AddressArraysMock

State Variables

_array

address[] private _array;

Functions

constructor

constructor(address[] memory array);

unsafeAccess

function unsafeAccess(uint256 pos) external view returns (address);

sort

function sort(address[] memory array) external pure returns (address[] memory);

sortReverse

function sortReverse(address[] memory array) external pure returns (address[] memory);

_reverse

function _reverse(address a, address b) private pure returns (bool);

unsafeSetLength

function unsafeSetLength(uint256 newLength) external;

length

function length() external view returns (uint256);