Events
Creator Token contracts emit several indexible events that should be indexed by off-chain order books.
Off-chain order books SHOULD index the following events for collections they provide listing services for so that the order book can apply the appropriate transfer validation logic to orders such as obtaining an EOA signature from the recipient and registering it with the transfer validator EOA registry or filtering orders that are unfillable based on security settings.
Token Contract Events are emitted by the collection's smart contract. Transfer Validator Events are emitted
by transfer validator contracts. A default transfer validator has been deployed that collections SHOULD use,
however creators MAY deploy alternative transfer validators.
Token Contract Events
event TransferValidatorUpdated(
address oldValidator,
address newValidator);
Transfer Validator Events
event SetTransferSecurityLevel(
address indexed collection,
TransferSecurityLevels level);
event CreatedList(
uint256 indexed id,
string name);
event AppliedListToCollection(
address indexed collection,
uint120 indexed id);
event ReassignedListOwnership(
uint256 indexed id,
address indexed newOwner);
event AddedAccountToList(
ListTypes indexed kind,
uint256 indexed id,
address indexed account);
event AddedCodeHashToList(
ListTypes indexed kind,
uint256 indexed id,
bytes32 indexed codehash);
event RemovedAccountFromList(
ListTypes indexed kind,
uint256 indexed id,
address indexed account);
event RemovedCodeHashFromList(
ListTypes indexed kind,
uint256 indexed id,
bytes32 indexed codehash);
event VerifiedEOASignature(
address indexed account);
event AppliedListToCollection(
address indexed collection,
uint120 indexed id);
event AccountUnfrozenForCollection(
address indexed collection,
address indexed account);
event SetAuthorizationModeEnabled(
address indexed collection,
bool enabled,
bool authorizersCanSetWildcardOperators);
event SetAccountFreezingModeEnabled(
address indexed collection,
bool enabled);
