@layerzerolabs/lz-evm-sdk-v2 2.3.12 → 2.3.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 (151) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/artifacts-zk/contracts/decompressor/DVNDecoder.sol/DVNDecoder.json +11 -0
  3. package/artifacts-zk/contracts/decompressor/DVNDecompressor.sol/DVNDecompressor.json +330 -0
  4. package/artifacts-zk/contracts/decompressor/DecompressorExtension.sol/DecompressorExtension.json +93 -0
  5. package/artifacts-zk/contracts/decompressor/ExecutorDecoder.sol/ExecutorDecoder.json +11 -0
  6. package/artifacts-zk/contracts/decompressor/ExecutorDecompressor.sol/ExecutorDecompressor.json +221 -0
  7. package/artifacts-zk/contracts/oapp/OApp.sol/OApp.json +333 -0
  8. package/artifacts-zk/contracts/oapp/OAppCore.sol/OAppCore.json +196 -0
  9. package/artifacts-zk/contracts/oapp/OAppReceiver.sol/OAppReceiver.json +317 -0
  10. package/artifacts-zk/contracts/oapp/OAppSender.sol/OAppSender.json +212 -0
  11. package/artifacts-zk/contracts/oapp/examples/OmniCounter.sol/MsgCodec.json +11 -0
  12. package/artifacts-zk/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +875 -0
  13. package/artifacts-zk/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +374 -0
  14. package/artifacts-zk/contracts/oapp/interfaces/IOAppComposer.sol/IOAppComposer.json +45 -0
  15. package/artifacts-zk/contracts/oapp/interfaces/IOAppCore.sol/IOAppCore.json +144 -0
  16. package/artifacts-zk/contracts/oapp/interfaces/IOAppMsgInspector.sol/IOAppMsgInspector.json +52 -0
  17. package/artifacts-zk/contracts/oapp/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +112 -0
  18. package/artifacts-zk/contracts/oapp/libs/OAppOptionsType3.sol/OAppOptionsType3.json +188 -0
  19. package/artifacts-zk/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +39 -0
  20. package/artifacts-zk/contracts/oft/OFT.sol/OFT.json +1467 -0
  21. package/artifacts-zk/contracts/oft/OFTAdapter.sol/OFTAdapter.json +1205 -0
  22. package/artifacts-zk/contracts/oft/OFTCore.sol/OFTCore.json +1171 -0
  23. package/artifacts-zk/contracts/oft/interfaces/IOFT.sol/IOFT.json +473 -0
  24. package/artifacts-zk/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +11 -0
  25. package/artifacts-zk/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +11 -0
  26. package/artifacts-zk/contracts/precrime/OAppPreCrimeSimulator.sol/OAppPreCrimeSimulator.json +278 -0
  27. package/artifacts-zk/contracts/precrime/PreCrime.sol/PreCrime.json +353 -0
  28. package/artifacts-zk/contracts/precrime/extensions/PreCrimeE1.sol/PreCrimeE1.json +353 -0
  29. package/artifacts-zk/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol/IOAppPreCrimeSimulator.json +176 -0
  30. package/artifacts-zk/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +189 -0
  31. package/artifacts-zk/contracts/precrime/libs/Packet.sol/PacketDecoder.json +11 -0
  32. package/deployments/arbitrum-sandbox-local/DVN.json +10 -10
  33. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +7 -7
  34. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +7 -7
  35. package/deployments/arbitrum-sandbox-local/PriceFeed.json +16 -16
  36. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +10 -10
  37. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +4 -4
  38. package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +16 -16
  39. package/deployments/bsc-sandbox-local/DVN.json +5 -5
  40. package/deployments/bsc-sandbox-local/DVNDecompressor.json +2 -2
  41. package/deployments/bsc-sandbox-local/DVNFeeLib.json +2 -2
  42. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +2 -2
  43. package/deployments/bsc-sandbox-local/EndpointV2.json +4 -4
  44. package/deployments/bsc-sandbox-local/EndpointV2View.json +4 -4
  45. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +1 -1
  46. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +4 -4
  47. package/deployments/bsc-sandbox-local/Executor.json +14 -14
  48. package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +2 -2
  49. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +2 -2
  50. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +3 -3
  51. package/deployments/bsc-sandbox-local/Executor_Implementation.json +1 -1
  52. package/deployments/bsc-sandbox-local/Executor_Proxy.json +14 -14
  53. package/deployments/bsc-sandbox-local/LzExecutor.json +5 -5
  54. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +1 -1
  55. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +5 -5
  56. package/deployments/bsc-sandbox-local/NonceContractMock.json +1 -1
  57. package/deployments/bsc-sandbox-local/PriceFeed.json +5 -5
  58. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  59. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +1 -1
  60. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +5 -5
  61. package/deployments/bsc-sandbox-local/ReceiveUln301.json +2 -2
  62. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +4 -4
  63. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  64. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  65. package/deployments/bsc-sandbox-local/ReceiveUln302.json +2 -2
  66. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +4 -4
  67. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  68. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  69. package/deployments/bsc-sandbox-local/SendUln301.json +2 -2
  70. package/deployments/bsc-sandbox-local/SendUln302.json +2 -2
  71. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +2 -2
  72. package/deployments/bsc-sandbox-local/Treasury.json +2 -2
  73. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +1 -1
  74. package/deployments/ethereum-sandbox-local/DVN.json +5 -5
  75. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +2 -2
  76. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
  77. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +2 -2
  78. package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
  79. package/deployments/ethereum-sandbox-local/EndpointV2View.json +4 -4
  80. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  81. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +4 -4
  82. package/deployments/ethereum-sandbox-local/Executor.json +14 -14
  83. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +2 -2
  84. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
  85. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
  86. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  87. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
  88. package/deployments/ethereum-sandbox-local/LzExecutor.json +5 -5
  89. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +1 -1
  90. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +5 -5
  91. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  92. package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
  93. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  94. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  95. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  96. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
  97. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +4 -4
  98. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  99. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  100. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
  101. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +4 -4
  102. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  103. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  104. package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
  105. package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
  106. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
  107. package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
  108. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  109. package/deployments/polygon-sandbox-local/DVN.json +11 -11
  110. package/deployments/polygon-sandbox-local/DVNDecompressor.json +5 -5
  111. package/deployments/polygon-sandbox-local/DVNFeeLib.json +5 -5
  112. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +5 -5
  113. package/deployments/polygon-sandbox-local/EndpointV2.json +9 -9
  114. package/deployments/polygon-sandbox-local/EndpointV2View.json +9 -9
  115. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +3 -3
  116. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +9 -9
  117. package/deployments/polygon-sandbox-local/Executor.json +29 -29
  118. package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +5 -5
  119. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +5 -5
  120. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +7 -7
  121. package/deployments/polygon-sandbox-local/Executor_Implementation.json +3 -3
  122. package/deployments/polygon-sandbox-local/Executor_Proxy.json +29 -29
  123. package/deployments/polygon-sandbox-local/LzExecutor.json +11 -11
  124. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +3 -3
  125. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +11 -11
  126. package/deployments/polygon-sandbox-local/NonceContractMock.json +3 -3
  127. package/deployments/polygon-sandbox-local/PriceFeed.json +11 -11
  128. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +7 -7
  129. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +3 -3
  130. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +11 -11
  131. package/deployments/polygon-sandbox-local/ReceiveUln301.json +5 -5
  132. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +9 -9
  133. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +3 -3
  134. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
  135. package/deployments/polygon-sandbox-local/ReceiveUln302.json +5 -5
  136. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +9 -9
  137. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +3 -3
  138. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
  139. package/deployments/polygon-sandbox-local/SendUln301.json +5 -5
  140. package/deployments/polygon-sandbox-local/SendUln302.json +5 -5
  141. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +5 -5
  142. package/deployments/polygon-sandbox-local/Treasury.json +5 -5
  143. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +3 -3
  144. package/deployments/tron-sandbox-local/DVN.json +17 -17
  145. package/deployments/tron-sandbox-local/DVNDecompressor.json +12 -12
  146. package/deployments/tron-sandbox-local/DVNFeeLib.json +10 -10
  147. package/deployments/tron-sandbox-local/PriceFeed.json +27 -27
  148. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +14 -14
  149. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +6 -6
  150. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +26 -26
  151. package/package.json +9 -9
@@ -0,0 +1,278 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "OAppPreCrimeSimulator",
4
+ "sourceName": "contracts/precrime/OAppPreCrimeSimulator.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "OnlySelf",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "result",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "SimulationResult",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "anonymous": false,
24
+ "inputs": [
25
+ {
26
+ "indexed": true,
27
+ "internalType": "address",
28
+ "name": "previousOwner",
29
+ "type": "address"
30
+ },
31
+ {
32
+ "indexed": true,
33
+ "internalType": "address",
34
+ "name": "newOwner",
35
+ "type": "address"
36
+ }
37
+ ],
38
+ "name": "OwnershipTransferred",
39
+ "type": "event"
40
+ },
41
+ {
42
+ "anonymous": false,
43
+ "inputs": [
44
+ {
45
+ "indexed": false,
46
+ "internalType": "address",
47
+ "name": "preCrimeAddress",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "PreCrimeSet",
52
+ "type": "event"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "uint32",
58
+ "name": "_eid",
59
+ "type": "uint32"
60
+ },
61
+ {
62
+ "internalType": "bytes32",
63
+ "name": "_peer",
64
+ "type": "bytes32"
65
+ }
66
+ ],
67
+ "name": "isPeer",
68
+ "outputs": [
69
+ {
70
+ "internalType": "bool",
71
+ "name": "",
72
+ "type": "bool"
73
+ }
74
+ ],
75
+ "stateMutability": "view",
76
+ "type": "function"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "components": [
82
+ {
83
+ "components": [
84
+ {
85
+ "internalType": "uint32",
86
+ "name": "srcEid",
87
+ "type": "uint32"
88
+ },
89
+ {
90
+ "internalType": "bytes32",
91
+ "name": "sender",
92
+ "type": "bytes32"
93
+ },
94
+ {
95
+ "internalType": "uint64",
96
+ "name": "nonce",
97
+ "type": "uint64"
98
+ }
99
+ ],
100
+ "internalType": "struct Origin",
101
+ "name": "origin",
102
+ "type": "tuple"
103
+ },
104
+ {
105
+ "internalType": "uint32",
106
+ "name": "dstEid",
107
+ "type": "uint32"
108
+ },
109
+ {
110
+ "internalType": "address",
111
+ "name": "receiver",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "internalType": "bytes32",
116
+ "name": "guid",
117
+ "type": "bytes32"
118
+ },
119
+ {
120
+ "internalType": "uint256",
121
+ "name": "value",
122
+ "type": "uint256"
123
+ },
124
+ {
125
+ "internalType": "address",
126
+ "name": "executor",
127
+ "type": "address"
128
+ },
129
+ {
130
+ "internalType": "bytes",
131
+ "name": "message",
132
+ "type": "bytes"
133
+ },
134
+ {
135
+ "internalType": "bytes",
136
+ "name": "extraData",
137
+ "type": "bytes"
138
+ }
139
+ ],
140
+ "internalType": "struct InboundPacket[]",
141
+ "name": "_packets",
142
+ "type": "tuple[]"
143
+ }
144
+ ],
145
+ "name": "lzReceiveAndRevert",
146
+ "outputs": [],
147
+ "stateMutability": "payable",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "components": [
154
+ {
155
+ "internalType": "uint32",
156
+ "name": "srcEid",
157
+ "type": "uint32"
158
+ },
159
+ {
160
+ "internalType": "bytes32",
161
+ "name": "sender",
162
+ "type": "bytes32"
163
+ },
164
+ {
165
+ "internalType": "uint64",
166
+ "name": "nonce",
167
+ "type": "uint64"
168
+ }
169
+ ],
170
+ "internalType": "struct Origin",
171
+ "name": "_origin",
172
+ "type": "tuple"
173
+ },
174
+ {
175
+ "internalType": "bytes32",
176
+ "name": "_guid",
177
+ "type": "bytes32"
178
+ },
179
+ {
180
+ "internalType": "bytes",
181
+ "name": "_message",
182
+ "type": "bytes"
183
+ },
184
+ {
185
+ "internalType": "address",
186
+ "name": "_executor",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "internalType": "bytes",
191
+ "name": "_extraData",
192
+ "type": "bytes"
193
+ }
194
+ ],
195
+ "name": "lzReceiveSimulate",
196
+ "outputs": [],
197
+ "stateMutability": "payable",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [],
202
+ "name": "oApp",
203
+ "outputs": [
204
+ {
205
+ "internalType": "address",
206
+ "name": "",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "inputs": [],
215
+ "name": "owner",
216
+ "outputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "",
220
+ "type": "address"
221
+ }
222
+ ],
223
+ "stateMutability": "view",
224
+ "type": "function"
225
+ },
226
+ {
227
+ "inputs": [],
228
+ "name": "preCrime",
229
+ "outputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "",
233
+ "type": "address"
234
+ }
235
+ ],
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [],
241
+ "name": "renounceOwnership",
242
+ "outputs": [],
243
+ "stateMutability": "nonpayable",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "_preCrime",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "setPreCrime",
255
+ "outputs": [],
256
+ "stateMutability": "nonpayable",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "address",
263
+ "name": "newOwner",
264
+ "type": "address"
265
+ }
266
+ ],
267
+ "name": "transferOwnership",
268
+ "outputs": [],
269
+ "stateMutability": "nonpayable",
270
+ "type": "function"
271
+ }
272
+ ],
273
+ "bytecode": "0x",
274
+ "deployedBytecode": "0x",
275
+ "linkReferences": {},
276
+ "deployedLinkReferences": {},
277
+ "factoryDeps": {}
278
+ }
@@ -0,0 +1,353 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "PreCrime",
4
+ "sourceName": "contracts/precrime/PreCrime.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes",
10
+ "name": "crime",
11
+ "type": "bytes"
12
+ }
13
+ ],
14
+ "name": "CrimeFound",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "uint32",
21
+ "name": "eid",
22
+ "type": "uint32"
23
+ },
24
+ {
25
+ "internalType": "bytes",
26
+ "name": "reason",
27
+ "type": "bytes"
28
+ }
29
+ ],
30
+ "name": "InvalidSimulationResult",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "OnlyOffChain",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "max",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "actual",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "PacketOversize",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "PacketUnsorted",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "bytes",
63
+ "name": "reason",
64
+ "type": "bytes"
65
+ }
66
+ ],
67
+ "name": "SimulationFailed",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "uint32",
74
+ "name": "eid",
75
+ "type": "uint32"
76
+ }
77
+ ],
78
+ "name": "SimulationResultNotFound",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "anonymous": false,
83
+ "inputs": [
84
+ {
85
+ "indexed": true,
86
+ "internalType": "address",
87
+ "name": "previousOwner",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "newOwner",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "name": "OwnershipTransferred",
98
+ "type": "event"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "buildSimulationResult",
103
+ "outputs": [
104
+ {
105
+ "internalType": "bytes",
106
+ "name": "",
107
+ "type": "bytes"
108
+ }
109
+ ],
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "bytes[]",
117
+ "name": "_packets",
118
+ "type": "bytes[]"
119
+ },
120
+ {
121
+ "internalType": "uint256[]",
122
+ "name": "_packetMsgValues",
123
+ "type": "uint256[]"
124
+ }
125
+ ],
126
+ "name": "getConfig",
127
+ "outputs": [
128
+ {
129
+ "internalType": "bytes",
130
+ "name": "",
131
+ "type": "bytes"
132
+ }
133
+ ],
134
+ "stateMutability": "nonpayable",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "getPreCrimePeers",
140
+ "outputs": [
141
+ {
142
+ "components": [
143
+ {
144
+ "internalType": "uint32",
145
+ "name": "eid",
146
+ "type": "uint32"
147
+ },
148
+ {
149
+ "internalType": "bytes32",
150
+ "name": "preCrime",
151
+ "type": "bytes32"
152
+ },
153
+ {
154
+ "internalType": "bytes32",
155
+ "name": "oApp",
156
+ "type": "bytes32"
157
+ }
158
+ ],
159
+ "internalType": "struct PreCrimePeer[]",
160
+ "name": "",
161
+ "type": "tuple[]"
162
+ }
163
+ ],
164
+ "stateMutability": "view",
165
+ "type": "function"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "maxBatchSize",
170
+ "outputs": [
171
+ {
172
+ "internalType": "uint64",
173
+ "name": "",
174
+ "type": "uint64"
175
+ }
176
+ ],
177
+ "stateMutability": "view",
178
+ "type": "function"
179
+ },
180
+ {
181
+ "inputs": [],
182
+ "name": "oApp",
183
+ "outputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "stateMutability": "view",
191
+ "type": "function"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "owner",
196
+ "outputs": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "",
200
+ "type": "address"
201
+ }
202
+ ],
203
+ "stateMutability": "view",
204
+ "type": "function"
205
+ },
206
+ {
207
+ "inputs": [
208
+ {
209
+ "internalType": "bytes[]",
210
+ "name": "_packets",
211
+ "type": "bytes[]"
212
+ },
213
+ {
214
+ "internalType": "uint256[]",
215
+ "name": "_packetMsgValues",
216
+ "type": "uint256[]"
217
+ },
218
+ {
219
+ "internalType": "bytes[]",
220
+ "name": "_simulations",
221
+ "type": "bytes[]"
222
+ }
223
+ ],
224
+ "name": "preCrime",
225
+ "outputs": [],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "renounceOwnership",
232
+ "outputs": [],
233
+ "stateMutability": "nonpayable",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "uint64",
240
+ "name": "_maxBatchSize",
241
+ "type": "uint64"
242
+ }
243
+ ],
244
+ "name": "setMaxBatchSize",
245
+ "outputs": [],
246
+ "stateMutability": "nonpayable",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "components": [
253
+ {
254
+ "internalType": "uint32",
255
+ "name": "eid",
256
+ "type": "uint32"
257
+ },
258
+ {
259
+ "internalType": "bytes32",
260
+ "name": "preCrime",
261
+ "type": "bytes32"
262
+ },
263
+ {
264
+ "internalType": "bytes32",
265
+ "name": "oApp",
266
+ "type": "bytes32"
267
+ }
268
+ ],
269
+ "internalType": "struct PreCrimePeer[]",
270
+ "name": "_preCrimePeers",
271
+ "type": "tuple[]"
272
+ }
273
+ ],
274
+ "name": "setPreCrimePeers",
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "bytes[]",
283
+ "name": "_packets",
284
+ "type": "bytes[]"
285
+ },
286
+ {
287
+ "internalType": "uint256[]",
288
+ "name": "_packetMsgValues",
289
+ "type": "uint256[]"
290
+ }
291
+ ],
292
+ "name": "simulate",
293
+ "outputs": [
294
+ {
295
+ "internalType": "bytes",
296
+ "name": "",
297
+ "type": "bytes"
298
+ }
299
+ ],
300
+ "stateMutability": "payable",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "simulator",
306
+ "outputs": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "newOwner",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "transferOwnership",
325
+ "outputs": [],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "version",
332
+ "outputs": [
333
+ {
334
+ "internalType": "uint64",
335
+ "name": "major",
336
+ "type": "uint64"
337
+ },
338
+ {
339
+ "internalType": "uint8",
340
+ "name": "minor",
341
+ "type": "uint8"
342
+ }
343
+ ],
344
+ "stateMutability": "pure",
345
+ "type": "function"
346
+ }
347
+ ],
348
+ "bytecode": "0x",
349
+ "deployedBytecode": "0x",
350
+ "linkReferences": {},
351
+ "deployedLinkReferences": {},
352
+ "factoryDeps": {}
353
+ }