indexed-finance/indexed-core

Add query to PoolFactory.sol to check if an address is an approved controller

Closed this issue · 0 comments

Add the following function to PoolFactory.sol:

  /**
   * @dev Checks if an address is an approved pool controller.
   */
  function isApprovedController(address controller) external view returns (bool) {
    return _approvedControllers[controller];
  }