← Code LabSolidity0/50 solved · 0%
Tokens · medium

29. ERC-1155 Multi-token

Many token IDs in one contract.

Implement `mint(address to, uint256 id, uint256 amount)` and `transfer(address to, uint256 id, uint256 amount)` with `TransferSingle` events.
Required in your answer: balanceOf[id][to] += amountemit TransferSinglebalanceOf[id][msg.sender] -=