IntegralOracle

Verified contract

Active on Ethereum with 6 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "IntegralOracle"

0xc5c7ad9fde2cdc9cc101a363fdc89951eb77e208dd92cd2539733ab7d085bfde
0x650fc36e2e1d69f45f9b69e3c9e4afd0a1df5b785157ea860880d9109fae0cad
0xeea91fa9c0ba8cc72d6724ad0665d9d658ff5a160d8cdca4c8d0dc6f1ac68d13
0xa1a70d2c31e35e95d42cd59d1e771095c0069ccc4e262d322ab42ee8c20236cb
0x0a8f424f4860a0a77f07bd08535909e0a53cb82e11a1f45b97de9d2c7628eb3d
0xaa016a0ead16b9aa4eddfca502beb66d733facc2e88920b21e511d9cb9daca24

Functions
Getter at block 21396038
blockTimestampLast(view returns (uint32)
1704813971
epoch(view returns (uint32)
1174
 
getParameters(view returns (int256[] _bidExponentsint256[] _bidQsint256[] _askExponentsint256[] _askQs)
owner(view returns (address)
0xff030beb0335432e156a0ee55bd87850eaad228e
price(view returns (int256)
2258165349269127873144
price0CumulativeLast(view returns (uint256)
1120804852873429145454255365937852
priceUpdateInterval(view returns (uint32)
120
uniswapPair(view returns (address)
0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852
xDecimals(view returns (uint8)
18
yDecimals(view returns (uint8)
6
Read-only
derivative(int256 tview returns (int256)
derivativeAsk(int256 tview returns (int256)
derivativeBid(int256 tview returns (int256)
getSpotPrice(uint256 xCurrentuint256 xBeforeview returns (uint256 spotPrice)
tradeX(uint256 xAfteruint256 xBeforeuint256 yBeforeview returns (uint256 yAfter)
tradeY(uint256 yAfteruint256 xBeforeuint256 yBeforeview returns (uint256 xAfter)
State-modifying
setOwner(address _owner
setParameters(int256[] _bidExponentsint256[] _bidQsint256[] _askExponentsint256[] _askQs
setPriceUpdateInterval(uint32 interval
setUniswapPair(address _uniswapPair
updatePrice(returns (uint32 _epoch)
Events
OwnerSet(address owner
ParametersSet(uint32 epochint256[] bidExponentsint256[] bidQsint256[] askExponentsint256[] askQs
PriceUpdateIntervalSet(uint32 interval
UniswapPairSet(address uniswapPair
Constructor
constructor(uint8 _xDecimalsuint8 _yDecimals
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.