UniswapConsecutiveSlotsPriceFeedMedianizer
Verified contract
Active on
Ethereum with 1,054 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x5e2b…dfb8
0x5b12…9451
Balances ($0.00)
No balances found for "UniswapConsecutiveSlotsPriceFeedMedianizer"
Transactions
ABI
ABI objects
Getter at block 21160116 read() view returns (uint256)
RAY() view returns (uint256)
1000000000000000000000000000
WAD() view returns (uint256)
1000000000000000000
converterFeed() view returns (address)
0x5e2bc99c193c11024456115a5f868ac2d502dfb8
converterFeedScalingFactor() view returns (uint256)
1000000000000000000
converterPriceCumulative() view returns (uint256)
90859699579617048000000000000
defaultAmountIn() view returns (uint256)
1000000000000000000
denominationToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
earliestObservationIndex() view returns (uint256)
1046
getObservationListLength() view returns (uint256, uint256)
(1049, 1049)
getResultWithValidity() view returns (uint256, bool)
(783659947480623374, false)
granularity() view returns (uint8)
3
lastUpdateTime() view returns (uint256)
1719298139
maxWindowSize() view returns (uint256)
129600
periodSize() view returns (uint256)
9600
relayer() view returns (address)
0x5b129afafc97ea14d46cd16432c99638b88b9451
symbol() view returns (bytes32)
0x7261697573640000000000000000000000000000000000000000000000000000
targetToken() view returns (address)
0x967da4048cd07ab37855c090aaf366e4ce1b9f48
timeElapsedSinceFirstObservation() view returns (uint256)
38932968
uniswapFactory() view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
uniswapPair() view returns (address)
0x9b7dad79fc16106b47a3dab791f389c167e15eb0
updates() view returns (uint256)
1049
validityFlag() view returns (uint256)
1
windowSize() view returns (uint256)
28800
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)
FailedReimburseCaller(bytes revertReason)
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.