VRFCoordinatorV2_5

Verified contract

Active on Ethereum with 23,110 txns
Deployed by via 0xd9dc4ec7 at 19584854
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Native
Value $276,898.93
ERC-20
Value $33,565.99
0x6ca6617378de007db82af5327407718b80f9071f33eeadc2be937d5c796b04cb
0x4d4a3b20f250995112988f255f525d53dfa5466bb53db50179e587351adb1e78
0xb02c38cf4ca71b9ae5b2e07a009168f9a720a9c945fafc7b91043e61dcfd5805
0x6b5a4506ec490f708988ebecbda96e41ef9377e9283f612a8dbed51f09b6ed0c
0xe5fb9bb74985299698c11ff0889da8a7ff038cb11d61d618af3235c69a18d403
0x3071b267dd194f4eae19c8ee449985f6d260a7627ec57d2a60829896d74d7bbf
0x0a44ca2f91ba6a1ae15e3a6a738d4e7a83cfad3574fab68075b473abe62b7ea0
0x3a115761b40fe3e92bfed63d6b492c7bc90939b4724c0f6c991c672f3da0a4ff
0x6679bdd34ea7522e82eada72d289b0945fbc1811fcfa5bcfb858874956af0b16
0x80a0a756c8d0c3fb9e1470f000f74d485cff71665baddc6b74b10d0f7f562b76

Functions
Getter at block 21240578
BLOCKHASH_STORE(view returns (address)
0xaa25602bccf3bbde8e2f0f09f3a1f6def54593c0
LINK(view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
LINK_NATIVE_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
owner(view returns (address)
0x21f73d42eb58ba49ddb685dc29d3bf5c0f0373ca
s_config(view returns (uint16 minimumRequestConfirmationsuint32 maxGasLimitbool reentrancyLockuint32 stalenessSecondsuint32 gasAfterPaymentCalculationuint32 fulfillmentFlatFeeNativePPMuint32 fulfillmentFlatFeeLinkDiscountPPMuint8 nativePremiumPercentageuint8 linkPremiumPercentage)
(minimumRequestConfirmations=3, maxGasLimit=2500000, reentrancyLock=false, stalenessSeconds=172800, gasAfterPaymentCalculation=38900, fulfillmentFlatFeeNativePPM=0, fulfillmentFlatFeeLinkDiscountPPM=0, nativePremiumPercentage=24, linkPremiumPercentage=20)
s_currentSubNonce(view returns (uint64)
52
s_fallbackWeiPerUnitLink(view returns (int256)
5354747932930759
s_totalBalance(view returns (uint96)
2228817644388588542893
s_totalNativeBalance(view returns (uint96)
82732460971332106050
Read-only
getActiveSubscriptionIds(uint256 startIndexuint256 maxCountview returns (uint256[] ids)
getSubscription(uint256 subIdview returns (uint96 balanceuint96 nativeBalanceuint64 reqCountaddress subOwneraddress[] consumers)
hashOfKey(uint256[2] publicKeypure returns (bytes32)
pendingRequestExists(uint256 subIdview returns (bool)
s_provingKeyHashes(uint256view returns (bytes32)
s_provingKeys(bytes32view returns (bool existsuint64 maxGas)
s_requestCommitments(uint256view returns (bytes32)
State-modifying
acceptOwnership(
acceptSubscriptionOwnerTransfer(uint256 subId
addConsumer(uint256 subIdaddress consumer
cancelSubscription(uint256 subIdaddress to
createSubscription(returns (uint256 subId)
deregisterMigratableCoordinator(address target
deregisterProvingKey(uint256[2] publicProvingKey
fulfillRandomWords(struct VRFProof proofstruct VRFTypesRequestCommitmentV2Plus rcbool onlyPremiumreturns (uint96 payment)
fundSubscriptionWithNative(uint256 subIdpayable 
migrate(uint256 subIdaddress newCoordinator
onTokenTransfer(addressuint256 amountbytes data
ownerCancelSubscription(uint256 subId
recoverFunds(address to
recoverNativeFunds(address to
registerMigratableCoordinator(address target
registerProvingKey(uint256[2] publicProvingKeyuint64 maxGas
removeConsumer(uint256 subIdaddress consumer
requestRandomWords(struct VRFV2PlusClientRandomWordsRequest reqreturns (uint256 requestId)
requestSubscriptionOwnerTransfer(uint256 subIdaddress newOwner
setConfig(uint16 minimumRequestConfirmationsuint32 maxGasLimituint32 stalenessSecondsuint32 gasAfterPaymentCalculationint256 fallbackWeiPerUnitLinkuint32 fulfillmentFlatFeeNativePPMuint32 fulfillmentFlatFeeLinkDiscountPPMuint8 nativePremiumPercentageuint8 linkPremiumPercentage
setLINKAndLINKNativeFeed(address linkaddress linkNativeFeed
transferOwnership(address to
withdraw(address recipient
withdrawNative(address recipient
Events
ConfigSet(uint16 minimumRequestConfirmationsuint32 maxGasLimituint32 stalenessSecondsuint32 gasAfterPaymentCalculationint256 fallbackWeiPerUnitLinkuint32 fulfillmentFlatFeeNativePPMuint32 fulfillmentFlatFeeLinkDiscountPPMuint8 nativePremiumPercentageuint8 linkPremiumPercentage
CoordinatorDeregistered(address coordinatorAddress
CoordinatorRegistered(address coordinatorAddress
FallbackWeiPerUnitLinkUsed(uint256 requestIdint256 fallbackWeiPerUnitLink
FundsRecovered(address touint256 amount
MigrationCompleted(address newCoordinatoruint256 subId
NativeFundsRecovered(address touint256 amount
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
ProvingKeyDeregistered(bytes32 keyHashuint64 maxGas
ProvingKeyRegistered(bytes32 keyHashuint64 maxGas
RandomWordsFulfilled(uint256 indexed requestIduint256 outputSeeduint256 indexed subIduint96 paymentbool nativePaymentbool successbool onlyPremium
RandomWordsRequested(bytes32 indexed keyHashuint256 requestIduint256 preSeeduint256 indexed subIduint16 minimumRequestConfirmationsuint32 callbackGasLimituint32 numWordsbytes extraArgsaddress indexed sender
SubscriptionCanceled(uint256 indexed subIdaddress touint256 amountLinkuint256 amountNative
SubscriptionConsumerAdded(uint256 indexed subIdaddress consumer
SubscriptionConsumerRemoved(uint256 indexed subIdaddress consumer
SubscriptionCreated(uint256 indexed subIdaddress owner
SubscriptionFunded(uint256 indexed subIduint256 oldBalanceuint256 newBalance
SubscriptionFundedWithNative(uint256 indexed subIduint256 oldNativeBalanceuint256 newNativeBalance
SubscriptionOwnerTransferRequested(uint256 indexed subIdaddress fromaddress to
SubscriptionOwnerTransferred(uint256 indexed subIdaddress fromaddress to
Constructor
constructor(address blockhashStore
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BalanceInvariantViolated(uint256 internalBalanceuint256 externalBalance
BlockhashNotInStore(uint256 blockNum
CoordinatorAlreadyRegistered(address coordinatorAddress
CoordinatorNotRegistered(address coordinatorAddress
FailedToSendNative(
FailedToTransferLink(
GasLimitTooBig(uint32 haveuint32 want
GasPriceExceeded(uint256 gasPriceuint256 maxGas
IncorrectCommitment(
IndexOutOfRange(
InsufficientBalance(
InvalidCalldata(
InvalidConsumer(uint256 subIdaddress consumer
InvalidExtraArgsTag(
InvalidLinkWeiPrice(int256 linkWei
InvalidPremiumPercentage(uint8 premiumPercentageuint8 max
InvalidRequestConfirmations(uint16 haveuint16 minuint16 max
InvalidSubscription(
LinkAlreadySet(
LinkDiscountTooHigh(uint32 flatFeeLinkDiscountPPMuint32 flatFeeNativePPM
LinkNotSet(
MsgDataTooBig(uint256 haveuint32 max
MustBeRequestedOwner(address proposedOwner
MustBeSubOwner(address owner
NoCorrespondingRequest(
NoSuchProvingKey(bytes32 keyHash
NumWordsTooBig(uint32 haveuint32 want
OnlyCallableFromLink(
PaymentTooLarge(
PendingRequestExists(
ProvingKeyAlreadyRegistered(bytes32 keyHash
Reentrant(
TooManyConsumers(