Internals ​
Inherits:FluidVaultOperate
Fluid "VaultT4" (Vault Type 4). Fluid vault protocol main operate contract. T4 -> Smart collateral | Smart debt
Functions ​
_colOperateBefore ​
solidity
function _colOperateBefore(int256 newColToken0_, int256 newColToken1_, int256 colSharesMinMax_, address to_)
internal
returns (int256 shares_);
_debtOperateBefore ​
solidity
function _debtOperateBefore(int256 newDebtToken0_, int256 newDebtToken1_, int256 debtSharesMinMax_, address to_)
internal
returns (int256 shares_);
_colOperatePerfectBefore ​
solidity
function _colOperatePerfectBefore(int256 perfectColShares_, int256 colToken0MinMax_, int256 colToken1MinMax_)
internal
returns (int256 newColToken0_, int256 newColToken1_);
_debtOperatePerfectPayback ​
solidity
function _debtOperatePerfectPayback(int256 perfectDebtShares_, int256 debtToken0MinMax_, int256 debtToken1MinMax_)
internal
returns (int256 newDebtToken0_, int256 newDebtToken1_);
_colOperatePerfectAfter ​
solidity
function _colOperatePerfectAfter(
int256 perfectColShares_,
int256 colToken0MinMax_,
int256 colToken1MinMax_,
address to_
) internal returns (int256 newColToken0_, int256 newColToken1_);
_debtOperatePerfectBorrow ​
solidity
function _debtOperatePerfectBorrow(
int256 perfectDebtShares_,
int256 debtToken0MinMax_,
int256 debtToken1MinMax_,
address to_
) internal returns (int256 newDebtToken0_, int256 newDebtToken1_);
constructor ​
solidity
constructor(ConstantViews memory constants_) FluidVaultOperate(constants_);