UniswapConsecutiveSlotsPriceFeedMedianizer
Verified contract
Active on
Ethereum with 72 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xb825…4025
0xe806…6855
Balances ($0.00)
No balances found for "UniswapConsecutiveSlotsPriceFeedMedianizer"
Transactions
ABI
ABI objects
Getter at block 21184267 read() view returns (uint256)
RAY() view returns (uint256)
1000000000000000000000000000
WAD() view returns (uint256)
1000000000000000000
converterFeed() view returns (address)
0xb825e25856bd98b3f2faf2aeb6cb8742b38c4025
converterFeedScalingFactor() view returns (uint256)
1000000000000000000
converterPriceCumulative() view returns (uint256)
170584562939178850000000000
defaultAmountIn() view returns (uint256)
1000000000000000000
denominationToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
earliestObservationIndex() view returns (uint256)
69
getObservationListLength() view returns (uint256, uint256)
(72, 72)
getResultWithValidity() view returns (uint256, bool)
(2988012274743747038, false)
granularity() view returns (uint8)
3
lastUpdateTime() view returns (uint256)
1621969715
maxWindowSize() view returns (uint256)
86400
periodSize() view returns (uint256)
21600
relayer() view returns (address)
0xe8063b122bef35d6723e33dbb3446092877c6855
symbol() view returns (bytes32)
0x7261697573640000000000000000000000000000000000000000000000000000
targetToken() view returns (address)
0x03ab458634910aad20ef5f1c8ee96f1d6ac54919
timeElapsedSinceFirstObservation() view returns (uint256)
109641907
uniswapFactory() view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
uniswapPair() view returns (address)
0x8ae720a71622e824f576b4a8c03031066548a3b1
updates() view returns (uint256)
72
validityFlag() view returns (uint256)
1
windowSize() view returns (uint256)
64800
Read-only
addition(uint256 x, uint256 y) pure returns (uint256 z)
authorizedAccounts(address) view returns (uint256)
converterComputeAmountOut(uint256 timeElapsed, uint256 amountIn) view returns (uint256 amountOut)
converterFeedObservations(uint256) view returns (uint256 timestamp, uint256 timeAdjustedPrice)
minimum(uint256 x, uint256 y) pure returns (uint256 z)
multiply(uint256 x, uint256 y) pure returns (uint256 z)
rad(uint256 x) pure returns (uint256 z)
ray(uint256 x) pure returns (uint256 z)
rdivide(uint256 x, uint256 y) pure returns (uint256 z)
rmultiply(uint256 x, uint256 y) pure returns (uint256 z)
rpower(uint256 x, uint256 n, uint256 base) pure returns (uint256 z)
subtract(uint256 x, uint256 y) pure returns (uint256 z)
uniswapComputeAmountOut(uint256 priceCumulativeStart, uint256 priceCumulativeEnd, uint256 timeElapsed, uint256 amountIn) pure returns (uint256 amountOut)
uniswapObservations(uint256) view returns (uint256 timestamp, uint256 price0Cumulative, uint256 price1Cumulative)
wdivide(uint256 x, uint256 y) pure returns (uint256 z)
wmultiply(uint256 x, uint256 y) pure returns (uint256 z)
State-modifying
Events addAuthorization(address account)
modifyParameters(bytes32 parameter, address data)
modifyParameters(bytes32 parameter, uint256 data)
removeAuthorization(address account)
updateResult(address feeReceiver)
AddAuthorization(address account)
FailedConverterFeedUpdate(bytes reason)
FailedUniswapPairSync(bytes reason)
ModifyParameters(bytes32 parameter, address addr)
ModifyParameters(bytes32 parameter, uint256 val)
RemoveAuthorization(address account)
UpdateResult(uint256 medianPrice, uint256 lastUpdateTime)
constructor(address converterFeed_, address uniswapFactory_, uint256 defaultAmountIn_, uint256 windowSize_, uint256 converterFeedScalingFactor_, uint256 maxWindowSize_, uint8 granularity_)
This contract contains no fallback and receive objects.
This contract contains no error objects.