LinkswapPriceOracle

Verified contract

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

No balances found for "LinkswapPriceOracle"

No transactions found for "LinkswapPriceOracle"


Functions
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 tokenuint256 usdAmountview returns (uint256)
calculateUsdAmountFromTokenAmount(address tokenuint256 tokenAmountview returns (uint256)
consult(address tokenuint256 amountInview returns (uint256 amountOut)
State-modifying
update(
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _linkTokenaddress _wethTokenaddress _yflTokenaddress _linkUsdChainlinkOracleaddress _wethUsdChainlinkOracle
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.