Internals ​
Inherits:FluidVaultOperate
Fluid "VaultT2" (Vault Type 2). Fluid vault protocol main operate contract. T2 -> Smart collateral | Normal debt
Functions ​
_colOperateBefore ​
solidity
function _colOperateBefore(int256 newColToken0_, int256 newColToken1_, int256 colSharesMinMax_, address to_)
internal
returns (int256 shares_);
_colOperatePerfectBefore ​
solidity
function _colOperatePerfectBefore(int256 perfectColShares_, int256 colToken0MinMax_, int256 colToken1MinMax_)
internal
returns (int256 newColToken0_, int256 newColToken1_);
_colOperatePerfectAfter ​
solidity
function _colOperatePerfectAfter(
int256 perfectColShares_,
int256 colToken0MinMax_,
int256 colToken1MinMax_,
address to_
) internal returns (int256 newColToken0_, int256 newColToken1_);
constructor ​
solidity
constructor(ConstantViews memory constants_) FluidVaultOperate(constants_);