IComplianceModule

Git Source

Interface for modules that check and enforce compliance.

Functions

verifyTransfer

Called before tokens are createLoted/transferred.

The implementation should revert if the transfer is not allowed.

function verifyTransfer(address from, address to, uint96 quantity, bytes32 tokenId, bytes memory data) external view;

Parameters

Name
Type
Description

from

address

The address tokens are moving from (or address(0) on createLot).

to

address

The destination address.

quantity

uint96

The “real” token quantity (after applying splits/dividends).

tokenId

bytes32

The lot identifier (or zero for new createLots).

data

bytes

Additional data associated with the lot.

Last updated

Was this helpful?