Skip to main content

IControllerTypes

Asset Tokenization Studio Team

IControllerTypes

Controller (ERC-1644) domain events shared across facets that perform forced transfers and redemptions.

Holds the ControllerTransfer and ControllerRedemption events. ControllerTransfer is emitted from Controller and BatchController; ControllerRedemption is emitted from Controller, Burn and BatchBurn. IController inherits this interface; the other facets import it directly to reach the events without depending on the full IController API.

Events​

ControllerRedemption​

event ControllerRedemption(address controller, address indexed tokenHolder, uint256 value, bytes data, bytes operatorData)

Emitted when an authorised controller redeems (burns) tokens on behalf of a holder.

Parameters​

NameTypeDescription
controlleraddressThe address of the controller that initiated the redemption.
tokenHolder indexedaddressThe account whose tokens are redeemed.
valueuint256The amount of tokens redeemed.
databytesOptional data attached to the redemption for validation.
operatorDatabytesOptional data attached by the controller for event attribution.

ControllerTransfer​

event ControllerTransfer(address controller, address indexed from, address indexed to, uint256 value, bytes data, bytes operatorData)

Emitted when an authorised controller transfers tokens between two holders.

Parameters​

NameTypeDescription
controlleraddressThe address of the controller that initiated the transfer.
from indexedaddressThe address tokens are transferred from.
to indexedaddressThe address tokens are transferred to.
valueuint256The amount of tokens transferred.
databytesOptional data attached to the transfer for validation.
operatorDatabytesOptional data attached by the controller for event attribution.