@layerzerolabs/lz-evm-sdk-v2 3.0.26 → 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 (265) hide show
  1. package/CHANGELOG.md +16 -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/polygon-sandbox-local/DVN.json +1 -1
  184. package/deployments/polygon-sandbox-local/DVNDecompressor.json +1 -1
  185. package/deployments/polygon-sandbox-local/DVNFeeLib.json +1 -1
  186. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +1 -1
  187. package/deployments/polygon-sandbox-local/EndpointV2.json +1 -1
  188. package/deployments/polygon-sandbox-local/EndpointV2View.json +1 -1
  189. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +1 -1
  190. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +1 -1
  191. package/deployments/polygon-sandbox-local/Executor.json +1 -1
  192. package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +1 -1
  193. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +1 -1
  194. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +1 -1
  195. package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
  196. package/deployments/polygon-sandbox-local/Executor_Proxy.json +1 -1
  197. package/deployments/polygon-sandbox-local/LzExecutor.json +1 -1
  198. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +1 -1
  199. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +1 -1
  200. package/deployments/polygon-sandbox-local/MultiCall.json +1 -1
  201. package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
  202. package/deployments/polygon-sandbox-local/PriceFeed.json +1 -1
  203. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  204. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
  205. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +1 -1
  206. package/deployments/polygon-sandbox-local/ReadLib1002.json +1 -1
  207. package/deployments/polygon-sandbox-local/ReadLib1002View.json +1 -1
  208. package/deployments/polygon-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  209. package/deployments/polygon-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  210. package/deployments/polygon-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  211. package/deployments/polygon-sandbox-local/ReceiveUln301.json +1 -1
  212. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +1 -1
  213. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  214. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  215. package/deployments/polygon-sandbox-local/ReceiveUln302.json +1 -1
  216. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +1 -1
  217. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  218. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  219. package/deployments/polygon-sandbox-local/SendUln301.json +1 -1
  220. package/deployments/polygon-sandbox-local/SendUln302.json +1 -1
  221. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +1 -1
  222. package/deployments/polygon-sandbox-local/Treasury.json +1 -1
  223. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
  224. package/deployments/tron-sandbox-local/DVN.json +2 -2
  225. package/deployments/tron-sandbox-local/DVNDecompressor.json +2 -2
  226. package/deployments/tron-sandbox-local/DVNFeeLib.json +2 -2
  227. package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +2 -2
  228. package/deployments/tron-sandbox-local/EndpointV2.json +2 -2
  229. package/deployments/tron-sandbox-local/EndpointV2View.json +2 -2
  230. package/deployments/tron-sandbox-local/EndpointV2View_Implementation.json +2 -2
  231. package/deployments/tron-sandbox-local/EndpointV2View_Proxy.json +2 -2
  232. package/deployments/tron-sandbox-local/Executor.json +2 -2
  233. package/deployments/tron-sandbox-local/ExecutorDecompressor.json +2 -2
  234. package/deployments/tron-sandbox-local/ExecutorFeeLib.json +2 -2
  235. package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +2 -2
  236. package/deployments/tron-sandbox-local/Executor_Implementation.json +2 -2
  237. package/deployments/tron-sandbox-local/Executor_Proxy.json +2 -2
  238. package/deployments/tron-sandbox-local/LzExecutor.json +2 -2
  239. package/deployments/tron-sandbox-local/LzExecutor_Implementation.json +2 -2
  240. package/deployments/tron-sandbox-local/LzExecutor_Proxy.json +2 -2
  241. package/deployments/tron-sandbox-local/MultiCall.json +2 -2
  242. package/deployments/tron-sandbox-local/NonceContractMock.json +2 -2
  243. package/deployments/tron-sandbox-local/PriceFeed.json +2 -2
  244. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +2 -2
  245. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +2 -2
  246. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +2 -2
  247. package/deployments/tron-sandbox-local/ReadLib1002.json +2 -2
  248. package/deployments/tron-sandbox-local/ReadLib1002View.json +2 -2
  249. package/deployments/tron-sandbox-local/ReadLib1002ViewProxyAdmin.json +2 -2
  250. package/deployments/tron-sandbox-local/ReadLib1002View_Implementation.json +2 -2
  251. package/deployments/tron-sandbox-local/ReadLib1002View_Proxy.json +2 -2
  252. package/deployments/tron-sandbox-local/ReceiveUln301.json +2 -2
  253. package/deployments/tron-sandbox-local/ReceiveUln301View.json +2 -2
  254. package/deployments/tron-sandbox-local/ReceiveUln301View_Implementation.json +2 -2
  255. package/deployments/tron-sandbox-local/ReceiveUln301View_Proxy.json +2 -2
  256. package/deployments/tron-sandbox-local/ReceiveUln302.json +2 -2
  257. package/deployments/tron-sandbox-local/ReceiveUln302View.json +2 -2
  258. package/deployments/tron-sandbox-local/ReceiveUln302View_Implementation.json +2 -2
  259. package/deployments/tron-sandbox-local/ReceiveUln302View_Proxy.json +2 -2
  260. package/deployments/tron-sandbox-local/SendUln301.json +2 -2
  261. package/deployments/tron-sandbox-local/SendUln302.json +2 -2
  262. package/deployments/tron-sandbox-local/SimpleMessageLib.json +2 -2
  263. package/deployments/tron-sandbox-local/Treasury.json +2 -2
  264. package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +2 -2
  265. package/package.json +9 -9
@@ -57,11 +57,94 @@
57
57
  "name": "Executor_UnsupportedOptionType",
58
58
  "type": "error"
59
59
  },
60
+ {
61
+ "inputs": [],
62
+ "name": "Executor_ZeroCalldataSizeProvided",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "Executor_ZeroLzComposeGasProvided",
68
+ "type": "error"
69
+ },
60
70
  {
61
71
  "inputs": [],
62
72
  "name": "Executor_ZeroLzReceiveGasProvided",
63
73
  "type": "error"
64
74
  },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "components": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "priceFeed",
82
+ "type": "address"
83
+ },
84
+ {
85
+ "internalType": "address",
86
+ "name": "sender",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "internalType": "uint16",
91
+ "name": "defaultMultiplierBps",
92
+ "type": "uint16"
93
+ }
94
+ ],
95
+ "internalType": "struct IExecutorFeeLib.FeeParamsForRead",
96
+ "name": "_params",
97
+ "type": "tuple"
98
+ },
99
+ {
100
+ "components": [
101
+ {
102
+ "internalType": "uint64",
103
+ "name": "lzReceiveBaseGas",
104
+ "type": "uint64"
105
+ },
106
+ {
107
+ "internalType": "uint16",
108
+ "name": "multiplierBps",
109
+ "type": "uint16"
110
+ },
111
+ {
112
+ "internalType": "uint128",
113
+ "name": "floorMarginUSD",
114
+ "type": "uint128"
115
+ },
116
+ {
117
+ "internalType": "uint128",
118
+ "name": "nativeCap",
119
+ "type": "uint128"
120
+ },
121
+ {
122
+ "internalType": "uint64",
123
+ "name": "lzComposeBaseGas",
124
+ "type": "uint64"
125
+ }
126
+ ],
127
+ "internalType": "struct IExecutor.DstConfig",
128
+ "name": "_dstConfig",
129
+ "type": "tuple"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "_options",
134
+ "type": "bytes"
135
+ }
136
+ ],
137
+ "name": "getFee",
138
+ "outputs": [
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "fee",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
65
148
  {
66
149
  "inputs": [
67
150
  {
@@ -100,7 +183,7 @@
100
183
  "components": [
101
184
  {
102
185
  "internalType": "uint64",
103
- "name": "baseGas",
186
+ "name": "lzReceiveBaseGas",
104
187
  "type": "uint64"
105
188
  },
106
189
  {
@@ -117,6 +200,11 @@
117
200
  "internalType": "uint128",
118
201
  "name": "nativeCap",
119
202
  "type": "uint128"
203
+ },
204
+ {
205
+ "internalType": "uint64",
206
+ "name": "lzComposeBaseGas",
207
+ "type": "uint64"
120
208
  }
121
209
  ],
122
210
  "internalType": "struct IExecutor.DstConfig",
@@ -178,7 +266,7 @@
178
266
  "components": [
179
267
  {
180
268
  "internalType": "uint64",
181
- "name": "baseGas",
269
+ "name": "lzReceiveBaseGas",
182
270
  "type": "uint64"
183
271
  },
184
272
  {
@@ -195,6 +283,84 @@
195
283
  "internalType": "uint128",
196
284
  "name": "nativeCap",
197
285
  "type": "uint128"
286
+ },
287
+ {
288
+ "internalType": "uint64",
289
+ "name": "lzComposeBaseGas",
290
+ "type": "uint64"
291
+ }
292
+ ],
293
+ "internalType": "struct IExecutor.DstConfig",
294
+ "name": "_dstConfig",
295
+ "type": "tuple"
296
+ },
297
+ {
298
+ "internalType": "bytes",
299
+ "name": "_options",
300
+ "type": "bytes"
301
+ }
302
+ ],
303
+ "name": "getFeeOnSend",
304
+ "outputs": [
305
+ {
306
+ "internalType": "uint256",
307
+ "name": "fee",
308
+ "type": "uint256"
309
+ }
310
+ ],
311
+ "stateMutability": "nonpayable",
312
+ "type": "function"
313
+ },
314
+ {
315
+ "inputs": [
316
+ {
317
+ "components": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "priceFeed",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "internalType": "address",
325
+ "name": "sender",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "internalType": "uint16",
330
+ "name": "defaultMultiplierBps",
331
+ "type": "uint16"
332
+ }
333
+ ],
334
+ "internalType": "struct IExecutorFeeLib.FeeParamsForRead",
335
+ "name": "_params",
336
+ "type": "tuple"
337
+ },
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "uint64",
342
+ "name": "lzReceiveBaseGas",
343
+ "type": "uint64"
344
+ },
345
+ {
346
+ "internalType": "uint16",
347
+ "name": "multiplierBps",
348
+ "type": "uint16"
349
+ },
350
+ {
351
+ "internalType": "uint128",
352
+ "name": "floorMarginUSD",
353
+ "type": "uint128"
354
+ },
355
+ {
356
+ "internalType": "uint128",
357
+ "name": "nativeCap",
358
+ "type": "uint128"
359
+ },
360
+ {
361
+ "internalType": "uint64",
362
+ "name": "lzComposeBaseGas",
363
+ "type": "uint64"
198
364
  }
199
365
  ],
200
366
  "internalType": "struct IExecutor.DstConfig",
@@ -217,6 +383,24 @@
217
383
  ],
218
384
  "stateMutability": "nonpayable",
219
385
  "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "version",
390
+ "outputs": [
391
+ {
392
+ "internalType": "uint64",
393
+ "name": "major",
394
+ "type": "uint64"
395
+ },
396
+ {
397
+ "internalType": "uint8",
398
+ "name": "minor",
399
+ "type": "uint8"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
220
404
  }
221
405
  ],
222
406
  "bytecode": "0x",
@@ -1627,7 +1627,7 @@
1627
1627
  },
1628
1628
  {
1629
1629
  "internalType": "uint256",
1630
- "name": "_timeout",
1630
+ "name": "_gracePeriod",
1631
1631
  "type": "uint256"
1632
1632
  }
1633
1633
  ],
@@ -1750,7 +1750,7 @@
1750
1750
  },
1751
1751
  {
1752
1752
  "internalType": "uint256",
1753
- "name": "_gracePeriod",
1753
+ "name": "_expiry",
1754
1754
  "type": "uint256"
1755
1755
  }
1756
1756
  ],
@@ -19,11 +19,6 @@
19
19
  "name": "LZ_PriceFeed_InsufficientFee",
20
20
  "type": "error"
21
21
  },
22
- {
23
- "inputs": [],
24
- "name": "LZ_PriceFeed_OnlyPriceUpdater",
25
- "type": "error"
26
- },
27
22
  {
28
23
  "inputs": [
29
24
  {
@@ -32,7 +27,12 @@
32
27
  "type": "uint32"
33
28
  }
34
29
  ],
35
- "name": "LZ_PriceFeed_UnknownL2Eid",
30
+ "name": "LZ_PriceFeed_NotAnOPStack",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "LZ_PriceFeed_OnlyPriceUpdater",
36
36
  "type": "error"
37
37
  },
38
38
  {
@@ -0,0 +1,60 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ILayerZeroReadExecutor",
4
+ "sourceName": "contracts/interfaces/ILayerZeroReadExecutor.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "_sender",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "_options",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "assignJob",
20
+ "outputs": [
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "fee",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "stateMutability": "nonpayable",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "address",
34
+ "name": "_sender",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "internalType": "bytes",
39
+ "name": "_options",
40
+ "type": "bytes"
41
+ }
42
+ ],
43
+ "name": "getFee",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "fee",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ }
54
+ ],
55
+ "bytecode": "0x",
56
+ "deployedBytecode": "0x",
57
+ "linkReferences": {},
58
+ "deployedLinkReferences": {},
59
+ "factoryDeps": {}
60
+ }
@@ -509,7 +509,7 @@
509
509
  },
510
510
  {
511
511
  "internalType": "uint256",
512
- "name": "_timeout",
512
+ "name": "_gracePeriod",
513
513
  "type": "uint256"
514
514
  }
515
515
  ],
@@ -606,7 +606,7 @@
606
606
  },
607
607
  {
608
608
  "internalType": "uint256",
609
- "name": "_gracePeriod",
609
+ "name": "_expiry",
610
610
  "type": "uint256"
611
611
  }
612
612
  ],
@@ -0,0 +1,32 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ExecutorOptions",
4
+ "sourceName": "contracts/libs/ExecutorOptions.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "Executor_InvalidLzComposeOption",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "Executor_InvalidLzReadOption",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "Executor_InvalidLzReceiveOption",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "Executor_InvalidNativeDropOption",
24
+ "type": "error"
25
+ }
26
+ ],
27
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004fe50904607ba077f395d382e77e2a2d666b7e3e23d764080babaf42b13f42ae",
28
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004fe50904607ba077f395d382e77e2a2d666b7e3e23d764080babaf42b13f42ae",
29
+ "linkReferences": {},
30
+ "deployedLinkReferences": {},
31
+ "factoryDeps": {}
32
+ }