You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
443 B
19 lines
443 B
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Comparators.sol)
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @dev Provides a set of functions to compare values.
|
|
*
|
|
* _Available since v5.1._
|
|
*/
|
|
library Comparators {
|
|
function lt(uint256 a, uint256 b) internal pure returns (bool) {
|
|
return a < b;
|
|
}
|
|
|
|
function gt(uint256 a, uint256 b) internal pure returns (bool) {
|
|
return a > b;
|
|
}
|
|
}
|
|
|