@layerzerolabs/lz-evm-sdk-v2 3.0.59 → 3.0.61

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 (218) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/artifacts-zk/contracts/oapp/OAppRead.sol/OAppRead.json +402 -0
  3. package/artifacts-zk/contracts/oapp/examples/CmdCodecV1Mock.sol/CmdCodecV1Mock.json +279 -0
  4. package/artifacts-zk/contracts/oapp/examples/LzReadCounter.sol/LzReadCounter.json +844 -0
  5. package/artifacts-zk/contracts/oapp/examples/OmniCounterAbstract.sol/MsgCodec.json +11 -0
  6. package/artifacts-zk/contracts/oapp/examples/OmniCounterAbstract.sol/OmniCounterAbstract.json +910 -0
  7. package/artifacts-zk/contracts/oapp/interfaces/IOAppComputer.sol/IOAppComputer.json +60 -0
  8. package/artifacts-zk/contracts/oapp/interfaces/IOAppComputerMap.sol/IOAppComputerMap.json +36 -0
  9. package/artifacts-zk/contracts/oapp/interfaces/IOAppComputerReduce.sol/IOAppComputerReduce.json +36 -0
  10. package/artifacts-zk/contracts/oapp/interfaces/IOAppReceiver.sol/IOAppReceiver.json +168 -0
  11. package/artifacts-zk/contracts/oapp/libs/ReadCmdCodecV1.sol/ReadCmdCodecV1.json +22 -0
  12. package/artifacts-zk/contracts/oapp/utils/RateLimiter.sol/RateLimiter.json +105 -0
  13. package/deployments/arbitrum-sandbox-local/DVN.json +1 -1
  14. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +1 -1
  15. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +1 -1
  16. package/deployments/arbitrum-sandbox-local/DefaultProxyAdmin.json +1 -1
  17. package/deployments/arbitrum-sandbox-local/EndpointV2.json +1 -1
  18. package/deployments/arbitrum-sandbox-local/EndpointV2View.json +1 -1
  19. package/deployments/arbitrum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  20. package/deployments/arbitrum-sandbox-local/EndpointV2View_Proxy.json +1 -1
  21. package/deployments/arbitrum-sandbox-local/Executor.json +1 -1
  22. package/deployments/arbitrum-sandbox-local/ExecutorDecompressor.json +1 -1
  23. package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +1 -1
  24. package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +1 -1
  25. package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1 -1
  26. package/deployments/arbitrum-sandbox-local/Executor_Proxy.json +1 -1
  27. package/deployments/arbitrum-sandbox-local/LzExecutor.json +1 -1
  28. package/deployments/arbitrum-sandbox-local/LzExecutor_Implementation.json +1 -1
  29. package/deployments/arbitrum-sandbox-local/LzExecutor_Proxy.json +1 -1
  30. package/deployments/arbitrum-sandbox-local/MultiCall.json +1 -1
  31. package/deployments/arbitrum-sandbox-local/NonceContractMock.json +1 -1
  32. package/deployments/arbitrum-sandbox-local/PriceFeed.json +1 -1
  33. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  34. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +1 -1
  35. package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +1 -1
  36. package/deployments/arbitrum-sandbox-local/ReadLib1002.json +1 -1
  37. package/deployments/arbitrum-sandbox-local/ReadLib1002View.json +1 -1
  38. package/deployments/arbitrum-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  39. package/deployments/arbitrum-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  40. package/deployments/arbitrum-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  41. package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1 -1
  42. package/deployments/arbitrum-sandbox-local/ReceiveUln301View.json +1 -1
  43. package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  44. package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  45. package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +1 -1
  46. package/deployments/arbitrum-sandbox-local/ReceiveUln302View.json +1 -1
  47. package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  48. package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  49. package/deployments/arbitrum-sandbox-local/SendUln301.json +1 -1
  50. package/deployments/arbitrum-sandbox-local/SendUln302.json +1 -1
  51. package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +1 -1
  52. package/deployments/arbitrum-sandbox-local/Treasury.json +1 -1
  53. package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +1 -1
  54. package/deployments/bsc-sandbox-local/DVN.json +1 -1
  55. package/deployments/bsc-sandbox-local/DVNDecompressor.json +1 -1
  56. package/deployments/bsc-sandbox-local/DVNFeeLib.json +1 -1
  57. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +1 -1
  58. package/deployments/bsc-sandbox-local/EndpointV2.json +1 -1
  59. package/deployments/bsc-sandbox-local/EndpointV2View.json +1 -1
  60. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +1 -1
  61. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +1 -1
  62. package/deployments/bsc-sandbox-local/Executor.json +1 -1
  63. package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +1 -1
  64. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +1 -1
  65. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +1 -1
  66. package/deployments/bsc-sandbox-local/Executor_Implementation.json +1 -1
  67. package/deployments/bsc-sandbox-local/Executor_Proxy.json +1 -1
  68. package/deployments/bsc-sandbox-local/LzExecutor.json +1 -1
  69. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +1 -1
  70. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +1 -1
  71. package/deployments/bsc-sandbox-local/MultiCall.json +1 -1
  72. package/deployments/bsc-sandbox-local/NonceContractMock.json +1 -1
  73. package/deployments/bsc-sandbox-local/PriceFeed.json +1 -1
  74. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  75. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +1 -1
  76. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +1 -1
  77. package/deployments/bsc-sandbox-local/ReadLib1002.json +1 -1
  78. package/deployments/bsc-sandbox-local/ReadLib1002View.json +1 -1
  79. package/deployments/bsc-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  80. package/deployments/bsc-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  81. package/deployments/bsc-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  82. package/deployments/bsc-sandbox-local/ReceiveUln301.json +1 -1
  83. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +1 -1
  84. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  85. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  86. package/deployments/bsc-sandbox-local/ReceiveUln302.json +1 -1
  87. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +1 -1
  88. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  89. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  90. package/deployments/bsc-sandbox-local/SendUln301.json +1 -1
  91. package/deployments/bsc-sandbox-local/SendUln302.json +1 -1
  92. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +1 -1
  93. package/deployments/bsc-sandbox-local/Treasury.json +1 -1
  94. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +1 -1
  95. package/deployments/ethereum-sandbox-local/DVN.json +1 -1
  96. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +1 -1
  97. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +1 -1
  98. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +1 -1
  99. package/deployments/ethereum-sandbox-local/EndpointV2.json +1 -1
  100. package/deployments/ethereum-sandbox-local/EndpointV2View.json +1 -1
  101. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  102. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +1 -1
  103. package/deployments/ethereum-sandbox-local/Executor.json +1 -1
  104. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +1 -1
  105. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +1 -1
  106. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +1 -1
  107. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  108. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +1 -1
  109. package/deployments/ethereum-sandbox-local/LzExecutor.json +1 -1
  110. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +1 -1
  111. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +1 -1
  112. package/deployments/ethereum-sandbox-local/MultiCall.json +1 -1
  113. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  114. package/deployments/ethereum-sandbox-local/PriceFeed.json +1 -1
  115. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  116. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  117. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +1 -1
  118. package/deployments/ethereum-sandbox-local/ReadLib1002.json +1 -1
  119. package/deployments/ethereum-sandbox-local/ReadLib1002View.json +1 -1
  120. package/deployments/ethereum-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  121. package/deployments/ethereum-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  122. package/deployments/ethereum-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  123. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +1 -1
  124. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +1 -1
  125. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  126. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  127. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +1 -1
  128. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +1 -1
  129. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  130. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  131. package/deployments/ethereum-sandbox-local/SendUln301.json +1 -1
  132. package/deployments/ethereum-sandbox-local/SendUln302.json +1 -1
  133. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +1 -1
  134. package/deployments/ethereum-sandbox-local/Treasury.json +1 -1
  135. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  136. package/deployments/polygon-sandbox-local/DVN.json +1 -1
  137. package/deployments/polygon-sandbox-local/DVNDecompressor.json +1 -1
  138. package/deployments/polygon-sandbox-local/DVNFeeLib.json +1 -1
  139. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +1 -1
  140. package/deployments/polygon-sandbox-local/EndpointV2.json +1 -1
  141. package/deployments/polygon-sandbox-local/EndpointV2View.json +1 -1
  142. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +1 -1
  143. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +1 -1
  144. package/deployments/polygon-sandbox-local/Executor.json +1 -1
  145. package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +1 -1
  146. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +1 -1
  147. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +1 -1
  148. package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
  149. package/deployments/polygon-sandbox-local/Executor_Proxy.json +1 -1
  150. package/deployments/polygon-sandbox-local/LzExecutor.json +1 -1
  151. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +1 -1
  152. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +1 -1
  153. package/deployments/polygon-sandbox-local/MultiCall.json +1 -1
  154. package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
  155. package/deployments/polygon-sandbox-local/PriceFeed.json +1 -1
  156. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +1 -1
  157. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
  158. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +1 -1
  159. package/deployments/polygon-sandbox-local/ReadLib1002.json +1 -1
  160. package/deployments/polygon-sandbox-local/ReadLib1002View.json +1 -1
  161. package/deployments/polygon-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
  162. package/deployments/polygon-sandbox-local/ReadLib1002View_Implementation.json +1 -1
  163. package/deployments/polygon-sandbox-local/ReadLib1002View_Proxy.json +1 -1
  164. package/deployments/polygon-sandbox-local/ReceiveUln301.json +1 -1
  165. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +1 -1
  166. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  167. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
  168. package/deployments/polygon-sandbox-local/ReceiveUln302.json +1 -1
  169. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +1 -1
  170. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  171. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
  172. package/deployments/polygon-sandbox-local/SendUln301.json +1 -1
  173. package/deployments/polygon-sandbox-local/SendUln302.json +1 -1
  174. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +1 -1
  175. package/deployments/polygon-sandbox-local/Treasury.json +1 -1
  176. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
  177. package/deployments/tron-sandbox-local/DVN.json +2 -2
  178. package/deployments/tron-sandbox-local/DVNDecompressor.json +2 -2
  179. package/deployments/tron-sandbox-local/DVNFeeLib.json +2 -2
  180. package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +2 -2
  181. package/deployments/tron-sandbox-local/EndpointV2.json +2 -2
  182. package/deployments/tron-sandbox-local/EndpointV2View.json +2 -2
  183. package/deployments/tron-sandbox-local/EndpointV2View_Implementation.json +2 -2
  184. package/deployments/tron-sandbox-local/EndpointV2View_Proxy.json +2 -2
  185. package/deployments/tron-sandbox-local/Executor.json +2 -2
  186. package/deployments/tron-sandbox-local/ExecutorDecompressor.json +2 -2
  187. package/deployments/tron-sandbox-local/ExecutorFeeLib.json +2 -2
  188. package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +2 -2
  189. package/deployments/tron-sandbox-local/Executor_Implementation.json +2 -2
  190. package/deployments/tron-sandbox-local/Executor_Proxy.json +2 -2
  191. package/deployments/tron-sandbox-local/LzExecutor.json +2 -2
  192. package/deployments/tron-sandbox-local/LzExecutor_Implementation.json +2 -2
  193. package/deployments/tron-sandbox-local/LzExecutor_Proxy.json +2 -2
  194. package/deployments/tron-sandbox-local/MultiCall.json +2 -2
  195. package/deployments/tron-sandbox-local/NonceContractMock.json +2 -2
  196. package/deployments/tron-sandbox-local/PriceFeed.json +2 -2
  197. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +2 -2
  198. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +2 -2
  199. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +2 -2
  200. package/deployments/tron-sandbox-local/ReadLib1002.json +2 -2
  201. package/deployments/tron-sandbox-local/ReadLib1002View.json +2 -2
  202. package/deployments/tron-sandbox-local/ReadLib1002ViewProxyAdmin.json +2 -2
  203. package/deployments/tron-sandbox-local/ReadLib1002View_Implementation.json +2 -2
  204. package/deployments/tron-sandbox-local/ReadLib1002View_Proxy.json +2 -2
  205. package/deployments/tron-sandbox-local/ReceiveUln301.json +2 -2
  206. package/deployments/tron-sandbox-local/ReceiveUln301View.json +2 -2
  207. package/deployments/tron-sandbox-local/ReceiveUln301View_Implementation.json +2 -2
  208. package/deployments/tron-sandbox-local/ReceiveUln301View_Proxy.json +2 -2
  209. package/deployments/tron-sandbox-local/ReceiveUln302.json +2 -2
  210. package/deployments/tron-sandbox-local/ReceiveUln302View.json +2 -2
  211. package/deployments/tron-sandbox-local/ReceiveUln302View_Implementation.json +2 -2
  212. package/deployments/tron-sandbox-local/ReceiveUln302View_Proxy.json +2 -2
  213. package/deployments/tron-sandbox-local/SendUln301.json +2 -2
  214. package/deployments/tron-sandbox-local/SendUln302.json +2 -2
  215. package/deployments/tron-sandbox-local/SimpleMessageLib.json +2 -2
  216. package/deployments/tron-sandbox-local/Treasury.json +2 -2
  217. package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +2 -2
  218. package/package.json +9 -9
@@ -0,0 +1,60 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOAppComputer",
4
+ "sourceName": "contracts/oapp/interfaces/IOAppComputer.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes",
10
+ "name": "_request",
11
+ "type": "bytes"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "_response",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "lzMap",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bytes",
23
+ "name": "",
24
+ "type": "bytes"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "bytes",
34
+ "name": "_cmd",
35
+ "type": "bytes"
36
+ },
37
+ {
38
+ "internalType": "bytes[]",
39
+ "name": "_responses",
40
+ "type": "bytes[]"
41
+ }
42
+ ],
43
+ "name": "lzReduce",
44
+ "outputs": [
45
+ {
46
+ "internalType": "bytes",
47
+ "name": "",
48
+ "type": "bytes"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ }
54
+ ],
55
+ "bytecode": "0x",
56
+ "deployedBytecode": "0x",
57
+ "linkReferences": {},
58
+ "deployedLinkReferences": {},
59
+ "factoryDeps": {}
60
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOAppComputerMap",
4
+ "sourceName": "contracts/oapp/interfaces/IOAppComputerMap.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes",
10
+ "name": "_request",
11
+ "type": "bytes"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "_response",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "lzMap",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bytes",
23
+ "name": "",
24
+ "type": "bytes"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ }
30
+ ],
31
+ "bytecode": "0x",
32
+ "deployedBytecode": "0x",
33
+ "linkReferences": {},
34
+ "deployedLinkReferences": {},
35
+ "factoryDeps": {}
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOAppComputerReduce",
4
+ "sourceName": "contracts/oapp/interfaces/IOAppComputerReduce.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes",
10
+ "name": "_cmd",
11
+ "type": "bytes"
12
+ },
13
+ {
14
+ "internalType": "bytes[]",
15
+ "name": "_responses",
16
+ "type": "bytes[]"
17
+ }
18
+ ],
19
+ "name": "lzReduce",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bytes",
23
+ "name": "",
24
+ "type": "bytes"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ }
30
+ ],
31
+ "bytecode": "0x",
32
+ "deployedBytecode": "0x",
33
+ "linkReferences": {},
34
+ "deployedLinkReferences": {},
35
+ "factoryDeps": {}
36
+ }
@@ -0,0 +1,168 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOAppReceiver",
4
+ "sourceName": "contracts/oapp/interfaces/IOAppReceiver.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "uint32",
12
+ "name": "srcEid",
13
+ "type": "uint32"
14
+ },
15
+ {
16
+ "internalType": "bytes32",
17
+ "name": "sender",
18
+ "type": "bytes32"
19
+ },
20
+ {
21
+ "internalType": "uint64",
22
+ "name": "nonce",
23
+ "type": "uint64"
24
+ }
25
+ ],
26
+ "internalType": "struct Origin",
27
+ "name": "_origin",
28
+ "type": "tuple"
29
+ }
30
+ ],
31
+ "name": "allowInitializePath",
32
+ "outputs": [
33
+ {
34
+ "internalType": "bool",
35
+ "name": "",
36
+ "type": "bool"
37
+ }
38
+ ],
39
+ "stateMutability": "view",
40
+ "type": "function"
41
+ },
42
+ {
43
+ "inputs": [
44
+ {
45
+ "components": [
46
+ {
47
+ "internalType": "uint32",
48
+ "name": "srcEid",
49
+ "type": "uint32"
50
+ },
51
+ {
52
+ "internalType": "bytes32",
53
+ "name": "sender",
54
+ "type": "bytes32"
55
+ },
56
+ {
57
+ "internalType": "uint64",
58
+ "name": "nonce",
59
+ "type": "uint64"
60
+ }
61
+ ],
62
+ "internalType": "struct Origin",
63
+ "name": "_origin",
64
+ "type": "tuple"
65
+ },
66
+ {
67
+ "internalType": "bytes",
68
+ "name": "_message",
69
+ "type": "bytes"
70
+ },
71
+ {
72
+ "internalType": "address",
73
+ "name": "_sender",
74
+ "type": "address"
75
+ }
76
+ ],
77
+ "name": "isComposeMsgSender",
78
+ "outputs": [
79
+ {
80
+ "internalType": "bool",
81
+ "name": "isSender",
82
+ "type": "bool"
83
+ }
84
+ ],
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "components": [
92
+ {
93
+ "internalType": "uint32",
94
+ "name": "srcEid",
95
+ "type": "uint32"
96
+ },
97
+ {
98
+ "internalType": "bytes32",
99
+ "name": "sender",
100
+ "type": "bytes32"
101
+ },
102
+ {
103
+ "internalType": "uint64",
104
+ "name": "nonce",
105
+ "type": "uint64"
106
+ }
107
+ ],
108
+ "internalType": "struct Origin",
109
+ "name": "_origin",
110
+ "type": "tuple"
111
+ },
112
+ {
113
+ "internalType": "bytes32",
114
+ "name": "_guid",
115
+ "type": "bytes32"
116
+ },
117
+ {
118
+ "internalType": "bytes",
119
+ "name": "_message",
120
+ "type": "bytes"
121
+ },
122
+ {
123
+ "internalType": "address",
124
+ "name": "_executor",
125
+ "type": "address"
126
+ },
127
+ {
128
+ "internalType": "bytes",
129
+ "name": "_extraData",
130
+ "type": "bytes"
131
+ }
132
+ ],
133
+ "name": "lzReceive",
134
+ "outputs": [],
135
+ "stateMutability": "payable",
136
+ "type": "function"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "uint32",
142
+ "name": "_eid",
143
+ "type": "uint32"
144
+ },
145
+ {
146
+ "internalType": "bytes32",
147
+ "name": "_sender",
148
+ "type": "bytes32"
149
+ }
150
+ ],
151
+ "name": "nextNonce",
152
+ "outputs": [
153
+ {
154
+ "internalType": "uint64",
155
+ "name": "",
156
+ "type": "uint64"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ }
162
+ ],
163
+ "bytecode": "0x",
164
+ "deployedBytecode": "0x",
165
+ "linkReferences": {},
166
+ "deployedLinkReferences": {},
167
+ "factoryDeps": {}
168
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ReadCmdCodecV1",
4
+ "sourceName": "contracts/oapp/libs/ReadCmdCodecV1.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidType",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "InvalidVersion",
14
+ "type": "error"
15
+ }
16
+ ],
17
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000f31af40b8ce9a9f4e8b111edd0c746606597ef9f1544938e45fe7912ff4af542",
18
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000f31af40b8ce9a9f4e8b111edd0c746606597ef9f1544938e45fe7912ff4af542",
19
+ "linkReferences": {},
20
+ "deployedLinkReferences": {},
21
+ "factoryDeps": {}
22
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "RateLimiter",
4
+ "sourceName": "contracts/oapp/utils/RateLimiter.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "RateLimitExceeded",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "anonymous": false,
13
+ "inputs": [
14
+ {
15
+ "components": [
16
+ {
17
+ "internalType": "uint32",
18
+ "name": "dstEid",
19
+ "type": "uint32"
20
+ },
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "limit",
24
+ "type": "uint256"
25
+ },
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "window",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "indexed": false,
33
+ "internalType": "struct RateLimiter.RateLimitConfig[]",
34
+ "name": "rateLimitConfigs",
35
+ "type": "tuple[]"
36
+ }
37
+ ],
38
+ "name": "RateLimitsChanged",
39
+ "type": "event"
40
+ },
41
+ {
42
+ "inputs": [
43
+ {
44
+ "internalType": "uint32",
45
+ "name": "_dstEid",
46
+ "type": "uint32"
47
+ }
48
+ ],
49
+ "name": "getAmountCanBeSent",
50
+ "outputs": [
51
+ {
52
+ "internalType": "uint256",
53
+ "name": "currentAmountInFlight",
54
+ "type": "uint256"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "amountCanBeSent",
59
+ "type": "uint256"
60
+ }
61
+ ],
62
+ "stateMutability": "view",
63
+ "type": "function"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "uint32",
69
+ "name": "dstEid",
70
+ "type": "uint32"
71
+ }
72
+ ],
73
+ "name": "rateLimits",
74
+ "outputs": [
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "amountInFlight",
78
+ "type": "uint256"
79
+ },
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "lastUpdated",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "limit",
88
+ "type": "uint256"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "window",
93
+ "type": "uint256"
94
+ }
95
+ ],
96
+ "stateMutability": "view",
97
+ "type": "function"
98
+ }
99
+ ],
100
+ "bytecode": "0x",
101
+ "deployedBytecode": "0x",
102
+ "linkReferences": {},
103
+ "deployedLinkReferences": {},
104
+ "factoryDeps": {}
105
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x10Aeafac83d48E2f9ac4bAAf94311c45fACe1404",
3
- "transactionHash": "0x367a3b5bbf9233d7dfeff9b88ab303b4a8d2a5a8b8d731bf39abefc95db0917f",
3
+ "transactionHash": "0xa616f57c44da73c08ef70f59e35fb066dce4f1ac9a287453da39492a4796d46c",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0xCABEe62adFB2a4d4172Fc2F7536f324FC52C274a",
3
- "transactionHash": "0xbee35198ded888b3c1d28c6258bd60ac91344dcdcbc5f132f56642ca89784936",
3
+ "transactionHash": "0x29801789529ec99ae8d53a02d7cd0162f006605aed0b94e363fa2aa15f64211a",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0xfbfbfDdd6e35dA57b7B0F9a2C10E34Be70B3A4E9",
3
- "transactionHash": "0x4e34879eec9b805f297044a20715c897198d6737ed3d078c83ad7f3a19f5ca6c",
3
+ "transactionHash": "0xcf0d449652d8e982ef7dbf17188990debf7cf7a80cee0dca97db35fcac9941af",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x94B75AA39bEC4cB15e7B9593C315aF203B7B847f",
3
- "transactionHash": "0xe8f858153e316d9720ed41becce1142f8e4519ac785813facb271f1a90cc85bb",
3
+ "transactionHash": "0x4513a3dd568b9b4e8179914b49f0203bfcf9c822a43d6e961bb1b873198a0e70",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x0b48aF34f4c854F5ae1A3D587da471FeA45bAD52",
3
- "transactionHash": "0xf3c8d38c676373a26c4a96bb14d015dd16a6ab17ee8f6982025b8687ec1f2a8d",
3
+ "transactionHash": "0xd9192af6e05b5ce229035b5d43683f3ad6bdcd855ce0074181d4a85641981ad1",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x8cDbD76bB6Cf0293e07deEEEd460cf579873aF44",
3
- "transactionHash": "0x19d03047bb95e40926fcce5505f1a8b936e6a26db76e3fe11c0632b671e9dbe2",
3
+ "transactionHash": "0xafd45f05b9d7bf7601188f654aaf9956803b7e1b23050e5b1b845f8236ff8a5b",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
3
- "transactionHash": "0x51a38e24ffb69febc08adf43a456ee6a1dd6da5d65b5c251dae546514808f661",
3
+ "transactionHash": "0x266356bdf25e503a46489b0b1286700715e03782ad13bc26669db598994cb07e",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x8cDbD76bB6Cf0293e07deEEEd460cf579873aF44",
3
- "transactionHash": "0x19d03047bb95e40926fcce5505f1a8b936e6a26db76e3fe11c0632b671e9dbe2",
3
+ "transactionHash": "0xafd45f05b9d7bf7601188f654aaf9956803b7e1b23050e5b1b845f8236ff8a5b",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x36B22905A1211A55E0d62eF46720172e2b0f24BD",
3
- "transactionHash": "0xdd31f591f76112f36de818004e4cf4a161fc0728f8a8faa0bd20f86beadd3a28",
3
+ "transactionHash": "0x2ee24dadc818fb6dad6244aef9ca26b63c9ab330e31e9e3e71d7cc77fff52417",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x5F1e91d509cFEB544809B0749284DEB25C3a113a",
3
- "transactionHash": "0x6d95a378c31951cf8e1717b723e9639a8843ecea7c5bb740b4f76f5e6eab5510",
3
+ "transactionHash": "0xdfe0b4a0777e37f6040438ccb84375c7cae1064e4b0463f0cccdbdd9873a2993",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x558785b76e29e5b9f8Bf428936480B49d71F3d76",
3
- "transactionHash": "0x68a86def4f4cfda6418e1df0aca34328686c816032723a0110e5ae96bbeef411",
3
+ "transactionHash": "0xe34cf6c3cb3370877f9bf7bc708eb2debaa860a69164852b82a280e2aaeb43b2",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0xE7C2a73131dd48D8AC46dCD7Ab80C8cbeE5b410A",
3
- "transactionHash": "0x4165308b252bd40cf736559b5540e5af46d00e7385566515aa518e3756098c36",
3
+ "transactionHash": "0x9044baa647db4ffb80c23fe8ef2c687505e23a265b9cffb58dc74d6789671eb7",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x71550ac84Ba7599220eAEf5C756b847cB4486606",
3
- "transactionHash": "0x271b6b26fa16b4c46de97672536b0f7cba194a28f8dad3af48bc33259a78ff16",
3
+ "transactionHash": "0x73a6d6fee72df98078d99c2b3f3fb30f41913ef43d2bedd4c19dccbd5e885236",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x36B22905A1211A55E0d62eF46720172e2b0f24BD",
3
- "transactionHash": "0xdd31f591f76112f36de818004e4cf4a161fc0728f8a8faa0bd20f86beadd3a28",
3
+ "transactionHash": "0x2ee24dadc818fb6dad6244aef9ca26b63c9ab330e31e9e3e71d7cc77fff52417",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
3
- "transactionHash": "0x30145de52527b9848997e1c7920c7beadc1d53722f2ce7679cd7d2aab5c8e7a2",
3
+ "transactionHash": "0xdc6e4947e033cf57592c5a4c68f048fea17695cc6dc3fd8ced4f5434258228b2",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0xE8BBb5F22E6b3d6CD9157B8FD2b59C076e57a9Fc",
3
- "transactionHash": "0x693029b28cf1be68bed05fd25a2ea9a821ebd0a0f3bfa3d082994770e993019d",
3
+ "transactionHash": "0xbfee344e39c282184fbfc3c568a2fc8cae4dd94d596e04c979035730414bac04",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
3
- "transactionHash": "0x30145de52527b9848997e1c7920c7beadc1d53722f2ce7679cd7d2aab5c8e7a2",
3
+ "transactionHash": "0xdc6e4947e033cf57592c5a4c68f048fea17695cc6dc3fd8ced4f5434258228b2",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x9E7088C23e5C0B2D02cD7886A1BDbC7FE8b71016",
3
- "transactionHash": "0x4dd47cfe9f54013d9a653b44a29012fd9f7233ec6914dd0893482b7303288904",
3
+ "transactionHash": "0x9eb42d33a36b6db87050bbde4a84ee6bbf6de53ccb90abf09cc558c4aa65a79b",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x2dE080e97B0caE9825375D31f5D0eD5751fDf16D",
3
- "transactionHash": "0x28e0f4d3ff6b9fce763fd6fda1fe47dc0206315cadf522a44c00734b506616ac",
3
+ "transactionHash": "0x610bef81c9b14ae45724ec425fd8fcaf8e608b8dbc95bd29b9c3a25219116a8f",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
3
- "transactionHash": "0x6cef89ba517b8c652662b6752fd534cfb1a1af5a2510020ef39b755cd41eb31f",
3
+ "transactionHash": "0xf26ac3bcd4b026dc57f2093fdb14bf13ce4cd61a81c1caea31d8da01dcf33b93",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x663F3ad617193148711d28f5334eE4Ed07016602",
3
- "transactionHash": "0x2ff087c7dc47500e7571937e12ba1459141565fb193e93e7fd51346feb1e8df5",
3
+ "transactionHash": "0xe76d90258098b748661aa61c7c5ce6acb7b370a3a13d4380d3d544a0c1212f2b",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
3
- "transactionHash": "0x9a3b778abdc3f9018c36a5a379256afeb22e9d23f04ef0f1e04dc925f4803f63",
3
+ "transactionHash": "0xfce09e1247b0ad95ffd73f5f45ea8ce56fc4661cc0c33b2ad5ee87b9c30e81df",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
3
- "transactionHash": "0x6cef89ba517b8c652662b6752fd534cfb1a1af5a2510020ef39b755cd41eb31f",
3
+ "transactionHash": "0xf26ac3bcd4b026dc57f2093fdb14bf13ce4cd61a81c1caea31d8da01dcf33b93",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x0D4ff719551E23185Aeb16FFbF2ABEbB90635942",
3
- "transactionHash": "0x4718aedb3ec8c879b84a4ef094db94b6c9632270315faaab5a274030f6387d14",
3
+ "transactionHash": "0x2ae772e62a3cfee443f6c59a3e47c0967bc5c70a7bba886abb1b96e959d0e04c",
4
4
  "abi": [
5
5
  {
6
6
  "inputs": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "address": "0x2fc631e4B3018258759C52AF169200213e84ABab",
3
- "transactionHash": "0x6e327a1c081fb7ba8543bf72379b4b36cc1edb491ee7f71dddfadc5b2680c7eb",
3
+ "transactionHash": "0xe37477b3f337d1b069a8d19a45208b877b1ec1c5b85ae28b5e73b008ba1bf4f6",
4
4
  "abi": [
5
5
  {
6
6
  "anonymous": false,