Adds support for ERC-1155 semi-fungible tokens. There is no reason a clone cannot represent an 1155 token, the contract just lacked the ability to receive them.
Add the erc-1155 token receiver functions: onERC1155Received and onERC1155BatchReceived
Put token receiving logic into onTokenReceived function
Adds support for ERC-1155 semi-fungible tokens. There is no reason a clone cannot represent an 1155 token, the contract just lacked the ability to receive them.
onERC1155Received
andonERC1155BatchReceived
onTokenReceived
function