Beanz

Verified contract

Active on Ethereum with 82,323 txns
Deployed by via 0x7e074d16 at 14492070
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
ERC-20
--
 (#240)
ERC-721
--
 (#179)
ERC-721
--
0x576af38e34cc5a24a9953b813bea757485529aa2c69c6606d4481f598aba956d
0x926d98fd923f9bf6efed25dfb58cdd424a455c2a311e466de5a7ac412bd3afb2
0x42a44c06add6595cf0a01d8966f78b87a8b8dedffb096f758fbe2923a9a87493
0x3bcc68f20d764f4f8e3d730f5ea16056d3d45875494e1ad0eff887dffe2e7e21
0xf7a9b8a9fa9ff4471b76f8f9ae5af936a7ba42f90035f774e17535a0596d016b
0x664371efa69a274c092a70a006a2e30aebc38c704a221a4482251c2e8d23382b
0xb98d3e6a0795d4cfbc023e3d42a14cada743fe4613a3227e3a402730d1c8bad3
0x26ebb07789c1e9654a057eb70637dbbe34baf0cefc821c653a47c1b2e1b15aa2
0x212080d501404171441d70941a3c22c10a83c2f66207343396ca906b7e115386
0xebe598612d9952a375002e320f242cae9c9b73a645c07776814066b6a8519f94

Functions
Getter at block 21275630
BATCH_SIZE(view returns (uint256)
6
MIN_OWNERSHIP_TIME_FOR_CLAIM(view returns (uint256)
120
azuki(view returns (address)
0xed5af388653567af2f388e6224dc7c4b3241c544
clRequestConfig(view returns (bytes32 keyHashuint64 subscriptionIduint16 requestConfirmationsuint32 callbackGasLimit)
(keyHash=0x0000000000000000000000000000000000000000000000000000000000000000, subscriptionId=0, requestConfirmations=0, callbackGasLimit=0)
claimWindow(view returns (uint128 startTimeuint128 endTime)
(startTime=1, endTime=1650002400)
maxSupply(view returns (uint256)
20000
name(view returns (string)
Beanz
owner(view returns (address)
0x2ae6b0630ebb4d155c6e04fcb16840ffa77760aa
realOwner(view returns (address)
0x2ae6b0630ebb4d155c6e04fcb16840ffa77760aa
symbol(view returns (string)
BEANZ
totalSupply(view returns (uint256)
19950
Read-only
azukiCanClaim(uint256view returns (bool)
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenHasWonRaffle(uint256view returns (bool)
tokenURI(uint256 tokenIdview returns (string)
winningAddresses(addressview returns (bool)
State-modifying
airdrop(address[] receiversuint256[] numAzukiTokensuint256 chunkNum
approve(address touint256 tokenId
claim(uint256[] azukiTokenIds
devClaim(uint256 numAzukiTokens
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceOwnership(
requestRaffleWinner(returns (uint256)
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURI
setCanClaim(uint256[] azukiIds
setClRequestConfig(bytes32 _keyHashuint64 _subscriptionIduint16 _requestConfirmationsuint32 _callbackGasLimit
setClaimWindow(uint128 _startTimeuint128 _endTime
setNameAndSymbol(string _newNamestring _newSymbol
transferFrom(address fromaddress touint256 tokenId
transferLowerOwnership(address newOwner
transferOwnership(address newOwner
transferRealOwnership(address newRealOwner
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RaffleWinner(uint256 winningTokenIdaddress winningAddressuint256 newTokenId
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor
constructor(address _azukiAddressuint256 _maxSupplyaddress _vrfCoordinatoraddress _linkTokenstring initialNamestring initialSymbol
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressAlreadyWonOrOwner(
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
ApprovalToCurrentOwner(
ApproveToCaller(
AzukiNotOwnedLongEnough(
BalanceQueryForZeroAddress(
BeanCannotBeClaimed(
ChunkHasBeenAirdropped(
ClaimWindowNotOpen(
InvalidChunk(
MaxSupplyReached(
MintToZeroAddress(
MintZeroQuantity(
MismatchedTokenOwner(
OnlyCoordinatorCanFulfill(address haveaddress want
OwnerQueryForNonexistentToken(
RaffleWinnerIsContract(
TokenAlreadyWon(
TransferCallerNotOwnerNorApproved(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
URIQueryForNonexistentToken(