Appearance
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) internalSets the address of the sanctions contract
This function updates the sanctionsContract address in the PropsOFACStorage layout
Parameters
| Name | Type | Description |
|---|---|---|
| _address | address | The address of the new sanctions contract |
_isSanctioned
solidity
function _isSanctioned(address _operatorAddress) internal view returns (bool)