Dunhuang Art

Verified contract

Active on Ethereum with 3,168 txns
Deployed by via 0x67402049 at 15434862
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 6 additional slots

No balances found for "Dunhuang Art"

0x0a3a3e209af21ffa417fa39364ebc47e5e8673aa41749229ee20f1dc3824ba3c
0x68a99239494419a7245d5bae82c9cf1a162e336341375a2fc2554667fe4cafc9
0xf2199e06493442c236bf3e9422d051999811873aee0ee80323f4e489fe0b37ff
0xb6edd471e579337eaa470244c4d51344094fd2e82adfd9d10384176a3c5ca28c
0xada26447fad7bccbef589d8e62ee677d44c73ed36edff76002a844a9bb5281e8
0xf7fb8ff3573d89bb551dfc6dd3c2b8179a06a0acf6f07511bb44799e26615768
0xa3ee06b3540f0d843f145118a3ea48696ee7594b354a00da2fbb08ef658ca626
0xaa60f75edd7432ccdd27c4d6682dd9f97c57caadcd47f9041bd5996b3891e86e
0x2351c1ed887345b74da36165b19535e77f70b66c9c19dd941142b9504a08723d
0x9b94ca79f62662e0af215657f6c7ac7ea742e6842aec4951ffe72815ff7e141f

Functions
Getter at block 21396048
MAX_TOKEN(view returns (uint64)
3000
MAX_TOKEN_PER_MINT(view returns (uint64)
2
baseURI(view returns (string)
https://assets.dunhuang.art/opened_metadata/
contractSealed(view returns (bool)
false
getPublicSalePrice(view returns (uint256)
50000000000000000
getRefundGuaranteeEndTime(view returns (uint256)
1662523200
getWhitelistDiscountPrice(view returns (uint256)
37500000000000000
getWhitelistSalePrice(view returns (uint256)
50000000000000000
isPublicSaleEnabled(view returns (bool)
true
isRefundGuaranteeActive(view returns (bool)
false
isWhitelistSaleEnabled(view returns (bool)
false
name(view returns (string)
Dunhuang Art
owner(view returns (address)
0x9f65693fc0f5c44fc047a7912b0d123f1d13185b
paused(view returns (bool)
false
publicSaleConfig(view returns (uint256 startTimeuint256 price)
(startTime=1661918400, price=50000000000000000)
refundGuaranteeConfig(view returns (uint256 endTimeaddress refundAddress)
(endTime=1662523200, refundAddress=0x554aef7decd7ef2c10da00dccb7aa8a6c1362f54)
revealingURI(view returns (string)
https://assets.dunhuang.art/hidden_metadata/meta.json
symbol(view returns (string)
DHA
totalMinted(view returns (uint256)
3000
totalSupply(view returns (uint256)
3000
whitelistSaleConfig(view returns (uint64 mintQuotauint256 startTimeuint256 endTimebytes32 merkleRootuint256 priceuint256 discountPricebytes32 discountMerkleRoot)
(mintQuota=1, startTime=1661832000, endTime=1661918340, merkleRoot=0x2ef1530bc18fd0e7d8049c81ceb233d757fdc1a1de4323dfbb99e796a1814ef6, price=50000000000000000, discountPrice=37500000000000000, discountMerkleRoot=0x8cecb55a5ed3067df22616e73d84bbdb359802924225aa7411ae1fcda58e7613)
Read-only
balanceOf(address ownerview returns (uint256)
explicitOwnershipOf(uint256 tokenIdview returns (struct IERC721ATokenOwnership)
explicitOwnershipsOf(uint256[] tokenIdsview returns (struct IERC721ATokenOwnership[])
getApproved(uint256 tokenIdview returns (address)
hasRefunded(uint256view returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isDiscountAddress(address address_bytes32[] signature_view returns (bool)
isTokenDiscountSale(uint256 tokenId_view returns (bool)
isTokenRefunded(uint256 tokenId_view returns (bool)
isWhitelistAddress(address address_bytes32[] signature_view returns (bool)
ownerOf(uint256 tokenIdview returns (address)
refundableTokensOfOwner(address ownerview returns (uint256[])
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
tokensOfOwner(address ownerview returns (uint256[])
tokensOfOwnerIn(address owneruint256 startuint256 stopview returns (uint256[])
State-modifying
approve(address touint256 tokenId
emergencyPause(
giveaway(address address_uint64 numberOfTokens_
publicSale(uint64 numberOfTokens_payable 
refund(uint256[] tokenIds
renounceOwnership(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
sealContract(
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURI_
setPublicSaleConfig(struct DunhuangArtPublicSaleConfig config_
setRefundGuaranteeConfig(struct DunhuangArtRefundGuaranteeConfig config_
setRevealingURI(string revealingURI_
setWhitelistSaleConfig(struct DunhuangArtWhitelistSaleConfig config_
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
unpause(
whitelistSale(uint64 numberOfTokens_bytes32[] signature_bytes32[] discountSignature_payable 
withdraw(
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BaseURIChanged(string newBaseURI
ConsecutiveTransfer(uint256 indexed fromTokenIduint256 toTokenIdaddress indexed fromaddress indexed to
ContractSealed(
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PublicSaleConfigChanged(struct DunhuangArtPublicSaleConfig config
RefundGuaranteeConfigChanged(struct DunhuangArtRefundGuaranteeConfig config
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unpaused(address account
WhitelistSaleConfigChanged(struct DunhuangArtWhitelistSaleConfig config
Withdraw(address indexed accountuint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
ApproveToCaller(
BalanceQueryForZeroAddress(
InvalidQueryRange(
MintERC2309QuantityExceedsLimit(
MintToZeroAddress(
MintZeroQuantity(
OwnerQueryForNonexistentToken(
OwnershipNotInitializedForExtraData(
TransferCallerNotOwnerNorApproved(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
URIQueryForNonexistentToken(