LinkswapPriceOracle
Verified contract
Active on
Ethereum with 0 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "LinkswapPriceOracle"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LinkswapPriceOracle"
ABI
ABI objects
Getter at block 21297550
PERIOD() view returns (uint256)
14400
blockTimestampLast() view returns (uint32)
1611670457
factory() view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
linkToken() view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
linkUsdChainlinkOracle() view returns (address)
0x32dbd3214ac75223e27e575c53944307914f7a90
price0Average() view returns (uint224 _x)
12573816278305031316656439809299
price0CumulativeLast() view returns (uint256)
73574414860055326452985984026132569231730
price1Average() view returns (uint224 _x)
25894759471605249083943846568036
price1CumulativeLast() view returns (uint256)
153997390049147078119961872821842477108761
token0() view returns (address)
0x28cb7e841ee97947a86b06fa4090c8451f64c0be
token1() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethUsdChainlinkOracle() view returns (address)
0xf79d6afbb6da890132f9d7c355e3015f15f3406f
yflToken() view returns (address)
0x28cb7e841ee97947a86b06fa4090c8451f64c0be
Read-only
calculateTokenAmountFromUsdAmount(address token, uint256 usdAmount) view returns (uint256)
calculateUsdAmountFromTokenAmount(address token, uint256 tokenAmount) view returns (uint256)
consult(address token, uint256 amountIn) view returns (uint256 amountOut)
State-modifying
Events update()
This contract contains no event objects.
constructor(address _factory, address _linkToken, address _wethToken, address _yflToken, address _linkUsdChainlinkOracle, address _wethUsdChainlinkOracle)
This contract contains no fallback and receive objects.
This contract contains no error objects.