OKPC

Verified contract

Active on Ethereum
Deployed by via 0x591fd38d at 14434985
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
15 additional variables
Native
Value $57,146.19
ERC-20
Value $372.6
ERC-20
--
0x8a51be20395bef36f68cb9f9189ccc576d5ca36d7cf9b75e4accd569b58d8bfd
0x1a4befb2c373f1fc5e030144ddf28b444bbea3fe2389b5fc5e288d7a872b060a
0xbd38dc55cdf99ebe8fdbada7828cb27ca4437e8a93c9482afa0873cda883441f
0x635a0f1210b126a37ddd5defe7eb3b619a7585ac2abcd79529e9137e621ed1e7
0xa64785ed9854e5bc19a66c16d187d607d038a8c540fcd8a25ae692bed7b1104b
0x74e67defae2dc1119990cb81ea259295b0bde08080b76348e52be28b5cf88382
0x093520f726a1793ea27d15a1ac1d9be93112fa58981e62b207e72eb0ed119ccf
0x8941becd836fbc0d9bbff3375820055b124b7bdd21f2824a730e8202a2d29a4a
0xd7fd833c24530857d496211a4fb3b040ad5d02dc290d3766aa3335849168cd2a
0x4f474c652dec02ad0f8a123cc19371f0606f6ecd874cd97a3d7fc1a76b2de8c5

Functions
Getter at block 21160686
ART_COLLECT_COST(view returns (uint256)
20000000000000000
MAX_COLLECT_PER_ART(view returns (uint16)
512
MAX_SUPPLY(view returns (uint256)
8192
MINT_COST(view returns (uint256)
160000000000000000
clockSpeedMaxMultiplier(view returns (uint256)
24
communityAddress(view returns (address)
0x0000000000000000000000000000000000000000
galleryArtCounter(view returns (uint256)
255
galleryOpen(view returns (bool)
true
marketplaceAddress(view returns (address)
0x0000000000000000000000000000000000000000
messagingAddress(view returns (address)
0x0000000000000000000000000000000000000000
metadataAddress(view returns (address)
0x38894d185689b8d83609f5b72fd379a753fd46be
mintingPhase(view returns (uint8)
3
name(view returns (string)
OKPC
owner(view returns (address)
0x6453d9be7c847c79b70adcbbd60b2ed8dd960876
paintOpen(view returns (bool)
true
paymentBalanceOwner(view returns (uint256)
402995000000000
symbol(view returns (string)
OKPC
totalSupply(view returns (uint256)
8192
Read-only
activeArtForOKPC(uint256view returns (uint256)
artCollectedByOKPC(uint256uint256view returns (bool)
artCountForOKPC(uint256view returns (uint256)
balanceOf(address ownerview returns (uint256)
clockSpeed(uint256 pcIdview returns (uint256)
clockSpeedData(uint256view returns (uint256 savedSpeeduint256 lastSaveBlockuint256 transferCountuint256 artLastChanged)
denyList(addressview returns (bool)
earlyBirdsMintClaimed(addressview returns (bool)
friendsMintClaimed(addressview returns (bool)
galleryArtCollectedCount(uint256view returns (uint256)
galleryArtistArtCount(addressview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getGalleryArt(uint256 artIdview returns (struct IOKPCArt)
getPaintArt(uint256 pcIdview returns (struct IOKPCArt)
isApprovedForAll(address owneraddress operatorview returns (bool)
openCommissionForOKPC(uint256view returns (address artistuint256 amount)
ownerOf(uint256 tokenIdview returns (address)
paintArtForOKPC(uint256view returns (address artistbytes16 titleuint256 data1uint256 data2)
paymentBalanceArtist(addressview returns (uint256)
royaltyInfo(uint256uint256 salePriceview returns (address receiveruint256 royaltyAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 pcIdview returns (string)
useOffchainMetadata(uint256view returns (bool)
State-modifying
addGalleryArt(bytes16 titleuint256 data1uint256 data2bytes32[] merkleProof
addInitialGalleryArt(bytes data
addToArtistBalanceFromMarketplace(address artistpayable 
addToOwnerBalanceFromMarketplace(payable 
approve(address touint256 tokenId
cancelCommission(uint256 pcId
collectArt(uint256 pcIduint256 artIdbool makeActivepayable 
collectArt(uint256 pcIduint256[] artIdspayable 
completeCommission(uint256 pcIdbytes16 titleuint256 data1uint256 data2
createCommission(uint256 pcIdaddress artistpayable 
increaseMaxGalleryArt(uint256 newMaxGalleryArt
mint(uint256 amountpayable 
mintArtists(address[64] addr
mintEarlyBirds(bytes32[] merkleProofpayable 
mintFriends(bytes32[] merkleProofpayable 
mintTeam(address[4] addr
moderateGalleryArt(uint256 artIdbytes16 titleuint256 data1uint256 data2address artist
moderatePaintArt(uint256 pcIduint256 artId
renounceOwnership(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setArtistsMerkleRoot(bytes32 newRoot
setClockSpeedMaxMultiplier(uint256 multiplier
setCommunityAddress(address addr
setDenyListStatus(address artistbool deny
setEarlyBirdsMerkleRoot(bytes32 newRoot
setFriendsMerkleRoot(bytes32 newRoot
setGalleryArt(uint256 pcIduint256 artId
setMarketplaceAddress(address addr
setMessagingAddress(address addr
setMetadataAddress(address addr
setPaintArt(uint256 pcId
setPaintArt(uint256 pcIdbytes16 titleuint256 data1uint256 data2
startEarlyBirdsMint(
startFriendsMint(
startPublicMint(
switchOKPCRenderer(uint256 pcId
toggleGalleryOpen(
togglePaintOpen(
transferArt(uint256 fromOKPCIduint256 toOKPCIduint256 artId
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
withdrawArtistBalance(
withdrawOwnerBalance(address withdrawTo
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
ArtChanged(uint256 pcIduint256 artId
ClockSpeedMaxMultiplierUpdated(uint256 maxMultiplier
CommissionCancelled(uint256 pcId
CommissionCompleted(uint256 pcIdaddress artistuint256 amount
CommissionCreated(uint256 pcIdaddress artistuint256 amount
CommunityAddressUpdated(address communityAddress
GalleryArtCollected(uint256 pcIduint256 artId
GalleryArtCreated(uint256 indexed artIdaddress artist
GalleryArtSwapped(uint256 pcId1uint256 pcId2
GalleryArtTransferred(uint256 fromOKPCIduint256 toOKPCIduint256 artId
GalleryMaxArtUpdated(uint256 maxGalleryArt
GalleryOpenUpdated(bool open
MarketplaceAddressUpdated(address marketplaceAddress
MessagingAddressUpdated(address messagingAddress
MetadataAddressUpdated(address addr
MintingPhaseStarted(uint8 phase
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PaintArtCreated(uint256 indexed pcIdaddress artist
PaintOpenUpdated(bool open
PaymentReceivedArtist(address artistuint256 amount
PaymentReceivedOwner(uint256 amount
PaymentWithdrawnArtist(address artistuint256 amount
PaymentWithdrawnOwner(uint256 amount
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
hello(
Constructor
constructor(uint16 artistsReserveduint16 teamReserveduint16 maxPerPhaseuint256 mintCost
Fallback and receive
receive(
Errors
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
ApprovalToCurrentOwner(
ApproveToCaller(
BalanceQueryForZeroAddress(
GalleryArtAlreadyCollected(
GalleryArtCannotBeActive(
GalleryArtCollectedMaximumTimes(
GalleryArtDuplicate(
GalleryArtLastCollected(
GalleryArtNotCollected(
GalleryArtNotFound(
GalleryMaxArtReached(
GalleryMinArtNotReached(
GalleryNotOpen(
InvalidAddress(
InvalidCodeAtRange(uint256 _sizeuint256 _startuint256 _end
MerkleProofInvalid(
MintAlreadyClaimed(
MintMaxReached(
MintNotAuthorized(
MintPhaseNotOpen(
MintToZeroAddress(
MintTooManyOKPCs(
MintZeroQuantity(
NotCommunityAddress(
NotMarketplaceAddress(
NotOKPCOwner(
NotOwnerOrCommunity(
OKPCNotFound(
OwnerQueryForNonexistentToken(
PaintArtDataInvalid(
PaintArtNotFound(
PaintCommissionInvalid(
PaintDenyList(
PaintNotCommissionedArtist(
PaintNotOpen(
PaymentAmountInvalid(
PaymentBalanceZero(
PaymentTransferFailed(
TransferCallerNotOwnerNorApproved(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
WriteError(