VRFCoordinatorV2

Verified contract

Active on Ethereum with 137,127 txns
Deployed by via 0xf59ff7d9 at 13960731
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5,088,926.01
ERC-20
Value $1.18
ERC-20
Value $1.09
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
 (#0)
ERC-1555
--
0x35cc36b4c21da5412bd5f018f73f012921fb918925681cd6e7d9df7b32c023ef
0x12cf1872105df54531b3ba6f58897d17a7edc5a31f7c6b170ed46fd4bf72ea63
0x3375f443ba200c83ba5bd52c89662278b2e5d3562728d0a8891884fcb7ae2fc1
0x10d9e9e8760759b9c9612ac4700c5b83f0d3db695cd8ffc503916ace7fb4f273
0x01d46f845378847b1de747d5a9516557b7698027bc4cf6b4b83cdfa28ee5e47e
0x445bda1c63bc51993cadac2bee9c0a3c1374c189ae2d6ad290ab408426a047c5
0x4c601b5bafaca40ec7ab6cfc585ca17331b19b90e7a0bf7da31daacf9eb7718d
0xcbb4430018d39952135ee48a3d7f4532ea93e9979faf273ca2bfd9018d3b553c
0xbf04aaec0de64bd84180f50626c897b5219079f26ea63856359d676b5bc88e2c
0x5084153613a99ffacbfe3dd13a2da90ddd5d079b23e94bfabce4847a68afb423

Functions
Getter at block 21249245
BLOCKHASH_STORE(view returns (address)
0xaa25602bccf3bbde8e2f0f09f3a1f6def54593c0
LINK(view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
LINK_ETH_FEED(view returns (address)
0xdc530d9457755926550b59e8eccdae7624181557
MAX_CONSUMERS(view returns (uint16)
100
MAX_NUM_WORDS(view returns (uint32)
500
MAX_REQUEST_CONFIRMATIONS(view returns (uint16)
200
getConfig(view returns (uint16 minimumRequestConfirmationsuint32 maxGasLimituint32 stalenessSecondsuint32 gasAfterPaymentCalculation)
(minimumRequestConfirmations=3, maxGasLimit=2500000, stalenessSeconds=86400, gasAfterPaymentCalculation=33285)
getCurrentSubId(view returns (uint64)
954
getFallbackWeiPerUnitLink(view returns (int256)
8000000000000000
getFeeConfig(view returns (uint32 fulfillmentFlatFeeLinkPPMTier1uint32 fulfillmentFlatFeeLinkPPMTier2uint32 fulfillmentFlatFeeLinkPPMTier3uint32 fulfillmentFlatFeeLinkPPMTier4uint32 fulfillmentFlatFeeLinkPPMTier5uint24 reqsForTier2uint24 reqsForTier3uint24 reqsForTier4uint24 reqsForTier5)
(fulfillmentFlatFeeLinkPPMTier1=250000, fulfillmentFlatFeeLinkPPMTier2=250000, fulfillmentFlatFeeLinkPPMTier3=250000, fulfillmentFlatFeeLinkPPMTier4=250000, fulfillmentFlatFeeLinkPPMTier5=250000, reqsForTier2=0, reqsForTier3=0, reqsForTier4=0, reqsForTier5=0)
getRequestConfig(view returns (uint16uint32bytes32[])
(3, 2500000, [0xff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92, 0x9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805, 0x8b15aa058056a19f94f93564b50b7bf0764f89634f21546869048e173928891e, 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef])
getTotalBalance(view returns (uint256)
296694581144429399429174
owner(view returns (address)
0x463219821e151c0c44364c27833e39386c48e64f
typeAndVersion(pure returns (string)
VRFCoordinatorV2 1.0.0
Read-only
getCommitment(uint256 requestIdview returns (bytes32)
getFeeTier(uint64 reqCountview returns (uint32)
getSubscription(uint64 subIdview returns (uint96 balanceuint64 reqCountaddress owneraddress[] consumers)
hashOfKey(uint256[2] publicKeypure returns (bytes32)
pendingRequestExists(uint64 subIdview returns (bool)
State-modifying
acceptOwnership(
acceptSubscriptionOwnerTransfer(uint64 subId
addConsumer(uint64 subIdaddress consumer
cancelSubscription(uint64 subIdaddress to
createSubscription(returns (uint64)
deregisterProvingKey(uint256[2] publicProvingKey
fulfillRandomWords(struct VRFProof proofstruct VRFCoordinatorV2RequestCommitment rcreturns (uint96)
onTokenTransfer(addressuint256 amountbytes data
oracleWithdraw(address recipientuint96 amount
ownerCancelSubscription(uint64 subId
recoverFunds(address to
registerProvingKey(address oracleuint256[2] publicProvingKey
removeConsumer(uint64 subIdaddress consumer
requestRandomWords(bytes32 keyHashuint64 subIduint16 requestConfirmationsuint32 callbackGasLimituint32 numWordsreturns (uint256)
requestSubscriptionOwnerTransfer(uint64 subIdaddress newOwner
setConfig(uint16 minimumRequestConfirmationsuint32 maxGasLimituint32 stalenessSecondsuint32 gasAfterPaymentCalculationint256 fallbackWeiPerUnitLinkstruct VRFCoordinatorV2FeeConfig feeConfig
transferOwnership(address to
Events
ConfigSet(uint16 minimumRequestConfirmationsuint32 maxGasLimituint32 stalenessSecondsuint32 gasAfterPaymentCalculationint256 fallbackWeiPerUnitLinkstruct VRFCoordinatorV2FeeConfig feeConfig
FundsRecovered(address touint256 amount
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
ProvingKeyDeregistered(bytes32 keyHashaddress indexed oracle
ProvingKeyRegistered(bytes32 keyHashaddress indexed oracle
RandomWordsFulfilled(uint256 indexed requestIduint256 outputSeeduint96 paymentbool success
RandomWordsRequested(bytes32 indexed keyHashuint256 requestIduint256 preSeeduint64 indexed subIduint16 minimumRequestConfirmationsuint32 callbackGasLimituint32 numWordsaddress indexed sender
SubscriptionCanceled(uint64 indexed subIdaddress touint256 amount
SubscriptionConsumerAdded(uint64 indexed subIdaddress consumer
SubscriptionConsumerRemoved(uint64 indexed subIdaddress consumer
SubscriptionCreated(uint64 indexed subIdaddress owner
SubscriptionFunded(uint64 indexed subIduint256 oldBalanceuint256 newBalance
SubscriptionOwnerTransferRequested(uint64 indexed subIdaddress fromaddress to
SubscriptionOwnerTransferred(uint64 indexed subIdaddress fromaddress to
Constructor
constructor(address linkaddress blockhashStoreaddress linkEthFeed
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BalanceInvariantViolated(uint256 internalBalanceuint256 externalBalance
BlockhashNotInStore(uint256 blockNum
GasLimitTooBig(uint32 haveuint32 want
IncorrectCommitment(
InsufficientBalance(
InsufficientGasForConsumer(uint256 haveuint256 want
InvalidCalldata(
InvalidConsumer(uint64 subIdaddress consumer
InvalidLinkWeiPrice(int256 linkWei
InvalidRequestConfirmations(uint16 haveuint16 minuint16 max
InvalidSubscription(
MustBeRequestedOwner(address proposedOwner
MustBeSubOwner(address owner
NoCorrespondingRequest(
NoSuchProvingKey(bytes32 keyHash
NumWordsTooBig(uint32 haveuint32 want
OnlyCallableFromLink(
PaymentTooLarge(
PendingRequestExists(
ProvingKeyAlreadyRegistered(bytes32 keyHash
Reentrant(
TooManyConsumers(