FastPriceFeed

Verified contract

Active on Base with 24,064 txns
Deployed by via 0xc0f78f26 at 2522182
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
5 additional variables
ERC-20
--
ERC-20
--
0x457d403d1571d42385662b92cbb219c6715888427929d065f3ca09c5673bfde7
0xd37170f07a442daf15b17393ea8c625707818dbaf056805b852817784810e548
0x6f521fd00e402088c63cd3c22a4573306818ca94af97cbe428d60841ddd1796f
0xc519b7d22276b550c8e18721e3d6cc29403eb1efd48eb8065790c7e4cd56b9d7
0xb5a2aa6b6508634bf03f6dee8f253f57ba690b0c0ffe4b24b810ba90d03e3f71
0x747b3f8b69a0025fc0031d9bfb7e67135cc8e365332a26f506d29ff911bcde6f
0xaf8daaa6f31232d4f01e3e9a7d1e5caaeaf8a55e85e5e2324aa702aec5873abd
0xd3bf1a1d99b2a313cd070a4dfea519ed85845678419cdc2fb42490f4b411f18f
0x88a1c166c47e6821de29ead03dadbb91cd44752552090079bcea7cf6e08d593c
0x7acd6dc448135274273d66057cf9d0ba729c87d85c36caf6e915d5015f7cc6a7

Functions
Getter at block 22747006
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
BITMASK_32(view returns (uint256)
4294967295
CUMULATIVE_DELTA_PRECISION(view returns (uint256)
10000000
MAX_CUMULATIVE_FAST_DELTA(view returns (uint256)
4294967295
MAX_CUMULATIVE_REF_DELTA(view returns (uint256)
4294967295
MAX_PRICE_DURATION(view returns (uint256)
86400
MAX_REF_PRICE(view returns (uint256)
1461501637330902918203684832716283019655932542975
PRICE_PRECISION(view returns (uint256)
1000000000000000000000000000000
disableFastPriceVoteCount(view returns (uint256)
0
fastPriceEvents(view returns (address)
0xf40d322b64c4732191d24d1422648bf4de43a643
gov(view returns (address)
0xfaba9c75164a6694c4699a0f5610dbef0f79b684
isInitialized(view returns (bool)
true
isSpreadEnabled(view returns (bool)
false
lastUpdatedAt(view returns (uint256)
1725435316
lastUpdatedBlock(view returns (uint256)
19322986
liquidityRouter(view returns (address)
0x8a10708c91e74023221e6a8009790a7ce5dea03f
maxDeviationBasisPoints(view returns (uint256)
750
maxPriceUpdateDelay(view returns (uint256)
46800
maxTimeDeviation(view returns (uint256)
3600
minAuthorizations(view returns (uint256)
3
minBlockInterval(view returns (uint256)
0
positionRouter(view returns (address)
0xa688605056b6656eab66cf7e82ea3608ea9d9e27
priceDataInterval(view returns (uint256)
300
priceDuration(view returns (uint256)
120
spreadBasisPointsIfChainError(view returns (uint256)
500
spreadBasisPointsIfInactive(view returns (uint256)
50
swapRouter(view returns (address)
0xf3d60285b29cba1d14061ecf71f56777c5e1ab85
tokenManager(view returns (address)
0x11860fef30a5e5bbf6c7fee39d248bf646cec9cf
vaultPriceFeed(view returns (address)
0xda6e43c3b5fb0d3ba67f23ab17c7f76a277e1a9e
Read-only
disableFastPriceVotes(addressview returns (bool)
favorFastPrice(address _tokenview returns (bool)
getPrice(address _tokenuint256 _refPricebool _maximiseview returns (uint256)
getPriceData(address _tokenview returns (uint256uint256uint256uint256)
getStates(address[] _tokensview returns (address[]uint256[]bool[])
isSigner(addressview returns (bool)
isUpdater(addressview returns (bool)
maxCumulativeDeltaDiffs(addressview returns (uint256)
priceData(addressview returns (uint160 refPriceuint32 refTimeuint32 cumulativeRefDeltauint32 cumulativeFastDelta)
prices(addressview returns (uint256)
tokenPrecisions(uint256view returns (uint256)
tokens(uint256view returns (address)
State-modifying
disableFastPrice(
enableFastPrice(
initialize(uint256 _minAuthorizationsaddress[] _signersaddress[] _updaters
setCompactedPrices(uint256[] _priceBitArrayuint256 _timestamp
setFastPriceEvents(address _fastPriceEvents
setGov(address _gov
setIsSpreadEnabled(bool _isSpreadEnabled
setLastUpdatedAt(uint256 _lastUpdatedAt
setLiquidityRouter(address _liquidityRouter
setMaxCumulativeDeltaDiffs(address[] _tokensuint256[] _maxCumulativeDeltaDiffs
setMaxDeviationBasisPoints(uint256 _maxDeviationBasisPoints
setMaxPriceUpdateDelay(uint256 _maxPriceUpdateDelay
setMaxTimeDeviation(uint256 _maxTimeDeviation
setMinAuthorizations(uint256 _minAuthorizations
setMinBlockInterval(uint256 _minBlockInterval
setPositionRouter(address _positionRouter
setPriceDataInterval(uint256 _priceDataInterval
setPriceDuration(uint256 _priceDuration
setPrices(address[] _tokensuint256[] _pricesuint256 _timestamp
setPricesWithBits(uint256 _priceBitsuint256 _timestamp
setPricesWithBitsAndExecute(uint256 _priceBitsuint256 _timestampuint256 _endIndexForIncreasePositionsuint256 _endIndexForDecreasePositionsuint256 _endIndexForSwapsuint256 _endIndexForAddLiquiditiesuint256 _endIndexForRemoveLiquidities
setSigner(address _accountbool _isActive
setSpreadBasisPointsIfChainError(uint256 _spreadBasisPointsIfChainError
setSpreadBasisPointsIfInactive(uint256 _spreadBasisPointsIfInactive
setSwapRouter(address _swapRouter
setTokenManager(address _tokenManager
setTokens(address[] _tokensuint256[] _tokenPrecisions
setUpdater(address _accountbool _isActive
setVaultPriceFeed(address _vaultPriceFeed
Events
DisableFastPrice(address signer
EnableFastPrice(address signer
MaxCumulativeDeltaDiffExceeded(address tokenuint256 refPriceuint256 fastPriceuint256 cumulativeRefDeltauint256 cumulativeFastDelta
PriceData(address tokenuint256 refPriceuint256 fastPriceuint256 cumulativeRefDeltauint256 cumulativeFastDelta
Constructor
constructor(uint256 _priceDurationuint256 _maxPriceUpdateDelayuint256 _minBlockIntervaluint256 _maxDeviationBasisPointsaddress _fastPriceEventsaddress _tokenManageraddress _positionRouteraddress _swapRouteraddress _liquidityRouter
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.