VRFV2PlusWrapper

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0xfc8e2d7e at 19732849
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $101.71
ERC-20
Value $19.42
0x5b50ab2c9963f1fc6ee9e99ad93fa4385229506f7204b70225396024b19aea9b
0x637d99e99844b920b7434a2b5b05bef12af57958dcfdb0863f8cf763c65e7edd

Functions
Getter at block 21157556
SUBSCRIPTION_ID(view returns (uint256)
80071344125501179385116321626342775488436312309084968644277017161282023308461
getConfig(view returns (int256 fallbackWeiPerUnitLinkuint32 stalenessSecondsuint32 fulfillmentFlatFeeNativePPMuint32 fulfillmentFlatFeeLinkDiscountPPMuint32 wrapperGasOverheaduint32 coordinatorGasOverheadNativeuint32 coordinatorGasOverheadLinkuint16 coordinatorGasOverheadPerWorduint8 wrapperNativePremiumPercentageuint8 wrapperLinkPremiumPercentagebytes32 keyHashuint8 maxNumWords)
(fallbackWeiPerUnitLink=5354747932930759, stalenessSeconds=172800, fulfillmentFlatFeeNativePPM=0, fulfillmentFlatFeeLinkDiscountPPM=0, wrapperGasOverhead=13400, coordinatorGasOverheadNative=90000, coordinatorGasOverheadLink=112000, coordinatorGasOverheadPerWord=435, wrapperNativePremiumPercentage=24, wrapperLinkPremiumPercentage=20, keyHash=0xc6bf2e7b88e5cfbb4946ff23af846494ae1f3c65270b79ee7876c9aa99d3d45f, maxNumWords=10)
lastRequestId(view returns (uint256)
56425527240867983962818369712692660570526123009237380510347931958551636211037
link(view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
linkNativeFeed(view returns (address)
0xdc530d9457755926550b59e8eccdae7624181557
owner(view returns (address)
0x21f73d42eb58ba49ddb685dc29d3bf5c0f0373ca
s_configured(view returns (bool)
true
s_disabled(view returns (bool)
false
s_fulfillmentTxSizeBytes(view returns (uint32)
580
s_vrfCoordinator(view returns (address)
0xd7f86b4b8cae7d942340ff628f82735b7a20893a
typeAndVersion(pure returns (string)
VRFV2PlusWrapper 1.0.0
Read-only
calculateRequestPrice(uint32 _callbackGasLimituint32 _numWordsview returns (uint256)
calculateRequestPriceNative(uint32 _callbackGasLimituint32 _numWordsview returns (uint256)
checkPaymentMode(bytes extraArgsbool isLinkModepure 
estimateRequestPrice(uint32 _callbackGasLimituint32 _numWordsuint256 _requestGasPriceWeiview returns (uint256)
estimateRequestPriceNative(uint32 _callbackGasLimituint32 _numWordsuint256 _requestGasPriceWeiview returns (uint256)
s_callbacks(uint256view returns (address callbackAddressuint32 callbackGasLimituint64 requestGasPrice)
State-modifying
acceptOwnership(
disable(
enable(
onTokenTransfer(address _senderuint256 _amountbytes _data
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
requestRandomWordsInNative(uint32 _callbackGasLimituint16 _requestConfirmationsuint32 _numWordsbytes extraArgspayable returns (uint256 requestId)
setConfig(uint32 _wrapperGasOverheaduint32 _coordinatorGasOverheadNativeuint32 _coordinatorGasOverheadLinkuint16 _coordinatorGasOverheadPerWorduint8 _coordinatorNativePremiumPercentageuint8 _coordinatorLinkPremiumPercentagebytes32 _keyHashuint8 _maxNumWordsuint32 _stalenessSecondsint256 _fallbackWeiPerUnitLinkuint32 _fulfillmentFlatFeeNativePPMuint32 _fulfillmentFlatFeeLinkDiscountPPM
setCoordinator(address _vrfCoordinator
setFulfillmentTxSize(uint32 size
transferOwnership(address to
withdraw(address _recipient
withdrawNative(address _recipient
Events
ConfigSet(uint32 wrapperGasOverheaduint32 coordinatorGasOverheadNativeuint32 coordinatorGasOverheadLinkuint16 coordinatorGasOverheadPerWorduint8 coordinatorNativePremiumPercentageuint8 coordinatorLinkPremiumPercentagebytes32 keyHashuint8 maxNumWordsuint32 stalenessSecondsint256 fallbackWeiPerUnitLinkuint32 fulfillmentFlatFeeNativePPMuint32 fulfillmentFlatFeeLinkDiscountPPM
CoordinatorSet(address vrfCoordinator
Disabled(
Enabled(
FallbackWeiPerUnitLinkUsed(uint256 requestIdint256 fallbackWeiPerUnitLink
FulfillmentTxSizeSet(uint32 size
NativeWithdrawn(address indexed touint256 amount
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
Withdrawn(address indexed touint256 amount
WrapperFulfillmentFailed(uint256 indexed requestIdaddress indexed consumer
Constructor
constructor(address _linkaddress _linkNativeFeedaddress _coordinatoruint256 _subId
Fallback and receive

This contract contains no fallback and receive objects.

Errors
FailedToTransferLink(
IncorrectExtraArgsLength(uint16 expectedMinimumLengthuint16 actualLength
InvalidPremiumPercentage(uint8 premiumPercentageuint8 max
LINKPaymentInRequestRandomWordsInNative(
LinkAlreadySet(
LinkDiscountTooHigh(uint32 flatFeeLinkDiscountPPMuint32 flatFeeNativePPM
NativePaymentInOnTokenTransfer(
OnlyCoordinatorCanFulfill(address haveaddress want
OnlyOwnerOrCoordinator(address haveaddress owneraddress coordinator
SubscriptionIdMissing(
ZeroAddress(