use ERC20 datatype

This commit is contained in:
hueso
2023-02-25 13:55:19 -03:00
parent e412897f11
commit 3b6dd8ba9b
3 changed files with 18 additions and 14 deletions

View File

@@ -1,6 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import { ERC20 } from "./lib/tokens/ERC20.sol";
// prettier-ignore
interface EventAndErrors {
/// ███ Events ████████████████████████████████████████████████████████████
@@ -8,17 +10,17 @@ interface EventAndErrors {
event DepositAdded(
address indexed seller,
// uint256 depositID,
address token,
ERC20 token,
uint256 amount
);
event ValidSet(
address indexed seller,
address token,
ERC20 token,
bool state
);
event DepositWithdrawn(
address indexed seller,
address token,
ERC20 token,
uint256 amount
);
event LockAdded(