@layerzerolabs/lz-evm-sdk-v2 2.3.11 → 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 +16 -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 +16 -16
  40. package/deployments/bsc-sandbox-local/DVNDecompressor.json +7 -7
  41. package/deployments/bsc-sandbox-local/DVNFeeLib.json +7 -7
  42. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +7 -7
  43. package/deployments/bsc-sandbox-local/EndpointV2.json +13 -13
  44. package/deployments/bsc-sandbox-local/EndpointV2View.json +13 -13
  45. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +4 -4
  46. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +13 -13
  47. package/deployments/bsc-sandbox-local/Executor.json +43 -43
  48. package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +7 -7
  49. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +7 -7
  50. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +10 -10
  51. package/deployments/bsc-sandbox-local/Executor_Implementation.json +4 -4
  52. package/deployments/bsc-sandbox-local/Executor_Proxy.json +43 -43
  53. package/deployments/bsc-sandbox-local/LzExecutor.json +16 -16
  54. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +4 -4
  55. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +16 -16
  56. package/deployments/bsc-sandbox-local/NonceContractMock.json +4 -4
  57. package/deployments/bsc-sandbox-local/PriceFeed.json +16 -16
  58. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +10 -10
  59. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +4 -4
  60. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +16 -16
  61. package/deployments/bsc-sandbox-local/ReceiveUln301.json +7 -7
  62. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +13 -13
  63. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +4 -4
  64. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +13 -13
  65. package/deployments/bsc-sandbox-local/ReceiveUln302.json +7 -7
  66. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +13 -13
  67. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +4 -4
  68. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +13 -13
  69. package/deployments/bsc-sandbox-local/SendUln301.json +7 -7
  70. package/deployments/bsc-sandbox-local/SendUln302.json +7 -7
  71. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +7 -7
  72. package/deployments/bsc-sandbox-local/Treasury.json +7 -7
  73. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +4 -4
  74. package/deployments/ethereum-sandbox-local/DVN.json +11 -11
  75. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +5 -5
  76. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +5 -5
  77. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +5 -5
  78. package/deployments/ethereum-sandbox-local/EndpointV2.json +9 -9
  79. package/deployments/ethereum-sandbox-local/EndpointV2View.json +9 -9
  80. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +3 -3
  81. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +9 -9
  82. package/deployments/ethereum-sandbox-local/Executor.json +29 -29
  83. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +5 -5
  84. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +5 -5
  85. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +7 -7
  86. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +3 -3
  87. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +29 -29
  88. package/deployments/ethereum-sandbox-local/LzExecutor.json +11 -11
  89. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +3 -3
  90. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +11 -11
  91. package/deployments/ethereum-sandbox-local/NonceContractMock.json +3 -3
  92. package/deployments/ethereum-sandbox-local/PriceFeed.json +11 -11
  93. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +7 -7
  94. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +3 -3
  95. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +11 -11
  96. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +5 -5
  97. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +9 -9
  98. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +3 -3
  99. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
  100. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +5 -5
  101. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +9 -9
  102. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +3 -3
  103. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
  104. package/deployments/ethereum-sandbox-local/SendUln301.json +5 -5
  105. package/deployments/ethereum-sandbox-local/SendUln302.json +5 -5
  106. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +5 -5
  107. package/deployments/ethereum-sandbox-local/Treasury.json +5 -5
  108. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +3 -3
  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,473 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOFT",
4
+ "sourceName": "contracts/oft/interfaces/IOFT.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidLocalDecimals",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "amountToCreditLD",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "minAmountToCreditLD",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "SlippageExceeded",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": false,
32
+ "internalType": "address",
33
+ "name": "inspector",
34
+ "type": "address"
35
+ }
36
+ ],
37
+ "name": "MsgInspectorSet",
38
+ "type": "event"
39
+ },
40
+ {
41
+ "anonymous": false,
42
+ "inputs": [
43
+ {
44
+ "indexed": true,
45
+ "internalType": "bytes32",
46
+ "name": "guid",
47
+ "type": "bytes32"
48
+ },
49
+ {
50
+ "indexed": true,
51
+ "internalType": "address",
52
+ "name": "toAddress",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "indexed": false,
57
+ "internalType": "uint256",
58
+ "name": "amountToCreditLD",
59
+ "type": "uint256"
60
+ },
61
+ {
62
+ "indexed": false,
63
+ "internalType": "uint256",
64
+ "name": "amountReceivedLD",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "name": "OFTReceived",
69
+ "type": "event"
70
+ },
71
+ {
72
+ "anonymous": false,
73
+ "inputs": [
74
+ {
75
+ "indexed": true,
76
+ "internalType": "bytes32",
77
+ "name": "guid",
78
+ "type": "bytes32"
79
+ },
80
+ {
81
+ "indexed": true,
82
+ "internalType": "address",
83
+ "name": "fromAddress",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "indexed": false,
88
+ "internalType": "uint256",
89
+ "name": "amountDebitedLD",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint256",
95
+ "name": "amountToCreditLD",
96
+ "type": "uint256"
97
+ },
98
+ {
99
+ "indexed": false,
100
+ "internalType": "bytes",
101
+ "name": "composeMsg",
102
+ "type": "bytes"
103
+ }
104
+ ],
105
+ "name": "OFTSent",
106
+ "type": "event"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "msgInspector",
111
+ "outputs": [
112
+ {
113
+ "internalType": "address",
114
+ "name": "",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "oftVersion",
124
+ "outputs": [
125
+ {
126
+ "internalType": "uint64",
127
+ "name": "major",
128
+ "type": "uint64"
129
+ },
130
+ {
131
+ "internalType": "uint64",
132
+ "name": "minor",
133
+ "type": "uint64"
134
+ }
135
+ ],
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "components": [
143
+ {
144
+ "internalType": "uint32",
145
+ "name": "dstEid",
146
+ "type": "uint32"
147
+ },
148
+ {
149
+ "internalType": "bytes32",
150
+ "name": "to",
151
+ "type": "bytes32"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "amountToSendLD",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "minAmountToCreditLD",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "internalType": "struct SendParam",
165
+ "name": "_sendParam",
166
+ "type": "tuple"
167
+ },
168
+ {
169
+ "internalType": "bytes",
170
+ "name": "_oftCmd",
171
+ "type": "bytes"
172
+ }
173
+ ],
174
+ "name": "quoteOFT",
175
+ "outputs": [
176
+ {
177
+ "components": [
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "minAmountLD",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "maxAmountLD",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "internalType": "struct OFTLimit",
190
+ "name": "",
191
+ "type": "tuple"
192
+ },
193
+ {
194
+ "components": [
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "feeAmountLD",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "internalType": "string",
202
+ "name": "description",
203
+ "type": "string"
204
+ }
205
+ ],
206
+ "internalType": "struct OFTFeeDetail[]",
207
+ "name": "oftFeeDetails",
208
+ "type": "tuple[]"
209
+ },
210
+ {
211
+ "components": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "amountDebitLD",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "amountCreditLD",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "internalType": "struct OFTReceipt",
224
+ "name": "",
225
+ "type": "tuple"
226
+ }
227
+ ],
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "components": [
235
+ {
236
+ "internalType": "uint32",
237
+ "name": "dstEid",
238
+ "type": "uint32"
239
+ },
240
+ {
241
+ "internalType": "bytes32",
242
+ "name": "to",
243
+ "type": "bytes32"
244
+ },
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "amountToSendLD",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "minAmountToCreditLD",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "internalType": "struct SendParam",
257
+ "name": "_sendParam",
258
+ "type": "tuple"
259
+ },
260
+ {
261
+ "internalType": "bytes",
262
+ "name": "_extraOptions",
263
+ "type": "bytes"
264
+ },
265
+ {
266
+ "internalType": "bool",
267
+ "name": "_payInLzToken",
268
+ "type": "bool"
269
+ },
270
+ {
271
+ "internalType": "bytes",
272
+ "name": "_composeMsg",
273
+ "type": "bytes"
274
+ },
275
+ {
276
+ "internalType": "bytes",
277
+ "name": "_oftCmd",
278
+ "type": "bytes"
279
+ }
280
+ ],
281
+ "name": "quoteSend",
282
+ "outputs": [
283
+ {
284
+ "components": [
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "nativeFee",
288
+ "type": "uint256"
289
+ },
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "lzTokenFee",
293
+ "type": "uint256"
294
+ }
295
+ ],
296
+ "internalType": "struct MessagingFee",
297
+ "name": "",
298
+ "type": "tuple"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "components": [
308
+ {
309
+ "internalType": "uint32",
310
+ "name": "dstEid",
311
+ "type": "uint32"
312
+ },
313
+ {
314
+ "internalType": "bytes32",
315
+ "name": "to",
316
+ "type": "bytes32"
317
+ },
318
+ {
319
+ "internalType": "uint256",
320
+ "name": "amountToSendLD",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "minAmountToCreditLD",
326
+ "type": "uint256"
327
+ }
328
+ ],
329
+ "internalType": "struct SendParam",
330
+ "name": "_sendParam",
331
+ "type": "tuple"
332
+ },
333
+ {
334
+ "internalType": "bytes",
335
+ "name": "_extraOptions",
336
+ "type": "bytes"
337
+ },
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "nativeFee",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "lzTokenFee",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "internalType": "struct MessagingFee",
352
+ "name": "_fee",
353
+ "type": "tuple"
354
+ },
355
+ {
356
+ "internalType": "address",
357
+ "name": "_refundAddress",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "bytes",
362
+ "name": "_composeMsg",
363
+ "type": "bytes"
364
+ },
365
+ {
366
+ "internalType": "bytes",
367
+ "name": "_oftCmd",
368
+ "type": "bytes"
369
+ }
370
+ ],
371
+ "name": "send",
372
+ "outputs": [
373
+ {
374
+ "components": [
375
+ {
376
+ "internalType": "bytes32",
377
+ "name": "guid",
378
+ "type": "bytes32"
379
+ },
380
+ {
381
+ "internalType": "uint64",
382
+ "name": "nonce",
383
+ "type": "uint64"
384
+ },
385
+ {
386
+ "components": [
387
+ {
388
+ "internalType": "uint256",
389
+ "name": "nativeFee",
390
+ "type": "uint256"
391
+ },
392
+ {
393
+ "internalType": "uint256",
394
+ "name": "lzTokenFee",
395
+ "type": "uint256"
396
+ }
397
+ ],
398
+ "internalType": "struct MessagingFee",
399
+ "name": "fee",
400
+ "type": "tuple"
401
+ }
402
+ ],
403
+ "internalType": "struct MessagingReceipt",
404
+ "name": "",
405
+ "type": "tuple"
406
+ },
407
+ {
408
+ "components": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "amountDebitLD",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "amountCreditLD",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "internalType": "struct OFTReceipt",
421
+ "name": "",
422
+ "type": "tuple"
423
+ }
424
+ ],
425
+ "stateMutability": "payable",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "internalType": "address",
432
+ "name": "_msgInspector",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "setMsgInspector",
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "sharedDecimals",
444
+ "outputs": [
445
+ {
446
+ "internalType": "uint8",
447
+ "name": "",
448
+ "type": "uint8"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [],
456
+ "name": "token",
457
+ "outputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ }
467
+ ],
468
+ "bytecode": "0x",
469
+ "deployedBytecode": "0x",
470
+ "linkReferences": {},
471
+ "deployedLinkReferences": {},
472
+ "factoryDeps": {}
473
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "OFTComposeMsgCodec",
4
+ "sourceName": "contracts/oft/libs/OFTComposeMsgCodec.sol",
5
+ "abi": [],
6
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e0000001000010430000000000000000000000000000000000000000000000000000000020000000000000000000000000000004000000100000000000000000018edafbf16385f60bc4d6da6da82021b41ad120be32ccc98f8de64cc5211046a",
7
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e0000001000010430000000000000000000000000000000000000000000000000000000020000000000000000000000000000004000000100000000000000000018edafbf16385f60bc4d6da6da82021b41ad120be32ccc98f8de64cc5211046a",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {},
10
+ "factoryDeps": {}
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "OFTMsgCodec",
4
+ "sourceName": "contracts/oft/libs/OFTMsgCodec.sol",
5
+ "abi": [],
6
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000e160d1b369c54fd321269ebb40c23d5be3450b34be8de9564c1306b90359f18e",
7
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000e160d1b369c54fd321269ebb40c23d5be3450b34be8de9564c1306b90359f18e",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {},
10
+ "factoryDeps": {}
11
+ }