Constants ​
State Variables ​
RESERVE_CONTRACT ​
solidity
IFluidReserveContract public immutable RESERVE_CONTRACT;
LIQUIDITY ​
solidity
IFluidLiquidity public immutable LIQUIDITY;
LIQUIDITY_RESOLVER ​
solidity
IFluidLiquidityResolver public immutable LIQUIDITY_RESOLVER;
PROTOCOL ​
solidity
address public immutable PROTOCOL;
BORROW_TOKEN ​
solidity
address public immutable BORROW_TOKEN;
MAX_UTILIZATION ​
max utilization of total supply that will be set as max borrow limit. In percent (100 = 1%, 1 = 0.01%)
solidity
uint256 public immutable MAX_UTILIZATION;
MIN_UPDATE_DIFF ​
minimum percent difference to trigger an update. In percent (100 = 1%, 1 = 0.01%)
solidity
uint256 public immutable MIN_UPDATE_DIFF;
_LIQUDITY_PROTOCOL_BORROW_SLOT ​
solidity
bytes32 internal immutable _LIQUDITY_PROTOCOL_BORROW_SLOT;
MAX_UTILIZATION_PRECISION ​
solidity
uint256 internal constant MAX_UTILIZATION_PRECISION = 1e4;
DEFAULT_EXPONENT_SIZE ​
solidity
uint256 internal constant DEFAULT_EXPONENT_SIZE = 8;
DEFAULT_EXPONENT_MASK ​
solidity
uint256 internal constant DEFAULT_EXPONENT_MASK = 0xff;
EXCHANGE_PRICES_PRECISION ​
solidity
uint256 internal constant EXCHANGE_PRICES_PRECISION = 1e12;
X14 ​
solidity
uint256 internal constant X14 = 0x3fff;
X18 ​
solidity
uint256 internal constant X18 = 0x3ffff;
X24 ​
solidity
uint256 internal constant X24 = 0xffffff;