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 afterOmnichainFungibleTokenIncreaseBalanceOnTargetChain(OmnichainAddress from, address to, uint256 amount) external returns (bool)

Function called after a token transfer on target chain

Parameters

NameTypeDescription
fromOmnichainAddressThe address from which the token was transferred
toaddressThe address to which the token was transferred
amountuint256The amount of the token transferred

Return Values

NameTypeDescription
[0]boolbool True if the callback was successful, false otherwise

On this page