Wraps and unwraps between ERC1155 tokens and ERC20 tokens.
contract Wrapped1155 erc20Implementation
event Wrapped1155Creation(contract IERC1155 multiToken, uint256 tokenId, contract Wrapped1155 wrappedToken)
function onERC1155Received(address operator, address, uint256 id, uint256 value, bytes data) external returns (bytes4)
function onERC1155BatchReceived(address operator, address, uint256[] ids, uint256[] values, bytes data) external returns (bytes4)
function unwrap(contract IERC1155 multiToken, uint256 tokenId, uint256 amount, address recipient, bytes data) external
function batchUnwrap(contract IERC1155 multiToken, uint256[] tokenIds, uint256[] amounts, address recipient, bytes data) external
getWrapped1155DeployBytecode
function getWrapped1155DeployBytecode(contract IERC1155 multiToken, uint256 tokenId, bytes data) public view returns (bytes)
function getWrapped1155(contract IERC1155 multiToken, uint256 tokenId, bytes data) public view returns (contract Wrapped1155)
function requireWrapped1155(contract IERC1155 multiToken, uint256 tokenId, bytes data) public returns (contract Wrapped1155)