Skip to content

Solidity API

PropsOFACInternal

Internal contract for managing OFAC (Office of Foreign Assets Control) related functionality

This contract provides internal functions for setting the sanctions contract address

PropsOFACInternal__AddressIsSanctioned

solidity
error PropsOFACInternal__AddressIsSanctioned()

_setSanctionsContract

solidity
function _setSanctionsContract(address _address) internal

Sets the address of the sanctions contract

This function updates the sanctionsContract address in the PropsOFACStorage layout

Parameters

NameTypeDescription
_addressaddressThe address of the new sanctions contract

_isSanctioned

solidity
function _isSanctioned(address _operatorAddress) internal view returns (bool)