* Upgrade to latest solhint rc * Add private-vars-leading-underscore linter rule * Add leading underscore to GSNRecipient constants * Remove leading underscore from ERC165Checker functions * Add leading underscore to multiple private constants * Fix linter errors in mocks * Add leading underscore to ERC777's ERC1820 registry * Add changelog entry
18 lines
357 B
Solidity
18 lines
357 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
import "../utils/Arrays.sol";
|
|
|
|
contract ArraysImpl {
|
|
using Arrays for uint256[];
|
|
|
|
uint256[] private _array;
|
|
|
|
constructor (uint256[] memory array) public {
|
|
_array = array;
|
|
}
|
|
|
|
function findUpperBound(uint256 element) external view returns (uint256) {
|
|
return _array.findUpperBound(element);
|
|
}
|
|
}
|