feat: 🚧 Deposit struct replaced for packed uint

This commit is contained in:
PedroCailleret
2022-12-20 01:39:35 -03:00
parent 5416bbdd72
commit 0d612572c6
14 changed files with 3092 additions and 2377 deletions

View File

@@ -7,28 +7,30 @@ interface EventAndErrors {
event DepositAdded(
address indexed seller,
uint256 depositID,
// uint256 depositID,
address token,
uint256 amount
);
event DepositClosed(
event ValidSet(
address indexed seller,
uint256 depositID
address token,
bool state
);
event DepositWithdrawn(
address indexed seller,
uint256 depositID,
address token,
uint256 amount
);
event LockAdded(
address indexed buyer,
bytes32 indexed lockID,
uint256 depositID,
uint256 seller,
uint256 amount
);
event LockReleased(
address indexed buyer,
bytes32 lockId
bytes32 lockId,
uint256 amount
);
event LockReturned(
address indexed buyer,
@@ -103,4 +105,11 @@ interface EventAndErrors {
/// @dev Reverts on an expired lock.
/// @dev 0xf6fafba0
error LockExpired();
/// @dev 0xce3a3d37
error DecOverflow();
/// @dev 0x
error MaxBalExceeded();
error EmptyPixTarget();
error NotInitialized();
}