@layerzerolabs/lz-evm-sdk-v1 2.0.5 → 2.0.7

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 (194) hide show
  1. package/deployments/avalanche-sandbox-local/Endpoint.json +1282 -0
  2. package/deployments/avalanche-sandbox-local/FPValidator.json +382 -0
  3. package/deployments/avalanche-sandbox-local/MPTValidator01.json +395 -0
  4. package/deployments/avalanche-sandbox-local/NonceContract.json +159 -0
  5. package/deployments/bsc-sandbox-local/Endpoint.json +1282 -0
  6. package/deployments/bsc-sandbox-local/FPValidator.json +382 -0
  7. package/deployments/bsc-sandbox-local/MPTValidator01.json +395 -0
  8. package/deployments/bsc-sandbox-local/NonceContract.json +159 -0
  9. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +15 -15
  10. package/deployments/ethereum-sandbox-local/Endpoint.json +7 -7
  11. package/deployments/ethereum-sandbox-local/FPValidator.json +4 -4
  12. package/deployments/ethereum-sandbox-local/MPTValidator01.json +4 -4
  13. package/deployments/ethereum-sandbox-local/NonceContract.json +4 -4
  14. package/deployments/ethereum-sandbox-local/RelayerV2.json +31 -31
  15. package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +6 -6
  16. package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +29 -29
  17. package/deployments/ethereum-sandbox-local/TreasuryV2.json +7 -7
  18. package/deployments/ethereum-sandbox-local/UltraLightNode.json +7 -7
  19. package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +7 -7
  20. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +15 -15
  21. package/deployments/polygon-sandbox-local/Endpoint.json +7 -7
  22. package/deployments/polygon-sandbox-local/FPValidator.json +4 -4
  23. package/deployments/polygon-sandbox-local/MPTValidator01.json +4 -4
  24. package/deployments/polygon-sandbox-local/NonceContract.json +4 -4
  25. package/deployments/polygon-sandbox-local/RelayerV2.json +31 -31
  26. package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +6 -6
  27. package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +29 -29
  28. package/deployments/polygon-sandbox-local/TreasuryV2.json +7 -7
  29. package/deployments/polygon-sandbox-local/UltraLightNode.json +7 -7
  30. package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +7 -7
  31. package/dist/{index-62w7LrA8.d.mts → index-Ltgbu8am.d.mts} +4940 -4347
  32. package/dist/{index-62w7LrA8.d.ts → index-Ltgbu8am.d.ts} +4940 -4347
  33. package/dist/index.browser.cjs.map +1 -1
  34. package/dist/index.browser.d.mts +1 -1
  35. package/dist/index.browser.d.ts +1 -1
  36. package/dist/index.browser.mjs.map +1 -1
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.mts +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.mjs.map +1 -1
  41. package/package.json +7 -6
  42. package/dist/index.browser.js +0 -23
  43. package/dist/index.js +0 -30
  44. package/dist/typechain-types/Endpoint.js +0 -2
  45. package/dist/typechain-types/EndpointLite.js +0 -2
  46. package/dist/typechain-types/FeeHandler.js +0 -2
  47. package/dist/typechain-types/NonceContract.js +0 -2
  48. package/dist/typechain-types/NonceContractRadar.js +0 -2
  49. package/dist/typechain-types/PriceFeed.js +0 -2
  50. package/dist/typechain-types/Relayer.js +0 -2
  51. package/dist/typechain-types/RelayerV2.sol/IStargateComposer.js +0 -2
  52. package/dist/typechain-types/RelayerV2.sol/RelayerV2.js +0 -2
  53. package/dist/typechain-types/RelayerV2.sol/index.js +0 -2
  54. package/dist/typechain-types/RelayerV2Radar.js +0 -2
  55. package/dist/typechain-types/Treasury.js +0 -2
  56. package/dist/typechain-types/TreasuryV2.js +0 -2
  57. package/dist/typechain-types/TreasuryV2Radar.js +0 -2
  58. package/dist/typechain-types/UltraLightNode.js +0 -2
  59. package/dist/typechain-types/UltraLightNodeV2.js +0 -2
  60. package/dist/typechain-types/UltraLightNodeV2AltToken.js +0 -2
  61. package/dist/typechain-types/UltraLightNodeV2Radar.js +0 -2
  62. package/dist/typechain-types/arbitrum/index.js +0 -2
  63. package/dist/typechain-types/arbitrum/interfaces/ArbSys.js +0 -2
  64. package/dist/typechain-types/arbitrum/interfaces/index.js +0 -2
  65. package/dist/typechain-types/common.js +0 -2
  66. package/dist/typechain-types/example/AltTokenUA.js +0 -2
  67. package/dist/typechain-types/example/index.js +0 -2
  68. package/dist/typechain-types/factories/EndpointLite__factory.js +0 -988
  69. package/dist/typechain-types/factories/Endpoint__factory.js +0 -1012
  70. package/dist/typechain-types/factories/FeeHandler__factory.js +0 -203
  71. package/dist/typechain-types/factories/NonceContractRadar__factory.js +0 -183
  72. package/dist/typechain-types/factories/NonceContract__factory.js +0 -142
  73. package/dist/typechain-types/factories/PriceFeed__factory.js +0 -585
  74. package/dist/typechain-types/factories/RelayerV2.sol/IStargateComposer__factory.js +0 -35
  75. package/dist/typechain-types/factories/RelayerV2.sol/RelayerV2__factory.js +0 -1048
  76. package/dist/typechain-types/factories/RelayerV2.sol/index.js +0 -21
  77. package/dist/typechain-types/factories/RelayerV2Radar__factory.js +0 -853
  78. package/dist/typechain-types/factories/Relayer__factory.js +0 -642
  79. package/dist/typechain-types/factories/TreasuryV2Radar__factory.js +0 -362
  80. package/dist/typechain-types/factories/TreasuryV2__factory.js +0 -385
  81. package/dist/typechain-types/factories/Treasury__factory.js +0 -362
  82. package/dist/typechain-types/factories/UltraLightNodeV2AltToken__factory.js +0 -1495
  83. package/dist/typechain-types/factories/UltraLightNodeV2Radar__factory.js +0 -1599
  84. package/dist/typechain-types/factories/UltraLightNodeV2__factory.js +0 -1477
  85. package/dist/typechain-types/factories/UltraLightNode__factory.js +0 -1529
  86. package/dist/typechain-types/factories/arbitrum/index.js +0 -7
  87. package/dist/typechain-types/factories/arbitrum/interfaces/ArbSys__factory.js +0 -290
  88. package/dist/typechain-types/factories/arbitrum/interfaces/index.js +0 -19
  89. package/dist/typechain-types/factories/example/AltTokenUA__factory.js +0 -186
  90. package/dist/typechain-types/factories/example/index.js +0 -19
  91. package/dist/typechain-types/factories/index.js +0 -54
  92. package/dist/typechain-types/factories/interfaces/IContractOne__factory.js +0 -35
  93. package/dist/typechain-types/factories/interfaces/ILayerZeroEndpoint__factory.js +0 -458
  94. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibraryV2__factory.js +0 -195
  95. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibrary__factory.js +0 -171
  96. package/dist/typechain-types/factories/interfaces/ILayerZeroOracleV2__factory.js +0 -108
  97. package/dist/typechain-types/factories/interfaces/ILayerZeroOracle__factory.js +0 -88
  98. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeedV2__factory.js +0 -115
  99. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeed__factory.js +0 -118
  100. package/dist/typechain-types/factories/interfaces/ILayerZeroReceiver__factory.js +0 -50
  101. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2PriceData__factory.js +0 -94
  102. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2__factory.js +0 -118
  103. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayer__factory.js +0 -103
  104. package/dist/typechain-types/factories/interfaces/ILayerZeroTreasury__factory.js +0 -51
  105. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV1__factory.js +0 -167
  106. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV2__factory.js +0 -593
  107. package/dist/typechain-types/factories/interfaces/ILayerZeroUserApplicationConfig__factory.js +0 -94
  108. package/dist/typechain-types/factories/interfaces/ILayerZeroValidationLibrary__factory.js +0 -88
  109. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelperV2__factory.js +0 -165
  110. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelper__factory.js +0 -157
  111. package/dist/typechain-types/factories/interfaces/index.js +0 -55
  112. package/dist/typechain-types/factories/precrime/PreCrimeBase__factory.js +0 -270
  113. package/dist/typechain-types/factories/precrime/PreCrimeView__factory.js +0 -329
  114. package/dist/typechain-types/factories/precrime/PreCrime__factory.js +0 -364
  115. package/dist/typechain-types/factories/precrime/example/index.js +0 -8
  116. package/dist/typechain-types/factories/precrime/example/inherit/CounterI__factory.js +0 -677
  117. package/dist/typechain-types/factories/precrime/example/inherit/CounterPrecrime__factory.js +0 -468
  118. package/dist/typechain-types/factories/precrime/example/inherit/index.js +0 -21
  119. package/dist/typechain-types/factories/precrime/example/view/CounterPrecrimeView__factory.js +0 -470
  120. package/dist/typechain-types/factories/precrime/example/view/CounterV__factory.js +0 -231
  121. package/dist/typechain-types/factories/precrime/example/view/CounterView__factory.js +0 -219
  122. package/dist/typechain-types/factories/precrime/example/view/index.js +0 -23
  123. package/dist/typechain-types/factories/precrime/index.js +0 -25
  124. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeBase__factory.js +0 -127
  125. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeView__factory.js +0 -173
  126. package/dist/typechain-types/factories/precrime/interfaces/IPreCrime__factory.js +0 -173
  127. package/dist/typechain-types/factories/precrime/interfaces/index.js +0 -23
  128. package/dist/typechain-types/factories/proof/FPValidator__factory.js +0 -380
  129. package/dist/typechain-types/factories/proof/MPTValidator01__factory.js +0 -393
  130. package/dist/typechain-types/factories/proof/MPTValidatorStgV3__factory.js +0 -364
  131. package/dist/typechain-types/factories/proof/MPTValidatorV2__factory.js +0 -266
  132. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/IUltraLightNode__factory.js +0 -119
  133. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/MPTValidatorV4__factory.js +0 -468
  134. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/index.js +0 -21
  135. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/IUltraLightNode__factory.js +0 -119
  136. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/MPTValidatorV5__factory.js +0 -486
  137. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/index.js +0 -21
  138. package/dist/typechain-types/factories/proof/MPTValidator__factory.js +0 -200
  139. package/dist/typechain-types/factories/proof/index.js +0 -29
  140. package/dist/typechain-types/factories/proxy/DefaultProxyAdmin__factory.js +0 -225
  141. package/dist/typechain-types/factories/proxy/TransparentUpgradeableProxy__factory.js +0 -196
  142. package/dist/typechain-types/factories/proxy/index.js +0 -21
  143. package/dist/typechain-types/index.js +0 -134
  144. package/dist/typechain-types/interfaces/IContractOne.js +0 -2
  145. package/dist/typechain-types/interfaces/ILayerZeroEndpoint.js +0 -2
  146. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibrary.js +0 -2
  147. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibraryV2.js +0 -2
  148. package/dist/typechain-types/interfaces/ILayerZeroOracle.js +0 -2
  149. package/dist/typechain-types/interfaces/ILayerZeroOracleV2.js +0 -2
  150. package/dist/typechain-types/interfaces/ILayerZeroPriceFeed.js +0 -2
  151. package/dist/typechain-types/interfaces/ILayerZeroPriceFeedV2.js +0 -2
  152. package/dist/typechain-types/interfaces/ILayerZeroReceiver.js +0 -2
  153. package/dist/typechain-types/interfaces/ILayerZeroRelayer.js +0 -2
  154. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2.js +0 -2
  155. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2PriceData.js +0 -2
  156. package/dist/typechain-types/interfaces/ILayerZeroTreasury.js +0 -2
  157. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV1.js +0 -2
  158. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV2.js +0 -2
  159. package/dist/typechain-types/interfaces/ILayerZeroUserApplicationConfig.js +0 -2
  160. package/dist/typechain-types/interfaces/ILayerZeroValidationLibrary.js +0 -2
  161. package/dist/typechain-types/interfaces/IValidationLibraryHelper.js +0 -2
  162. package/dist/typechain-types/interfaces/IValidationLibraryHelperV2.js +0 -2
  163. package/dist/typechain-types/interfaces/index.js +0 -2
  164. package/dist/typechain-types/precrime/PreCrime.js +0 -2
  165. package/dist/typechain-types/precrime/PreCrimeBase.js +0 -2
  166. package/dist/typechain-types/precrime/PreCrimeView.js +0 -2
  167. package/dist/typechain-types/precrime/example/index.js +0 -2
  168. package/dist/typechain-types/precrime/example/inherit/CounterI.js +0 -2
  169. package/dist/typechain-types/precrime/example/inherit/CounterPrecrime.js +0 -2
  170. package/dist/typechain-types/precrime/example/inherit/index.js +0 -2
  171. package/dist/typechain-types/precrime/example/view/CounterPrecrimeView.js +0 -2
  172. package/dist/typechain-types/precrime/example/view/CounterV.js +0 -2
  173. package/dist/typechain-types/precrime/example/view/CounterView.js +0 -2
  174. package/dist/typechain-types/precrime/example/view/index.js +0 -2
  175. package/dist/typechain-types/precrime/index.js +0 -2
  176. package/dist/typechain-types/precrime/interfaces/IPreCrime.js +0 -2
  177. package/dist/typechain-types/precrime/interfaces/IPreCrimeBase.js +0 -2
  178. package/dist/typechain-types/precrime/interfaces/IPreCrimeView.js +0 -2
  179. package/dist/typechain-types/precrime/interfaces/index.js +0 -2
  180. package/dist/typechain-types/proof/FPValidator.js +0 -2
  181. package/dist/typechain-types/proof/MPTValidator.js +0 -2
  182. package/dist/typechain-types/proof/MPTValidator01.js +0 -2
  183. package/dist/typechain-types/proof/MPTValidatorStgV3.js +0 -2
  184. package/dist/typechain-types/proof/MPTValidatorV2.js +0 -2
  185. package/dist/typechain-types/proof/MPTValidatorV4.sol/IUltraLightNode.js +0 -2
  186. package/dist/typechain-types/proof/MPTValidatorV4.sol/MPTValidatorV4.js +0 -2
  187. package/dist/typechain-types/proof/MPTValidatorV4.sol/index.js +0 -2
  188. package/dist/typechain-types/proof/MPTValidatorV5.sol/IUltraLightNode.js +0 -2
  189. package/dist/typechain-types/proof/MPTValidatorV5.sol/MPTValidatorV5.js +0 -2
  190. package/dist/typechain-types/proof/MPTValidatorV5.sol/index.js +0 -2
  191. package/dist/typechain-types/proof/index.js +0 -2
  192. package/dist/typechain-types/proxy/DefaultProxyAdmin.js +0 -2
  193. package/dist/typechain-types/proxy/TransparentUpgradeableProxy.js +0 -2
  194. package/dist/typechain-types/proxy/index.js +0 -2
@@ -0,0 +1,159 @@
1
+ {
2
+ "address": "0x712516e61C8B383dF4A63CFe83d7701Bce54B03e",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_endpoint",
9
+ "type": "address"
10
+ }
11
+ ],
12
+ "stateMutability": "nonpayable",
13
+ "type": "constructor"
14
+ },
15
+ {
16
+ "inputs": [],
17
+ "name": "endpoint",
18
+ "outputs": [
19
+ {
20
+ "internalType": "contract ILayerZeroEndpoint",
21
+ "name": "",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "stateMutability": "view",
26
+ "type": "function"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "uint16",
32
+ "name": "_chainId",
33
+ "type": "uint16"
34
+ },
35
+ {
36
+ "internalType": "address",
37
+ "name": "_ua",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "bytes",
42
+ "name": "_path",
43
+ "type": "bytes"
44
+ }
45
+ ],
46
+ "name": "increment",
47
+ "outputs": [
48
+ {
49
+ "internalType": "uint64",
50
+ "name": "",
51
+ "type": "uint64"
52
+ }
53
+ ],
54
+ "stateMutability": "nonpayable",
55
+ "type": "function"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "uint16",
61
+ "name": "",
62
+ "type": "uint16"
63
+ },
64
+ {
65
+ "internalType": "bytes",
66
+ "name": "",
67
+ "type": "bytes"
68
+ }
69
+ ],
70
+ "name": "outboundNonce",
71
+ "outputs": [
72
+ {
73
+ "internalType": "uint64",
74
+ "name": "",
75
+ "type": "uint64"
76
+ }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ }
81
+ ],
82
+ "transactionHash": "0xaac3ddd84e4cc45aaa0a98d3c09698460fdc6e0c23b4f524d2f8b7d6c17f5a0f",
83
+ "receipt": {
84
+ "to": null,
85
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
86
+ "contractAddress": "0x712516e61C8B383dF4A63CFe83d7701Bce54B03e",
87
+ "transactionIndex": 0,
88
+ "gasUsed": "294163",
89
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
90
+ "blockHash": "0x40daab5da3dfd12555b7feeaa11386babfd7a6e2f3d34c526aed1c64cc2ff84b",
91
+ "transactionHash": "0xaac3ddd84e4cc45aaa0a98d3c09698460fdc6e0c23b4f524d2f8b7d6c17f5a0f",
92
+ "logs": [],
93
+ "blockNumber": 7,
94
+ "cumulativeGasUsed": "294163",
95
+ "status": 1,
96
+ "byzantium": true
97
+ },
98
+ "args": [
99
+ "0x8464135c8F25Da09e49BC8782676a84730C318bC"
100
+ ],
101
+ "numDeployments": 1,
102
+ "solcInputHash": "c5af7960ffeb05302f8290353b04c61d",
103
+ "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_endpoint\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"endpoint\",\"outputs\":[{\"internalType\":\"contract ILayerZeroEndpoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_chainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_ua\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_path\",\"type\":\"bytes\"}],\"name\":\"increment\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"outboundNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/NonceContract.sol\":\"NonceContract\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"contracts/NonceContract.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity 0.7.6;\\n\\nimport \\\"./interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract NonceContract {\\n ILayerZeroEndpoint public immutable endpoint;\\n // outboundNonce = [dstChainId][remoteAddress + localAddress]\\n mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n\\n constructor(address _endpoint) {\\n endpoint = ILayerZeroEndpoint(_endpoint);\\n }\\n\\n function increment(uint16 _chainId, address _ua, bytes calldata _path) external returns (uint64) {\\n require(\\n endpoint.getSendLibraryAddress(_ua) == msg.sender,\\n \\\"NonceContract: msg.sender is not valid sendlibrary\\\"\\n );\\n return ++outboundNonce[_chainId][_path];\\n }\\n}\\n\",\"keccak256\":\"0x5f99165219fc2d46d48e943ec072b0f55f01398afe167d61cd671d1440ff53c3\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroEndpoint.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n // @param _dstChainId - the destination chain identifier\\n // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n // @param _payload - a custom bytes payload to send to the destination contract\\n // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n function send(\\n uint16 _dstChainId,\\n bytes calldata _destination,\\n bytes calldata _payload,\\n address payable _refundAddress,\\n address _zroPaymentAddress,\\n bytes calldata _adapterParams\\n ) external payable;\\n\\n // @notice used by the messaging library to publish verified payload\\n // @param _srcChainId - the source chain identifier\\n // @param _srcAddress - the source contract (as bytes) at the source chain\\n // @param _dstAddress - the address on destination chain\\n // @param _nonce - the unbound message ordering nonce\\n // @param _gasLimit - the gas limit for external contract execution\\n // @param _payload - verified payload to send to the destination contract\\n function receivePayload(\\n uint16 _srcChainId,\\n bytes calldata _srcAddress,\\n address _dstAddress,\\n uint64 _nonce,\\n uint _gasLimit,\\n bytes calldata _payload\\n ) external;\\n\\n // @notice get the inboundNonce of a receiver from a source chain which could be EVM or non-EVM chain\\n // @param _srcChainId - the source chain identifier\\n // @param _srcAddress - the source chain contract address\\n function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n // @param _srcAddress - the source chain contract address\\n function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n // @param _dstChainId - the destination chain identifier\\n // @param _userApplication - the user app address on this EVM chain\\n // @param _payload - the custom message to send over LayerZero\\n // @param _payInZRO - if false, user app pays the protocol fee in native token\\n // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n function estimateFees(\\n uint16 _dstChainId,\\n address _userApplication,\\n bytes calldata _payload,\\n bool _payInZRO,\\n bytes calldata _adapterParam\\n ) external view returns (uint nativeFee, uint zroFee);\\n\\n // @notice get this Endpoint's immutable source identifier\\n function getChainId() external view returns (uint16);\\n\\n // @notice the interface to retry failed message on this Endpoint destination\\n // @param _srcChainId - the source chain identifier\\n // @param _srcAddress - the source chain contract address\\n // @param _payload - the payload to be retried\\n function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n // @notice query if any STORED payload (message blocking) at the endpoint.\\n // @param _srcChainId - the source chain identifier\\n // @param _srcAddress - the source chain contract address\\n function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n // @notice query if the _libraryAddress is valid for sending msgs.\\n // @param _userApplication - the user app address on this EVM chain\\n function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n // @notice query if the _libraryAddress is valid for receiving msgs.\\n // @param _userApplication - the user app address on this EVM chain\\n function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n // @notice query if the non-reentrancy guard for send() is on\\n // @return true if the guard is on. false otherwise\\n function isSendingPayload() external view returns (bool);\\n\\n // @notice query if the non-reentrancy guard for receive() is on\\n // @return true if the guard is on. false otherwise\\n function isReceivingPayload() external view returns (bool);\\n\\n // @notice get the configuration of the LayerZero messaging library of the specified version\\n // @param _version - messaging library version\\n // @param _chainId - the chainId for the pending config change\\n // @param _userApplication - the contract address of the user application\\n // @param _configType - type of configuration. every messaging library has its own convention.\\n function getConfig(\\n uint16 _version,\\n uint16 _chainId,\\n address _userApplication,\\n uint _configType\\n ) external view returns (bytes memory);\\n\\n // @notice get the send() LayerZero messaging library version\\n // @param _userApplication - the contract address of the user application\\n function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n // @notice get the lzReceive() LayerZero messaging library version\\n // @param _userApplication - the contract address of the user application\\n function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\",\"keccak256\":\"0xb6a446c0b622566f8c2e2ae4c32208bcc3f815c5f5657a27fa48d583e31f7b7d\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroUserApplicationConfig.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n // @notice set the configuration of the LayerZero messaging library of the specified version\\n // @param _version - messaging library version\\n // @param _chainId - the chainId for the pending config change\\n // @param _configType - type of configuration. every messaging library has its own convention.\\n // @param _config - configuration in the bytes. can encode arbitrary content.\\n function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n // @notice set the send() LayerZero messaging library version to _version\\n // @param _version - new messaging library version\\n function setSendVersion(uint16 _version) external;\\n\\n // @notice set the lzReceive() LayerZero messaging library version to _version\\n // @param _version - new messaging library version\\n function setReceiveVersion(uint16 _version) external;\\n\\n // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n // @param _srcChainId - the chainId of the source chain\\n // @param _srcAddress - the contract address of the source contract at the source chain\\n function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\",\"keccak256\":\"0xdc7e072cf3064081a8edf4a286ca43ddecc24330f2923d96f416f9d3f6538447\",\"license\":\"BUSL-1.1\"}},\"version\":1}",
104
+ "bytecode": "0x60a060405234801561001057600080fd5b506040516104c53803806104c58339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661045961006c600039806101dd528061021a52506104596000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635e280f11146100465780636fe7b67314610077578063c533338f1461012a575b600080fd5b61004e6101db565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61010d6004803603606081101561008d57600080fd5b61ffff8235169173ffffffffffffffffffffffffffffffffffffffff602082013516918101906060810160408201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506101ff565b6040805167ffffffffffffffff9092168252519081900360200190f35b61010d6004803603604081101561014057600080fd5b61ffff823516919081019060408101602082013564010000000081111561016657600080fd5b82018360208201111561017857600080fd5b8035906020019184600183028401116401000000008311171561019a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103bc945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60003373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639c729da1866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561029f57600080fd5b505afa1580156102b3573d6000803e3d6000fd5b505050506040513d60208110156102c957600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610337576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806103f26032913960400191505060405180910390fd5b6000808661ffff1661ffff1681526020019081526020016000208383604051808383808284379190910194855250506040516020938190039390930190922080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000008116600167ffffffffffffffff9283160191821617909155979650505050505050565b6000602081815292815260409020815180830184018051928152908401929093019190912091525467ffffffffffffffff168156fe4e6f6e6365436f6e74726163743a206d73672e73656e646572206973206e6f742076616c69642073656e646c696272617279a2646970667358221220c1bfb2490cbea6bde5984d565ddc2a5410b5e6cba68523297196b3324e05319f64736f6c63430007060033",
105
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80635e280f11146100465780636fe7b67314610077578063c533338f1461012a575b600080fd5b61004e6101db565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61010d6004803603606081101561008d57600080fd5b61ffff8235169173ffffffffffffffffffffffffffffffffffffffff602082013516918101906060810160408201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506101ff565b6040805167ffffffffffffffff9092168252519081900360200190f35b61010d6004803603604081101561014057600080fd5b61ffff823516919081019060408101602082013564010000000081111561016657600080fd5b82018360208201111561017857600080fd5b8035906020019184600183028401116401000000008311171561019a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103bc945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60003373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639c729da1866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561029f57600080fd5b505afa1580156102b3573d6000803e3d6000fd5b505050506040513d60208110156102c957600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610337576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806103f26032913960400191505060405180910390fd5b6000808661ffff1661ffff1681526020019081526020016000208383604051808383808284379190910194855250506040516020938190039390930190922080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000008116600167ffffffffffffffff9283160191821617909155979650505050505050565b6000602081815292815260409020815180830184018051928152908401929093019190912091525467ffffffffffffffff168156fe4e6f6e6365436f6e74726163743a206d73672e73656e646572206973206e6f742076616c69642073656e646c696272617279a2646970667358221220c1bfb2490cbea6bde5984d565ddc2a5410b5e6cba68523297196b3324e05319f64736f6c63430007060033",
106
+ "devdoc": {
107
+ "kind": "dev",
108
+ "methods": {},
109
+ "version": 1
110
+ },
111
+ "userdoc": {
112
+ "kind": "user",
113
+ "methods": {},
114
+ "version": 1
115
+ },
116
+ "storageLayout": {
117
+ "storage": [
118
+ {
119
+ "astId": 4708,
120
+ "contract": "contracts/NonceContract.sol:NonceContract",
121
+ "label": "outboundNonce",
122
+ "offset": 0,
123
+ "slot": "0",
124
+ "type": "t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_uint64))"
125
+ }
126
+ ],
127
+ "types": {
128
+ "t_bytes_memory_ptr": {
129
+ "encoding": "bytes",
130
+ "label": "bytes",
131
+ "numberOfBytes": "32"
132
+ },
133
+ "t_mapping(t_bytes_memory_ptr,t_uint64)": {
134
+ "encoding": "mapping",
135
+ "key": "t_bytes_memory_ptr",
136
+ "label": "mapping(bytes => uint64)",
137
+ "numberOfBytes": "32",
138
+ "value": "t_uint64"
139
+ },
140
+ "t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_uint64))": {
141
+ "encoding": "mapping",
142
+ "key": "t_uint16",
143
+ "label": "mapping(uint16 => mapping(bytes => uint64))",
144
+ "numberOfBytes": "32",
145
+ "value": "t_mapping(t_bytes_memory_ptr,t_uint64)"
146
+ },
147
+ "t_uint16": {
148
+ "encoding": "inplace",
149
+ "label": "uint16",
150
+ "numberOfBytes": "2"
151
+ },
152
+ "t_uint64": {
153
+ "encoding": "inplace",
154
+ "label": "uint64",
155
+ "numberOfBytes": "8"
156
+ }
157
+ }
158
+ }
159
+ }