CTGPlayerNFT

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x7da468c6 at 12610425
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CTGPlayerNFT"

No transactions found for "CTGPlayerNFT"


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=0x0000000000000000000000000000000000000000, editionSize=0, royaltyBPS=0, fundsRecipient=0x0000000000000000000000000000000000000000)
contractName(pure returns (string)
CTGPlayerNFT
 
contractURI(view returns (string)
contractVersion(view returns (uint32)
2
metadataRenderer(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
saleDetails(view returns (struct ICTGPlayerNFTSaleDetails)
(false, false, 0, 0, 0, 0, 0, 0x0000000000000000000000000000000000000000000000000000000000000000, 0, 115792089237316195423570985008687907853269984665640564039457584007913129639935, 0)
salesConfig(view returns (uint104 publicSalePriceuint32 maxSalePurchasePerAddressuint64 publicSaleStartuint64 publicSaleEnduint64 presaleStartuint64 presaleEndbytes32 presaleMerkleRoot)
(publicSalePrice=0, maxSalePurchasePerAddress=0, publicSaleStart=0, publicSaleEnd=0, presaleStart=0, presaleEnd=0, presaleMerkleRoot=0x0000000000000000000000000000000000000000000000000000000000000000)
symbol(view returns (string)
totalSupply(view returns (uint256 result)
115792089237316195423570985008687907853269984665640564039457584007913129639935
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
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(
Fallback and receive
receive(
Errors
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(