ExitMarket
Compound V2 Action Plugin - ExitMarket
Description
Exit a market - it is not an error to exit a market which is not currently entered. Exited markets will not count towards account liquidity calculations.
Method
exitMarket(address)
Input Parameters
No input parameters necessary
Method Parameters
Name | Plugin Type | Description |
---|---|---|
cToken |
| The addresses of the cToken market to exit. |
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Compound V2 exit market method here
Last updated