Crypto: The Game S2

Verified contract

Proxy

Active on Base with 1,561 txns
Deployed by via 0xb0d16a0a at 12611796
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0x209c6bfcd517d008d3aa15508edfd750430bf9aaca93ef70af8c1167cac6d821
0x3ebcba56e313e0924cd9a488fec2c05ad2ee572b567a6d0f1270db1d1bbf87b1
0xd08690c3904524976ce825871f0585a75c64cf8e883dc052ebd7cc2b917f1a78
0x523227c60b89d3053804e4320f9b0d757dd3d2f4f52a6cf857e4376fd8651a5e
0x4f8c0006733792751295bcc0db61cefa46ca3264f692498e7e87d1afa2296823
0xab5fbfa9693199eface83540d054e6a0e76b1f5b1f386a378f40f9c8b64a013f
0x800314e1c33e830133ed25e696e99dae69f1b5e9bb1c35d113a1ab4047009290
0xe98635a6e9ece398f44c496cfde6d5db77636df42de9aa750873f82931a371f1
0x79e2701b7b77d8297b0f46d83dfadc39661c96e23c1abacb9c721962b4b7943a
0x67eed75fbbcb084cbde887dcc16b6d21dc0f51e1ab8e9373992c009ec5f41b03

Functions
Getter at block 22751254
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0xf0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9
SALES_MANAGER_ROLE(view returns (bytes32)
0x5ebbf78043a2215b522b1366a193ec74dd1f54e441e841a87b9653246a9c49a6
UPGRADER_ROLE(view returns (bytes32)
0xa615a8afb6fffcb8c6809ac0997b5c9c12b8cc97651150f14c8f6203168cff4c
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
config(view returns (address rendereruint64 editionSizeuint16 royaltyBPSaddress fundsRecipient)
(renderer=0xd1cba36d92b052079523f471eb891563f2e5df5c, editionSize=800, royaltyBPS=1000, fundsRecipient=0x8a8f49ef12333c1ef957da17927a8427d38d67fb)
contractName(pure returns (string)
CTGPlayerNFT
contractURI(view returns (string)
ipfs://bafkreihcpfoilazhdnqiq5j4uvkfdakoyqdohxh6nig6r7avxvdtm6o3fu
contractVersion(view returns (uint32)
2
metadataRenderer(view returns (address)
0xd1cba36d92b052079523f471eb891563f2e5df5c
name(view returns (string)
Crypto: The Game S2
owner(view returns (address)
0xf8104843cd3f7647b9f3ac7d53617b169567ca9f
 
proxiableUUID(view returns (bytes32)
saleDetails(view returns (struct ICTGPlayerNFTSaleDetails)
(false, false, 100000000000000000, 1712160000, 1712581200, 1712073600, 1712160000, 0x56c796ae9a6034eb62708773d6d99e63d4d2a52ed8c8826b105a5f3e5bd90575, 1, 800, 800)
salesConfig(view returns (uint104 publicSalePriceuint32 maxSalePurchasePerAddressuint64 publicSaleStartuint64 publicSaleEnduint64 presaleStartuint64 presaleEndbytes32 presaleMerkleRoot)
(publicSalePrice=100000000000000000, maxSalePurchasePerAddress=1, publicSaleStart=1712160000, publicSaleEnd=1712581200, presaleStart=1712073600, presaleEnd=1712160000, presaleMerkleRoot=0x56c796ae9a6034eb62708773d6d99e63d4d2a52ed8c8826b105a5f3e5bd90575)
symbol(view returns (string)
CTGS2
totalSupply(view returns (uint256 result)
800
Read-only
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address userview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
mintedPerAddress(address minterview returns (struct ICTGPlayerNFTAddressMintDetails)
ownerOf(uint256 tokenIdview returns (address)
royaltyInfo(uint256uint256 _salePriceview returns (address receiveruint256 royaltyAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
zoraFeeForAmount(uint256pure returns (address recipientuint256 fee)
State-modifying
adminMint(address recipientuint256 quantityreturns (uint256)
adminMintAirdrop(address[] recipientsreturns (uint256)
approve(address touint256 tokenIdpayable 
burn(uint256 tokenId
callMetadataRenderer(bytes datareturns (bytes)
finalizeOpenEdition(
grantRole(bytes32 roleaddress account
initialize(string _contractNamestring _contractSymboladdress _initialOwneraddress _fundsRecipientuint64 _editionSizeaddress _royaltyRecipientuint16 _royaltyBPSbytes[] _setupCallsaddress _metadataRendererbytes _metadataRendererInit
multicall(bytes[] datareturns (bytes[] results)
purchase(uint256 quantitypayable returns (uint256)
purchasePresale(uint256 quantityuint256 maxQuantityuint256 pricePerTokenbytes32[] merkleProofpayable returns (uint256)
purchasePresaleWithComment(uint256 quantityuint256 maxQuantityuint256 pricePerTokenbytes32[] merkleProofstring commentpayable returns (uint256)
purchasePresaleWithRecipient(address recipientuint256 quantityuint256 maxQuantityuint256 pricePerTokenbytes32[] merkleProofpayable returns (uint256)
purchaseWithComment(uint256 quantitystring commentpayable returns (uint256)
purchaseWithRecipient(address recipientuint256 quantitystring commentpayable returns (uint256)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenIdpayable 
safeTransferFrom(address fromaddress touint256 tokenIdbytes _datapayable 
setApprovalForAll(address operatorbool approved
setFundsRecipient(address newRecipientAddress
setMetadataRenderer(address newRendererbytes setupRenderer
setOwner(address newOwner
setSaleConfiguration(uint104 publicSalePriceuint32 maxSalePurchasePerAddressuint64 publicSaleStartuint64 publicSaleEnduint64 presaleStartuint64 presaleEndbytes32 presaleMerkleRoot
setTransferHook(address newTransferHook
transferFrom(address fromaddress touint256 tokenIdpayable 
updateRoyaltySettings(address newRecipientuint16 newRoyaltyBPS
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(
Events
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BatchMetadataUpdate(uint256 _fromTokenIduint256 _toTokenId
ConsecutiveTransfer(uint256 indexed fromTokenIduint256 toTokenIdaddress indexed fromaddress indexed to
FundsReceived(address indexed sourceuint256 amount
FundsRecipientChanged(address indexed newAddressaddress indexed changedBy
FundsWithdrawn(address indexed withdrawnByaddress indexed withdrawnTouint256 amountaddress feeRecipientuint256 feeAmount
Initialized(uint64 version
MetadataUpdate(uint256 _tokenId
MintComment(address indexed senderaddress indexed tokenContractuint256 indexed tokenIduint256 quantitystring comment
MintFeePayout(uint256 mintFeeAmountaddress mintFeeRecipientbool success
OpenMintFinalized(address indexed senderuint256 numberOfMints
OwnerCanceled(address indexed previousOwneraddress indexed potentialNewOwner
OwnerPending(address indexed previousOwneraddress indexed potentialNewOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoyaltySettingsUpdated(address newRecipientuint16 newBPS
Sale(address indexed touint256 indexed quantityuint256 indexed pricePerTokenuint256 firstPurchasedTokenId
SalesConfigChanged(address indexed changedBy
SetNewTransferHook(address _newTransferHook
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
UpdatedMetadataRenderer(address senderaddress renderer
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
Access_MissingRoleOrAdmin(bytes32 role
Access_OnlyAdmin(
Access_WithdrawNotAllowed(
AddressEmptyCode(address target
Admin_InvalidUpgradeAddress(address proposedAddress
Admin_UnableToFinalizeNotOpenEdition(
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
BalanceQueryForZeroAddress(
ContractIdentityWrong(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ExternalMetadataRenderer_CallFailed(
FailedInnerCall(
InvalidInitialization(
InvalidMintSchedule(
InvalidTransferHook(
MarketFilterDAOAddressNotSupportedForChain(
MintERC2309QuantityExceedsLimit(
MintFee_FundsSendFailure(
MintReferralNotSupported(
MintToZeroAddress(
MintZeroQuantity(
Mint_SoldOut(
NotAllowedToUpgrade(
NotCompatibleWithSpotMints(
NotInitializing(
ONLY_OWNER(
ONLY_PENDING_OWNER(
OperatorNotAllowed(address operator
OwnerQueryForNonexistentToken(
OwnershipNotInitializedForExtraData(
Presale_Inactive(
Presale_MerkleNotApproved(
Presale_TooManyForAddress(
ProtocolRewards_WithdrawSendFailure(
Purchase_SendFundsFailure(
Purchase_TooManyForAddress(
Purchase_WrongPrice(uint256 correctPrice
ReentrancyGuardReentrantCall(
RemoteOperatorFilterRegistryCallFailed(
Sale_Inactive(
SequentialMintExceedsLimit(
SequentialUpToTooSmall(
Setup_RoyaltyPercentageTooHigh(uint16 maxRoyaltyBPS
SpotMintTokenIdTooSmall(
TokenAlreadyExists(
TransferCallerNotOwnerNorApproved(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
URIQueryForNonexistentToken(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
Withdraw_FundsSendFailure(
WrongValueSent(uint256 sentuint256 expected
ZeroFundsRecipientNotAllowed(