LitDepositorHelper

Converts LIT -> balBPT and then wraps to liqLIT via the crvDepositor

A user deposits LIT into the crvDepositor by first converting them into LIT-WETH BPT. Can also decide if wants to _lock them in veLIT or paying a fee to the locker by only depositing them, the user can also decide if staking the liqLIT token into liqLIT reward pool or getting them back.

 function deposit(
        uint256 _amount,
        uint256 _minOut,
        bool _lock,
        address _stakeAddress
    ) external returns (uint256 bptOut) 

Allows to deposit on behalf of some other user, for the rest it works as function deposit above

function depositFor(
        address _for,
        uint256 _amount,
        uint256 _minOut,
        bool _lock,
        address _stakeAddress
    ) external returns (uint256 bptOut) 

Allows to convert LILT into LIT-WETH and sends BPT back to the user

function convertLitToBpt(
        uint256 _amount, 
        uint256 _minOut
     ) external returns (uint256 bptOut)

Last updated