@maci-protocol/contracts 0.0.0-ci.d0dddbc → 0.0.0-ci.d4be71b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/artifacts/@excubiae/contracts/contracts/checker/BaseChecker.sol/BaseChecker.dbg.json +1 -1
  2. package/build/artifacts/@excubiae/contracts/contracts/extensions/anonAadhaar/AnonAadhaarChecker.sol/AnonAadhaarChecker.dbg.json +1 -1
  3. package/build/artifacts/@excubiae/contracts/contracts/extensions/anonAadhaar/AnonAadhaarCheckerFactory.sol/AnonAadhaarCheckerFactory.dbg.json +1 -1
  4. package/build/artifacts/@excubiae/contracts/contracts/extensions/anonAadhaar/AnonAadhaarPolicy.sol/AnonAadhaarPolicy.dbg.json +1 -1
  5. package/build/artifacts/@excubiae/contracts/contracts/extensions/anonAadhaar/AnonAadhaarPolicyFactory.sol/AnonAadhaarPolicyFactory.dbg.json +1 -1
  6. package/build/artifacts/@excubiae/contracts/contracts/extensions/anonAadhaar/IAnonAadhaar.sol/IAnonAadhaar.dbg.json +1 -1
  7. package/build/artifacts/@excubiae/contracts/contracts/extensions/eas/EASChecker.sol/EASChecker.dbg.json +1 -1
  8. package/build/artifacts/@excubiae/contracts/contracts/extensions/eas/EASCheckerFactory.sol/EASCheckerFactory.dbg.json +1 -1
  9. package/build/artifacts/@excubiae/contracts/contracts/extensions/eas/EASPolicy.sol/EASPolicy.dbg.json +1 -1
  10. package/build/artifacts/@excubiae/contracts/contracts/extensions/eas/EASPolicyFactory.sol/EASPolicyFactory.dbg.json +1 -1
  11. package/build/artifacts/@excubiae/contracts/contracts/extensions/eas/IEAS.sol/IEAS.dbg.json +1 -1
  12. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker.sol/ERC20Checker.dbg.json +1 -1
  13. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory.sol/ERC20CheckerFactory.dbg.json +1 -1
  14. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20/ERC20Policy.sol/ERC20Policy.dbg.json +1 -1
  15. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory.sol/ERC20PolicyFactory.dbg.json +1 -1
  16. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesChecker.sol/ERC20VotesChecker.dbg.json +1 -1
  17. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory.sol/ERC20VotesCheckerFactory.dbg.json +1 -1
  18. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesPolicy.sol/ERC20VotesPolicy.dbg.json +1 -1
  19. package/build/artifacts/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesPolicyFactory.sol/ERC20VotesPolicyFactory.dbg.json +1 -1
  20. package/build/artifacts/@excubiae/contracts/contracts/extensions/freeForAll/FreeForAllChecker.sol/FreeForAllChecker.dbg.json +1 -1
  21. package/build/artifacts/@excubiae/contracts/contracts/extensions/freeForAll/FreeForAllCheckerFactory.sol/FreeForAllCheckerFactory.dbg.json +1 -1
  22. package/build/artifacts/@excubiae/contracts/contracts/extensions/freeForAll/FreeForAllPolicy.sol/FreeForAllPolicy.dbg.json +1 -1
  23. package/build/artifacts/@excubiae/contracts/contracts/extensions/freeForAll/FreeForAllPolicyFactory.sol/FreeForAllPolicyFactory.dbg.json +1 -1
  24. package/build/artifacts/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker.sol/GitcoinPassportChecker.dbg.json +1 -1
  25. package/build/artifacts/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportCheckerFactory.sol/GitcoinPassportCheckerFactory.dbg.json +1 -1
  26. package/build/artifacts/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportPolicy.sol/GitcoinPassportPolicy.dbg.json +1 -1
  27. package/build/artifacts/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportPolicyFactory.sol/GitcoinPassportPolicyFactory.dbg.json +1 -1
  28. package/build/artifacts/@excubiae/contracts/contracts/extensions/gitcoin/IGitcoinPassportDecoder.sol/IGitcoinPassportDecoder.dbg.json +1 -1
  29. package/build/artifacts/@excubiae/contracts/contracts/extensions/hats/HatsChecker.sol/HatsChecker.dbg.json +1 -1
  30. package/build/artifacts/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory.sol/HatsCheckerFactory.dbg.json +1 -1
  31. package/build/artifacts/@excubiae/contracts/contracts/extensions/hats/HatsPolicy.sol/HatsPolicy.dbg.json +1 -1
  32. package/build/artifacts/@excubiae/contracts/contracts/extensions/hats/HatsPolicyFactory.sol/HatsPolicyFactory.dbg.json +1 -1
  33. package/build/artifacts/@excubiae/contracts/contracts/extensions/hats/IHats.sol/IHats.dbg.json +1 -1
  34. package/build/artifacts/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker.sol/MerkleProofChecker.dbg.json +1 -1
  35. package/build/artifacts/@excubiae/contracts/contracts/extensions/merkle/MerkleProofCheckerFactory.sol/MerkleProofCheckerFactory.dbg.json +1 -1
  36. package/build/artifacts/@excubiae/contracts/contracts/extensions/merkle/MerkleProofPolicy.sol/MerkleProofPolicy.dbg.json +1 -1
  37. package/build/artifacts/@excubiae/contracts/contracts/extensions/merkle/MerkleProofPolicyFactory.sol/MerkleProofPolicyFactory.dbg.json +1 -1
  38. package/build/artifacts/@excubiae/contracts/contracts/extensions/semaphore/ISemaphore.sol/ISemaphore.dbg.json +1 -1
  39. package/build/artifacts/@excubiae/contracts/contracts/extensions/semaphore/SemaphoreChecker.sol/SemaphoreChecker.dbg.json +1 -1
  40. package/build/artifacts/@excubiae/contracts/contracts/extensions/semaphore/SemaphoreCheckerFactory.sol/SemaphoreCheckerFactory.dbg.json +1 -1
  41. package/build/artifacts/@excubiae/contracts/contracts/extensions/semaphore/SemaphorePolicy.sol/SemaphorePolicy.dbg.json +1 -1
  42. package/build/artifacts/@excubiae/contracts/contracts/extensions/semaphore/SemaphorePolicyFactory.sol/SemaphorePolicyFactory.dbg.json +1 -1
  43. package/build/artifacts/@excubiae/contracts/contracts/extensions/token/TokenChecker.sol/TokenChecker.dbg.json +1 -1
  44. package/build/artifacts/@excubiae/contracts/contracts/extensions/token/TokenCheckerFactory.sol/TokenCheckerFactory.dbg.json +1 -1
  45. package/build/artifacts/@excubiae/contracts/contracts/extensions/token/TokenPolicy.sol/TokenPolicy.dbg.json +1 -1
  46. package/build/artifacts/@excubiae/contracts/contracts/extensions/token/TokenPolicyFactory.sol/TokenPolicyFactory.dbg.json +1 -1
  47. package/build/artifacts/@excubiae/contracts/contracts/extensions/zupass/ZupassChecker.sol/ZupassChecker.dbg.json +1 -1
  48. package/build/artifacts/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory.sol/ZupassCheckerFactory.dbg.json +1 -1
  49. package/build/artifacts/@excubiae/contracts/contracts/extensions/zupass/ZupassGroth16Verifier.sol/ZupassGroth16Verifier.dbg.json +1 -1
  50. package/build/artifacts/@excubiae/contracts/contracts/extensions/zupass/ZupassPolicy.sol/ZupassPolicy.dbg.json +1 -1
  51. package/build/artifacts/@excubiae/contracts/contracts/extensions/zupass/ZupassPolicyFactory.sol/ZupassPolicyFactory.dbg.json +1 -1
  52. package/build/artifacts/@excubiae/contracts/contracts/interfaces/IBaseChecker.sol/IBaseChecker.dbg.json +1 -1
  53. package/build/artifacts/@excubiae/contracts/contracts/interfaces/IBasePolicy.sol/IBasePolicy.dbg.json +1 -1
  54. package/build/artifacts/@excubiae/contracts/contracts/interfaces/IClone.sol/IClone.dbg.json +1 -1
  55. package/build/artifacts/@excubiae/contracts/contracts/interfaces/IFactory.sol/IFactory.dbg.json +1 -1
  56. package/build/artifacts/@excubiae/contracts/contracts/interfaces/IPolicy.sol/IPolicy.dbg.json +1 -1
  57. package/build/artifacts/@excubiae/contracts/contracts/policy/BasePolicy.sol/BasePolicy.dbg.json +1 -1
  58. package/build/artifacts/@excubiae/contracts/contracts/policy/Policy.sol/Policy.dbg.json +1 -1
  59. package/build/artifacts/@excubiae/contracts/contracts/proxy/Clone.sol/Clone.dbg.json +1 -1
  60. package/build/artifacts/@excubiae/contracts/contracts/proxy/Factory.sol/Factory.dbg.json +1 -1
  61. package/build/artifacts/@excubiae/contracts/contracts/test/extensions/mocks/MockAnonAadhaar.sol/MockAnonAadhaar.dbg.json +1 -1
  62. package/build/artifacts/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS.sol/MockEAS.dbg.json +1 -1
  63. package/build/artifacts/@excubiae/contracts/contracts/test/extensions/mocks/MockGitcoinPassportDecoder.sol/MockGitcoinPassportDecoder.dbg.json +1 -1
  64. package/build/artifacts/@excubiae/contracts/contracts/test/extensions/mocks/MockHatsProtocol.sol/MockHatsProtocol.dbg.json +1 -1
  65. package/build/artifacts/@excubiae/contracts/contracts/test/extensions/mocks/MockToken.sol/MockToken.dbg.json +1 -1
  66. package/build/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  67. package/build/artifacts/@openzeppelin/contracts/governance/utils/IVotes.sol/IVotes.dbg.json +1 -1
  68. package/build/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.dbg.json +1 -1
  69. package/build/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.dbg.json +1 -1
  70. package/build/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.dbg.json +1 -1
  71. package/build/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  72. package/build/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  73. package/build/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  74. package/build/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.dbg.json +1 -1
  75. package/build/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.dbg.json +1 -1
  76. package/build/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.dbg.json +1 -1
  77. package/build/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.dbg.json +1 -1
  78. package/build/artifacts/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol/ERC721Utils.dbg.json +1 -1
  79. package/build/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  80. package/build/artifacts/@openzeppelin/contracts/utils/Panic.sol/Panic.dbg.json +1 -1
  81. package/build/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
  82. package/build/artifacts/@openzeppelin/contracts/utils/cryptography/Hashes.sol/Hashes.dbg.json +1 -1
  83. package/build/artifacts/@openzeppelin/contracts/utils/cryptography/MerkleProof.sol/MerkleProof.dbg.json +1 -1
  84. package/build/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
  85. package/build/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
  86. package/build/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +1 -1
  87. package/build/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
  88. package/build/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
  89. package/build/artifacts/build-info/{6371f9711b736db1530606bc0a6a869d.json → 7186b3e55c44d2bb2951e13e1bdc91fc.json} +1 -1
  90. package/build/artifacts/contracts/MACI.sol/MACI.dbg.json +1 -1
  91. package/build/artifacts/contracts/MessageProcessor.sol/MessageProcessor.dbg.json +1 -1
  92. package/build/artifacts/contracts/MessageProcessorFactory.sol/MessageProcessorFactory.dbg.json +1 -1
  93. package/build/artifacts/contracts/Poll.sol/Poll.dbg.json +1 -1
  94. package/build/artifacts/contracts/PollFactory.sol/PollFactory.dbg.json +1 -1
  95. package/build/artifacts/contracts/Tally.sol/Tally.dbg.json +1 -1
  96. package/build/artifacts/contracts/Tally.sol/Tally.json +34 -41
  97. package/build/artifacts/contracts/TallyFactory.sol/TallyFactory.dbg.json +1 -1
  98. package/build/artifacts/contracts/TallyFactory.sol/TallyFactory.json +6 -6
  99. package/build/artifacts/contracts/VerifyingKeysRegistry.sol/VerifyingKeysRegistry.dbg.json +1 -1
  100. package/build/artifacts/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub.dbg.json +1 -1
  101. package/build/artifacts/contracts/crypto/Hasher.sol/Hasher.dbg.json +1 -1
  102. package/build/artifacts/contracts/crypto/Pairing.sol/Pairing.dbg.json +1 -1
  103. package/build/artifacts/contracts/crypto/PoseidonT3.sol/PoseidonT3.dbg.json +1 -1
  104. package/build/artifacts/contracts/crypto/PoseidonT4.sol/PoseidonT4.dbg.json +1 -1
  105. package/build/artifacts/contracts/crypto/PoseidonT5.sol/PoseidonT5.dbg.json +1 -1
  106. package/build/artifacts/contracts/crypto/PoseidonT6.sol/PoseidonT6.dbg.json +1 -1
  107. package/build/artifacts/contracts/crypto/SnarkCommon.sol/SnarkCommon.dbg.json +1 -1
  108. package/build/artifacts/contracts/crypto/SnarkConstants.sol/SnarkConstants.dbg.json +1 -1
  109. package/build/artifacts/contracts/crypto/Verifier.sol/Verifier.dbg.json +1 -1
  110. package/build/artifacts/contracts/initialVoiceCreditProxy/ConstantInitialVoiceCreditProxy.sol/ConstantInitialVoiceCreditProxy.dbg.json +1 -1
  111. package/build/artifacts/contracts/initialVoiceCreditProxy/ConstantInitialVoiceCreditProxyFactory.sol/ConstantInitialVoiceCreditProxyFactory.dbg.json +1 -1
  112. package/build/artifacts/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxy.sol/ERC20VotesInitialVoiceCreditProxy.dbg.json +1 -1
  113. package/build/artifacts/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory.sol/ERC20VotesInitialVoiceCreditProxyFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IInitialVoiceCreditProxy.sol/IInitialVoiceCreditProxy.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IMACI.sol/IMACI.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IMessageProcessor.sol/IMessageProcessor.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IMessageProcessorFactory.sol/IMessageProcessorFactory.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPoll.sol/IPoll.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPollFactory.sol/IPollFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/ISemaphore.sol/ISemaphore.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/ITally.sol/ITally.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/ITally.sol/ITally.json +2 -298
  123. package/build/artifacts/contracts/interfaces/ITallyFactory.sol/ITallyFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IVerifier.sol/IVerifier.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IVerifyingKeysRegistry.sol/IVerifyingKeysRegistry.dbg.json +1 -1
  126. package/build/artifacts/contracts/mocks/MockERC20.sol/MockERC20.dbg.json +1 -1
  127. package/build/artifacts/contracts/mocks/MockERC20Votes.sol/MockERC20Votes.dbg.json +1 -1
  128. package/build/artifacts/contracts/mocks/MockSemaphore.sol/MockSemaphore.dbg.json +1 -1
  129. package/build/artifacts/contracts/mocks/MockTally.sol/MockTally.dbg.json +4 -0
  130. package/build/artifacts/contracts/mocks/MockTally.sol/MockTally.json +114 -0
  131. package/build/artifacts/contracts/mocks/MockVerifier.sol/MockVerifier.dbg.json +1 -1
  132. package/build/artifacts/contracts/mocks/Mocker.sol/Mocker.dbg.json +1 -1
  133. package/build/artifacts/contracts/trees/LazyIMT.sol/InternalLazyIMT.dbg.json +1 -1
  134. package/build/artifacts/contracts/trees/LeanIMT.sol/InternalLeanIMT.dbg.json +1 -1
  135. package/build/artifacts/contracts/utilities/DomainObjs.sol/DomainObjs.dbg.json +1 -1
  136. package/build/artifacts/contracts/utilities/Params.sol/Params.dbg.json +1 -1
  137. package/build/artifacts/contracts/utilities/Utilities.sol/Utilities.dbg.json +1 -1
  138. package/build/artifacts/solady/src/utils/LibClone.sol/LibClone.dbg.json +1 -1
  139. package/build/tsconfig.build.tsbuildinfo +1 -1
  140. package/build/typechain-types/contracts/Tally.d.ts +19 -21
  141. package/build/typechain-types/contracts/Tally.d.ts.map +1 -1
  142. package/build/typechain-types/contracts/interfaces/ITally.d.ts +1 -171
  143. package/build/typechain-types/contracts/interfaces/ITally.d.ts.map +1 -1
  144. package/build/typechain-types/contracts/mocks/MockTally.d.ts +80 -0
  145. package/build/typechain-types/contracts/mocks/MockTally.d.ts.map +1 -0
  146. package/build/typechain-types/contracts/mocks/MockTally.js +3 -0
  147. package/build/typechain-types/contracts/mocks/MockTally.js.map +1 -0
  148. package/build/typechain-types/contracts/mocks/index.d.ts +1 -0
  149. package/build/typechain-types/contracts/mocks/index.d.ts.map +1 -1
  150. package/build/typechain-types/factories/contracts/TallyFactory__factory.d.ts +1 -1
  151. package/build/typechain-types/factories/contracts/TallyFactory__factory.d.ts.map +1 -1
  152. package/build/typechain-types/factories/contracts/TallyFactory__factory.js +1 -1
  153. package/build/typechain-types/factories/contracts/TallyFactory__factory.js.map +1 -1
  154. package/build/typechain-types/factories/contracts/Tally__factory.d.ts +19 -24
  155. package/build/typechain-types/factories/contracts/Tally__factory.d.ts.map +1 -1
  156. package/build/typechain-types/factories/contracts/Tally__factory.js +25 -32
  157. package/build/typechain-types/factories/contracts/Tally__factory.js.map +1 -1
  158. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.d.ts +2 -230
  159. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.d.ts.map +1 -1
  160. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.js +2 -298
  161. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.js.map +1 -1
  162. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.d.ts +103 -0
  163. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.d.ts.map +1 -0
  164. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.js +143 -0
  165. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.js.map +1 -0
  166. package/build/typechain-types/factories/contracts/mocks/index.d.ts +1 -0
  167. package/build/typechain-types/factories/contracts/mocks/index.d.ts.map +1 -1
  168. package/build/typechain-types/factories/contracts/mocks/index.js +3 -1
  169. package/build/typechain-types/factories/contracts/mocks/index.js.map +1 -1
  170. package/build/typechain-types/index.d.ts +2 -0
  171. package/build/typechain-types/index.d.ts.map +1 -1
  172. package/build/typechain-types/index.js +3 -1
  173. package/build/typechain-types/index.js.map +1 -1
  174. package/contracts/Tally.sol +52 -15
  175. package/contracts/interfaces/ITally.sol +3 -93
  176. package/contracts/mocks/MockTally.sol +37 -0
  177. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -3,224 +3,6 @@
3
3
  "contractName": "ITally",
4
4
  "sourceName": "contracts/interfaces/ITally.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "components": [
10
- {
11
- "internalType": "uint256[]",
12
- "name": "voteOptionIndices",
13
- "type": "uint256[]"
14
- },
15
- {
16
- "internalType": "uint256[]",
17
- "name": "tallyResults",
18
- "type": "uint256[]"
19
- },
20
- {
21
- "internalType": "uint256[][][]",
22
- "name": "tallyResultProofs",
23
- "type": "uint256[][][]"
24
- },
25
- {
26
- "internalType": "uint256",
27
- "name": "totalSpent",
28
- "type": "uint256"
29
- },
30
- {
31
- "internalType": "uint256",
32
- "name": "totalSpentSalt",
33
- "type": "uint256"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "tallyResultSalt",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "newResultsCommitment",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "spentVoiceCreditsHash",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "perVOSpentVoiceCreditsHash",
53
- "type": "uint256"
54
- }
55
- ],
56
- "internalType": "struct ITally.AddTallyResultsArgs",
57
- "name": "args",
58
- "type": "tuple"
59
- }
60
- ],
61
- "name": "addTallyResults",
62
- "outputs": [],
63
- "stateMutability": "nonpayable",
64
- "type": "function"
65
- },
66
- {
67
- "inputs": [
68
- {
69
- "internalType": "uint256",
70
- "name": "_batchStartIndex",
71
- "type": "uint256"
72
- },
73
- {
74
- "internalType": "uint256",
75
- "name": "_newTallyCommitment",
76
- "type": "uint256"
77
- }
78
- ],
79
- "name": "getPublicCircuitInputs",
80
- "outputs": [
81
- {
82
- "internalType": "uint256[]",
83
- "name": "publicInputs",
84
- "type": "uint256[]"
85
- }
86
- ],
87
- "stateMutability": "view",
88
- "type": "function"
89
- },
90
- {
91
- "inputs": [
92
- {
93
- "internalType": "uint256",
94
- "name": "index",
95
- "type": "uint256"
96
- }
97
- ],
98
- "name": "getTallyResults",
99
- "outputs": [
100
- {
101
- "components": [
102
- {
103
- "internalType": "uint256",
104
- "name": "value",
105
- "type": "uint256"
106
- },
107
- {
108
- "internalType": "bool",
109
- "name": "isSet",
110
- "type": "bool"
111
- }
112
- ],
113
- "internalType": "struct ITally.TallyResult",
114
- "name": "",
115
- "type": "tuple"
116
- }
117
- ],
118
- "stateMutability": "view",
119
- "type": "function"
120
- },
121
- {
122
- "inputs": [],
123
- "name": "isTallied",
124
- "outputs": [
125
- {
126
- "internalType": "bool",
127
- "name": "tallied",
128
- "type": "bool"
129
- }
130
- ],
131
- "stateMutability": "view",
132
- "type": "function"
133
- },
134
- {
135
- "inputs": [],
136
- "name": "sbCommitment",
137
- "outputs": [
138
- {
139
- "internalType": "uint256",
140
- "name": "",
141
- "type": "uint256"
142
- }
143
- ],
144
- "stateMutability": "view",
145
- "type": "function"
146
- },
147
- {
148
- "inputs": [],
149
- "name": "tallyBatchNum",
150
- "outputs": [
151
- {
152
- "internalType": "uint256",
153
- "name": "",
154
- "type": "uint256"
155
- }
156
- ],
157
- "stateMutability": "view",
158
- "type": "function"
159
- },
160
- {
161
- "inputs": [],
162
- "name": "tallyCommitment",
163
- "outputs": [
164
- {
165
- "internalType": "uint256",
166
- "name": "",
167
- "type": "uint256"
168
- }
169
- ],
170
- "stateMutability": "view",
171
- "type": "function"
172
- },
173
- {
174
- "inputs": [
175
- {
176
- "internalType": "uint256",
177
- "name": "_newTallyCommitment",
178
- "type": "uint256"
179
- },
180
- {
181
- "internalType": "uint256[8]",
182
- "name": "_proof",
183
- "type": "uint256[8]"
184
- }
185
- ],
186
- "name": "tallyVotes",
187
- "outputs": [],
188
- "stateMutability": "nonpayable",
189
- "type": "function"
190
- },
191
- {
192
- "inputs": [],
193
- "name": "totalSpent",
194
- "outputs": [
195
- {
196
- "internalType": "uint256",
197
- "name": "",
198
- "type": "uint256"
199
- }
200
- ],
201
- "stateMutability": "view",
202
- "type": "function"
203
- },
204
- {
205
- "inputs": [],
206
- "name": "totalTallyResults",
207
- "outputs": [
208
- {
209
- "internalType": "uint256",
210
- "name": "",
211
- "type": "uint256"
212
- }
213
- ],
214
- "stateMutability": "view",
215
- "type": "function"
216
- },
217
- {
218
- "inputs": [],
219
- "name": "updateSbCommitment",
220
- "outputs": [],
221
- "stateMutability": "nonpayable",
222
- "type": "function"
223
- },
224
6
  {
225
7
  "inputs": [
226
8
  {
@@ -263,7 +45,7 @@
263
45
  "outputs": [
264
46
  {
265
47
  "internalType": "bool",
266
- "name": "isValid",
48
+ "name": "",
267
49
  "type": "bool"
268
50
  }
269
51
  ],
@@ -297,85 +79,7 @@
297
79
  "outputs": [
298
80
  {
299
81
  "internalType": "bool",
300
- "name": "isValid",
301
- "type": "bool"
302
- }
303
- ],
304
- "stateMutability": "view",
305
- "type": "function"
306
- },
307
- {
308
- "inputs": [
309
- {
310
- "internalType": "uint256",
311
- "name": "_batchStartIndex",
312
- "type": "uint256"
313
- },
314
- {
315
- "internalType": "uint256",
316
- "name": "_newTallyCommitment",
317
- "type": "uint256"
318
- },
319
- {
320
- "internalType": "uint256[8]",
321
- "name": "_proof",
322
- "type": "uint256[8]"
323
- }
324
- ],
325
- "name": "verifyTallyProof",
326
- "outputs": [
327
- {
328
- "internalType": "bool",
329
- "name": "isValid",
330
- "type": "bool"
331
- }
332
- ],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
- {
337
- "inputs": [
338
- {
339
- "internalType": "uint256",
340
- "name": "_voteOptionIndex",
341
- "type": "uint256"
342
- },
343
- {
344
- "internalType": "uint256",
345
- "name": "_tallyResult",
346
- "type": "uint256"
347
- },
348
- {
349
- "internalType": "uint256[][]",
350
- "name": "_tallyResultProof",
351
- "type": "uint256[][]"
352
- },
353
- {
354
- "internalType": "uint256",
355
- "name": "_tallyResultSalt",
356
- "type": "uint256"
357
- },
358
- {
359
- "internalType": "uint8",
360
- "name": "_voteOptionTreeDepth",
361
- "type": "uint8"
362
- },
363
- {
364
- "internalType": "uint256",
365
- "name": "_spentVoiceCreditsHash",
366
- "type": "uint256"
367
- },
368
- {
369
- "internalType": "uint256",
370
- "name": "_perVoteOptionSpentVoiceCreditsHash",
371
- "type": "uint256"
372
- }
373
- ],
374
- "name": "verifyTallyResult",
375
- "outputs": [
376
- {
377
- "internalType": "bool",
378
- "name": "isValid",
82
+ "name": "",
379
83
  "type": "bool"
380
84
  }
381
85
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "MockTally",
4
+ "sourceName": "contracts/mocks/MockTally.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "flipReturnValue",
9
+ "outputs": [],
10
+ "stateMutability": "nonpayable",
11
+ "type": "function"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "returnValue",
16
+ "outputs": [
17
+ {
18
+ "internalType": "bool",
19
+ "name": "",
20
+ "type": "bool"
21
+ }
22
+ ],
23
+ "stateMutability": "view",
24
+ "type": "function"
25
+ },
26
+ {
27
+ "inputs": [
28
+ {
29
+ "internalType": "uint256",
30
+ "name": "_voteOptionIndex",
31
+ "type": "uint256"
32
+ },
33
+ {
34
+ "internalType": "uint256",
35
+ "name": "_spent",
36
+ "type": "uint256"
37
+ },
38
+ {
39
+ "internalType": "uint256[][]",
40
+ "name": "_spentProof",
41
+ "type": "uint256[][]"
42
+ },
43
+ {
44
+ "internalType": "uint256",
45
+ "name": "_spentSalt",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "internalType": "uint8",
50
+ "name": "_voteOptionTreeDepth",
51
+ "type": "uint8"
52
+ },
53
+ {
54
+ "internalType": "uint256",
55
+ "name": "_spentVoiceCreditsHash",
56
+ "type": "uint256"
57
+ },
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "_resultCommitment",
61
+ "type": "uint256"
62
+ }
63
+ ],
64
+ "name": "verifyPerVoteOptionSpentVoiceCredits",
65
+ "outputs": [
66
+ {
67
+ "internalType": "bool",
68
+ "name": "",
69
+ "type": "bool"
70
+ }
71
+ ],
72
+ "stateMutability": "view",
73
+ "type": "function"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "uint256",
79
+ "name": "_totalSpent",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "_totalSpentSalt",
85
+ "type": "uint256"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "_resultCommitment",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "internalType": "uint256",
94
+ "name": "_perVoteOptionSpentVoiceCreditsHash",
95
+ "type": "uint256"
96
+ }
97
+ ],
98
+ "name": "verifySpentVoiceCredits",
99
+ "outputs": [
100
+ {
101
+ "internalType": "bool",
102
+ "name": "",
103
+ "type": "bool"
104
+ }
105
+ ],
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ }
109
+ ],
110
+ "bytecode": "0x60806040526000805460ff19166001179055348015601c57600080fd5b506101fc8061002c6000396000f3fe608060405234801561001057600080fd5b506004361061004b5760003560e01c80626abc8f1461005057806310bc5f511461008457806358dd748f146100a0578063990c8f79146100b9575b600080fd5b61007061005e3660046100dc565b60005460ff1698975050505050505050565b604051901515815260200160405180910390f35b610070610092366004610194565b60005460ff16949350505050565b6100b76000805460ff19811660ff90911615179055565b005b6000546100709060ff1681565b803560ff811681146100d757600080fd5b919050565b60008060008060008060008060e0898b0312156100f857600080fd5b8835975060208901359650604089013567ffffffffffffffff81111561011d57600080fd5b8901601f81018b1361012e57600080fd5b803567ffffffffffffffff81111561014557600080fd5b8b60208260051b840101111561015a57600080fd5b602091909101965094506060890135935061017760808a016100c6565b979a969950949793969295929450505060a08201359160c0013590565b600080600080608085870312156101aa57600080fd5b505082359460208401359450604084013593606001359250905056fea2646970667358221220b9a257f4f4997c1938a023d16a1818da512a830527f48d11e6f0c3fcace3147664736f6c634300081c0033",
111
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004b5760003560e01c80626abc8f1461005057806310bc5f511461008457806358dd748f146100a0578063990c8f79146100b9575b600080fd5b61007061005e3660046100dc565b60005460ff1698975050505050505050565b604051901515815260200160405180910390f35b610070610092366004610194565b60005460ff16949350505050565b6100b76000805460ff19811660ff90911615179055565b005b6000546100709060ff1681565b803560ff811681146100d757600080fd5b919050565b60008060008060008060008060e0898b0312156100f857600080fd5b8835975060208901359650604089013567ffffffffffffffff81111561011d57600080fd5b8901601f81018b1361012e57600080fd5b803567ffffffffffffffff81111561014557600080fd5b8b60208260051b840101111561015a57600080fd5b602091909101965094506060890135935061017760808a016100c6565b979a969950949793969295929450505060a08201359160c0013590565b600080600080608085870312156101aa57600080fd5b505082359460208401359450604084013593606001359250905056fea2646970667358221220b9a257f4f4997c1938a023d16a1818da512a830527f48d11e6f0c3fcace3147664736f6c634300081c0033",
112
+ "linkReferences": {},
113
+ "deployedLinkReferences": {}
114
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6371f9711b736db1530606bc0a6a869d.json"
3
+ "buildInfo": "../../../../build-info/7186b3e55c44d2bb2951e13e1bdc91fc.json"
4
4
  }