Skip to content

Solidity API

PropsOFACStorage

This library manages storage for OFAC (Office of Foreign Assets Control) related data

Layout

Struct to hold the storage layout for OFAC-related data

solidity
struct Layout {
  address sanctionsContract;
}

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

Uses keccak256 hash to generate a unique slot, reducing the risk of storage collisions

Unique storage slot for this library's data

layout

solidity
function layout() internal pure returns (struct PropsOFACStorage.Layout l)

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsOFACStorage.LayoutStorage struct pointing to the unique slot for this library's data