IPositionsManager

Git Source

Functions

supplyLogic

function supplyLogic(address underlying, uint256 amount, address from, address onBehalf, uint256 maxIterations)
    external
    returns (uint256 supplied);

supplyCollateralLogic

function supplyCollateralLogic(address underlying, uint256 amount, address from, address onBehalf)
    external
    returns (uint256 supplied);

borrowLogic

function borrowLogic(address underlying, uint256 amount, address borrower, address receiver, uint256 maxIterations)
    external
    returns (uint256 borrowed);

repayLogic

function repayLogic(address underlying, uint256 amount, address repayer, address onBehalf)
    external
    returns (uint256 repaid);

withdrawLogic

function withdrawLogic(address underlying, uint256 amount, address supplier, address receiver, uint256 maxIterations)
    external
    returns (uint256 withdrawn);

withdrawCollateralLogic

function withdrawCollateralLogic(address underlying, uint256 amount, address supplier, address receiver)
    external
    returns (uint256 withdrawn);

liquidateLogic

function liquidateLogic(
    address underlyingBorrowed,
    address underlyingCollateral,
    uint256 amount,
    address borrower,
    address liquidator
) external returns (uint256 liquidated, uint256 seized);