Market Metadata
Last updated
Was this helpful?
Last updated
Was this helpful?
The Comptroller contract has an array called allMarkets
that contains the addresses of each sToken contract. Each address in the allMarkets
array can be used to fetch a metadata struct in the Comptroller’s markets constant. See the for the Market struct definition.
Comptroller
Solidity
Web3 1.2.6