restore function parameters. reverts 26a4952

This commit is contained in:
hueso
2024-02-13 15:13:36 -03:00
parent db7407e299
commit f02dad07c8
2 changed files with 51 additions and 66 deletions

View File

@@ -4,27 +4,6 @@ pragma solidity 0.8.19;
import { ERC20 } from "contracts/lib/tokens/ERC20.sol";
library DataTypes {
struct DepositArgs {
string pixTarget;
bytes32 allowlistRoot;
ERC20 token;
uint96 amount;
bool valid;
}
struct LockArgs {
address seller;
ERC20 token;
uint80 amount;
bytes32[] merkleProof;
uint256[] expiredLocks;
}
struct ReleaseArgs {
uint256 lockID;
bytes32 pixTimestamp;
bytes signature;
}
struct Lock {
uint256 counter;