Oracle

Verified contract

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

No balances found for "Oracle"

No transactions found for "Oracle"


Functions
Getter at block 20964986
chainlinkUSDFeed(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
flexFeeThreshold(view returns (uint256)
975000000000000000
intervalLong(view returns (uint32)
1800
intervalShort(view returns (uint32)
180
owner(view returns (address)
0x45a2498da5bb1bc8e66444e714a2f251b64e18a4
weth9(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
chainlinkPrice(address _chainlinkFeedview returns (uint256)
getCost(uint256 _amountaddress _chainlinkFeedaddress _xftPoolview returns (uint256)
getCostSimpleShift(uint256 _amountaddress _chainlinkFeedaddress _xftPooladdress _tokenPoolview returns (uint256)
getFeeInTargetCurrency(uint256 _usdFeeaddress _chainlinkFeedaddress _tokenPoolview returns (uint256)
getTokensForAmount(address _pooluint32 _intervalShortuint32 _intervalLongaddress _chainlinkFeeduint256 _amountaddress _weth9view returns (uint256)
getTokensForAmountCeiling(address _pooluint32 _intervalShortuint32 _intervalLongaddress _chainlinkFeeduint256 _amountaddress _weth9view returns (uint256)
getTokensForAmountSimpleShift(address _pooluint32 _intervalShortuint32 _intervalLongaddress _chainlinkFeeduint256 _amountaddress _weth9view returns (uint256)
getTokensRaw(address _xftPooladdress _tokenPooluint32 _intervalShortuint32 _intervalLonguint256 _amountaddress _weth9view returns (uint256)
getV3SqrtPrice(address uniswapV3Pooluint32 _intervalShortuint32 _intervalLongview returns (uint160 sqrtPriceX96)
getV3SqrtPriceAvg(address uniswapV3Pooluint32 _intervalview returns (uint160 sqrtPriceX96)
getV3SqrtPriceSimpleShift(address uniswapV3Pooluint32 _intervalShortuint32 _intervalLongview returns (uint160 sqrtPriceX96)
isTokenBelowThreshold(uint256 _thresholdaddress _pooluint32 _intervalShortuint32 _intervalLongaddress _chainlinkFeedaddress _weth9view returns (bool)
State-modifying
renounceOwnership(
setFlexFeeThreshold(uint256 _flexFeeThreshold
setIntervalLong(uint32 _interval
setIntervalShort(uint32 _interval
transferOwnership(address newOwner
Events
FlexFeeThreshold(uint256 _flexFeeThreshold
IntervalLong(uint32 _intervalLong
IntervalShort(uint32 _intervalShort
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _weth9uint32 _intervalShortuint32 _intervalLonguint256 _flexFeeThresholdaddress _chainlinkUSDFeed
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.