➰CurveGaugeDeposit
Action that deposits amount
of lpToken
into gaugeAddr
.
User needs to approve the its wallet
to pull lpToken
.
If receiver
is not the users wallet
the receiver
needs to call set_approve_deposit
on the gauge contract.
Parameters:
address gaugeAddr
- Liquidity gauge for thelpToken
.address lpToken
- LP token to deposit.address sender
- Address from which to pull thelpToken
.address onBehalfOf
- Address of the deposit beneficiary.uint256 amount
- Amount oflpToken
to deposit.
Last updated