Skip to main content
Helpful?

ActionsRouter

Git Source | Generated with forge doc

Inherits: IUnlockCallback, Test, GasSnapshot

A router that handles an arbitrary input of actions. TODO: Can continue to add functions per action.

State Variables

manager

IPoolManager manager;

Functions

constructor

constructor(IPoolManager _manager);

unlockCallback

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

executeActions

function executeActions(Actions[] memory actions, bytes[] memory params) external payable;

_settle

function _settle() internal;

_settleNative

function _settleNative(bytes memory params) internal;

_settleFor

function _settleFor(bytes memory params) internal;

_take

function _take(bytes memory params) internal;

_prankTakeFrom

function _prankTakeFrom(bytes memory params) internal;

_sync

function _sync(bytes memory params) internal;

_mint

function _mint(bytes memory params) internal;

_clear

function _clear(bytes memory params) internal;

_assertBalanceEquals

function _assertBalanceEquals(bytes memory params) internal view;

_assertReservesEquals

function _assertReservesEquals(bytes memory params) internal view;

_assertDeltaEquals

function _assertDeltaEquals(bytes memory params) internal view;

_assertNonzeroDeltaCountEquals

function _assertNonzeroDeltaCountEquals(bytes memory params) internal view;

_transferFrom

function _transferFrom(bytes memory params) internal;

Errors

ActionNotSupported

error ActionNotSupported();

CheckParameters

error CheckParameters();
Helpful?