Structs ​
Pool ​
solidity
struct Pool {
address pool;
address token0;
address token1;
uint256 fee;
}
PoolWithReserves ​
solidity
struct PoolWithReserves {
address pool;
address token0;
address token1;
uint256 fee;
struct IFluidDexT1.CollateralReserves collateralReserves;
struct IFluidDexT1.DebtReserves debtReserves;
struct Structs.DexLimits limits;
}
TokenLimit ​
solidity
struct TokenLimit {
uint256 available;
uint256 expandsTo;
uint256 expandDuration;
}
DexLimits ​
solidity
struct DexLimits {
struct Structs.TokenLimit withdrawableToken0;
struct Structs.TokenLimit withdrawableToken1;
struct Structs.TokenLimit borrowableToken0;
struct Structs.TokenLimit borrowableToken1;
}