Skip to main content

IdentifierWhitelistInterface

IdentifierWhitelistInterface#

Functions#

addSupportedIdentifier(bytes32 identifier) (external)

Adds the provided identifier as a supported identifier.

Price requests using this identifier will succeed after this call.

Parameters:#

  • identifier: bytes32 encoding of the string identifier. Eg: BTC/USD.
removeSupportedIdentifier(bytes32 identifier) (external)

Removes the identifier from the whitelist.

Price requests using this identifier will no longer succeed after this call.

Parameters:#

  • identifier: bytes32 encoding of the string identifier. Eg: BTC/USD.
isIdentifierSupported(bytes32 identifier) → bool (external)

Checks whether an identifier is on the whitelist.

Parameters:#

  • identifier: bytes32 encoding of the string identifier. Eg: BTC/USD.