IFluidVaultT4 ​
Inherits:IFluidVault
Functions ​
operate ​
solidity
function operate(
uint256 nftId_,
int256 newColToken0_,
int256 newColToken1_,
int256 colSharesMinMax_,
int256 newDebtToken0_,
int256 newDebtToken1_,
int256 debtSharesMinMax_,
address to_
) external payable returns (uint256, int256, int256);
operatePerfect ​
solidity
function operatePerfect(
uint256 nftId_,
int256 perfectColShares_,
int256 colToken0MinMax_,
int256 colToken1MinMax_,
int256 perfectDebtShares_,
int256 debtToken0MinMax_,
int256 debtToken1MinMax_,
address to_
) external payable returns (uint256, int256[] memory r_);
liquidate ​
solidity
function liquidate(
uint256 token0DebtAmt_,
uint256 token1DebtAmt_,
uint256 debtSharesMin_,
uint256 colPerUnitDebt_,
uint256 token0ColAmtPerUnitShares_,
uint256 token1ColAmtPerUnitShares_,
address to_,
bool absorb_
)
external
payable
returns (uint256 actualDebtShares_, uint256 actualColShares_, uint256 token0Col_, uint256 token1Col_);
liquidatePerfect ​
solidity
function liquidatePerfect(
uint256 debtShares_,
uint256 token0DebtAmtPerUnitShares_,
uint256 token1DebtAmtPerUnitShares_,
uint256 colPerUnitDebt_,
uint256 token0ColAmtPerUnitShares_,
uint256 token1ColAmtPerUnitShares_,
address to_,
bool absorb_
)
external
payable
returns (
uint256 actualDebtShares_,
uint256 token0Debt_,
uint256 token1Debt_,
uint256 actualColShares_,
uint256 token0Col_,
uint256 token1Col_
);