@layerzerolabs/lz-evm-sdk-v2 3.0.27 → 3.0.28

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 (224) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/artifacts-zk/contracts/EndpointV2.sol/EndpointV2.json +3 -3
  3. package/artifacts-zk/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +3 -3
  4. package/artifacts-zk/contracts/EndpointV2View.sol/EndpointV2View.json +2 -2
  5. package/artifacts-zk/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +2 -2
  6. package/artifacts-zk/contracts/Executor.sol/Executor.json +174 -6
  7. package/artifacts-zk/contracts/Executor.sol/ILayerZeroEndpointV2.json +231 -0
  8. package/artifacts-zk/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +199 -5
  9. package/artifacts-zk/contracts/PriceFeed.sol/PriceFeed.json +52 -8
  10. package/artifacts-zk/contracts/SimpleReadExecutor.sol/ILayerZeroEndpointV2.json +140 -0
  11. package/artifacts-zk/contracts/SimpleReadExecutor.sol/SimpleReadExecutor.json +199 -0
  12. package/artifacts-zk/contracts/Treasury.sol/Treasury.json +2 -2
  13. package/artifacts-zk/contracts/decompressor/DVNDecoder.sol/DVNDecoder.json +2 -2
  14. package/artifacts-zk/contracts/decompressor/DVNDecompressor.sol/DVNDecompressor.json +2 -2
  15. package/artifacts-zk/contracts/decompressor/ExecutorDecoder.sol/ExecutorDecoder.json +2 -2
  16. package/artifacts-zk/contracts/decompressor/ExecutorDecompressor.sol/ExecutorDecompressor.json +2 -2
  17. package/artifacts-zk/contracts/interfaces/IExecutor.sol/IExecutor.json +59 -1
  18. package/artifacts-zk/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +186 -2
  19. package/artifacts-zk/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +2 -2
  20. package/artifacts-zk/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +6 -6
  21. package/artifacts-zk/contracts/interfaces/ILayerZeroReadExecutor.sol/ILayerZeroReadExecutor.json +60 -0
  22. package/artifacts-zk/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +2 -2
  23. package/artifacts-zk/contracts/libs/ExecutorOptions.sol/ExecutorOptions.json +32 -0
  24. package/artifacts-zk/contracts/lowlat/EssenceDVNWrapper.sol/EssenceDVNWrapper.json +370 -0
  25. package/artifacts-zk/contracts/lowlat/MultiCall.sol/MultiCall.json +121 -0
  26. package/artifacts-zk/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +2 -2
  27. package/artifacts-zk/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +2 -2
  28. package/artifacts-zk/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +2 -2
  29. package/artifacts-zk/contracts/uln/LzExecutor.sol/LzExecutor.json +2 -2
  30. package/artifacts-zk/contracts/uln/dvn/DVN.sol/DVN.json +145 -6
  31. package/artifacts-zk/contracts/uln/dvn/DVNFeeLib.sol/DVNFeeLib.json +386 -2
  32. package/artifacts-zk/contracts/uln/dvn/DeadDVN.sol/DeadDVN.json +165 -0
  33. package/artifacts-zk/contracts/uln/dvn/MultiSig.sol/MultiSig.json +57 -4
  34. package/artifacts-zk/contracts/uln/dvn/SimpleReadDVN.sol/SimpleReadDVN.json +232 -0
  35. package/artifacts-zk/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapter.sol/CCIPDVNAdapter.json +28 -49
  36. package/artifacts-zk/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapterFeeLib.sol/CCIPDVNAdapterFeeLib.json +2 -2
  37. package/artifacts-zk/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL1.sol/ArbitrumDVNAdapterL1.json +2 -2
  38. package/artifacts-zk/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL2.sol/ArbitrumDVNAdapterL2.json +2 -2
  39. package/artifacts-zk/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapter.sol/AxelarDVNAdapter.json +28 -23
  40. package/artifacts-zk/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol/AxelarDVNAdapterFeeLib.json +3 -3
  41. package/artifacts-zk/contracts/uln/dvn/adapters/libs/DVNAdapterMessageCodec.sol/DVNAdapterMessageCodec.json +2 -2
  42. package/artifacts-zk/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL1.sol/OptimismDVNAdapterL1.json +2 -2
  43. package/artifacts-zk/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL2.sol/OptimismDVNAdapterL2.json +2 -2
  44. package/artifacts-zk/contracts/uln/interfaces/IDVN.sol/IDVN.json +68 -0
  45. package/artifacts-zk/contracts/uln/interfaces/IDVNFeeLib.sol/IDVNFeeLib.json +185 -0
  46. package/artifacts-zk/contracts/uln/interfaces/ILayerZeroReadDVN.sol/ILayerZeroReadDVN.json +80 -0
  47. package/artifacts-zk/contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol/IAxelarDVNAdapter.json +1 -1
  48. package/artifacts-zk/contracts/uln/interfaces/adapters/ICCIPDVNAdapter.sol/ICCIPDVNAdapter.json +1 -14
  49. package/artifacts-zk/contracts/uln/libs/ReadCmdCodecV1.sol/ReadCmdCodecV1.json +27 -0
  50. package/artifacts-zk/contracts/uln/libs/SupportedCmdTypes.sol/SupportedCmdTypesLib.json +17 -0
  51. package/artifacts-zk/contracts/uln/readlib/ReadLib1002.sol/ReadLib1002.json +1289 -0
  52. package/artifacts-zk/contracts/uln/readlib/ReadLib1002View.sol/ReadLib1002View.json +286 -0
  53. package/artifacts-zk/contracts/uln/readlib/ReadLibBase.sol/ReadLibBase.json +388 -0
  54. package/artifacts-zk/contracts/uln/uln301/ReceiveUln301.sol/ReceiveUln301.json +2 -2
  55. package/artifacts-zk/contracts/uln/uln301/ReceiveUln301View.sol/ReceiveUln301View.json +2 -2
  56. package/artifacts-zk/contracts/uln/uln301/SendUln301.sol/SendUln301.json +2 -2
  57. package/artifacts-zk/contracts/uln/uln302/ReceiveUln302.sol/ReceiveUln302.json +2 -2
  58. package/artifacts-zk/contracts/uln/uln302/ReceiveUln302View.sol/ReceiveUln302View.json +2 -2
  59. package/artifacts-zk/contracts/uln/uln302/SendUln302.sol/SendUln302.json +2 -2
  60. package/deployments/arbitrum-sandbox-local/DVN.json +1 -1
  61. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +1 -1
  62. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +1 -1
  63. package/deployments/arbitrum-sandbox-local/DefaultProxyAdmin.json +1 -1
  64. package/deployments/arbitrum-sandbox-local/EndpointV2.json +1 -1
  65. package/deployments/arbitrum-sandbox-local/EndpointV2View.json +1 -1
  66. package/deployments/arbitrum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  67. package/deployments/arbitrum-sandbox-local/EndpointV2View_Proxy.json +1 -1
  68. package/deployments/arbitrum-sandbox-local/Executor.json +1 -1
  69. package/deployments/arbitrum-sandbox-local/ExecutorDecompressor.json +1 -1
  70. package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +1 -1
  71. package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +1 -1
  72. package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1 -1
  73. package/deployments/arbitrum-sandbox-local/Executor_Proxy.json +1 -1
  74. package/deployments/arbitrum-sandbox-local/LzExecutor.json +1 -1
  75. package/deployments/arbitrum-sandbox-local/LzExecutor_Implementation.json +1 -1
  76. package/deployments/arbitrum-sandbox-local/LzExecutor_Proxy.json +1 -1
  77. package/deployments/arbitrum-sandbox-local/MultiCall.json +1 -1
  78. package/deployments/arbitrum-sandbox-local/NonceContractMock.json +1 -1
  79. package/deployments/arbitrum-sandbox-local/PriceFeed.json +1 -1
  80. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  81. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +1 -1
  82. package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +1 -1
  83. package/deployments/arbitrum-sandbox-local/ReadLib1002.json +1 -1
  84. package/deployments/arbitrum-sandbox-local/ReadLib1002View.json +1 -1
  85. package/deployments/arbitrum-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  86. package/deployments/arbitrum-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  87. package/deployments/arbitrum-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  88. package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1 -1
  89. package/deployments/arbitrum-sandbox-local/ReceiveUln301View.json +1 -1
  90. package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  91. package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  92. package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +1 -1
  93. package/deployments/arbitrum-sandbox-local/ReceiveUln302View.json +1 -1
  94. package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  95. package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  96. package/deployments/arbitrum-sandbox-local/SendUln301.json +1 -1
  97. package/deployments/arbitrum-sandbox-local/SendUln302.json +1 -1
  98. package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +1 -1
  99. package/deployments/arbitrum-sandbox-local/Treasury.json +1 -1
  100. package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +1 -1
  101. package/deployments/bsc-sandbox-local/DVN.json +1 -1
  102. package/deployments/bsc-sandbox-local/DVNDecompressor.json +1 -1
  103. package/deployments/bsc-sandbox-local/DVNFeeLib.json +1 -1
  104. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +1 -1
  105. package/deployments/bsc-sandbox-local/EndpointV2.json +1 -1
  106. package/deployments/bsc-sandbox-local/EndpointV2View.json +1 -1
  107. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +1 -1
  108. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +1 -1
  109. package/deployments/bsc-sandbox-local/Executor.json +1 -1
  110. package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +1 -1
  111. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +1 -1
  112. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +1 -1
  113. package/deployments/bsc-sandbox-local/Executor_Implementation.json +1 -1
  114. package/deployments/bsc-sandbox-local/Executor_Proxy.json +1 -1
  115. package/deployments/bsc-sandbox-local/LzExecutor.json +1 -1
  116. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +1 -1
  117. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +1 -1
  118. package/deployments/bsc-sandbox-local/MultiCall.json +1 -1
  119. package/deployments/bsc-sandbox-local/NonceContractMock.json +1 -1
  120. package/deployments/bsc-sandbox-local/PriceFeed.json +1 -1
  121. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  122. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +1 -1
  123. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +1 -1
  124. package/deployments/bsc-sandbox-local/ReadLib1002.json +1 -1
  125. package/deployments/bsc-sandbox-local/ReadLib1002View.json +1 -1
  126. package/deployments/bsc-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  127. package/deployments/bsc-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  128. package/deployments/bsc-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  129. package/deployments/bsc-sandbox-local/ReceiveUln301.json +1 -1
  130. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +1 -1
  131. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  132. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  133. package/deployments/bsc-sandbox-local/ReceiveUln302.json +1 -1
  134. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +1 -1
  135. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  136. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  137. package/deployments/bsc-sandbox-local/SendUln301.json +1 -1
  138. package/deployments/bsc-sandbox-local/SendUln302.json +1 -1
  139. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +1 -1
  140. package/deployments/bsc-sandbox-local/Treasury.json +1 -1
  141. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +1 -1
  142. package/deployments/ethereum-sandbox-local/DVN.json +1 -1
  143. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +1 -1
  144. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +1 -1
  145. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +1 -1
  146. package/deployments/ethereum-sandbox-local/EndpointV2.json +1 -1
  147. package/deployments/ethereum-sandbox-local/EndpointV2View.json +1 -1
  148. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  149. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +1 -1
  150. package/deployments/ethereum-sandbox-local/Executor.json +1 -1
  151. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +1 -1
  152. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +1 -1
  153. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +1 -1
  154. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  155. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +1 -1
  156. package/deployments/ethereum-sandbox-local/LzExecutor.json +1 -1
  157. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +1 -1
  158. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +1 -1
  159. package/deployments/ethereum-sandbox-local/MultiCall.json +1 -1
  160. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  161. package/deployments/ethereum-sandbox-local/PriceFeed.json +1 -1
  162. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  163. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  164. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +1 -1
  165. package/deployments/ethereum-sandbox-local/ReadLib1002.json +1 -1
  166. package/deployments/ethereum-sandbox-local/ReadLib1002View.json +1 -1
  167. package/deployments/ethereum-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  168. package/deployments/ethereum-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  169. package/deployments/ethereum-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  170. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +1 -1
  171. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +1 -1
  172. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  173. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  174. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +1 -1
  175. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +1 -1
  176. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  177. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  178. package/deployments/ethereum-sandbox-local/SendUln301.json +1 -1
  179. package/deployments/ethereum-sandbox-local/SendUln302.json +1 -1
  180. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +1 -1
  181. package/deployments/ethereum-sandbox-local/Treasury.json +1 -1
  182. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  183. package/deployments/tron-sandbox-local/DVN.json +2 -2
  184. package/deployments/tron-sandbox-local/DVNDecompressor.json +2 -2
  185. package/deployments/tron-sandbox-local/DVNFeeLib.json +2 -2
  186. package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +2 -2
  187. package/deployments/tron-sandbox-local/EndpointV2.json +2 -2
  188. package/deployments/tron-sandbox-local/EndpointV2View.json +2 -2
  189. package/deployments/tron-sandbox-local/EndpointV2View_Implementation.json +2 -2
  190. package/deployments/tron-sandbox-local/EndpointV2View_Proxy.json +2 -2
  191. package/deployments/tron-sandbox-local/Executor.json +2 -2
  192. package/deployments/tron-sandbox-local/ExecutorDecompressor.json +2 -2
  193. package/deployments/tron-sandbox-local/ExecutorFeeLib.json +2 -2
  194. package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +2 -2
  195. package/deployments/tron-sandbox-local/Executor_Implementation.json +2 -2
  196. package/deployments/tron-sandbox-local/Executor_Proxy.json +2 -2
  197. package/deployments/tron-sandbox-local/LzExecutor.json +2 -2
  198. package/deployments/tron-sandbox-local/LzExecutor_Implementation.json +2 -2
  199. package/deployments/tron-sandbox-local/LzExecutor_Proxy.json +2 -2
  200. package/deployments/tron-sandbox-local/MultiCall.json +2 -2
  201. package/deployments/tron-sandbox-local/NonceContractMock.json +2 -2
  202. package/deployments/tron-sandbox-local/PriceFeed.json +2 -2
  203. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +2 -2
  204. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +2 -2
  205. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +2 -2
  206. package/deployments/tron-sandbox-local/ReadLib1002.json +2 -2
  207. package/deployments/tron-sandbox-local/ReadLib1002View.json +2 -2
  208. package/deployments/tron-sandbox-local/ReadLib1002ViewProxyAdmin.json +2 -2
  209. package/deployments/tron-sandbox-local/ReadLib1002View_Implementation.json +2 -2
  210. package/deployments/tron-sandbox-local/ReadLib1002View_Proxy.json +2 -2
  211. package/deployments/tron-sandbox-local/ReceiveUln301.json +2 -2
  212. package/deployments/tron-sandbox-local/ReceiveUln301View.json +2 -2
  213. package/deployments/tron-sandbox-local/ReceiveUln301View_Implementation.json +2 -2
  214. package/deployments/tron-sandbox-local/ReceiveUln301View_Proxy.json +2 -2
  215. package/deployments/tron-sandbox-local/ReceiveUln302.json +2 -2
  216. package/deployments/tron-sandbox-local/ReceiveUln302View.json +2 -2
  217. package/deployments/tron-sandbox-local/ReceiveUln302View_Implementation.json +2 -2
  218. package/deployments/tron-sandbox-local/ReceiveUln302View_Proxy.json +2 -2
  219. package/deployments/tron-sandbox-local/SendUln301.json +2 -2
  220. package/deployments/tron-sandbox-local/SendUln302.json +2 -2
  221. package/deployments/tron-sandbox-local/SimpleMessageLib.json +2 -2
  222. package/deployments/tron-sandbox-local/Treasury.json +2 -2
  223. package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +2 -2
  224. package/package.json +9 -9
@@ -187,6 +187,40 @@
187
187
  "stateMutability": "payable",
188
188
  "type": "function"
189
189
  },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "internalType": "address",
194
+ "name": "_sender",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "internalType": "bytes",
199
+ "name": "_packetHeader",
200
+ "type": "bytes"
201
+ },
202
+ {
203
+ "internalType": "bytes",
204
+ "name": "_cmd",
205
+ "type": "bytes"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "_options",
210
+ "type": "bytes"
211
+ }
212
+ ],
213
+ "name": "assignJob",
214
+ "outputs": [
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "fee",
218
+ "type": "uint256"
219
+ }
220
+ ],
221
+ "stateMutability": "payable",
222
+ "type": "function"
223
+ },
190
224
  {
191
225
  "inputs": [],
192
226
  "name": "defaultMultiplierBps",
@@ -263,6 +297,40 @@
263
297
  "stateMutability": "view",
264
298
  "type": "function"
265
299
  },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "address",
304
+ "name": "_sender",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "internalType": "bytes",
309
+ "name": "_packetHeader",
310
+ "type": "bytes"
311
+ },
312
+ {
313
+ "internalType": "bytes",
314
+ "name": "_cmd",
315
+ "type": "bytes"
316
+ },
317
+ {
318
+ "internalType": "bytes",
319
+ "name": "_options",
320
+ "type": "bytes"
321
+ }
322
+ ],
323
+ "name": "getFee",
324
+ "outputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "fee",
328
+ "type": "uint256"
329
+ }
330
+ ],
331
+ "stateMutability": "view",
332
+ "type": "function"
333
+ },
266
334
  {
267
335
  "inputs": [
268
336
  {
@@ -14,6 +14,27 @@
14
14
  "name": "DVN_EidNotSupported",
15
15
  "type": "error"
16
16
  },
17
+ {
18
+ "inputs": [],
19
+ "name": "DVN_INVALID_INPUT_LENGTH",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "eid",
27
+ "type": "uint32"
28
+ },
29
+ {
30
+ "internalType": "uint64",
31
+ "name": "timestamp",
32
+ "type": "uint64"
33
+ }
34
+ ],
35
+ "name": "DVN_TimestampOutOfRange",
36
+ "type": "error"
37
+ },
17
38
  {
18
39
  "inputs": [
19
40
  {
@@ -103,6 +124,152 @@
103
124
  "stateMutability": "view",
104
125
  "type": "function"
105
126
  },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "components": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "priceFeed",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "sender",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "uint64",
143
+ "name": "quorum",
144
+ "type": "uint64"
145
+ },
146
+ {
147
+ "internalType": "uint16",
148
+ "name": "defaultMultiplierBps",
149
+ "type": "uint16"
150
+ }
151
+ ],
152
+ "internalType": "struct IDVNFeeLib.FeeParamsForRead",
153
+ "name": "_params",
154
+ "type": "tuple"
155
+ },
156
+ {
157
+ "components": [
158
+ {
159
+ "internalType": "uint64",
160
+ "name": "gas",
161
+ "type": "uint64"
162
+ },
163
+ {
164
+ "internalType": "uint16",
165
+ "name": "multiplierBps",
166
+ "type": "uint16"
167
+ },
168
+ {
169
+ "internalType": "uint128",
170
+ "name": "floorMarginUSD",
171
+ "type": "uint128"
172
+ }
173
+ ],
174
+ "internalType": "struct IDVN.DstConfig",
175
+ "name": "_dstConfig",
176
+ "type": "tuple"
177
+ },
178
+ {
179
+ "internalType": "bytes",
180
+ "name": "_cmd",
181
+ "type": "bytes"
182
+ },
183
+ {
184
+ "internalType": "bytes",
185
+ "name": "_options",
186
+ "type": "bytes"
187
+ }
188
+ ],
189
+ "name": "getFee",
190
+ "outputs": [
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "fee",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "stateMutability": "view",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "components": [
204
+ {
205
+ "internalType": "address",
206
+ "name": "priceFeed",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "internalType": "address",
211
+ "name": "sender",
212
+ "type": "address"
213
+ },
214
+ {
215
+ "internalType": "uint64",
216
+ "name": "quorum",
217
+ "type": "uint64"
218
+ },
219
+ {
220
+ "internalType": "uint16",
221
+ "name": "defaultMultiplierBps",
222
+ "type": "uint16"
223
+ }
224
+ ],
225
+ "internalType": "struct IDVNFeeLib.FeeParamsForRead",
226
+ "name": "_params",
227
+ "type": "tuple"
228
+ },
229
+ {
230
+ "components": [
231
+ {
232
+ "internalType": "uint64",
233
+ "name": "gas",
234
+ "type": "uint64"
235
+ },
236
+ {
237
+ "internalType": "uint16",
238
+ "name": "multiplierBps",
239
+ "type": "uint16"
240
+ },
241
+ {
242
+ "internalType": "uint128",
243
+ "name": "floorMarginUSD",
244
+ "type": "uint128"
245
+ }
246
+ ],
247
+ "internalType": "struct IDVN.DstConfig",
248
+ "name": "_dstConfig",
249
+ "type": "tuple"
250
+ },
251
+ {
252
+ "internalType": "bytes",
253
+ "name": "_cmd",
254
+ "type": "bytes"
255
+ },
256
+ {
257
+ "internalType": "bytes",
258
+ "name": "_options",
259
+ "type": "bytes"
260
+ }
261
+ ],
262
+ "name": "getFeeOnSend",
263
+ "outputs": [
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "fee",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "stateMutability": "payable",
271
+ "type": "function"
272
+ },
106
273
  {
107
274
  "inputs": [
108
275
  {
@@ -180,6 +347,24 @@
180
347
  ],
181
348
  "stateMutability": "payable",
182
349
  "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "version",
354
+ "outputs": [
355
+ {
356
+ "internalType": "uint64",
357
+ "name": "major",
358
+ "type": "uint64"
359
+ },
360
+ {
361
+ "internalType": "uint8",
362
+ "name": "minor",
363
+ "type": "uint8"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
183
368
  }
184
369
  ],
185
370
  "bytecode": "0x",
@@ -0,0 +1,80 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ILayerZeroReadDVN",
4
+ "sourceName": "contracts/uln/interfaces/ILayerZeroReadDVN.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "_sender",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "_packetHeader",
16
+ "type": "bytes"
17
+ },
18
+ {
19
+ "internalType": "bytes",
20
+ "name": "_cmd",
21
+ "type": "bytes"
22
+ },
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "_options",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "name": "assignJob",
30
+ "outputs": [
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "fee",
34
+ "type": "uint256"
35
+ }
36
+ ],
37
+ "stateMutability": "payable",
38
+ "type": "function"
39
+ },
40
+ {
41
+ "inputs": [
42
+ {
43
+ "internalType": "address",
44
+ "name": "_sender",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "internalType": "bytes",
49
+ "name": "_packetHeader",
50
+ "type": "bytes"
51
+ },
52
+ {
53
+ "internalType": "bytes",
54
+ "name": "_cmd",
55
+ "type": "bytes"
56
+ },
57
+ {
58
+ "internalType": "bytes",
59
+ "name": "_options",
60
+ "type": "bytes"
61
+ }
62
+ ],
63
+ "name": "getFee",
64
+ "outputs": [
65
+ {
66
+ "internalType": "uint256",
67
+ "name": "fee",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "stateMutability": "view",
72
+ "type": "function"
73
+ }
74
+ ],
75
+ "bytecode": "0x",
76
+ "deployedBytecode": "0x",
77
+ "linkReferences": {},
78
+ "deployedLinkReferences": {},
79
+ "factoryDeps": {}
80
+ }
@@ -31,7 +31,7 @@
31
31
  "components": [
32
32
  {
33
33
  "internalType": "uint32",
34
- "name": "dstEid",
34
+ "name": "eid",
35
35
  "type": "uint32"
36
36
  },
37
37
  {
@@ -37,7 +37,7 @@
37
37
  "components": [
38
38
  {
39
39
  "internalType": "uint32",
40
- "name": "dstEid",
40
+ "name": "eid",
41
41
  "type": "uint32"
42
42
  },
43
43
  {
@@ -69,19 +69,6 @@
69
69
  ],
70
70
  "name": "DstConfigSet",
71
71
  "type": "event"
72
- },
73
- {
74
- "anonymous": false,
75
- "inputs": [
76
- {
77
- "indexed": false,
78
- "internalType": "address",
79
- "name": "router",
80
- "type": "address"
81
- }
82
- ],
83
- "name": "RouterSet",
84
- "type": "event"
85
72
  }
86
73
  ],
87
74
  "bytecode": "0x",
@@ -0,0 +1,27 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ReadCmdCodecV1",
4
+ "sourceName": "contracts/uln/libs/ReadCmdCodecV1.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidCmd",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "InvalidType",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "InvalidVersion",
19
+ "type": "error"
20
+ }
21
+ ],
22
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000700c5518a00a709c61a7851faee41e5385d7ca41a4659530910559314dc34031",
23
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000700c5518a00a709c61a7851faee41e5385d7ca41a4659530910559314dc34031",
24
+ "linkReferences": {},
25
+ "deployedLinkReferences": {},
26
+ "factoryDeps": {}
27
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "SupportedCmdTypesLib",
4
+ "sourceName": "contracts/uln/libs/SupportedCmdTypes.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "UnsupportedTargetEid",
9
+ "type": "error"
10
+ }
11
+ ],
12
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004a697c214c1b68a2149000f55bf90cd1a4635edb21deb89a5baf00e861835f75",
13
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004a697c214c1b68a2149000f55bf90cd1a4635edb21deb89a5baf00e861835f75",
14
+ "linkReferences": {},
15
+ "deployedLinkReferences": {},
16
+ "factoryDeps": {}
17
+ }