Escrow
Overview
License: Apache-2.0-or-later
contract Escrow is ReentrancyGuardTransientManages refunds to pool via escrow, like across expired deposits.
Deployed per pool per OpType via CREATE2 for deterministic addressing
Events info
TokensDonated
event TokensDonated(address indexed token, uint256 amount)Emitted when tokens are donated back to the pool
Errors info
InvalidAmount
error InvalidAmount()InvalidPool
UnsupportedToken
State variables info
pool (0x16f0115b)
The pool this escrow is associated with
opType (0x95dea912)
The operation type this escrow handles (Transfer or Sync)
Functions info
constructor
The passed pool must be a Rigoblock pool, i.e. implement donate with unlock.
refundVault (0x5a53eecd)
Allows anyone to send owned to the target Rigoblock pool.
Parameters:
Name
Type
Description
token
address
The token address to claim.
Last updated