struct PoolConfig {
uint128 supplyCap; // pool supply cap
uint128 borrowCap; // pool borrow cap
bool canMint; // pool mint status
bool canBurn; // pool burn status
bool canBorrow; // pool borrow status
bool canRepay; // pool repay status
bool canFlash; // pool flash status
}
function getPoolConfig(address _pool) external view returns (PoolConfig memory config);
function isAllowedForBorrow(uint16 _mode, address _pool) external view returns (bool flag);
function isAllowedForCollateral(uint16 _mode, address _pool) external view returns (bool flag);