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 "Oracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Oracle"
ABI
ABI objects
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 _chainlinkFeed) view returns (uint256)
getCost(uint256 _amount, address _chainlinkFeed, address _xftPool) view returns (uint256)
getCostSimpleShift(uint256 _amount, address _chainlinkFeed, address _xftPool, address _tokenPool) view returns (uint256)
getFeeInTargetCurrency(uint256 _usdFee, address _chainlinkFeed, address _tokenPool) view returns (uint256)
getTokensForAmount(address _pool, uint32 _intervalShort, uint32 _intervalLong, address _chainlinkFeed, uint256 _amount, address _weth9) view returns (uint256)
getTokensForAmountCeiling(address _pool, uint32 _intervalShort, uint32 _intervalLong, address _chainlinkFeed, uint256 _amount, address _weth9) view returns (uint256)
getTokensForAmountSimpleShift(address _pool, uint32 _intervalShort, uint32 _intervalLong, address _chainlinkFeed, uint256 _amount, address _weth9) view returns (uint256)
getTokensRaw(address _xftPool, address _tokenPool, uint32 _intervalShort, uint32 _intervalLong, uint256 _amount, address _weth9) view returns (uint256)
getV3SqrtPrice(address uniswapV3Pool, uint32 _intervalShort, uint32 _intervalLong) view returns (uint160 sqrtPriceX96)
getV3SqrtPriceAvg(address uniswapV3Pool, uint32 _interval) view returns (uint160 sqrtPriceX96)
getV3SqrtPriceSimpleShift(address uniswapV3Pool, uint32 _intervalShort, uint32 _intervalLong) view returns (uint160 sqrtPriceX96)
isTokenBelowThreshold(uint256 _threshold, address _pool, uint32 _intervalShort, uint32 _intervalLong, address _chainlinkFeed, address _weth9) view returns (bool)
State-modifying
Events renounceOwnership()
setFlexFeeThreshold(uint256 _flexFeeThreshold)
setIntervalLong(uint32 _interval)
setIntervalShort(uint32 _interval)
transferOwnership(address newOwner)
FlexFeeThreshold(uint256 _flexFeeThreshold)
IntervalLong(uint32 _intervalLong)
IntervalShort(uint32 _intervalShort)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _weth9, uint32 _intervalShort, uint32 _intervalLong, uint256 _flexFeeThreshold, address _chainlinkUSDFeed)
This contract contains no fallback and receive objects.
This contract contains no error objects.