Manages refunds to pool via escrow, like across expired deposits.
Deployed per pool per OpType via CREATE2 for deterministic addressing
event TokensDonated(address token, uint256 amount)
Emitted when tokens are donated back to the pool
address pool
The pool this escrow is associated with
enum OpType opType
The operation type this escrow handles (Transfer or Sync)
error InvalidAmount()
The passed pool must be a Rigoblock pool, i.e. implement donate with unlock.
donate
Allows anyone to send owned to the target Rigoblock pool.
token
address
The token address to claim.
Last updated 25 days ago
error InvalidPool()
error UnsupportedToken()
constructor(address _pool, enum OpType _opType) public
function refundVault(address token) external