DeFi Saver
Search…
CurveGaugeDeposit
Action that deposits amount of lpToken into gaugeAddr.
User needs to approve the DSProxy to pull lpToken.
If receiver is not the users DSProxy the receiver needs to call set_approve_deposit on the gauge contract.

Parameters:

  • address gaugeAddr - Liquidity gauge for the lpToken.
  • address lpToken - LP token to deposit.
  • address sender - Address from which to pull the lpToken.
  • address onBehalfOf - Address of the deposit beneficiary.
  • uint256 amount - Amount of lpToken to deposit.
Last modified 2mo ago
Copy link