@enclave-e3/contracts 0.1.11 → 0.1.13

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 (257) hide show
  1. package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +3 -3
  2. package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/artifacts.d.ts +3 -3
  3. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +3 -3
  5. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/artifacts.d.ts +4 -4
  6. package/artifacts/build-info/{solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.json → solc-0_8_28-e60a5d7c133605edcf61acdd5ba43ab44ee0928e.json} +27 -12
  7. package/artifacts/build-info/solc-0_8_28-e60a5d7c133605edcf61acdd5ba43ab44ee0928e.output.json +1 -0
  8. package/artifacts/contracts/E3RefundManager.sol/E3RefundManager.json +684 -0
  9. package/artifacts/contracts/E3RefundManager.sol/artifacts.d.ts +27 -0
  10. package/artifacts/contracts/Enclave.sol/Enclave.json +530 -182
  11. package/artifacts/contracts/Enclave.sol/artifacts.d.ts +4 -4
  12. package/artifacts/contracts/interfaces/IBondingRegistry.sol/IBondingRegistry.json +14 -1
  13. package/artifacts/contracts/interfaces/IBondingRegistry.sol/artifacts.d.ts +2 -2
  14. package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/ICiphernodeRegistry.json +55 -5
  15. package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/artifacts.d.ts +2 -2
  16. package/artifacts/contracts/interfaces/IComputeProvider.sol/IComputeProvider.json +1 -1
  17. package/artifacts/contracts/interfaces/IComputeProvider.sol/artifacts.d.ts +1 -1
  18. package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/IDecryptionVerifier.json +1 -1
  19. package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/artifacts.d.ts +1 -1
  20. package/artifacts/contracts/interfaces/IE3Program.sol/IE3Program.json +19 -24
  21. package/artifacts/contracts/interfaces/IE3Program.sol/artifacts.d.ts +2 -2
  22. package/artifacts/contracts/interfaces/IE3RefundManager.sol/IE3RefundManager.json +470 -0
  23. package/artifacts/contracts/interfaces/IE3RefundManager.sol/artifacts.d.ts +27 -0
  24. package/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json +383 -128
  25. package/artifacts/contracts/interfaces/IEnclave.sol/artifacts.d.ts +2 -2
  26. package/artifacts/contracts/interfaces/ISlashVerifier.sol/ISlashVerifier.json +1 -1
  27. package/artifacts/contracts/interfaces/ISlashVerifier.sol/artifacts.d.ts +1 -1
  28. package/artifacts/contracts/interfaces/ISlashingManager.sol/ISlashingManager.json +1 -1
  29. package/artifacts/contracts/interfaces/ISlashingManager.sol/artifacts.d.ts +1 -1
  30. package/artifacts/contracts/lib/ExitQueueLib.sol/ExitQueueLib.json +1 -1
  31. package/artifacts/contracts/lib/ExitQueueLib.sol/artifacts.d.ts +1 -1
  32. package/artifacts/contracts/registry/BondingRegistry.sol/BondingRegistry.json +16 -3
  33. package/artifacts/contracts/registry/BondingRegistry.sol/artifacts.d.ts +4 -4
  34. package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json +91 -25
  35. package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/artifacts.d.ts +6 -6
  36. package/artifacts/contracts/slashing/SlashingManager.sol/SlashingManager.json +3 -3
  37. package/artifacts/contracts/slashing/SlashingManager.sol/artifacts.d.ts +3 -3
  38. package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.json +57 -7
  39. package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json +57 -7
  40. package/artifacts/contracts/test/MockCiphernodeRegistry.sol/artifacts.d.ts +8 -8
  41. package/artifacts/contracts/test/MockComputeProvider.sol/MockComputeProvider.json +3 -3
  42. package/artifacts/contracts/test/MockComputeProvider.sol/artifacts.d.ts +3 -3
  43. package/artifacts/contracts/test/MockDecryptionVerifier.sol/MockDecryptionVerifier.json +1 -1
  44. package/artifacts/contracts/test/MockDecryptionVerifier.sol/artifacts.d.ts +1 -1
  45. package/artifacts/contracts/test/MockE3Program.sol/MockE3Program.json +21 -26
  46. package/artifacts/contracts/test/MockE3Program.sol/artifacts.d.ts +4 -4
  47. package/artifacts/contracts/test/MockSlashingVerifier.sol/MockSlashingVerifier.json +1 -1
  48. package/artifacts/contracts/test/MockSlashingVerifier.sol/artifacts.d.ts +1 -1
  49. package/artifacts/contracts/test/MockStableToken.sol/MockUSDC.json +3 -3
  50. package/artifacts/contracts/test/MockStableToken.sol/artifacts.d.ts +3 -3
  51. package/artifacts/contracts/token/EnclaveTicketToken.sol/EnclaveTicketToken.json +14 -22
  52. package/artifacts/contracts/token/EnclaveTicketToken.sol/artifacts.d.ts +4 -4
  53. package/artifacts/contracts/token/EnclaveToken.sol/EnclaveToken.json +10 -10
  54. package/artifacts/contracts/token/EnclaveToken.sol/artifacts.d.ts +4 -4
  55. package/artifacts/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.json +89 -0
  56. package/artifacts/contracts/verifier/DkgPkVerifier.sol/CommitmentSchemeLib.json +13 -0
  57. package/artifacts/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.json +186 -0
  58. package/artifacts/contracts/verifier/DkgPkVerifier.sol/FrLib.json +13 -0
  59. package/artifacts/contracts/verifier/DkgPkVerifier.sol/Honk.json +13 -0
  60. package/artifacts/contracts/verifier/DkgPkVerifier.sol/HonkVerificationKey.json +13 -0
  61. package/artifacts/contracts/verifier/DkgPkVerifier.sol/IVerifier.json +38 -0
  62. package/artifacts/contracts/verifier/DkgPkVerifier.sol/RelationsLib.json +13 -0
  63. package/artifacts/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.json +400 -0
  64. package/artifacts/contracts/verifier/DkgPkVerifier.sol/artifacts.d.ts +155 -0
  65. package/artifacts/poseidon-solidity/PoseidonT3.sol/PoseidonT3.json +1 -1
  66. package/artifacts/poseidon-solidity/PoseidonT3.sol/artifacts.d.ts +1 -1
  67. package/contracts/E3RefundManager.sol +365 -0
  68. package/contracts/Enclave.sol +426 -119
  69. package/contracts/interfaces/IBondingRegistry.sol +6 -0
  70. package/contracts/interfaces/ICiphernodeRegistry.sol +29 -7
  71. package/contracts/interfaces/IE3.sol +2 -6
  72. package/contracts/interfaces/IE3Program.sol +3 -7
  73. package/contracts/interfaces/IE3RefundManager.sol +150 -0
  74. package/contracts/interfaces/IEnclave.sol +186 -64
  75. package/contracts/registry/BondingRegistry.sol +9 -0
  76. package/contracts/registry/CiphernodeRegistryOwnable.sol +89 -42
  77. package/contracts/test/MockCiphernodeRegistry.sol +20 -6
  78. package/contracts/test/MockE3Program.sol +3 -8
  79. package/contracts/verifier/DkgPkVerifier.sol +3140 -0
  80. package/dist/hardhat.config.d.ts.map +1 -1
  81. package/dist/hardhat.config.js +4 -4
  82. package/dist/ignition/modules/dkgPkVerifier.d.ts +3 -0
  83. package/dist/ignition/modules/dkgPkVerifier.d.ts.map +1 -0
  84. package/dist/ignition/modules/dkgPkVerifier.js +10 -0
  85. package/dist/ignition/modules/e3RefundManager.d.ts +3 -0
  86. package/dist/ignition/modules/e3RefundManager.d.ts.map +1 -0
  87. package/dist/ignition/modules/e3RefundManager.js +23 -0
  88. package/dist/ignition/modules/enclave.d.ts.map +1 -1
  89. package/dist/ignition/modules/enclave.js +10 -0
  90. package/dist/scripts/deployAndSave/e3RefundManager.d.ts +20 -0
  91. package/dist/scripts/deployAndSave/e3RefundManager.d.ts.map +1 -0
  92. package/dist/scripts/deployAndSave/e3RefundManager.js +55 -0
  93. package/dist/scripts/deployAndSave/enclave.d.ts +13 -1
  94. package/dist/scripts/deployAndSave/enclave.d.ts.map +1 -1
  95. package/dist/scripts/deployAndSave/enclave.js +8 -1
  96. package/dist/scripts/deployAndSave/verifiers.d.ts +29 -0
  97. package/dist/scripts/deployAndSave/verifiers.d.ts.map +1 -0
  98. package/dist/scripts/deployAndSave/verifiers.js +109 -0
  99. package/dist/scripts/deployEnclave.d.ts.map +1 -1
  100. package/dist/scripts/deployEnclave.js +36 -0
  101. package/dist/scripts/deployVerifiers.d.ts +2 -0
  102. package/dist/scripts/deployVerifiers.d.ts.map +1 -0
  103. package/dist/scripts/deployVerifiers.js +33 -0
  104. package/dist/scripts/index.d.ts +1 -0
  105. package/dist/scripts/index.d.ts.map +1 -1
  106. package/dist/scripts/index.js +1 -0
  107. package/dist/tasks/enclave.d.ts +0 -2
  108. package/dist/tasks/enclave.d.ts.map +1 -1
  109. package/dist/tasks/enclave.js +8 -72
  110. package/dist/tasks/program.d.ts +2 -0
  111. package/dist/tasks/program.d.ts.map +1 -0
  112. package/dist/tasks/program.js +55 -0
  113. package/dist/test/E3Lifecycle/E3Integration.spec.d.ts +2 -0
  114. package/dist/test/E3Lifecycle/E3Integration.spec.d.ts.map +1 -0
  115. package/dist/test/E3Lifecycle/E3Integration.spec.js +757 -0
  116. package/dist/test/Enclave.spec.js +83 -406
  117. package/dist/test/Registry/CiphernodeRegistryOwnable.spec.js +133 -59
  118. package/dist/types/contracts/E3RefundManager.d.ts +379 -0
  119. package/dist/types/contracts/E3RefundManager.d.ts.map +1 -0
  120. package/dist/types/contracts/E3RefundManager.js +24 -0
  121. package/dist/types/contracts/Enclave.d.ts +325 -73
  122. package/dist/types/contracts/Enclave.d.ts.map +1 -1
  123. package/dist/types/contracts/Enclave.js +27 -3
  124. package/dist/types/contracts/index.d.ts +3 -0
  125. package/dist/types/contracts/index.d.ts.map +1 -1
  126. package/dist/types/contracts/interfaces/IBondingRegistry.d.ts +11 -1
  127. package/dist/types/contracts/interfaces/IBondingRegistry.d.ts.map +1 -1
  128. package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts +35 -7
  129. package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts.map +1 -1
  130. package/dist/types/contracts/interfaces/ICiphernodeRegistry.js +4 -0
  131. package/dist/types/contracts/interfaces/IE3Program.d.ts +16 -18
  132. package/dist/types/contracts/interfaces/IE3Program.d.ts.map +1 -1
  133. package/dist/types/contracts/interfaces/IE3RefundManager.d.ts +238 -0
  134. package/dist/types/contracts/interfaces/IE3RefundManager.d.ts.map +1 -0
  135. package/dist/types/contracts/interfaces/IE3RefundManager.js +16 -0
  136. package/dist/types/contracts/interfaces/IEnclave.d.ts +290 -62
  137. package/dist/types/contracts/interfaces/IEnclave.d.ts.map +1 -1
  138. package/dist/types/contracts/interfaces/IEnclave.js +27 -3
  139. package/dist/types/contracts/interfaces/index.d.ts +1 -0
  140. package/dist/types/contracts/interfaces/index.d.ts.map +1 -1
  141. package/dist/types/contracts/registry/BondingRegistry.d.ts +11 -1
  142. package/dist/types/contracts/registry/BondingRegistry.d.ts.map +1 -1
  143. package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts +35 -7
  144. package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts.map +1 -1
  145. package/dist/types/contracts/registry/CiphernodeRegistryOwnable.js +4 -0
  146. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts +35 -7
  147. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts.map +1 -1
  148. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.js +4 -0
  149. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts +35 -7
  150. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts.map +1 -1
  151. package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.js +4 -0
  152. package/dist/types/contracts/test/MockE3Program.d.ts +16 -18
  153. package/dist/types/contracts/test/MockE3Program.d.ts.map +1 -1
  154. package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.d.ts +36 -0
  155. package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.d.ts.map +1 -0
  156. package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.js +1 -0
  157. package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.d.ts +36 -0
  158. package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.d.ts.map +1 -0
  159. package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.js +1 -0
  160. package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.d.ts +36 -0
  161. package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.d.ts.map +1 -0
  162. package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.js +1 -0
  163. package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.d.ts +138 -0
  164. package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.d.ts.map +1 -0
  165. package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.js +1 -0
  166. package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.d.ts +5 -0
  167. package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.d.ts.map +1 -0
  168. package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.js +1 -0
  169. package/dist/types/contracts/verifier/index.d.ts +3 -0
  170. package/dist/types/contracts/verifier/index.d.ts.map +1 -0
  171. package/dist/types/contracts/verifier/index.js +1 -0
  172. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
  173. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts.map +1 -1
  174. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
  175. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +1 -1
  176. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts.map +1 -1
  177. package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +1 -1
  178. package/dist/types/factories/contracts/E3RefundManager__factory.d.ts +540 -0
  179. package/dist/types/factories/contracts/E3RefundManager__factory.d.ts.map +1 -0
  180. package/dist/types/factories/contracts/E3RefundManager__factory.js +706 -0
  181. package/dist/types/factories/contracts/Enclave__factory.d.ts +412 -143
  182. package/dist/types/factories/contracts/Enclave__factory.d.ts.map +1 -1
  183. package/dist/types/factories/contracts/Enclave__factory.js +528 -180
  184. package/dist/types/factories/contracts/index.d.ts +2 -0
  185. package/dist/types/factories/contracts/index.d.ts.map +1 -1
  186. package/dist/types/factories/contracts/index.js +2 -0
  187. package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts +10 -0
  188. package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts.map +1 -1
  189. package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.js +13 -0
  190. package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts +42 -4
  191. package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts.map +1 -1
  192. package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.js +54 -4
  193. package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts +14 -18
  194. package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts.map +1 -1
  195. package/dist/types/factories/contracts/interfaces/IE3Program__factory.js +18 -23
  196. package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.d.ts +358 -0
  197. package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.d.ts.map +1 -0
  198. package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.js +471 -0
  199. package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts +303 -103
  200. package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts.map +1 -1
  201. package/dist/types/factories/contracts/interfaces/IEnclave__factory.js +382 -127
  202. package/dist/types/factories/contracts/interfaces/index.d.ts +1 -0
  203. package/dist/types/factories/contracts/interfaces/index.d.ts.map +1 -1
  204. package/dist/types/factories/contracts/interfaces/index.js +1 -0
  205. package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts +11 -1
  206. package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts.map +1 -1
  207. package/dist/types/factories/contracts/registry/BondingRegistry__factory.js +14 -1
  208. package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts +62 -12
  209. package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts.map +1 -1
  210. package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.js +79 -13
  211. package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts +1 -1
  212. package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts.map +1 -1
  213. package/dist/types/factories/contracts/slashing/SlashingManager__factory.js +1 -1
  214. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts +43 -5
  215. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts.map +1 -1
  216. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.js +55 -5
  217. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts +43 -5
  218. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts.map +1 -1
  219. package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.js +55 -5
  220. package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts +1 -1
  221. package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts.map +1 -1
  222. package/dist/types/factories/contracts/test/MockComputeProvider__factory.js +1 -1
  223. package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts +15 -19
  224. package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts.map +1 -1
  225. package/dist/types/factories/contracts/test/MockE3Program__factory.js +19 -24
  226. package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts +1 -1
  227. package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts.map +1 -1
  228. package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.js +1 -1
  229. package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts +1 -1
  230. package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts.map +1 -1
  231. package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.js +1 -1
  232. package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts +1 -1
  233. package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts.map +1 -1
  234. package/dist/types/factories/contracts/token/EnclaveToken__factory.js +1 -1
  235. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.d.ts +66 -0
  236. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.d.ts.map +1 -0
  237. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.js +90 -0
  238. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.d.ts +87 -0
  239. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.d.ts.map +1 -0
  240. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.js +122 -0
  241. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.d.ts +26 -0
  242. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.d.ts.map +1 -0
  243. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.js +39 -0
  244. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.d.ts +323 -0
  245. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.d.ts.map +1 -0
  246. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.js +422 -0
  247. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.d.ts +5 -0
  248. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.d.ts.map +1 -0
  249. package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.js +7 -0
  250. package/dist/types/factories/contracts/verifier/index.d.ts +2 -0
  251. package/dist/types/factories/contracts/verifier/index.d.ts.map +1 -0
  252. package/dist/types/factories/contracts/verifier/index.js +4 -0
  253. package/dist/types/index.d.ts +12 -0
  254. package/dist/types/index.d.ts.map +1 -1
  255. package/dist/types/index.js +6 -0
  256. package/package.json +17 -3
  257. package/artifacts/build-info/solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.output.json +0 -1
@@ -4,9 +4,7 @@ export type E3Struct = {
4
4
  seed: BigNumberish;
5
5
  threshold: [BigNumberish, BigNumberish];
6
6
  requestBlock: BigNumberish;
7
- startWindow: [BigNumberish, BigNumberish];
8
- duration: BigNumberish;
9
- expiration: BigNumberish;
7
+ inputWindow: [BigNumberish, BigNumberish];
10
8
  encryptionSchemeId: BytesLike;
11
9
  e3Program: AddressLike;
12
10
  e3ProgramParams: BytesLike;
@@ -17,13 +15,11 @@ export type E3Struct = {
17
15
  plaintextOutput: BytesLike;
18
16
  requester: AddressLike;
19
17
  };
20
- export type E3StructOutput = [seed: bigint, threshold: [bigint, bigint], requestBlock: bigint, startWindow: [bigint, bigint], duration: bigint, expiration: bigint, encryptionSchemeId: string, e3Program: string, e3ProgramParams: string, customParams: string, decryptionVerifier: string, committeePublicKey: string, ciphertextOutput: string, plaintextOutput: string, requester: string] & {
18
+ export type E3StructOutput = [seed: bigint, threshold: [bigint, bigint], requestBlock: bigint, inputWindow: [bigint, bigint], encryptionSchemeId: string, e3Program: string, e3ProgramParams: string, customParams: string, decryptionVerifier: string, committeePublicKey: string, ciphertextOutput: string, plaintextOutput: string, requester: string] & {
21
19
  seed: bigint;
22
20
  threshold: [bigint, bigint];
23
21
  requestBlock: bigint;
24
- startWindow: [bigint, bigint];
25
- duration: bigint;
26
- expiration: bigint;
22
+ inputWindow: [bigint, bigint];
27
23
  encryptionSchemeId: string;
28
24
  e3Program: string;
29
25
  e3ProgramParams: string;
@@ -35,19 +31,39 @@ export type E3StructOutput = [seed: bigint, threshold: [bigint, bigint], request
35
31
  requester: string;
36
32
  };
37
33
  export declare namespace IEnclave {
34
+ type E3TimeoutConfigStruct = {
35
+ dkgWindow: BigNumberish;
36
+ computeWindow: BigNumberish;
37
+ decryptionWindow: BigNumberish;
38
+ gracePeriod: BigNumberish;
39
+ };
40
+ type E3TimeoutConfigStructOutput = [dkgWindow: bigint, computeWindow: bigint, decryptionWindow: bigint, gracePeriod: bigint] & {
41
+ dkgWindow: bigint;
42
+ computeWindow: bigint;
43
+ decryptionWindow: bigint;
44
+ gracePeriod: bigint;
45
+ };
46
+ type E3DeadlinesStruct = {
47
+ dkgDeadline: BigNumberish;
48
+ computeDeadline: BigNumberish;
49
+ decryptionDeadline: BigNumberish;
50
+ };
51
+ type E3DeadlinesStructOutput = [dkgDeadline: bigint, computeDeadline: bigint, decryptionDeadline: bigint] & {
52
+ dkgDeadline: bigint;
53
+ computeDeadline: bigint;
54
+ decryptionDeadline: bigint;
55
+ };
38
56
  type E3RequestParamsStruct = {
39
57
  threshold: [BigNumberish, BigNumberish];
40
- startWindow: [BigNumberish, BigNumberish];
41
- duration: BigNumberish;
58
+ inputWindow: [BigNumberish, BigNumberish];
42
59
  e3Program: AddressLike;
43
60
  e3ProgramParams: BytesLike;
44
61
  computeProviderParams: BytesLike;
45
62
  customParams: BytesLike;
46
63
  };
47
- type E3RequestParamsStructOutput = [threshold: [bigint, bigint], startWindow: [bigint, bigint], duration: bigint, e3Program: string, e3ProgramParams: string, computeProviderParams: string, customParams: string] & {
64
+ type E3RequestParamsStructOutput = [threshold: [bigint, bigint], inputWindow: [bigint, bigint], e3Program: string, e3ProgramParams: string, computeProviderParams: string, customParams: string] & {
48
65
  threshold: [bigint, bigint];
49
- startWindow: [bigint, bigint];
50
- duration: bigint;
66
+ inputWindow: [bigint, bigint];
51
67
  e3Program: string;
52
68
  e3ProgramParams: string;
53
69
  computeProviderParams: string;
@@ -55,10 +71,10 @@ export declare namespace IEnclave {
55
71
  };
56
72
  }
57
73
  export interface EnclaveInterface extends Interface {
58
- getFunction(nameOrSignature: "activate" | "bondingRegistry" | "ciphernodeRegistry" | "decryptionVerifiers" | "disableE3Program" | "disableEncryptionScheme" | "e3Payments" | "e3Programs" | "e3ProgramsParams" | "e3s" | "enableE3Program" | "feeToken" | "getDecryptionVerifier" | "getE3" | "getE3Quote" | "initialize" | "maxDuration" | "nexte3Id" | "owner" | "publishCiphertextOutput" | "publishInput" | "publishPlaintextOutput" | "renounceOwnership" | "request" | "setBondingRegistry" | "setCiphernodeRegistry" | "setDecryptionVerifier" | "setE3ProgramsParams" | "setFeeToken" | "setMaxDuration" | "transferOwnership"): FunctionFragment;
59
- getEvent(nameOrSignatureOrTopic: "AllowedE3ProgramsParamsSet" | "BondingRegistrySet" | "CiphernodeRegistrySet" | "CiphertextOutputPublished" | "E3Activated" | "E3ProgramDisabled" | "E3ProgramEnabled" | "E3Requested" | "EncryptionSchemeDisabled" | "EncryptionSchemeEnabled" | "FeeTokenSet" | "Initialized" | "InputPublished" | "MaxDurationSet" | "OwnershipTransferred" | "PlaintextOutputPublished" | "RewardsDistributed"): EventFragment;
60
- encodeFunctionData(functionFragment: 'activate', values: [BigNumberish]): string;
74
+ getFunction(nameOrSignature: "bondingRegistry" | "checkFailureCondition" | "ciphernodeRegistry" | "decryptionVerifiers" | "disableE3Program" | "disableEncryptionScheme" | "e3Payments" | "e3Programs" | "e3ProgramsParams" | "e3RefundManager" | "e3s" | "enableE3Program" | "feeToken" | "getDeadlines" | "getDecryptionVerifier" | "getE3" | "getE3Quote" | "getE3Stage" | "getFailureReason" | "getRequester" | "getTimeoutConfig" | "initialize" | "markE3Failed" | "maxDuration" | "nexte3Id" | "onCommitteeFinalized" | "onCommitteePublished" | "onE3Failed" | "owner" | "processE3Failure" | "publishCiphertextOutput" | "publishPlaintextOutput" | "renounceOwnership" | "request" | "setBondingRegistry" | "setCiphernodeRegistry" | "setDecryptionVerifier" | "setE3ProgramsParams" | "setE3RefundManager" | "setFeeToken" | "setMaxDuration" | "setTimeoutConfig" | "transferOwnership"): FunctionFragment;
75
+ getEvent(nameOrSignatureOrTopic: "AllowedE3ProgramsParamsSet" | "BondingRegistrySet" | "CiphernodeRegistrySet" | "CiphertextOutputPublished" | "CommitteeFinalized" | "CommitteeFormed" | "E3Failed" | "E3FailureProcessed" | "E3ProgramDisabled" | "E3ProgramEnabled" | "E3RefundManagerSet" | "E3Requested" | "E3StageChanged" | "EncryptionSchemeDisabled" | "EncryptionSchemeEnabled" | "FeeTokenSet" | "Initialized" | "InputPublished" | "MaxDurationSet" | "OwnershipTransferred" | "PlaintextOutputPublished" | "RewardsDistributed" | "TimeoutConfigUpdated"): EventFragment;
61
76
  encodeFunctionData(functionFragment: 'bondingRegistry', values?: undefined): string;
77
+ encodeFunctionData(functionFragment: 'checkFailureCondition', values: [BigNumberish]): string;
62
78
  encodeFunctionData(functionFragment: 'ciphernodeRegistry', values?: undefined): string;
63
79
  encodeFunctionData(functionFragment: 'decryptionVerifiers', values: [BytesLike]): string;
64
80
  encodeFunctionData(functionFragment: 'disableE3Program', values: [AddressLike]): string;
@@ -66,18 +82,28 @@ export interface EnclaveInterface extends Interface {
66
82
  encodeFunctionData(functionFragment: 'e3Payments', values: [BigNumberish]): string;
67
83
  encodeFunctionData(functionFragment: 'e3Programs', values: [AddressLike]): string;
68
84
  encodeFunctionData(functionFragment: 'e3ProgramsParams', values: [BytesLike]): string;
85
+ encodeFunctionData(functionFragment: 'e3RefundManager', values?: undefined): string;
69
86
  encodeFunctionData(functionFragment: 'e3s', values: [BigNumberish]): string;
70
87
  encodeFunctionData(functionFragment: 'enableE3Program', values: [AddressLike]): string;
71
88
  encodeFunctionData(functionFragment: 'feeToken', values?: undefined): string;
89
+ encodeFunctionData(functionFragment: 'getDeadlines', values: [BigNumberish]): string;
72
90
  encodeFunctionData(functionFragment: 'getDecryptionVerifier', values: [BytesLike]): string;
73
91
  encodeFunctionData(functionFragment: 'getE3', values: [BigNumberish]): string;
74
92
  encodeFunctionData(functionFragment: 'getE3Quote', values: [IEnclave.E3RequestParamsStruct]): string;
75
- encodeFunctionData(functionFragment: 'initialize', values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish, BytesLike[]]): string;
93
+ encodeFunctionData(functionFragment: 'getE3Stage', values: [BigNumberish]): string;
94
+ encodeFunctionData(functionFragment: 'getFailureReason', values: [BigNumberish]): string;
95
+ encodeFunctionData(functionFragment: 'getRequester', values: [BigNumberish]): string;
96
+ encodeFunctionData(functionFragment: 'getTimeoutConfig', values?: undefined): string;
97
+ encodeFunctionData(functionFragment: 'initialize', values: [AddressLike, AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish, IEnclave.E3TimeoutConfigStruct, BytesLike[]]): string;
98
+ encodeFunctionData(functionFragment: 'markE3Failed', values: [BigNumberish]): string;
76
99
  encodeFunctionData(functionFragment: 'maxDuration', values?: undefined): string;
77
100
  encodeFunctionData(functionFragment: 'nexte3Id', values?: undefined): string;
101
+ encodeFunctionData(functionFragment: 'onCommitteeFinalized', values: [BigNumberish]): string;
102
+ encodeFunctionData(functionFragment: 'onCommitteePublished', values: [BigNumberish, BytesLike]): string;
103
+ encodeFunctionData(functionFragment: 'onE3Failed', values: [BigNumberish, BigNumberish]): string;
78
104
  encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
105
+ encodeFunctionData(functionFragment: 'processE3Failure', values: [BigNumberish]): string;
79
106
  encodeFunctionData(functionFragment: 'publishCiphertextOutput', values: [BigNumberish, BytesLike, BytesLike]): string;
80
- encodeFunctionData(functionFragment: 'publishInput', values: [BigNumberish, BytesLike]): string;
81
107
  encodeFunctionData(functionFragment: 'publishPlaintextOutput', values: [BigNumberish, BytesLike, BytesLike]): string;
82
108
  encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
83
109
  encodeFunctionData(functionFragment: 'request', values: [IEnclave.E3RequestParamsStruct]): string;
@@ -85,11 +111,13 @@ export interface EnclaveInterface extends Interface {
85
111
  encodeFunctionData(functionFragment: 'setCiphernodeRegistry', values: [AddressLike]): string;
86
112
  encodeFunctionData(functionFragment: 'setDecryptionVerifier', values: [BytesLike, AddressLike]): string;
87
113
  encodeFunctionData(functionFragment: 'setE3ProgramsParams', values: [BytesLike[]]): string;
114
+ encodeFunctionData(functionFragment: 'setE3RefundManager', values: [AddressLike]): string;
88
115
  encodeFunctionData(functionFragment: 'setFeeToken', values: [AddressLike]): string;
89
116
  encodeFunctionData(functionFragment: 'setMaxDuration', values: [BigNumberish]): string;
117
+ encodeFunctionData(functionFragment: 'setTimeoutConfig', values: [IEnclave.E3TimeoutConfigStruct]): string;
90
118
  encodeFunctionData(functionFragment: 'transferOwnership', values: [AddressLike]): string;
91
- decodeFunctionResult(functionFragment: 'activate', data: BytesLike): Result;
92
119
  decodeFunctionResult(functionFragment: 'bondingRegistry', data: BytesLike): Result;
120
+ decodeFunctionResult(functionFragment: 'checkFailureCondition', data: BytesLike): Result;
93
121
  decodeFunctionResult(functionFragment: 'ciphernodeRegistry', data: BytesLike): Result;
94
122
  decodeFunctionResult(functionFragment: 'decryptionVerifiers', data: BytesLike): Result;
95
123
  decodeFunctionResult(functionFragment: 'disableE3Program', data: BytesLike): Result;
@@ -97,18 +125,28 @@ export interface EnclaveInterface extends Interface {
97
125
  decodeFunctionResult(functionFragment: 'e3Payments', data: BytesLike): Result;
98
126
  decodeFunctionResult(functionFragment: 'e3Programs', data: BytesLike): Result;
99
127
  decodeFunctionResult(functionFragment: 'e3ProgramsParams', data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: 'e3RefundManager', data: BytesLike): Result;
100
129
  decodeFunctionResult(functionFragment: 'e3s', data: BytesLike): Result;
101
130
  decodeFunctionResult(functionFragment: 'enableE3Program', data: BytesLike): Result;
102
131
  decodeFunctionResult(functionFragment: 'feeToken', data: BytesLike): Result;
132
+ decodeFunctionResult(functionFragment: 'getDeadlines', data: BytesLike): Result;
103
133
  decodeFunctionResult(functionFragment: 'getDecryptionVerifier', data: BytesLike): Result;
104
134
  decodeFunctionResult(functionFragment: 'getE3', data: BytesLike): Result;
105
135
  decodeFunctionResult(functionFragment: 'getE3Quote', data: BytesLike): Result;
136
+ decodeFunctionResult(functionFragment: 'getE3Stage', data: BytesLike): Result;
137
+ decodeFunctionResult(functionFragment: 'getFailureReason', data: BytesLike): Result;
138
+ decodeFunctionResult(functionFragment: 'getRequester', data: BytesLike): Result;
139
+ decodeFunctionResult(functionFragment: 'getTimeoutConfig', data: BytesLike): Result;
106
140
  decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
141
+ decodeFunctionResult(functionFragment: 'markE3Failed', data: BytesLike): Result;
107
142
  decodeFunctionResult(functionFragment: 'maxDuration', data: BytesLike): Result;
108
143
  decodeFunctionResult(functionFragment: 'nexte3Id', data: BytesLike): Result;
144
+ decodeFunctionResult(functionFragment: 'onCommitteeFinalized', data: BytesLike): Result;
145
+ decodeFunctionResult(functionFragment: 'onCommitteePublished', data: BytesLike): Result;
146
+ decodeFunctionResult(functionFragment: 'onE3Failed', data: BytesLike): Result;
109
147
  decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
148
+ decodeFunctionResult(functionFragment: 'processE3Failure', data: BytesLike): Result;
110
149
  decodeFunctionResult(functionFragment: 'publishCiphertextOutput', data: BytesLike): Result;
111
- decodeFunctionResult(functionFragment: 'publishInput', data: BytesLike): Result;
112
150
  decodeFunctionResult(functionFragment: 'publishPlaintextOutput', data: BytesLike): Result;
113
151
  decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
114
152
  decodeFunctionResult(functionFragment: 'request', data: BytesLike): Result;
@@ -116,8 +154,10 @@ export interface EnclaveInterface extends Interface {
116
154
  decodeFunctionResult(functionFragment: 'setCiphernodeRegistry', data: BytesLike): Result;
117
155
  decodeFunctionResult(functionFragment: 'setDecryptionVerifier', data: BytesLike): Result;
118
156
  decodeFunctionResult(functionFragment: 'setE3ProgramsParams', data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: 'setE3RefundManager', data: BytesLike): Result;
119
158
  decodeFunctionResult(functionFragment: 'setFeeToken', data: BytesLike): Result;
120
159
  decodeFunctionResult(functionFragment: 'setMaxDuration', data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: 'setTimeoutConfig', data: BytesLike): Result;
121
161
  decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
122
162
  }
123
163
  export declare namespace AllowedE3ProgramsParamsSetEvent {
@@ -165,13 +205,48 @@ export declare namespace CiphertextOutputPublishedEvent {
165
205
  type Log = TypedEventLog<Event>;
166
206
  type LogDescription = TypedLogDescription<Event>;
167
207
  }
168
- export declare namespace E3ActivatedEvent {
169
- type InputTuple = [e3Id: BigNumberish, expiration: BigNumberish, committeePublicKey: BytesLike];
170
- type OutputTuple = [e3Id: bigint, expiration: bigint, committeePublicKey: string];
208
+ export declare namespace CommitteeFinalizedEvent {
209
+ type InputTuple = [e3Id: BigNumberish];
210
+ type OutputTuple = [e3Id: bigint];
211
+ interface OutputObject {
212
+ e3Id: bigint;
213
+ }
214
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
215
+ type Filter = TypedDeferredTopicFilter<Event>;
216
+ type Log = TypedEventLog<Event>;
217
+ type LogDescription = TypedLogDescription<Event>;
218
+ }
219
+ export declare namespace CommitteeFormedEvent {
220
+ type InputTuple = [e3Id: BigNumberish];
221
+ type OutputTuple = [e3Id: bigint];
222
+ interface OutputObject {
223
+ e3Id: bigint;
224
+ }
225
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
226
+ type Filter = TypedDeferredTopicFilter<Event>;
227
+ type Log = TypedEventLog<Event>;
228
+ type LogDescription = TypedLogDescription<Event>;
229
+ }
230
+ export declare namespace E3FailedEvent {
231
+ type InputTuple = [e3Id: BigNumberish, failedAtStage: BigNumberish, reason: BigNumberish];
232
+ type OutputTuple = [e3Id: bigint, failedAtStage: bigint, reason: bigint];
171
233
  interface OutputObject {
172
234
  e3Id: bigint;
173
- expiration: bigint;
174
- committeePublicKey: string;
235
+ failedAtStage: bigint;
236
+ reason: bigint;
237
+ }
238
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
239
+ type Filter = TypedDeferredTopicFilter<Event>;
240
+ type Log = TypedEventLog<Event>;
241
+ type LogDescription = TypedLogDescription<Event>;
242
+ }
243
+ export declare namespace E3FailureProcessedEvent {
244
+ type InputTuple = [e3Id: BigNumberish, paymentAmount: BigNumberish, honestNodeCount: BigNumberish];
245
+ type OutputTuple = [e3Id: bigint, paymentAmount: bigint, honestNodeCount: bigint];
246
+ interface OutputObject {
247
+ e3Id: bigint;
248
+ paymentAmount: bigint;
249
+ honestNodeCount: bigint;
175
250
  }
176
251
  type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
177
252
  type Filter = TypedDeferredTopicFilter<Event>;
@@ -200,6 +275,17 @@ export declare namespace E3ProgramEnabledEvent {
200
275
  type Log = TypedEventLog<Event>;
201
276
  type LogDescription = TypedLogDescription<Event>;
202
277
  }
278
+ export declare namespace E3RefundManagerSetEvent {
279
+ type InputTuple = [e3RefundManager: AddressLike];
280
+ type OutputTuple = [e3RefundManager: string];
281
+ interface OutputObject {
282
+ e3RefundManager: string;
283
+ }
284
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
285
+ type Filter = TypedDeferredTopicFilter<Event>;
286
+ type Log = TypedEventLog<Event>;
287
+ type LogDescription = TypedLogDescription<Event>;
288
+ }
203
289
  export declare namespace E3RequestedEvent {
204
290
  type InputTuple = [e3Id: BigNumberish, e3: E3Struct, e3Program: AddressLike];
205
291
  type OutputTuple = [e3Id: bigint, e3: E3StructOutput, e3Program: string];
@@ -213,6 +299,19 @@ export declare namespace E3RequestedEvent {
213
299
  type Log = TypedEventLog<Event>;
214
300
  type LogDescription = TypedLogDescription<Event>;
215
301
  }
302
+ export declare namespace E3StageChangedEvent {
303
+ type InputTuple = [e3Id: BigNumberish, previousStage: BigNumberish, newStage: BigNumberish];
304
+ type OutputTuple = [e3Id: bigint, previousStage: bigint, newStage: bigint];
305
+ interface OutputObject {
306
+ e3Id: bigint;
307
+ previousStage: bigint;
308
+ newStage: bigint;
309
+ }
310
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
311
+ type Filter = TypedDeferredTopicFilter<Event>;
312
+ type Log = TypedEventLog<Event>;
313
+ type LogDescription = TypedLogDescription<Event>;
314
+ }
216
315
  export declare namespace EncryptionSchemeDisabledEvent {
217
316
  type InputTuple = [encryptionSchemeId: BytesLike];
218
317
  type OutputTuple = [encryptionSchemeId: string];
@@ -319,6 +418,17 @@ export declare namespace RewardsDistributedEvent {
319
418
  type Log = TypedEventLog<Event>;
320
419
  type LogDescription = TypedLogDescription<Event>;
321
420
  }
421
+ export declare namespace TimeoutConfigUpdatedEvent {
422
+ type InputTuple = [config: IEnclave.E3TimeoutConfigStruct];
423
+ type OutputTuple = [config: IEnclave.E3TimeoutConfigStructOutput];
424
+ interface OutputObject {
425
+ config: IEnclave.E3TimeoutConfigStructOutput;
426
+ }
427
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
428
+ type Filter = TypedDeferredTopicFilter<Event>;
429
+ type Log = TypedEventLog<Event>;
430
+ type LogDescription = TypedLogDescription<Event>;
431
+ }
322
432
  export interface Enclave extends BaseContract {
323
433
  connect(runner?: ContractRunner | null): Enclave;
324
434
  waitForDeployment(): Promise<this>;
@@ -332,15 +442,18 @@ export interface Enclave extends BaseContract {
332
442
  listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
333
443
  listeners(eventName?: string): Promise<Array<Listener>>;
334
444
  removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
335
- activate: TypedContractMethod<[
336
- e3Id: BigNumberish
337
- ], [
338
- boolean
339
- ], 'nonpayable'>;
340
445
  bondingRegistry: TypedContractMethod<[
341
446
  ], [
342
447
  string
343
448
  ], 'view'>;
449
+ checkFailureCondition: TypedContractMethod<[
450
+ e3Id: BigNumberish
451
+ ], [
452
+ [boolean, bigint] & {
453
+ canFail: boolean;
454
+ reason: bigint;
455
+ }
456
+ ], 'view'>;
344
457
  ciphernodeRegistry: TypedContractMethod<[
345
458
  ], [
346
459
  string
@@ -353,12 +466,12 @@ export interface Enclave extends BaseContract {
353
466
  disableE3Program: TypedContractMethod<[
354
467
  e3Program: AddressLike
355
468
  ], [
356
- boolean
469
+ void
357
470
  ], 'nonpayable'>;
358
471
  disableEncryptionScheme: TypedContractMethod<[
359
472
  encryptionSchemeId: BytesLike
360
473
  ], [
361
- boolean
474
+ void
362
475
  ], 'nonpayable'>;
363
476
  e3Payments: TypedContractMethod<[
364
477
  e3Id: BigNumberish
@@ -375,14 +488,16 @@ export interface Enclave extends BaseContract {
375
488
  ], [
376
489
  boolean
377
490
  ], 'view'>;
491
+ e3RefundManager: TypedContractMethod<[
492
+ ], [
493
+ string
494
+ ], 'view'>;
378
495
  e3s: TypedContractMethod<[
379
496
  e3Id: BigNumberish
380
497
  ], [
381
- [bigint, bigint, bigint, bigint, string, string, string, string, string, string, string, string, string] & {
498
+ [bigint, bigint, string, string, string, string, string, string, string, string, string] & {
382
499
  seed: bigint;
383
500
  requestBlock: bigint;
384
- duration: bigint;
385
- expiration: bigint;
386
501
  encryptionSchemeId: string;
387
502
  e3Program: string;
388
503
  e3ProgramParams: string;
@@ -397,12 +512,17 @@ export interface Enclave extends BaseContract {
397
512
  enableE3Program: TypedContractMethod<[
398
513
  e3Program: AddressLike
399
514
  ], [
400
- boolean
515
+ void
401
516
  ], 'nonpayable'>;
402
517
  feeToken: TypedContractMethod<[
403
518
  ], [
404
519
  string
405
520
  ], 'view'>;
521
+ getDeadlines: TypedContractMethod<[
522
+ e3Id: BigNumberish
523
+ ], [
524
+ IEnclave.E3DeadlinesStructOutput
525
+ ], 'view'>;
406
526
  getDecryptionVerifier: TypedContractMethod<[
407
527
  encryptionSchemeId: BytesLike
408
528
  ], [
@@ -418,16 +538,42 @@ export interface Enclave extends BaseContract {
418
538
  ], [
419
539
  bigint
420
540
  ], 'view'>;
541
+ getE3Stage: TypedContractMethod<[
542
+ e3Id: BigNumberish
543
+ ], [
544
+ bigint
545
+ ], 'view'>;
546
+ getFailureReason: TypedContractMethod<[
547
+ e3Id: BigNumberish
548
+ ], [
549
+ bigint
550
+ ], 'view'>;
551
+ getRequester: TypedContractMethod<[
552
+ e3Id: BigNumberish
553
+ ], [
554
+ string
555
+ ], 'view'>;
556
+ getTimeoutConfig: TypedContractMethod<[
557
+ ], [
558
+ IEnclave.E3TimeoutConfigStructOutput
559
+ ], 'view'>;
421
560
  initialize: TypedContractMethod<[
422
561
  _owner: AddressLike,
423
562
  _ciphernodeRegistry: AddressLike,
424
563
  _bondingRegistry: AddressLike,
564
+ _e3RefundManager: AddressLike,
425
565
  _feeToken: AddressLike,
426
566
  _maxDuration: BigNumberish,
567
+ config: IEnclave.E3TimeoutConfigStruct,
427
568
  _e3ProgramsParams: BytesLike[]
428
569
  ], [
429
570
  void
430
571
  ], 'nonpayable'>;
572
+ markE3Failed: TypedContractMethod<[
573
+ e3Id: BigNumberish
574
+ ], [
575
+ bigint
576
+ ], 'nonpayable'>;
431
577
  maxDuration: TypedContractMethod<[
432
578
  ], [
433
579
  bigint
@@ -436,10 +582,32 @@ export interface Enclave extends BaseContract {
436
582
  ], [
437
583
  bigint
438
584
  ], 'view'>;
585
+ onCommitteeFinalized: TypedContractMethod<[
586
+ e3Id: BigNumberish
587
+ ], [
588
+ void
589
+ ], 'nonpayable'>;
590
+ onCommitteePublished: TypedContractMethod<[
591
+ e3Id: BigNumberish,
592
+ committeePublicKeyHash: BytesLike
593
+ ], [
594
+ void
595
+ ], 'nonpayable'>;
596
+ onE3Failed: TypedContractMethod<[
597
+ e3Id: BigNumberish,
598
+ reason: BigNumberish
599
+ ], [
600
+ void
601
+ ], 'nonpayable'>;
439
602
  owner: TypedContractMethod<[
440
603
  ], [
441
604
  string
442
605
  ], 'view'>;
606
+ processE3Failure: TypedContractMethod<[
607
+ e3Id: BigNumberish
608
+ ], [
609
+ void
610
+ ], 'nonpayable'>;
443
611
  publishCiphertextOutput: TypedContractMethod<[
444
612
  e3Id: BigNumberish,
445
613
  ciphertextOutput: BytesLike,
@@ -447,12 +615,6 @@ export interface Enclave extends BaseContract {
447
615
  ], [
448
616
  boolean
449
617
  ], 'nonpayable'>;
450
- publishInput: TypedContractMethod<[
451
- e3Id: BigNumberish,
452
- data: BytesLike
453
- ], [
454
- boolean
455
- ], 'nonpayable'>;
456
618
  publishPlaintextOutput: TypedContractMethod<[
457
619
  e3Id: BigNumberish,
458
620
  plaintextOutput: BytesLike,
@@ -475,33 +637,43 @@ export interface Enclave extends BaseContract {
475
637
  setBondingRegistry: TypedContractMethod<[
476
638
  _bondingRegistry: AddressLike
477
639
  ], [
478
- boolean
640
+ void
479
641
  ], 'nonpayable'>;
480
642
  setCiphernodeRegistry: TypedContractMethod<[
481
643
  _ciphernodeRegistry: AddressLike
482
644
  ], [
483
- boolean
645
+ void
484
646
  ], 'nonpayable'>;
485
647
  setDecryptionVerifier: TypedContractMethod<[
486
648
  encryptionSchemeId: BytesLike,
487
649
  decryptionVerifier: AddressLike
488
650
  ], [
489
- boolean
651
+ void
490
652
  ], 'nonpayable'>;
491
653
  setE3ProgramsParams: TypedContractMethod<[
492
654
  _e3ProgramsParams: BytesLike[]
493
655
  ], [
494
- boolean
656
+ void
657
+ ], 'nonpayable'>;
658
+ setE3RefundManager: TypedContractMethod<[
659
+ _e3RefundManager: AddressLike
660
+ ], [
661
+ void
495
662
  ], 'nonpayable'>;
496
663
  setFeeToken: TypedContractMethod<[
497
664
  _feeToken: AddressLike
498
665
  ], [
499
- boolean
666
+ void
500
667
  ], 'nonpayable'>;
501
668
  setMaxDuration: TypedContractMethod<[
502
669
  _maxDuration: BigNumberish
503
670
  ], [
504
- boolean
671
+ void
672
+ ], 'nonpayable'>;
673
+ setTimeoutConfig: TypedContractMethod<[
674
+ config: IEnclave.E3TimeoutConfigStruct
675
+ ], [
676
+ void
505
677
  ], 'nonpayable'>;
506
678
  transferOwnership: TypedContractMethod<[
507
679
  newOwner: AddressLike
@@ -509,15 +681,18 @@ export interface Enclave extends BaseContract {
509
681
  void
510
682
  ], 'nonpayable'>;
511
683
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
512
- getFunction(nameOrSignature: 'activate'): TypedContractMethod<[
513
- e3Id: BigNumberish
514
- ], [
515
- boolean
516
- ], 'nonpayable'>;
517
684
  getFunction(nameOrSignature: 'bondingRegistry'): TypedContractMethod<[
518
685
  ], [
519
686
  string
520
687
  ], 'view'>;
688
+ getFunction(nameOrSignature: 'checkFailureCondition'): TypedContractMethod<[
689
+ e3Id: BigNumberish
690
+ ], [
691
+ [boolean, bigint] & {
692
+ canFail: boolean;
693
+ reason: bigint;
694
+ }
695
+ ], 'view'>;
521
696
  getFunction(nameOrSignature: 'ciphernodeRegistry'): TypedContractMethod<[
522
697
  ], [
523
698
  string
@@ -530,12 +705,12 @@ export interface Enclave extends BaseContract {
530
705
  getFunction(nameOrSignature: 'disableE3Program'): TypedContractMethod<[
531
706
  e3Program: AddressLike
532
707
  ], [
533
- boolean
708
+ void
534
709
  ], 'nonpayable'>;
535
710
  getFunction(nameOrSignature: 'disableEncryptionScheme'): TypedContractMethod<[
536
711
  encryptionSchemeId: BytesLike
537
712
  ], [
538
- boolean
713
+ void
539
714
  ], 'nonpayable'>;
540
715
  getFunction(nameOrSignature: 'e3Payments'): TypedContractMethod<[
541
716
  e3Id: BigNumberish
@@ -552,14 +727,16 @@ export interface Enclave extends BaseContract {
552
727
  ], [
553
728
  boolean
554
729
  ], 'view'>;
730
+ getFunction(nameOrSignature: 'e3RefundManager'): TypedContractMethod<[
731
+ ], [
732
+ string
733
+ ], 'view'>;
555
734
  getFunction(nameOrSignature: 'e3s'): TypedContractMethod<[
556
735
  e3Id: BigNumberish
557
736
  ], [
558
- [bigint, bigint, bigint, bigint, string, string, string, string, string, string, string, string, string] & {
737
+ [bigint, bigint, string, string, string, string, string, string, string, string, string] & {
559
738
  seed: bigint;
560
739
  requestBlock: bigint;
561
- duration: bigint;
562
- expiration: bigint;
563
740
  encryptionSchemeId: string;
564
741
  e3Program: string;
565
742
  e3ProgramParams: string;
@@ -574,12 +751,17 @@ export interface Enclave extends BaseContract {
574
751
  getFunction(nameOrSignature: 'enableE3Program'): TypedContractMethod<[
575
752
  e3Program: AddressLike
576
753
  ], [
577
- boolean
754
+ void
578
755
  ], 'nonpayable'>;
579
756
  getFunction(nameOrSignature: 'feeToken'): TypedContractMethod<[
580
757
  ], [
581
758
  string
582
759
  ], 'view'>;
760
+ getFunction(nameOrSignature: 'getDeadlines'): TypedContractMethod<[
761
+ e3Id: BigNumberish
762
+ ], [
763
+ IEnclave.E3DeadlinesStructOutput
764
+ ], 'view'>;
583
765
  getFunction(nameOrSignature: 'getDecryptionVerifier'): TypedContractMethod<[
584
766
  encryptionSchemeId: BytesLike
585
767
  ], [
@@ -595,16 +777,42 @@ export interface Enclave extends BaseContract {
595
777
  ], [
596
778
  bigint
597
779
  ], 'view'>;
780
+ getFunction(nameOrSignature: 'getE3Stage'): TypedContractMethod<[
781
+ e3Id: BigNumberish
782
+ ], [
783
+ bigint
784
+ ], 'view'>;
785
+ getFunction(nameOrSignature: 'getFailureReason'): TypedContractMethod<[
786
+ e3Id: BigNumberish
787
+ ], [
788
+ bigint
789
+ ], 'view'>;
790
+ getFunction(nameOrSignature: 'getRequester'): TypedContractMethod<[
791
+ e3Id: BigNumberish
792
+ ], [
793
+ string
794
+ ], 'view'>;
795
+ getFunction(nameOrSignature: 'getTimeoutConfig'): TypedContractMethod<[
796
+ ], [
797
+ IEnclave.E3TimeoutConfigStructOutput
798
+ ], 'view'>;
598
799
  getFunction(nameOrSignature: 'initialize'): TypedContractMethod<[
599
800
  _owner: AddressLike,
600
801
  _ciphernodeRegistry: AddressLike,
601
802
  _bondingRegistry: AddressLike,
803
+ _e3RefundManager: AddressLike,
602
804
  _feeToken: AddressLike,
603
805
  _maxDuration: BigNumberish,
806
+ config: IEnclave.E3TimeoutConfigStruct,
604
807
  _e3ProgramsParams: BytesLike[]
605
808
  ], [
606
809
  void
607
810
  ], 'nonpayable'>;
811
+ getFunction(nameOrSignature: 'markE3Failed'): TypedContractMethod<[
812
+ e3Id: BigNumberish
813
+ ], [
814
+ bigint
815
+ ], 'nonpayable'>;
608
816
  getFunction(nameOrSignature: 'maxDuration'): TypedContractMethod<[
609
817
  ], [
610
818
  bigint
@@ -613,10 +821,32 @@ export interface Enclave extends BaseContract {
613
821
  ], [
614
822
  bigint
615
823
  ], 'view'>;
824
+ getFunction(nameOrSignature: 'onCommitteeFinalized'): TypedContractMethod<[
825
+ e3Id: BigNumberish
826
+ ], [
827
+ void
828
+ ], 'nonpayable'>;
829
+ getFunction(nameOrSignature: 'onCommitteePublished'): TypedContractMethod<[
830
+ e3Id: BigNumberish,
831
+ committeePublicKeyHash: BytesLike
832
+ ], [
833
+ void
834
+ ], 'nonpayable'>;
835
+ getFunction(nameOrSignature: 'onE3Failed'): TypedContractMethod<[
836
+ e3Id: BigNumberish,
837
+ reason: BigNumberish
838
+ ], [
839
+ void
840
+ ], 'nonpayable'>;
616
841
  getFunction(nameOrSignature: 'owner'): TypedContractMethod<[
617
842
  ], [
618
843
  string
619
844
  ], 'view'>;
845
+ getFunction(nameOrSignature: 'processE3Failure'): TypedContractMethod<[
846
+ e3Id: BigNumberish
847
+ ], [
848
+ void
849
+ ], 'nonpayable'>;
620
850
  getFunction(nameOrSignature: 'publishCiphertextOutput'): TypedContractMethod<[
621
851
  e3Id: BigNumberish,
622
852
  ciphertextOutput: BytesLike,
@@ -624,12 +854,6 @@ export interface Enclave extends BaseContract {
624
854
  ], [
625
855
  boolean
626
856
  ], 'nonpayable'>;
627
- getFunction(nameOrSignature: 'publishInput'): TypedContractMethod<[
628
- e3Id: BigNumberish,
629
- data: BytesLike
630
- ], [
631
- boolean
632
- ], 'nonpayable'>;
633
857
  getFunction(nameOrSignature: 'publishPlaintextOutput'): TypedContractMethod<[
634
858
  e3Id: BigNumberish,
635
859
  plaintextOutput: BytesLike,
@@ -652,33 +876,43 @@ export interface Enclave extends BaseContract {
652
876
  getFunction(nameOrSignature: 'setBondingRegistry'): TypedContractMethod<[
653
877
  _bondingRegistry: AddressLike
654
878
  ], [
655
- boolean
879
+ void
656
880
  ], 'nonpayable'>;
657
881
  getFunction(nameOrSignature: 'setCiphernodeRegistry'): TypedContractMethod<[
658
882
  _ciphernodeRegistry: AddressLike
659
883
  ], [
660
- boolean
884
+ void
661
885
  ], 'nonpayable'>;
662
886
  getFunction(nameOrSignature: 'setDecryptionVerifier'): TypedContractMethod<[
663
887
  encryptionSchemeId: BytesLike,
664
888
  decryptionVerifier: AddressLike
665
889
  ], [
666
- boolean
890
+ void
667
891
  ], 'nonpayable'>;
668
892
  getFunction(nameOrSignature: 'setE3ProgramsParams'): TypedContractMethod<[
669
893
  _e3ProgramsParams: BytesLike[]
670
894
  ], [
671
- boolean
895
+ void
896
+ ], 'nonpayable'>;
897
+ getFunction(nameOrSignature: 'setE3RefundManager'): TypedContractMethod<[
898
+ _e3RefundManager: AddressLike
899
+ ], [
900
+ void
672
901
  ], 'nonpayable'>;
673
902
  getFunction(nameOrSignature: 'setFeeToken'): TypedContractMethod<[
674
903
  _feeToken: AddressLike
675
904
  ], [
676
- boolean
905
+ void
677
906
  ], 'nonpayable'>;
678
907
  getFunction(nameOrSignature: 'setMaxDuration'): TypedContractMethod<[
679
908
  _maxDuration: BigNumberish
680
909
  ], [
681
- boolean
910
+ void
911
+ ], 'nonpayable'>;
912
+ getFunction(nameOrSignature: 'setTimeoutConfig'): TypedContractMethod<[
913
+ config: IEnclave.E3TimeoutConfigStruct
914
+ ], [
915
+ void
682
916
  ], 'nonpayable'>;
683
917
  getFunction(nameOrSignature: 'transferOwnership'): TypedContractMethod<[
684
918
  newOwner: AddressLike
@@ -689,10 +923,15 @@ export interface Enclave extends BaseContract {
689
923
  getEvent(key: 'BondingRegistrySet'): TypedContractEvent<BondingRegistrySetEvent.InputTuple, BondingRegistrySetEvent.OutputTuple, BondingRegistrySetEvent.OutputObject>;
690
924
  getEvent(key: 'CiphernodeRegistrySet'): TypedContractEvent<CiphernodeRegistrySetEvent.InputTuple, CiphernodeRegistrySetEvent.OutputTuple, CiphernodeRegistrySetEvent.OutputObject>;
691
925
  getEvent(key: 'CiphertextOutputPublished'): TypedContractEvent<CiphertextOutputPublishedEvent.InputTuple, CiphertextOutputPublishedEvent.OutputTuple, CiphertextOutputPublishedEvent.OutputObject>;
692
- getEvent(key: 'E3Activated'): TypedContractEvent<E3ActivatedEvent.InputTuple, E3ActivatedEvent.OutputTuple, E3ActivatedEvent.OutputObject>;
926
+ getEvent(key: 'CommitteeFinalized'): TypedContractEvent<CommitteeFinalizedEvent.InputTuple, CommitteeFinalizedEvent.OutputTuple, CommitteeFinalizedEvent.OutputObject>;
927
+ getEvent(key: 'CommitteeFormed'): TypedContractEvent<CommitteeFormedEvent.InputTuple, CommitteeFormedEvent.OutputTuple, CommitteeFormedEvent.OutputObject>;
928
+ getEvent(key: 'E3Failed'): TypedContractEvent<E3FailedEvent.InputTuple, E3FailedEvent.OutputTuple, E3FailedEvent.OutputObject>;
929
+ getEvent(key: 'E3FailureProcessed'): TypedContractEvent<E3FailureProcessedEvent.InputTuple, E3FailureProcessedEvent.OutputTuple, E3FailureProcessedEvent.OutputObject>;
693
930
  getEvent(key: 'E3ProgramDisabled'): TypedContractEvent<E3ProgramDisabledEvent.InputTuple, E3ProgramDisabledEvent.OutputTuple, E3ProgramDisabledEvent.OutputObject>;
694
931
  getEvent(key: 'E3ProgramEnabled'): TypedContractEvent<E3ProgramEnabledEvent.InputTuple, E3ProgramEnabledEvent.OutputTuple, E3ProgramEnabledEvent.OutputObject>;
932
+ getEvent(key: 'E3RefundManagerSet'): TypedContractEvent<E3RefundManagerSetEvent.InputTuple, E3RefundManagerSetEvent.OutputTuple, E3RefundManagerSetEvent.OutputObject>;
695
933
  getEvent(key: 'E3Requested'): TypedContractEvent<E3RequestedEvent.InputTuple, E3RequestedEvent.OutputTuple, E3RequestedEvent.OutputObject>;
934
+ getEvent(key: 'E3StageChanged'): TypedContractEvent<E3StageChangedEvent.InputTuple, E3StageChangedEvent.OutputTuple, E3StageChangedEvent.OutputObject>;
696
935
  getEvent(key: 'EncryptionSchemeDisabled'): TypedContractEvent<EncryptionSchemeDisabledEvent.InputTuple, EncryptionSchemeDisabledEvent.OutputTuple, EncryptionSchemeDisabledEvent.OutputObject>;
697
936
  getEvent(key: 'EncryptionSchemeEnabled'): TypedContractEvent<EncryptionSchemeEnabledEvent.InputTuple, EncryptionSchemeEnabledEvent.OutputTuple, EncryptionSchemeEnabledEvent.OutputObject>;
698
937
  getEvent(key: 'FeeTokenSet'): TypedContractEvent<FeeTokenSetEvent.InputTuple, FeeTokenSetEvent.OutputTuple, FeeTokenSetEvent.OutputObject>;
@@ -702,6 +941,7 @@ export interface Enclave extends BaseContract {
702
941
  getEvent(key: 'OwnershipTransferred'): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
703
942
  getEvent(key: 'PlaintextOutputPublished'): TypedContractEvent<PlaintextOutputPublishedEvent.InputTuple, PlaintextOutputPublishedEvent.OutputTuple, PlaintextOutputPublishedEvent.OutputObject>;
704
943
  getEvent(key: 'RewardsDistributed'): TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
944
+ getEvent(key: 'TimeoutConfigUpdated'): TypedContractEvent<TimeoutConfigUpdatedEvent.InputTuple, TimeoutConfigUpdatedEvent.OutputTuple, TimeoutConfigUpdatedEvent.OutputObject>;
705
945
  filters: {
706
946
  'AllowedE3ProgramsParamsSet(bytes[])': TypedContractEvent<AllowedE3ProgramsParamsSetEvent.InputTuple, AllowedE3ProgramsParamsSetEvent.OutputTuple, AllowedE3ProgramsParamsSetEvent.OutputObject>;
707
947
  AllowedE3ProgramsParamsSet: TypedContractEvent<AllowedE3ProgramsParamsSetEvent.InputTuple, AllowedE3ProgramsParamsSetEvent.OutputTuple, AllowedE3ProgramsParamsSetEvent.OutputObject>;
@@ -711,14 +951,24 @@ export interface Enclave extends BaseContract {
711
951
  CiphernodeRegistrySet: TypedContractEvent<CiphernodeRegistrySetEvent.InputTuple, CiphernodeRegistrySetEvent.OutputTuple, CiphernodeRegistrySetEvent.OutputObject>;
712
952
  'CiphertextOutputPublished(uint256,bytes)': TypedContractEvent<CiphertextOutputPublishedEvent.InputTuple, CiphertextOutputPublishedEvent.OutputTuple, CiphertextOutputPublishedEvent.OutputObject>;
713
953
  CiphertextOutputPublished: TypedContractEvent<CiphertextOutputPublishedEvent.InputTuple, CiphertextOutputPublishedEvent.OutputTuple, CiphertextOutputPublishedEvent.OutputObject>;
714
- 'E3Activated(uint256,uint256,bytes32)': TypedContractEvent<E3ActivatedEvent.InputTuple, E3ActivatedEvent.OutputTuple, E3ActivatedEvent.OutputObject>;
715
- E3Activated: TypedContractEvent<E3ActivatedEvent.InputTuple, E3ActivatedEvent.OutputTuple, E3ActivatedEvent.OutputObject>;
954
+ 'CommitteeFinalized(uint256)': TypedContractEvent<CommitteeFinalizedEvent.InputTuple, CommitteeFinalizedEvent.OutputTuple, CommitteeFinalizedEvent.OutputObject>;
955
+ CommitteeFinalized: TypedContractEvent<CommitteeFinalizedEvent.InputTuple, CommitteeFinalizedEvent.OutputTuple, CommitteeFinalizedEvent.OutputObject>;
956
+ 'CommitteeFormed(uint256)': TypedContractEvent<CommitteeFormedEvent.InputTuple, CommitteeFormedEvent.OutputTuple, CommitteeFormedEvent.OutputObject>;
957
+ CommitteeFormed: TypedContractEvent<CommitteeFormedEvent.InputTuple, CommitteeFormedEvent.OutputTuple, CommitteeFormedEvent.OutputObject>;
958
+ 'E3Failed(uint256,uint8,uint8)': TypedContractEvent<E3FailedEvent.InputTuple, E3FailedEvent.OutputTuple, E3FailedEvent.OutputObject>;
959
+ E3Failed: TypedContractEvent<E3FailedEvent.InputTuple, E3FailedEvent.OutputTuple, E3FailedEvent.OutputObject>;
960
+ 'E3FailureProcessed(uint256,uint256,uint256)': TypedContractEvent<E3FailureProcessedEvent.InputTuple, E3FailureProcessedEvent.OutputTuple, E3FailureProcessedEvent.OutputObject>;
961
+ E3FailureProcessed: TypedContractEvent<E3FailureProcessedEvent.InputTuple, E3FailureProcessedEvent.OutputTuple, E3FailureProcessedEvent.OutputObject>;
716
962
  'E3ProgramDisabled(address)': TypedContractEvent<E3ProgramDisabledEvent.InputTuple, E3ProgramDisabledEvent.OutputTuple, E3ProgramDisabledEvent.OutputObject>;
717
963
  E3ProgramDisabled: TypedContractEvent<E3ProgramDisabledEvent.InputTuple, E3ProgramDisabledEvent.OutputTuple, E3ProgramDisabledEvent.OutputObject>;
718
964
  'E3ProgramEnabled(address)': TypedContractEvent<E3ProgramEnabledEvent.InputTuple, E3ProgramEnabledEvent.OutputTuple, E3ProgramEnabledEvent.OutputObject>;
719
965
  E3ProgramEnabled: TypedContractEvent<E3ProgramEnabledEvent.InputTuple, E3ProgramEnabledEvent.OutputTuple, E3ProgramEnabledEvent.OutputObject>;
966
+ 'E3RefundManagerSet(address)': TypedContractEvent<E3RefundManagerSetEvent.InputTuple, E3RefundManagerSetEvent.OutputTuple, E3RefundManagerSetEvent.OutputObject>;
967
+ E3RefundManagerSet: TypedContractEvent<E3RefundManagerSetEvent.InputTuple, E3RefundManagerSetEvent.OutputTuple, E3RefundManagerSetEvent.OutputObject>;
720
968
  'E3Requested(uint256,tuple,address)': TypedContractEvent<E3RequestedEvent.InputTuple, E3RequestedEvent.OutputTuple, E3RequestedEvent.OutputObject>;
721
969
  E3Requested: TypedContractEvent<E3RequestedEvent.InputTuple, E3RequestedEvent.OutputTuple, E3RequestedEvent.OutputObject>;
970
+ 'E3StageChanged(uint256,uint8,uint8)': TypedContractEvent<E3StageChangedEvent.InputTuple, E3StageChangedEvent.OutputTuple, E3StageChangedEvent.OutputObject>;
971
+ E3StageChanged: TypedContractEvent<E3StageChangedEvent.InputTuple, E3StageChangedEvent.OutputTuple, E3StageChangedEvent.OutputObject>;
722
972
  'EncryptionSchemeDisabled(bytes32)': TypedContractEvent<EncryptionSchemeDisabledEvent.InputTuple, EncryptionSchemeDisabledEvent.OutputTuple, EncryptionSchemeDisabledEvent.OutputObject>;
723
973
  EncryptionSchemeDisabled: TypedContractEvent<EncryptionSchemeDisabledEvent.InputTuple, EncryptionSchemeDisabledEvent.OutputTuple, EncryptionSchemeDisabledEvent.OutputObject>;
724
974
  'EncryptionSchemeEnabled(bytes32)': TypedContractEvent<EncryptionSchemeEnabledEvent.InputTuple, EncryptionSchemeEnabledEvent.OutputTuple, EncryptionSchemeEnabledEvent.OutputObject>;
@@ -737,6 +987,8 @@ export interface Enclave extends BaseContract {
737
987
  PlaintextOutputPublished: TypedContractEvent<PlaintextOutputPublishedEvent.InputTuple, PlaintextOutputPublishedEvent.OutputTuple, PlaintextOutputPublishedEvent.OutputObject>;
738
988
  'RewardsDistributed(uint256,address[],uint256[])': TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
739
989
  RewardsDistributed: TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
990
+ 'TimeoutConfigUpdated(tuple)': TypedContractEvent<TimeoutConfigUpdatedEvent.InputTuple, TimeoutConfigUpdatedEvent.OutputTuple, TimeoutConfigUpdatedEvent.OutputObject>;
991
+ TimeoutConfigUpdated: TypedContractEvent<TimeoutConfigUpdatedEvent.InputTuple, TimeoutConfigUpdatedEvent.OutputTuple, TimeoutConfigUpdatedEvent.OutputObject>;
740
992
  };
741
993
  }
742
994
  //# sourceMappingURL=Enclave.d.ts.map