Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Nov 1, 2023
1 parent b0806ca commit 0d6c614
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/hooks/examples/VolatilityOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ contract VolatilityOracle is BaseHook, IDynamicFeeManager {

uint32 deployTimestamp;

function getFee(address, PoolKey calldata)
external
view
returns (uint24)
{
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
Expand Down

0 comments on commit 0d6c614

Please sign in to comment.