PandaVRFProducer

Verified contract

Active on Ethereum with 5,018 txns
Deployed by via 0x17189df0 at 15402881
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $42.5
0xca31a56096255773b72473439eab09eefefc0de59ea5c20ceb8dd012eb2035c7
0xc60ecc09aa2af11d2537120def494e3ab75888f2d7cd23e48c11b11c26e10af2
0x7e05d2deef2e0425093459c7436b82ce1c2e4c7ed05743da2fea11c6c3c0e6d7
0x0ee7c930b2c9694c7bea364235d903950c366a5795dda0a5d8250a58e7f15bc1
0x9eb6c1b7a7190e90ced61d262d9aa0fddcd1e7af27c8aef4cb4f16f9820637b4
0x28c61c425b3d25120384554bcd35c9f2dd057645e3599049608f4355232f0e1c
0xe188a4eac7b43e5febcc230a69877c5baea250cba64d72bf86580ffc3dc460c8
0xaa1dc4222f76bd2436da105f1fcbc3c209340349890213e52f6b4589c7bf2b94
0xdf7223a4686d7a4f807a4e77bc3b08c2a25c521b9fe2593a168d3b5dc463b345
0x27d8d492c11eb6d165e1bced93eececdb6ad54c8580a5d12e382b08d65ff48e4

Functions
Getter at block 21218561
BUY_FUNC_TYPE(view returns (uint256)
2
FEE_BASE(view returns (uint256)
10000
GAS_LEVEL_1000(view returns (uint8)
4
GAS_LEVEL_200(view returns (uint8)
2
GAS_LEVEL_500(view returns (uint8)
3
GAS_LEVEL_CONTRACT(view returns (uint8)
1
NFT_TOTAL_SUPPLY(view returns (uint256)
10000
REBRON_FUNC_TYPE(view returns (uint256)
1
REQ_FINISH(view returns (uint8)
3
REQ_NOT_SEND(view returns (uint8)
0
REQ_PENDING(view returns (uint8)
2
REQ_START(view returns (uint8)
1
ZERO_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
fixedGasPrice(view returns (uint256)
20000000000
isVrfOpen(view returns (bool)
true
owner(view returns (address)
0xe0daeff29c4f44954d91e6b068bcfb7b6bea847f
pandaNFT(view returns (address)
0x9ac70d7d63701e230446885776818d7734eb33f6
pandaToken(view returns (address)
0x3cbb7f5d7499af626026e96a2f05df806f2200dc
poolFeeValue(view returns (uint256)
375
poolKit(view returns (address)
0x335a46e5de67986e2f0f251e00acd605b3c9a691
subscriptionId(view returns (uint64)
316
treasuryFeeValue(view returns (uint256)
0
Read-only
buyMap(addressview returns (uint256)
rebornMap(addressview returns (uint256)
reqInfos(uint256view returns (uint256 reqFuncaddress senderuint256 ownerTokenIduint256 targetTokenIduint256 amountFeeMaxuint256 deadlineuint256 reqState)
State-modifying
addConsumer(address consumerAddress
buy(uint256 _amountBuyMaxuint256 _deadlineuint8 _gasLevelpayable 
cancelSubscription(address receivingWallet
createNewSubscription(
onBuy(
onReborn(
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
reborn(uint256 _ownerTokenIduint256 _amountFeeMaxuint256 _deadlineuint8 _gasLevelpayable 
redeem(uint256 _ownerTokenIduint256 _amountRedeemMinuint256 _deadline
removeConsumer(address consumerAddress
renounceOwnership(
setCallbackGasLimet(uint32 _limit
setPoolFeeValue(uint256 _feeValue
setSwitchs(bool _vrfOpen
setTreasuryFeeValue(uint256 _feeValue
seteFixedGasPrice(uint256 _gasPrice
topUpSubscription(uint256 amount
transferOwnership(address newOwner
withdrawERC20(address _recipientaddress _tokenAddressuint256 _tokenAmount
withdrawEther(address recipientuint256 amount
Events
AddConsumer(address consumerAddress
Buy(address indexed recipientuint256 targetTokenId
CallbackGasLimet(uint256 _limit
CancelSubscription(address receivingWalletuint256 subscriptionId
FixedGasPrice(uint256 _gasPrice
NewSubscription(address consumeruint256 subscriptionId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PreBuy(uint256 indexed requestIdaddress indexed recipientuint256 payAmount
PreReborn(uint256 indexed requestIdaddress indexed recipientuint256 ownerTokenIduint256 fee
RandomOpened(address indexed senderuint256 indexuint256 targetIndexuint256 requestIduint256 random
Reborn(address indexed recipientuint256 ownerTokenIduint256 targetTokenId
Redeem(address indexed recipientuint256 ownerTokenIduint256 receiveAmount
RemoveConsumer(address consumerAddress
SetPoolFeeValue(uint256 feeValue
SetTreasuryFeeValue(uint256 feeValue
SwitchEvent(bool _vrfOpen
TopUpSubscription(uint256 amount
WithdrawERC20(address recipientaddress tokenAddressuint256 tokenAmount
WithdrawEther(address recipientuint256 amount
Constructor
constructor(address _pandaCoreaddress _pandaTokenaddress _pandaNft
Fallback and receive
fallback(
receive(
Errors
ConcurrentRebornError(address senderuint256 requistId
MaxBuyNotMatch(uint256 maxUserPayForuint256 poolNeedPayFor
MaxFeeNotMatch(uint256 maxUserFeeuint256 poolNeedFee
MinReceiveNotMatch(uint256 exceptMinReceiveuint256 poolPayFor
NFTOwnerNotMatch(uint256 tokenIdaddress expectOwneraddress realOwner
NoEnoughCallbackGas(uint256 valueuint256 needGas
OnlyCoordinatorCanFulfill(address haveaddress want
PandaNotEnough(address senderuint256 balanceuint256 needBalance
PoolCloseError(
PoolNotEnoughNFT(uint256 poolBalanceuint256 downLimit
RequestInvalid(address senderuint256 requestIduint256 targetTokenId
TimeOutError(uint256 deadlineuint256 timestamp
TransferEhterFail(address senderaddress receiveruint256 amount
ZeroAddrError(