From 03db2f417940c16ef2df4399eab7c9650d1a07fb Mon Sep 17 00:00:00 2001 From: "A.L." Date: Mon, 8 Jul 2024 21:37:39 +0200 Subject: [PATCH] fix: rm redundant function to query bounty available --- src/ReservoirPriceOracle.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ReservoirPriceOracle.sol b/src/ReservoirPriceOracle.sol index e4e4eca..a110f04 100644 --- a/src/ReservoirPriceOracle.sol +++ b/src/ReservoirPriceOracle.sol @@ -101,11 +101,6 @@ contract ReservoirPriceOracle is IPriceOracle, IReservoirPriceOracle, Owned(msg. // price update related functions - // REVIEW: While this is nice in terms of self documentation, I think any MEV bot can just do `address(reservoirOracle).balance` right? - function gasBountyAvailable() external view returns (uint256) { - return address(this).balance; - } - function route(address aToken0, address aToken1) external view returns (address[] memory rRoute) { (rRoute,,) = _getRouteDecimalDifferencePrice(aToken0, aToken1); }