@coti-io/coti-contracts 1.1.0 → 1.2.0

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 (265) hide show
  1. package/.github/workflows/npm-publish.yml +18 -14
  2. package/README.md +3 -1
  3. package/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.sol +452 -0
  4. package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1.sol +490 -0
  5. package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow.sol +432 -0
  6. package/contracts/disperse/disperseToken/MintDisperser.sol +120 -0
  7. package/contracts/disperse/disperseToken/TokenDisperser.sol +139 -0
  8. package/contracts/mocks/token/ERC20Mock.sol +19 -0
  9. package/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.sol +18 -0
  10. package/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.sol +13 -0
  11. package/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock.sol +44 -0
  12. package/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock.sol +23 -0
  13. package/contracts/mocks/token/PrivateERC20/PrivateERC20GtCallerMock.sol +29 -0
  14. package/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.sol +9 -4
  15. package/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol +39 -0
  16. package/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock.sol +29 -0
  17. package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock.sol +18 -0
  18. package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock.sol +12 -0
  19. package/contracts/mocks/utils/mpc/Arithmetic128TestsContract.sol +123 -0
  20. package/contracts/mocks/utils/mpc/Arithmetic256TestsContract.sol +122 -0
  21. package/contracts/mocks/utils/mpc/Bitwise128TestsContract.sol +65 -0
  22. package/contracts/mocks/utils/mpc/Bitwise256TestsContract.sol +65 -0
  23. package/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.sol +64 -0
  24. package/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.sol +64 -0
  25. package/contracts/mocks/utils/mpc/Comparison128TestsContract.sol +98 -0
  26. package/contracts/mocks/utils/mpc/Comparison256TestsContract.sol +98 -0
  27. package/contracts/mocks/utils/mpc/MinMax128TestsContract.sol +44 -0
  28. package/contracts/mocks/utils/mpc/MinMax256TestsContract.sol +44 -0
  29. package/contracts/mocks/utils/mpc/MinimalImplementation.sol +55 -0
  30. package/contracts/mocks/utils/mpc/MinimalProxy.sol +27 -0
  31. package/contracts/mocks/utils/mpc/MpcOperations128TestContract.sol +267 -0
  32. package/contracts/mocks/utils/mpc/MpcOperationsTestContract.sol +334 -0
  33. package/contracts/mocks/utils/mpc/Mux128TestsContract.sol +24 -0
  34. package/contracts/mocks/utils/mpc/Mux256TestsContract.sol +24 -0
  35. package/contracts/mocks/utils/mpc/OnBoard128TestsContract.sol +93 -0
  36. package/contracts/mocks/utils/mpc/OnBoard256TestsContract.sol +116 -0
  37. package/contracts/mocks/utils/mpc/PrivacyImplementationV1.sol +157 -0
  38. package/contracts/mocks/utils/mpc/PrivacyImplementationV2.sol +133 -0
  39. package/contracts/mocks/utils/mpc/PrivacyProxy.sol +137 -0
  40. package/contracts/mocks/utils/mpc/Random128TestsContract.sol +32 -0
  41. package/contracts/mocks/utils/mpc/Random256TestsContract.sol +32 -0
  42. package/contracts/mocks/utils/mpc/Shift128TestsContract.sol +36 -0
  43. package/contracts/mocks/utils/mpc/Shift256TestsContract.sol +36 -0
  44. package/contracts/mocks/utils/mpc/Transfer128TestsContract.sol +29 -0
  45. package/contracts/mocks/utils/mpc/Transfer256TestsContract.sol +29 -0
  46. package/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.sol +32 -0
  47. package/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.sol +32 -0
  48. package/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.sol +59 -0
  49. package/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.sol +63 -0
  50. package/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.sol +99 -0
  51. package/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock.sol +7 -6
  52. package/contracts/node/CotiNodeRewards.sol +199 -0
  53. package/contracts/node/SoulboundNodeNFT.sol +519 -0
  54. package/contracts/privacyBridge/PrivacyBridge.sol +318 -0
  55. package/contracts/privacyBridge/PrivacyBridgeCotiNative.sol +268 -0
  56. package/contracts/privacyBridge/PrivacyBridgeERC20.sol +251 -0
  57. package/contracts/privacyBridge/PrivacyBridgeUSDCe.sol +16 -0
  58. package/contracts/privacyBridge/PrivacyBridgeUSDT.sol +17 -0
  59. package/contracts/privacyBridge/PrivacyBridgeWADA.sol +17 -0
  60. package/contracts/privacyBridge/PrivacyBridgeWBTC.sol +17 -0
  61. package/contracts/privacyBridge/PrivacyBridgeWETH.sol +17 -0
  62. package/contracts/privacyBridge/PrivacyBridgegCoti.sol +17 -0
  63. package/contracts/token/PrivateERC20/IPrivateERC20.sol +273 -40
  64. package/contracts/token/PrivateERC20/ITokenReceiver.sol +17 -0
  65. package/contracts/token/PrivateERC20/ITokenReceiverEncrypted.sol +20 -0
  66. package/contracts/token/PrivateERC20/PrivateERC20.sol +861 -152
  67. package/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.sol +17 -0
  68. package/contracts/token/PrivateERC20/tokens/PrivateCOTI.sol +13 -0
  69. package/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.sol +17 -0
  70. package/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.sol +17 -0
  71. package/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.sol +17 -0
  72. package/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.sol +17 -0
  73. package/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.sol +13 -0
  74. package/contracts/utils/mpc/MpcCore.sol +10780 -4962
  75. package/contracts/utils/mpc/MpcInterface.sol +7 -2
  76. package/hardhat/gasPriceBump.ts +60 -0
  77. package/hardhat.config.ts +60 -12
  78. package/package.json +21 -3
  79. package/scripts/deploySoulboundNodeNFT.ts +57 -0
  80. package/test/token/PrivateERC20/PrivacyBridge.fees.test.ts +327 -0
  81. package/test/token/PrivateERC20/PrivateERC20.test.ts +1109 -268
  82. package/test/utils/mpc/Bitwise128.test.ts +92 -0
  83. package/test/utils/mpc/Bitwise256.test.ts +101 -0
  84. package/test/utils/mpc/BuildInputText128.test.ts +398 -0
  85. package/test/utils/mpc/CheckedArithmetic128.test.ts +45 -0
  86. package/test/utils/mpc/CheckedArithmetic256.test.ts +45 -0
  87. package/test/utils/mpc/Comparison128.test.ts +48 -0
  88. package/test/utils/mpc/Comparison256.test.ts +48 -0
  89. package/test/utils/mpc/InvalidCiphertext.test.ts +179 -0
  90. package/test/utils/mpc/InvalidCiphertext128.test.ts +179 -0
  91. package/test/utils/mpc/InvalidCiphertext256.test.ts +201 -0
  92. package/test/utils/mpc/InvalidTransfer128.test.ts +166 -0
  93. package/test/utils/mpc/InvalidTransfer256.test.ts +158 -0
  94. package/test/utils/mpc/MinMax128.test.ts +44 -0
  95. package/test/utils/mpc/MinMax256.test.ts +44 -0
  96. package/test/utils/mpc/MinimalProxyDemo.test.ts +280 -0
  97. package/test/utils/mpc/MpcOperations.test.ts +589 -0
  98. package/test/utils/mpc/MpcOperations128.test.ts +632 -0
  99. package/test/utils/mpc/Mux128.test.ts +41 -0
  100. package/test/utils/mpc/Mux256.test.ts +41 -0
  101. package/test/utils/mpc/NegativeCases.test.ts +478 -0
  102. package/test/utils/mpc/NegativeCases128.test.ts +237 -0
  103. package/test/utils/mpc/NegativeCases256.test.ts +236 -0
  104. package/test/utils/mpc/OnBoard128.test.ts +90 -0
  105. package/test/utils/mpc/OnBoard256.test.ts +114 -0
  106. package/test/utils/mpc/Precompile128.test.ts +51 -0
  107. package/test/utils/mpc/Precompile256.test.ts +115 -0
  108. package/test/utils/mpc/ProxyValidation.test.ts +199 -0
  109. package/test/utils/mpc/Random128.test.ts +47 -0
  110. package/test/utils/mpc/Random256.test.ts +47 -0
  111. package/test/utils/mpc/Shift128.test.ts +41 -0
  112. package/test/utils/mpc/Shift256.test.ts +41 -0
  113. package/test/utils/mpc/Transfer128.test.ts +46 -0
  114. package/test/utils/mpc/Transfer256.test.ts +46 -0
  115. package/test/utils/mpc/TransferWithAllowance128.test.ts +48 -0
  116. package/test/utils/mpc/TransferWithAllowance256.test.ts +48 -0
  117. package/test/utils/mpc/UpgradeablePrivacyProxy.test.ts +307 -0
  118. package/test/utils/mpc/ValidateCiphertext.test.ts +221 -0
  119. package/test/utils/mpc/ValidateCiphertext256.test.ts +161 -0
  120. package/test/utils/mpc/ValidateCiphertext256Decryption.test.ts +383 -0
  121. package/test/utils/mpc/WalletEncryptionFailures.test.ts +494 -0
  122. package/test/utils/privateErc20Helpers.ts +97 -0
  123. package/typechain-types/@openzeppelin/contracts/access/Ownable.ts +153 -0
  124. package/typechain-types/@openzeppelin/contracts/access/index.ts +4 -0
  125. package/typechain-types/@openzeppelin/contracts/index.ts +2 -0
  126. package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
  127. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.ts +143 -0
  128. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  129. package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +6 -0
  130. package/typechain-types/@openzeppelin/contracts/token/index.ts +2 -0
  131. package/typechain-types/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.ts +679 -0
  132. package/typechain-types/contracts/disperse/coinByRatio/index.ts +4 -0
  133. package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20.ts +97 -0
  134. package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser.ts +206 -0
  135. package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +5 -0
  136. package/typechain-types/contracts/disperse/disperseToken/TokenDisperser.ts +191 -0
  137. package/typechain-types/contracts/disperse/disperseToken/index.ts +6 -0
  138. package/typechain-types/contracts/disperse/index.ts +7 -0
  139. package/typechain-types/contracts/index.ts +2 -0
  140. package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.ts +77 -60
  141. package/typechain-types/contracts/mocks/utils/mpc/Arithmetic128TestsContract.ts +311 -0
  142. package/typechain-types/contracts/mocks/utils/mpc/Arithmetic256TestsContract.ts +311 -0
  143. package/typechain-types/contracts/mocks/utils/mpc/Bitwise128TestsContract.ts +179 -0
  144. package/typechain-types/contracts/mocks/utils/mpc/Bitwise256TestsContract.ts +179 -0
  145. package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.ts +206 -0
  146. package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.ts +206 -0
  147. package/typechain-types/contracts/mocks/utils/mpc/Comparison128TestsContract.ts +278 -0
  148. package/typechain-types/contracts/mocks/utils/mpc/Comparison256TestsContract.ts +278 -0
  149. package/typechain-types/contracts/mocks/utils/mpc/MinMax128TestsContract.ts +142 -0
  150. package/typechain-types/contracts/mocks/utils/mpc/MinMax256TestsContract.ts +142 -0
  151. package/typechain-types/contracts/mocks/utils/mpc/MinimalImplementation.ts +259 -0
  152. package/typechain-types/contracts/mocks/utils/mpc/MinimalProxy.ts +90 -0
  153. package/typechain-types/contracts/mocks/utils/mpc/MpcOperations128TestContract.ts +388 -0
  154. package/typechain-types/contracts/mocks/utils/mpc/MpcOperationsTestContract.ts +455 -0
  155. package/typechain-types/contracts/mocks/utils/mpc/Mux128TestsContract.ts +109 -0
  156. package/typechain-types/contracts/mocks/utils/mpc/Mux256TestsContract.ts +109 -0
  157. package/typechain-types/contracts/mocks/utils/mpc/OnBoard128TestsContract.ts +166 -0
  158. package/typechain-types/contracts/mocks/utils/mpc/OnBoard256TestsContract.ts +194 -0
  159. package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV1.ts +385 -0
  160. package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV2.ts +441 -0
  161. package/typechain-types/contracts/mocks/utils/mpc/PrivacyProxy.ts +201 -0
  162. package/typechain-types/contracts/mocks/utils/mpc/Random128TestsContract.ts +131 -0
  163. package/typechain-types/contracts/mocks/utils/mpc/Random256TestsContract.ts +131 -0
  164. package/typechain-types/contracts/mocks/utils/mpc/Shift128TestsContract.ts +142 -0
  165. package/typechain-types/contracts/mocks/utils/mpc/Shift256TestsContract.ts +142 -0
  166. package/typechain-types/contracts/mocks/utils/mpc/Transfer128TestsContract.ts +109 -0
  167. package/typechain-types/contracts/mocks/utils/mpc/Transfer256TestsContract.ts +109 -0
  168. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.ts +128 -0
  169. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.ts +128 -0
  170. package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.ts +198 -0
  171. package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.ts +182 -0
  172. package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.ts +257 -0
  173. package/typechain-types/contracts/mocks/utils/mpc/index.ts +32 -8
  174. package/typechain-types/contracts/token/PrivateERC20/IPrivateERC20.ts +77 -60
  175. package/typechain-types/contracts/token/PrivateERC20/PrivateERC20.ts +77 -60
  176. package/typechain-types/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations.ts +111 -10
  177. package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +74 -0
  178. package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +4 -0
  179. package/typechain-types/factories/@openzeppelin/contracts/index.ts +1 -0
  180. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +205 -0
  181. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.ts +100 -0
  182. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  183. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +5 -0
  184. package/typechain-types/factories/@openzeppelin/contracts/token/index.ts +1 -0
  185. package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperser__factory.ts +759 -0
  186. package/typechain-types/factories/contracts/disperse/coinByRatio/index.ts +4 -0
  187. package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20__factory.ts +43 -0
  188. package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser__factory.ts +185 -0
  189. package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +5 -0
  190. package/typechain-types/factories/contracts/disperse/disperseToken/TokenDisperser__factory.ts +198 -0
  191. package/typechain-types/factories/contracts/disperse/disperseToken/index.ts +5 -0
  192. package/typechain-types/factories/contracts/disperse/index.ts +5 -0
  193. package/typechain-types/factories/contracts/index.ts +1 -0
  194. package/typechain-types/factories/contracts/mocks/access/DataPrivacyFramework/DataPrivacyFrameworkMock__factory.ts +1 -1
  195. package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20Mock__factory.ts +179 -47
  196. package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128TestsContract__factory.ts +330 -0
  197. package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256TestsContract__factory.ts +330 -0
  198. package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
  199. package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128TestsContract__factory.ts +184 -0
  200. package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256TestsContract__factory.ts +184 -0
  201. package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
  202. package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract__factory.ts +203 -0
  203. package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract__factory.ts +203 -0
  204. package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +1 -1
  205. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128TestsContract__factory.ts +295 -0
  206. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
  207. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256TestsContract__factory.ts +295 -0
  208. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
  209. package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax128TestsContract__factory.ts +147 -0
  210. package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax256TestsContract__factory.ts +147 -0
  211. package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
  212. package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalImplementation__factory.ts +263 -0
  213. package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalProxy__factory.ts +104 -0
  214. package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous1TestsContract__factory.ts +1 -1
  215. package/typechain-types/factories/contracts/mocks/utils/mpc/MiscellaneousTestsContract__factory.ts +1 -1
  216. package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperations128TestContract__factory.ts +723 -0
  217. package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperationsTestContract__factory.ts +1410 -0
  218. package/typechain-types/factories/contracts/mocks/utils/mpc/Mux128TestsContract__factory.ts +115 -0
  219. package/typechain-types/factories/contracts/mocks/utils/mpc/Mux256TestsContract__factory.ts +115 -0
  220. package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
  221. package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard128TestsContract__factory.ts +175 -0
  222. package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard256TestsContract__factory.ts +205 -0
  223. package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV1__factory.ts +521 -0
  224. package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV2__factory.ts +648 -0
  225. package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyProxy__factory.ts +179 -0
  226. package/typechain-types/factories/contracts/mocks/utils/mpc/Random128TestsContract__factory.ts +131 -0
  227. package/typechain-types/factories/contracts/mocks/utils/mpc/Random256TestsContract__factory.ts +131 -0
  228. package/typechain-types/factories/contracts/mocks/utils/mpc/Shift128TestsContract__factory.ts +147 -0
  229. package/typechain-types/factories/contracts/mocks/utils/mpc/Shift256TestsContract__factory.ts +147 -0
  230. package/typechain-types/factories/contracts/mocks/utils/mpc/ShiftTestsContract__factory.ts +1 -1
  231. package/typechain-types/factories/contracts/mocks/utils/mpc/StringTestsContract__factory.ts +1 -1
  232. package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer128TestsContract__factory.ts +135 -0
  233. package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer256TestsContract__factory.ts +135 -0
  234. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferScalarTestsContract__factory.ts +1 -1
  235. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferTestsContract__factory.ts +1 -1
  236. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract__factory.ts +154 -0
  237. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract__factory.ts +154 -0
  238. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract__factory.ts +1 -1
  239. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract__factory.ts +1 -1
  240. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract__factory.ts +1 -1
  241. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract__factory.ts +1 -1
  242. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract__factory.ts +1 -1
  243. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract__factory.ts +1 -1
  244. package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract__factory.ts +190 -0
  245. package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract__factory.ts +210 -0
  246. package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract__factory.ts +260 -0
  247. package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +32 -8
  248. package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +7 -7
  249. package/typechain-types/factories/contracts/token/PrivateERC20/IPrivateERC20__factory.ts +174 -42
  250. package/typechain-types/factories/contracts/token/PrivateERC20/PrivateERC20__factory.ts +174 -42
  251. package/typechain-types/factories/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations__factory.ts +126 -0
  252. package/typechain-types/hardhat.d.ts +638 -80
  253. package/typechain-types/index.ts +78 -16
  254. package/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.sol +0 -260
  255. package/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.sol +0 -264
  256. package/contracts/mocks/utils/mpc/Bitwise128BitTestsContract.sol +0 -91
  257. package/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.sol +0 -91
  258. package/contracts/mocks/utils/mpc/Comparison128BitTestsContract.sol +0 -158
  259. package/contracts/mocks/utils/mpc/Comparison256BitTestsContract.sol +0 -158
  260. package/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.sol +0 -185
  261. package/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.sol +0 -190
  262. package/contracts/mocks/utils/mpc/README.md +0 -486
  263. package/test/utils/mpc/Unsigned128BitIntegers.test.ts +0 -945
  264. package/test/utils/mpc/Unsigned256BitIntegers.test.ts +0 -1124
  265. package/test/utils/mpc/helpers.ts +0 -77
@@ -13,10 +13,22 @@ import * as Contracts from ".";
13
13
 
14
14
  declare module "hardhat/types/runtime" {
15
15
  interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
16
+ getContractFactory(
17
+ name: "Ownable",
18
+ signerOrOptions?: ethers.Signer | FactoryOptions
19
+ ): Promise<Contracts.Ownable__factory>;
16
20
  getContractFactory(
17
21
  name: "IERC4906",
18
22
  signerOrOptions?: ethers.Signer | FactoryOptions
19
23
  ): Promise<Contracts.IERC4906__factory>;
24
+ getContractFactory(
25
+ name: "IERC20Permit",
26
+ signerOrOptions?: ethers.Signer | FactoryOptions
27
+ ): Promise<Contracts.IERC20Permit__factory>;
28
+ getContractFactory(
29
+ name: "IERC20",
30
+ signerOrOptions?: ethers.Signer | FactoryOptions
31
+ ): Promise<Contracts.IERC20__factory>;
20
32
  getContractFactory(
21
33
  name: "IERC721",
22
34
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -41,6 +53,22 @@ declare module "hardhat/types/runtime" {
41
53
  name: "DataPrivacyFrameworkMpc",
42
54
  signerOrOptions?: ethers.Signer | FactoryOptions
43
55
  ): Promise<Contracts.DataPrivacyFrameworkMpc__factory>;
56
+ getContractFactory(
57
+ name: "FixedRatioCoinDisperser",
58
+ signerOrOptions?: ethers.Signer | FactoryOptions
59
+ ): Promise<Contracts.FixedRatioCoinDisperser__factory>;
60
+ getContractFactory(
61
+ name: "IMintableERC20",
62
+ signerOrOptions?: ethers.Signer | FactoryOptions
63
+ ): Promise<Contracts.IMintableERC20__factory>;
64
+ getContractFactory(
65
+ name: "MintDisperser",
66
+ signerOrOptions?: ethers.Signer | FactoryOptions
67
+ ): Promise<Contracts.MintDisperser__factory>;
68
+ getContractFactory(
69
+ name: "TokenDisperser",
70
+ signerOrOptions?: ethers.Signer | FactoryOptions
71
+ ): Promise<Contracts.TokenDisperser__factory>;
44
72
  getContractFactory(
45
73
  name: "DataPrivacyFrameworkMock",
46
74
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -54,73 +82,141 @@ declare module "hardhat/types/runtime" {
54
82
  signerOrOptions?: ethers.Signer | FactoryOptions
55
83
  ): Promise<Contracts.PrivateERC721URIStorageMock__factory>;
56
84
  getContractFactory(
57
- name: "Arithmetic128BitTestsContract",
85
+ name: "Arithmetic128TestsContract",
58
86
  signerOrOptions?: ethers.Signer | FactoryOptions
59
- ): Promise<Contracts.Arithmetic128BitTestsContract__factory>;
87
+ ): Promise<Contracts.Arithmetic128TestsContract__factory>;
60
88
  getContractFactory(
61
- name: "Arithmetic256BitTestsContract",
89
+ name: "Arithmetic256TestsContract",
62
90
  signerOrOptions?: ethers.Signer | FactoryOptions
63
- ): Promise<Contracts.Arithmetic256BitTestsContract__factory>;
91
+ ): Promise<Contracts.Arithmetic256TestsContract__factory>;
64
92
  getContractFactory(
65
93
  name: "ArithmeticTestsContract",
66
94
  signerOrOptions?: ethers.Signer | FactoryOptions
67
95
  ): Promise<Contracts.ArithmeticTestsContract__factory>;
68
96
  getContractFactory(
69
- name: "Bitwise128BitTestsContract",
97
+ name: "Bitwise128TestsContract",
70
98
  signerOrOptions?: ethers.Signer | FactoryOptions
71
- ): Promise<Contracts.Bitwise128BitTestsContract__factory>;
99
+ ): Promise<Contracts.Bitwise128TestsContract__factory>;
72
100
  getContractFactory(
73
- name: "Bitwise256BitTestsContract",
101
+ name: "Bitwise256TestsContract",
74
102
  signerOrOptions?: ethers.Signer | FactoryOptions
75
- ): Promise<Contracts.Bitwise256BitTestsContract__factory>;
103
+ ): Promise<Contracts.Bitwise256TestsContract__factory>;
76
104
  getContractFactory(
77
105
  name: "BitwiseTestsContract",
78
106
  signerOrOptions?: ethers.Signer | FactoryOptions
79
107
  ): Promise<Contracts.BitwiseTestsContract__factory>;
108
+ getContractFactory(
109
+ name: "CheckedArithmetic128WithOverflowBitTestsContract",
110
+ signerOrOptions?: ethers.Signer | FactoryOptions
111
+ ): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract__factory>;
112
+ getContractFactory(
113
+ name: "CheckedArithmetic256WithOverflowBitTestsContract",
114
+ signerOrOptions?: ethers.Signer | FactoryOptions
115
+ ): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract__factory>;
80
116
  getContractFactory(
81
117
  name: "CheckedArithmeticWithOverflowBitTestsContract",
82
118
  signerOrOptions?: ethers.Signer | FactoryOptions
83
119
  ): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract__factory>;
84
120
  getContractFactory(
85
- name: "Comparison128BitTestsContract",
121
+ name: "Comparison128TestsContract",
86
122
  signerOrOptions?: ethers.Signer | FactoryOptions
87
- ): Promise<Contracts.Comparison128BitTestsContract__factory>;
123
+ ): Promise<Contracts.Comparison128TestsContract__factory>;
88
124
  getContractFactory(
89
125
  name: "Comparison1TestsContract",
90
126
  signerOrOptions?: ethers.Signer | FactoryOptions
91
127
  ): Promise<Contracts.Comparison1TestsContract__factory>;
92
128
  getContractFactory(
93
- name: "Comparison256BitTestsContract",
129
+ name: "Comparison256TestsContract",
94
130
  signerOrOptions?: ethers.Signer | FactoryOptions
95
- ): Promise<Contracts.Comparison256BitTestsContract__factory>;
131
+ ): Promise<Contracts.Comparison256TestsContract__factory>;
96
132
  getContractFactory(
97
133
  name: "Comparison2TestsContract",
98
134
  signerOrOptions?: ethers.Signer | FactoryOptions
99
135
  ): Promise<Contracts.Comparison2TestsContract__factory>;
100
136
  getContractFactory(
101
- name: "MinMaxTestsContract",
137
+ name: "MinimalImplementation",
102
138
  signerOrOptions?: ethers.Signer | FactoryOptions
103
- ): Promise<Contracts.MinMaxTestsContract__factory>;
139
+ ): Promise<Contracts.MinimalImplementation__factory>;
104
140
  getContractFactory(
105
- name: "Miscellaneous128BitTestsContract",
141
+ name: "MinimalProxy",
106
142
  signerOrOptions?: ethers.Signer | FactoryOptions
107
- ): Promise<Contracts.Miscellaneous128BitTestsContract__factory>;
143
+ ): Promise<Contracts.MinimalProxy__factory>;
108
144
  getContractFactory(
109
- name: "Miscellaneous1TestsContract",
145
+ name: "MinMax128TestsContract",
110
146
  signerOrOptions?: ethers.Signer | FactoryOptions
111
- ): Promise<Contracts.Miscellaneous1TestsContract__factory>;
147
+ ): Promise<Contracts.MinMax128TestsContract__factory>;
112
148
  getContractFactory(
113
- name: "Miscellaneous256BitTestsContract",
149
+ name: "MinMax256TestsContract",
114
150
  signerOrOptions?: ethers.Signer | FactoryOptions
115
- ): Promise<Contracts.Miscellaneous256BitTestsContract__factory>;
151
+ ): Promise<Contracts.MinMax256TestsContract__factory>;
152
+ getContractFactory(
153
+ name: "MinMaxTestsContract",
154
+ signerOrOptions?: ethers.Signer | FactoryOptions
155
+ ): Promise<Contracts.MinMaxTestsContract__factory>;
156
+ getContractFactory(
157
+ name: "Miscellaneous1TestsContract",
158
+ signerOrOptions?: ethers.Signer | FactoryOptions
159
+ ): Promise<Contracts.Miscellaneous1TestsContract__factory>;
116
160
  getContractFactory(
117
161
  name: "MiscellaneousTestsContract",
118
162
  signerOrOptions?: ethers.Signer | FactoryOptions
119
163
  ): Promise<Contracts.MiscellaneousTestsContract__factory>;
164
+ getContractFactory(
165
+ name: "MpcOperations128TestContract",
166
+ signerOrOptions?: ethers.Signer | FactoryOptions
167
+ ): Promise<Contracts.MpcOperations128TestContract__factory>;
168
+ getContractFactory(
169
+ name: "MpcOperationsTestContract",
170
+ signerOrOptions?: ethers.Signer | FactoryOptions
171
+ ): Promise<Contracts.MpcOperationsTestContract__factory>;
172
+ getContractFactory(
173
+ name: "Mux128TestsContract",
174
+ signerOrOptions?: ethers.Signer | FactoryOptions
175
+ ): Promise<Contracts.Mux128TestsContract__factory>;
176
+ getContractFactory(
177
+ name: "Mux256TestsContract",
178
+ signerOrOptions?: ethers.Signer | FactoryOptions
179
+ ): Promise<Contracts.Mux256TestsContract__factory>;
120
180
  getContractFactory(
121
181
  name: "OffboardToUserKeyTestContract",
122
182
  signerOrOptions?: ethers.Signer | FactoryOptions
123
183
  ): Promise<Contracts.OffboardToUserKeyTestContract__factory>;
184
+ getContractFactory(
185
+ name: "OnBoard128TestsContract",
186
+ signerOrOptions?: ethers.Signer | FactoryOptions
187
+ ): Promise<Contracts.OnBoard128TestsContract__factory>;
188
+ getContractFactory(
189
+ name: "OnBoard256TestsContract",
190
+ signerOrOptions?: ethers.Signer | FactoryOptions
191
+ ): Promise<Contracts.OnBoard256TestsContract__factory>;
192
+ getContractFactory(
193
+ name: "PrivacyImplementationV1",
194
+ signerOrOptions?: ethers.Signer | FactoryOptions
195
+ ): Promise<Contracts.PrivacyImplementationV1__factory>;
196
+ getContractFactory(
197
+ name: "PrivacyImplementationV2",
198
+ signerOrOptions?: ethers.Signer | FactoryOptions
199
+ ): Promise<Contracts.PrivacyImplementationV2__factory>;
200
+ getContractFactory(
201
+ name: "PrivacyProxy",
202
+ signerOrOptions?: ethers.Signer | FactoryOptions
203
+ ): Promise<Contracts.PrivacyProxy__factory>;
204
+ getContractFactory(
205
+ name: "Random128TestsContract",
206
+ signerOrOptions?: ethers.Signer | FactoryOptions
207
+ ): Promise<Contracts.Random128TestsContract__factory>;
208
+ getContractFactory(
209
+ name: "Random256TestsContract",
210
+ signerOrOptions?: ethers.Signer | FactoryOptions
211
+ ): Promise<Contracts.Random256TestsContract__factory>;
212
+ getContractFactory(
213
+ name: "Shift128TestsContract",
214
+ signerOrOptions?: ethers.Signer | FactoryOptions
215
+ ): Promise<Contracts.Shift128TestsContract__factory>;
216
+ getContractFactory(
217
+ name: "Shift256TestsContract",
218
+ signerOrOptions?: ethers.Signer | FactoryOptions
219
+ ): Promise<Contracts.Shift256TestsContract__factory>;
124
220
  getContractFactory(
125
221
  name: "ShiftTestsContract",
126
222
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -129,6 +225,14 @@ declare module "hardhat/types/runtime" {
129
225
  name: "StringTestsContract",
130
226
  signerOrOptions?: ethers.Signer | FactoryOptions
131
227
  ): Promise<Contracts.StringTestsContract__factory>;
228
+ getContractFactory(
229
+ name: "Transfer128TestsContract",
230
+ signerOrOptions?: ethers.Signer | FactoryOptions
231
+ ): Promise<Contracts.Transfer128TestsContract__factory>;
232
+ getContractFactory(
233
+ name: "Transfer256TestsContract",
234
+ signerOrOptions?: ethers.Signer | FactoryOptions
235
+ ): Promise<Contracts.Transfer256TestsContract__factory>;
132
236
  getContractFactory(
133
237
  name: "TransferScalarTestsContract",
134
238
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -137,6 +241,14 @@ declare module "hardhat/types/runtime" {
137
241
  name: "TransferTestsContract",
138
242
  signerOrOptions?: ethers.Signer | FactoryOptions
139
243
  ): Promise<Contracts.TransferTestsContract__factory>;
244
+ getContractFactory(
245
+ name: "TransferWithAllowance128TestsContract",
246
+ signerOrOptions?: ethers.Signer | FactoryOptions
247
+ ): Promise<Contracts.TransferWithAllowance128TestsContract__factory>;
248
+ getContractFactory(
249
+ name: "TransferWithAllowance256TestsContract",
250
+ signerOrOptions?: ethers.Signer | FactoryOptions
251
+ ): Promise<Contracts.TransferWithAllowance256TestsContract__factory>;
140
252
  getContractFactory(
141
253
  name: "TransferWithAllowance64_16TestsContract",
142
254
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -161,6 +273,18 @@ declare module "hardhat/types/runtime" {
161
273
  name: "TransferWithAllowanceTestsContract",
162
274
  signerOrOptions?: ethers.Signer | FactoryOptions
163
275
  ): Promise<Contracts.TransferWithAllowanceTestsContract__factory>;
276
+ getContractFactory(
277
+ name: "ValidateCiphertext128TestsContract",
278
+ signerOrOptions?: ethers.Signer | FactoryOptions
279
+ ): Promise<Contracts.ValidateCiphertext128TestsContract__factory>;
280
+ getContractFactory(
281
+ name: "ValidateCiphertext256TestsContract",
282
+ signerOrOptions?: ethers.Signer | FactoryOptions
283
+ ): Promise<Contracts.ValidateCiphertext256TestsContract__factory>;
284
+ getContractFactory(
285
+ name: "ValidateCiphertextTestsContract",
286
+ signerOrOptions?: ethers.Signer | FactoryOptions
287
+ ): Promise<Contracts.ValidateCiphertextTestsContract__factory>;
164
288
  getContractFactory(
165
289
  name: "PrivateERC20WalletMock",
166
290
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -202,11 +326,26 @@ declare module "hardhat/types/runtime" {
202
326
  signerOrOptions?: ethers.Signer | FactoryOptions
203
327
  ): Promise<Contracts.ExtendedOperations__factory>;
204
328
 
329
+ getContractAt(
330
+ name: "Ownable",
331
+ address: string | ethers.Addressable,
332
+ signer?: ethers.Signer
333
+ ): Promise<Contracts.Ownable>;
205
334
  getContractAt(
206
335
  name: "IERC4906",
207
336
  address: string | ethers.Addressable,
208
337
  signer?: ethers.Signer
209
338
  ): Promise<Contracts.IERC4906>;
339
+ getContractAt(
340
+ name: "IERC20Permit",
341
+ address: string | ethers.Addressable,
342
+ signer?: ethers.Signer
343
+ ): Promise<Contracts.IERC20Permit>;
344
+ getContractAt(
345
+ name: "IERC20",
346
+ address: string | ethers.Addressable,
347
+ signer?: ethers.Signer
348
+ ): Promise<Contracts.IERC20>;
210
349
  getContractAt(
211
350
  name: "IERC721",
212
351
  address: string | ethers.Addressable,
@@ -237,6 +376,26 @@ declare module "hardhat/types/runtime" {
237
376
  address: string | ethers.Addressable,
238
377
  signer?: ethers.Signer
239
378
  ): Promise<Contracts.DataPrivacyFrameworkMpc>;
379
+ getContractAt(
380
+ name: "FixedRatioCoinDisperser",
381
+ address: string | ethers.Addressable,
382
+ signer?: ethers.Signer
383
+ ): Promise<Contracts.FixedRatioCoinDisperser>;
384
+ getContractAt(
385
+ name: "IMintableERC20",
386
+ address: string | ethers.Addressable,
387
+ signer?: ethers.Signer
388
+ ): Promise<Contracts.IMintableERC20>;
389
+ getContractAt(
390
+ name: "MintDisperser",
391
+ address: string | ethers.Addressable,
392
+ signer?: ethers.Signer
393
+ ): Promise<Contracts.MintDisperser>;
394
+ getContractAt(
395
+ name: "TokenDisperser",
396
+ address: string | ethers.Addressable,
397
+ signer?: ethers.Signer
398
+ ): Promise<Contracts.TokenDisperser>;
240
399
  getContractAt(
241
400
  name: "DataPrivacyFrameworkMock",
242
401
  address: string | ethers.Addressable,
@@ -253,90 +412,175 @@ declare module "hardhat/types/runtime" {
253
412
  signer?: ethers.Signer
254
413
  ): Promise<Contracts.PrivateERC721URIStorageMock>;
255
414
  getContractAt(
256
- name: "Arithmetic128BitTestsContract",
415
+ name: "Arithmetic128TestsContract",
257
416
  address: string | ethers.Addressable,
258
417
  signer?: ethers.Signer
259
- ): Promise<Contracts.Arithmetic128BitTestsContract>;
418
+ ): Promise<Contracts.Arithmetic128TestsContract>;
260
419
  getContractAt(
261
- name: "Arithmetic256BitTestsContract",
420
+ name: "Arithmetic256TestsContract",
262
421
  address: string | ethers.Addressable,
263
422
  signer?: ethers.Signer
264
- ): Promise<Contracts.Arithmetic256BitTestsContract>;
423
+ ): Promise<Contracts.Arithmetic256TestsContract>;
265
424
  getContractAt(
266
425
  name: "ArithmeticTestsContract",
267
426
  address: string | ethers.Addressable,
268
427
  signer?: ethers.Signer
269
428
  ): Promise<Contracts.ArithmeticTestsContract>;
270
429
  getContractAt(
271
- name: "Bitwise128BitTestsContract",
430
+ name: "Bitwise128TestsContract",
272
431
  address: string | ethers.Addressable,
273
432
  signer?: ethers.Signer
274
- ): Promise<Contracts.Bitwise128BitTestsContract>;
433
+ ): Promise<Contracts.Bitwise128TestsContract>;
275
434
  getContractAt(
276
- name: "Bitwise256BitTestsContract",
435
+ name: "Bitwise256TestsContract",
277
436
  address: string | ethers.Addressable,
278
437
  signer?: ethers.Signer
279
- ): Promise<Contracts.Bitwise256BitTestsContract>;
438
+ ): Promise<Contracts.Bitwise256TestsContract>;
280
439
  getContractAt(
281
440
  name: "BitwiseTestsContract",
282
441
  address: string | ethers.Addressable,
283
442
  signer?: ethers.Signer
284
443
  ): Promise<Contracts.BitwiseTestsContract>;
444
+ getContractAt(
445
+ name: "CheckedArithmetic128WithOverflowBitTestsContract",
446
+ address: string | ethers.Addressable,
447
+ signer?: ethers.Signer
448
+ ): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
449
+ getContractAt(
450
+ name: "CheckedArithmetic256WithOverflowBitTestsContract",
451
+ address: string | ethers.Addressable,
452
+ signer?: ethers.Signer
453
+ ): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
285
454
  getContractAt(
286
455
  name: "CheckedArithmeticWithOverflowBitTestsContract",
287
456
  address: string | ethers.Addressable,
288
457
  signer?: ethers.Signer
289
458
  ): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
290
459
  getContractAt(
291
- name: "Comparison128BitTestsContract",
460
+ name: "Comparison128TestsContract",
292
461
  address: string | ethers.Addressable,
293
462
  signer?: ethers.Signer
294
- ): Promise<Contracts.Comparison128BitTestsContract>;
463
+ ): Promise<Contracts.Comparison128TestsContract>;
295
464
  getContractAt(
296
465
  name: "Comparison1TestsContract",
297
466
  address: string | ethers.Addressable,
298
467
  signer?: ethers.Signer
299
468
  ): Promise<Contracts.Comparison1TestsContract>;
300
469
  getContractAt(
301
- name: "Comparison256BitTestsContract",
470
+ name: "Comparison256TestsContract",
302
471
  address: string | ethers.Addressable,
303
472
  signer?: ethers.Signer
304
- ): Promise<Contracts.Comparison256BitTestsContract>;
473
+ ): Promise<Contracts.Comparison256TestsContract>;
305
474
  getContractAt(
306
475
  name: "Comparison2TestsContract",
307
476
  address: string | ethers.Addressable,
308
477
  signer?: ethers.Signer
309
478
  ): Promise<Contracts.Comparison2TestsContract>;
310
479
  getContractAt(
311
- name: "MinMaxTestsContract",
480
+ name: "MinimalImplementation",
312
481
  address: string | ethers.Addressable,
313
482
  signer?: ethers.Signer
314
- ): Promise<Contracts.MinMaxTestsContract>;
483
+ ): Promise<Contracts.MinimalImplementation>;
315
484
  getContractAt(
316
- name: "Miscellaneous128BitTestsContract",
485
+ name: "MinimalProxy",
317
486
  address: string | ethers.Addressable,
318
487
  signer?: ethers.Signer
319
- ): Promise<Contracts.Miscellaneous128BitTestsContract>;
488
+ ): Promise<Contracts.MinimalProxy>;
320
489
  getContractAt(
321
- name: "Miscellaneous1TestsContract",
490
+ name: "MinMax128TestsContract",
322
491
  address: string | ethers.Addressable,
323
492
  signer?: ethers.Signer
324
- ): Promise<Contracts.Miscellaneous1TestsContract>;
493
+ ): Promise<Contracts.MinMax128TestsContract>;
325
494
  getContractAt(
326
- name: "Miscellaneous256BitTestsContract",
495
+ name: "MinMax256TestsContract",
327
496
  address: string | ethers.Addressable,
328
497
  signer?: ethers.Signer
329
- ): Promise<Contracts.Miscellaneous256BitTestsContract>;
498
+ ): Promise<Contracts.MinMax256TestsContract>;
499
+ getContractAt(
500
+ name: "MinMaxTestsContract",
501
+ address: string | ethers.Addressable,
502
+ signer?: ethers.Signer
503
+ ): Promise<Contracts.MinMaxTestsContract>;
504
+ getContractAt(
505
+ name: "Miscellaneous1TestsContract",
506
+ address: string | ethers.Addressable,
507
+ signer?: ethers.Signer
508
+ ): Promise<Contracts.Miscellaneous1TestsContract>;
330
509
  getContractAt(
331
510
  name: "MiscellaneousTestsContract",
332
511
  address: string | ethers.Addressable,
333
512
  signer?: ethers.Signer
334
513
  ): Promise<Contracts.MiscellaneousTestsContract>;
514
+ getContractAt(
515
+ name: "MpcOperations128TestContract",
516
+ address: string | ethers.Addressable,
517
+ signer?: ethers.Signer
518
+ ): Promise<Contracts.MpcOperations128TestContract>;
519
+ getContractAt(
520
+ name: "MpcOperationsTestContract",
521
+ address: string | ethers.Addressable,
522
+ signer?: ethers.Signer
523
+ ): Promise<Contracts.MpcOperationsTestContract>;
524
+ getContractAt(
525
+ name: "Mux128TestsContract",
526
+ address: string | ethers.Addressable,
527
+ signer?: ethers.Signer
528
+ ): Promise<Contracts.Mux128TestsContract>;
529
+ getContractAt(
530
+ name: "Mux256TestsContract",
531
+ address: string | ethers.Addressable,
532
+ signer?: ethers.Signer
533
+ ): Promise<Contracts.Mux256TestsContract>;
335
534
  getContractAt(
336
535
  name: "OffboardToUserKeyTestContract",
337
536
  address: string | ethers.Addressable,
338
537
  signer?: ethers.Signer
339
538
  ): Promise<Contracts.OffboardToUserKeyTestContract>;
539
+ getContractAt(
540
+ name: "OnBoard128TestsContract",
541
+ address: string | ethers.Addressable,
542
+ signer?: ethers.Signer
543
+ ): Promise<Contracts.OnBoard128TestsContract>;
544
+ getContractAt(
545
+ name: "OnBoard256TestsContract",
546
+ address: string | ethers.Addressable,
547
+ signer?: ethers.Signer
548
+ ): Promise<Contracts.OnBoard256TestsContract>;
549
+ getContractAt(
550
+ name: "PrivacyImplementationV1",
551
+ address: string | ethers.Addressable,
552
+ signer?: ethers.Signer
553
+ ): Promise<Contracts.PrivacyImplementationV1>;
554
+ getContractAt(
555
+ name: "PrivacyImplementationV2",
556
+ address: string | ethers.Addressable,
557
+ signer?: ethers.Signer
558
+ ): Promise<Contracts.PrivacyImplementationV2>;
559
+ getContractAt(
560
+ name: "PrivacyProxy",
561
+ address: string | ethers.Addressable,
562
+ signer?: ethers.Signer
563
+ ): Promise<Contracts.PrivacyProxy>;
564
+ getContractAt(
565
+ name: "Random128TestsContract",
566
+ address: string | ethers.Addressable,
567
+ signer?: ethers.Signer
568
+ ): Promise<Contracts.Random128TestsContract>;
569
+ getContractAt(
570
+ name: "Random256TestsContract",
571
+ address: string | ethers.Addressable,
572
+ signer?: ethers.Signer
573
+ ): Promise<Contracts.Random256TestsContract>;
574
+ getContractAt(
575
+ name: "Shift128TestsContract",
576
+ address: string | ethers.Addressable,
577
+ signer?: ethers.Signer
578
+ ): Promise<Contracts.Shift128TestsContract>;
579
+ getContractAt(
580
+ name: "Shift256TestsContract",
581
+ address: string | ethers.Addressable,
582
+ signer?: ethers.Signer
583
+ ): Promise<Contracts.Shift256TestsContract>;
340
584
  getContractAt(
341
585
  name: "ShiftTestsContract",
342
586
  address: string | ethers.Addressable,
@@ -347,6 +591,16 @@ declare module "hardhat/types/runtime" {
347
591
  address: string | ethers.Addressable,
348
592
  signer?: ethers.Signer
349
593
  ): Promise<Contracts.StringTestsContract>;
594
+ getContractAt(
595
+ name: "Transfer128TestsContract",
596
+ address: string | ethers.Addressable,
597
+ signer?: ethers.Signer
598
+ ): Promise<Contracts.Transfer128TestsContract>;
599
+ getContractAt(
600
+ name: "Transfer256TestsContract",
601
+ address: string | ethers.Addressable,
602
+ signer?: ethers.Signer
603
+ ): Promise<Contracts.Transfer256TestsContract>;
350
604
  getContractAt(
351
605
  name: "TransferScalarTestsContract",
352
606
  address: string | ethers.Addressable,
@@ -357,6 +611,16 @@ declare module "hardhat/types/runtime" {
357
611
  address: string | ethers.Addressable,
358
612
  signer?: ethers.Signer
359
613
  ): Promise<Contracts.TransferTestsContract>;
614
+ getContractAt(
615
+ name: "TransferWithAllowance128TestsContract",
616
+ address: string | ethers.Addressable,
617
+ signer?: ethers.Signer
618
+ ): Promise<Contracts.TransferWithAllowance128TestsContract>;
619
+ getContractAt(
620
+ name: "TransferWithAllowance256TestsContract",
621
+ address: string | ethers.Addressable,
622
+ signer?: ethers.Signer
623
+ ): Promise<Contracts.TransferWithAllowance256TestsContract>;
360
624
  getContractAt(
361
625
  name: "TransferWithAllowance64_16TestsContract",
362
626
  address: string | ethers.Addressable,
@@ -387,6 +651,21 @@ declare module "hardhat/types/runtime" {
387
651
  address: string | ethers.Addressable,
388
652
  signer?: ethers.Signer
389
653
  ): Promise<Contracts.TransferWithAllowanceTestsContract>;
654
+ getContractAt(
655
+ name: "ValidateCiphertext128TestsContract",
656
+ address: string | ethers.Addressable,
657
+ signer?: ethers.Signer
658
+ ): Promise<Contracts.ValidateCiphertext128TestsContract>;
659
+ getContractAt(
660
+ name: "ValidateCiphertext256TestsContract",
661
+ address: string | ethers.Addressable,
662
+ signer?: ethers.Signer
663
+ ): Promise<Contracts.ValidateCiphertext256TestsContract>;
664
+ getContractAt(
665
+ name: "ValidateCiphertextTestsContract",
666
+ address: string | ethers.Addressable,
667
+ signer?: ethers.Signer
668
+ ): Promise<Contracts.ValidateCiphertextTestsContract>;
390
669
  getContractAt(
391
670
  name: "PrivateERC20WalletMock",
392
671
  address: string | ethers.Addressable,
@@ -438,10 +717,22 @@ declare module "hardhat/types/runtime" {
438
717
  signer?: ethers.Signer
439
718
  ): Promise<Contracts.ExtendedOperations>;
440
719
 
720
+ deployContract(
721
+ name: "Ownable",
722
+ signerOrOptions?: ethers.Signer | DeployContractOptions
723
+ ): Promise<Contracts.Ownable>;
441
724
  deployContract(
442
725
  name: "IERC4906",
443
726
  signerOrOptions?: ethers.Signer | DeployContractOptions
444
727
  ): Promise<Contracts.IERC4906>;
728
+ deployContract(
729
+ name: "IERC20Permit",
730
+ signerOrOptions?: ethers.Signer | DeployContractOptions
731
+ ): Promise<Contracts.IERC20Permit>;
732
+ deployContract(
733
+ name: "IERC20",
734
+ signerOrOptions?: ethers.Signer | DeployContractOptions
735
+ ): Promise<Contracts.IERC20>;
445
736
  deployContract(
446
737
  name: "IERC721",
447
738
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -466,6 +757,22 @@ declare module "hardhat/types/runtime" {
466
757
  name: "DataPrivacyFrameworkMpc",
467
758
  signerOrOptions?: ethers.Signer | DeployContractOptions
468
759
  ): Promise<Contracts.DataPrivacyFrameworkMpc>;
760
+ deployContract(
761
+ name: "FixedRatioCoinDisperser",
762
+ signerOrOptions?: ethers.Signer | DeployContractOptions
763
+ ): Promise<Contracts.FixedRatioCoinDisperser>;
764
+ deployContract(
765
+ name: "IMintableERC20",
766
+ signerOrOptions?: ethers.Signer | DeployContractOptions
767
+ ): Promise<Contracts.IMintableERC20>;
768
+ deployContract(
769
+ name: "MintDisperser",
770
+ signerOrOptions?: ethers.Signer | DeployContractOptions
771
+ ): Promise<Contracts.MintDisperser>;
772
+ deployContract(
773
+ name: "TokenDisperser",
774
+ signerOrOptions?: ethers.Signer | DeployContractOptions
775
+ ): Promise<Contracts.TokenDisperser>;
469
776
  deployContract(
470
777
  name: "DataPrivacyFrameworkMock",
471
778
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -479,73 +786,141 @@ declare module "hardhat/types/runtime" {
479
786
  signerOrOptions?: ethers.Signer | DeployContractOptions
480
787
  ): Promise<Contracts.PrivateERC721URIStorageMock>;
481
788
  deployContract(
482
- name: "Arithmetic128BitTestsContract",
789
+ name: "Arithmetic128TestsContract",
483
790
  signerOrOptions?: ethers.Signer | DeployContractOptions
484
- ): Promise<Contracts.Arithmetic128BitTestsContract>;
791
+ ): Promise<Contracts.Arithmetic128TestsContract>;
485
792
  deployContract(
486
- name: "Arithmetic256BitTestsContract",
793
+ name: "Arithmetic256TestsContract",
487
794
  signerOrOptions?: ethers.Signer | DeployContractOptions
488
- ): Promise<Contracts.Arithmetic256BitTestsContract>;
795
+ ): Promise<Contracts.Arithmetic256TestsContract>;
489
796
  deployContract(
490
797
  name: "ArithmeticTestsContract",
491
798
  signerOrOptions?: ethers.Signer | DeployContractOptions
492
799
  ): Promise<Contracts.ArithmeticTestsContract>;
493
800
  deployContract(
494
- name: "Bitwise128BitTestsContract",
801
+ name: "Bitwise128TestsContract",
495
802
  signerOrOptions?: ethers.Signer | DeployContractOptions
496
- ): Promise<Contracts.Bitwise128BitTestsContract>;
803
+ ): Promise<Contracts.Bitwise128TestsContract>;
497
804
  deployContract(
498
- name: "Bitwise256BitTestsContract",
805
+ name: "Bitwise256TestsContract",
499
806
  signerOrOptions?: ethers.Signer | DeployContractOptions
500
- ): Promise<Contracts.Bitwise256BitTestsContract>;
807
+ ): Promise<Contracts.Bitwise256TestsContract>;
501
808
  deployContract(
502
809
  name: "BitwiseTestsContract",
503
810
  signerOrOptions?: ethers.Signer | DeployContractOptions
504
811
  ): Promise<Contracts.BitwiseTestsContract>;
812
+ deployContract(
813
+ name: "CheckedArithmetic128WithOverflowBitTestsContract",
814
+ signerOrOptions?: ethers.Signer | DeployContractOptions
815
+ ): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
816
+ deployContract(
817
+ name: "CheckedArithmetic256WithOverflowBitTestsContract",
818
+ signerOrOptions?: ethers.Signer | DeployContractOptions
819
+ ): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
505
820
  deployContract(
506
821
  name: "CheckedArithmeticWithOverflowBitTestsContract",
507
822
  signerOrOptions?: ethers.Signer | DeployContractOptions
508
823
  ): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
509
824
  deployContract(
510
- name: "Comparison128BitTestsContract",
825
+ name: "Comparison128TestsContract",
511
826
  signerOrOptions?: ethers.Signer | DeployContractOptions
512
- ): Promise<Contracts.Comparison128BitTestsContract>;
827
+ ): Promise<Contracts.Comparison128TestsContract>;
513
828
  deployContract(
514
829
  name: "Comparison1TestsContract",
515
830
  signerOrOptions?: ethers.Signer | DeployContractOptions
516
831
  ): Promise<Contracts.Comparison1TestsContract>;
517
832
  deployContract(
518
- name: "Comparison256BitTestsContract",
833
+ name: "Comparison256TestsContract",
519
834
  signerOrOptions?: ethers.Signer | DeployContractOptions
520
- ): Promise<Contracts.Comparison256BitTestsContract>;
835
+ ): Promise<Contracts.Comparison256TestsContract>;
521
836
  deployContract(
522
837
  name: "Comparison2TestsContract",
523
838
  signerOrOptions?: ethers.Signer | DeployContractOptions
524
839
  ): Promise<Contracts.Comparison2TestsContract>;
525
840
  deployContract(
526
- name: "MinMaxTestsContract",
841
+ name: "MinimalImplementation",
527
842
  signerOrOptions?: ethers.Signer | DeployContractOptions
528
- ): Promise<Contracts.MinMaxTestsContract>;
843
+ ): Promise<Contracts.MinimalImplementation>;
529
844
  deployContract(
530
- name: "Miscellaneous128BitTestsContract",
845
+ name: "MinimalProxy",
531
846
  signerOrOptions?: ethers.Signer | DeployContractOptions
532
- ): Promise<Contracts.Miscellaneous128BitTestsContract>;
847
+ ): Promise<Contracts.MinimalProxy>;
533
848
  deployContract(
534
- name: "Miscellaneous1TestsContract",
849
+ name: "MinMax128TestsContract",
535
850
  signerOrOptions?: ethers.Signer | DeployContractOptions
536
- ): Promise<Contracts.Miscellaneous1TestsContract>;
851
+ ): Promise<Contracts.MinMax128TestsContract>;
537
852
  deployContract(
538
- name: "Miscellaneous256BitTestsContract",
853
+ name: "MinMax256TestsContract",
539
854
  signerOrOptions?: ethers.Signer | DeployContractOptions
540
- ): Promise<Contracts.Miscellaneous256BitTestsContract>;
855
+ ): Promise<Contracts.MinMax256TestsContract>;
856
+ deployContract(
857
+ name: "MinMaxTestsContract",
858
+ signerOrOptions?: ethers.Signer | DeployContractOptions
859
+ ): Promise<Contracts.MinMaxTestsContract>;
860
+ deployContract(
861
+ name: "Miscellaneous1TestsContract",
862
+ signerOrOptions?: ethers.Signer | DeployContractOptions
863
+ ): Promise<Contracts.Miscellaneous1TestsContract>;
541
864
  deployContract(
542
865
  name: "MiscellaneousTestsContract",
543
866
  signerOrOptions?: ethers.Signer | DeployContractOptions
544
867
  ): Promise<Contracts.MiscellaneousTestsContract>;
868
+ deployContract(
869
+ name: "MpcOperations128TestContract",
870
+ signerOrOptions?: ethers.Signer | DeployContractOptions
871
+ ): Promise<Contracts.MpcOperations128TestContract>;
872
+ deployContract(
873
+ name: "MpcOperationsTestContract",
874
+ signerOrOptions?: ethers.Signer | DeployContractOptions
875
+ ): Promise<Contracts.MpcOperationsTestContract>;
876
+ deployContract(
877
+ name: "Mux128TestsContract",
878
+ signerOrOptions?: ethers.Signer | DeployContractOptions
879
+ ): Promise<Contracts.Mux128TestsContract>;
880
+ deployContract(
881
+ name: "Mux256TestsContract",
882
+ signerOrOptions?: ethers.Signer | DeployContractOptions
883
+ ): Promise<Contracts.Mux256TestsContract>;
545
884
  deployContract(
546
885
  name: "OffboardToUserKeyTestContract",
547
886
  signerOrOptions?: ethers.Signer | DeployContractOptions
548
887
  ): Promise<Contracts.OffboardToUserKeyTestContract>;
888
+ deployContract(
889
+ name: "OnBoard128TestsContract",
890
+ signerOrOptions?: ethers.Signer | DeployContractOptions
891
+ ): Promise<Contracts.OnBoard128TestsContract>;
892
+ deployContract(
893
+ name: "OnBoard256TestsContract",
894
+ signerOrOptions?: ethers.Signer | DeployContractOptions
895
+ ): Promise<Contracts.OnBoard256TestsContract>;
896
+ deployContract(
897
+ name: "PrivacyImplementationV1",
898
+ signerOrOptions?: ethers.Signer | DeployContractOptions
899
+ ): Promise<Contracts.PrivacyImplementationV1>;
900
+ deployContract(
901
+ name: "PrivacyImplementationV2",
902
+ signerOrOptions?: ethers.Signer | DeployContractOptions
903
+ ): Promise<Contracts.PrivacyImplementationV2>;
904
+ deployContract(
905
+ name: "PrivacyProxy",
906
+ signerOrOptions?: ethers.Signer | DeployContractOptions
907
+ ): Promise<Contracts.PrivacyProxy>;
908
+ deployContract(
909
+ name: "Random128TestsContract",
910
+ signerOrOptions?: ethers.Signer | DeployContractOptions
911
+ ): Promise<Contracts.Random128TestsContract>;
912
+ deployContract(
913
+ name: "Random256TestsContract",
914
+ signerOrOptions?: ethers.Signer | DeployContractOptions
915
+ ): Promise<Contracts.Random256TestsContract>;
916
+ deployContract(
917
+ name: "Shift128TestsContract",
918
+ signerOrOptions?: ethers.Signer | DeployContractOptions
919
+ ): Promise<Contracts.Shift128TestsContract>;
920
+ deployContract(
921
+ name: "Shift256TestsContract",
922
+ signerOrOptions?: ethers.Signer | DeployContractOptions
923
+ ): Promise<Contracts.Shift256TestsContract>;
549
924
  deployContract(
550
925
  name: "ShiftTestsContract",
551
926
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -554,6 +929,14 @@ declare module "hardhat/types/runtime" {
554
929
  name: "StringTestsContract",
555
930
  signerOrOptions?: ethers.Signer | DeployContractOptions
556
931
  ): Promise<Contracts.StringTestsContract>;
932
+ deployContract(
933
+ name: "Transfer128TestsContract",
934
+ signerOrOptions?: ethers.Signer | DeployContractOptions
935
+ ): Promise<Contracts.Transfer128TestsContract>;
936
+ deployContract(
937
+ name: "Transfer256TestsContract",
938
+ signerOrOptions?: ethers.Signer | DeployContractOptions
939
+ ): Promise<Contracts.Transfer256TestsContract>;
557
940
  deployContract(
558
941
  name: "TransferScalarTestsContract",
559
942
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -562,6 +945,14 @@ declare module "hardhat/types/runtime" {
562
945
  name: "TransferTestsContract",
563
946
  signerOrOptions?: ethers.Signer | DeployContractOptions
564
947
  ): Promise<Contracts.TransferTestsContract>;
948
+ deployContract(
949
+ name: "TransferWithAllowance128TestsContract",
950
+ signerOrOptions?: ethers.Signer | DeployContractOptions
951
+ ): Promise<Contracts.TransferWithAllowance128TestsContract>;
952
+ deployContract(
953
+ name: "TransferWithAllowance256TestsContract",
954
+ signerOrOptions?: ethers.Signer | DeployContractOptions
955
+ ): Promise<Contracts.TransferWithAllowance256TestsContract>;
565
956
  deployContract(
566
957
  name: "TransferWithAllowance64_16TestsContract",
567
958
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -586,6 +977,18 @@ declare module "hardhat/types/runtime" {
586
977
  name: "TransferWithAllowanceTestsContract",
587
978
  signerOrOptions?: ethers.Signer | DeployContractOptions
588
979
  ): Promise<Contracts.TransferWithAllowanceTestsContract>;
980
+ deployContract(
981
+ name: "ValidateCiphertext128TestsContract",
982
+ signerOrOptions?: ethers.Signer | DeployContractOptions
983
+ ): Promise<Contracts.ValidateCiphertext128TestsContract>;
984
+ deployContract(
985
+ name: "ValidateCiphertext256TestsContract",
986
+ signerOrOptions?: ethers.Signer | DeployContractOptions
987
+ ): Promise<Contracts.ValidateCiphertext256TestsContract>;
988
+ deployContract(
989
+ name: "ValidateCiphertextTestsContract",
990
+ signerOrOptions?: ethers.Signer | DeployContractOptions
991
+ ): Promise<Contracts.ValidateCiphertextTestsContract>;
589
992
  deployContract(
590
993
  name: "PrivateERC20WalletMock",
591
994
  signerOrOptions?: ethers.Signer | DeployContractOptions
@@ -627,11 +1030,26 @@ declare module "hardhat/types/runtime" {
627
1030
  signerOrOptions?: ethers.Signer | DeployContractOptions
628
1031
  ): Promise<Contracts.ExtendedOperations>;
629
1032
 
1033
+ deployContract(
1034
+ name: "Ownable",
1035
+ args: any[],
1036
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1037
+ ): Promise<Contracts.Ownable>;
630
1038
  deployContract(
631
1039
  name: "IERC4906",
632
1040
  args: any[],
633
1041
  signerOrOptions?: ethers.Signer | DeployContractOptions
634
1042
  ): Promise<Contracts.IERC4906>;
1043
+ deployContract(
1044
+ name: "IERC20Permit",
1045
+ args: any[],
1046
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1047
+ ): Promise<Contracts.IERC20Permit>;
1048
+ deployContract(
1049
+ name: "IERC20",
1050
+ args: any[],
1051
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1052
+ ): Promise<Contracts.IERC20>;
635
1053
  deployContract(
636
1054
  name: "IERC721",
637
1055
  args: any[],
@@ -662,6 +1080,26 @@ declare module "hardhat/types/runtime" {
662
1080
  args: any[],
663
1081
  signerOrOptions?: ethers.Signer | DeployContractOptions
664
1082
  ): Promise<Contracts.DataPrivacyFrameworkMpc>;
1083
+ deployContract(
1084
+ name: "FixedRatioCoinDisperser",
1085
+ args: any[],
1086
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1087
+ ): Promise<Contracts.FixedRatioCoinDisperser>;
1088
+ deployContract(
1089
+ name: "IMintableERC20",
1090
+ args: any[],
1091
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1092
+ ): Promise<Contracts.IMintableERC20>;
1093
+ deployContract(
1094
+ name: "MintDisperser",
1095
+ args: any[],
1096
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1097
+ ): Promise<Contracts.MintDisperser>;
1098
+ deployContract(
1099
+ name: "TokenDisperser",
1100
+ args: any[],
1101
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1102
+ ): Promise<Contracts.TokenDisperser>;
665
1103
  deployContract(
666
1104
  name: "DataPrivacyFrameworkMock",
667
1105
  args: any[],
@@ -678,90 +1116,175 @@ declare module "hardhat/types/runtime" {
678
1116
  signerOrOptions?: ethers.Signer | DeployContractOptions
679
1117
  ): Promise<Contracts.PrivateERC721URIStorageMock>;
680
1118
  deployContract(
681
- name: "Arithmetic128BitTestsContract",
1119
+ name: "Arithmetic128TestsContract",
682
1120
  args: any[],
683
1121
  signerOrOptions?: ethers.Signer | DeployContractOptions
684
- ): Promise<Contracts.Arithmetic128BitTestsContract>;
1122
+ ): Promise<Contracts.Arithmetic128TestsContract>;
685
1123
  deployContract(
686
- name: "Arithmetic256BitTestsContract",
1124
+ name: "Arithmetic256TestsContract",
687
1125
  args: any[],
688
1126
  signerOrOptions?: ethers.Signer | DeployContractOptions
689
- ): Promise<Contracts.Arithmetic256BitTestsContract>;
1127
+ ): Promise<Contracts.Arithmetic256TestsContract>;
690
1128
  deployContract(
691
1129
  name: "ArithmeticTestsContract",
692
1130
  args: any[],
693
1131
  signerOrOptions?: ethers.Signer | DeployContractOptions
694
1132
  ): Promise<Contracts.ArithmeticTestsContract>;
695
1133
  deployContract(
696
- name: "Bitwise128BitTestsContract",
1134
+ name: "Bitwise128TestsContract",
697
1135
  args: any[],
698
1136
  signerOrOptions?: ethers.Signer | DeployContractOptions
699
- ): Promise<Contracts.Bitwise128BitTestsContract>;
1137
+ ): Promise<Contracts.Bitwise128TestsContract>;
700
1138
  deployContract(
701
- name: "Bitwise256BitTestsContract",
1139
+ name: "Bitwise256TestsContract",
702
1140
  args: any[],
703
1141
  signerOrOptions?: ethers.Signer | DeployContractOptions
704
- ): Promise<Contracts.Bitwise256BitTestsContract>;
1142
+ ): Promise<Contracts.Bitwise256TestsContract>;
705
1143
  deployContract(
706
1144
  name: "BitwiseTestsContract",
707
1145
  args: any[],
708
1146
  signerOrOptions?: ethers.Signer | DeployContractOptions
709
1147
  ): Promise<Contracts.BitwiseTestsContract>;
1148
+ deployContract(
1149
+ name: "CheckedArithmetic128WithOverflowBitTestsContract",
1150
+ args: any[],
1151
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1152
+ ): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
1153
+ deployContract(
1154
+ name: "CheckedArithmetic256WithOverflowBitTestsContract",
1155
+ args: any[],
1156
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1157
+ ): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
710
1158
  deployContract(
711
1159
  name: "CheckedArithmeticWithOverflowBitTestsContract",
712
1160
  args: any[],
713
1161
  signerOrOptions?: ethers.Signer | DeployContractOptions
714
1162
  ): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
715
1163
  deployContract(
716
- name: "Comparison128BitTestsContract",
1164
+ name: "Comparison128TestsContract",
717
1165
  args: any[],
718
1166
  signerOrOptions?: ethers.Signer | DeployContractOptions
719
- ): Promise<Contracts.Comparison128BitTestsContract>;
1167
+ ): Promise<Contracts.Comparison128TestsContract>;
720
1168
  deployContract(
721
1169
  name: "Comparison1TestsContract",
722
1170
  args: any[],
723
1171
  signerOrOptions?: ethers.Signer | DeployContractOptions
724
1172
  ): Promise<Contracts.Comparison1TestsContract>;
725
1173
  deployContract(
726
- name: "Comparison256BitTestsContract",
1174
+ name: "Comparison256TestsContract",
727
1175
  args: any[],
728
1176
  signerOrOptions?: ethers.Signer | DeployContractOptions
729
- ): Promise<Contracts.Comparison256BitTestsContract>;
1177
+ ): Promise<Contracts.Comparison256TestsContract>;
730
1178
  deployContract(
731
1179
  name: "Comparison2TestsContract",
732
1180
  args: any[],
733
1181
  signerOrOptions?: ethers.Signer | DeployContractOptions
734
1182
  ): Promise<Contracts.Comparison2TestsContract>;
735
1183
  deployContract(
736
- name: "MinMaxTestsContract",
1184
+ name: "MinimalImplementation",
737
1185
  args: any[],
738
1186
  signerOrOptions?: ethers.Signer | DeployContractOptions
739
- ): Promise<Contracts.MinMaxTestsContract>;
1187
+ ): Promise<Contracts.MinimalImplementation>;
740
1188
  deployContract(
741
- name: "Miscellaneous128BitTestsContract",
1189
+ name: "MinimalProxy",
742
1190
  args: any[],
743
1191
  signerOrOptions?: ethers.Signer | DeployContractOptions
744
- ): Promise<Contracts.Miscellaneous128BitTestsContract>;
1192
+ ): Promise<Contracts.MinimalProxy>;
745
1193
  deployContract(
746
- name: "Miscellaneous1TestsContract",
1194
+ name: "MinMax128TestsContract",
747
1195
  args: any[],
748
1196
  signerOrOptions?: ethers.Signer | DeployContractOptions
749
- ): Promise<Contracts.Miscellaneous1TestsContract>;
1197
+ ): Promise<Contracts.MinMax128TestsContract>;
750
1198
  deployContract(
751
- name: "Miscellaneous256BitTestsContract",
1199
+ name: "MinMax256TestsContract",
752
1200
  args: any[],
753
1201
  signerOrOptions?: ethers.Signer | DeployContractOptions
754
- ): Promise<Contracts.Miscellaneous256BitTestsContract>;
1202
+ ): Promise<Contracts.MinMax256TestsContract>;
1203
+ deployContract(
1204
+ name: "MinMaxTestsContract",
1205
+ args: any[],
1206
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1207
+ ): Promise<Contracts.MinMaxTestsContract>;
1208
+ deployContract(
1209
+ name: "Miscellaneous1TestsContract",
1210
+ args: any[],
1211
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1212
+ ): Promise<Contracts.Miscellaneous1TestsContract>;
755
1213
  deployContract(
756
1214
  name: "MiscellaneousTestsContract",
757
1215
  args: any[],
758
1216
  signerOrOptions?: ethers.Signer | DeployContractOptions
759
1217
  ): Promise<Contracts.MiscellaneousTestsContract>;
1218
+ deployContract(
1219
+ name: "MpcOperations128TestContract",
1220
+ args: any[],
1221
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1222
+ ): Promise<Contracts.MpcOperations128TestContract>;
1223
+ deployContract(
1224
+ name: "MpcOperationsTestContract",
1225
+ args: any[],
1226
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1227
+ ): Promise<Contracts.MpcOperationsTestContract>;
1228
+ deployContract(
1229
+ name: "Mux128TestsContract",
1230
+ args: any[],
1231
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1232
+ ): Promise<Contracts.Mux128TestsContract>;
1233
+ deployContract(
1234
+ name: "Mux256TestsContract",
1235
+ args: any[],
1236
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1237
+ ): Promise<Contracts.Mux256TestsContract>;
760
1238
  deployContract(
761
1239
  name: "OffboardToUserKeyTestContract",
762
1240
  args: any[],
763
1241
  signerOrOptions?: ethers.Signer | DeployContractOptions
764
1242
  ): Promise<Contracts.OffboardToUserKeyTestContract>;
1243
+ deployContract(
1244
+ name: "OnBoard128TestsContract",
1245
+ args: any[],
1246
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1247
+ ): Promise<Contracts.OnBoard128TestsContract>;
1248
+ deployContract(
1249
+ name: "OnBoard256TestsContract",
1250
+ args: any[],
1251
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1252
+ ): Promise<Contracts.OnBoard256TestsContract>;
1253
+ deployContract(
1254
+ name: "PrivacyImplementationV1",
1255
+ args: any[],
1256
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1257
+ ): Promise<Contracts.PrivacyImplementationV1>;
1258
+ deployContract(
1259
+ name: "PrivacyImplementationV2",
1260
+ args: any[],
1261
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1262
+ ): Promise<Contracts.PrivacyImplementationV2>;
1263
+ deployContract(
1264
+ name: "PrivacyProxy",
1265
+ args: any[],
1266
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1267
+ ): Promise<Contracts.PrivacyProxy>;
1268
+ deployContract(
1269
+ name: "Random128TestsContract",
1270
+ args: any[],
1271
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1272
+ ): Promise<Contracts.Random128TestsContract>;
1273
+ deployContract(
1274
+ name: "Random256TestsContract",
1275
+ args: any[],
1276
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1277
+ ): Promise<Contracts.Random256TestsContract>;
1278
+ deployContract(
1279
+ name: "Shift128TestsContract",
1280
+ args: any[],
1281
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1282
+ ): Promise<Contracts.Shift128TestsContract>;
1283
+ deployContract(
1284
+ name: "Shift256TestsContract",
1285
+ args: any[],
1286
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1287
+ ): Promise<Contracts.Shift256TestsContract>;
765
1288
  deployContract(
766
1289
  name: "ShiftTestsContract",
767
1290
  args: any[],
@@ -772,6 +1295,16 @@ declare module "hardhat/types/runtime" {
772
1295
  args: any[],
773
1296
  signerOrOptions?: ethers.Signer | DeployContractOptions
774
1297
  ): Promise<Contracts.StringTestsContract>;
1298
+ deployContract(
1299
+ name: "Transfer128TestsContract",
1300
+ args: any[],
1301
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1302
+ ): Promise<Contracts.Transfer128TestsContract>;
1303
+ deployContract(
1304
+ name: "Transfer256TestsContract",
1305
+ args: any[],
1306
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1307
+ ): Promise<Contracts.Transfer256TestsContract>;
775
1308
  deployContract(
776
1309
  name: "TransferScalarTestsContract",
777
1310
  args: any[],
@@ -782,6 +1315,16 @@ declare module "hardhat/types/runtime" {
782
1315
  args: any[],
783
1316
  signerOrOptions?: ethers.Signer | DeployContractOptions
784
1317
  ): Promise<Contracts.TransferTestsContract>;
1318
+ deployContract(
1319
+ name: "TransferWithAllowance128TestsContract",
1320
+ args: any[],
1321
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1322
+ ): Promise<Contracts.TransferWithAllowance128TestsContract>;
1323
+ deployContract(
1324
+ name: "TransferWithAllowance256TestsContract",
1325
+ args: any[],
1326
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1327
+ ): Promise<Contracts.TransferWithAllowance256TestsContract>;
785
1328
  deployContract(
786
1329
  name: "TransferWithAllowance64_16TestsContract",
787
1330
  args: any[],
@@ -812,6 +1355,21 @@ declare module "hardhat/types/runtime" {
812
1355
  args: any[],
813
1356
  signerOrOptions?: ethers.Signer | DeployContractOptions
814
1357
  ): Promise<Contracts.TransferWithAllowanceTestsContract>;
1358
+ deployContract(
1359
+ name: "ValidateCiphertext128TestsContract",
1360
+ args: any[],
1361
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1362
+ ): Promise<Contracts.ValidateCiphertext128TestsContract>;
1363
+ deployContract(
1364
+ name: "ValidateCiphertext256TestsContract",
1365
+ args: any[],
1366
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1367
+ ): Promise<Contracts.ValidateCiphertext256TestsContract>;
1368
+ deployContract(
1369
+ name: "ValidateCiphertextTestsContract",
1370
+ args: any[],
1371
+ signerOrOptions?: ethers.Signer | DeployContractOptions
1372
+ ): Promise<Contracts.ValidateCiphertextTestsContract>;
815
1373
  deployContract(
816
1374
  name: "PrivateERC20WalletMock",
817
1375
  args: any[],