@layerzerolabs/lz-evm-sdk-v1 1.5.13 → 1.5.14-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/contracts/precrime/PreCrime.sol/PreCrime.json +301 -0
- package/artifacts/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json +207 -0
- package/artifacts/contracts/precrime/PreCrimeView.sol/PreCrimeView.json +266 -0
- package/artifacts/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +162 -0
- package/artifacts/contracts/precrime/interfaces/IPreCrimeBase.sol/IPreCrimeBase.json +116 -0
- package/artifacts/contracts/precrime/interfaces/IPreCrimeView.sol/IPreCrimeView.json +162 -0
- package/package.json +5 -1
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PreCrime",
|
|
4
|
+
"sourceName": "contracts/precrime/PreCrime.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "CODE_MISS_SIMULATE_RESULT",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "view",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "CODE_PACKETS_OVERSIZE",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint16",
|
|
25
|
+
"name": "",
|
|
26
|
+
"type": "uint16"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "view",
|
|
30
|
+
"type": "function"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "CODE_PACKETS_UNSORTED",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint16",
|
|
38
|
+
"name": "",
|
|
39
|
+
"type": "uint16"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view",
|
|
43
|
+
"type": "function"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"name": "CODE_PRECRIME_FAILURE",
|
|
48
|
+
"outputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint16",
|
|
51
|
+
"name": "",
|
|
52
|
+
"type": "uint16"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"stateMutability": "view",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "CODE_SUCCESS",
|
|
61
|
+
"outputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint16",
|
|
64
|
+
"name": "",
|
|
65
|
+
"type": "uint16"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"stateMutability": "view",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "CONFIG_VERSION",
|
|
74
|
+
"outputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint16",
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "uint16"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "PRECRIME_VERSION",
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint16",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "uint16"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"components": [
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint16",
|
|
103
|
+
"name": "srcChainId",
|
|
104
|
+
"type": "uint16"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "bytes32",
|
|
108
|
+
"name": "srcAddress",
|
|
109
|
+
"type": "bytes32"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "uint64",
|
|
113
|
+
"name": "nonce",
|
|
114
|
+
"type": "uint64"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"internalType": "bytes",
|
|
118
|
+
"name": "payload",
|
|
119
|
+
"type": "bytes"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
123
|
+
"name": "_packets",
|
|
124
|
+
"type": "tuple[]"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"name": "_simulateAndRevert",
|
|
128
|
+
"outputs": [],
|
|
129
|
+
"stateMutability": "nonpayable",
|
|
130
|
+
"type": "function"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [
|
|
134
|
+
{
|
|
135
|
+
"components": [
|
|
136
|
+
{
|
|
137
|
+
"internalType": "uint16",
|
|
138
|
+
"name": "srcChainId",
|
|
139
|
+
"type": "uint16"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"internalType": "bytes32",
|
|
143
|
+
"name": "srcAddress",
|
|
144
|
+
"type": "bytes32"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"internalType": "uint64",
|
|
148
|
+
"name": "nonce",
|
|
149
|
+
"type": "uint64"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"internalType": "bytes",
|
|
153
|
+
"name": "payload",
|
|
154
|
+
"type": "bytes"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
158
|
+
"name": "_packets",
|
|
159
|
+
"type": "tuple[]"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"name": "getConfig",
|
|
163
|
+
"outputs": [
|
|
164
|
+
{
|
|
165
|
+
"internalType": "bytes",
|
|
166
|
+
"name": "",
|
|
167
|
+
"type": "bytes"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"stateMutability": "view",
|
|
171
|
+
"type": "function"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"inputs": [],
|
|
175
|
+
"name": "localChainId",
|
|
176
|
+
"outputs": [
|
|
177
|
+
{
|
|
178
|
+
"internalType": "uint16",
|
|
179
|
+
"name": "",
|
|
180
|
+
"type": "uint16"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"stateMutability": "view",
|
|
184
|
+
"type": "function"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"inputs": [
|
|
188
|
+
{
|
|
189
|
+
"components": [
|
|
190
|
+
{
|
|
191
|
+
"internalType": "uint16",
|
|
192
|
+
"name": "srcChainId",
|
|
193
|
+
"type": "uint16"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"internalType": "bytes32",
|
|
197
|
+
"name": "srcAddress",
|
|
198
|
+
"type": "bytes32"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"internalType": "uint64",
|
|
202
|
+
"name": "nonce",
|
|
203
|
+
"type": "uint64"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"internalType": "bytes",
|
|
207
|
+
"name": "payload",
|
|
208
|
+
"type": "bytes"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
212
|
+
"name": "_packets",
|
|
213
|
+
"type": "tuple[]"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"internalType": "bytes[]",
|
|
217
|
+
"name": "_simulation",
|
|
218
|
+
"type": "bytes[]"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"name": "precrime",
|
|
222
|
+
"outputs": [
|
|
223
|
+
{
|
|
224
|
+
"internalType": "uint16",
|
|
225
|
+
"name": "code",
|
|
226
|
+
"type": "uint16"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"internalType": "bytes",
|
|
230
|
+
"name": "reason",
|
|
231
|
+
"type": "bytes"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"stateMutability": "view",
|
|
235
|
+
"type": "function"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"inputs": [
|
|
239
|
+
{
|
|
240
|
+
"components": [
|
|
241
|
+
{
|
|
242
|
+
"internalType": "uint16",
|
|
243
|
+
"name": "srcChainId",
|
|
244
|
+
"type": "uint16"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"internalType": "bytes32",
|
|
248
|
+
"name": "srcAddress",
|
|
249
|
+
"type": "bytes32"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"internalType": "uint64",
|
|
253
|
+
"name": "nonce",
|
|
254
|
+
"type": "uint64"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"internalType": "bytes",
|
|
258
|
+
"name": "payload",
|
|
259
|
+
"type": "bytes"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
263
|
+
"name": "_packets",
|
|
264
|
+
"type": "tuple[]"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"name": "simulate",
|
|
268
|
+
"outputs": [
|
|
269
|
+
{
|
|
270
|
+
"internalType": "uint16",
|
|
271
|
+
"name": "code",
|
|
272
|
+
"type": "uint16"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"internalType": "bytes",
|
|
276
|
+
"name": "data",
|
|
277
|
+
"type": "bytes"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"stateMutability": "nonpayable",
|
|
281
|
+
"type": "function"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"inputs": [],
|
|
285
|
+
"name": "version",
|
|
286
|
+
"outputs": [
|
|
287
|
+
{
|
|
288
|
+
"internalType": "uint16",
|
|
289
|
+
"name": "",
|
|
290
|
+
"type": "uint16"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"stateMutability": "pure",
|
|
294
|
+
"type": "function"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"bytecode": "0x",
|
|
298
|
+
"deployedBytecode": "0x",
|
|
299
|
+
"linkReferences": {},
|
|
300
|
+
"deployedLinkReferences": {}
|
|
301
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PreCrimeBase",
|
|
4
|
+
"sourceName": "contracts/precrime/PreCrimeBase.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "CODE_MISS_SIMULATE_RESULT",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "view",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "CODE_PACKETS_OVERSIZE",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint16",
|
|
25
|
+
"name": "",
|
|
26
|
+
"type": "uint16"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "view",
|
|
30
|
+
"type": "function"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "CODE_PACKETS_UNSORTED",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint16",
|
|
38
|
+
"name": "",
|
|
39
|
+
"type": "uint16"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view",
|
|
43
|
+
"type": "function"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"name": "CODE_PRECRIME_FAILURE",
|
|
48
|
+
"outputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint16",
|
|
51
|
+
"name": "",
|
|
52
|
+
"type": "uint16"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"stateMutability": "view",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "CODE_SUCCESS",
|
|
61
|
+
"outputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint16",
|
|
64
|
+
"name": "",
|
|
65
|
+
"type": "uint16"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"stateMutability": "view",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "CONFIG_VERSION",
|
|
74
|
+
"outputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint16",
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "uint16"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [
|
|
86
|
+
{
|
|
87
|
+
"components": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint16",
|
|
90
|
+
"name": "srcChainId",
|
|
91
|
+
"type": "uint16"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"internalType": "bytes32",
|
|
95
|
+
"name": "srcAddress",
|
|
96
|
+
"type": "bytes32"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"internalType": "uint64",
|
|
100
|
+
"name": "nonce",
|
|
101
|
+
"type": "uint64"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"internalType": "bytes",
|
|
105
|
+
"name": "payload",
|
|
106
|
+
"type": "bytes"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
110
|
+
"name": "_packets",
|
|
111
|
+
"type": "tuple[]"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"name": "getConfig",
|
|
115
|
+
"outputs": [
|
|
116
|
+
{
|
|
117
|
+
"internalType": "bytes",
|
|
118
|
+
"name": "",
|
|
119
|
+
"type": "bytes"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"stateMutability": "view",
|
|
123
|
+
"type": "function"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"inputs": [],
|
|
127
|
+
"name": "localChainId",
|
|
128
|
+
"outputs": [
|
|
129
|
+
{
|
|
130
|
+
"internalType": "uint16",
|
|
131
|
+
"name": "",
|
|
132
|
+
"type": "uint16"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"stateMutability": "view",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [
|
|
140
|
+
{
|
|
141
|
+
"components": [
|
|
142
|
+
{
|
|
143
|
+
"internalType": "uint16",
|
|
144
|
+
"name": "srcChainId",
|
|
145
|
+
"type": "uint16"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"internalType": "bytes32",
|
|
149
|
+
"name": "srcAddress",
|
|
150
|
+
"type": "bytes32"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"internalType": "uint64",
|
|
154
|
+
"name": "nonce",
|
|
155
|
+
"type": "uint64"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"internalType": "bytes",
|
|
159
|
+
"name": "payload",
|
|
160
|
+
"type": "bytes"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
164
|
+
"name": "_packets",
|
|
165
|
+
"type": "tuple[]"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"internalType": "bytes[]",
|
|
169
|
+
"name": "_simulation",
|
|
170
|
+
"type": "bytes[]"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"name": "precrime",
|
|
174
|
+
"outputs": [
|
|
175
|
+
{
|
|
176
|
+
"internalType": "uint16",
|
|
177
|
+
"name": "code",
|
|
178
|
+
"type": "uint16"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"internalType": "bytes",
|
|
182
|
+
"name": "reason",
|
|
183
|
+
"type": "bytes"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"stateMutability": "view",
|
|
187
|
+
"type": "function"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"inputs": [],
|
|
191
|
+
"name": "version",
|
|
192
|
+
"outputs": [
|
|
193
|
+
{
|
|
194
|
+
"internalType": "uint16",
|
|
195
|
+
"name": "",
|
|
196
|
+
"type": "uint16"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"stateMutability": "view",
|
|
200
|
+
"type": "function"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"bytecode": "0x",
|
|
204
|
+
"deployedBytecode": "0x",
|
|
205
|
+
"linkReferences": {},
|
|
206
|
+
"deployedLinkReferences": {}
|
|
207
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PreCrimeView",
|
|
4
|
+
"sourceName": "contracts/precrime/PreCrimeView.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "CODE_MISS_SIMULATE_RESULT",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "view",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "CODE_PACKETS_OVERSIZE",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint16",
|
|
25
|
+
"name": "",
|
|
26
|
+
"type": "uint16"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "view",
|
|
30
|
+
"type": "function"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "CODE_PACKETS_UNSORTED",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint16",
|
|
38
|
+
"name": "",
|
|
39
|
+
"type": "uint16"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view",
|
|
43
|
+
"type": "function"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"name": "CODE_PRECRIME_FAILURE",
|
|
48
|
+
"outputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint16",
|
|
51
|
+
"name": "",
|
|
52
|
+
"type": "uint16"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"stateMutability": "view",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "CODE_SUCCESS",
|
|
61
|
+
"outputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint16",
|
|
64
|
+
"name": "",
|
|
65
|
+
"type": "uint16"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"stateMutability": "view",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "CONFIG_VERSION",
|
|
74
|
+
"outputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint16",
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "uint16"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "PRECRIME_VERSION",
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint16",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "uint16"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"components": [
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint16",
|
|
103
|
+
"name": "srcChainId",
|
|
104
|
+
"type": "uint16"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "bytes32",
|
|
108
|
+
"name": "srcAddress",
|
|
109
|
+
"type": "bytes32"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "uint64",
|
|
113
|
+
"name": "nonce",
|
|
114
|
+
"type": "uint64"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"internalType": "bytes",
|
|
118
|
+
"name": "payload",
|
|
119
|
+
"type": "bytes"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
123
|
+
"name": "_packets",
|
|
124
|
+
"type": "tuple[]"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"name": "getConfig",
|
|
128
|
+
"outputs": [
|
|
129
|
+
{
|
|
130
|
+
"internalType": "bytes",
|
|
131
|
+
"name": "",
|
|
132
|
+
"type": "bytes"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"stateMutability": "view",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [],
|
|
140
|
+
"name": "localChainId",
|
|
141
|
+
"outputs": [
|
|
142
|
+
{
|
|
143
|
+
"internalType": "uint16",
|
|
144
|
+
"name": "",
|
|
145
|
+
"type": "uint16"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"stateMutability": "view",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{
|
|
154
|
+
"components": [
|
|
155
|
+
{
|
|
156
|
+
"internalType": "uint16",
|
|
157
|
+
"name": "srcChainId",
|
|
158
|
+
"type": "uint16"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"internalType": "bytes32",
|
|
162
|
+
"name": "srcAddress",
|
|
163
|
+
"type": "bytes32"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"internalType": "uint64",
|
|
167
|
+
"name": "nonce",
|
|
168
|
+
"type": "uint64"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"internalType": "bytes",
|
|
172
|
+
"name": "payload",
|
|
173
|
+
"type": "bytes"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
177
|
+
"name": "_packets",
|
|
178
|
+
"type": "tuple[]"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"internalType": "bytes[]",
|
|
182
|
+
"name": "_simulation",
|
|
183
|
+
"type": "bytes[]"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"name": "precrime",
|
|
187
|
+
"outputs": [
|
|
188
|
+
{
|
|
189
|
+
"internalType": "uint16",
|
|
190
|
+
"name": "code",
|
|
191
|
+
"type": "uint16"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"internalType": "bytes",
|
|
195
|
+
"name": "reason",
|
|
196
|
+
"type": "bytes"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"stateMutability": "view",
|
|
200
|
+
"type": "function"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"components": [
|
|
206
|
+
{
|
|
207
|
+
"internalType": "uint16",
|
|
208
|
+
"name": "srcChainId",
|
|
209
|
+
"type": "uint16"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"internalType": "bytes32",
|
|
213
|
+
"name": "srcAddress",
|
|
214
|
+
"type": "bytes32"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"internalType": "uint64",
|
|
218
|
+
"name": "nonce",
|
|
219
|
+
"type": "uint64"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"internalType": "bytes",
|
|
223
|
+
"name": "payload",
|
|
224
|
+
"type": "bytes"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
228
|
+
"name": "_packets",
|
|
229
|
+
"type": "tuple[]"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"name": "simulate",
|
|
233
|
+
"outputs": [
|
|
234
|
+
{
|
|
235
|
+
"internalType": "uint16",
|
|
236
|
+
"name": "code",
|
|
237
|
+
"type": "uint16"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"internalType": "bytes",
|
|
241
|
+
"name": "data",
|
|
242
|
+
"type": "bytes"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"stateMutability": "view",
|
|
246
|
+
"type": "function"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"inputs": [],
|
|
250
|
+
"name": "version",
|
|
251
|
+
"outputs": [
|
|
252
|
+
{
|
|
253
|
+
"internalType": "uint16",
|
|
254
|
+
"name": "",
|
|
255
|
+
"type": "uint16"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"stateMutability": "pure",
|
|
259
|
+
"type": "function"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"bytecode": "0x",
|
|
263
|
+
"deployedBytecode": "0x",
|
|
264
|
+
"linkReferences": {},
|
|
265
|
+
"deployedLinkReferences": {}
|
|
266
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPreCrime",
|
|
4
|
+
"sourceName": "contracts/precrime/interfaces/IPreCrime.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "srcChainId",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "srcAddress",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint64",
|
|
22
|
+
"name": "nonce",
|
|
23
|
+
"type": "uint64"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"internalType": "bytes",
|
|
27
|
+
"name": "payload",
|
|
28
|
+
"type": "bytes"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
32
|
+
"name": "_packets",
|
|
33
|
+
"type": "tuple[]"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"name": "getConfig",
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "bytes",
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "bytes"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "view",
|
|
45
|
+
"type": "function"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"components": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "uint16",
|
|
53
|
+
"name": "srcChainId",
|
|
54
|
+
"type": "uint16"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "bytes32",
|
|
58
|
+
"name": "srcAddress",
|
|
59
|
+
"type": "bytes32"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "nonce",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes",
|
|
68
|
+
"name": "payload",
|
|
69
|
+
"type": "bytes"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
73
|
+
"name": "_packets",
|
|
74
|
+
"type": "tuple[]"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "bytes[]",
|
|
78
|
+
"name": "_simulation",
|
|
79
|
+
"type": "bytes[]"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"name": "precrime",
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint16",
|
|
86
|
+
"name": "code",
|
|
87
|
+
"type": "uint16"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"internalType": "bytes",
|
|
91
|
+
"name": "reason",
|
|
92
|
+
"type": "bytes"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"stateMutability": "view",
|
|
96
|
+
"type": "function"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"components": [
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint16",
|
|
104
|
+
"name": "srcChainId",
|
|
105
|
+
"type": "uint16"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"internalType": "bytes32",
|
|
109
|
+
"name": "srcAddress",
|
|
110
|
+
"type": "bytes32"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"internalType": "uint64",
|
|
114
|
+
"name": "nonce",
|
|
115
|
+
"type": "uint64"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"internalType": "bytes",
|
|
119
|
+
"name": "payload",
|
|
120
|
+
"type": "bytes"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
124
|
+
"name": "_packets",
|
|
125
|
+
"type": "tuple[]"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"name": "simulate",
|
|
129
|
+
"outputs": [
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint16",
|
|
132
|
+
"name": "code",
|
|
133
|
+
"type": "uint16"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"internalType": "bytes",
|
|
137
|
+
"name": "result",
|
|
138
|
+
"type": "bytes"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "nonpayable",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "version",
|
|
147
|
+
"outputs": [
|
|
148
|
+
{
|
|
149
|
+
"internalType": "uint16",
|
|
150
|
+
"name": "",
|
|
151
|
+
"type": "uint16"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"stateMutability": "view",
|
|
155
|
+
"type": "function"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"bytecode": "0x",
|
|
159
|
+
"deployedBytecode": "0x",
|
|
160
|
+
"linkReferences": {},
|
|
161
|
+
"deployedLinkReferences": {}
|
|
162
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPreCrimeBase",
|
|
4
|
+
"sourceName": "contracts/precrime/interfaces/IPreCrimeBase.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "srcChainId",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "srcAddress",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint64",
|
|
22
|
+
"name": "nonce",
|
|
23
|
+
"type": "uint64"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"internalType": "bytes",
|
|
27
|
+
"name": "payload",
|
|
28
|
+
"type": "bytes"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
32
|
+
"name": "_packets",
|
|
33
|
+
"type": "tuple[]"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"name": "getConfig",
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "bytes",
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "bytes"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "view",
|
|
45
|
+
"type": "function"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"components": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "uint16",
|
|
53
|
+
"name": "srcChainId",
|
|
54
|
+
"type": "uint16"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "bytes32",
|
|
58
|
+
"name": "srcAddress",
|
|
59
|
+
"type": "bytes32"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "nonce",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes",
|
|
68
|
+
"name": "payload",
|
|
69
|
+
"type": "bytes"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
73
|
+
"name": "_packets",
|
|
74
|
+
"type": "tuple[]"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "bytes[]",
|
|
78
|
+
"name": "_simulation",
|
|
79
|
+
"type": "bytes[]"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"name": "precrime",
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint16",
|
|
86
|
+
"name": "code",
|
|
87
|
+
"type": "uint16"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"internalType": "bytes",
|
|
91
|
+
"name": "reason",
|
|
92
|
+
"type": "bytes"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"stateMutability": "view",
|
|
96
|
+
"type": "function"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputs": [],
|
|
100
|
+
"name": "version",
|
|
101
|
+
"outputs": [
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint16",
|
|
104
|
+
"name": "",
|
|
105
|
+
"type": "uint16"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"stateMutability": "view",
|
|
109
|
+
"type": "function"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"bytecode": "0x",
|
|
113
|
+
"deployedBytecode": "0x",
|
|
114
|
+
"linkReferences": {},
|
|
115
|
+
"deployedLinkReferences": {}
|
|
116
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPreCrimeView",
|
|
4
|
+
"sourceName": "contracts/precrime/interfaces/IPreCrimeView.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint16",
|
|
12
|
+
"name": "srcChainId",
|
|
13
|
+
"type": "uint16"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "srcAddress",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint64",
|
|
22
|
+
"name": "nonce",
|
|
23
|
+
"type": "uint64"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"internalType": "bytes",
|
|
27
|
+
"name": "payload",
|
|
28
|
+
"type": "bytes"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
32
|
+
"name": "_packets",
|
|
33
|
+
"type": "tuple[]"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"name": "getConfig",
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "bytes",
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "bytes"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "view",
|
|
45
|
+
"type": "function"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"components": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "uint16",
|
|
53
|
+
"name": "srcChainId",
|
|
54
|
+
"type": "uint16"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "bytes32",
|
|
58
|
+
"name": "srcAddress",
|
|
59
|
+
"type": "bytes32"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "nonce",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes",
|
|
68
|
+
"name": "payload",
|
|
69
|
+
"type": "bytes"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
73
|
+
"name": "_packets",
|
|
74
|
+
"type": "tuple[]"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "bytes[]",
|
|
78
|
+
"name": "_simulation",
|
|
79
|
+
"type": "bytes[]"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"name": "precrime",
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint16",
|
|
86
|
+
"name": "code",
|
|
87
|
+
"type": "uint16"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"internalType": "bytes",
|
|
91
|
+
"name": "reason",
|
|
92
|
+
"type": "bytes"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"stateMutability": "view",
|
|
96
|
+
"type": "function"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"components": [
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint16",
|
|
104
|
+
"name": "srcChainId",
|
|
105
|
+
"type": "uint16"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"internalType": "bytes32",
|
|
109
|
+
"name": "srcAddress",
|
|
110
|
+
"type": "bytes32"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"internalType": "uint64",
|
|
114
|
+
"name": "nonce",
|
|
115
|
+
"type": "uint64"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"internalType": "bytes",
|
|
119
|
+
"name": "payload",
|
|
120
|
+
"type": "bytes"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"internalType": "struct IPreCrimeBase.Packet[]",
|
|
124
|
+
"name": "_packets",
|
|
125
|
+
"type": "tuple[]"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"name": "simulate",
|
|
129
|
+
"outputs": [
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint16",
|
|
132
|
+
"name": "code",
|
|
133
|
+
"type": "uint16"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"internalType": "bytes",
|
|
137
|
+
"name": "result",
|
|
138
|
+
"type": "bytes"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "version",
|
|
147
|
+
"outputs": [
|
|
148
|
+
{
|
|
149
|
+
"internalType": "uint16",
|
|
150
|
+
"name": "",
|
|
151
|
+
"type": "uint16"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"stateMutability": "view",
|
|
155
|
+
"type": "function"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"bytecode": "0x",
|
|
159
|
+
"deployedBytecode": "0x",
|
|
160
|
+
"linkReferences": {},
|
|
161
|
+
"deployedLinkReferences": {}
|
|
162
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/lz-evm-sdk-v1",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.14-rc.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"artifacts/contracts/Relayer.sol/Relayer.json",
|
|
6
6
|
"artifacts/contracts/RelayerV2.sol/RelayerV2.json",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"artifacts/contracts/oracle/MultiSigOracle.sol/MultiSigOracle.json",
|
|
13
13
|
"artifacts/contracts/interfaces/**/*",
|
|
14
14
|
"artifacts/contracts/proof/**/*",
|
|
15
|
+
"artifacts/contracts/precrime/interfaces/**/*",
|
|
16
|
+
"artifacts/contracts/precrime/PreCrime.sol/PreCrime.json",
|
|
17
|
+
"artifacts/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json",
|
|
18
|
+
"artifacts/contracts/precrime/PreCrimeView.sol/PreCrimeView.json",
|
|
15
19
|
"deployments/**/*"
|
|
16
20
|
],
|
|
17
21
|
"scripts": {
|