Stake
Curve Action Plugin - Stake
Description
Deposit LP tokens into the gauge.
Prior to depositing, ensure that the gauge has been approved to transfer amount
LP tokens on behalf of the caller.
Method
deposit(uint256, address)
Input Parameters
Name | Type | Description |
---|---|---|
to |
| Curve Gauge address |
Method Parameters
Name | Type | Description |
---|---|---|
amount |
| Amount of tokens to deposit |
receiver |
| Address to deposit for. |
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Curve stake function here
Last updated