ODCdataobjectsomnichain
IOmnichainFungibleTokenIncreaseBalanceCallback
Interface for callbacks handlers with the functions performed after fungible token transfer
This interface should be implemented by contracts that are registered as transfer handlers and want to receive callbacks after fungible token transfers calls are performed on the OmnichainFungibleTokenDO contract
afterOmnichainFungibleTokenIncreaseBalanceOnTargetChain
Function called after a token transfer on target chain
Parameters
Name | Type | Description |
---|---|---|
from | OmnichainAddress | The address from which the token was transferred |
to | address | The address to which the token was transferred |
amount | uint256 | The amount of the token transferred |
Return Values
Name | Type | Description |
---|---|---|
[0] | bool | bool True if the callback was successful, false otherwise |