Hooks.wtf

Zaps

FlaunchZap.sol

The updates made to the FlaunchZap introduce _trustedFeeSigner and _premineSwapHookData parameters to the flaunch function calls to support the new TrustedSignerFeeCalculator.

[INFO] Explicit dependency of ITrustedSignerFeeCalculator

The zap makes an explicit reference to the ITrustedSignerFeeCalculator when the _trustedFeeSigner parameter is a non-zero address. This means that if the IFeeCalculator is updated to a different standard, then a new FlaunchZap will need to be deployed to remove this dependency and prevent reverted calls.

// Set the trusted fee signer for this memecoin
ITrustedSignerFeeCalculator(address(positionManager.getFeeCalculator(true))).setTrustedPoolKeySigner({
  _poolKey: positionManager.poolKey(memecoin_),
  _signer: _trustedFeeSigner
});
Previous
CustomFeeManagerRegistry.sol