Skip to main content
Helpful?

PoolTakeTest

Git Source - Generated with forge doc

Inherits: PoolTestBase

Functions

constructor

constructor(IPoolManager _manager) PoolTestBase(_manager);

take

function take(PoolKey memory key, uint256 amount0, uint256 amount1) external payable;

unlockCallback

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

_testTake

function _testTake(Currency currency, address sender, uint256 amount) internal;

Structs

CallbackData

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