IERC 1363 Receiver Upgradeable
Methods
onTransferReceived
Handle the receipt of ERC1363 tokens
Any ERC1363 smart contract calls this function on the recipient after a transfer
or a transferFrom
. This function MAY throw to revert and reject the transfer. Return of other than the magic value MUST result in the transaction being reverted. Note: the token contract address is always the message sender.
Parameters
Name | Type | Description |
---|---|---|
operator | address | address The address which called |
from | address | address The address which are token transferred from |
value | uint256 | uint256 The amount of tokens transferred |
data | bytes | bytes Additional data with no specified format |
Returns
Name | Type | Description |
---|---|---|
_0 | bytes4 |
|
Last updated