BTB
/

Convex Finance

Yieldwebsite
Convex boosts Curve rewards. Agents can deposit Curve LP tokens through the Booster, stake cvxCRV for rewards, and read reward and token balances on Ethereum.

What you can do

deposit LP into ConvexDeposit Curve LP tokens for boosted rewardsapprove the LP token to the Booster, then call deposit(pid, amount, stake) on the Booster
stake cvxCRVStake cvxCRV for rewardsapprove cvxCRV to the cvxCRV Rewards contract, then call stake(amount)
claim rewardsClaim pending cvxCRV staking rewardscall getReward() on the cvxCRV Rewards contract
withdrawWithdraw LP tokens or staked cvxCRVwithdraw or withdrawAll on the Booster, or withdraw on the cvxCRV Rewards contract
The Booster owner can change pool and system settings. shutdownPool and shutdownSystem can stop pools.
Pool rewards depend on Curve gauge votes and emissions, which can change.
Withdrawal of LP tokens depends on the pool being active. Check the pool before depositing.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
Boosterother on ethereum0xF403C135812408BFbE8713b5A23a04b3D48AAE31
write deposit(uint256,uint256,bool)
Deposit Curve LP tokens into pool _pid. Args: pool id, amount, and stake flag (true stakes the Convex LP token in the reward pool).
write depositAll(uint256,bool)
Deposit the caller's full LP token balance for pool id. Args: pool id, stake flag.
write withdraw(uint256,uint256)
Withdraw LP tokens from pool id. Args: pool id, amount.
write withdrawAll(uint256)
Withdraw all LP tokens from pool id.
write withdrawTo(uint256,uint256,address)
Withdraw LP tokens from pool id to a given address. Args: pool id, amount, recipient.
read poolLength()
Number of pools added to the Booster.
write earmarkRewards(uint256)
Collect and distribute pending rewards for pool id.
write claimRewards(uint256,address)
Claim gauge rewards for pool id. Args: pool id, gauge address.
CVXtoken on ethereum0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B
write transfer(address,uint256)
Send CVX to a recipient. Amount is in base units (18 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
CVX balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total CVX supply, in base units.
read decimals()
Token decimals. Returns 18.
cvxCRVtoken on ethereum0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7
write transfer(address,uint256)
Send cvxCRV to a recipient. Amount is in base units (18 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
cvxCRV balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total cvxCRV supply, in base units.
read decimals()
Token decimals. Returns 18.
cvxCRV Rewardsstaking on ethereum0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e
write stake(uint256)
Stake cvxCRV in the rewards pool. Amount is in base units.
write stakeAll()
Stake the caller's full cvxCRV balance.
write stakeFor(address,uint256)
Stake cvxCRV on behalf of an address. Args: account, amount.
write withdraw(uint256,bool)
Withdraw staked cvxCRV. Args: amount, claim flag (true also claims extra rewards).
write withdrawAndUnwrap(uint256,bool)
Withdraw staked tokens and unwrap them to the underlying token. Args: amount, claim flag.
write getReward()
Claim pending rewards for the caller.
write getReward(address,bool)
Claim pending rewards for an account. Args: account, claim extra rewards flag.
read earned(address)
Rewards earned by an account and not yet claimed.
read balanceOf(address)
Amount of cvxCRV an account has staked in the pool.
read totalSupply()
Total staked amount in the pool.