An array of strings of markets to enter, meaning use those supplied assets as collateral.
Returns an Ethers.js transaction object of the enterMarkets transaction.
Exits the user's address from a Fortress Protocol market.
A string of the symbol of the market to exit.
Returns an Ethers.js transaction object of the exitMarket transaction.
Enters the user's address into Fortress Protocol markets.
const fortress = new Fortress(window.ethereum); (async function () { const trx = await fortress.enterMarkets(Fortress.DAI); // Use [] for multiple console.log('Ethers.js transaction object', trx); })().catch(console.error);