External oracles may be used in the protocol. They must conform to the IOracle interface. Oracles must be of approved or denied style where the user address is checked for approval or denial.
function isApproved(address _address) external view returns (bool);
NOTE: It is not necessary to implement the IOracle interface in the external oracle. The correct function needs only to exist within it.Sample implementations for each of the above functions can be found in the example oracle contracts.
External oracles are used in conjunction with the Account Approve Deny Oracle Rule or the Account Approve Deny Oracle Flexible Rule. The external oracle is created and its deployed address is noted. When the oracle rule is created, this address is used in the _oracleAddress parameter whereas _oracleType corresponds to approved or denied type(0 for denied, 1 for approved).