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

Booster

Booster.sol

Deposits an _amount of a given gauge (specified by _pid), mints a DepositToken and optionally stakes that into the corresponding BaseRewardPool

function deposit(uint256 _pid, uint256 _amount, bool _stake) public returns(bool)

Deposits all sender's balance to a given gauge (specified by _pid), mints a DepositToken and subsequently stakes that into the corresponding BaseRewardPool.

function depositAll(uint256 _pid, bool _stake) external returns(bool)

Withdraw a given amount from a pool (must alreaby been unstaked from the BaseRewardPool).

function withdraw(uint256 _pid, uint256 _amount) public returns(bool)

Withdraw all sender's LP Tokens from a given gauge

function withdrawAll(uint256 _pid) public returns(bool)

Called for collecting oLIT from gauge, and then redistributing to the correct place. Pays the caller a fee to process this.

function earmarkRewards(uint256 _pid) external returns(bool)

Claim fees from Bunni distro contract

function earmarkFees(address _feeToken) external nonReentrant returns(bool)
PreviousLIQ LockerNextPeripheral

Last updated 1 year ago

🧙‍♂️