Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

DegenCast

Unverified contract

Proxy

Active on Base with 3,111 txns
Deployed by via 0x6b22538e at 12281265
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 46 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 2 additional slots
-
variable spans 49 additional slots
5 additional variables
ERC-20
--
0x69e721970bc1765e56093e9022f3b9dc43813b69a07a162ef2692a24a1cb6127
0xd35576b2e435b89fc8e7fa42d8078c7aa521fa0daa8602b37db370f11009ed76
0xe0a6b27ba7383b6448031f04c6096b960f03f8402dbf444da1cd29f9b0a74b45
0xc766cbfe69ffa61ac952e3d0f61a351db3219bbe92eb12382403428f1e5bb06c
0xa4cb1c0bb97979615c95d052c796b16c2e20f9c3bbd67ca110888140e7b613a3
0xcf35f84952326263726c36149d43bfcfc311a4e4ce326024b921355b2a498c05
0xad9b5d02182ef1f23b1c5e9020e3dfc05fc324b6cba9787f0a84c37874655dc7
0xdb326054da7c77f5cbb0e4e5412301d5b8293901969381694c57b5b436039b7f
0x40ff8bc14c580363aa063725020aaac88b97da0d3130a5e6ac053fca8ee23325
0xec717ebd27d12d4663fba6365f086abaf99e5aa788249446ea83a2304b771073

Functions
Getter at block 22830550
CONTRACT_BASE_ID(view returns (uint256)
0
PERMISSION_BIT_ADMIN(view returns (uint256)
2
PERMISSION_BIT_FUNDS_MANAGER(view returns (uint256)
32
PERMISSION_BIT_METADATA(view returns (uint256)
16
PERMISSION_BIT_MINTER(view returns (uint256)
4
PERMISSION_BIT_SALES(view returns (uint256)
8
config(view returns (address owneruint96 __gap1address fundsRecipientuint96 __gap2address transferHookuint96 __gap3)
(owner=0xee3ca4dd4ceb3416915eddc6cdadb4a6060434d4, __gap1=0, fundsRecipient=0xee3ca4dd4ceb3416915eddc6cdadb4a6060434d4, __gap2=0, transferHook=0x0000000000000000000000000000000000000000, __gap3=0)
contractURI(view returns (string)
ipfs://bafkreidw5oii4fylhd3n4l2ivjbnmwerxyrogqyuihcoip6ie35uh6y744
contractVersion(pure returns (string)
2.7.0
implementation(view returns (address)
0xaf5a4f6f6640734d7d000321bb27de40d4ae91f6
mintFee(pure returns (uint256)
777000000000000
name(view returns (string)
DegenCast
nextTokenId(view returns (uint256)
10
owner(view returns (address)
0xee3ca4dd4ceb3416915eddc6cdadb4a6060434d4
 
proxiableUUID(view returns (bytes32)
supportedPremintSignatureVersions(pure returns (string[])
[1, 2]
symbol(pure returns (string)
Read-only
assumeLastTokenIdMatches(uint256 lastTokenIdview 
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[] batchBalances)
computeFreeMintRewards(uint256 numTokenspure returns (struct RewardsSettings)
computePaidMintRewards(uint256 numTokenspure returns (struct RewardsSettings)
computeTotalReward(uint256 numTokenspure returns (uint256)
createReferrals(uint256view returns (address)
customRenderers(uint256view returns (address)
delegatedTokenId(uint32view returns (uint256)
firstMinters(uint256view returns (address)
getCreatorRewardRecipient(uint256 tokenIdview returns (address)
getCustomRenderer(uint256 tokenIdview returns (address customRenderer)
getRoyalties(uint256 tokenIdview returns (struct ICreatorRoyaltiesControlRoyaltyConfiguration)
getTokenInfo(uint256 tokenIdview returns (struct IZoraCreator1155TypesV1TokenData)
isAdminOrRole(address useruint256 tokenIduint256 roleview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
metadataRendererContract(uint256view returns (address)
permissions(uint256addressview returns (uint256)
royalties(uint256view returns (uint32 royaltyMintScheduleuint32 royaltyBPSaddress royaltyRecipient)
royaltyInfo(uint256 tokenIduint256 salePriceview returns (address receiveruint256 royaltyAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256 tokenIdview returns (string)
State-modifying
addPermission(uint256 tokenIdaddress useruint256 permissionBits
adminMint(address recipientuint256 tokenIduint256 quantitybytes data
adminMintBatch(address recipientuint256[] tokenIdsuint256[] quantitiesbytes data
burnBatch(address fromuint256[] tokenIdsuint256[] amounts
callRenderer(uint256 tokenIdbytes data
callSale(uint256 tokenIdaddress salesConfigbytes data
delegateSetupNewToken(bytes premintConfigbytes32 premintVersionbytes signatureaddress senderreturns (uint256 newTokenId)
initialize(string contractNamestring newContractURIstruct ICreatorRoyaltiesControlRoyaltyConfiguration defaultRoyaltyConfigurationaddress defaultAdminbytes[] setupActions
mint(address minteruint256 tokenIduint256 quantityaddress[] rewardsRecipientsbytes minterArgumentspayable 
mintWithRewards(address minteruint256 tokenIduint256 quantitybytes minterArgumentsaddress mintReferralpayable 
multicall(bytes[] datareturns (bytes[] results)
removePermission(uint256 tokenIdaddress useruint256 permissionBits
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setApprovalForAll(address operatorbool approved
setFundsRecipient(address fundsRecipient
setOwner(address newOwner
setTokenMetadataRenderer(uint256 tokenIdaddress renderer
setTransferHook(address transferHook
setupNewToken(string newURIuint256 maxSupplyreturns (uint256)
setupNewTokenWithCreateReferral(string newURIuint256 maxSupplyaddress createReferralreturns (uint256)
updateContractMetadata(string _newURIstring _newName
updateCreateReferral(uint256 tokenIdaddress recipient
updateRoyaltiesForToken(uint256 tokenIdstruct ICreatorRoyaltiesControlRoyaltyConfiguration newConfiguration
updateTokenURI(uint256 tokenIdstring _newURI
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(
Events
AdminChanged(address previousAdminaddress newAdmin
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
BeaconUpgraded(address indexed beacon
ConfigUpdated(address indexed updateruint8 indexed updateTypestruct IZoraCreator1155TypesV1ContractConfig newConfig
ContractMetadataUpdated(address indexed updaterstring uristring name
ContractRendererUpdated(address renderer
CreatorAttribution(bytes32 structHashstring domainNamestring versionaddress creatorbytes signature
Initialized(uint8 version
OwnershipTransferred(address lastOwneraddress newOwner
Purchased(address indexed senderaddress indexed minteruint256 indexed tokenIduint256 quantityuint256 value
RendererUpdated(uint256 indexed tokenIdaddress indexed rendereraddress indexed user
SetupNewToken(uint256 indexed tokenIdaddress indexed senderstring newURIuint256 maxSupply
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
UpdatedPermissions(uint256 indexed tokenIdaddress indexed useruint256 indexed permissions
UpdatedRoyalties(uint256 indexed tokenIdaddress indexed userstruct ICreatorRoyaltiesControlRoyaltyConfiguration configuration
UpdatedToken(address indexed fromuint256 indexed tokenIdstruct IZoraCreator1155TypesV1TokenData tokenData
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
ADDRESS_DELEGATECALL_TO_NON_CONTRACT(
ADDRESS_LOW_LEVEL_CALL_FAILED(
Burn_NotOwnerOrApproved(address operatoraddress user
CREATOR_FUNDS_RECIPIENT_NOT_SET(
CallFailed(bytes reason
Call_TokenIdMismatch(
CallerNotZoraCreator1155(
CannotMintMoreTokens(uint256 tokenIduint256 quantityuint256 totalMinteduint256 maxSupply
Config_TransferHookNotSupported(address proposedAddress
ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH(
ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER(
ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE(
ERC1155_BURN_FROM_ZERO_ADDRESS(
ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED(
ERC1155_ERC1155RECEIVER_REJECTED_TOKENS(
ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH(
ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER(
ERC1155_MINT_TO_ZERO_ADDRESS(
ERC1155_SETTING_APPROVAL_FOR_SELF(
ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER(
ERC1155_TRANSFER_TO_ZERO_ADDRESS(
ERC1967_NEW_IMPL_NOT_CONTRACT(
ERC1967_NEW_IMPL_NOT_UUPS(
ERC1967_UNSUPPORTED_PROXIABLEUUID(
ETHWithdrawFailed(address recipientuint256 amount
FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY(
FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL(
FundsWithdrawInsolvent(uint256 amountuint256 contractValue
INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED(
INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING(
INVALID_ADDRESS_ZERO(
INVALID_ETH_AMOUNT(
InvalidMerkleProof(address mintTobytes32[] merkleProofbytes32 merkleRoot
InvalidMintSchedule(
InvalidSignatureVersion(
MintNotYetStarted(
Mint_InsolventSaleTransfer(
Mint_TokenIDMintNotAllowed(
Mint_UnknownCommand(
Mint_ValueTransferFail(
MinterContractAlreadyExists(
MinterContractDoesNotExist(
NewOwnerNeedsToBeAdmin(
NoRendererForToken(uint256 tokenId
ONLY_CREATE_REFERRAL(
PremintDeleted(
ProtocolRewardsWithdrawFailed(address calleraddress recipientuint256 amount
RendererNotValid(address renderer
Renderer_NotValidRendererContract(
SaleEnded(
SaleHasNotStarted(
Sale_CannotCallNonSalesContract(address targetContract
TokenIdMismatch(uint256 expecteduint256 actual
UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL(
UserExceedsMintLimit(address useruint256 limituint256 requestedAmount
UserMissingRoleForToken(address useruint256 tokenIduint256 role
WrongValueSent(