# Functions
CheckFromAddressMaxGasPrices checks if the provided gas price in the job spec gas lane parameter matches what is set for the provided from addresses.
EstimateFeeJuels estimates the amount of link needed to fulfill a request given the callback gas limit, the gas price, and the wei per unit link.
No description provided by the author
No description provided by the author
MaybeSubtractReservedLink figures out how much LINK is reserved for other VRF requests that have not been fully confirmed yet on-chain, and subtracts that from the given startBalance, and returns that value if there are no errors.
No description provided by the author
ParseRandomnessRequestLog returns the RandomnessRequestLog corresponding to the raw logData.
No description provided by the author
No description provided by the author
VRFRandomnessRequestLogTopic returns the signature of the RandomnessRequest log emitted by the VRFCoordinator contract.
# Constants
BatchFulfillmentIterationGasCost is the cost of a single iteration of the batch coordinator's loop.
Positive static costs of argument encoding etc.
GasProofVerification is an upper limit on the gas used for verifying the VRF proof on-chain.
# Variables
No description provided by the author
# Structs
No description provided by the author
RandomnessRequestLog contains the data for a RandomnessRequest log, represented as compatible golang types.
# Interfaces
go:generate mockery --quiet --name Config --output ./mocks/ --case=underscore.
go:generate mockery --quiet --name GethKeyStore --output ./mocks/ --case=underscore.
# Type aliases
RawRandomnessRequestLog is used to parse a RandomnessRequest log into types go-ethereum knows about.