ERC1155TokenReceiver Functions

onERC1155Received

Metadata

TypeValue
functionSelectorf23a6e61
stateMutabilitypayable
visibilitypublic

Parameters

NameType
address
address
uint256
uint256
bytes

onERC1155BatchReceived

Metadata

TypeValue
functionSelectorbc197c81
stateMutabilitypayable
visibilitypublic

Parameters

NameType
address
address
uint256[]
uint256[]
bytes

Token Functions

DOMAIN_SEPARATOR

Metadata

TypeValue
functionSelector3644e515
stateMutabilityview
visibilitypublic

name

Metadata

TypeValue
functionSelector06fdde03
stateMutabilitypure
visibilitypublic

_initialChainId

Metadata

TypeValue
functionSelector
stateMutabilitypure
visibilityinternal

_computeDomainSeparator

Metadata

TypeValue
functionSelector
stateMutabilityview
visibilityinternal

_computeArgUint

Metadata

TypeValue
functionSelector
stateMutabilitypure
visibilityinternal

Parameters

NameType
argOffsetuint256

uri

----------------------------------------------------------------------- Metadata Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector0e89341c
stateMutabilityview
visibilitypublic

Parameters

NameType
iduint256

supportsInterface

----------------------------------------------------------------------- ERC165 Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector01ffc9a7
stateMutabilityview
visibilitypublic

Parameters

NameType
interfaceIdbytes4

_initialize

----------------------------------------------------------------------- Initialization Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

balanceOfBatch

----------------------------------------------------------------------- ERC1155 Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector4e1273f4
stateMutabilityview
visibilitypublic

Parameters

NameType
ownersaddress[]
idsuint256[]

setApprovalForAll

Metadata

TypeValue
functionSelectora22cb465
stateMutabilitypayable
visibilitypublic

Parameters

NameType
operatoraddress
approvedbool

safeTransferFrom

Metadata

TypeValue
functionSelectorf242432a
stateMutabilitypayable
visibilitypublic

Parameters

NameType
fromaddress
toaddress
iduint256
amountuint256
databytes

safeBatchTransferFrom

Metadata

TypeValue
functionSelector2eb2c2d6
stateMutabilitypayable
visibilitypublic

Parameters

NameType
fromaddress
toaddress
idsuint256[]
amountsuint256[]
databytes

permit

----------------------------------------------------------------------- EIP-2612-style Permit Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelectorf51cc7dd
stateMutabilitypayable
visibilitypublic

Parameters

NameType
owneraddress
operatoraddress
approvedbool
deadlineuint256
vuint8
rbytes32
sbytes32

getVotes

----------------------------------------------------------------------- Checkpoint Storage/Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelectoreb9019d4
stateMutabilityview
visibilitypublic

Parameters

NameType
accountaddress
iduint256

getCurrentVotes

Metadata

TypeValue
functionSelector807df56d
stateMutabilityview
visibilitypublic

Parameters

NameType
accountaddress
iduint256

getPastVotes

Metadata

TypeValue
functionSelector4d6fb775
stateMutabilityview
visibilitypublic

Parameters

NameType
accountaddress
iduint256
timestampuint256

getPriorVotes

Metadata

TypeValue
functionSelector836eebee
stateMutabilityview
visibilitypublic

Parameters

NameType
accountaddress
iduint256
timestampuint256

delegates

----------------------------------------------------------------------- Delegation Storage/Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector27dd1b00
stateMutabilityview
visibilitypublic

Parameters

NameType
accountaddress
iduint256

delegate

Metadata

TypeValue
functionSelector026e402b
stateMutabilitypayable
visibilitypublic

Parameters

NameType
delegateeaddress
iduint256

delegateBySig

Metadata

TypeValue
functionSelectore63a562e
stateMutabilitypayable
visibilitypublic

Parameters

NameType
delegateeaddress
nonceuint256
deadlineuint256
iduint256
vuint8
rbytes32
sbytes32

_delegate

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
delegatoraddress
delegateeaddress
iduint256

_moveDelegates

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
srcRepaddress
dstRepaddress
iduint256
amountuint256

_writeCheckpoint

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
delegateeaddress
iduint256
nCheckpointsuint256
oldVotesuint256
newVotesuint256

_safeCastTo40

----------------------------------------------------------------------- Safecast Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector
stateMutabilitypure
visibilityinternal

Parameters

NameType
xuint256

_safeCastTo216

Metadata

TypeValue
functionSelector
stateMutabilitypure
visibilityinternal

Parameters

NameType
xuint256

_mint

----------------------------------------------------------------------- Internal Mint/Burn Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
toaddress
iduint256
amountuint256
databytes

_burn

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
fromaddress
iduint256
amountuint256

_setTransferability

----------------------------------------------------------------------- Internal Permission Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
iduint256
setbool

_setPermission

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
iduint256
setbool

_setUserPermission

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
toaddress
iduint256
setbool