Helpful?
DynamicFeesTestHook
Git Source | Generated with forge doc
Inherits: BaseTestHooks
State Variables
fee
uint24 internal fee;
manager
IPoolManager manager;
Functions
setManager
function setManager(IPoolManager _manager) external;
setFee
function setFee(uint24 _fee) external;
afterInitialize
function afterInitialize(address, PoolKey calldata key, uint160, int24, bytes calldata)
external
override
returns (bytes4);
beforeSwap
function beforeSwap(address, PoolKey calldata key, IPoolManager.SwapParams calldata, bytes calldata)
external
override
returns (bytes4, BeforeSwapDelta, uint24);
forcePoolFeeUpdate
function forcePoolFeeUpdate(PoolKey calldata _key, uint24 _fee) external;