Poolable
Author: Mure
Interface for pool administration functionality and pool errors.
Functions
createPool
function createPool(string calldata poolName, PoolParameters calldata params, bytes calldata sig) external;
updatePool
function updatePool(string calldata poolName, PoolParameters calldata params) external;
poolMetrics
function poolMetrics(string calldata poolName) external view returns (PoolMetrics memory);
Events
PoolCreation
event PoolCreation(string poolName);
PoolUpdate
event PoolUpdate(string poolName);
Withdrawal
event Withdrawal(string poolName, uint256 indexed amount, address indexed to, bytes data);
Errors
PoolClosed
error PoolClosed();
PoolOpen
error PoolOpen();
PoolError
error PoolError(PoolErrorReason reason);
IllegalPoolState
error IllegalPoolState(PoolParameter param);
IllegalPoolOperation
error IllegalPoolOperation(PoolErrorReason reason);
PoolInitialized
error PoolInitialized();
PoolFull
error PoolFull();
PoolPaused
error PoolPaused();
PoolNotEmpty
error PoolNotEmpty();