fix: update contracts

This commit is contained in:
Richard Ramos 2022-08-15 13:14:07 -04:00
parent 39f70f71a9
commit 8538013f29
2 changed files with 19 additions and 57 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,4 @@
// https://github.com/kilic/rlnapp/blob/master/packages/contracts/contracts/RLN.sol
pragma solidity 0.7.4;
pragma solidity ^0.7.4;
import { IPoseidonHasher } from "./crypto/PoseidonHasher.sol";
@ -14,8 +12,8 @@ contract RLN {
IPoseidonHasher public poseidonHasher;
event MemberRegistered(uint256 indexed pubkey, uint256 indexed index);
event MemberWithdrawn(uint256 indexed pubkey, uint256 indexed index);
event MemberRegistered(uint256 pubkey, uint256 index);
event MemberWithdrawn(uint256 pubkey, uint256 index);
constructor(
uint256 membershipDeposit,