ERC 1155 Pausable
Last updated
Last updated
ERC1155 token with pausable token transfers, minting and burning. Useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug. Available since v3.1.
See {IERC1155-balanceOf}. Requirements: - account
cannot be the zero address.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
See {IERC1155-balanceOfBatch}. Requirements: - accounts
and ids
must have the same length.
Name | Type | Description |
---|---|---|
See {IERC1155-isApprovedForAll}.
Returns true if the contract is paused, and false otherwise.
See {IERC1155-safeBatchTransferFrom}.
See {IERC1155-safeTransferFrom}.
See {IERC1155-setApprovalForAll}.
See {IERC165-supportsInterface}.
See {IERC1155MetadataURI-uri}. This implementation returns the same URI for all token types. It relies on the token type ID substitution mechanism https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. Clients calling this function must replace the \{id\}
substring with the actual token type ID.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
account
address
undefined
id
uint256
undefined
_0
uint256
undefined
accounts
address[]
undefined
ids
uint256[]
undefined
_0
uint256[]
undefined
account
address
undefined
operator
address
undefined
_0
bool
undefined
_0
bool
undefined
from
address
undefined
to
address
undefined
ids
uint256[]
undefined
amounts
uint256[]
undefined
data
bytes
undefined
from
address
undefined
to
address
undefined
id
uint256
undefined
amount
uint256
undefined
data
bytes
undefined
operator
address
undefined
approved
bool
undefined
interfaceId
bytes4
undefined
_0
bool
undefined
_0
uint256
undefined
_0
string
undefined
account indexed
address
undefined
operator indexed
address
undefined
approved
bool
undefined
account
address
undefined
operator indexed
address
undefined
from indexed
address
undefined
to indexed
address
undefined
ids
uint256[]
undefined
values
uint256[]
undefined
operator indexed
address
undefined
from indexed
address
undefined
to indexed
address
undefined
id
uint256
undefined
value
uint256
undefined
value
string
undefined
id indexed
uint256
undefined
account
address
undefined