Developers
Search…
Exit Markets
Exit a market. Exited markets will not count towards account liquidity calculations.

Qore

1
function exitMarket(address qToken) external;
Copied!
  • msg.sender: The account which shall exit the given market.
  • qToken: The address of the qToken market to exit.

Solidity

1
Qore qore = Qore(<qoreAddress>);
2
qore.exitMarket(<qTokenAddress>);
Copied!

Ethers.js

1
const qore = await ethers.getContractAt(<qoreABI>, <qoreAddress>);
2
await qore.exitMarket(<qTokenAddress>);
Copied!
Last modified 2mo ago
Copy link