Skip to main content
Helpful?

PoolDonateTest

Git Source | Generated with forge doc

Inherits: PoolTestBase

Functions

constructor

constructor(IPoolManager _manager) PoolTestBase(_manager);
function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes memory hookData)
external
payable
returns (BalanceDelta delta);

unlockCallback

function unlockCallback(bytes calldata rawData) external returns (bytes memory);

Structs

CallbackData

struct CallbackData {
address sender;
PoolKey key;
uint256 amount0;
uint256 amount1;
bytes hookData;
}
Helpful?