Skip to content

Commit

Permalink
Merge pull request #17 from 0xPolygonID/feature/update-tutorials
Browse files Browse the repository at this point in the history
use npm packages for tutorial
  • Loading branch information
vmidyllic authored Oct 9, 2023
2 parents 3dddbce + 9d65023 commit bbc4599
Show file tree
Hide file tree
Showing 15 changed files with 200 additions and 668 deletions.
8 changes: 4 additions & 4 deletions on-chain-verification/contracts/ERC20Verifier.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./lib/GenesisUtils.sol";
import "./interfaces/ICircuitValidator.sol";
import "./verifiers/ZKPVerifier.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {GenesisUtils} from "@iden3/contracts/lib/GenesisUtils.sol";
import {ICircuitValidator} from "@iden3/contracts/interfaces/ICircuitValidator.sol";
import {ZKPVerifier} from "@iden3/contracts/verifiers/ZKPVerifier.sol";

contract ERC20Verifier is ERC20, ZKPVerifier {
uint64 public constant TRANSFER_REQUEST_ID = 1;
Expand Down
25 changes: 0 additions & 25 deletions on-chain-verification/contracts/interfaces/ICircuitValidator.sol

This file was deleted.

91 changes: 0 additions & 91 deletions on-chain-verification/contracts/interfaces/IState.sol

This file was deleted.

10 changes: 0 additions & 10 deletions on-chain-verification/contracts/interfaces/IVerifier.sol

This file was deleted.

38 changes: 0 additions & 38 deletions on-chain-verification/contracts/interfaces/IZKPVerifier.sol

This file was deleted.

175 changes: 0 additions & 175 deletions on-chain-verification/contracts/lib/GenesisUtils.sol

This file was deleted.

Loading

0 comments on commit bbc4599

Please sign in to comment.