@layerzerolabs/lz-evm-sdk-v2 2.1.17 → 2.1.18

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 (120) hide show
  1. package/deployments/arbitrum-sandbox-local/DVN.json +1864 -0
  2. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +500 -0
  3. package/deployments/{metis-sandbox-local → arbitrum-sandbox-local}/DVNFeeLib.json +8 -8
  4. package/deployments/{metis-sandbox-local → arbitrum-sandbox-local}/PriceFeed.json +16 -16
  5. package/deployments/{metis-sandbox-local → arbitrum-sandbox-local}/PriceFeedProxyAdmin.json +11 -11
  6. package/deployments/{metis-sandbox-local → arbitrum-sandbox-local}/PriceFeed_Implementation.json +5 -5
  7. package/deployments/{metis-sandbox-local → arbitrum-sandbox-local}/PriceFeed_Proxy.json +16 -16
  8. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/DVN.json +25 -25
  9. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/DVNDecompressor.json +9 -9
  10. package/deployments/bsc-sandbox-local/DVNFeeLib.json +398 -0
  11. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/DefaultProxyAdmin.json +7 -7
  12. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/EndpointV2.json +14 -14
  13. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/EndpointV2View.json +13 -13
  14. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/EndpointV2View_Implementation.json +4 -4
  15. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/EndpointV2View_Proxy.json +13 -13
  16. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/Executor.json +43 -43
  17. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ExecutorDecompressor.json +8 -8
  18. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ExecutorFeeLib.json +8 -8
  19. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ExecutorProxyAdmin.json +11 -11
  20. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/Executor_Implementation.json +11 -11
  21. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/Executor_Proxy.json +43 -43
  22. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/LzExecutor.json +16 -16
  23. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/LzExecutor_Implementation.json +5 -5
  24. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/LzExecutor_Proxy.json +16 -16
  25. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/NonceContractMock.json +6 -6
  26. package/deployments/bsc-sandbox-local/PriceFeed.json +890 -0
  27. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  28. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +912 -0
  29. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +244 -0
  30. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln301.json +12 -12
  31. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln301View.json +15 -15
  32. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln301View_Implementation.json +10 -10
  33. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln301View_Proxy.json +14 -14
  34. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln302.json +8 -8
  35. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln302View.json +13 -13
  36. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln302View_Implementation.json +9 -9
  37. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/ReceiveUln302View_Proxy.json +13 -13
  38. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/SendUln301.json +11 -11
  39. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/SendUln302.json +8 -8
  40. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/SimpleMessageLib.json +7 -7
  41. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/Treasury.json +8 -8
  42. package/deployments/{metis-sandbox-local → bsc-sandbox-local}/TreasuryFeeHandler.json +5 -5
  43. package/deployments/ethereum-sandbox-local/DVN.json +24 -24
  44. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +8 -8
  45. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +8 -8
  46. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +7 -7
  47. package/deployments/ethereum-sandbox-local/EndpointV2.json +13 -13
  48. package/deployments/ethereum-sandbox-local/EndpointV2View.json +13 -13
  49. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +4 -4
  50. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +13 -13
  51. package/deployments/ethereum-sandbox-local/Executor.json +43 -43
  52. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +8 -8
  53. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +8 -8
  54. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +11 -11
  55. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +11 -11
  56. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +43 -43
  57. package/deployments/ethereum-sandbox-local/LzExecutor.json +16 -16
  58. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +5 -5
  59. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +16 -16
  60. package/deployments/ethereum-sandbox-local/NonceContractMock.json +6 -6
  61. package/deployments/ethereum-sandbox-local/PriceFeed.json +16 -16
  62. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +11 -11
  63. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +5 -5
  64. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +16 -16
  65. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +11 -11
  66. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +13 -13
  67. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +10 -10
  68. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +13 -13
  69. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +8 -8
  70. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +13 -13
  71. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +9 -9
  72. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +13 -13
  73. package/deployments/ethereum-sandbox-local/SendUln301.json +10 -10
  74. package/deployments/ethereum-sandbox-local/SendUln302.json +8 -8
  75. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +7 -7
  76. package/deployments/ethereum-sandbox-local/Treasury.json +8 -8
  77. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +5 -5
  78. package/deployments/polygon-sandbox-local/DVN.json +19 -19
  79. package/deployments/polygon-sandbox-local/DVNDecompressor.json +6 -6
  80. package/deployments/polygon-sandbox-local/DVNFeeLib.json +6 -6
  81. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +5 -5
  82. package/deployments/polygon-sandbox-local/EndpointV2.json +9 -9
  83. package/deployments/polygon-sandbox-local/EndpointV2View.json +9 -9
  84. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +3 -3
  85. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +9 -9
  86. package/deployments/polygon-sandbox-local/Executor.json +29 -29
  87. package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +6 -6
  88. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +6 -6
  89. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +8 -8
  90. package/deployments/polygon-sandbox-local/Executor_Implementation.json +10 -10
  91. package/deployments/polygon-sandbox-local/Executor_Proxy.json +29 -29
  92. package/deployments/polygon-sandbox-local/LzExecutor.json +11 -11
  93. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +4 -4
  94. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +11 -11
  95. package/deployments/polygon-sandbox-local/NonceContractMock.json +5 -5
  96. package/deployments/polygon-sandbox-local/PriceFeed.json +11 -11
  97. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +8 -8
  98. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +4 -4
  99. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +11 -11
  100. package/deployments/polygon-sandbox-local/ReceiveUln301.json +9 -9
  101. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +9 -9
  102. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +9 -9
  103. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
  104. package/deployments/polygon-sandbox-local/ReceiveUln302.json +6 -6
  105. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +9 -9
  106. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +8 -8
  107. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
  108. package/deployments/polygon-sandbox-local/SendUln301.json +8 -8
  109. package/deployments/polygon-sandbox-local/SendUln302.json +6 -6
  110. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +5 -5
  111. package/deployments/polygon-sandbox-local/Treasury.json +6 -6
  112. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +4 -4
  113. package/deployments/tron-sandbox-local/DVN.json +1864 -0
  114. package/deployments/tron-sandbox-local/DVNDecompressor.json +500 -0
  115. package/deployments/tron-sandbox-local/DVNFeeLib.json +398 -0
  116. package/deployments/tron-sandbox-local/PriceFeed.json +890 -0
  117. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  118. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +912 -0
  119. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +244 -0
  120. package/package.json +9 -9
@@ -0,0 +1,244 @@
1
+ {
2
+ "address": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_logic",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "address",
13
+ "name": "admin_",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "internalType": "bytes",
18
+ "name": "_data",
19
+ "type": "bytes"
20
+ }
21
+ ],
22
+ "stateMutability": "payable",
23
+ "type": "constructor"
24
+ },
25
+ {
26
+ "anonymous": false,
27
+ "inputs": [
28
+ {
29
+ "indexed": false,
30
+ "internalType": "address",
31
+ "name": "previousAdmin",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "address",
37
+ "name": "newAdmin",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AdminChanged",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": true,
49
+ "internalType": "address",
50
+ "name": "beacon",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "BeaconUpgraded",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "implementation",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "Upgraded",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "stateMutability": "payable",
72
+ "type": "fallback"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "admin",
77
+ "outputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "admin_",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "implementation",
90
+ "outputs": [
91
+ {
92
+ "internalType": "address",
93
+ "name": "implementation_",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "stateMutability": "nonpayable",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "newImplementation",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "name": "upgradeTo",
109
+ "outputs": [],
110
+ "stateMutability": "nonpayable",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "newImplementation",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "bytes",
122
+ "name": "data",
123
+ "type": "bytes"
124
+ }
125
+ ],
126
+ "name": "upgradeToAndCall",
127
+ "outputs": [],
128
+ "stateMutability": "payable",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "stateMutability": "payable",
133
+ "type": "receive"
134
+ }
135
+ ],
136
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
137
+ "receipt": {
138
+ "to": null,
139
+ "from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
140
+ "contractAddress": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
141
+ "transactionIndex": 0,
142
+ "gasUsed": "646255",
143
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
144
+ "blockHash": "0x0000000000000007f46824f5eb1bc76afaf7941306dd35b3498e4daee1d0141f",
145
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
146
+ "logs": [
147
+ {
148
+ "transactionIndex": 0,
149
+ "blockNumber": 7,
150
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
151
+ "address": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
152
+ "topics": [
153
+ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
154
+ "0x0000000000000000000000007e1437d2da80d588f78b1eb9ea4657177ef2dfa4"
155
+ ],
156
+ "data": "0x",
157
+ "logIndex": 0,
158
+ "blockHash": "0x0000000000000007f46824f5eb1bc76afaf7941306dd35b3498e4daee1d0141f"
159
+ },
160
+ {
161
+ "transactionIndex": 0,
162
+ "blockNumber": 7,
163
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
164
+ "address": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
165
+ "topics": [
166
+ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
167
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
168
+ "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
169
+ ],
170
+ "data": "0x",
171
+ "logIndex": 1,
172
+ "blockHash": "0x0000000000000007f46824f5eb1bc76afaf7941306dd35b3498e4daee1d0141f"
173
+ },
174
+ {
175
+ "transactionIndex": 0,
176
+ "blockNumber": 7,
177
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
178
+ "address": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
179
+ "topics": [
180
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
181
+ ],
182
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
183
+ "logIndex": 2,
184
+ "blockHash": "0x0000000000000007f46824f5eb1bc76afaf7941306dd35b3498e4daee1d0141f"
185
+ },
186
+ {
187
+ "transactionIndex": 0,
188
+ "blockNumber": 7,
189
+ "transactionHash": "0x94d42c271ea50a957ab75ce5118972a11148624b259afeb66ccfc40f57af110a",
190
+ "address": "0xEe9735a8beEe61336adA917dd52E6dc7247ee7aA",
191
+ "topics": [
192
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
193
+ ],
194
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000affb688563be6e56e4dcab4a8b07844f5ff73cb9",
195
+ "logIndex": 3,
196
+ "blockHash": "0x0000000000000007f46824f5eb1bc76afaf7941306dd35b3498e4daee1d0141f"
197
+ }
198
+ ],
199
+ "blockNumber": 7,
200
+ "cumulativeGasUsed": "646255",
201
+ "status": 1,
202
+ "byzantium": true
203
+ },
204
+ "args": [
205
+ "0x7e1437d2dA80d588f78B1eb9ea4657177Ef2DFa4",
206
+ "0xaFFb688563BE6E56e4dCab4A8b07844F5FF73CB9",
207
+ "0xc4d66de8000000000000000000000000b9cb228d7498d6f02b0f88f7b16d2cf836d2aea9"
208
+ ],
209
+ "numDeployments": 1,
210
+ "solcInputHash": "38c6bf91dbc1d60a5bc376d132d458fc",
211
+ "bytecode": "0x60a060405260405162000fd438038062000fd4833981016040819052620000269162000457565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000537565b60008051602062000f8d833981519152146200007557620000756200055d565b62000083828260006200013c565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000537565b60008051602062000f6d83398151915214620000d357620000d36200055d565b6001600160a01b038216608081905260008051602062000f6d8339815191528381556040805160008152602081019390935290917f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a150505050620005c6565b620001478362000179565b600082511180620001555750805b156200017457620001728383620001bb60201b620002f71760201c565b505b505050565b6200018481620001ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e3838360405180606001604052806027815260200162000fad60279139620002b2565b9392505050565b62000200816200039860201b620003231760201c565b620002685760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200029160008051602062000f8d83398151915260001b620003a760201b6200028f1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6200031c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200025f565b600080856001600160a01b03168560405162000339919062000573565b600060405180830381855af49150503d806000811462000376576040519150601f19603f3d011682016040523d82523d6000602084013e6200037b565b606091505b5090925090506200038e828286620003aa565b9695505050505050565b6001600160a01b03163b151590565b90565b60608315620003bb575081620001e3565b825115620003cc5782518084602001fd5b8160405162461bcd60e51b81526004016200025f919062000591565b80516000906001600160a81b03811681146200040357600080fd5b6001600160a01b031692915050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004455781810151838201526020016200042b565b83811115620001725750506000910152565b6000806000606084860312156200046d57600080fd5b6200047884620003e8565b92506200048860208501620003e8565b60408501519092506001600160401b0380821115620004a657600080fd5b818601915086601f830112620004bb57600080fd5b815181811115620004d057620004d062000412565b604051601f8201601f19908116603f01168101908382118183101715620004fb57620004fb62000412565b816040528281528960208487010111156200051557600080fd5b6200052883602083016020880162000428565b80955050505050509250925092565b6000828210156200055857634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200058781846020870162000428565b9190910192915050565b6020815260008251806020840152620005b281604085016020870162000428565b601f01601f19169190910160400192915050565b6080516109686200060560003960008181610160015281816101c401528181610254015281816102ac015281816102d5015261035701526109686000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef286146100945780635c60da1b146100a7578063f851a440146100ff57610052565b366100525761005061012e565b005b61005061012e565b34801561006657600080fd5b50d3801561007357600080fd5b50d2801561008057600080fd5b5061005061008f3660046107d4565b610148565b6100506100a23660046107ef565b6101ac565b3480156100b357600080fd5b50d380156100c057600080fd5b50d280156100cd57600080fd5b506100d661023a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561010b57600080fd5b50d3801561011857600080fd5b50d2801561012557600080fd5b506100d6610292565b61013661033f565b610146610141610430565b610470565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101a4576101a181604051806020016040528060008152506000610494565b50565b6101a161012e565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102325761022d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610494915050565b505050565b61022d61012e565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561028757610282610430565b905090565b61028f61012e565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561028757507f000000000000000000000000000000000000000000000000000000000000000090565b606061031c838360405180606001604052806027815260200161090c602791396104bf565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e80801561048f573d6000f35b3d6000fd5b61049d836105e7565b6000825111806104aa5750805b1561022d576104b983836102f7565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152608401610427565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161058d919061089e565b600060405180830381855af49150503d80600081146105c8576040519150601f19603f3d011682016040523d82523d6000602084013e6105cd565b606091505b50915091506105dd828286610634565b9695505050505050565b6105f081610687565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060831561064357508161031c565b8251156106535782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042791906108ba565b73ffffffffffffffffffffffffffffffffffffffff81163b61072b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610427565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000813574ffffffffffffffffffffffffffffffffffffffffff811681146107b857600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b6000602082840312156107e657600080fd5b61031c82610791565b60008060006040848603121561080457600080fd5b61080d84610791565b9250602084013567ffffffffffffffff8082111561082a57600080fd5b818601915086601f83011261083e57600080fd5b81358181111561084d57600080fd5b87602082850101111561085f57600080fd5b6020830194508093505050509250925092565b60005b8381101561088d578181015183820152602001610875565b838111156104b95750506000910152565b600082516108b0818460208701610872565b9190910192915050565b60208152600082518060208401526108d9816040850160208701610872565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26474726f6e58221220bc2431b188ed4265a7356f0ec4d6a7e2762f6d653930b1919802afece6fcf0fe64736f6c634300080b0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
212
+ "deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef286146100945780635c60da1b146100a7578063f851a440146100ff57610052565b366100525761005061012e565b005b61005061012e565b34801561006657600080fd5b50d3801561007357600080fd5b50d2801561008057600080fd5b5061005061008f3660046107d4565b610148565b6100506100a23660046107ef565b6101ac565b3480156100b357600080fd5b50d380156100c057600080fd5b50d280156100cd57600080fd5b506100d661023a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561010b57600080fd5b50d3801561011857600080fd5b50d2801561012557600080fd5b506100d6610292565b61013661033f565b610146610141610430565b610470565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101a4576101a181604051806020016040528060008152506000610494565b50565b6101a161012e565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102325761022d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610494915050565b505050565b61022d61012e565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561028757610282610430565b905090565b61028f61012e565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561028757507f000000000000000000000000000000000000000000000000000000000000000090565b606061031c838360405180606001604052806027815260200161090c602791396104bf565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e80801561048f573d6000f35b3d6000fd5b61049d836105e7565b6000825111806104aa5750805b1561022d576104b983836102f7565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152608401610427565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161058d919061089e565b600060405180830381855af49150503d80600081146105c8576040519150601f19603f3d011682016040523d82523d6000602084013e6105cd565b606091505b50915091506105dd828286610634565b9695505050505050565b6105f081610687565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060831561064357508161031c565b8251156106535782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042791906108ba565b73ffffffffffffffffffffffffffffffffffffffff81163b61072b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610427565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000813574ffffffffffffffffffffffffffffffffffffffffff811681146107b857600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b6000602082840312156107e657600080fd5b61031c82610791565b60008060006040848603121561080457600080fd5b61080d84610791565b9250602084013567ffffffffffffffff8082111561082a57600080fd5b818601915086601f83011261083e57600080fd5b81358181111561084d57600080fd5b87602082850101111561085f57600080fd5b6020830194508093505050509250925092565b60005b8381101561088d578181015183820152602001610875565b838111156104b95750506000910152565b600082516108b0818460208701610872565b9190910192915050565b60208152600082518060208401526108d9816040850160208701610872565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26474726f6e58221220bc2431b188ed4265a7356f0ec4d6a7e2762f6d653930b1919802afece6fcf0fe64736f6c634300080b0033",
213
+ "devdoc": {
214
+ "details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
215
+ "kind": "dev",
216
+ "methods": {
217
+ "admin()": {
218
+ "details": "Returns the current admin. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`"
219
+ },
220
+ "constructor": {
221
+ "details": "Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}."
222
+ },
223
+ "implementation()": {
224
+ "details": "Returns the current implementation. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`"
225
+ },
226
+ "upgradeTo(address)": {
227
+ "details": "Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}."
228
+ },
229
+ "upgradeToAndCall(address,bytes)": {
230
+ "details": "Upgrade the implementation of the proxy, and then call a function from the new implementation as specified by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the proxied contract. NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}."
231
+ }
232
+ },
233
+ "version": 1
234
+ },
235
+ "userdoc": {
236
+ "kind": "user",
237
+ "methods": {},
238
+ "version": 1
239
+ },
240
+ "storageLayout": {
241
+ "storage": [],
242
+ "types": null
243
+ }
244
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-evm-sdk-v2",
3
- "version": "2.1.17",
3
+ "version": "2.1.18",
4
4
  "license": "LZBL-1.2",
5
5
  "exports": {
6
6
  ".": {
@@ -35,20 +35,20 @@
35
35
  "populate": "$npm_execpath ts-node scripts/populate.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@layerzerolabs/evm-sdks-core": "^2.1.17",
38
+ "@layerzerolabs/evm-sdks-core": "^2.1.18",
39
39
  "ethers": "^5.7.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@ethersproject/abi": "^5.7.0",
43
43
  "@ethersproject/providers": "^5.7.0",
44
- "@layerzerolabs/evm-sdks-build": "^2.1.17",
45
- "@layerzerolabs/lz-definitions": "^2.1.17",
46
- "@layerzerolabs/lz-evm-messagelib-v2": "^2.1.17",
47
- "@layerzerolabs/lz-evm-oapp-v2": "^2.1.17",
48
- "@layerzerolabs/lz-evm-protocol-v2": "^2.1.17",
44
+ "@layerzerolabs/evm-sdks-build": "^2.1.18",
45
+ "@layerzerolabs/lz-definitions": "^2.1.18",
46
+ "@layerzerolabs/lz-evm-messagelib-v2": "^2.1.18",
47
+ "@layerzerolabs/lz-evm-oapp-v2": "^2.1.18",
48
+ "@layerzerolabs/lz-evm-protocol-v2": "^2.1.18",
49
49
  "@layerzerolabs/monorepo-utilities": "^0.0.0",
50
- "@layerzerolabs/tsup-config-next": "^2.1.17",
51
- "@layerzerolabs/typescript-config-next": "^2.1.17",
50
+ "@layerzerolabs/tsup-config-next": "^2.1.18",
51
+ "@layerzerolabs/typescript-config-next": "^2.1.18",
52
52
  "@typechain/ethers-v5": "^10.2.1",
53
53
  "@types/glob": "^8.1.0",
54
54
  "@types/node": "^20.10.5",