Deposit
Yearn Action Plugin - Deposit
Description
Deposits amount
, issuing shares to recipient
. If the Vault is in Emergency Shutdown, deposits will not be accepted and this call will fail.
Method
deposit(uint256, address)
Input Parameters
Name | Plugin Type | Description |
---|---|---|
to |
| yVault address |
Method Parameters
Name | Plugin Type | Description |
---|---|---|
amount |
| Amount deposited |
recipient |
| Address to whom issue the shares |
Returned Values
No values get returned
Example
Example with initParams
Example without initParams
Learn more
Learn more about Yearn yVault deposit method here
Last updated