transmissions11/solmate

add ERC1155 logic for SafeTransferLib

z0r0z opened this issue · 1 comments

z0r0z commented

currently, safeTransferFrom though designed for ERC20 handling, will work with an ERC721 transferFrom and null-data safeTransferFrom by inputting id into the amount param. To extend this library, though, we might add something to handle safeTransferFrom for ERC1155 tokens, which has extra params for id and data.

1155s are generally pretty compliant? dont rly see the need