mirror of
https://github.com/tornadocash/tornado-aggregator.git
synced 2024-12-04 15:14:36 +01:00
areClaimedNotes
This commit is contained in:
parent
3c8684d657
commit
c57b5a3b1a
@ -12,4 +12,11 @@ contract MinerAggregator {
|
|||||||
_rates[i] = miner.rates(instances[i]);
|
_rates[i] = miner.rates(instances[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function areClaimedNotes(Miner miner, bytes32[] calldata _rewardNullifiers) external view returns (bool[] memory result) {
|
||||||
|
result = new bool[](_rewardNullifiers.length);
|
||||||
|
for (uint256 i = 0; i < _rewardNullifiers.length; i++) {
|
||||||
|
result[i] = miner.rewardNullifiers(_rewardNullifiers[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user