Skip to content

Internals ​

Git Source

Inherits:FluidVaultOperate

Fluid "VaultT3" (Vault Type 3). Fluid vault protocol main operate contract. T3 -> Normal collateral | Smart debt

Functions ​

_debtOperateBefore ​

solidity
function _debtOperateBefore(int256 newDebtToken0_, int256 newDebtToken1_, int256 debtSharesMinMax_, address to_)
    internal
    returns (int256 shares_);

_debtOperatePerfectPayback ​

solidity
function _debtOperatePerfectPayback(int256 perfectDebtShares_, int256 debtToken0MinMax_, int256 debtToken1MinMax_)
    internal
    returns (int256 newDebtToken0_, int256 newDebtToken1_);

_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_);