# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CalculateFee outputs a fee in wei according to the formula: baseUSDFee * scaleFactor / tokenPriceInUSD.
No description provided by the author
Decodes a value using 24-byte big endian two's complement representation.
Encodes a value using 24-byte big endian two's complement representation.
GetConsensusAsk gets the median ask.
GetConsensusBenchmarkPrice gets the median benchmark price.
GetConsensusBid gets the median bid.
GetConsensusLinkFee gets the median link fee.
GetConsensusMaxFinalizedTimestamp returns the highest count with > f observations.
GetConsensusNativeFee gets the median native fee.
GetConsensusTimestamp gets the median timestamp.
No description provided by the author
ValidateBetween checks that value is between min and max.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Bounds on an int192.
NOTE: hardcoded for now, this may need to change if we support block range on chains other than eth.

# Variables

FeeScalingFactor indicates the multiplier applied to fees.
No description provided by the author
No description provided by the author
nolint:revive.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
StandardOnchainConfigCodec provides a mercury-specific implementation of OnchainConfigCodec.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author