ODCinterfacesdataobject-interfaceswith-callback

IFungibleFractionsWithTransferCallbackOperations

Provides the operations of the FungibleFractionsWithTransferCallbackDO to interact with fungible fractions tokens, their associated data and their transfer callbacks handlers

registerSingleIdFungibleFractionTransferCallback

function registerSingleIdFungibleFractionTransferCallback(uint256 id, address handler) external

Operation used to register a callback for a single id token transfer

The handler should implement the IFungibleFractionsTransferCallback interface

Parameters

NameTypeDescription
iduint256The id of the token
handleraddressThe handler address

unregisterSingleIdFungibleFractionTransferCallback

function unregisterSingleIdFungibleFractionTransferCallback(uint256 id, address handler) external

Operation used to unregister a callback for a single id token transfer

Parameters

NameTypeDescription
iduint256The id of the token
handleraddressThe handler address

registerAllIdFungibleFractionTransferCallback

function registerAllIdFungibleFractionTransferCallback(address handler) external

Operation used to register a callback for all id token transfers

The handler should implement the IFungibleFractionsTransferCallback interface

Parameters

NameTypeDescription
handleraddressThe handler address

unregisterAllIdFungibleFractionTransferCallback

function unregisterAllIdFungibleFractionTransferCallback(address handler) external

Operation used to unregister a callback for all id token transfers

Parameters

NameTypeDescription
handleraddressThe handler address

On this page