Collateral Factor
function markets(address aTokenAddress) view returns (bool, uint, bool)Comptroller troll = Comptroller(0xABCD...);
(bool isListed, uint collateralFactorMantissa, bool isAgiled) = troll.markets(0x3FDA...);const troll = Comptroller.at(0xABCD...);
const result = await troll.methods.markets(0x3FDA...).call();
const {0: isListed, 1: collateralFactorMantissa, 2: isAgiled} = result;Last updated