ERC1155TokenReceiver Functions
onERC1155Received
Metadata
| Type | Value |
|---|
| functionSelector | f23a6e61 |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| address |
| address |
| uint256 |
| uint256 |
| bytes |
onERC1155BatchReceived
Metadata
| Type | Value |
|---|
| functionSelector | bc197c81 |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| address |
| address |
| uint256[] |
| uint256[] |
| bytes |
Token Functions
DOMAIN_SEPARATOR
Metadata
| Type | Value |
|---|
| functionSelector | 3644e515 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
name
Metadata
| Type | Value |
|---|
| functionSelector | 06fdde03 |
|---|
| stateMutability | pure |
|---|
| visibility | public |
|---|
_initialChainId
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | pure |
|---|
| visibility | internal |
|---|
_computeDomainSeparator
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | view |
|---|
| visibility | internal |
|---|
_computeArgUint
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | pure |
|---|
| visibility | internal |
|---|
uri
-----------------------------------------------------------------------
Metadata Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | 0e89341c |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
supportsInterface
-----------------------------------------------------------------------
ERC165 Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | 01ffc9a7 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| interfaceId | bytes4 |
_initialize
-----------------------------------------------------------------------
Initialization Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
balanceOfBatch
-----------------------------------------------------------------------
ERC1155 Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | 4e1273f4 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| owners | address[] |
| ids | uint256[] |
setApprovalForAll
Metadata
| Type | Value |
|---|
| functionSelector | a22cb465 |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| operator | address |
| approved | bool |
safeTransferFrom
Metadata
| Type | Value |
|---|
| functionSelector | f242432a |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| from | address |
| to | address |
| id | uint256 |
| amount | uint256 |
| data | bytes |
safeBatchTransferFrom
Metadata
| Type | Value |
|---|
| functionSelector | 2eb2c2d6 |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| from | address |
| to | address |
| ids | uint256[] |
| amounts | uint256[] |
| data | bytes |
permit
-----------------------------------------------------------------------
EIP-2612-style Permit Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | f51cc7dd |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| owner | address |
| operator | address |
| approved | bool |
| deadline | uint256 |
| v | uint8 |
| r | bytes32 |
| s | bytes32 |
getVotes
-----------------------------------------------------------------------
Checkpoint Storage/Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | eb9019d4 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| account | address |
| id | uint256 |
getCurrentVotes
Metadata
| Type | Value |
|---|
| functionSelector | 807df56d |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| account | address |
| id | uint256 |
getPastVotes
Metadata
| Type | Value |
|---|
| functionSelector | 4d6fb775 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| account | address |
| id | uint256 |
| timestamp | uint256 |
getPriorVotes
Metadata
| Type | Value |
|---|
| functionSelector | 836eebee |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| account | address |
| id | uint256 |
| timestamp | uint256 |
delegates
-----------------------------------------------------------------------
Delegation Storage/Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | 27dd1b00 |
|---|
| stateMutability | view |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| account | address |
| id | uint256 |
delegate
Metadata
| Type | Value |
|---|
| functionSelector | 026e402b |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| delegatee | address |
| id | uint256 |
delegateBySig
Metadata
| Type | Value |
|---|
| functionSelector | e63a562e |
|---|
| stateMutability | payable |
|---|
| visibility | public |
|---|
Parameters
| Name | Type |
|---|
| delegatee | address |
| nonce | uint256 |
| deadline | uint256 |
| id | uint256 |
| v | uint8 |
| r | bytes32 |
| s | bytes32 |
_delegate
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| delegator | address |
| delegatee | address |
| id | uint256 |
_moveDelegates
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| srcRep | address |
| dstRep | address |
| id | uint256 |
| amount | uint256 |
_writeCheckpoint
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| delegatee | address |
| id | uint256 |
| nCheckpoints | uint256 |
| oldVotes | uint256 |
| newVotes | uint256 |
_safeCastTo40
-----------------------------------------------------------------------
Safecast Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | pure |
|---|
| visibility | internal |
|---|
_safeCastTo216
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | pure |
|---|
| visibility | internal |
|---|
_mint
-----------------------------------------------------------------------
Internal Mint/Burn Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| to | address |
| id | uint256 |
| amount | uint256 |
| data | bytes |
_burn
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| from | address |
| id | uint256 |
| amount | uint256 |
_setTransferability
-----------------------------------------------------------------------
Internal Permission Logic
-----------------------------------------------------------------------
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
_setPermission
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
_setUserPermission
Metadata
| Type | Value |
|---|
| functionSelector | |
|---|
| stateMutability | nonpayable |
|---|
| visibility | internal |
|---|
Parameters
| Name | Type |
|---|
| to | address |
| id | uint256 |
| set | bool |