Liquis Documentation
Developer Docs
Developer Docs
  • Developer Documentation
  • Smart Contracts
    • 🧙‍♂️Core
      • BaseRewardPool4626
      • CrvDepositor
      • LIQ Locker
      • Booster
    • 🦸Peripheral
      • LitDepositorHelper
      • FlashOptionExerciser
      • PooledOptionsExerciser
      • ClaimFeesHelper
      • BoosterHelper
      • LiquisClaimZap
      • LiquisViewHelpers
    • 👷‍♂️Diagrams
    • 💰vAPR
      • 🤩oLIT Rewards
      • 🌊LIQ Rewards
      • ⚡Swap APR
      • 🚀liqLIT Rewards
    • 😎vlLIQ
      • 📈Rewards
      • 💸Bribes
Powered by GitBook
On this page
  1. Smart Contracts
  2. Core

CrvDepositor

Deposit LIT-WETH(80:20) Bpt for liqLIT, can optionally _lock inmediately or defer locking to someone by paying a fee. If stakeAddress is set, will stake the liqLIT into the _stakeAddress pool

 function deposit(uint256 _amount, bool _lock, address _stakeAddress) public

Deposit LIT-WETH Bpt for liqLIT on behalf of another user, can optionally _lock inmediately or defer locking to someone by paying a fee. Can also stake into the the liqLIT reward pool

function depositFor(address to, uint256 _amount, bool _lock, address _stakeAddress) public

Deposit ALL LIT-WETH Bpt user's balance for liqLIT, can decide to lock the Bpt or defer, can also decide to stake into the liqLIT reward pool

function depositAll(bool _lock, address _stakeAddress) external

Locks current LIT-WETH Bpt balance which haven't been locked by their depositors, caller gets an incentive in liqLIT for doing so

function lockCurve() external
PreviousBaseRewardPool4626NextLIQ Locker

Last updated 1 year ago

🧙‍♂️