{ "11155111": [ { "name": "sepolia", "chainId": "11155111", "contracts": { "PoseidonHasher": { "address": "0xa1554EAF0DF18C05956249aac375e212edeD2CcF", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "input", "type": "uint256" } ], "name": "hash", "outputs": [ { "internalType": "uint256", "name": "result", "type": "uint256" } ], "stateMutability": "pure", "type": "function" } ] }, "RLN": { "address": "0x9C09146844C1326c2dBC41c451766C7138F88155", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "membershipDeposit", "type": "uint256" }, { "internalType": "uint256", "name": "depth", "type": "uint256" }, { "internalType": "address", "name": "_poseidonHasher", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "DuplicateIdCommitment", "type": "error" }, { "inputs": [], "name": "EmptyBatch", "type": "error" }, { "inputs": [], "name": "FullBatch", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "required", "type": "uint256" }, { "internalType": "uint256", "name": "provided", "type": "uint256" } ], "name": "InsufficientDeposit", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "InvalidWithdrawalAddress", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "idCommitment", "type": "uint256" } ], "name": "MemberHasNoStake", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "idCommitment", "type": "uint256" } ], "name": "MemberNotRegistered", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "givenSecretsLen", "type": "uint256" }, { "internalType": "uint256", "name": "givenReceiversLen", "type": "uint256" } ], "name": "MismatchedBatchSize", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "idCommitment", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "MemberRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "idCommitment", "type": "uint256" } ], "name": "MemberWithdrawn", "type": "event" }, { "inputs": [], "name": "DEPTH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MEMBERSHIP_DEPOSIT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "SET_SIZE", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "idCommitmentIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "members", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "poseidonHasher", "outputs": [ { "internalType": "contract IPoseidonHasher", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "idCommitment", "type": "uint256" } ], "name": "register", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256[]", "name": "idCommitments", "type": "uint256[]" } ], "name": "registerBatch", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "stakedAmounts", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "secret", "type": "uint256" }, { "internalType": "address payable", "name": "receiver", "type": "address" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256[]", "name": "secrets", "type": "uint256[]" }, { "internalType": "address payable[]", "name": "receivers", "type": "address[]" } ], "name": "withdrawBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ] } } } ] }