viem 2.8.18 → 2.9.1

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 (254) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/_cjs/chains/definitions/blast.js +5 -1
  3. package/_cjs/chains/definitions/blast.js.map +1 -1
  4. package/_cjs/chains/definitions/blastSepolia.js +2 -1
  5. package/_cjs/chains/definitions/blastSepolia.js.map +1 -1
  6. package/_cjs/chains/definitions/optimismSepolia.js +5 -0
  7. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
  8. package/_cjs/chains/definitions/reyaNetwork.js +23 -0
  9. package/_cjs/chains/definitions/reyaNetwork.js.map +1 -0
  10. package/_cjs/chains/index.js +4 -2
  11. package/_cjs/chains/index.js.map +1 -1
  12. package/_cjs/chains/opStack/abis.js +1070 -1
  13. package/_cjs/chains/opStack/abis.js.map +1 -1
  14. package/_cjs/chains/opStack/actions/buildProveWithdrawal.js +3 -3
  15. package/_cjs/chains/opStack/actions/buildProveWithdrawal.js.map +1 -1
  16. package/_cjs/chains/opStack/actions/getGame.js +20 -0
  17. package/_cjs/chains/opStack/actions/getGame.js.map +1 -0
  18. package/_cjs/chains/opStack/actions/getGames.js +56 -0
  19. package/_cjs/chains/opStack/actions/getGames.js.map +1 -0
  20. package/_cjs/chains/opStack/actions/getL2Output.js +12 -0
  21. package/_cjs/chains/opStack/actions/getL2Output.js.map +1 -1
  22. package/_cjs/chains/opStack/actions/getPortalVersion.js +25 -0
  23. package/_cjs/chains/opStack/actions/getPortalVersion.js.map +1 -0
  24. package/_cjs/chains/opStack/actions/getTimeToFinalize.js +52 -26
  25. package/_cjs/chains/opStack/actions/getTimeToFinalize.js.map +1 -1
  26. package/_cjs/chains/opStack/actions/getTimeToNextGame.js +45 -0
  27. package/_cjs/chains/opStack/actions/getTimeToNextGame.js.map +1 -0
  28. package/_cjs/chains/opStack/actions/getTimeToProve.js +9 -1
  29. package/_cjs/chains/opStack/actions/getTimeToProve.js.map +1 -1
  30. package/_cjs/chains/opStack/actions/getWithdrawalStatus.js +79 -28
  31. package/_cjs/chains/opStack/actions/getWithdrawalStatus.js.map +1 -1
  32. package/_cjs/chains/opStack/actions/proveWithdrawal.js +1 -1
  33. package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  34. package/_cjs/chains/opStack/actions/waitForNextGame.js +35 -0
  35. package/_cjs/chains/opStack/actions/waitForNextGame.js.map +1 -0
  36. package/_cjs/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
  37. package/_cjs/chains/opStack/actions/waitToProve.js +34 -3
  38. package/_cjs/chains/opStack/actions/waitToProve.js.map +1 -1
  39. package/_cjs/chains/opStack/decorators/publicL1.js +10 -0
  40. package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -1
  41. package/_cjs/chains/opStack/errors/withdrawal.js +13 -1
  42. package/_cjs/chains/opStack/errors/withdrawal.js.map +1 -1
  43. package/_cjs/chains/opStack/index.js +11 -1
  44. package/_cjs/chains/opStack/index.js.map +1 -1
  45. package/_cjs/chains/zksync/actions/deployContract.js +26 -0
  46. package/_cjs/chains/zksync/actions/deployContract.js.map +1 -0
  47. package/_cjs/chains/zksync/constants/abis.js +427 -0
  48. package/_cjs/chains/zksync/constants/abis.js.map +1 -0
  49. package/_cjs/chains/zksync/constants/address.js +5 -0
  50. package/_cjs/chains/zksync/constants/address.js.map +1 -0
  51. package/_cjs/chains/zksync/constants/contract.js +6 -0
  52. package/_cjs/chains/zksync/constants/contract.js.map +1 -0
  53. package/_cjs/chains/zksync/constants/number.js +6 -0
  54. package/_cjs/chains/zksync/constants/number.js.map +1 -0
  55. package/_cjs/chains/zksync/decorators/eip712.js +2 -0
  56. package/_cjs/chains/zksync/decorators/eip712.js.map +1 -1
  57. package/_cjs/chains/zksync/errors/bytecode.js +41 -0
  58. package/_cjs/chains/zksync/errors/bytecode.js.map +1 -0
  59. package/_cjs/chains/zksync/formatters.js +5 -1
  60. package/_cjs/chains/zksync/formatters.js.map +1 -1
  61. package/_cjs/chains/zksync/index.js +3 -1
  62. package/_cjs/chains/zksync/index.js.map +1 -1
  63. package/_cjs/chains/zksync/types/contract.js +3 -0
  64. package/_cjs/chains/zksync/types/contract.js.map +1 -0
  65. package/_cjs/chains/zksync/utils/abi/encodeDeployData.js +68 -0
  66. package/_cjs/chains/zksync/utils/abi/encodeDeployData.js.map +1 -0
  67. package/_cjs/chains/zksync/utils/getEip712Domain.js +4 -2
  68. package/_cjs/chains/zksync/utils/getEip712Domain.js.map +1 -1
  69. package/_cjs/chains/zksync/utils/hashBytecode.js +36 -0
  70. package/_cjs/chains/zksync/utils/hashBytecode.js.map +1 -0
  71. package/_cjs/errors/version.js +1 -1
  72. package/_cjs/errors/version.js.map +1 -1
  73. package/_esm/chains/definitions/blast.js +5 -1
  74. package/_esm/chains/definitions/blast.js.map +1 -1
  75. package/_esm/chains/definitions/blastSepolia.js +2 -1
  76. package/_esm/chains/definitions/blastSepolia.js.map +1 -1
  77. package/_esm/chains/definitions/optimismSepolia.js +5 -0
  78. package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
  79. package/_esm/chains/definitions/reyaNetwork.js +20 -0
  80. package/_esm/chains/definitions/reyaNetwork.js.map +1 -0
  81. package/_esm/chains/index.js +1 -0
  82. package/_esm/chains/index.js.map +1 -1
  83. package/_esm/chains/opStack/abis.js +1069 -0
  84. package/_esm/chains/opStack/abis.js.map +1 -1
  85. package/_esm/chains/opStack/actions/buildProveWithdrawal.js +4 -3
  86. package/_esm/chains/opStack/actions/buildProveWithdrawal.js.map +1 -1
  87. package/_esm/chains/opStack/actions/getGame.js +40 -0
  88. package/_esm/chains/opStack/actions/getGame.js.map +1 -0
  89. package/_esm/chains/opStack/actions/getGames.js +75 -0
  90. package/_esm/chains/opStack/actions/getGames.js.map +1 -0
  91. package/_esm/chains/opStack/actions/getL2Output.js +12 -0
  92. package/_esm/chains/opStack/actions/getL2Output.js.map +1 -1
  93. package/_esm/chains/opStack/actions/getPortalVersion.js +48 -0
  94. package/_esm/chains/opStack/actions/getPortalVersion.js.map +1 -0
  95. package/_esm/chains/opStack/actions/getTimeToFinalize.js +54 -27
  96. package/_esm/chains/opStack/actions/getTimeToFinalize.js.map +1 -1
  97. package/_esm/chains/opStack/actions/getTimeToNextGame.js +71 -0
  98. package/_esm/chains/opStack/actions/getTimeToNextGame.js.map +1 -0
  99. package/_esm/chains/opStack/actions/getTimeToProve.js +10 -1
  100. package/_esm/chains/opStack/actions/getTimeToProve.js.map +1 -1
  101. package/_esm/chains/opStack/actions/getWithdrawalStatus.js +84 -32
  102. package/_esm/chains/opStack/actions/getWithdrawalStatus.js.map +1 -1
  103. package/_esm/chains/opStack/actions/proveWithdrawal.js +1 -1
  104. package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  105. package/_esm/chains/opStack/actions/waitForNextGame.js +61 -0
  106. package/_esm/chains/opStack/actions/waitForNextGame.js.map +1 -0
  107. package/_esm/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
  108. package/_esm/chains/opStack/actions/waitToProve.js +35 -3
  109. package/_esm/chains/opStack/actions/waitToProve.js.map +1 -1
  110. package/_esm/chains/opStack/decorators/publicL1.js +10 -0
  111. package/_esm/chains/opStack/decorators/publicL1.js.map +1 -1
  112. package/_esm/chains/opStack/errors/withdrawal.js +11 -0
  113. package/_esm/chains/opStack/errors/withdrawal.js.map +1 -1
  114. package/_esm/chains/opStack/index.js +5 -0
  115. package/_esm/chains/opStack/index.js.map +1 -1
  116. package/_esm/chains/zksync/actions/deployContract.js +52 -0
  117. package/_esm/chains/zksync/actions/deployContract.js.map +1 -0
  118. package/_esm/chains/zksync/constants/abis.js +425 -0
  119. package/_esm/chains/zksync/constants/abis.js.map +1 -0
  120. package/_esm/chains/zksync/constants/address.js +2 -0
  121. package/_esm/chains/zksync/constants/address.js.map +1 -0
  122. package/_esm/chains/zksync/constants/contract.js +3 -0
  123. package/_esm/chains/zksync/constants/contract.js.map +1 -0
  124. package/_esm/chains/zksync/constants/number.js +3 -0
  125. package/_esm/chains/zksync/constants/number.js.map +1 -0
  126. package/_esm/chains/zksync/decorators/eip712.js +2 -0
  127. package/_esm/chains/zksync/decorators/eip712.js.map +1 -1
  128. package/_esm/chains/zksync/errors/bytecode.js +35 -0
  129. package/_esm/chains/zksync/errors/bytecode.js.map +1 -0
  130. package/_esm/chains/zksync/formatters.js +5 -1
  131. package/_esm/chains/zksync/formatters.js.map +1 -1
  132. package/_esm/chains/zksync/index.js +1 -0
  133. package/_esm/chains/zksync/index.js.map +1 -1
  134. package/_esm/chains/zksync/types/contract.js +2 -0
  135. package/_esm/chains/zksync/types/contract.js.map +1 -0
  136. package/_esm/chains/zksync/utils/abi/encodeDeployData.js +65 -0
  137. package/_esm/chains/zksync/utils/abi/encodeDeployData.js.map +1 -0
  138. package/_esm/chains/zksync/utils/getEip712Domain.js +4 -2
  139. package/_esm/chains/zksync/utils/getEip712Domain.js.map +1 -1
  140. package/_esm/chains/zksync/utils/hashBytecode.js +36 -0
  141. package/_esm/chains/zksync/utils/hashBytecode.js.map +1 -0
  142. package/_esm/errors/version.js +1 -1
  143. package/_esm/errors/version.js.map +1 -1
  144. package/_types/chains/definitions/blast.d.ts +1 -0
  145. package/_types/chains/definitions/blast.d.ts.map +1 -1
  146. package/_types/chains/definitions/blastSepolia.d.ts +2 -1
  147. package/_types/chains/definitions/blastSepolia.d.ts.map +1 -1
  148. package/_types/chains/definitions/optimismSepolia.d.ts +5 -0
  149. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  150. package/_types/chains/definitions/reyaNetwork.d.ts +36 -0
  151. package/_types/chains/definitions/reyaNetwork.d.ts.map +1 -0
  152. package/_types/chains/index.d.ts +1 -0
  153. package/_types/chains/index.d.ts.map +1 -1
  154. package/_types/chains/opStack/abis.d.ts +824 -0
  155. package/_types/chains/opStack/abis.d.ts.map +1 -1
  156. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +6 -2
  157. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -1
  158. package/_types/chains/opStack/actions/getGame.d.ts +57 -0
  159. package/_types/chains/opStack/actions/getGame.d.ts.map +1 -0
  160. package/_types/chains/opStack/actions/getGames.d.ts +48 -0
  161. package/_types/chains/opStack/actions/getGames.d.ts.map +1 -0
  162. package/_types/chains/opStack/actions/getL2Output.d.ts +8 -1
  163. package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -1
  164. package/_types/chains/opStack/actions/getPortalVersion.d.ts +46 -0
  165. package/_types/chains/opStack/actions/getPortalVersion.d.ts.map +1 -0
  166. package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -1
  167. package/_types/chains/opStack/actions/getTimeToNextGame.d.ts +61 -0
  168. package/_types/chains/opStack/actions/getTimeToNextGame.d.ts.map +1 -0
  169. package/_types/chains/opStack/actions/getTimeToProve.d.ts +6 -3
  170. package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -1
  171. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +7 -1
  172. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -1
  173. package/_types/chains/opStack/actions/proveWithdrawal.d.ts +1 -1
  174. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
  175. package/_types/chains/opStack/actions/waitForNextGame.d.ts +60 -0
  176. package/_types/chains/opStack/actions/waitForNextGame.d.ts.map +1 -0
  177. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -1
  178. package/_types/chains/opStack/actions/waitToProve.d.ts +10 -2
  179. package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -1
  180. package/_types/chains/opStack/decorators/publicL1.d.ts +129 -0
  181. package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -1
  182. package/_types/chains/opStack/errors/withdrawal.d.ts +7 -0
  183. package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -1
  184. package/_types/chains/opStack/index.d.ts +5 -0
  185. package/_types/chains/opStack/index.d.ts.map +1 -1
  186. package/_types/chains/opStack/types/chain.d.ts +1 -1
  187. package/_types/chains/opStack/types/chain.d.ts.map +1 -1
  188. package/_types/chains/opStack/types/withdrawal.d.ts +7 -0
  189. package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -1
  190. package/_types/chains/zksync/actions/deployContract.d.ts +49 -0
  191. package/_types/chains/zksync/actions/deployContract.d.ts.map +1 -0
  192. package/_types/chains/zksync/constants/abis.d.ts +70 -0
  193. package/_types/chains/zksync/constants/abis.d.ts.map +1 -0
  194. package/_types/chains/zksync/constants/address.d.ts +2 -0
  195. package/_types/chains/zksync/constants/address.d.ts.map +1 -0
  196. package/_types/chains/zksync/constants/contract.d.ts +3 -0
  197. package/_types/chains/zksync/constants/contract.d.ts.map +1 -0
  198. package/_types/chains/zksync/constants/number.d.ts +2 -0
  199. package/_types/chains/zksync/constants/number.d.ts.map +1 -0
  200. package/_types/chains/zksync/decorators/eip712.d.ts +32 -0
  201. package/_types/chains/zksync/decorators/eip712.d.ts.map +1 -1
  202. package/_types/chains/zksync/errors/bytecode.d.ts +30 -0
  203. package/_types/chains/zksync/errors/bytecode.d.ts.map +1 -0
  204. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  205. package/_types/chains/zksync/index.d.ts +1 -0
  206. package/_types/chains/zksync/index.d.ts.map +1 -1
  207. package/_types/chains/zksync/types/contract.d.ts +2 -0
  208. package/_types/chains/zksync/types/contract.d.ts.map +1 -0
  209. package/_types/chains/zksync/utils/abi/encodeDeployData.d.ts +13 -0
  210. package/_types/chains/zksync/utils/abi/encodeDeployData.d.ts.map +1 -0
  211. package/_types/chains/zksync/utils/getEip712Domain.d.ts.map +1 -1
  212. package/_types/chains/zksync/utils/hashBytecode.d.ts +3 -0
  213. package/_types/chains/zksync/utils/hashBytecode.d.ts.map +1 -0
  214. package/_types/errors/version.d.ts +1 -1
  215. package/_types/errors/version.d.ts.map +1 -1
  216. package/chains/definitions/blast.ts +5 -1
  217. package/chains/definitions/blastSepolia.ts +2 -1
  218. package/chains/definitions/optimismSepolia.ts +5 -0
  219. package/chains/definitions/reyaNetwork.ts +20 -0
  220. package/chains/index.ts +1 -0
  221. package/chains/opStack/abis.ts +1071 -0
  222. package/chains/opStack/actions/buildProveWithdrawal.ts +7 -6
  223. package/chains/opStack/actions/getGame.ts +99 -0
  224. package/chains/opStack/actions/getGames.ts +133 -0
  225. package/chains/opStack/actions/getL2Output.ts +44 -3
  226. package/chains/opStack/actions/getPortalVersion.ts +87 -0
  227. package/chains/opStack/actions/getTimeToFinalize.ts +64 -27
  228. package/chains/opStack/actions/getTimeToNextGame.ts +143 -0
  229. package/chains/opStack/actions/getTimeToProve.ts +43 -5
  230. package/chains/opStack/actions/getWithdrawalStatus.ts +130 -38
  231. package/chains/opStack/actions/proveWithdrawal.ts +3 -1
  232. package/chains/opStack/actions/waitForNextGame.ts +122 -0
  233. package/chains/opStack/actions/waitForNextL2Output.ts +5 -1
  234. package/chains/opStack/actions/waitToProve.ts +65 -7
  235. package/chains/opStack/decorators/publicL1.ts +164 -0
  236. package/chains/opStack/errors/withdrawal.ts +10 -0
  237. package/chains/opStack/index.ts +30 -0
  238. package/chains/opStack/types/chain.ts +4 -1
  239. package/chains/opStack/types/withdrawal.ts +8 -0
  240. package/chains/zksync/actions/deployContract.ts +100 -0
  241. package/chains/zksync/constants/abis.ts +424 -0
  242. package/chains/zksync/constants/address.ts +2 -0
  243. package/chains/zksync/constants/contract.ts +2 -0
  244. package/chains/zksync/constants/number.ts +3 -0
  245. package/chains/zksync/decorators/eip712.ts +47 -0
  246. package/chains/zksync/errors/bytecode.ts +46 -0
  247. package/chains/zksync/formatters.ts +7 -1
  248. package/chains/zksync/index.ts +6 -0
  249. package/chains/zksync/types/contract.ts +6 -0
  250. package/chains/zksync/utils/abi/encodeDeployData.ts +120 -0
  251. package/chains/zksync/utils/getEip712Domain.ts +4 -2
  252. package/chains/zksync/utils/hashBytecode.ts +48 -0
  253. package/errors/version.ts +1 -1
  254. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.portalAbi = exports.l2ToL1MessagePasserAbi = exports.l1StandardBridgeAbi = exports.l2OutputOracleAbi = exports.gasPriceOracleAbi = void 0;
3
+ exports.portalAbi = exports.portal2Abi = exports.disputeGameFactoryAbi = exports.l2ToL1MessagePasserAbi = exports.l1StandardBridgeAbi = exports.l2OutputOracleAbi = exports.gasPriceOracleAbi = void 0;
4
4
  exports.gasPriceOracleAbi = [
5
5
  { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
6
6
  {
@@ -896,6 +896,1075 @@ exports.l2ToL1MessagePasserAbi = [
896
896
  },
897
897
  { stateMutability: 'payable', type: 'receive' },
898
898
  ];
899
+ exports.disputeGameFactoryAbi = [
900
+ {
901
+ type: 'constructor',
902
+ inputs: [],
903
+ stateMutability: 'nonpayable',
904
+ },
905
+ {
906
+ type: 'function',
907
+ name: 'create',
908
+ inputs: [
909
+ {
910
+ name: '_gameType',
911
+ type: 'uint32',
912
+ internalType: 'GameType',
913
+ },
914
+ {
915
+ name: '_rootClaim',
916
+ type: 'bytes32',
917
+ internalType: 'Claim',
918
+ },
919
+ {
920
+ name: '_extraData',
921
+ type: 'bytes',
922
+ internalType: 'bytes',
923
+ },
924
+ ],
925
+ outputs: [
926
+ {
927
+ name: 'proxy_',
928
+ type: 'address',
929
+ internalType: 'contract IDisputeGame',
930
+ },
931
+ ],
932
+ stateMutability: 'payable',
933
+ },
934
+ {
935
+ type: 'function',
936
+ name: 'findLatestGames',
937
+ inputs: [
938
+ {
939
+ name: '_gameType',
940
+ type: 'uint32',
941
+ internalType: 'GameType',
942
+ },
943
+ {
944
+ name: '_start',
945
+ type: 'uint256',
946
+ internalType: 'uint256',
947
+ },
948
+ {
949
+ name: '_n',
950
+ type: 'uint256',
951
+ internalType: 'uint256',
952
+ },
953
+ ],
954
+ outputs: [
955
+ {
956
+ name: 'games_',
957
+ type: 'tuple[]',
958
+ internalType: 'struct IDisputeGameFactory.GameSearchResult[]',
959
+ components: [
960
+ {
961
+ name: 'index',
962
+ type: 'uint256',
963
+ internalType: 'uint256',
964
+ },
965
+ {
966
+ name: 'metadata',
967
+ type: 'bytes32',
968
+ internalType: 'GameId',
969
+ },
970
+ {
971
+ name: 'timestamp',
972
+ type: 'uint64',
973
+ internalType: 'Timestamp',
974
+ },
975
+ {
976
+ name: 'rootClaim',
977
+ type: 'bytes32',
978
+ internalType: 'Claim',
979
+ },
980
+ {
981
+ name: 'extraData',
982
+ type: 'bytes',
983
+ internalType: 'bytes',
984
+ },
985
+ ],
986
+ },
987
+ ],
988
+ stateMutability: 'view',
989
+ },
990
+ {
991
+ type: 'function',
992
+ name: 'gameAtIndex',
993
+ inputs: [
994
+ {
995
+ name: '_index',
996
+ type: 'uint256',
997
+ internalType: 'uint256',
998
+ },
999
+ ],
1000
+ outputs: [
1001
+ {
1002
+ name: 'gameType_',
1003
+ type: 'uint32',
1004
+ internalType: 'GameType',
1005
+ },
1006
+ {
1007
+ name: 'timestamp_',
1008
+ type: 'uint64',
1009
+ internalType: 'Timestamp',
1010
+ },
1011
+ {
1012
+ name: 'proxy_',
1013
+ type: 'address',
1014
+ internalType: 'contract IDisputeGame',
1015
+ },
1016
+ ],
1017
+ stateMutability: 'view',
1018
+ },
1019
+ {
1020
+ type: 'function',
1021
+ name: 'gameCount',
1022
+ inputs: [],
1023
+ outputs: [
1024
+ {
1025
+ name: 'gameCount_',
1026
+ type: 'uint256',
1027
+ internalType: 'uint256',
1028
+ },
1029
+ ],
1030
+ stateMutability: 'view',
1031
+ },
1032
+ {
1033
+ type: 'function',
1034
+ name: 'gameImpls',
1035
+ inputs: [
1036
+ {
1037
+ name: '',
1038
+ type: 'uint32',
1039
+ internalType: 'GameType',
1040
+ },
1041
+ ],
1042
+ outputs: [
1043
+ {
1044
+ name: '',
1045
+ type: 'address',
1046
+ internalType: 'contract IDisputeGame',
1047
+ },
1048
+ ],
1049
+ stateMutability: 'view',
1050
+ },
1051
+ {
1052
+ type: 'function',
1053
+ name: 'games',
1054
+ inputs: [
1055
+ {
1056
+ name: '_gameType',
1057
+ type: 'uint32',
1058
+ internalType: 'GameType',
1059
+ },
1060
+ {
1061
+ name: '_rootClaim',
1062
+ type: 'bytes32',
1063
+ internalType: 'Claim',
1064
+ },
1065
+ {
1066
+ name: '_extraData',
1067
+ type: 'bytes',
1068
+ internalType: 'bytes',
1069
+ },
1070
+ ],
1071
+ outputs: [
1072
+ {
1073
+ name: 'proxy_',
1074
+ type: 'address',
1075
+ internalType: 'contract IDisputeGame',
1076
+ },
1077
+ {
1078
+ name: 'timestamp_',
1079
+ type: 'uint64',
1080
+ internalType: 'Timestamp',
1081
+ },
1082
+ ],
1083
+ stateMutability: 'view',
1084
+ },
1085
+ {
1086
+ type: 'function',
1087
+ name: 'getGameUUID',
1088
+ inputs: [
1089
+ {
1090
+ name: '_gameType',
1091
+ type: 'uint32',
1092
+ internalType: 'GameType',
1093
+ },
1094
+ {
1095
+ name: '_rootClaim',
1096
+ type: 'bytes32',
1097
+ internalType: 'Claim',
1098
+ },
1099
+ {
1100
+ name: '_extraData',
1101
+ type: 'bytes',
1102
+ internalType: 'bytes',
1103
+ },
1104
+ ],
1105
+ outputs: [
1106
+ {
1107
+ name: 'uuid_',
1108
+ type: 'bytes32',
1109
+ internalType: 'Hash',
1110
+ },
1111
+ ],
1112
+ stateMutability: 'pure',
1113
+ },
1114
+ {
1115
+ type: 'function',
1116
+ name: 'initBonds',
1117
+ inputs: [
1118
+ {
1119
+ name: '',
1120
+ type: 'uint32',
1121
+ internalType: 'GameType',
1122
+ },
1123
+ ],
1124
+ outputs: [
1125
+ {
1126
+ name: '',
1127
+ type: 'uint256',
1128
+ internalType: 'uint256',
1129
+ },
1130
+ ],
1131
+ stateMutability: 'view',
1132
+ },
1133
+ {
1134
+ type: 'function',
1135
+ name: 'initialize',
1136
+ inputs: [
1137
+ {
1138
+ name: '_owner',
1139
+ type: 'address',
1140
+ internalType: 'address',
1141
+ },
1142
+ ],
1143
+ outputs: [],
1144
+ stateMutability: 'nonpayable',
1145
+ },
1146
+ {
1147
+ type: 'function',
1148
+ name: 'owner',
1149
+ inputs: [],
1150
+ outputs: [
1151
+ {
1152
+ name: '',
1153
+ type: 'address',
1154
+ internalType: 'address',
1155
+ },
1156
+ ],
1157
+ stateMutability: 'view',
1158
+ },
1159
+ {
1160
+ type: 'function',
1161
+ name: 'renounceOwnership',
1162
+ inputs: [],
1163
+ outputs: [],
1164
+ stateMutability: 'nonpayable',
1165
+ },
1166
+ {
1167
+ type: 'function',
1168
+ name: 'setImplementation',
1169
+ inputs: [
1170
+ {
1171
+ name: '_gameType',
1172
+ type: 'uint32',
1173
+ internalType: 'GameType',
1174
+ },
1175
+ {
1176
+ name: '_impl',
1177
+ type: 'address',
1178
+ internalType: 'contract IDisputeGame',
1179
+ },
1180
+ ],
1181
+ outputs: [],
1182
+ stateMutability: 'nonpayable',
1183
+ },
1184
+ {
1185
+ type: 'function',
1186
+ name: 'setInitBond',
1187
+ inputs: [
1188
+ {
1189
+ name: '_gameType',
1190
+ type: 'uint32',
1191
+ internalType: 'GameType',
1192
+ },
1193
+ {
1194
+ name: '_initBond',
1195
+ type: 'uint256',
1196
+ internalType: 'uint256',
1197
+ },
1198
+ ],
1199
+ outputs: [],
1200
+ stateMutability: 'nonpayable',
1201
+ },
1202
+ {
1203
+ type: 'function',
1204
+ name: 'transferOwnership',
1205
+ inputs: [
1206
+ {
1207
+ name: 'newOwner',
1208
+ type: 'address',
1209
+ internalType: 'address',
1210
+ },
1211
+ ],
1212
+ outputs: [],
1213
+ stateMutability: 'nonpayable',
1214
+ },
1215
+ {
1216
+ type: 'function',
1217
+ name: 'version',
1218
+ inputs: [],
1219
+ outputs: [
1220
+ {
1221
+ name: '',
1222
+ type: 'string',
1223
+ internalType: 'string',
1224
+ },
1225
+ ],
1226
+ stateMutability: 'view',
1227
+ },
1228
+ {
1229
+ type: 'event',
1230
+ name: 'DisputeGameCreated',
1231
+ inputs: [
1232
+ {
1233
+ name: 'disputeProxy',
1234
+ type: 'address',
1235
+ indexed: true,
1236
+ internalType: 'address',
1237
+ },
1238
+ {
1239
+ name: 'gameType',
1240
+ type: 'uint32',
1241
+ indexed: true,
1242
+ internalType: 'GameType',
1243
+ },
1244
+ {
1245
+ name: 'rootClaim',
1246
+ type: 'bytes32',
1247
+ indexed: true,
1248
+ internalType: 'Claim',
1249
+ },
1250
+ ],
1251
+ anonymous: false,
1252
+ },
1253
+ {
1254
+ type: 'event',
1255
+ name: 'ImplementationSet',
1256
+ inputs: [
1257
+ {
1258
+ name: 'impl',
1259
+ type: 'address',
1260
+ indexed: true,
1261
+ internalType: 'address',
1262
+ },
1263
+ {
1264
+ name: 'gameType',
1265
+ type: 'uint32',
1266
+ indexed: true,
1267
+ internalType: 'GameType',
1268
+ },
1269
+ ],
1270
+ anonymous: false,
1271
+ },
1272
+ {
1273
+ type: 'event',
1274
+ name: 'InitBondUpdated',
1275
+ inputs: [
1276
+ {
1277
+ name: 'gameType',
1278
+ type: 'uint32',
1279
+ indexed: true,
1280
+ internalType: 'GameType',
1281
+ },
1282
+ {
1283
+ name: 'newBond',
1284
+ type: 'uint256',
1285
+ indexed: true,
1286
+ internalType: 'uint256',
1287
+ },
1288
+ ],
1289
+ anonymous: false,
1290
+ },
1291
+ {
1292
+ type: 'event',
1293
+ name: 'Initialized',
1294
+ inputs: [
1295
+ {
1296
+ name: 'version',
1297
+ type: 'uint8',
1298
+ indexed: false,
1299
+ internalType: 'uint8',
1300
+ },
1301
+ ],
1302
+ anonymous: false,
1303
+ },
1304
+ {
1305
+ type: 'event',
1306
+ name: 'OwnershipTransferred',
1307
+ inputs: [
1308
+ {
1309
+ name: 'previousOwner',
1310
+ type: 'address',
1311
+ indexed: true,
1312
+ internalType: 'address',
1313
+ },
1314
+ {
1315
+ name: 'newOwner',
1316
+ type: 'address',
1317
+ indexed: true,
1318
+ internalType: 'address',
1319
+ },
1320
+ ],
1321
+ anonymous: false,
1322
+ },
1323
+ {
1324
+ type: 'error',
1325
+ name: 'GameAlreadyExists',
1326
+ inputs: [
1327
+ {
1328
+ name: 'uuid',
1329
+ type: 'bytes32',
1330
+ internalType: 'Hash',
1331
+ },
1332
+ ],
1333
+ },
1334
+ {
1335
+ type: 'error',
1336
+ name: 'InsufficientBond',
1337
+ inputs: [],
1338
+ },
1339
+ {
1340
+ type: 'error',
1341
+ name: 'NoImplementation',
1342
+ inputs: [
1343
+ {
1344
+ name: 'gameType',
1345
+ type: 'uint32',
1346
+ internalType: 'GameType',
1347
+ },
1348
+ ],
1349
+ },
1350
+ ];
1351
+ exports.portal2Abi = [
1352
+ {
1353
+ inputs: [
1354
+ {
1355
+ internalType: 'uint256',
1356
+ name: '_proofMaturityDelaySeconds',
1357
+ type: 'uint256',
1358
+ },
1359
+ {
1360
+ internalType: 'uint256',
1361
+ name: '_disputeGameFinalityDelaySeconds',
1362
+ type: 'uint256',
1363
+ },
1364
+ {
1365
+ internalType: 'GameType',
1366
+ name: '_initialRespectedGameType',
1367
+ type: 'uint32',
1368
+ },
1369
+ ],
1370
+ stateMutability: 'nonpayable',
1371
+ type: 'constructor',
1372
+ },
1373
+ {
1374
+ stateMutability: 'payable',
1375
+ type: 'receive',
1376
+ },
1377
+ {
1378
+ inputs: [],
1379
+ name: 'GUARDIAN',
1380
+ outputs: [
1381
+ {
1382
+ internalType: 'address',
1383
+ name: '',
1384
+ type: 'address',
1385
+ },
1386
+ ],
1387
+ stateMutability: 'view',
1388
+ type: 'function',
1389
+ },
1390
+ {
1391
+ inputs: [],
1392
+ name: 'SYSTEM_CONFIG',
1393
+ outputs: [
1394
+ {
1395
+ internalType: 'contract SystemConfig',
1396
+ name: '',
1397
+ type: 'address',
1398
+ },
1399
+ ],
1400
+ stateMutability: 'view',
1401
+ type: 'function',
1402
+ },
1403
+ {
1404
+ inputs: [
1405
+ {
1406
+ internalType: 'contract IDisputeGame',
1407
+ name: '_disputeGame',
1408
+ type: 'address',
1409
+ },
1410
+ ],
1411
+ name: 'blacklistDisputeGame',
1412
+ outputs: [],
1413
+ stateMutability: 'nonpayable',
1414
+ type: 'function',
1415
+ },
1416
+ {
1417
+ inputs: [
1418
+ {
1419
+ internalType: 'bytes32',
1420
+ name: '_withdrawalHash',
1421
+ type: 'bytes32',
1422
+ },
1423
+ ],
1424
+ name: 'checkWithdrawal',
1425
+ outputs: [],
1426
+ stateMutability: 'view',
1427
+ type: 'function',
1428
+ },
1429
+ {
1430
+ inputs: [
1431
+ {
1432
+ internalType: 'address',
1433
+ name: '_to',
1434
+ type: 'address',
1435
+ },
1436
+ {
1437
+ internalType: 'uint256',
1438
+ name: '_value',
1439
+ type: 'uint256',
1440
+ },
1441
+ {
1442
+ internalType: 'uint64',
1443
+ name: '_gasLimit',
1444
+ type: 'uint64',
1445
+ },
1446
+ {
1447
+ internalType: 'bool',
1448
+ name: '_isCreation',
1449
+ type: 'bool',
1450
+ },
1451
+ {
1452
+ internalType: 'bytes',
1453
+ name: '_data',
1454
+ type: 'bytes',
1455
+ },
1456
+ ],
1457
+ name: 'depositTransaction',
1458
+ outputs: [],
1459
+ stateMutability: 'payable',
1460
+ type: 'function',
1461
+ },
1462
+ {
1463
+ inputs: [
1464
+ {
1465
+ internalType: 'contract IDisputeGame',
1466
+ name: '',
1467
+ type: 'address',
1468
+ },
1469
+ ],
1470
+ name: 'disputeGameBlacklist',
1471
+ outputs: [
1472
+ {
1473
+ internalType: 'bool',
1474
+ name: '',
1475
+ type: 'bool',
1476
+ },
1477
+ ],
1478
+ stateMutability: 'view',
1479
+ type: 'function',
1480
+ },
1481
+ {
1482
+ inputs: [],
1483
+ name: 'disputeGameFactory',
1484
+ outputs: [
1485
+ {
1486
+ internalType: 'contract DisputeGameFactory',
1487
+ name: '',
1488
+ type: 'address',
1489
+ },
1490
+ ],
1491
+ stateMutability: 'view',
1492
+ type: 'function',
1493
+ },
1494
+ {
1495
+ inputs: [],
1496
+ name: 'disputeGameFinalityDelaySeconds',
1497
+ outputs: [
1498
+ {
1499
+ internalType: 'uint256',
1500
+ name: '',
1501
+ type: 'uint256',
1502
+ },
1503
+ ],
1504
+ stateMutability: 'view',
1505
+ type: 'function',
1506
+ },
1507
+ {
1508
+ inputs: [],
1509
+ name: 'donateETH',
1510
+ outputs: [],
1511
+ stateMutability: 'payable',
1512
+ type: 'function',
1513
+ },
1514
+ {
1515
+ inputs: [
1516
+ {
1517
+ components: [
1518
+ {
1519
+ internalType: 'uint256',
1520
+ name: 'nonce',
1521
+ type: 'uint256',
1522
+ },
1523
+ {
1524
+ internalType: 'address',
1525
+ name: 'sender',
1526
+ type: 'address',
1527
+ },
1528
+ {
1529
+ internalType: 'address',
1530
+ name: 'target',
1531
+ type: 'address',
1532
+ },
1533
+ {
1534
+ internalType: 'uint256',
1535
+ name: 'value',
1536
+ type: 'uint256',
1537
+ },
1538
+ {
1539
+ internalType: 'uint256',
1540
+ name: 'gasLimit',
1541
+ type: 'uint256',
1542
+ },
1543
+ {
1544
+ internalType: 'bytes',
1545
+ name: 'data',
1546
+ type: 'bytes',
1547
+ },
1548
+ ],
1549
+ internalType: 'struct Types.WithdrawalTransaction',
1550
+ name: '_tx',
1551
+ type: 'tuple',
1552
+ },
1553
+ ],
1554
+ name: 'finalizeWithdrawalTransaction',
1555
+ outputs: [],
1556
+ stateMutability: 'nonpayable',
1557
+ type: 'function',
1558
+ },
1559
+ {
1560
+ inputs: [
1561
+ {
1562
+ internalType: 'bytes32',
1563
+ name: '',
1564
+ type: 'bytes32',
1565
+ },
1566
+ ],
1567
+ name: 'finalizedWithdrawals',
1568
+ outputs: [
1569
+ {
1570
+ internalType: 'bool',
1571
+ name: '',
1572
+ type: 'bool',
1573
+ },
1574
+ ],
1575
+ stateMutability: 'view',
1576
+ type: 'function',
1577
+ },
1578
+ {
1579
+ inputs: [],
1580
+ name: 'guardian',
1581
+ outputs: [
1582
+ {
1583
+ internalType: 'address',
1584
+ name: '',
1585
+ type: 'address',
1586
+ },
1587
+ ],
1588
+ stateMutability: 'view',
1589
+ type: 'function',
1590
+ },
1591
+ {
1592
+ inputs: [
1593
+ {
1594
+ internalType: 'contract DisputeGameFactory',
1595
+ name: '_disputeGameFactory',
1596
+ type: 'address',
1597
+ },
1598
+ {
1599
+ internalType: 'contract SystemConfig',
1600
+ name: '_systemConfig',
1601
+ type: 'address',
1602
+ },
1603
+ {
1604
+ internalType: 'contract SuperchainConfig',
1605
+ name: '_superchainConfig',
1606
+ type: 'address',
1607
+ },
1608
+ ],
1609
+ name: 'initialize',
1610
+ outputs: [],
1611
+ stateMutability: 'nonpayable',
1612
+ type: 'function',
1613
+ },
1614
+ {
1615
+ inputs: [],
1616
+ name: 'l2Sender',
1617
+ outputs: [
1618
+ {
1619
+ internalType: 'address',
1620
+ name: '',
1621
+ type: 'address',
1622
+ },
1623
+ ],
1624
+ stateMutability: 'view',
1625
+ type: 'function',
1626
+ },
1627
+ {
1628
+ inputs: [
1629
+ {
1630
+ internalType: 'uint64',
1631
+ name: '_byteCount',
1632
+ type: 'uint64',
1633
+ },
1634
+ ],
1635
+ name: 'minimumGasLimit',
1636
+ outputs: [
1637
+ {
1638
+ internalType: 'uint64',
1639
+ name: '',
1640
+ type: 'uint64',
1641
+ },
1642
+ ],
1643
+ stateMutability: 'pure',
1644
+ type: 'function',
1645
+ },
1646
+ {
1647
+ inputs: [],
1648
+ name: 'params',
1649
+ outputs: [
1650
+ {
1651
+ internalType: 'uint128',
1652
+ name: 'prevBaseFee',
1653
+ type: 'uint128',
1654
+ },
1655
+ {
1656
+ internalType: 'uint64',
1657
+ name: 'prevBoughtGas',
1658
+ type: 'uint64',
1659
+ },
1660
+ {
1661
+ internalType: 'uint64',
1662
+ name: 'prevBlockNum',
1663
+ type: 'uint64',
1664
+ },
1665
+ ],
1666
+ stateMutability: 'view',
1667
+ type: 'function',
1668
+ },
1669
+ {
1670
+ inputs: [],
1671
+ name: 'paused',
1672
+ outputs: [
1673
+ {
1674
+ internalType: 'bool',
1675
+ name: '',
1676
+ type: 'bool',
1677
+ },
1678
+ ],
1679
+ stateMutability: 'view',
1680
+ type: 'function',
1681
+ },
1682
+ {
1683
+ inputs: [],
1684
+ name: 'proofMaturityDelaySeconds',
1685
+ outputs: [
1686
+ {
1687
+ internalType: 'uint256',
1688
+ name: '',
1689
+ type: 'uint256',
1690
+ },
1691
+ ],
1692
+ stateMutability: 'view',
1693
+ type: 'function',
1694
+ },
1695
+ {
1696
+ inputs: [
1697
+ {
1698
+ components: [
1699
+ {
1700
+ internalType: 'uint256',
1701
+ name: 'nonce',
1702
+ type: 'uint256',
1703
+ },
1704
+ {
1705
+ internalType: 'address',
1706
+ name: 'sender',
1707
+ type: 'address',
1708
+ },
1709
+ {
1710
+ internalType: 'address',
1711
+ name: 'target',
1712
+ type: 'address',
1713
+ },
1714
+ {
1715
+ internalType: 'uint256',
1716
+ name: 'value',
1717
+ type: 'uint256',
1718
+ },
1719
+ {
1720
+ internalType: 'uint256',
1721
+ name: 'gasLimit',
1722
+ type: 'uint256',
1723
+ },
1724
+ {
1725
+ internalType: 'bytes',
1726
+ name: 'data',
1727
+ type: 'bytes',
1728
+ },
1729
+ ],
1730
+ internalType: 'struct Types.WithdrawalTransaction',
1731
+ name: '_tx',
1732
+ type: 'tuple',
1733
+ },
1734
+ {
1735
+ internalType: 'uint256',
1736
+ name: '_disputeGameIndex',
1737
+ type: 'uint256',
1738
+ },
1739
+ {
1740
+ components: [
1741
+ {
1742
+ internalType: 'bytes32',
1743
+ name: 'version',
1744
+ type: 'bytes32',
1745
+ },
1746
+ {
1747
+ internalType: 'bytes32',
1748
+ name: 'stateRoot',
1749
+ type: 'bytes32',
1750
+ },
1751
+ {
1752
+ internalType: 'bytes32',
1753
+ name: 'messagePasserStorageRoot',
1754
+ type: 'bytes32',
1755
+ },
1756
+ {
1757
+ internalType: 'bytes32',
1758
+ name: 'latestBlockhash',
1759
+ type: 'bytes32',
1760
+ },
1761
+ ],
1762
+ internalType: 'struct Types.OutputRootProof',
1763
+ name: '_outputRootProof',
1764
+ type: 'tuple',
1765
+ },
1766
+ {
1767
+ internalType: 'bytes[]',
1768
+ name: '_withdrawalProof',
1769
+ type: 'bytes[]',
1770
+ },
1771
+ ],
1772
+ name: 'proveWithdrawalTransaction',
1773
+ outputs: [],
1774
+ stateMutability: 'nonpayable',
1775
+ type: 'function',
1776
+ },
1777
+ {
1778
+ inputs: [
1779
+ {
1780
+ internalType: 'bytes32',
1781
+ name: '',
1782
+ type: 'bytes32',
1783
+ },
1784
+ ],
1785
+ name: 'provenWithdrawals',
1786
+ outputs: [
1787
+ {
1788
+ internalType: 'contract IDisputeGame',
1789
+ name: 'disputeGameProxy',
1790
+ type: 'address',
1791
+ },
1792
+ {
1793
+ internalType: 'uint64',
1794
+ name: 'timestamp',
1795
+ type: 'uint64',
1796
+ },
1797
+ ],
1798
+ stateMutability: 'view',
1799
+ type: 'function',
1800
+ },
1801
+ {
1802
+ inputs: [],
1803
+ name: 'respectedGameType',
1804
+ outputs: [
1805
+ {
1806
+ internalType: 'GameType',
1807
+ name: '',
1808
+ type: 'uint32',
1809
+ },
1810
+ ],
1811
+ stateMutability: 'view',
1812
+ type: 'function',
1813
+ },
1814
+ {
1815
+ inputs: [],
1816
+ name: 'respectedGameTypeUpdatedAt',
1817
+ outputs: [
1818
+ {
1819
+ internalType: 'uint64',
1820
+ name: '',
1821
+ type: 'uint64',
1822
+ },
1823
+ ],
1824
+ stateMutability: 'view',
1825
+ type: 'function',
1826
+ },
1827
+ {
1828
+ inputs: [
1829
+ {
1830
+ internalType: 'GameType',
1831
+ name: '_gameType',
1832
+ type: 'uint32',
1833
+ },
1834
+ ],
1835
+ name: 'setRespectedGameType',
1836
+ outputs: [],
1837
+ stateMutability: 'nonpayable',
1838
+ type: 'function',
1839
+ },
1840
+ {
1841
+ inputs: [],
1842
+ name: 'superchainConfig',
1843
+ outputs: [
1844
+ {
1845
+ internalType: 'contract SuperchainConfig',
1846
+ name: '',
1847
+ type: 'address',
1848
+ },
1849
+ ],
1850
+ stateMutability: 'view',
1851
+ type: 'function',
1852
+ },
1853
+ {
1854
+ inputs: [],
1855
+ name: 'systemConfig',
1856
+ outputs: [
1857
+ {
1858
+ internalType: 'contract SystemConfig',
1859
+ name: '',
1860
+ type: 'address',
1861
+ },
1862
+ ],
1863
+ stateMutability: 'view',
1864
+ type: 'function',
1865
+ },
1866
+ {
1867
+ inputs: [],
1868
+ name: 'version',
1869
+ outputs: [
1870
+ {
1871
+ internalType: 'string',
1872
+ name: '',
1873
+ type: 'string',
1874
+ },
1875
+ ],
1876
+ stateMutability: 'view',
1877
+ type: 'function',
1878
+ },
1879
+ {
1880
+ anonymous: false,
1881
+ inputs: [
1882
+ {
1883
+ indexed: false,
1884
+ internalType: 'uint8',
1885
+ name: 'version',
1886
+ type: 'uint8',
1887
+ },
1888
+ ],
1889
+ name: 'Initialized',
1890
+ type: 'event',
1891
+ },
1892
+ {
1893
+ anonymous: false,
1894
+ inputs: [
1895
+ {
1896
+ indexed: true,
1897
+ internalType: 'address',
1898
+ name: 'from',
1899
+ type: 'address',
1900
+ },
1901
+ {
1902
+ indexed: true,
1903
+ internalType: 'address',
1904
+ name: 'to',
1905
+ type: 'address',
1906
+ },
1907
+ {
1908
+ indexed: true,
1909
+ internalType: 'uint256',
1910
+ name: 'version',
1911
+ type: 'uint256',
1912
+ },
1913
+ {
1914
+ indexed: false,
1915
+ internalType: 'bytes',
1916
+ name: 'opaqueData',
1917
+ type: 'bytes',
1918
+ },
1919
+ ],
1920
+ name: 'TransactionDeposited',
1921
+ type: 'event',
1922
+ },
1923
+ {
1924
+ anonymous: false,
1925
+ inputs: [
1926
+ {
1927
+ indexed: true,
1928
+ internalType: 'bytes32',
1929
+ name: 'withdrawalHash',
1930
+ type: 'bytes32',
1931
+ },
1932
+ {
1933
+ indexed: false,
1934
+ internalType: 'bool',
1935
+ name: 'success',
1936
+ type: 'bool',
1937
+ },
1938
+ ],
1939
+ name: 'WithdrawalFinalized',
1940
+ type: 'event',
1941
+ },
1942
+ {
1943
+ anonymous: false,
1944
+ inputs: [
1945
+ {
1946
+ indexed: true,
1947
+ internalType: 'bytes32',
1948
+ name: 'withdrawalHash',
1949
+ type: 'bytes32',
1950
+ },
1951
+ {
1952
+ indexed: true,
1953
+ internalType: 'address',
1954
+ name: 'from',
1955
+ type: 'address',
1956
+ },
1957
+ {
1958
+ indexed: true,
1959
+ internalType: 'address',
1960
+ name: 'to',
1961
+ type: 'address',
1962
+ },
1963
+ ],
1964
+ name: 'WithdrawalProven',
1965
+ type: 'event',
1966
+ },
1967
+ ];
899
1968
  exports.portalAbi = [
900
1969
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
901
1970
  {