Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: cairo <cairoeth@protonmail.com>
14 lines
278 B
Solidity
14 lines
278 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
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;
|
|
}
|
|
}
|