Skip to content

Commit

Permalink
remove deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Mar 14, 2024
1 parent 4665485 commit 33194a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions contracts/hooks/examples/VolatilityOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ contract VolatilityOracle is BaseHook {

uint32 deployTimestamp;

// function getFee(address, PoolKey calldata) external view returns (uint24) {
// uint24 startingFee = 3000;
// uint32 lapsed = _blockTimestamp() - deployTimestamp;
// return startingFee + (uint24(lapsed) * 100) / 60; // 100 bps a minute
// }

/// @dev For mocking
function _blockTimestamp() internal view virtual returns (uint32) {
return uint32(block.timestamp);
Expand Down

0 comments on commit 33194a6

Please sign in to comment.