@maci-protocol/contracts 0.0.0-ci.fdde0de → 0.0.0-ci.ffb9e52

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/{7186b3e55c44d2bb2951e13e1bdc91fc.json → 6371f9711b736db1530606bc0a6a869d.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 +41 -34
  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 +298 -2
  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/MockVerifier.sol/MockVerifier.dbg.json +1 -1
  130. package/build/artifacts/contracts/mocks/Mocker.sol/Mocker.dbg.json +1 -1
  131. package/build/artifacts/contracts/trees/LazyIMT.sol/InternalLazyIMT.dbg.json +1 -1
  132. package/build/artifacts/contracts/trees/LeanIMT.sol/InternalLeanIMT.dbg.json +1 -1
  133. package/build/artifacts/contracts/utilities/DomainObjs.sol/DomainObjs.dbg.json +1 -1
  134. package/build/artifacts/contracts/utilities/Params.sol/Params.dbg.json +1 -1
  135. package/build/artifacts/contracts/utilities/Utilities.sol/Utilities.dbg.json +1 -1
  136. package/build/artifacts/solady/src/utils/LibClone.sol/LibClone.dbg.json +1 -1
  137. package/build/tsconfig.build.tsbuildinfo +1 -1
  138. package/build/typechain-types/contracts/Tally.d.ts +21 -19
  139. package/build/typechain-types/contracts/Tally.d.ts.map +1 -1
  140. package/build/typechain-types/contracts/interfaces/ITally.d.ts +171 -1
  141. package/build/typechain-types/contracts/interfaces/ITally.d.ts.map +1 -1
  142. package/build/typechain-types/contracts/mocks/index.d.ts +0 -1
  143. package/build/typechain-types/contracts/mocks/index.d.ts.map +1 -1
  144. package/build/typechain-types/factories/contracts/TallyFactory__factory.d.ts +1 -1
  145. package/build/typechain-types/factories/contracts/TallyFactory__factory.d.ts.map +1 -1
  146. package/build/typechain-types/factories/contracts/TallyFactory__factory.js +1 -1
  147. package/build/typechain-types/factories/contracts/TallyFactory__factory.js.map +1 -1
  148. package/build/typechain-types/factories/contracts/Tally__factory.d.ts +24 -19
  149. package/build/typechain-types/factories/contracts/Tally__factory.d.ts.map +1 -1
  150. package/build/typechain-types/factories/contracts/Tally__factory.js +32 -25
  151. package/build/typechain-types/factories/contracts/Tally__factory.js.map +1 -1
  152. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.d.ts +230 -2
  153. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.d.ts.map +1 -1
  154. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.js +298 -2
  155. package/build/typechain-types/factories/contracts/interfaces/ITally__factory.js.map +1 -1
  156. package/build/typechain-types/factories/contracts/mocks/index.d.ts +0 -1
  157. package/build/typechain-types/factories/contracts/mocks/index.d.ts.map +1 -1
  158. package/build/typechain-types/factories/contracts/mocks/index.js +1 -3
  159. package/build/typechain-types/factories/contracts/mocks/index.js.map +1 -1
  160. package/build/typechain-types/index.d.ts +0 -2
  161. package/build/typechain-types/index.d.ts.map +1 -1
  162. package/build/typechain-types/index.js +1 -3
  163. package/build/typechain-types/index.js.map +1 -1
  164. package/contracts/Tally.sol +15 -52
  165. package/contracts/interfaces/ITally.sol +93 -3
  166. package/package.json +6 -6
  167. package/build/artifacts/contracts/mocks/MockTally.sol/MockTally.dbg.json +0 -4
  168. package/build/artifacts/contracts/mocks/MockTally.sol/MockTally.json +0 -114
  169. package/build/typechain-types/contracts/mocks/MockTally.d.ts +0 -80
  170. package/build/typechain-types/contracts/mocks/MockTally.d.ts.map +0 -1
  171. package/build/typechain-types/contracts/mocks/MockTally.js +0 -3
  172. package/build/typechain-types/contracts/mocks/MockTally.js.map +0 -1
  173. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.d.ts +0 -103
  174. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.d.ts.map +0 -1
  175. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.js +0 -143
  176. package/build/typechain-types/factories/contracts/mocks/MockTally__factory.js.map +0 -1
  177. package/contracts/mocks/MockTally.sol +0 -37
@@ -2,6 +2,174 @@ import { type ContractRunner } from "ethers";
2
2
  import type { ITally, ITallyInterface } from "../../../contracts/interfaces/ITally";
3
3
  export declare class ITally__factory {
4
4
  static readonly abi: readonly [{
5
+ readonly inputs: readonly [{
6
+ readonly components: readonly [{
7
+ readonly internalType: "uint256[]";
8
+ readonly name: "voteOptionIndices";
9
+ readonly type: "uint256[]";
10
+ }, {
11
+ readonly internalType: "uint256[]";
12
+ readonly name: "tallyResults";
13
+ readonly type: "uint256[]";
14
+ }, {
15
+ readonly internalType: "uint256[][][]";
16
+ readonly name: "tallyResultProofs";
17
+ readonly type: "uint256[][][]";
18
+ }, {
19
+ readonly internalType: "uint256";
20
+ readonly name: "totalSpent";
21
+ readonly type: "uint256";
22
+ }, {
23
+ readonly internalType: "uint256";
24
+ readonly name: "totalSpentSalt";
25
+ readonly type: "uint256";
26
+ }, {
27
+ readonly internalType: "uint256";
28
+ readonly name: "tallyResultSalt";
29
+ readonly type: "uint256";
30
+ }, {
31
+ readonly internalType: "uint256";
32
+ readonly name: "newResultsCommitment";
33
+ readonly type: "uint256";
34
+ }, {
35
+ readonly internalType: "uint256";
36
+ readonly name: "spentVoiceCreditsHash";
37
+ readonly type: "uint256";
38
+ }, {
39
+ readonly internalType: "uint256";
40
+ readonly name: "perVOSpentVoiceCreditsHash";
41
+ readonly type: "uint256";
42
+ }];
43
+ readonly internalType: "struct ITally.AddTallyResultsArgs";
44
+ readonly name: "args";
45
+ readonly type: "tuple";
46
+ }];
47
+ readonly name: "addTallyResults";
48
+ readonly outputs: readonly [];
49
+ readonly stateMutability: "nonpayable";
50
+ readonly type: "function";
51
+ }, {
52
+ readonly inputs: readonly [{
53
+ readonly internalType: "uint256";
54
+ readonly name: "_batchStartIndex";
55
+ readonly type: "uint256";
56
+ }, {
57
+ readonly internalType: "uint256";
58
+ readonly name: "_newTallyCommitment";
59
+ readonly type: "uint256";
60
+ }];
61
+ readonly name: "getPublicCircuitInputs";
62
+ readonly outputs: readonly [{
63
+ readonly internalType: "uint256[]";
64
+ readonly name: "publicInputs";
65
+ readonly type: "uint256[]";
66
+ }];
67
+ readonly stateMutability: "view";
68
+ readonly type: "function";
69
+ }, {
70
+ readonly inputs: readonly [{
71
+ readonly internalType: "uint256";
72
+ readonly name: "index";
73
+ readonly type: "uint256";
74
+ }];
75
+ readonly name: "getTallyResults";
76
+ readonly outputs: readonly [{
77
+ readonly components: readonly [{
78
+ readonly internalType: "uint256";
79
+ readonly name: "value";
80
+ readonly type: "uint256";
81
+ }, {
82
+ readonly internalType: "bool";
83
+ readonly name: "isSet";
84
+ readonly type: "bool";
85
+ }];
86
+ readonly internalType: "struct ITally.TallyResult";
87
+ readonly name: "";
88
+ readonly type: "tuple";
89
+ }];
90
+ readonly stateMutability: "view";
91
+ readonly type: "function";
92
+ }, {
93
+ readonly inputs: readonly [];
94
+ readonly name: "isTallied";
95
+ readonly outputs: readonly [{
96
+ readonly internalType: "bool";
97
+ readonly name: "tallied";
98
+ readonly type: "bool";
99
+ }];
100
+ readonly stateMutability: "view";
101
+ readonly type: "function";
102
+ }, {
103
+ readonly inputs: readonly [];
104
+ readonly name: "sbCommitment";
105
+ readonly outputs: readonly [{
106
+ readonly internalType: "uint256";
107
+ readonly name: "";
108
+ readonly type: "uint256";
109
+ }];
110
+ readonly stateMutability: "view";
111
+ readonly type: "function";
112
+ }, {
113
+ readonly inputs: readonly [];
114
+ readonly name: "tallyBatchNum";
115
+ readonly outputs: readonly [{
116
+ readonly internalType: "uint256";
117
+ readonly name: "";
118
+ readonly type: "uint256";
119
+ }];
120
+ readonly stateMutability: "view";
121
+ readonly type: "function";
122
+ }, {
123
+ readonly inputs: readonly [];
124
+ readonly name: "tallyCommitment";
125
+ readonly outputs: readonly [{
126
+ readonly internalType: "uint256";
127
+ readonly name: "";
128
+ readonly type: "uint256";
129
+ }];
130
+ readonly stateMutability: "view";
131
+ readonly type: "function";
132
+ }, {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "uint256";
135
+ readonly name: "_newTallyCommitment";
136
+ readonly type: "uint256";
137
+ }, {
138
+ readonly internalType: "uint256[8]";
139
+ readonly name: "_proof";
140
+ readonly type: "uint256[8]";
141
+ }];
142
+ readonly name: "tallyVotes";
143
+ readonly outputs: readonly [];
144
+ readonly stateMutability: "nonpayable";
145
+ readonly type: "function";
146
+ }, {
147
+ readonly inputs: readonly [];
148
+ readonly name: "totalSpent";
149
+ readonly outputs: readonly [{
150
+ readonly internalType: "uint256";
151
+ readonly name: "";
152
+ readonly type: "uint256";
153
+ }];
154
+ readonly stateMutability: "view";
155
+ readonly type: "function";
156
+ }, {
157
+ readonly inputs: readonly [];
158
+ readonly name: "totalTallyResults";
159
+ readonly outputs: readonly [{
160
+ readonly internalType: "uint256";
161
+ readonly name: "";
162
+ readonly type: "uint256";
163
+ }];
164
+ readonly stateMutability: "view";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [];
168
+ readonly name: "updateSbCommitment";
169
+ readonly outputs: readonly [];
170
+ readonly stateMutability: "nonpayable";
171
+ readonly type: "function";
172
+ }, {
5
173
  readonly inputs: readonly [{
6
174
  readonly internalType: "uint256";
7
175
  readonly name: "_voteOptionIndex";
@@ -34,7 +202,7 @@ export declare class ITally__factory {
34
202
  readonly name: "verifyPerVoteOptionSpentVoiceCredits";
35
203
  readonly outputs: readonly [{
36
204
  readonly internalType: "bool";
37
- readonly name: "";
205
+ readonly name: "isValid";
38
206
  readonly type: "bool";
39
207
  }];
40
208
  readonly stateMutability: "view";
@@ -60,7 +228,67 @@ export declare class ITally__factory {
60
228
  readonly name: "verifySpentVoiceCredits";
61
229
  readonly outputs: readonly [{
62
230
  readonly internalType: "bool";
63
- readonly name: "";
231
+ readonly name: "isValid";
232
+ readonly type: "bool";
233
+ }];
234
+ readonly stateMutability: "view";
235
+ readonly type: "function";
236
+ }, {
237
+ readonly inputs: readonly [{
238
+ readonly internalType: "uint256";
239
+ readonly name: "_batchStartIndex";
240
+ readonly type: "uint256";
241
+ }, {
242
+ readonly internalType: "uint256";
243
+ readonly name: "_newTallyCommitment";
244
+ readonly type: "uint256";
245
+ }, {
246
+ readonly internalType: "uint256[8]";
247
+ readonly name: "_proof";
248
+ readonly type: "uint256[8]";
249
+ }];
250
+ readonly name: "verifyTallyProof";
251
+ readonly outputs: readonly [{
252
+ readonly internalType: "bool";
253
+ readonly name: "isValid";
254
+ readonly type: "bool";
255
+ }];
256
+ readonly stateMutability: "view";
257
+ readonly type: "function";
258
+ }, {
259
+ readonly inputs: readonly [{
260
+ readonly internalType: "uint256";
261
+ readonly name: "_voteOptionIndex";
262
+ readonly type: "uint256";
263
+ }, {
264
+ readonly internalType: "uint256";
265
+ readonly name: "_tallyResult";
266
+ readonly type: "uint256";
267
+ }, {
268
+ readonly internalType: "uint256[][]";
269
+ readonly name: "_tallyResultProof";
270
+ readonly type: "uint256[][]";
271
+ }, {
272
+ readonly internalType: "uint256";
273
+ readonly name: "_tallyResultSalt";
274
+ readonly type: "uint256";
275
+ }, {
276
+ readonly internalType: "uint8";
277
+ readonly name: "_voteOptionTreeDepth";
278
+ readonly type: "uint8";
279
+ }, {
280
+ readonly internalType: "uint256";
281
+ readonly name: "_spentVoiceCreditsHash";
282
+ readonly type: "uint256";
283
+ }, {
284
+ readonly internalType: "uint256";
285
+ readonly name: "_perVoteOptionSpentVoiceCreditsHash";
286
+ readonly type: "uint256";
287
+ }];
288
+ readonly name: "verifyTallyResult";
289
+ readonly outputs: readonly [{
290
+ readonly internalType: "bool";
291
+ readonly name: "isValid";
64
292
  readonly type: "bool";
65
293
  }];
66
294
  readonly stateMutability: "view";
@@ -1 +1 @@
1
- {"version":3,"file":"ITally__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/interfaces/ITally__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,MAAM,EACN,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAwF9C,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}
1
+ {"version":3,"file":"ITally__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/interfaces/ITally__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,MAAM,EACN,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAgY9C,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}
@@ -6,6 +6,224 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ITally__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ components: [
13
+ {
14
+ internalType: "uint256[]",
15
+ name: "voteOptionIndices",
16
+ type: "uint256[]",
17
+ },
18
+ {
19
+ internalType: "uint256[]",
20
+ name: "tallyResults",
21
+ type: "uint256[]",
22
+ },
23
+ {
24
+ internalType: "uint256[][][]",
25
+ name: "tallyResultProofs",
26
+ type: "uint256[][][]",
27
+ },
28
+ {
29
+ internalType: "uint256",
30
+ name: "totalSpent",
31
+ type: "uint256",
32
+ },
33
+ {
34
+ internalType: "uint256",
35
+ name: "totalSpentSalt",
36
+ type: "uint256",
37
+ },
38
+ {
39
+ internalType: "uint256",
40
+ name: "tallyResultSalt",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ internalType: "uint256",
45
+ name: "newResultsCommitment",
46
+ type: "uint256",
47
+ },
48
+ {
49
+ internalType: "uint256",
50
+ name: "spentVoiceCreditsHash",
51
+ type: "uint256",
52
+ },
53
+ {
54
+ internalType: "uint256",
55
+ name: "perVOSpentVoiceCreditsHash",
56
+ type: "uint256",
57
+ },
58
+ ],
59
+ internalType: "struct ITally.AddTallyResultsArgs",
60
+ name: "args",
61
+ type: "tuple",
62
+ },
63
+ ],
64
+ name: "addTallyResults",
65
+ outputs: [],
66
+ stateMutability: "nonpayable",
67
+ type: "function",
68
+ },
69
+ {
70
+ inputs: [
71
+ {
72
+ internalType: "uint256",
73
+ name: "_batchStartIndex",
74
+ type: "uint256",
75
+ },
76
+ {
77
+ internalType: "uint256",
78
+ name: "_newTallyCommitment",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ name: "getPublicCircuitInputs",
83
+ outputs: [
84
+ {
85
+ internalType: "uint256[]",
86
+ name: "publicInputs",
87
+ type: "uint256[]",
88
+ },
89
+ ],
90
+ stateMutability: "view",
91
+ type: "function",
92
+ },
93
+ {
94
+ inputs: [
95
+ {
96
+ internalType: "uint256",
97
+ name: "index",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "getTallyResults",
102
+ outputs: [
103
+ {
104
+ components: [
105
+ {
106
+ internalType: "uint256",
107
+ name: "value",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "bool",
112
+ name: "isSet",
113
+ type: "bool",
114
+ },
115
+ ],
116
+ internalType: "struct ITally.TallyResult",
117
+ name: "",
118
+ type: "tuple",
119
+ },
120
+ ],
121
+ stateMutability: "view",
122
+ type: "function",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "isTallied",
127
+ outputs: [
128
+ {
129
+ internalType: "bool",
130
+ name: "tallied",
131
+ type: "bool",
132
+ },
133
+ ],
134
+ stateMutability: "view",
135
+ type: "function",
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "sbCommitment",
140
+ outputs: [
141
+ {
142
+ internalType: "uint256",
143
+ name: "",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ stateMutability: "view",
148
+ type: "function",
149
+ },
150
+ {
151
+ inputs: [],
152
+ name: "tallyBatchNum",
153
+ outputs: [
154
+ {
155
+ internalType: "uint256",
156
+ name: "",
157
+ type: "uint256",
158
+ },
159
+ ],
160
+ stateMutability: "view",
161
+ type: "function",
162
+ },
163
+ {
164
+ inputs: [],
165
+ name: "tallyCommitment",
166
+ outputs: [
167
+ {
168
+ internalType: "uint256",
169
+ name: "",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ stateMutability: "view",
174
+ type: "function",
175
+ },
176
+ {
177
+ inputs: [
178
+ {
179
+ internalType: "uint256",
180
+ name: "_newTallyCommitment",
181
+ type: "uint256",
182
+ },
183
+ {
184
+ internalType: "uint256[8]",
185
+ name: "_proof",
186
+ type: "uint256[8]",
187
+ },
188
+ ],
189
+ name: "tallyVotes",
190
+ outputs: [],
191
+ stateMutability: "nonpayable",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [],
196
+ name: "totalSpent",
197
+ outputs: [
198
+ {
199
+ internalType: "uint256",
200
+ name: "",
201
+ type: "uint256",
202
+ },
203
+ ],
204
+ stateMutability: "view",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "totalTallyResults",
210
+ outputs: [
211
+ {
212
+ internalType: "uint256",
213
+ name: "",
214
+ type: "uint256",
215
+ },
216
+ ],
217
+ stateMutability: "view",
218
+ type: "function",
219
+ },
220
+ {
221
+ inputs: [],
222
+ name: "updateSbCommitment",
223
+ outputs: [],
224
+ stateMutability: "nonpayable",
225
+ type: "function",
226
+ },
9
227
  {
10
228
  inputs: [
11
229
  {
@@ -48,7 +266,7 @@ const _abi = [
48
266
  outputs: [
49
267
  {
50
268
  internalType: "bool",
51
- name: "",
269
+ name: "isValid",
52
270
  type: "bool",
53
271
  },
54
272
  ],
@@ -82,7 +300,85 @@ const _abi = [
82
300
  outputs: [
83
301
  {
84
302
  internalType: "bool",
85
- name: "",
303
+ name: "isValid",
304
+ type: "bool",
305
+ },
306
+ ],
307
+ stateMutability: "view",
308
+ type: "function",
309
+ },
310
+ {
311
+ inputs: [
312
+ {
313
+ internalType: "uint256",
314
+ name: "_batchStartIndex",
315
+ type: "uint256",
316
+ },
317
+ {
318
+ internalType: "uint256",
319
+ name: "_newTallyCommitment",
320
+ type: "uint256",
321
+ },
322
+ {
323
+ internalType: "uint256[8]",
324
+ name: "_proof",
325
+ type: "uint256[8]",
326
+ },
327
+ ],
328
+ name: "verifyTallyProof",
329
+ outputs: [
330
+ {
331
+ internalType: "bool",
332
+ name: "isValid",
333
+ type: "bool",
334
+ },
335
+ ],
336
+ stateMutability: "view",
337
+ type: "function",
338
+ },
339
+ {
340
+ inputs: [
341
+ {
342
+ internalType: "uint256",
343
+ name: "_voteOptionIndex",
344
+ type: "uint256",
345
+ },
346
+ {
347
+ internalType: "uint256",
348
+ name: "_tallyResult",
349
+ type: "uint256",
350
+ },
351
+ {
352
+ internalType: "uint256[][]",
353
+ name: "_tallyResultProof",
354
+ type: "uint256[][]",
355
+ },
356
+ {
357
+ internalType: "uint256",
358
+ name: "_tallyResultSalt",
359
+ type: "uint256",
360
+ },
361
+ {
362
+ internalType: "uint8",
363
+ name: "_voteOptionTreeDepth",
364
+ type: "uint8",
365
+ },
366
+ {
367
+ internalType: "uint256",
368
+ name: "_spentVoiceCreditsHash",
369
+ type: "uint256",
370
+ },
371
+ {
372
+ internalType: "uint256",
373
+ name: "_perVoteOptionSpentVoiceCreditsHash",
374
+ type: "uint256",
375
+ },
376
+ ],
377
+ name: "verifyTallyResult",
378
+ outputs: [
379
+ {
380
+ internalType: "bool",
381
+ name: "isValid",
86
382
  type: "bool",
87
383
  },
88
384
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"ITally__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/interfaces/ITally__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAA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AI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,eAAe;IAE1B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAoB,CAAC;IAChD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAsB,CAAC;IAClE,CAAC;;AAPH,0CAQC;AAPiB,mBAAG,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"ITally__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/interfaces/ITally__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,UAAU,EAAE;oBACV;wBACE,YAAY,EAAE,WAAW;wBACzB,IAAI,EAAE,mBAAmB;wBACzB,IAAI,EAAE,WAAW;qBAClB;oBACD;wBACE,YAAY,EAAE,WAAW;wBACzB,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,WAAW;qBAClB;oBACD;wBACE,YAAY,EAAE,eAAe;wBAC7B,IAAI,EAAE,mBAAmB;wBACzB,IAAI,EAAE,eAAe;qBACtB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,gBAAgB;wBACtB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,iBAAiB;wBACvB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE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AE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,aAAa;gBAC3B,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,aAAa;aACpB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,OAAO;aACd;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,qCAAqC;gBAC3C,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,eAAe;IAE1B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAoB,CAAC;IAChD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAsB,CAAC;IAClE,CAAC;;AAPH,0CAQC;AAPiB,mBAAG,GAAG,IAAI,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export { MockERC20__factory } from "./MockERC20__factory";
2
2
  export { MockERC20Votes__factory } from "./MockERC20Votes__factory";
3
3
  export { MockSemaphore__factory } from "./MockSemaphore__factory";
4
- export { MockTally__factory } from "./MockTally__factory";
5
4
  export { MockVerifier__factory } from "./MockVerifier__factory";
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MockVerifier__factory = exports.MockTally__factory = exports.MockSemaphore__factory = exports.MockERC20Votes__factory = exports.MockERC20__factory = void 0;
3
+ exports.MockVerifier__factory = exports.MockSemaphore__factory = exports.MockERC20Votes__factory = exports.MockERC20__factory = void 0;
4
4
  /* Autogenerated file. Do not edit manually. */
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
@@ -10,8 +10,6 @@ var MockERC20Votes__factory_1 = require("./MockERC20Votes__factory");
10
10
  Object.defineProperty(exports, "MockERC20Votes__factory", { enumerable: true, get: function () { return MockERC20Votes__factory_1.MockERC20Votes__factory; } });
11
11
  var MockSemaphore__factory_1 = require("./MockSemaphore__factory");
12
12
  Object.defineProperty(exports, "MockSemaphore__factory", { enumerable: true, get: function () { return MockSemaphore__factory_1.MockSemaphore__factory; } });
13
- var MockTally__factory_1 = require("./MockTally__factory");
14
- Object.defineProperty(exports, "MockTally__factory", { enumerable: true, get: function () { return MockTally__factory_1.MockTally__factory; } });
15
13
  var MockVerifier__factory_1 = require("./MockVerifier__factory");
16
14
  Object.defineProperty(exports, "MockVerifier__factory", { enumerable: true, get: function () { return MockVerifier__factory_1.MockVerifier__factory; } });
17
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA"}
@@ -227,8 +227,6 @@ export type { MockERC20Votes } from "./contracts/mocks/MockERC20Votes";
227
227
  export { MockERC20Votes__factory } from "./factories/contracts/mocks/MockERC20Votes__factory";
228
228
  export type { MockSemaphore } from "./contracts/mocks/MockSemaphore";
229
229
  export { MockSemaphore__factory } from "./factories/contracts/mocks/MockSemaphore__factory";
230
- export type { MockTally } from "./contracts/mocks/MockTally";
231
- export { MockTally__factory } from "./factories/contracts/mocks/MockTally__factory";
232
230
  export type { MockVerifier } from "./contracts/mocks/MockVerifier";
233
231
  export { MockVerifier__factory } from "./factories/contracts/mocks/MockVerifier__factory";
234
232
  export type { Poll } from "./contracts/Poll";