Skip to content

Commit

Permalink
erc20
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofianel5 committed Dec 15, 2023
1 parent a53d9df commit 6b51538
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/contracts/paymasters/PrivateMerklePaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ pragma solidity ^0.8.18;
import { MerkleTreeWithHistory } from "./MerkleTreeWithHistory.sol";
import { IVerifier } from "../interfaces/IVerifier.sol";
import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract PrivateMerklePaymaster is MerkleTreeWithHistory, ReentrancyGuard {

IVerifier public immutable verifier2;
address public immutable token;
IERC20 public immutable token;
mapping(bytes32 => bool) public nullifierHashes;

struct Proof {
Expand Down

0 comments on commit 6b51538

Please sign in to comment.