Git Source

Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett

This stores the function signature for external oracles

Both “approve list” and “deny list” oracles will use this interface

Functions

isDenied

This function checks to see if the address is on the oracle’s denied list. This is the DENIED_LIST type.

function isDenied(address _address) external view returns (bool);

Parameters

NameTypeDescription
_addressaddressAccount address to check

Returns

NameTypeDescription
<none>booldenied returns true if denied, false if not

isApproved

This function checks to see if the address is on the oracle’s approved list. This is the APPROVED_LIST type.

function isApproved(address _address) external view returns (bool);

Parameters

NameTypeDescription
_addressaddressAccount address to check

Returns

NameTypeDescription
<none>booldenied returns true if approved, false if not