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
@@ -901,6 +901,1077 @@ export const l2ToL1MessagePasserAbi = [
901
901
  { stateMutability: 'payable', type: 'receive' },
902
902
  ] as const
903
903
 
904
+ export const disputeGameFactoryAbi = [
905
+ {
906
+ type: 'constructor',
907
+ inputs: [],
908
+ stateMutability: 'nonpayable',
909
+ },
910
+ {
911
+ type: 'function',
912
+ name: 'create',
913
+ inputs: [
914
+ {
915
+ name: '_gameType',
916
+ type: 'uint32',
917
+ internalType: 'GameType',
918
+ },
919
+ {
920
+ name: '_rootClaim',
921
+ type: 'bytes32',
922
+ internalType: 'Claim',
923
+ },
924
+ {
925
+ name: '_extraData',
926
+ type: 'bytes',
927
+ internalType: 'bytes',
928
+ },
929
+ ],
930
+ outputs: [
931
+ {
932
+ name: 'proxy_',
933
+ type: 'address',
934
+ internalType: 'contract IDisputeGame',
935
+ },
936
+ ],
937
+ stateMutability: 'payable',
938
+ },
939
+ {
940
+ type: 'function',
941
+ name: 'findLatestGames',
942
+ inputs: [
943
+ {
944
+ name: '_gameType',
945
+ type: 'uint32',
946
+ internalType: 'GameType',
947
+ },
948
+ {
949
+ name: '_start',
950
+ type: 'uint256',
951
+ internalType: 'uint256',
952
+ },
953
+ {
954
+ name: '_n',
955
+ type: 'uint256',
956
+ internalType: 'uint256',
957
+ },
958
+ ],
959
+ outputs: [
960
+ {
961
+ name: 'games_',
962
+ type: 'tuple[]',
963
+ internalType: 'struct IDisputeGameFactory.GameSearchResult[]',
964
+ components: [
965
+ {
966
+ name: 'index',
967
+ type: 'uint256',
968
+ internalType: 'uint256',
969
+ },
970
+ {
971
+ name: 'metadata',
972
+ type: 'bytes32',
973
+ internalType: 'GameId',
974
+ },
975
+ {
976
+ name: 'timestamp',
977
+ type: 'uint64',
978
+ internalType: 'Timestamp',
979
+ },
980
+ {
981
+ name: 'rootClaim',
982
+ type: 'bytes32',
983
+ internalType: 'Claim',
984
+ },
985
+ {
986
+ name: 'extraData',
987
+ type: 'bytes',
988
+ internalType: 'bytes',
989
+ },
990
+ ],
991
+ },
992
+ ],
993
+ stateMutability: 'view',
994
+ },
995
+ {
996
+ type: 'function',
997
+ name: 'gameAtIndex',
998
+ inputs: [
999
+ {
1000
+ name: '_index',
1001
+ type: 'uint256',
1002
+ internalType: 'uint256',
1003
+ },
1004
+ ],
1005
+ outputs: [
1006
+ {
1007
+ name: 'gameType_',
1008
+ type: 'uint32',
1009
+ internalType: 'GameType',
1010
+ },
1011
+ {
1012
+ name: 'timestamp_',
1013
+ type: 'uint64',
1014
+ internalType: 'Timestamp',
1015
+ },
1016
+ {
1017
+ name: 'proxy_',
1018
+ type: 'address',
1019
+ internalType: 'contract IDisputeGame',
1020
+ },
1021
+ ],
1022
+ stateMutability: 'view',
1023
+ },
1024
+ {
1025
+ type: 'function',
1026
+ name: 'gameCount',
1027
+ inputs: [],
1028
+ outputs: [
1029
+ {
1030
+ name: 'gameCount_',
1031
+ type: 'uint256',
1032
+ internalType: 'uint256',
1033
+ },
1034
+ ],
1035
+ stateMutability: 'view',
1036
+ },
1037
+ {
1038
+ type: 'function',
1039
+ name: 'gameImpls',
1040
+ inputs: [
1041
+ {
1042
+ name: '',
1043
+ type: 'uint32',
1044
+ internalType: 'GameType',
1045
+ },
1046
+ ],
1047
+ outputs: [
1048
+ {
1049
+ name: '',
1050
+ type: 'address',
1051
+ internalType: 'contract IDisputeGame',
1052
+ },
1053
+ ],
1054
+ stateMutability: 'view',
1055
+ },
1056
+ {
1057
+ type: 'function',
1058
+ name: 'games',
1059
+ inputs: [
1060
+ {
1061
+ name: '_gameType',
1062
+ type: 'uint32',
1063
+ internalType: 'GameType',
1064
+ },
1065
+ {
1066
+ name: '_rootClaim',
1067
+ type: 'bytes32',
1068
+ internalType: 'Claim',
1069
+ },
1070
+ {
1071
+ name: '_extraData',
1072
+ type: 'bytes',
1073
+ internalType: 'bytes',
1074
+ },
1075
+ ],
1076
+ outputs: [
1077
+ {
1078
+ name: 'proxy_',
1079
+ type: 'address',
1080
+ internalType: 'contract IDisputeGame',
1081
+ },
1082
+ {
1083
+ name: 'timestamp_',
1084
+ type: 'uint64',
1085
+ internalType: 'Timestamp',
1086
+ },
1087
+ ],
1088
+ stateMutability: 'view',
1089
+ },
1090
+ {
1091
+ type: 'function',
1092
+ name: 'getGameUUID',
1093
+ inputs: [
1094
+ {
1095
+ name: '_gameType',
1096
+ type: 'uint32',
1097
+ internalType: 'GameType',
1098
+ },
1099
+ {
1100
+ name: '_rootClaim',
1101
+ type: 'bytes32',
1102
+ internalType: 'Claim',
1103
+ },
1104
+ {
1105
+ name: '_extraData',
1106
+ type: 'bytes',
1107
+ internalType: 'bytes',
1108
+ },
1109
+ ],
1110
+ outputs: [
1111
+ {
1112
+ name: 'uuid_',
1113
+ type: 'bytes32',
1114
+ internalType: 'Hash',
1115
+ },
1116
+ ],
1117
+ stateMutability: 'pure',
1118
+ },
1119
+ {
1120
+ type: 'function',
1121
+ name: 'initBonds',
1122
+ inputs: [
1123
+ {
1124
+ name: '',
1125
+ type: 'uint32',
1126
+ internalType: 'GameType',
1127
+ },
1128
+ ],
1129
+ outputs: [
1130
+ {
1131
+ name: '',
1132
+ type: 'uint256',
1133
+ internalType: 'uint256',
1134
+ },
1135
+ ],
1136
+ stateMutability: 'view',
1137
+ },
1138
+ {
1139
+ type: 'function',
1140
+ name: 'initialize',
1141
+ inputs: [
1142
+ {
1143
+ name: '_owner',
1144
+ type: 'address',
1145
+ internalType: 'address',
1146
+ },
1147
+ ],
1148
+ outputs: [],
1149
+ stateMutability: 'nonpayable',
1150
+ },
1151
+ {
1152
+ type: 'function',
1153
+ name: 'owner',
1154
+ inputs: [],
1155
+ outputs: [
1156
+ {
1157
+ name: '',
1158
+ type: 'address',
1159
+ internalType: 'address',
1160
+ },
1161
+ ],
1162
+ stateMutability: 'view',
1163
+ },
1164
+ {
1165
+ type: 'function',
1166
+ name: 'renounceOwnership',
1167
+ inputs: [],
1168
+ outputs: [],
1169
+ stateMutability: 'nonpayable',
1170
+ },
1171
+ {
1172
+ type: 'function',
1173
+ name: 'setImplementation',
1174
+ inputs: [
1175
+ {
1176
+ name: '_gameType',
1177
+ type: 'uint32',
1178
+ internalType: 'GameType',
1179
+ },
1180
+ {
1181
+ name: '_impl',
1182
+ type: 'address',
1183
+ internalType: 'contract IDisputeGame',
1184
+ },
1185
+ ],
1186
+ outputs: [],
1187
+ stateMutability: 'nonpayable',
1188
+ },
1189
+ {
1190
+ type: 'function',
1191
+ name: 'setInitBond',
1192
+ inputs: [
1193
+ {
1194
+ name: '_gameType',
1195
+ type: 'uint32',
1196
+ internalType: 'GameType',
1197
+ },
1198
+ {
1199
+ name: '_initBond',
1200
+ type: 'uint256',
1201
+ internalType: 'uint256',
1202
+ },
1203
+ ],
1204
+ outputs: [],
1205
+ stateMutability: 'nonpayable',
1206
+ },
1207
+ {
1208
+ type: 'function',
1209
+ name: 'transferOwnership',
1210
+ inputs: [
1211
+ {
1212
+ name: 'newOwner',
1213
+ type: 'address',
1214
+ internalType: 'address',
1215
+ },
1216
+ ],
1217
+ outputs: [],
1218
+ stateMutability: 'nonpayable',
1219
+ },
1220
+ {
1221
+ type: 'function',
1222
+ name: 'version',
1223
+ inputs: [],
1224
+ outputs: [
1225
+ {
1226
+ name: '',
1227
+ type: 'string',
1228
+ internalType: 'string',
1229
+ },
1230
+ ],
1231
+ stateMutability: 'view',
1232
+ },
1233
+ {
1234
+ type: 'event',
1235
+ name: 'DisputeGameCreated',
1236
+ inputs: [
1237
+ {
1238
+ name: 'disputeProxy',
1239
+ type: 'address',
1240
+ indexed: true,
1241
+ internalType: 'address',
1242
+ },
1243
+ {
1244
+ name: 'gameType',
1245
+ type: 'uint32',
1246
+ indexed: true,
1247
+ internalType: 'GameType',
1248
+ },
1249
+ {
1250
+ name: 'rootClaim',
1251
+ type: 'bytes32',
1252
+ indexed: true,
1253
+ internalType: 'Claim',
1254
+ },
1255
+ ],
1256
+ anonymous: false,
1257
+ },
1258
+ {
1259
+ type: 'event',
1260
+ name: 'ImplementationSet',
1261
+ inputs: [
1262
+ {
1263
+ name: 'impl',
1264
+ type: 'address',
1265
+ indexed: true,
1266
+ internalType: 'address',
1267
+ },
1268
+ {
1269
+ name: 'gameType',
1270
+ type: 'uint32',
1271
+ indexed: true,
1272
+ internalType: 'GameType',
1273
+ },
1274
+ ],
1275
+ anonymous: false,
1276
+ },
1277
+ {
1278
+ type: 'event',
1279
+ name: 'InitBondUpdated',
1280
+ inputs: [
1281
+ {
1282
+ name: 'gameType',
1283
+ type: 'uint32',
1284
+ indexed: true,
1285
+ internalType: 'GameType',
1286
+ },
1287
+ {
1288
+ name: 'newBond',
1289
+ type: 'uint256',
1290
+ indexed: true,
1291
+ internalType: 'uint256',
1292
+ },
1293
+ ],
1294
+ anonymous: false,
1295
+ },
1296
+ {
1297
+ type: 'event',
1298
+ name: 'Initialized',
1299
+ inputs: [
1300
+ {
1301
+ name: 'version',
1302
+ type: 'uint8',
1303
+ indexed: false,
1304
+ internalType: 'uint8',
1305
+ },
1306
+ ],
1307
+ anonymous: false,
1308
+ },
1309
+ {
1310
+ type: 'event',
1311
+ name: 'OwnershipTransferred',
1312
+ inputs: [
1313
+ {
1314
+ name: 'previousOwner',
1315
+ type: 'address',
1316
+ indexed: true,
1317
+ internalType: 'address',
1318
+ },
1319
+ {
1320
+ name: 'newOwner',
1321
+ type: 'address',
1322
+ indexed: true,
1323
+ internalType: 'address',
1324
+ },
1325
+ ],
1326
+ anonymous: false,
1327
+ },
1328
+ {
1329
+ type: 'error',
1330
+ name: 'GameAlreadyExists',
1331
+ inputs: [
1332
+ {
1333
+ name: 'uuid',
1334
+ type: 'bytes32',
1335
+ internalType: 'Hash',
1336
+ },
1337
+ ],
1338
+ },
1339
+ {
1340
+ type: 'error',
1341
+ name: 'InsufficientBond',
1342
+ inputs: [],
1343
+ },
1344
+ {
1345
+ type: 'error',
1346
+ name: 'NoImplementation',
1347
+ inputs: [
1348
+ {
1349
+ name: 'gameType',
1350
+ type: 'uint32',
1351
+ internalType: 'GameType',
1352
+ },
1353
+ ],
1354
+ },
1355
+ ] as const
1356
+
1357
+ export const portal2Abi = [
1358
+ {
1359
+ inputs: [
1360
+ {
1361
+ internalType: 'uint256',
1362
+ name: '_proofMaturityDelaySeconds',
1363
+ type: 'uint256',
1364
+ },
1365
+ {
1366
+ internalType: 'uint256',
1367
+ name: '_disputeGameFinalityDelaySeconds',
1368
+ type: 'uint256',
1369
+ },
1370
+ {
1371
+ internalType: 'GameType',
1372
+ name: '_initialRespectedGameType',
1373
+ type: 'uint32',
1374
+ },
1375
+ ],
1376
+ stateMutability: 'nonpayable',
1377
+ type: 'constructor',
1378
+ },
1379
+ {
1380
+ stateMutability: 'payable',
1381
+ type: 'receive',
1382
+ },
1383
+ {
1384
+ inputs: [],
1385
+ name: 'GUARDIAN',
1386
+ outputs: [
1387
+ {
1388
+ internalType: 'address',
1389
+ name: '',
1390
+ type: 'address',
1391
+ },
1392
+ ],
1393
+ stateMutability: 'view',
1394
+ type: 'function',
1395
+ },
1396
+ {
1397
+ inputs: [],
1398
+ name: 'SYSTEM_CONFIG',
1399
+ outputs: [
1400
+ {
1401
+ internalType: 'contract SystemConfig',
1402
+ name: '',
1403
+ type: 'address',
1404
+ },
1405
+ ],
1406
+ stateMutability: 'view',
1407
+ type: 'function',
1408
+ },
1409
+ {
1410
+ inputs: [
1411
+ {
1412
+ internalType: 'contract IDisputeGame',
1413
+ name: '_disputeGame',
1414
+ type: 'address',
1415
+ },
1416
+ ],
1417
+ name: 'blacklistDisputeGame',
1418
+ outputs: [],
1419
+ stateMutability: 'nonpayable',
1420
+ type: 'function',
1421
+ },
1422
+ {
1423
+ inputs: [
1424
+ {
1425
+ internalType: 'bytes32',
1426
+ name: '_withdrawalHash',
1427
+ type: 'bytes32',
1428
+ },
1429
+ ],
1430
+ name: 'checkWithdrawal',
1431
+ outputs: [],
1432
+ stateMutability: 'view',
1433
+ type: 'function',
1434
+ },
1435
+ {
1436
+ inputs: [
1437
+ {
1438
+ internalType: 'address',
1439
+ name: '_to',
1440
+ type: 'address',
1441
+ },
1442
+ {
1443
+ internalType: 'uint256',
1444
+ name: '_value',
1445
+ type: 'uint256',
1446
+ },
1447
+ {
1448
+ internalType: 'uint64',
1449
+ name: '_gasLimit',
1450
+ type: 'uint64',
1451
+ },
1452
+ {
1453
+ internalType: 'bool',
1454
+ name: '_isCreation',
1455
+ type: 'bool',
1456
+ },
1457
+ {
1458
+ internalType: 'bytes',
1459
+ name: '_data',
1460
+ type: 'bytes',
1461
+ },
1462
+ ],
1463
+ name: 'depositTransaction',
1464
+ outputs: [],
1465
+ stateMutability: 'payable',
1466
+ type: 'function',
1467
+ },
1468
+ {
1469
+ inputs: [
1470
+ {
1471
+ internalType: 'contract IDisputeGame',
1472
+ name: '',
1473
+ type: 'address',
1474
+ },
1475
+ ],
1476
+ name: 'disputeGameBlacklist',
1477
+ outputs: [
1478
+ {
1479
+ internalType: 'bool',
1480
+ name: '',
1481
+ type: 'bool',
1482
+ },
1483
+ ],
1484
+ stateMutability: 'view',
1485
+ type: 'function',
1486
+ },
1487
+ {
1488
+ inputs: [],
1489
+ name: 'disputeGameFactory',
1490
+ outputs: [
1491
+ {
1492
+ internalType: 'contract DisputeGameFactory',
1493
+ name: '',
1494
+ type: 'address',
1495
+ },
1496
+ ],
1497
+ stateMutability: 'view',
1498
+ type: 'function',
1499
+ },
1500
+ {
1501
+ inputs: [],
1502
+ name: 'disputeGameFinalityDelaySeconds',
1503
+ outputs: [
1504
+ {
1505
+ internalType: 'uint256',
1506
+ name: '',
1507
+ type: 'uint256',
1508
+ },
1509
+ ],
1510
+ stateMutability: 'view',
1511
+ type: 'function',
1512
+ },
1513
+ {
1514
+ inputs: [],
1515
+ name: 'donateETH',
1516
+ outputs: [],
1517
+ stateMutability: 'payable',
1518
+ type: 'function',
1519
+ },
1520
+ {
1521
+ inputs: [
1522
+ {
1523
+ components: [
1524
+ {
1525
+ internalType: 'uint256',
1526
+ name: 'nonce',
1527
+ type: 'uint256',
1528
+ },
1529
+ {
1530
+ internalType: 'address',
1531
+ name: 'sender',
1532
+ type: 'address',
1533
+ },
1534
+ {
1535
+ internalType: 'address',
1536
+ name: 'target',
1537
+ type: 'address',
1538
+ },
1539
+ {
1540
+ internalType: 'uint256',
1541
+ name: 'value',
1542
+ type: 'uint256',
1543
+ },
1544
+ {
1545
+ internalType: 'uint256',
1546
+ name: 'gasLimit',
1547
+ type: 'uint256',
1548
+ },
1549
+ {
1550
+ internalType: 'bytes',
1551
+ name: 'data',
1552
+ type: 'bytes',
1553
+ },
1554
+ ],
1555
+ internalType: 'struct Types.WithdrawalTransaction',
1556
+ name: '_tx',
1557
+ type: 'tuple',
1558
+ },
1559
+ ],
1560
+ name: 'finalizeWithdrawalTransaction',
1561
+ outputs: [],
1562
+ stateMutability: 'nonpayable',
1563
+ type: 'function',
1564
+ },
1565
+ {
1566
+ inputs: [
1567
+ {
1568
+ internalType: 'bytes32',
1569
+ name: '',
1570
+ type: 'bytes32',
1571
+ },
1572
+ ],
1573
+ name: 'finalizedWithdrawals',
1574
+ outputs: [
1575
+ {
1576
+ internalType: 'bool',
1577
+ name: '',
1578
+ type: 'bool',
1579
+ },
1580
+ ],
1581
+ stateMutability: 'view',
1582
+ type: 'function',
1583
+ },
1584
+ {
1585
+ inputs: [],
1586
+ name: 'guardian',
1587
+ outputs: [
1588
+ {
1589
+ internalType: 'address',
1590
+ name: '',
1591
+ type: 'address',
1592
+ },
1593
+ ],
1594
+ stateMutability: 'view',
1595
+ type: 'function',
1596
+ },
1597
+ {
1598
+ inputs: [
1599
+ {
1600
+ internalType: 'contract DisputeGameFactory',
1601
+ name: '_disputeGameFactory',
1602
+ type: 'address',
1603
+ },
1604
+ {
1605
+ internalType: 'contract SystemConfig',
1606
+ name: '_systemConfig',
1607
+ type: 'address',
1608
+ },
1609
+ {
1610
+ internalType: 'contract SuperchainConfig',
1611
+ name: '_superchainConfig',
1612
+ type: 'address',
1613
+ },
1614
+ ],
1615
+ name: 'initialize',
1616
+ outputs: [],
1617
+ stateMutability: 'nonpayable',
1618
+ type: 'function',
1619
+ },
1620
+ {
1621
+ inputs: [],
1622
+ name: 'l2Sender',
1623
+ outputs: [
1624
+ {
1625
+ internalType: 'address',
1626
+ name: '',
1627
+ type: 'address',
1628
+ },
1629
+ ],
1630
+ stateMutability: 'view',
1631
+ type: 'function',
1632
+ },
1633
+ {
1634
+ inputs: [
1635
+ {
1636
+ internalType: 'uint64',
1637
+ name: '_byteCount',
1638
+ type: 'uint64',
1639
+ },
1640
+ ],
1641
+ name: 'minimumGasLimit',
1642
+ outputs: [
1643
+ {
1644
+ internalType: 'uint64',
1645
+ name: '',
1646
+ type: 'uint64',
1647
+ },
1648
+ ],
1649
+ stateMutability: 'pure',
1650
+ type: 'function',
1651
+ },
1652
+ {
1653
+ inputs: [],
1654
+ name: 'params',
1655
+ outputs: [
1656
+ {
1657
+ internalType: 'uint128',
1658
+ name: 'prevBaseFee',
1659
+ type: 'uint128',
1660
+ },
1661
+ {
1662
+ internalType: 'uint64',
1663
+ name: 'prevBoughtGas',
1664
+ type: 'uint64',
1665
+ },
1666
+ {
1667
+ internalType: 'uint64',
1668
+ name: 'prevBlockNum',
1669
+ type: 'uint64',
1670
+ },
1671
+ ],
1672
+ stateMutability: 'view',
1673
+ type: 'function',
1674
+ },
1675
+ {
1676
+ inputs: [],
1677
+ name: 'paused',
1678
+ outputs: [
1679
+ {
1680
+ internalType: 'bool',
1681
+ name: '',
1682
+ type: 'bool',
1683
+ },
1684
+ ],
1685
+ stateMutability: 'view',
1686
+ type: 'function',
1687
+ },
1688
+ {
1689
+ inputs: [],
1690
+ name: 'proofMaturityDelaySeconds',
1691
+ outputs: [
1692
+ {
1693
+ internalType: 'uint256',
1694
+ name: '',
1695
+ type: 'uint256',
1696
+ },
1697
+ ],
1698
+ stateMutability: 'view',
1699
+ type: 'function',
1700
+ },
1701
+ {
1702
+ inputs: [
1703
+ {
1704
+ components: [
1705
+ {
1706
+ internalType: 'uint256',
1707
+ name: 'nonce',
1708
+ type: 'uint256',
1709
+ },
1710
+ {
1711
+ internalType: 'address',
1712
+ name: 'sender',
1713
+ type: 'address',
1714
+ },
1715
+ {
1716
+ internalType: 'address',
1717
+ name: 'target',
1718
+ type: 'address',
1719
+ },
1720
+ {
1721
+ internalType: 'uint256',
1722
+ name: 'value',
1723
+ type: 'uint256',
1724
+ },
1725
+ {
1726
+ internalType: 'uint256',
1727
+ name: 'gasLimit',
1728
+ type: 'uint256',
1729
+ },
1730
+ {
1731
+ internalType: 'bytes',
1732
+ name: 'data',
1733
+ type: 'bytes',
1734
+ },
1735
+ ],
1736
+ internalType: 'struct Types.WithdrawalTransaction',
1737
+ name: '_tx',
1738
+ type: 'tuple',
1739
+ },
1740
+ {
1741
+ internalType: 'uint256',
1742
+ name: '_disputeGameIndex',
1743
+ type: 'uint256',
1744
+ },
1745
+ {
1746
+ components: [
1747
+ {
1748
+ internalType: 'bytes32',
1749
+ name: 'version',
1750
+ type: 'bytes32',
1751
+ },
1752
+ {
1753
+ internalType: 'bytes32',
1754
+ name: 'stateRoot',
1755
+ type: 'bytes32',
1756
+ },
1757
+ {
1758
+ internalType: 'bytes32',
1759
+ name: 'messagePasserStorageRoot',
1760
+ type: 'bytes32',
1761
+ },
1762
+ {
1763
+ internalType: 'bytes32',
1764
+ name: 'latestBlockhash',
1765
+ type: 'bytes32',
1766
+ },
1767
+ ],
1768
+ internalType: 'struct Types.OutputRootProof',
1769
+ name: '_outputRootProof',
1770
+ type: 'tuple',
1771
+ },
1772
+ {
1773
+ internalType: 'bytes[]',
1774
+ name: '_withdrawalProof',
1775
+ type: 'bytes[]',
1776
+ },
1777
+ ],
1778
+ name: 'proveWithdrawalTransaction',
1779
+ outputs: [],
1780
+ stateMutability: 'nonpayable',
1781
+ type: 'function',
1782
+ },
1783
+ {
1784
+ inputs: [
1785
+ {
1786
+ internalType: 'bytes32',
1787
+ name: '',
1788
+ type: 'bytes32',
1789
+ },
1790
+ ],
1791
+ name: 'provenWithdrawals',
1792
+ outputs: [
1793
+ {
1794
+ internalType: 'contract IDisputeGame',
1795
+ name: 'disputeGameProxy',
1796
+ type: 'address',
1797
+ },
1798
+ {
1799
+ internalType: 'uint64',
1800
+ name: 'timestamp',
1801
+ type: 'uint64',
1802
+ },
1803
+ ],
1804
+ stateMutability: 'view',
1805
+ type: 'function',
1806
+ },
1807
+ {
1808
+ inputs: [],
1809
+ name: 'respectedGameType',
1810
+ outputs: [
1811
+ {
1812
+ internalType: 'GameType',
1813
+ name: '',
1814
+ type: 'uint32',
1815
+ },
1816
+ ],
1817
+ stateMutability: 'view',
1818
+ type: 'function',
1819
+ },
1820
+ {
1821
+ inputs: [],
1822
+ name: 'respectedGameTypeUpdatedAt',
1823
+ outputs: [
1824
+ {
1825
+ internalType: 'uint64',
1826
+ name: '',
1827
+ type: 'uint64',
1828
+ },
1829
+ ],
1830
+ stateMutability: 'view',
1831
+ type: 'function',
1832
+ },
1833
+ {
1834
+ inputs: [
1835
+ {
1836
+ internalType: 'GameType',
1837
+ name: '_gameType',
1838
+ type: 'uint32',
1839
+ },
1840
+ ],
1841
+ name: 'setRespectedGameType',
1842
+ outputs: [],
1843
+ stateMutability: 'nonpayable',
1844
+ type: 'function',
1845
+ },
1846
+ {
1847
+ inputs: [],
1848
+ name: 'superchainConfig',
1849
+ outputs: [
1850
+ {
1851
+ internalType: 'contract SuperchainConfig',
1852
+ name: '',
1853
+ type: 'address',
1854
+ },
1855
+ ],
1856
+ stateMutability: 'view',
1857
+ type: 'function',
1858
+ },
1859
+ {
1860
+ inputs: [],
1861
+ name: 'systemConfig',
1862
+ outputs: [
1863
+ {
1864
+ internalType: 'contract SystemConfig',
1865
+ name: '',
1866
+ type: 'address',
1867
+ },
1868
+ ],
1869
+ stateMutability: 'view',
1870
+ type: 'function',
1871
+ },
1872
+ {
1873
+ inputs: [],
1874
+ name: 'version',
1875
+ outputs: [
1876
+ {
1877
+ internalType: 'string',
1878
+ name: '',
1879
+ type: 'string',
1880
+ },
1881
+ ],
1882
+ stateMutability: 'view',
1883
+ type: 'function',
1884
+ },
1885
+ {
1886
+ anonymous: false,
1887
+ inputs: [
1888
+ {
1889
+ indexed: false,
1890
+ internalType: 'uint8',
1891
+ name: 'version',
1892
+ type: 'uint8',
1893
+ },
1894
+ ],
1895
+ name: 'Initialized',
1896
+ type: 'event',
1897
+ },
1898
+ {
1899
+ anonymous: false,
1900
+ inputs: [
1901
+ {
1902
+ indexed: true,
1903
+ internalType: 'address',
1904
+ name: 'from',
1905
+ type: 'address',
1906
+ },
1907
+ {
1908
+ indexed: true,
1909
+ internalType: 'address',
1910
+ name: 'to',
1911
+ type: 'address',
1912
+ },
1913
+ {
1914
+ indexed: true,
1915
+ internalType: 'uint256',
1916
+ name: 'version',
1917
+ type: 'uint256',
1918
+ },
1919
+ {
1920
+ indexed: false,
1921
+ internalType: 'bytes',
1922
+ name: 'opaqueData',
1923
+ type: 'bytes',
1924
+ },
1925
+ ],
1926
+ name: 'TransactionDeposited',
1927
+ type: 'event',
1928
+ },
1929
+ {
1930
+ anonymous: false,
1931
+ inputs: [
1932
+ {
1933
+ indexed: true,
1934
+ internalType: 'bytes32',
1935
+ name: 'withdrawalHash',
1936
+ type: 'bytes32',
1937
+ },
1938
+ {
1939
+ indexed: false,
1940
+ internalType: 'bool',
1941
+ name: 'success',
1942
+ type: 'bool',
1943
+ },
1944
+ ],
1945
+ name: 'WithdrawalFinalized',
1946
+ type: 'event',
1947
+ },
1948
+ {
1949
+ anonymous: false,
1950
+ inputs: [
1951
+ {
1952
+ indexed: true,
1953
+ internalType: 'bytes32',
1954
+ name: 'withdrawalHash',
1955
+ type: 'bytes32',
1956
+ },
1957
+ {
1958
+ indexed: true,
1959
+ internalType: 'address',
1960
+ name: 'from',
1961
+ type: 'address',
1962
+ },
1963
+ {
1964
+ indexed: true,
1965
+ internalType: 'address',
1966
+ name: 'to',
1967
+ type: 'address',
1968
+ },
1969
+ ],
1970
+ name: 'WithdrawalProven',
1971
+ type: 'event',
1972
+ },
1973
+ ] as const
1974
+
904
1975
  export const portalAbi = [
905
1976
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
906
1977
  {