API reference v1.0
Introduction
periphery
tokenomics
IAlgebraFlashCallback

IAlgebraFlashCallback

IAlgebraFlashCallback

Callback for IAlgebraPoolActions#flash Any contract that calls IAlgebraPoolActions#flash must implement this interface

Functions

algebraFlashCallback

algebraFlashCallback(uint256,uint256,bytes) external

Called to `msg.sender` after transferring to the recipient from IAlgebraPool#flash.

NameTypeDescription
fee0uint256The fee amount in token0 due to the pool by the end of the flash
fee1uint256The fee amount in token1 due to the pool by the end of the flash
databytesAny data passed through by the caller via the IAlgebraPoolActions#flash call