IERC1155Burnable
Title: IERC1155Burnable
Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/extensions/ERC1155Burnable.sol)
Interface for burnable ERC-1155 tokens. The burns revert with the IERC1155 errors and emit the
IERC1155 transfer events with to == address(0).
Functions
burn
Destroys value tokens of type id from account.
The caller must be account or an operator approved by account.
function burn(address account, uint256 id, uint256 value) external;Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| id | uint256 | |
| value | uint256 |
burnBatch
Batched version of burn.
The caller must be account or an operator approved by account.
function burnBatch(address account, uint256[] calldata ids, uint256[] calldata values) external;Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| ids | uint256[] | |
| values | uint256[] |