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)

Last updated