ODCdataobjectswith-callback
IFungibleFractionsTransferCallback
Interface for callbacks handlers with the functions performed after fractions transfer
This interface should be implemented by contracts that are registered as transfer handlers and want to receive callbacks after fungible fractions transfers calls are performed on the FungibleFractionsWithTransferCallbackDO contract
afterFungibleFractionTransfer
Function called after a single id token transfer
Parameters
Name | Type | Description |
---|---|---|
from | address | The address from which the token was transferred |
to | address | The address to which the token was transferred |
id | uint256 | The id of the token |
value | uint256 | The amount of the token transferred |
afterFungibleFractionTransfer
Function called after a batch of id tokens transfer
Parameters
Name | Type | Description |
---|---|---|
from | address | The address from which the tokens were transferred |
to | address | The address to which the tokens were transferred |
ids | uint256[] | The ids of the tokens |
values | uint256[] | The amounts of the tokens transferred |