Skip to content

Commit

Permalink
fix: rm redundant function to query bounty available
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jul 8, 2024
1 parent aae7af3 commit 03db2f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ReservoirPriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 03db2f4

Please sign in to comment.