Skip to main content
Helpful?

DynamicReturnFeeTestHook

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;

beforeSwap

function beforeSwap(address, PoolKey calldata, IPoolManager.SwapParams calldata, bytes calldata)
external
view
override
returns (bytes4, BeforeSwapDelta, uint24);

forcePoolFeeUpdate

function forcePoolFeeUpdate(PoolKey calldata _key, uint24 _fee) external;
Helpful?