636 B
636 B
Solidity API
Reputation
maxLimit
uint256 maxLimit
Asymptote numerator constant value for the limiter
fx.
magicValue
uint256 magicValue
Denominator's constant operand for the limiter
fx.
constructor
constructor() public payable
limiter
function limiter(uint256 _userCredit) external pure returns (uint256 _spendLimit)
sqrt
function sqrt(uint256 x) internal pure returns (uint256 z)
Taken from Solmate's FixedPointMathLib. (https://github.com/transmissions11/solmate/blob/main/src/utils/FixedPointMathLib.sol)