ComplianceChecker
Purpose
Imports
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
import {IComplianceChecker, ComplianceOption} from "./interfaces/IComplianceChecker.sol";struct ComplianceOption { IVerificationSBT[] requiredSBTs; }
Roles
bytes32 public constant COMPLIANCE_ADMIN_ROLE = keccak256("COMPLIANCE_ADMIN_ROLE");Storage
ComplianceOption[] internal _complianceOptions;Constructor
Events
Errors
Public / External
getComplianceOptions
setComplianceOptions
isCompliant
requireCompliant
Integration Notes
Security Considerations
Quick Call Examples
Admin: add a batch, open challenge window, finalize automatically after period
Canceler: challenge the latest batch before unlock
Investor: register & read address (gates on compliance)
Last updated
Was this helpful?

