EnterMarkets
Compound V2 Action Plugin - EnterMarkets
Description
Enter into a list of markets - it is not an error to enter the same market more than once. In order to supply collateral or borrow in a market, it must be entered first.
Method
enterMarkets(address[])
Input Parameters
No input parameters necessary
Method Parameters
Name | Plugin Type | Description |
---|---|---|
cTokens |
| The addresses of the cToken markets to enter. |
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Compound V2 enter markets method here
Last updated