RaffleNFT

Verified contract

Active on Ethereum with 1,240 txns
Deployed by via 0x0c2526b3 at 18758360
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
--
0x9d2f80abc2e5e4aa8a9a37b03cd90933696a3b85bdc2c18b21c949c8e735e895
0xbcbe46c58b213f9e4e3cdff24fa766998a70cddd3d39f8bf6e94b71f6e9518da
0xb6abea795935be55a75f7452b07389bdeb77c8323bd40051afb4c7a9bd3abac2
0xd363fc62c8801b69c8a2be15a2582c8b93f1a6cbde01f7a06a98c71fc5987f8e
0x1a3a4c7678d2878bfe2fdf938e07d570cd58e361ea256d60c99f4a2e4cdf486f
From
0x5f7eaf1bcf8db4e01c112f8ff6f101a16e403c781295bd82e2fb0b356eb76dd2
0xb8cf74ef134139f8923f339a92c85f780637909141fcf21c94bf5c13375b2c6d
0xaabeb80cf8cf416f355131fb93fd298686f945864a2c6f83302cbd7ad347173f
0xb1961f93ffe40af467ac87cdb542610d05036c12cf71c4ef2ffd8cb255b491d4
0x0a5981bf4b3c425e5aeb9d4aeb2964c5d24d3d23ef82b52936ca4715ffbe5ab9
From

Functions
Getter at block 21221702
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
FUNCTION_TYPE_SEND(view returns (uint16)
1
feeAddress(view returns (address)
0x5b0ad73070fbb382d62095eee04f0e7604199426
 
getBuyList(view returns (struct RaffleNFTBuyInfo[])
getBuyListLength(view returns (uint256)
972
lzEndpoint(view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
maxMint(view returns (uint256)
6
minGasToTransferAndStore(view returns (uint256)
100000
mintLimit(view returns (uint256)
10000
name(view returns (string)
HOOD Raffle NFT
owner(view returns (address)
0x7f4ba52b0ed8ad2ef9bbd20f201db51cc34cc2e5
precrime(view returns (address)
0x0000000000000000000000000000000000000000
pricePerOne(view returns (uint256)
45000000000000000
signer(view returns (address)
0x24a918869efc0f0e910cefb08a5490a2cce465e6
symbol(view returns (string)
RAFFLE
totalSupply(view returns (uint256)
3609
Read-only
balanceOf(address ownerview returns (uint256)
buyList(uint256view returns (address buyeruint256 amount)
dstChainIdToBatchLimit(uint16view returns (uint256)
dstChainIdToTransferGas(uint16view returns (uint256)
estimateSendBatchFee(uint16 _dstChainIdbytes _toAddressuint256[] _tokenIdsbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
estimateSendFee(uint16 _dstChainIdbytes _toAddressuint256 _tokenIdbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16bytesuint64view returns (bytes32)
getApproved(uint256 tokenIdview returns (address)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isApprovedForAll(address owneraddress operatorview returns (bool)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
mintedAmount(addressview returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
payloadSizeLimitLookup(uint16view returns (uint256)
storedCredits(bytes32view returns (uint16 srcChainIdaddress toAddressuint256 indexbool creditsRemain)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
approve(address touint256 tokenIdpayable 
buy(uint256 quantitybytes signaturepayable 
clearCredits(bytes _payload
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
safeTransferFrom(address fromaddress touint256 tokenIdpayable 
safeTransferFrom(address fromaddress touint256 tokenIdbytes _datapayable 
sendBatchFrom(address _fromuint16 _dstChainIdbytes _toAddressuint256[] _tokenIdsaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamspayable 
sendFrom(address _fromuint16 _dstChainIdbytes _toAddressuint256 _tokenIdaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamspayable 
setApprovalForAll(address operatorbool approved
setBaseUri(string _baseTokenURI
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setDstChainIdToBatchLimit(uint16 _dstChainIduint256 _dstChainIdToBatchLimit
setDstChainIdToTransferGas(uint16 _dstChainIduint256 _dstChainIdToTransferGas
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setMinGasToTransferAndStore(uint256 _minGasToTransferAndStore
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setSigner(address _signer
setTrustedRemote(uint16 _remoteChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
transferFrom(address fromaddress touint256 tokenIdpayable 
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BuyEvent(address buyeruint256 amount
ConsecutiveTransfer(uint256 indexed fromTokenIduint256 toTokenIdaddress indexed fromaddress indexed to
CreditCleared(bytes32 _hashedPayload
CreditStored(bytes32 _hashedPayloadbytes _payload
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveFromChain(uint16 indexed _srcChainIdbytes indexed _srcAddressaddress indexed _toAddressuint256[] _tokenIds
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SendToChain(uint16 indexed _dstChainIdaddress indexed _frombytes indexed _toAddressuint256[] _tokenIds
SetDstChainIdToBatchLimit(uint16 _dstChainIduint256 _dstChainIdToBatchLimit
SetDstChainIdToTransferGas(uint16 _dstChainIduint256 _dstChainIdToTransferGas
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetMinGasToTransferAndStore(uint256 _minGasToTransferAndStore
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

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