MintETH
Compound V2 Action Plugin - MintETH
Description
The mint function transfers an asset into the protocol, which begins accumulating interest based on the current Supply Rate for the asset. The user receives a quantity of cTokens equal to the underlying tokens supplied, divided by the current Exchange Rate.
This plugin only supports cETH cToken. By default to
has been set as cETH address
Method
mint()
Input Parameters
Name | Plugin Type | Solidity Type | Description |
---|---|---|---|
value |
|
| Amount to mint |
Method Parameters
No method parameters for this plugin function
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Compound V2 mint/deposit ETH method here
Last updated