Verified contractPartialUNLICENSED
BEBO
Address0x48dc4c4aa3c041fbfd01babf98ca91c8b01c2bcc
- Balance
0 ETH
- Transactions
2,693
- Compiler
solc 0.8.7
- Same code
Only this contract
Details
- Compiler
- solc 0.8.7+commit.e28d00a7
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- UNLICENSED
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 16,844,127
- Creation transaction
- 0x5692b1f922…2b1da0f4b8
Read18
- balanceOf(address) → (uint256)
- boxingOpen() → (bool)
- collectionSize() → (uint256)
- config() → (uint8,uint8,uint32,uint32,uint256,uint256,string,string,bytes32)
- getApproved(uint256) → (address)
- isApprovedForAll(address,address) → (bool)
- isOnlyPreMint(uint32,uint32) → (bool)
- isSaleOn(uint256,uint256) → (bool)
- name() → (string)
- owner() → (address)
- ownerOf(uint256) → (address)
- preMintedNum(address) → (uint256)
- publicMintedNum(address) → (uint256)
- supportsInterface(bytes4) → (bool)
- symbol() → (string)
- tokenURI(uint256) → (string)
- tokensOfOwner(address) → (uint256[])
- totalSupply() → (uint256)
Write17
- airdrop(address,uint256)
- approve(address,uint256)
- burn(uint256)
- purchase(uint256,bytes32[],uint8) → (bool)
- renounceOwnership()
- reserve(uint256)
- safeTransferFrom(address,address,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- setApprovalForAll(address,bool)
- setBaseURI(string)
- setBlindTokenURI(string)
- setBoxingStatus(bool)
- setConfig(uint8,uint8,uint32,uint32,uint256,uint256)
- setMerkleRoot(bytes32)
- transferFrom(address,address,uint256)
- transferOwnership(address)
- withdrawMoney()
Events4
- Approval(address,address,uint256)
- ApprovalForAll(address,address,bool)
- OwnershipTransferred(address,address)
- Transfer(address,address,uint256)
Errors8
- CallerIsContract()
- MerkleProofVerificationFailed()
- MintIsOff()
- MintMoreThanAllowed()
- NeedSendMoreETH()
- NotOwnerOrApproval()
- ReachMaxSupply()
- TokenNotExistent()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "collectionSize_",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "CallerIsContract",
"type": "error",
"inputs": []
},
{
"name": "MerkleProofVerificationFailed",
"type": "error",
"inputs": []
},
{
"name": "MintIsOff",
"type": "error",
"inputs": []
},
{
"name": "MintMoreThanAllowed",
"type": "error",
"inputs": []
},
{
"name": "NeedSendMoreETH",
"type": "error",
"inputs": []
},
{
"name": "NotOwnerOrApproval",
"type": "error",
"inputs": []
},
{
"name": "ReachMaxSupply",
"type": "error",
"inputs": []
},
{
"name": "TokenNotExistent",
"type": "error",
"inputs": []
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ApprovalForAll",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "airdrop",
"type": "function",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
},
{
"name": "quantity",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "boxingOpen",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "burn",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "collectionSize",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "config",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "preMintMaxCount",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "publicMintMaxCount",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "preMintStartTime",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "publicMintStartTime",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "preMintPriceWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "publicMintPriceWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseTokenURI",
"type": "string",
"internalType": "string"
},
{
"name": "blindTokenURI",
"type": "string",
"internalType": "string"
},
{
"name": "merkleRoot",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "getApproved",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "isApprovedForAll",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isOnlyPreMint",
"type": "function",
"inputs": [
{
"name": "preMintStartTime",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "publicMintStartTime",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isSaleOn",
"type": "function",
"inputs": [
{
"name": "mintStartTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "price",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "ownerOf",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "preMintedNum",
"type": "function",
"inputs": [
{
"name": "minter",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "publicMintedNum",
"type": "function",
"inputs": [
{
"name": "minter",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "purchase",
"type": "function",
"inputs": [
{
"name": "quantity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "merkleProof",
"type": "bytes32[]",
"internalType": "bytes32[]"
},
{
"name": "roleCode",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "payable"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "reserve",
"type": "function",
"inputs": [
{
"name": "quantity",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setApprovalForAll",
"type": "function",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setBaseURI",
"type": "function",
"inputs": [
{
"name": "baseURI",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setBlindTokenURI",
"type": "function",
"inputs": [
{
"name": "blindTokenURI",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setBoxingStatus",
"type": "function",
"inputs": [
{
"name": "status",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setConfig",
"type": "function",
"inputs": [
{
"name": "preMintMaxCount",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "publicMintMaxCount",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "preMintStartTime",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "publicMintStartTime",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "preMintPriceWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "publicMintPriceWei",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMerkleRoot",
"type": "function",
"inputs": [
{
"name": "merkleRoot",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "tokenURI",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "tokensOfOwner",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawMoney",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.