UniV4Callbacks

Git Source

Inherits: Masks, DeltaErrors

Title: Contract Module taking Uniswap V4 callbacks

Author: Achthar | 1delta /*

State Variables

UNISWAP_V4

address private constant UNISWAP_V4 = 0x000000000004444c5dc75cB358380D2e3dE08A90

Functions

unlockCallback

Callback from uniswap V4 type singletons As Balancer V3 shares the same trigger selector and (unlike this one) has a custom selector provided, we need to skip this part of the data This is mainly done to not have duplicate code and maintain the same level of security by callback validation for both DEX types

function unlockCallback(bytes calldata) external;

_deltaComposeInternal

A composer contract should override this

function _deltaComposeInternal(address callerAddress, uint256 offset, uint256 length) internal virtual;

results matching ""

    No results matching ""