@layerzerolabs/lz-evm-sdk-v2 2.1.1 → 2.1.2

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 (157) hide show
  1. package/artifacts/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +2 -2
  2. package/artifacts/contracts/oapp/examples/{OmniCounter.sol → OmniCounterAbstract.sol}/MsgCodec.json +3 -3
  3. package/artifacts/contracts/oapp/examples/OmniCounterAbstract.sol/OmniCounterAbstract.json +876 -0
  4. package/artifacts/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +2 -2
  5. package/deployments/avalanche-sandbox-local/DVN.json +1880 -0
  6. package/deployments/avalanche-sandbox-local/DVNFeeLib.json +398 -0
  7. package/deployments/avalanche-sandbox-local/DefaultProxyAdmin.json +258 -0
  8. package/deployments/avalanche-sandbox-local/EndpointV2.json +2946 -0
  9. package/deployments/avalanche-sandbox-local/EndpointV2View.json +435 -0
  10. package/deployments/avalanche-sandbox-local/EndpointV2View_Implementation.json +313 -0
  11. package/deployments/avalanche-sandbox-local/EndpointV2View_Proxy.json +230 -0
  12. package/deployments/avalanche-sandbox-local/Executor.json +1533 -0
  13. package/deployments/avalanche-sandbox-local/ExecutorFeeLib.json +423 -0
  14. package/deployments/avalanche-sandbox-local/ExecutorProxyAdmin.json +283 -0
  15. package/deployments/avalanche-sandbox-local/Executor_Implementation.json +1591 -0
  16. package/deployments/avalanche-sandbox-local/Executor_Proxy.json +365 -0
  17. package/deployments/avalanche-sandbox-local/LzExecutor.json +757 -0
  18. package/deployments/avalanche-sandbox-local/LzExecutor_Implementation.json +703 -0
  19. package/deployments/avalanche-sandbox-local/LzExecutor_Proxy.json +244 -0
  20. package/deployments/avalanche-sandbox-local/NonceContractMock.json +163 -0
  21. package/deployments/avalanche-sandbox-local/PriceFeed.json +890 -0
  22. package/deployments/avalanche-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  23. package/deployments/avalanche-sandbox-local/PriceFeed_Implementation.json +912 -0
  24. package/deployments/avalanche-sandbox-local/PriceFeed_Proxy.json +244 -0
  25. package/deployments/avalanche-sandbox-local/ReceiveUln301.json +1292 -0
  26. package/deployments/avalanche-sandbox-local/ReceiveUln301View.json +354 -0
  27. package/deployments/avalanche-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
  28. package/deployments/avalanche-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
  29. package/deployments/avalanche-sandbox-local/ReceiveUln302.json +1006 -0
  30. package/deployments/avalanche-sandbox-local/ReceiveUln302View.json +478 -0
  31. package/deployments/avalanche-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
  32. package/deployments/avalanche-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
  33. package/deployments/avalanche-sandbox-local/SendUln301.json +1569 -0
  34. package/deployments/avalanche-sandbox-local/SendUln302.json +1527 -0
  35. package/deployments/avalanche-sandbox-local/SimpleMessageLib.json +708 -0
  36. package/deployments/avalanche-sandbox-local/Treasury.json +412 -0
  37. package/deployments/avalanche-sandbox-local/TreasuryFeeHandler.json +125 -0
  38. package/deployments/bsc-sandbox-local/DVN.json +1880 -0
  39. package/deployments/bsc-sandbox-local/DVNFeeLib.json +398 -0
  40. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +258 -0
  41. package/deployments/bsc-sandbox-local/EndpointV2.json +2946 -0
  42. package/deployments/bsc-sandbox-local/EndpointV2View.json +435 -0
  43. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +313 -0
  44. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +230 -0
  45. package/deployments/bsc-sandbox-local/Executor.json +1533 -0
  46. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +423 -0
  47. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +283 -0
  48. package/deployments/bsc-sandbox-local/Executor_Implementation.json +1591 -0
  49. package/deployments/bsc-sandbox-local/Executor_Proxy.json +365 -0
  50. package/deployments/bsc-sandbox-local/LzExecutor.json +757 -0
  51. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +703 -0
  52. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +244 -0
  53. package/deployments/bsc-sandbox-local/NonceContractMock.json +163 -0
  54. package/deployments/bsc-sandbox-local/PriceFeed.json +890 -0
  55. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  56. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +912 -0
  57. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +244 -0
  58. package/deployments/bsc-sandbox-local/ReceiveUln301.json +1292 -0
  59. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +354 -0
  60. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
  61. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
  62. package/deployments/bsc-sandbox-local/ReceiveUln302.json +1006 -0
  63. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +478 -0
  64. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
  65. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
  66. package/deployments/bsc-sandbox-local/SendUln301.json +1569 -0
  67. package/deployments/bsc-sandbox-local/SendUln302.json +1527 -0
  68. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +708 -0
  69. package/deployments/bsc-sandbox-local/Treasury.json +412 -0
  70. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +125 -0
  71. package/deployments/ethereum-sandbox-local/DVN.json +13 -13
  72. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +3 -3
  73. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +2 -2
  74. package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
  75. package/deployments/ethereum-sandbox-local/EndpointV2View.json +4 -4
  76. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  77. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +4 -4
  78. package/deployments/ethereum-sandbox-local/Executor.json +14 -14
  79. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +3 -3
  80. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +4 -4
  81. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +8 -8
  82. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
  83. package/deployments/ethereum-sandbox-local/LzExecutor.json +5 -5
  84. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +2 -2
  85. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +5 -5
  86. package/deployments/ethereum-sandbox-local/NonceContractMock.json +3 -3
  87. package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
  88. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +4 -4
  89. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +2 -2
  90. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  91. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +6 -6
  92. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +4 -4
  93. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +7 -7
  94. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  95. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +3 -3
  96. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +4 -4
  97. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +6 -6
  98. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  99. package/deployments/ethereum-sandbox-local/SendUln301.json +5 -5
  100. package/deployments/ethereum-sandbox-local/SendUln302.json +3 -3
  101. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
  102. package/deployments/ethereum-sandbox-local/Treasury.json +3 -3
  103. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +2 -2
  104. package/deployments/polygon-sandbox-local/DVN.json +13 -13
  105. package/deployments/polygon-sandbox-local/DVNFeeLib.json +3 -3
  106. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +2 -2
  107. package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
  108. package/deployments/polygon-sandbox-local/EndpointV2View.json +4 -4
  109. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +1 -1
  110. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +4 -4
  111. package/deployments/polygon-sandbox-local/Executor.json +14 -14
  112. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +3 -3
  113. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +4 -4
  114. package/deployments/polygon-sandbox-local/Executor_Implementation.json +8 -8
  115. package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
  116. package/deployments/polygon-sandbox-local/LzExecutor.json +5 -5
  117. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +2 -2
  118. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +5 -5
  119. package/deployments/polygon-sandbox-local/NonceContractMock.json +3 -3
  120. package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
  121. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +4 -4
  122. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +2 -2
  123. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
  124. package/deployments/polygon-sandbox-local/ReceiveUln301.json +6 -6
  125. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +4 -4
  126. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +7 -7
  127. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  128. package/deployments/polygon-sandbox-local/ReceiveUln302.json +3 -3
  129. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +4 -4
  130. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +6 -6
  131. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  132. package/deployments/polygon-sandbox-local/SendUln301.json +5 -5
  133. package/deployments/polygon-sandbox-local/SendUln302.json +3 -3
  134. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
  135. package/deployments/polygon-sandbox-local/Treasury.json +3 -3
  136. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +2 -2
  137. package/deployments/tron-testnet/DVN.json +1897 -0
  138. package/deployments/tron-testnet/DVNFeeLib.json +398 -0
  139. package/deployments/tron-testnet/PriceFeed.json +890 -0
  140. package/deployments/tron-testnet/PriceFeedProxyAdmin.json +283 -0
  141. package/deployments/tron-testnet/PriceFeed_Implementation.json +912 -0
  142. package/deployments/tron-testnet/PriceFeed_Proxy.json +244 -0
  143. package/dist/{index-9NLIt6Jd.d.mts → index-sAfl5Zdn.d.mts} +1426 -198
  144. package/dist/{index-9NLIt6Jd.d.ts → index-sAfl5Zdn.d.ts} +1426 -198
  145. package/dist/index.browser.cjs +1472 -594
  146. package/dist/index.browser.cjs.map +1 -1
  147. package/dist/index.browser.d.mts +1 -1
  148. package/dist/index.browser.d.ts +1 -1
  149. package/dist/index.browser.mjs +1472 -595
  150. package/dist/index.browser.mjs.map +1 -1
  151. package/dist/index.cjs +1805 -594
  152. package/dist/index.cjs.map +1 -1
  153. package/dist/index.d.mts +323 -2
  154. package/dist/index.d.ts +323 -2
  155. package/dist/index.mjs +1801 -595
  156. package/dist/index.mjs.map +1 -1
  157. package/package.json +10 -9
@@ -0,0 +1,708 @@
1
+ {
2
+ "address": "0xcA03Dc4665A8C3603cb4Fd5Ce71Af9649dC00d44",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_endpoint",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "address",
13
+ "name": "_treasury",
14
+ "type": "address"
15
+ }
16
+ ],
17
+ "stateMutability": "nonpayable",
18
+ "type": "constructor"
19
+ },
20
+ {
21
+ "inputs": [
22
+ {
23
+ "internalType": "address",
24
+ "name": "expected",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "internalType": "address",
29
+ "name": "actual",
30
+ "type": "address"
31
+ }
32
+ ],
33
+ "name": "InvalidEndpoint",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "LZ_NotImplemented",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "LzTokenIsAddressZero",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "OnlyEndpoint",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "OnlyWhitelistCaller",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "ToIsAddressZero",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "TransferFailed",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "_to",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "uint256",
75
+ "name": "_value",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "name": "Transfer_NativeFailed",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "Transfer_ToAddressIsZero",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "previousOwner",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": true,
98
+ "internalType": "address",
99
+ "name": "newOwner",
100
+ "type": "address"
101
+ }
102
+ ],
103
+ "name": "OwnershipTransferred",
104
+ "type": "event"
105
+ },
106
+ {
107
+ "stateMutability": "payable",
108
+ "type": "fallback"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "PACKET_VERSION",
113
+ "outputs": [
114
+ {
115
+ "internalType": "uint8",
116
+ "name": "",
117
+ "type": "uint8"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "defaultOption",
126
+ "outputs": [
127
+ {
128
+ "internalType": "bytes",
129
+ "name": "",
130
+ "type": "bytes"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "endpoint",
139
+ "outputs": [
140
+ {
141
+ "internalType": "address",
142
+ "name": "",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "uint32",
153
+ "name": "",
154
+ "type": "uint32"
155
+ }
156
+ ],
157
+ "name": "isSupportedEid",
158
+ "outputs": [
159
+ {
160
+ "internalType": "bool",
161
+ "name": "",
162
+ "type": "bool"
163
+ }
164
+ ],
165
+ "stateMutability": "pure",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "localEid",
171
+ "outputs": [
172
+ {
173
+ "internalType": "uint32",
174
+ "name": "",
175
+ "type": "uint32"
176
+ }
177
+ ],
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "inputs": [],
183
+ "name": "lzTokenFee",
184
+ "outputs": [
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "stateMutability": "view",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "messageLibType",
197
+ "outputs": [
198
+ {
199
+ "internalType": "enum MessageLibType",
200
+ "name": "",
201
+ "type": "uint8"
202
+ }
203
+ ],
204
+ "stateMutability": "pure",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "nativeFee",
210
+ "outputs": [
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "",
214
+ "type": "uint256"
215
+ }
216
+ ],
217
+ "stateMutability": "view",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "owner",
223
+ "outputs": [
224
+ {
225
+ "internalType": "address",
226
+ "name": "",
227
+ "type": "address"
228
+ }
229
+ ],
230
+ "stateMutability": "view",
231
+ "type": "function"
232
+ },
233
+ {
234
+ "inputs": [
235
+ {
236
+ "components": [
237
+ {
238
+ "internalType": "uint64",
239
+ "name": "nonce",
240
+ "type": "uint64"
241
+ },
242
+ {
243
+ "internalType": "uint32",
244
+ "name": "srcEid",
245
+ "type": "uint32"
246
+ },
247
+ {
248
+ "internalType": "address",
249
+ "name": "sender",
250
+ "type": "address"
251
+ },
252
+ {
253
+ "internalType": "uint32",
254
+ "name": "dstEid",
255
+ "type": "uint32"
256
+ },
257
+ {
258
+ "internalType": "bytes32",
259
+ "name": "receiver",
260
+ "type": "bytes32"
261
+ },
262
+ {
263
+ "internalType": "bytes32",
264
+ "name": "guid",
265
+ "type": "bytes32"
266
+ },
267
+ {
268
+ "internalType": "bytes",
269
+ "name": "message",
270
+ "type": "bytes"
271
+ }
272
+ ],
273
+ "internalType": "struct Packet",
274
+ "name": "",
275
+ "type": "tuple"
276
+ },
277
+ {
278
+ "internalType": "bytes",
279
+ "name": "",
280
+ "type": "bytes"
281
+ },
282
+ {
283
+ "internalType": "bool",
284
+ "name": "_payInLzToken",
285
+ "type": "bool"
286
+ }
287
+ ],
288
+ "name": "quote",
289
+ "outputs": [
290
+ {
291
+ "components": [
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "nativeFee",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "lzTokenFee",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "internalType": "struct MessagingFee",
304
+ "name": "",
305
+ "type": "tuple"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "renounceOwnership",
314
+ "outputs": [],
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "components": [
322
+ {
323
+ "internalType": "uint64",
324
+ "name": "nonce",
325
+ "type": "uint64"
326
+ },
327
+ {
328
+ "internalType": "uint32",
329
+ "name": "srcEid",
330
+ "type": "uint32"
331
+ },
332
+ {
333
+ "internalType": "address",
334
+ "name": "sender",
335
+ "type": "address"
336
+ },
337
+ {
338
+ "internalType": "uint32",
339
+ "name": "dstEid",
340
+ "type": "uint32"
341
+ },
342
+ {
343
+ "internalType": "bytes32",
344
+ "name": "receiver",
345
+ "type": "bytes32"
346
+ },
347
+ {
348
+ "internalType": "bytes32",
349
+ "name": "guid",
350
+ "type": "bytes32"
351
+ },
352
+ {
353
+ "internalType": "bytes",
354
+ "name": "message",
355
+ "type": "bytes"
356
+ }
357
+ ],
358
+ "internalType": "struct Packet",
359
+ "name": "_packet",
360
+ "type": "tuple"
361
+ },
362
+ {
363
+ "internalType": "bytes",
364
+ "name": "_options",
365
+ "type": "bytes"
366
+ },
367
+ {
368
+ "internalType": "bool",
369
+ "name": "_payInLzToken",
370
+ "type": "bool"
371
+ }
372
+ ],
373
+ "name": "send",
374
+ "outputs": [
375
+ {
376
+ "components": [
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "nativeFee",
380
+ "type": "uint256"
381
+ },
382
+ {
383
+ "internalType": "uint256",
384
+ "name": "lzTokenFee",
385
+ "type": "uint256"
386
+ }
387
+ ],
388
+ "internalType": "struct MessagingFee",
389
+ "name": "fee",
390
+ "type": "tuple"
391
+ },
392
+ {
393
+ "internalType": "bytes",
394
+ "name": "encodedPacket",
395
+ "type": "bytes"
396
+ },
397
+ {
398
+ "internalType": "bytes",
399
+ "name": "options",
400
+ "type": "bytes"
401
+ }
402
+ ],
403
+ "stateMutability": "nonpayable",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [
408
+ {
409
+ "internalType": "bytes",
410
+ "name": "_defaultOption",
411
+ "type": "bytes"
412
+ }
413
+ ],
414
+ "name": "setDefaultOption",
415
+ "outputs": [],
416
+ "stateMutability": "nonpayable",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "_nativeFee",
424
+ "type": "uint256"
425
+ },
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "_lzTokenFee",
429
+ "type": "uint256"
430
+ }
431
+ ],
432
+ "name": "setMessagingFee",
433
+ "outputs": [],
434
+ "stateMutability": "nonpayable",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "address",
441
+ "name": "_whitelistCaller",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "setWhitelistCaller",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "inputs": [
452
+ {
453
+ "internalType": "bytes4",
454
+ "name": "interfaceId",
455
+ "type": "bytes4"
456
+ }
457
+ ],
458
+ "name": "supportsInterface",
459
+ "outputs": [
460
+ {
461
+ "internalType": "bool",
462
+ "name": "",
463
+ "type": "bool"
464
+ }
465
+ ],
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [
471
+ {
472
+ "internalType": "address",
473
+ "name": "newOwner",
474
+ "type": "address"
475
+ }
476
+ ],
477
+ "name": "transferOwnership",
478
+ "outputs": [],
479
+ "stateMutability": "nonpayable",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [],
484
+ "name": "treasury",
485
+ "outputs": [
486
+ {
487
+ "internalType": "address",
488
+ "name": "",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "bytes",
499
+ "name": "packetBytes",
500
+ "type": "bytes"
501
+ }
502
+ ],
503
+ "name": "validatePacket",
504
+ "outputs": [],
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "version",
511
+ "outputs": [
512
+ {
513
+ "internalType": "uint64",
514
+ "name": "major",
515
+ "type": "uint64"
516
+ },
517
+ {
518
+ "internalType": "uint8",
519
+ "name": "minor",
520
+ "type": "uint8"
521
+ },
522
+ {
523
+ "internalType": "uint8",
524
+ "name": "endpointVersion",
525
+ "type": "uint8"
526
+ }
527
+ ],
528
+ "stateMutability": "pure",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "whitelistCaller",
534
+ "outputs": [
535
+ {
536
+ "internalType": "address",
537
+ "name": "",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "address",
548
+ "name": "_to",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "uint256",
553
+ "name": "_amount",
554
+ "type": "uint256"
555
+ }
556
+ ],
557
+ "name": "withdrawFee",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [
564
+ {
565
+ "internalType": "address",
566
+ "name": "_to",
567
+ "type": "address"
568
+ },
569
+ {
570
+ "internalType": "uint256",
571
+ "name": "_amount",
572
+ "type": "uint256"
573
+ }
574
+ ],
575
+ "name": "withdrawLzTokenFee",
576
+ "outputs": [],
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "stateMutability": "payable",
582
+ "type": "receive"
583
+ }
584
+ ],
585
+ "transactionHash": "0x35e682956afbdc77c9df7c0a494ecbab9b7b2d4dc4da9d29d5a0117d129118be",
586
+ "receipt": {
587
+ "to": null,
588
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
589
+ "contractAddress": "0xcA03Dc4665A8C3603cb4Fd5Ce71Af9649dC00d44",
590
+ "transactionIndex": 0,
591
+ "gasUsed": "1782279",
592
+ "logsBloom": "0x00000000000000000002000000000000000000000000000000880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000008000000000000000000",
593
+ "blockHash": "0xd580968eb02517c05f82d9a3c5dd84ecb021fcd776a4f285f4e5c100e5eac45f",
594
+ "transactionHash": "0x35e682956afbdc77c9df7c0a494ecbab9b7b2d4dc4da9d29d5a0117d129118be",
595
+ "logs": [
596
+ {
597
+ "transactionIndex": 0,
598
+ "blockNumber": 31,
599
+ "transactionHash": "0x35e682956afbdc77c9df7c0a494ecbab9b7b2d4dc4da9d29d5a0117d129118be",
600
+ "address": "0xcA03Dc4665A8C3603cb4Fd5Ce71Af9649dC00d44",
601
+ "topics": [
602
+ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
603
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
604
+ "0x00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8"
605
+ ],
606
+ "data": "0x",
607
+ "logIndex": 0,
608
+ "blockHash": "0xd580968eb02517c05f82d9a3c5dd84ecb021fcd776a4f285f4e5c100e5eac45f"
609
+ }
610
+ ],
611
+ "blockNumber": 31,
612
+ "cumulativeGasUsed": "1782279",
613
+ "status": 1,
614
+ "byzantium": true
615
+ },
616
+ "args": [
617
+ "0xbCF26943C0197d2eE0E5D05c716Be60cc2761508",
618
+ "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
619
+ ],
620
+ "numDeployments": 1,
621
+ "solcInputHash": "b3a9b3fa9db8c1c58102b0c1c149f74e",
622
+ "bytecode": "0x60e06040523480156200001157600080fd5b50604051620020033803806200200383398101604081905262000034916200013f565b6200003f33620000d2565b6001600160a01b03808316608081905290821660a0526040805163416ecebf60e01b8152905163416ecebf916004808201926020929091908290030181865afa15801562000091573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b7919062000177565b63ffffffff1660c052505060636002556064600355620001a6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200013a57600080fd5b919050565b600080604083850312156200015357600080fd5b6200015e8362000122565b91506200016e6020840162000122565b90509250929050565b6000602082840312156200018a57600080fd5b815163ffffffff811681146200019f57600080fd5b9392505050565b60805160a05160c051611e11620001f260003960006103d40152600061034301526000818161030f015281816106ce015281816107fd01528181610a450152610d070152611e116000f3fe6080604052600436106101845760003560e01c8063715018a6116100d6578063996f79c01161007f578063dabca06311610059578063dabca063146104ff578063f2fde38b1461051f578063fd9be5221461053f5761018b565b8063996f79c01461049c578063aec336e6146104b2578063d80e9bd9146104d25761018b565b80638da5cb5b116100b05780638da5cb5b1461042d5780638f58aa7a1461045857806390953238146104785761018b565b8063715018a6146103ad57806372607537146103c257806372d713221461040b5761018b565b80634389e58f1161013857806361d027b31161011257806361d027b3146103315780636251b637146103655780636750cd4c1461038c5761018b565b80634389e58f146102a257806354fd4d50146102d15780635e280f11146102fd5761018b565b80631881d94d116101695780631881d94d146102145780631c7c294e14610230578063334993ff146102825761018b565b806301ffc9a7146101bd57806312cc947f146101f25761018b565b3661018b57005b6040517f2657b6c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156101c957600080fd5b506101dd6101d8366004611451565b61055f565b60405190151581526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046114d5565b6105f8565b005b34801561022057600080fd5b5060026040516101e99190611517565b34801561023c57600080fd5b5060015461025d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101e9565b34801561028e57600080fd5b5061021261029d366004611558565b6107d1565b3480156102ae57600080fd5b506102c26102bd3660046116a3565b6107e4565b6040516101e993929190611789565b3480156102dd57600080fd5b5060408051600080825260208201526002918101919091526060016101e9565b34801561030957600080fd5b5061025d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561033d57600080fd5b5061025d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561037157600080fd5b5061037a600181565b60405160ff90911681526020016101e9565b34801561039857600080fd5b506101dd6103a73660046117e2565b50600190565b3480156103b957600080fd5b5061021261094a565b3480156103ce57600080fd5b506103f67f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016101e9565b34801561041757600080fd5b5061042061095e565b6040516101e991906117fd565b34801561043957600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661025d565b34801561046457600080fd5b5061021261047336600461183d565b6109ec565b34801561048457600080fd5b5061048e60025481565b6040519081526020016101e9565b3480156104a857600080fd5b5061048e60035481565b3480156104be57600080fd5b506102126104cd366004611869565b610b47565b3480156104de57600080fd5b506104f26104ed366004611886565b610b96565b6040516101e99190611902565b34801561050b57600080fd5b5061021261051a366004611919565b610bda565b34801561052b57600080fd5b5061021261053a366004611869565b610bf2565b34801561054b57600080fd5b5061021261055a36600461183d565b610cae565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f025840000000000000000000000000000000000000000000000000000000014806105f257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff1615801590610637575060015473ffffffffffffffffffffffffffffffffffffffff163314155b1561066e576040517f70b216ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060405180606001604052806106858585610da1565b63ffffffff16815260200161069a8585610dc4565b81526020016106a98585610de4565b67ffffffffffffffff169052905073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663a825d747826106fe8686610e07565b6107088787610e19565b60405161071692919061194e565b6040805191829003822060e086901b7fffffffff00000000000000000000000000000000000000000000000000000000168352845163ffffffff1660048401526020850151602484015293015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff9091166064820152608481019190915260a401600060405180830381600087803b1580156107b457600080fd5b505af11580156107c8573d6000803e3d6000fd5b50505050505050565b6107d9610e35565b600391909155600255565b60408051808201909152600080825260208201526060807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f7eb966c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61087b61087687611976565b610eb6565b9150845160001461088c5784610918565b6004805461089990611a14565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590611a14565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b50505050505b9050604051806040016040528060035481526020018561093957600061093d565b6002545b9052969195509350915050565b610952610e35565b61095c6000610f1b565b565b6004805461096b90611a14565b80601f016020809104026020016040519081016040528092919081815260200182805461099790611a14565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b6109f4610e35565b73ffffffffffffffffffffffffffffffffffffffff8216610a41576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190611a61565b905073ffffffffffffffffffffffffffffffffffffffff8116610b21576040517f54c1781b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4273ffffffffffffffffffffffffffffffffffffffff82168484610f90565b505050565b610b4f610e35565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152600080825260208201526040518060400160405280600354815260200183610bc9576000610bcd565b6002545b905290505b949350505050565b610be2610e35565b6004610bee8282611ace565b5050565b610bfa610e35565b73ffffffffffffffffffffffffffffffffffffffff8116610ca2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610cab81610f1b565b50565b610cb6610e35565b73ffffffffffffffffffffffffffffffffffffffff8216610d03576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e1758bd86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d949190611a61565b9050610b4281848461101d565b6000610db1600d60098486611be8565b610dba91611c12565b60e01c9392505050565b6000610dd4602d600d8486611be8565b610ddd91611c5a565b9392505050565b6000610df4600960018486611be8565b610dfd91611c96565b60c01c9392505050565b6000610ddd610e16848461104d565b90565b366000610e298360518187611be8565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c99565b8051602080830151604080850151606080870151608088015160a089015160c08a015195519398610f05986001989197919673ffffffffffffffffffffffffffffffffffffffff169501611cdc565b6040516020818303038152906040529050919050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610b4290849061105d565b73ffffffffffffffffffffffffffffffffffffffff831661104257610b42828261116c565b610b42838383611272565b6000610dd4605160318486611be8565b60006110bf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112e09092919063ffffffff16565b90508051600014806110e05750808060200190518101906110e09190611da2565b610b42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c99565b73ffffffffffffffffffffffffffffffffffffffff82166111b9576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b5050905080610b42576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610c99565b73ffffffffffffffffffffffffffffffffffffffff82166112bf576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4273ffffffffffffffffffffffffffffffffffffffff84168383610f90565b6060610bd28484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516113149190611dbf565b60006040518083038185875af1925050503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b509150915061136787838387611372565b979650505050505050565b606083156114085782516000036114015773ffffffffffffffffffffffffffffffffffffffff85163b611401576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c99565b5081610bd2565b610bd2838381511561141d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9991906117fd565b60006020828403121561146357600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610ddd57600080fd5b60008083601f8401126114a557600080fd5b50813567ffffffffffffffff8111156114bd57600080fd5b602083019150836020828501011115610e2e57600080fd5b600080602083850312156114e857600080fd5b823567ffffffffffffffff8111156114ff57600080fd5b61150b85828601611493565b90969095509350505050565b6020810160038310611552577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561156b57600080fd5b50508035926020909101359150565b600060e0828403121561158c57600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156115e4576115e4611592565b60405290565b600082601f8301126115fb57600080fd5b813567ffffffffffffffff8082111561161657611616611592565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561165c5761165c611592565b8160405283815286602085880101111561167557600080fd5b836020870160208301376000602085830101528094505050505092915050565b8015158114610cab57600080fd5b6000806000606084860312156116b857600080fd5b833567ffffffffffffffff808211156116d057600080fd5b6116dc8783880161157a565b945060208601359150808211156116f257600080fd5b506116ff868287016115ea565b925050604084013561171081611695565b809150509250925092565b60005b8381101561173657818101518382015260200161171e565b50506000910152565b6000815180845261175781602086016020860161171b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b83518152602080850151908201526080604082015260006117ad608083018561173f565b82810360608401526117bf818561173f565b9695505050505050565b803563ffffffff811681146117dd57600080fd5b919050565b6000602082840312156117f457600080fd5b610ddd826117c9565b602081526000610ddd602083018461173f565b73ffffffffffffffffffffffffffffffffffffffff81168114610cab57600080fd5b80356117dd81611810565b6000806040838503121561185057600080fd5b823561185b81611810565b946020939093013593505050565b60006020828403121561187b57600080fd5b8135610ddd81611810565b6000806000806060858703121561189c57600080fd5b843567ffffffffffffffff808211156118b457600080fd5b6118c08883890161157a565b955060208701359150808211156118d657600080fd5b506118e387828801611493565b90945092505060408501356118f781611695565b939692955090935050565b8151815260208083015190820152604081016105f2565b60006020828403121561192b57600080fd5b813567ffffffffffffffff81111561194257600080fd5b610bd2848285016115ea565b8183823760009101908152919050565b803567ffffffffffffffff811681146117dd57600080fd5b600060e0823603121561198857600080fd5b6119906115c1565b6119998361195e565b81526119a7602084016117c9565b60208201526119b860408401611832565b60408201526119c9606084016117c9565b60608201526080830135608082015260a083013560a082015260c083013567ffffffffffffffff8111156119fc57600080fd5b611a08368286016115ea565b60c08301525092915050565b600181811c90821680611a2857607f821691505b60208210810361158c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060208284031215611a7357600080fd5b8151610ddd81611810565b601f821115610b42576000816000526020600020601f850160051c81016020861015611aa75750805b601f850160051c820191505b81811015611ac657828155600101611ab3565b505050505050565b815167ffffffffffffffff811115611ae857611ae8611592565b611afc81611af68454611a14565b84611a7e565b602080601f831160018114611b4f5760008415611b195750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611ac6565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611b9c57888601518255948401946001909101908401611b7d565b5085821015611bd857878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008085851115611bf857600080fd5b83861115611c0557600080fd5b5050820193919092039150565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015611c525780818660040360031b1b83161692505b505092915050565b803560208310156105f2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b1692915050565b7fffffffffffffffff0000000000000000000000000000000000000000000000008135818116916008851015611c525760089490940360031b84901b1690921692915050565b7fff000000000000000000000000000000000000000000000000000000000000008960f81b1681527fffffffffffffffff0000000000000000000000000000000000000000000000008860c01b16600182015260007fffffffff00000000000000000000000000000000000000000000000000000000808960e01b16600984015287600d840152808760e01b16602d840152508460318301528360518301528251611d8e81607185016020870161171b565b919091016071019998505050505050505050565b600060208284031215611db457600080fd5b8151610ddd81611695565b60008251611dd181846020870161171b565b919091019291505056fea264697066735822122054135e71dd71841df0da9ce245c2585daac70ac1d14cee877d1579d9182bdc0764736f6c63430008160033",
623
+ "deployedBytecode": "0x6080604052600436106101845760003560e01c8063715018a6116100d6578063996f79c01161007f578063dabca06311610059578063dabca063146104ff578063f2fde38b1461051f578063fd9be5221461053f5761018b565b8063996f79c01461049c578063aec336e6146104b2578063d80e9bd9146104d25761018b565b80638da5cb5b116100b05780638da5cb5b1461042d5780638f58aa7a1461045857806390953238146104785761018b565b8063715018a6146103ad57806372607537146103c257806372d713221461040b5761018b565b80634389e58f1161013857806361d027b31161011257806361d027b3146103315780636251b637146103655780636750cd4c1461038c5761018b565b80634389e58f146102a257806354fd4d50146102d15780635e280f11146102fd5761018b565b80631881d94d116101695780631881d94d146102145780631c7c294e14610230578063334993ff146102825761018b565b806301ffc9a7146101bd57806312cc947f146101f25761018b565b3661018b57005b6040517f2657b6c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156101c957600080fd5b506101dd6101d8366004611451565b61055f565b60405190151581526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046114d5565b6105f8565b005b34801561022057600080fd5b5060026040516101e99190611517565b34801561023c57600080fd5b5060015461025d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101e9565b34801561028e57600080fd5b5061021261029d366004611558565b6107d1565b3480156102ae57600080fd5b506102c26102bd3660046116a3565b6107e4565b6040516101e993929190611789565b3480156102dd57600080fd5b5060408051600080825260208201526002918101919091526060016101e9565b34801561030957600080fd5b5061025d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561033d57600080fd5b5061025d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561037157600080fd5b5061037a600181565b60405160ff90911681526020016101e9565b34801561039857600080fd5b506101dd6103a73660046117e2565b50600190565b3480156103b957600080fd5b5061021261094a565b3480156103ce57600080fd5b506103f67f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016101e9565b34801561041757600080fd5b5061042061095e565b6040516101e991906117fd565b34801561043957600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661025d565b34801561046457600080fd5b5061021261047336600461183d565b6109ec565b34801561048457600080fd5b5061048e60025481565b6040519081526020016101e9565b3480156104a857600080fd5b5061048e60035481565b3480156104be57600080fd5b506102126104cd366004611869565b610b47565b3480156104de57600080fd5b506104f26104ed366004611886565b610b96565b6040516101e99190611902565b34801561050b57600080fd5b5061021261051a366004611919565b610bda565b34801561052b57600080fd5b5061021261053a366004611869565b610bf2565b34801561054b57600080fd5b5061021261055a36600461183d565b610cae565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f025840000000000000000000000000000000000000000000000000000000014806105f257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff1615801590610637575060015473ffffffffffffffffffffffffffffffffffffffff163314155b1561066e576040517f70b216ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060405180606001604052806106858585610da1565b63ffffffff16815260200161069a8585610dc4565b81526020016106a98585610de4565b67ffffffffffffffff169052905073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663a825d747826106fe8686610e07565b6107088787610e19565b60405161071692919061194e565b6040805191829003822060e086901b7fffffffff00000000000000000000000000000000000000000000000000000000168352845163ffffffff1660048401526020850151602484015293015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff9091166064820152608481019190915260a401600060405180830381600087803b1580156107b457600080fd5b505af11580156107c8573d6000803e3d6000fd5b50505050505050565b6107d9610e35565b600391909155600255565b60408051808201909152600080825260208201526060807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f7eb966c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61087b61087687611976565b610eb6565b9150845160001461088c5784610918565b6004805461089990611a14565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590611a14565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b50505050505b9050604051806040016040528060035481526020018561093957600061093d565b6002545b9052969195509350915050565b610952610e35565b61095c6000610f1b565b565b6004805461096b90611a14565b80601f016020809104026020016040519081016040528092919081815260200182805461099790611a14565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b6109f4610e35565b73ffffffffffffffffffffffffffffffffffffffff8216610a41576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190611a61565b905073ffffffffffffffffffffffffffffffffffffffff8116610b21576040517f54c1781b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4273ffffffffffffffffffffffffffffffffffffffff82168484610f90565b505050565b610b4f610e35565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152600080825260208201526040518060400160405280600354815260200183610bc9576000610bcd565b6002545b905290505b949350505050565b610be2610e35565b6004610bee8282611ace565b5050565b610bfa610e35565b73ffffffffffffffffffffffffffffffffffffffff8116610ca2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610cab81610f1b565b50565b610cb6610e35565b73ffffffffffffffffffffffffffffffffffffffff8216610d03576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e1758bd86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d949190611a61565b9050610b4281848461101d565b6000610db1600d60098486611be8565b610dba91611c12565b60e01c9392505050565b6000610dd4602d600d8486611be8565b610ddd91611c5a565b9392505050565b6000610df4600960018486611be8565b610dfd91611c96565b60c01c9392505050565b6000610ddd610e16848461104d565b90565b366000610e298360518187611be8565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c99565b8051602080830151604080850151606080870151608088015160a089015160c08a015195519398610f05986001989197919673ffffffffffffffffffffffffffffffffffffffff169501611cdc565b6040516020818303038152906040529050919050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610b4290849061105d565b73ffffffffffffffffffffffffffffffffffffffff831661104257610b42828261116c565b610b42838383611272565b6000610dd4605160318486611be8565b60006110bf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112e09092919063ffffffff16565b90508051600014806110e05750808060200190518101906110e09190611da2565b610b42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c99565b73ffffffffffffffffffffffffffffffffffffffff82166111b9576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b5050905080610b42576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610c99565b73ffffffffffffffffffffffffffffffffffffffff82166112bf576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4273ffffffffffffffffffffffffffffffffffffffff84168383610f90565b6060610bd28484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516113149190611dbf565b60006040518083038185875af1925050503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b509150915061136787838387611372565b979650505050505050565b606083156114085782516000036114015773ffffffffffffffffffffffffffffffffffffffff85163b611401576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c99565b5081610bd2565b610bd2838381511561141d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9991906117fd565b60006020828403121561146357600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610ddd57600080fd5b60008083601f8401126114a557600080fd5b50813567ffffffffffffffff8111156114bd57600080fd5b602083019150836020828501011115610e2e57600080fd5b600080602083850312156114e857600080fd5b823567ffffffffffffffff8111156114ff57600080fd5b61150b85828601611493565b90969095509350505050565b6020810160038310611552577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561156b57600080fd5b50508035926020909101359150565b600060e0828403121561158c57600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156115e4576115e4611592565b60405290565b600082601f8301126115fb57600080fd5b813567ffffffffffffffff8082111561161657611616611592565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561165c5761165c611592565b8160405283815286602085880101111561167557600080fd5b836020870160208301376000602085830101528094505050505092915050565b8015158114610cab57600080fd5b6000806000606084860312156116b857600080fd5b833567ffffffffffffffff808211156116d057600080fd5b6116dc8783880161157a565b945060208601359150808211156116f257600080fd5b506116ff868287016115ea565b925050604084013561171081611695565b809150509250925092565b60005b8381101561173657818101518382015260200161171e565b50506000910152565b6000815180845261175781602086016020860161171b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b83518152602080850151908201526080604082015260006117ad608083018561173f565b82810360608401526117bf818561173f565b9695505050505050565b803563ffffffff811681146117dd57600080fd5b919050565b6000602082840312156117f457600080fd5b610ddd826117c9565b602081526000610ddd602083018461173f565b73ffffffffffffffffffffffffffffffffffffffff81168114610cab57600080fd5b80356117dd81611810565b6000806040838503121561185057600080fd5b823561185b81611810565b946020939093013593505050565b60006020828403121561187b57600080fd5b8135610ddd81611810565b6000806000806060858703121561189c57600080fd5b843567ffffffffffffffff808211156118b457600080fd5b6118c08883890161157a565b955060208701359150808211156118d657600080fd5b506118e387828801611493565b90945092505060408501356118f781611695565b939692955090935050565b8151815260208083015190820152604081016105f2565b60006020828403121561192b57600080fd5b813567ffffffffffffffff81111561194257600080fd5b610bd2848285016115ea565b8183823760009101908152919050565b803567ffffffffffffffff811681146117dd57600080fd5b600060e0823603121561198857600080fd5b6119906115c1565b6119998361195e565b81526119a7602084016117c9565b60208201526119b860408401611832565b60408201526119c9606084016117c9565b60608201526080830135608082015260a083013560a082015260c083013567ffffffffffffffff8111156119fc57600080fd5b611a08368286016115ea565b60c08301525092915050565b600181811c90821680611a2857607f821691505b60208210810361158c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060208284031215611a7357600080fd5b8151610ddd81611810565b601f821115610b42576000816000526020600020601f850160051c81016020861015611aa75750805b601f850160051c820191505b81811015611ac657828155600101611ab3565b505050505050565b815167ffffffffffffffff811115611ae857611ae8611592565b611afc81611af68454611a14565b84611a7e565b602080601f831160018114611b4f5760008415611b195750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611ac6565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611b9c57888601518255948401946001909101908401611b7d565b5085821015611bd857878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008085851115611bf857600080fd5b83861115611c0557600080fd5b5050820193919092039150565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015611c525780818660040360031b1b83161692505b505092915050565b803560208310156105f2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b1692915050565b7fffffffffffffffff0000000000000000000000000000000000000000000000008135818116916008851015611c525760089490940360031b84901b1690921692915050565b7fff000000000000000000000000000000000000000000000000000000000000008960f81b1681527fffffffffffffffff0000000000000000000000000000000000000000000000008860c01b16600182015260007fffffffff00000000000000000000000000000000000000000000000000000000808960e01b16600984015287600d840152808760e01b16602d840152508460318301528360518301528251611d8e81607185016020870161171b565b919091016071019998505050505050505050565b600060208284031215611db457600080fd5b8151610ddd81611695565b60008251611dd181846020870161171b565b919091019291505056fea264697066735822122054135e71dd71841df0da9ce245c2585daac70ac1d14cee877d1579d9182bdc0764736f6c63430008160033",
624
+ "devdoc": {
625
+ "kind": "dev",
626
+ "methods": {
627
+ "owner()": {
628
+ "details": "Returns the address of the current owner."
629
+ },
630
+ "renounceOwnership()": {
631
+ "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
632
+ },
633
+ "supportsInterface(bytes4)": {
634
+ "details": "See {IERC165-supportsInterface}."
635
+ },
636
+ "transferOwnership(address)": {
637
+ "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
638
+ }
639
+ },
640
+ "version": 1
641
+ },
642
+ "userdoc": {
643
+ "kind": "user",
644
+ "methods": {},
645
+ "version": 1
646
+ },
647
+ "storageLayout": {
648
+ "storage": [
649
+ {
650
+ "astId": 506,
651
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
652
+ "label": "_owner",
653
+ "offset": 0,
654
+ "slot": "0",
655
+ "type": "t_address"
656
+ },
657
+ {
658
+ "astId": 6731,
659
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
660
+ "label": "whitelistCaller",
661
+ "offset": 0,
662
+ "slot": "1",
663
+ "type": "t_address"
664
+ },
665
+ {
666
+ "astId": 6733,
667
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
668
+ "label": "lzTokenFee",
669
+ "offset": 0,
670
+ "slot": "2",
671
+ "type": "t_uint256"
672
+ },
673
+ {
674
+ "astId": 6735,
675
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
676
+ "label": "nativeFee",
677
+ "offset": 0,
678
+ "slot": "3",
679
+ "type": "t_uint256"
680
+ },
681
+ {
682
+ "astId": 6737,
683
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
684
+ "label": "defaultOption",
685
+ "offset": 0,
686
+ "slot": "4",
687
+ "type": "t_bytes_storage"
688
+ }
689
+ ],
690
+ "types": {
691
+ "t_address": {
692
+ "encoding": "inplace",
693
+ "label": "address",
694
+ "numberOfBytes": "20"
695
+ },
696
+ "t_bytes_storage": {
697
+ "encoding": "bytes",
698
+ "label": "bytes",
699
+ "numberOfBytes": "32"
700
+ },
701
+ "t_uint256": {
702
+ "encoding": "inplace",
703
+ "label": "uint256",
704
+ "numberOfBytes": "32"
705
+ }
706
+ }
707
+ }
708
+ }