Helpful?
HooksTest
Git Source | Generated with forge doc
Functions
validateHookPermissions
function validateHookPermissions(address hookAddress, Hooks.Permissions calldata params) external pure;
isValidHookAddress
function isValidHookAddress(address hookAddress, uint24 fee) external pure returns (bool);
shouldCallBeforeInitialize
function shouldCallBeforeInitialize(address hookAddress) external pure returns (bool);
shouldCallAfterInitialize
function shouldCallAfterInitialize(address hookAddress) external pure returns (bool);
shouldCallBeforeSwap
function shouldCallBeforeSwap(address hookAddress) external pure returns (bool);
shouldCallAfterSwap
function shouldCallAfterSwap(address hookAddress) external pure returns (bool);
shouldCallBeforeAddLiquidity
function shouldCallBeforeAddLiquidity(address hookAddress) external pure returns (bool);
shouldCallAfterAddLiquidity
function shouldCallAfterAddLiquidity(address hookAddress) external pure returns (bool);
shouldCallBeforeRemoveLiquidity
function shouldCallBeforeRemoveLiquidity(address hookAddress) external pure returns (bool);
shouldCallAfterRemoveLiquidity
function shouldCallAfterRemoveLiquidity(address hookAddress) external pure returns (bool);
shouldCallBeforeDonate
function shouldCallBeforeDonate(address hookAddress) external pure returns (bool);
shouldCallAfterDonate
function shouldCallAfterDonate(address hookAddress) external pure returns (bool);
getGasCostOfShouldCall
function getGasCostOfShouldCall(address hookAddress) external view returns (uint256);
getGasCostOfValidateHookAddress
function getGasCostOfValidateHookAddress(address hookAddress, Hooks.Permissions calldata params)
external
view
returns (uint256);