Bangkok hacker badge

Verified contract

Proxy

Active on Base with 109 txns
Deployed by via 0x50197564 at 22344580
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
40 additional variables
Native
Value $1.35
0x9e98483333e485723377a846aea86139f13ba68466a0c5505e9e6ea098b988e4
0xd35a5a070bb38d8a6fd9234be1764dab04204a93afd0ca382faff4e267dd4aba
0xc4803cacb7e3b80ba1ea2880eb3fab67a7c72c5821ddc9641280873fc6ecee0f
0x3f61c3d4f790c04f75592f4ba62252bd66399ae6ea314a4c1b175e3c556be6b6
0x5e24c3f50761742240cf8d3a5ecb35bffc299722950ed9faaaf9b4ab6a88f127
0x1c25fd3e96e1288b59590919d2d06e0bd8f2328dd72e836e3ce9dd2f23ed15cf
0x80625cc8aaaca43adecee21b836239afb2bd34c2352c4a09522aa3bf5b89927a
0x07bbfe98c09c63022ceb4226cc6bd66cd726fe77aa3d180bd81139a6070d857c
0xe411912ac47d6008bf965d2c6c2a22131cd7bbca9335f1961dc6492c338cc6f5
0xf540cfbf5ef0ebe444ec4b9bcd79af89ecb5e4614a3b3ab4c204224265970545

Functions
Getter at block 22909858
burnedTokens(view returns (uint256)
0
collectionSize(view returns (uint256 size)
2000
contractURI(view returns (string)
https://metadata.nfts2me.com/api/contractURI/8453/1191575404608739244554703568631637073404886037601/
currentPhase(view returns (uint8)
0
erc20PaymentAddress(view returns (address)
0x0000000000000000000000000000000000000000
getTraitMetadataURI(view returns (string labelsURI)
isMetadataFixed(view returns (bool)
true
isOpen(view returns (bool)
true
isOperatorFilterRegistryEnabled(view returns (bool)
false
maxPerAddress(view returns (uint256)
1
merkleRoot(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
mintingType(view returns (uint8)
1
n2mVersion(pure returns (uint256)
2030
name(view returns (string)
Bangkok hacker badge
owner(view returns (address collectionOwner)
0x7916fcf7cf26d35d61fa15cc05a442989e816bbd
ownerMaxRevenue(view returns (uint256 maxRevenue)
10000
pendingTotalAffiliatesBalance(view returns (uint256)
0
protocolFee(view returns (uint256)
100000000000000
reservedTokens(view returns (uint256)
0
royaltyFee(view returns (uint256)
0
saleDates(view returns (uint256 dropDateTimestampuint256 endDateTimestamp)
(dropDateTimestamp=0, endDateTimestamp=0)
symbol(view returns (string)
BAN
totalSupply(view returns (uint256)
104
withdrawnAmount(view returns (uint256)
0
Read-only
affiliatesInfo(address affiliateview returns (bool enableduint16 affiliatePercentageuint16 userDiscount)
allowListed(address _walletbytes32[] _proofview returns (bool)
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getTraitValue(uint256 tokenIdbytes32 traitKeyview returns (bytes32 traitValue)
getTraitValues(uint256 tokenIdbytes32[] traitKeysview returns (bytes32[] traitValues)
isApprovedForAll(address owneraddress operatorview returns (bool)
locked(uint256 tokenIdview returns (bool)
mintFee(uint256 amountview returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
pendingAffiliateBalance(addressview returns (uint256)
royaltyInfo(uint256uint256 salePriceview returns (address receiveruint256 royaltyAmount)
supportsInterface(bytes4 interfaceIdpure returns (bool)
tokenURI(uint256 tokenIdview returns (string)
userExpires(uint256 tokenIdview returns (uint256)
userOf(uint256 tokenIdview returns (address)
whitelistedOperators(addressview returns (bool)
withdrawnERC20Amount(addressview returns (uint256)
State-modifying
affiliateWithdraw(address affiliatepayable 
airdropCustomURI(address[] tobytes32[] customURICIDHashbool soulboundpayable 
airdropRandom(address[] tobool soulboundpayable 
airdropSpecify(address[] touint256[] tokenIdsbool soulboundpayable 
approve(address operatoruint256 tokenId
burn(uint256 tokenIdpayable 
changeERC20PaymentAddress(address newErc20PaymentAddresspayable 
changeMintFee(uint256 newMintPricebool isDynamicpayable 
changeRoyaltyFee(uint16 newFeepayable 
disableOperatorFilterRegistry(payable 
initialize008joDSK(string name_string symbol_uint256 mintPrice_bytes32 baseURICIDHashbytes32 packedDatabytes extraCollectionInformationpayable 
mintAllowlist(uint256 amountbytes32[] proofpayable 
mintCustomURITo(address tobytes32 customURICIDHashbool soulboundpayable 
mintRandomTo(address touint256 amountpayable 
mintRandomTo(address touint256 amountaddress affiliatepayable 
mintSpecifyTo(address touint256[] tokenIdspayable 
mintSpecifyTo(address touint256[] tokenIdsaddress affiliatepayable 
mintWhitelist(bytes32 toWihtExtrauint256 customFeebytes signatureuint256[] tokenIdspayable 
ownershipTransferred(address fromaddress topayable 
reduceCollectionSize(uint32 newCollectionSizepayable 
removeProtocolFee(bytes signatureuint256 feeaddress feeReceiverpayable 
reserveTokens(uint16 amountpayable 
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setAffiliatesPercentageAndDiscount(uint16 userDiscountuint16 affiliatePercentageaddress affiliateAddress
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURIStringbytes32 baseURICIDHashbool isPlaceholderbool freezeMetadatapayable 
setContractURI(bytes32 newContractURIMetadataCIDHashpayable 
setDropAndEndDate(uint256 dropDateTimestampuint256 endDateTimestamppayable 
setMaxPerAddress(uint16 newMaxPerAddresspayable 
setMerkleRoot(bytes32 merkleRoot_payable 
setPhase(uint8 newPhasepayable 
setTrait(uint256 tokenIdbytes32 traitKeybytes32 value
setTraitMetadataURI(string uripayable 
setTraitsPermissions(bytes32[] ownerCanUpdateTraitKeysbytes32[] onlyOnceTraitKeyspayable 
setUser(uint256 tokenIdaddress useruint64 expires
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address topayable 
unreserveTokens(uint16 amountpayable 
whitelistOperators(address[] operatorspayable 
withdraw(payable 
withdrawERC20(address erc20Addresspayable 
Events
AffiliateSell(address indexed affiliate
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BatchMetadataUpdate(uint256 fromTokenIduint256 toTokenId
ContractURIUpdated(
ImmutableTrait(bytes32 indexed traitKeyuint256 indexed tokenIdbytes32 value
Locked(uint256 tokenId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TraitMetadataURIUpdated(
TraitUpdated(bytes32 indexed traitKeyuint256 tokenIdbytes32 traitValue
TraitUpdatedList(bytes32 indexed traitKeyuint256[] tokenIds
TraitUpdatedListUniformValue(bytes32 indexed traitKeyuint256[] tokenIdsbytes32 traitValue
TraitUpdatedRange(bytes32 indexed traitKeyuint256 fromTokenIduint256 toTokenId
TraitUpdatedRangeUniformValue(bytes32 indexed traitKeyuint256 fromTokenIduint256 toTokenIdbytes32 traitValue
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unlocked(uint256 tokenId
UpdateUser(uint256 indexed tokenIdaddress indexed useruint64 expires
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors
AddressEmptyCode(address target
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
BalanceQueryForZeroAddress(
CantLowerCurrentPercentages(
CollectionSoldOut(
ERC721IncorrectOwner(address senderuint256 tokenIdaddress owner
ERC721InsufficientApproval(address operatoruint256 tokenId
ERC721InvalidApprover(address approver
ERC721InvalidOperator(address operator
ERC721InvalidOwner(address owner
ERC721InvalidReceiver(address receiver
ERC721InvalidSender(address sender
ERC721NonexistentToken(uint256 tokenId
FailedInnerCall(
InvadlidCollectionSize(
InvalidAmount(
InvalidInitialization(
InvalidInputSizesDontMatch(
InvalidMintFee(
InvalidMintingType(
InvalidPercentageOrDiscountValues(
InvalidPhaseWithoutDate(
InvalidRevenuePercentage(
InvalidSignature(
InvalidTokenId(
MaxPerAddressExceeded(
MetadataAlreadyFixed(
MintToZeroAddress(
MintZeroQuantity(
NewBaseURICantBeEmpty(
NonEditableTraitByTokenOwner(
NonTransferrableSoulboundNFT(
NotAllowlisted(
NotEnoughAmountToMint(
OnlyOnceTrait(
OperatorNotAllowed(address operator
OwnableUnauthorizedAccount(address account
OwnerQueryForNonexistentToken(
PendingAffiliatesBalance(
PlacerholderCantFreezeMetadata(
PresaleInvalidMintingType(
PresaleNotOpen(
PublicSaleNotOpen(
ReentrancyGuard(
SaleFinished(
SignatureMismatch(
TraitValueUnchanged(
TransferCallerNotOwnerNorApproved(
TransferFromFailed(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
WaitUntilDropDate(