SfrxEthEthDualOracle
Verified contract
Active on
Ethereum with 240 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "SfrxEthEthDualOracle"
Transactions
ABI
ABI objects
Getter at block 21310633 getCurveEmaEthPerFrxEth() view returns (uint256 ethPerFrxEth) getCurvePoolToken1EmaPrice() view returns (uint256 _emaPrice) getPrices() view returns (bool isBadData, uint256 priceLow, uint256 priceHigh) getPricesNormalized() view returns (bool isBadDataNormal, uint256 priceLowNormal, uint256 priceHighNormal)
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 isBadData, uint256 usdPerFrax)
(isBadData=false, usdPerFrax=995736180000000000)
getEthUsdChainlinkPrice() view returns (bool _isBadData, uint256 _updatedAt, uint256 _usdPerEth)
(_isBadData=false, _updatedAt=1733090783, _usdPerEth=372618000000)
getFraxUsdChainlinkPrice() view returns (bool _isBadData, uint256 _updatedAt, uint256 _usdPerFrax)
(_isBadData=false, _updatedAt=1733090339, _usdPerFrax=99573618)
getUniswapV3Twap() view returns (uint256 _twap)
3697784858235287826387
getUsdPerEthChainlink() view returns (bool isBadData, uint256 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 ethPerFrxEthCurveEma, uint256 fraxPerFrxEthTwap, bool isBadDataEthUsdChainlink, uint256 usdPerEthChainlink, bool isBadDataFraxUsdChainlink, uint256 usdPerFraxChainlink) view returns (bool isBadData, uint256 priceLow, uint256 priceHigh)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events acceptTransferTimelock()
addRoundData(address fraxOracle)
renounceTimelock()
setMaximumCurvePoolEma(uint256 maximumPrice)
setMaximumEthUsdOracleDelay(uint256 newMaxOracleDelay)
setMaximumFraxUsdOracleDelay(uint256 newMaxOracleDelay)
setMinimumCurvePoolEma(uint256 minimumPrice)
setTwapDuration(uint32 newTwapDuration)
transferTimelock(address _newTimelock)
SetMaximumCurvePoolEma(uint256 oldMaximum, uint256 newMaximum)
SetMaximumEthUsdOracleDelay(uint256 oldMaxOracleDelay, uint256 newMaxOracleDelay)
SetMaximumFraxUsdOracleDelay(uint256 oldMaxOracleDelay, uint256 newMaxOracleDelay)
SetMinimumCurvePoolEma(uint256 oldMinimum, uint256 newMinimum)
SetTwapDuration(uint256 oldTwapDuration, uint256 newTwapDuration)
TimelockTransferStarted(address indexed previousTimelock, address indexed newTimelock)
TimelockTransferred(address indexed previousTimelock, address indexed newTimelock)
constructor(ConstructorParams params)
This contract contains no fallback and receive objects.
OnlyPendingTimelock()
OnlyTimelock()