Interface implemented by PoolRegistry.
Get all pools in PoolRegistry
Get a pool by comptroller address
Get the address of the VToken contract in the Pool where the underlying token is the provided asset
Get the addresss of the Pools supported that include a market for the provided asset
Get the metadata of a Pool by comptroller address
struct VenusPool {
string name;
address creator;
address comptroller;
uint256 blockPosted;
uint256 timestampPosted;
}
struct VenusPoolMetaData {
string category;
string logoURL;
string description;
}
function getAllPools() external view returns (struct PoolRegistryInterface.VenusPool[])function getPoolByComptroller(address comptroller) external view returns (struct PoolRegistryInterface.VenusPool)function getVTokenForAsset(address comptroller, address asset) external view returns (address)function getPoolsSupportedByAsset(address asset) external view returns (address[])function getVenusPoolMetadata(address comptroller) external view returns (struct PoolRegistryInterface.VenusPoolMetaData)