SfrxEthEthDualOracle

Verified contract

Active on Ethereum with 240 txns
Deployed by via 0x51a2ce85 at 17571387
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SfrxEthEthDualOracle"

0x70bf37d92f59e255eb90f187fe906f451a5a770d9c3ab1543ac532f6a1ed07db
0x2dcefdfa56a4c4a3dcd93f6e22912c1ef95897191804703ddf5ecc22e83032f8
0x44d3dbd70ee6b2d95fd18d10a7828b27617da25c342f3120872893de54ae385e
0xc57804919d1f14c1c896f709d015d419ee440da2bdf43e39cd2584b2c719616f
0xf1d8fef0a7a11eb3ced1e444f7233b3e26d803bd27cbe328ac424e86576290fd
0xa5a6445601030e7717cbd6bf2726599ac20f485d198d9b5b764244100e409792
0x8a8f9e91226ccd4bf3a04d1c96baecbe660e2b9fd8208c7d304bb2f49b857aa8
0xa79257d1ba4a6e920eae9f7542e8e48f62ddc54377b2ab5022f8253a978d9fb4
0x5b1b892ca0f3b6ba0caf76dcac71c322cd9472734e535510089fd1b6b1597282
0x27a3da061c942d285dac660ab5b9450b1033c48991e2d10ed38b4ffa303686b0

Functions
Getter at block 21310633
BASE_TOKEN_0(view returns (address)
0x5e8422345238f34275888049021821e8e08caa1f
BASE_TOKEN_0_DECIMALS(view returns (uint256)
18
BASE_TOKEN_1(view returns (address)
0x5e8422345238f34275888049021821e8e08caa1f
BASE_TOKEN_1_DECIMALS(view returns (uint256)
18
CURVE_POOL_EMA_PRICE_ORACLE(view returns (address)
0xa1f8a6807c402e4a15ef4eba36528a3fed24e577
CURVE_POOL_EMA_PRICE_ORACLE_PRECISION(view returns (uint256)
1000000000000000000
ETH_USD_CHAINLINK_FEED_ADDRESS(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
ETH_USD_CHAINLINK_FEED_DECIMALS(view returns (uint8)
8
ETH_USD_CHAINLINK_FEED_PRECISION(view returns (uint256)
100000000
FRAX_USD_CHAINLINK_FEED_ADDRESS(view returns (address)
0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd
FRAX_USD_CHAINLINK_FEED_DECIMALS(view returns (uint8)
8
FRAX_USD_CHAINLINK_FEED_PRECISION(view returns (uint256)
100000000
FRXETH_ERC20(view returns (address)
0x5e8422345238f34275888049021821e8e08caa1f
NORMALIZATION_0(view returns (int256)
0
NORMALIZATION_1(view returns (int256)
0
ORACLE_PRECISION(view returns (uint256)
1000000000000000000
QUOTE_TOKEN_0(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
QUOTE_TOKEN_0_DECIMALS(view returns (uint256)
18
QUOTE_TOKEN_1(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
QUOTE_TOKEN_1_DECIMALS(view returns (uint256)
18
SFRXETH_ERC4626(view returns (address)
0xac3e018457b222d93114458476f3e3416abbe38f
TWAP_PRECISION(view returns (uint128)
1000000000000000000
UNISWAP_V3_TWAP_BASE_TOKEN(view returns (address)
0x5e8422345238f34275888049021821e8e08caa1f
UNISWAP_V3_TWAP_QUOTE_TOKEN(view returns (address)
0x853d955acef822db058eb8505911ed77f175b99e
UNI_V3_PAIR_ADDRESS(view returns (address)
0x36c060cc4b088c830a561e959a679a58205d3f56
decimals(pure returns (uint8)
18
getChainlinkUsdPerFrax(view returns (bool isBadDatauint256 usdPerFrax)
(isBadData=false, usdPerFrax=995736180000000000)
 
getCurveEmaEthPerFrxEth(view returns (uint256 ethPerFrxEth)
 
getCurvePoolToken1EmaPrice(view returns (uint256 _emaPrice)
getEthUsdChainlinkPrice(view returns (bool _isBadDatauint256 _updatedAtuint256 _usdPerEth)
(_isBadData=false, _updatedAt=1733090783, _usdPerEth=372618000000)
getFraxUsdChainlinkPrice(view returns (bool _isBadDatauint256 _updatedAtuint256 _usdPerFrax)
(_isBadData=false, _updatedAt=1733090339, _usdPerFrax=99573618)
 
getPrices(view returns (bool isBadDatauint256 priceLowuint256 priceHigh)
 
getPricesNormalized(view returns (bool isBadDataNormaluint256 priceLowNormaluint256 priceHighNormal)
getUniswapV3Twap(view returns (uint256 _twap)
3697784858235287826387
getUsdPerEthChainlink(view returns (bool isBadDatauint256 usdPerEth)
(isBadData=false, usdPerEth=3726180000000000000000)
maximumCurvePoolEma(view returns (uint256)
1000000000000000000
maximumEthUsdOracleDelay(view returns (uint256)
3900
maximumFraxUsdOracleDelay(view returns (uint256)
3900
minimumCurvePoolEma(view returns (uint256)
700000000000000000
name(view returns (string _name)
sfrxEth Dual Oracle In Eth with Curve Pool EMA and Uniswap v3 TWAP and Frax and ETH Chainlink
pendingTimelockAddress(view returns (address)
0x0000000000000000000000000000000000000000
timelockAddress(view returns (address)
0x8412ebf45bac1b340bbe8f318b928c466c4e39ca
twapDuration(view returns (uint32)
900
Read-only
calculatePrices(uint256 ethPerFrxEthCurveEmauint256 fraxPerFrxEthTwapbool isBadDataEthUsdChainlinkuint256 usdPerEthChainlinkbool isBadDataFraxUsdChainlinkuint256 usdPerFraxChainlinkview returns (bool isBadDatauint256 priceLowuint256 priceHigh)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptTransferTimelock(
addRoundData(address fraxOracle
renounceTimelock(
setMaximumCurvePoolEma(uint256 maximumPrice
setMaximumEthUsdOracleDelay(uint256 newMaxOracleDelay
setMaximumFraxUsdOracleDelay(uint256 newMaxOracleDelay
setMinimumCurvePoolEma(uint256 minimumPrice
setTwapDuration(uint32 newTwapDuration
transferTimelock(address _newTimelock
Events
SetMaximumCurvePoolEma(uint256 oldMaximumuint256 newMaximum
SetMaximumEthUsdOracleDelay(uint256 oldMaxOracleDelayuint256 newMaxOracleDelay
SetMaximumFraxUsdOracleDelay(uint256 oldMaxOracleDelayuint256 newMaxOracleDelay
SetMinimumCurvePoolEma(uint256 oldMinimumuint256 newMinimum
SetTwapDuration(uint256 oldTwapDurationuint256 newTwapDuration
TimelockTransferStarted(address indexed previousTimelockaddress indexed newTimelock
TimelockTransferred(address indexed previousTimelockaddress indexed newTimelock
Constructor
constructor(ConstructorParams params
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OnlyPendingTimelock(
OnlyTimelock(