@layerzerolabs/lz-evm-sdk-v2 2.0.8 → 2.0.10-tron

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 (117) hide show
  1. package/deployments/arbitrum-sandbox-local/DVN.json +1896 -0
  2. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +387 -0
  3. package/deployments/arbitrum-sandbox-local/EndpointV2.json +2955 -0
  4. package/deployments/{ethereum-sandbox-local/Oracle.json → arbitrum-sandbox-local/Executor.json} +656 -398
  5. package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +407 -0
  6. package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +283 -0
  7. package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1591 -0
  8. package/deployments/{ethereum-sandbox-local/Oracle_Proxy.json → arbitrum-sandbox-local/Executor_Proxy.json} +135 -60
  9. package/deployments/arbitrum-sandbox-local/NonceContractMock.json +163 -0
  10. package/deployments/{polygon-sandbox-local/Relayer.json → arbitrum-sandbox-local/PriceFeed.json} +339 -445
  11. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  12. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +912 -0
  13. package/deployments/{ethereum-sandbox-local/Relayer_Proxy.json → arbitrum-sandbox-local/PriceFeed_Proxy.json} +33 -64
  14. package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1264 -0
  15. package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +954 -0
  16. package/deployments/arbitrum-sandbox-local/SendUln301.json +1569 -0
  17. package/deployments/arbitrum-sandbox-local/SendUln302.json +1527 -0
  18. package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +708 -0
  19. package/deployments/arbitrum-sandbox-local/Treasury.json +412 -0
  20. package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +125 -0
  21. package/deployments/ethereum-sandbox-local/DVN.json +5 -5
  22. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
  23. package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
  24. package/deployments/ethereum-sandbox-local/Executor.json +14 -14
  25. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
  26. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
  27. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  28. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
  29. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  30. package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
  31. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  32. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  33. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  34. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
  35. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
  36. package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
  37. package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
  38. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
  39. package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
  40. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  41. package/deployments/polygon-sandbox-local/DVN.json +5 -5
  42. package/deployments/polygon-sandbox-local/DVNFeeLib.json +2 -2
  43. package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
  44. package/deployments/polygon-sandbox-local/Executor.json +14 -14
  45. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +2 -2
  46. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +3 -3
  47. package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
  48. package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
  49. package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
  50. package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
  51. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  52. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
  53. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
  54. package/deployments/polygon-sandbox-local/ReceiveUln301.json +2 -2
  55. package/deployments/polygon-sandbox-local/ReceiveUln302.json +2 -2
  56. package/deployments/polygon-sandbox-local/SendUln301.json +2 -2
  57. package/deployments/polygon-sandbox-local/SendUln302.json +2 -2
  58. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
  59. package/deployments/polygon-sandbox-local/Treasury.json +2 -2
  60. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
  61. package/deployments/tron-sandbox-local/DVN.json +1896 -0
  62. package/deployments/tron-sandbox-local/DVNFeeLib.json +387 -0
  63. package/deployments/tron-sandbox-local/EndpointV2.json +2955 -0
  64. package/deployments/{polygon-sandbox-local/Oracle.json → tron-sandbox-local/Executor.json} +656 -398
  65. package/deployments/tron-sandbox-local/ExecutorFeeLib.json +407 -0
  66. package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +283 -0
  67. package/deployments/tron-sandbox-local/Executor_Implementation.json +1591 -0
  68. package/deployments/{polygon-sandbox-local/Oracle_Proxy.json → tron-sandbox-local/Executor_Proxy.json} +135 -60
  69. package/deployments/tron-sandbox-local/NonceContractMock.json +163 -0
  70. package/deployments/{ethereum-sandbox-local/Relayer.json → tron-sandbox-local/PriceFeed.json} +339 -445
  71. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  72. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +912 -0
  73. package/deployments/{polygon-sandbox-local/Relayer_Proxy.json → tron-sandbox-local/PriceFeed_Proxy.json} +33 -64
  74. package/deployments/tron-sandbox-local/ReceiveUln301.json +1264 -0
  75. package/deployments/tron-sandbox-local/ReceiveUln302.json +954 -0
  76. package/deployments/tron-sandbox-local/SendUln301.json +1569 -0
  77. package/deployments/tron-sandbox-local/SendUln302.json +1527 -0
  78. package/deployments/tron-sandbox-local/SimpleMessageLib.json +708 -0
  79. package/deployments/tron-sandbox-local/Treasury.json +412 -0
  80. package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +125 -0
  81. package/package.json +9 -20
  82. package/deployments/ethereum-sandbox-local/BlockedMessageLib.json +0 -90
  83. package/deployments/ethereum-sandbox-local/Endpoint.json +0 -2355
  84. package/deployments/ethereum-sandbox-local/MultiSigOracle.json +0 -1448
  85. package/deployments/ethereum-sandbox-local/NonceContract.json +0 -158
  86. package/deployments/ethereum-sandbox-local/OmniCounter.json +0 -1133
  87. package/deployments/ethereum-sandbox-local/OmniCounterPreCrime.json +0 -493
  88. package/deployments/ethereum-sandbox-local/OmniCounterPreCrimeView.json +0 -672
  89. package/deployments/ethereum-sandbox-local/OmniCounterViewer.json +0 -214
  90. package/deployments/ethereum-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
  91. package/deployments/ethereum-sandbox-local/OracleFeeLib.json +0 -166
  92. package/deployments/ethereum-sandbox-local/OracleProxyAdmin.json +0 -272
  93. package/deployments/ethereum-sandbox-local/Oracle_Implementation.json +0 -1326
  94. package/deployments/ethereum-sandbox-local/RelayerFeeLib.json +0 -130
  95. package/deployments/ethereum-sandbox-local/RelayerProxyAdmin.json +0 -272
  96. package/deployments/ethereum-sandbox-local/Relayer_Implementation.json +0 -1014
  97. package/deployments/ethereum-sandbox-local/UlnConfig301.json +0 -1003
  98. package/deployments/ethereum-sandbox-local/UlnConfig302.json +0 -1003
  99. package/deployments/ethereum-sandbox-local/UltraLightNodeE302.json +0 -1696
  100. package/deployments/polygon-sandbox-local/BlockedMessageLib.json +0 -90
  101. package/deployments/polygon-sandbox-local/Endpoint.json +0 -2355
  102. package/deployments/polygon-sandbox-local/MultiSigOracle.json +0 -1448
  103. package/deployments/polygon-sandbox-local/NonceContract.json +0 -158
  104. package/deployments/polygon-sandbox-local/OmniCounter.json +0 -1133
  105. package/deployments/polygon-sandbox-local/OmniCounterPreCrime.json +0 -493
  106. package/deployments/polygon-sandbox-local/OmniCounterPreCrimeView.json +0 -672
  107. package/deployments/polygon-sandbox-local/OmniCounterViewer.json +0 -214
  108. package/deployments/polygon-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
  109. package/deployments/polygon-sandbox-local/OracleFeeLib.json +0 -166
  110. package/deployments/polygon-sandbox-local/OracleProxyAdmin.json +0 -272
  111. package/deployments/polygon-sandbox-local/Oracle_Implementation.json +0 -1326
  112. package/deployments/polygon-sandbox-local/RelayerFeeLib.json +0 -130
  113. package/deployments/polygon-sandbox-local/RelayerProxyAdmin.json +0 -272
  114. package/deployments/polygon-sandbox-local/Relayer_Implementation.json +0 -1014
  115. package/deployments/polygon-sandbox-local/UlnConfig301.json +0 -1003
  116. package/deployments/polygon-sandbox-local/UlnConfig302.json +0 -1003
  117. package/deployments/polygon-sandbox-local/UltraLightNodeE302.json +0 -1696
@@ -0,0 +1,708 @@
1
+ {
2
+ "address": "0x832Ece690e9c61C726056Cf0FeCa13212a643A43",
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": "LzTokenIsAddressZero",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "NotImplemented",
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": "ToAddressIsZero",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "ToIsAddressZero",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "TransferFailed",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "_to",
76
+ "type": "address"
77
+ },
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "_value",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "name": "TransferNativeFailed",
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": "0xf65ee2f94a10f0cff96e8c2551ff5a2e2b359712759b48918c857bd58cb5bbbf",
586
+ "receipt": {
587
+ "to": null,
588
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
589
+ "contractAddress": "0x832Ece690e9c61C726056Cf0FeCa13212a643A43",
590
+ "transactionIndex": 0,
591
+ "gasUsed": "1739670",
592
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
593
+ "blockHash": "0x000000000000001e82a751497f47829aac83e2506f115f095adda8ca1c281732",
594
+ "transactionHash": "0xf65ee2f94a10f0cff96e8c2551ff5a2e2b359712759b48918c857bd58cb5bbbf",
595
+ "logs": [
596
+ {
597
+ "transactionIndex": 0,
598
+ "blockNumber": 30,
599
+ "transactionHash": "0xf65ee2f94a10f0cff96e8c2551ff5a2e2b359712759b48918c857bd58cb5bbbf",
600
+ "address": "0x832Ece690e9c61C726056Cf0FeCa13212a643A43",
601
+ "topics": [
602
+ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
603
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
604
+ "0x00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8"
605
+ ],
606
+ "data": "0x",
607
+ "logIndex": 0,
608
+ "blockHash": "0x000000000000001e82a751497f47829aac83e2506f115f095adda8ca1c281732"
609
+ }
610
+ ],
611
+ "blockNumber": 30,
612
+ "cumulativeGasUsed": "1739670",
613
+ "status": 1,
614
+ "byzantium": true
615
+ },
616
+ "args": [
617
+ "0x246345f1eE077a056ab627F7Cba96F937c5b73D9",
618
+ "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
619
+ ],
620
+ "numDeployments": 1,
621
+ "solcInputHash": "5f9cc4c4ad07139fb3a149ee8b32b86a",
622
+ "bytecode": "0x60e06040523480156200001157600080fd5b50d380156200001f57600080fd5b50d280156200002d57600080fd5b50604051620022d2380380620022d2833981016040819052620000509162000168565b6200005b33620000ee565b6001600160a01b03808316608081905290821660a0526040805163416ecebf60e01b8152905163416ecebf916004808201926020929091908290030181865afa158015620000ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d39190620001a0565b63ffffffff1660c052505060636002556064600355620001cf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516000906001600160a81b03811681146200015957600080fd5b6001600160a01b031692915050565b600080604083850312156200017c57600080fd5b62000187836200013e565b915062000197602084016200013e565b90509250929050565b600060208284031215620001b357600080fd5b815163ffffffff81168114620001c857600080fd5b9392505050565b60805160a05160c0516120b76200021b60003960006105260152600061042d0152600081816103df0152818161092401528181610a5301528181610c9b0152610f5d01526120b76000f3fe6080604052600436106101845760003560e01c8063715018a6116100d6578063996f79c01161007f578063dabca06311610059578063dabca06314610707578063f2fde38b14610741578063fd9be5221461077b5761018b565b8063996f79c014610656578063aec336e614610686578063d80e9bd9146106c05761018b565b80638da5cb5b116100b05780638da5cb5b146105995780638f58aa7a146105de57806390953238146106185761018b565b8063715018a6146104cb57806372607537146104fa57806372d713221461055d5761018b565b80634389e58f1161013857806361d027b31161011257806361d027b3146104015780636251b6371461044f5780636750cd4c146104905761018b565b80634389e58f1461032457806354fd4d501461036d5780635e280f11146103b35761018b565b80631881d94d116101695780631881d94d146102485780631c7c294e1461027e578063334993ff146102ea5761018b565b806301ffc9a7146101bd57806312cc947f1461020c5761018b565b3661018b57005b6040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156101c957600080fd5b50d380156101d657600080fd5b50d280156101e357600080fd5b506101f76101f23660046116a7565b6107b5565b60405190151581526020015b60405180910390f35b34801561021857600080fd5b50d3801561022557600080fd5b50d2801561023257600080fd5b5061024661024136600461172b565b61084e565b005b34801561025457600080fd5b50d3801561026157600080fd5b50d2801561026e57600080fd5b506002604051610203919061176d565b34801561028a57600080fd5b50d3801561029757600080fd5b50d280156102a457600080fd5b506001546102c59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610203565b3480156102f657600080fd5b50d3801561030357600080fd5b50d2801561031057600080fd5b5061024661031f3660046117ae565b610a27565b34801561033057600080fd5b50d3801561033d57600080fd5b50d2801561034a57600080fd5b5061035e6103593660046118f9565b610a3a565b604051610203939291906119df565b34801561037957600080fd5b50d3801561038657600080fd5b50d2801561039357600080fd5b506040805160008082526020820152600291810191909152606001610203565b3480156103bf57600080fd5b50d380156103cc57600080fd5b50d280156103d957600080fd5b506102c57f000000000000000000000000000000000000000000000000000000000000000081565b34801561040d57600080fd5b50d3801561041a57600080fd5b50d2801561042757600080fd5b506102c57f000000000000000000000000000000000000000000000000000000000000000081565b34801561045b57600080fd5b50d3801561046857600080fd5b50d2801561047557600080fd5b5061047e600181565b60405160ff9091168152602001610203565b34801561049c57600080fd5b50d380156104a957600080fd5b50d280156104b657600080fd5b506101f76104c5366004611a38565b50600190565b3480156104d757600080fd5b50d380156104e457600080fd5b50d280156104f157600080fd5b50610246610ba0565b34801561050657600080fd5b50d3801561051357600080fd5b50d2801561052057600080fd5b506105487f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610203565b34801561056957600080fd5b50d3801561057657600080fd5b50d2801561058357600080fd5b5061058c610bb4565b6040516102039190611a53565b3480156105a557600080fd5b50d380156105b257600080fd5b50d280156105bf57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166102c5565b3480156105ea57600080fd5b50d380156105f757600080fd5b50d2801561060457600080fd5b50610246610613366004611ab2565b610c42565b34801561062457600080fd5b50d3801561063157600080fd5b50d2801561063e57600080fd5b5061064860025481565b604051908152602001610203565b34801561066257600080fd5b50d3801561066f57600080fd5b50d2801561067c57600080fd5b5061064860035481565b34801561069257600080fd5b50d3801561069f57600080fd5b50d280156106ac57600080fd5b506102466106bb366004611af4565b610d9d565b3480156106cc57600080fd5b50d380156106d957600080fd5b50d280156106e657600080fd5b506106fa6106f5366004611b2e565b610dec565b6040516102039190611baa565b34801561071357600080fd5b50d3801561072057600080fd5b50d2801561072d57600080fd5b5061024661073c366004611bc1565b610e30565b34801561074d57600080fd5b50d3801561075a57600080fd5b50d2801561076757600080fd5b50610246610776366004611af4565b610e48565b34801561078757600080fd5b50d3801561079457600080fd5b50d280156107a157600080fd5b506102466107b0366004611ab2565b610f04565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f0258400000000000000000000000000000000000000000000000000000000148061084857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff161580159061088d575060015473ffffffffffffffffffffffffffffffffffffffff163314155b156108c4576040517f70b216ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060405180606001604052806108db8585610ff7565b63ffffffff1681526020016108f0858561101a565b81526020016108ff858561103a565b67ffffffffffffffff169052905073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663a825d74782610954868661105d565b61095e878761106f565b60405161096c929190611bf6565b6040805191829003822060e086901b7fffffffff00000000000000000000000000000000000000000000000000000000168352845163ffffffff1660048401526020850151602484015293015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff9091166064820152608481019190915260a401600060405180830381600087803b158015610a0a57600080fd5b505af1158015610a1e573d6000803e3d6000fd5b50505050505050565b610a2f61108b565b600391909155600255565b60408051808201909152600080825260208201526060807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163314610ac0576040517f7eb966c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad1610acc87611c1e565b61110c565b91508451600014610ae25784610b6e565b60048054610aef90611cbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b90611cbc565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b50505050505b90506040518060400160405280600354815260200185610b8f576000610b93565b6002545b9052969195509350915050565b610ba861108b565b610bb26000611171565b565b60048054610bc190611cbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610bed90611cbc565b8015610c3a5780601f10610c0f57610100808354040283529160200191610c3a565b820191906000526020600020905b815481529060010190602001808311610c1d57829003601f168201915b505050505081565b610c4a61108b565b73ffffffffffffffffffffffffffffffffffffffff8216610c97576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d289190611d09565b905073ffffffffffffffffffffffffffffffffffffffff8116610d77576040517f54c1781b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d9873ffffffffffffffffffffffffffffffffffffffff821684846111e6565b505050565b610da561108b565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152600080825260208201526040518060400160405280600354815260200183610e1f576000610e23565b6002545b905290505b949350505050565b610e3861108b565b6004610e448282611d74565b5050565b610e5061108b565b73ffffffffffffffffffffffffffffffffffffffff8116610ef8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610f0181611171565b50565b610f0c61108b565b73ffffffffffffffffffffffffffffffffffffffff8216610f59576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e1758bd86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fea9190611d09565b9050610d98818484611273565b6000611007600d60098486611e8e565b61101091611eb8565b60e01c9392505050565b600061102a602d600d8486611e8e565b61103391611f00565b9392505050565b600061104a600960018486611e8e565b61105391611f3c565b60c01c9392505050565b600061103361106c84846112a3565b90565b36600061107f8360518187611e8e565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eef565b8051602080830151604080850151606080870151608088015160a089015160c08a01519551939861115b986001989197919673ffffffffffffffffffffffffffffffffffffffff169501611f82565b6040516020818303038152906040529050919050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d989084906112b3565b73ffffffffffffffffffffffffffffffffffffffff831661129857610d9882826113c2565b610d988383836114c8565b600061102a605160318486611e8e565b6000611315826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166115369092919063ffffffff16565b90508051600014806113365750808060200190518101906113369190612048565b610d98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610eef565b73ffffffffffffffffffffffffffffffffffffffff821661140f576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611469576040519150601f19603f3d011682016040523d82523d6000602084013e61146e565b606091505b5050905080610d98576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610eef565b73ffffffffffffffffffffffffffffffffffffffff8216611515576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d9873ffffffffffffffffffffffffffffffffffffffff841683836111e6565b6060610e288484600085856000808673ffffffffffffffffffffffffffffffffffffffff16858760405161156a9190612065565b60006040518083038185875af1925050503d80600081146115a7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ac565b606091505b50915091506115bd878383876115c8565b979650505050505050565b6060831561165e5782516000036116575773ffffffffffffffffffffffffffffffffffffffff85163b611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610eef565b5081610e28565b610e2883838151156116735781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef9190611a53565b6000602082840312156116b957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461103357600080fd5b60008083601f8401126116fb57600080fd5b50813567ffffffffffffffff81111561171357600080fd5b60208301915083602082850101111561108457600080fd5b6000806020838503121561173e57600080fd5b823567ffffffffffffffff81111561175557600080fd5b611761858286016116e9565b90969095509350505050565b60208101600383106117a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600080604083850312156117c157600080fd5b50508035926020909101359150565b600060e082840312156117e257600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561183a5761183a6117e8565b60405290565b600082601f83011261185157600080fd5b813567ffffffffffffffff8082111561186c5761186c6117e8565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156118b2576118b26117e8565b816040528381528660208588010111156118cb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b8015158114610f0157600080fd5b60008060006060848603121561190e57600080fd5b833567ffffffffffffffff8082111561192657600080fd5b611932878388016117d0565b9450602086013591508082111561194857600080fd5b5061195586828701611840565b9250506040840135611966816118eb565b809150509250925092565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8351815260208085015190820152608060408201526000611a036080830185611995565b8281036060840152611a158185611995565b9695505050505050565b803563ffffffff81168114611a3357600080fd5b919050565b600060208284031215611a4a57600080fd5b61103382611a1f565b6020815260006110336020830184611995565b74ffffffffffffffffffffffffffffffffffffffffff81168114610f0157600080fd5b60008135611a9681611a66565b73ffffffffffffffffffffffffffffffffffffffff1692915050565b60008060408385031215611ac557600080fd5b8235611ad081611a66565b73ffffffffffffffffffffffffffffffffffffffff16946020939093013593505050565b600060208284031215611b0657600080fd5b8135611b1181611a66565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b60008060008060608587031215611b4457600080fd5b843567ffffffffffffffff80821115611b5c57600080fd5b611b68888389016117d0565b95506020870135915080821115611b7e57600080fd5b50611b8b878288016116e9565b9094509250506040850135611b9f816118eb565b939692955090935050565b815181526020808301519082015260408101610848565b600060208284031215611bd357600080fd5b813567ffffffffffffffff811115611bea57600080fd5b610e2884828501611840565b8183823760009101908152919050565b803567ffffffffffffffff81168114611a3357600080fd5b600060e08236031215611c3057600080fd5b611c38611817565b611c4183611c06565b8152611c4f60208401611a1f565b6020820152611c6060408401611a89565b6040820152611c7160608401611a1f565b60608201526080830135608082015260a083013560a082015260c083013567ffffffffffffffff811115611ca457600080fd5b611cb036828601611840565b60c08301525092915050565b600181811c90821680611cd057607f821691505b6020821081036117e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060208284031215611d1b57600080fd5b8151611b1181611a66565b601f821115610d9857600081815260208120601f850160051c81016020861015611d4d5750805b601f850160051c820191505b81811015611d6c57828155600101611d59565b505050505050565b815167ffffffffffffffff811115611d8e57611d8e6117e8565b611da281611d9c8454611cbc565b84611d26565b602080601f831160018114611df55760008415611dbf5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611d6c565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611e4257888601518255948401946001909101908401611e23565b5085821015611e7e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008085851115611e9e57600080fd5b83861115611eab57600080fd5b5050820193919092039150565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015611ef85780818660040360031b1b83161692505b505092915050565b80356020831015610848577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b1692915050565b7fffffffffffffffff0000000000000000000000000000000000000000000000008135818116916008851015611ef85760089490940360031b84901b1690921692915050565b7fff000000000000000000000000000000000000000000000000000000000000008960f81b1681527fffffffffffffffff0000000000000000000000000000000000000000000000008860c01b16600182015260007fffffffff00000000000000000000000000000000000000000000000000000000808960e01b16600984015287600d840152808760e01b16602d840152508460318301528360518301528251612034816071850160208701611971565b919091016071019998505050505050505050565b60006020828403121561205a57600080fd5b8151611033816118eb565b60008251612077818460208701611971565b919091019291505056fea26474726f6e582212202b7d954bcb155dbc8408431549b1ffef91d843371808ad7a151a4c6f09bfc28464736f6c63430008140033",
623
+ "deployedBytecode": "0x6080604052600436106101845760003560e01c8063715018a6116100d6578063996f79c01161007f578063dabca06311610059578063dabca06314610707578063f2fde38b14610741578063fd9be5221461077b5761018b565b8063996f79c014610656578063aec336e614610686578063d80e9bd9146106c05761018b565b80638da5cb5b116100b05780638da5cb5b146105995780638f58aa7a146105de57806390953238146106185761018b565b8063715018a6146104cb57806372607537146104fa57806372d713221461055d5761018b565b80634389e58f1161013857806361d027b31161011257806361d027b3146104015780636251b6371461044f5780636750cd4c146104905761018b565b80634389e58f1461032457806354fd4d501461036d5780635e280f11146103b35761018b565b80631881d94d116101695780631881d94d146102485780631c7c294e1461027e578063334993ff146102ea5761018b565b806301ffc9a7146101bd57806312cc947f1461020c5761018b565b3661018b57005b6040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156101c957600080fd5b50d380156101d657600080fd5b50d280156101e357600080fd5b506101f76101f23660046116a7565b6107b5565b60405190151581526020015b60405180910390f35b34801561021857600080fd5b50d3801561022557600080fd5b50d2801561023257600080fd5b5061024661024136600461172b565b61084e565b005b34801561025457600080fd5b50d3801561026157600080fd5b50d2801561026e57600080fd5b506002604051610203919061176d565b34801561028a57600080fd5b50d3801561029757600080fd5b50d280156102a457600080fd5b506001546102c59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610203565b3480156102f657600080fd5b50d3801561030357600080fd5b50d2801561031057600080fd5b5061024661031f3660046117ae565b610a27565b34801561033057600080fd5b50d3801561033d57600080fd5b50d2801561034a57600080fd5b5061035e6103593660046118f9565b610a3a565b604051610203939291906119df565b34801561037957600080fd5b50d3801561038657600080fd5b50d2801561039357600080fd5b506040805160008082526020820152600291810191909152606001610203565b3480156103bf57600080fd5b50d380156103cc57600080fd5b50d280156103d957600080fd5b506102c57f000000000000000000000000000000000000000000000000000000000000000081565b34801561040d57600080fd5b50d3801561041a57600080fd5b50d2801561042757600080fd5b506102c57f000000000000000000000000000000000000000000000000000000000000000081565b34801561045b57600080fd5b50d3801561046857600080fd5b50d2801561047557600080fd5b5061047e600181565b60405160ff9091168152602001610203565b34801561049c57600080fd5b50d380156104a957600080fd5b50d280156104b657600080fd5b506101f76104c5366004611a38565b50600190565b3480156104d757600080fd5b50d380156104e457600080fd5b50d280156104f157600080fd5b50610246610ba0565b34801561050657600080fd5b50d3801561051357600080fd5b50d2801561052057600080fd5b506105487f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610203565b34801561056957600080fd5b50d3801561057657600080fd5b50d2801561058357600080fd5b5061058c610bb4565b6040516102039190611a53565b3480156105a557600080fd5b50d380156105b257600080fd5b50d280156105bf57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166102c5565b3480156105ea57600080fd5b50d380156105f757600080fd5b50d2801561060457600080fd5b50610246610613366004611ab2565b610c42565b34801561062457600080fd5b50d3801561063157600080fd5b50d2801561063e57600080fd5b5061064860025481565b604051908152602001610203565b34801561066257600080fd5b50d3801561066f57600080fd5b50d2801561067c57600080fd5b5061064860035481565b34801561069257600080fd5b50d3801561069f57600080fd5b50d280156106ac57600080fd5b506102466106bb366004611af4565b610d9d565b3480156106cc57600080fd5b50d380156106d957600080fd5b50d280156106e657600080fd5b506106fa6106f5366004611b2e565b610dec565b6040516102039190611baa565b34801561071357600080fd5b50d3801561072057600080fd5b50d2801561072d57600080fd5b5061024661073c366004611bc1565b610e30565b34801561074d57600080fd5b50d3801561075a57600080fd5b50d2801561076757600080fd5b50610246610776366004611af4565b610e48565b34801561078757600080fd5b50d3801561079457600080fd5b50d280156107a157600080fd5b506102466107b0366004611ab2565b610f04565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f0258400000000000000000000000000000000000000000000000000000000148061084857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff161580159061088d575060015473ffffffffffffffffffffffffffffffffffffffff163314155b156108c4576040517f70b216ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060405180606001604052806108db8585610ff7565b63ffffffff1681526020016108f0858561101a565b81526020016108ff858561103a565b67ffffffffffffffff169052905073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663a825d74782610954868661105d565b61095e878761106f565b60405161096c929190611bf6565b6040805191829003822060e086901b7fffffffff00000000000000000000000000000000000000000000000000000000168352845163ffffffff1660048401526020850151602484015293015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff9091166064820152608481019190915260a401600060405180830381600087803b158015610a0a57600080fd5b505af1158015610a1e573d6000803e3d6000fd5b50505050505050565b610a2f61108b565b600391909155600255565b60408051808201909152600080825260208201526060807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163314610ac0576040517f7eb966c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad1610acc87611c1e565b61110c565b91508451600014610ae25784610b6e565b60048054610aef90611cbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b90611cbc565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b50505050505b90506040518060400160405280600354815260200185610b8f576000610b93565b6002545b9052969195509350915050565b610ba861108b565b610bb26000611171565b565b60048054610bc190611cbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610bed90611cbc565b8015610c3a5780601f10610c0f57610100808354040283529160200191610c3a565b820191906000526020600020905b815481529060010190602001808311610c1d57829003601f168201915b505050505081565b610c4a61108b565b73ffffffffffffffffffffffffffffffffffffffff8216610c97576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d289190611d09565b905073ffffffffffffffffffffffffffffffffffffffff8116610d77576040517f54c1781b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d9873ffffffffffffffffffffffffffffffffffffffff821684846111e6565b505050565b610da561108b565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152600080825260208201526040518060400160405280600354815260200183610e1f576000610e23565b6002545b905290505b949350505050565b610e3861108b565b6004610e448282611d74565b5050565b610e5061108b565b73ffffffffffffffffffffffffffffffffffffffff8116610ef8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610f0181611171565b50565b610f0c61108b565b73ffffffffffffffffffffffffffffffffffffffff8216610f59576040517f3d3496e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e1758bd86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fea9190611d09565b9050610d98818484611273565b6000611007600d60098486611e8e565b61101091611eb8565b60e01c9392505050565b600061102a602d600d8486611e8e565b61103391611f00565b9392505050565b600061104a600960018486611e8e565b61105391611f3c565b60c01c9392505050565b600061103361106c84846112a3565b90565b36600061107f8360518187611e8e565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eef565b8051602080830151604080850151606080870151608088015160a089015160c08a01519551939861115b986001989197919673ffffffffffffffffffffffffffffffffffffffff169501611f82565b6040516020818303038152906040529050919050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d989084906112b3565b73ffffffffffffffffffffffffffffffffffffffff831661129857610d9882826113c2565b610d988383836114c8565b600061102a605160318486611e8e565b6000611315826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166115369092919063ffffffff16565b90508051600014806113365750808060200190518101906113369190612048565b610d98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610eef565b73ffffffffffffffffffffffffffffffffffffffff821661140f576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611469576040519150601f19603f3d011682016040523d82523d6000602084013e61146e565b606091505b5050905080610d98576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610eef565b73ffffffffffffffffffffffffffffffffffffffff8216611515576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d9873ffffffffffffffffffffffffffffffffffffffff841683836111e6565b6060610e288484600085856000808673ffffffffffffffffffffffffffffffffffffffff16858760405161156a9190612065565b60006040518083038185875af1925050503d80600081146115a7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ac565b606091505b50915091506115bd878383876115c8565b979650505050505050565b6060831561165e5782516000036116575773ffffffffffffffffffffffffffffffffffffffff85163b611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610eef565b5081610e28565b610e2883838151156116735781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef9190611a53565b6000602082840312156116b957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461103357600080fd5b60008083601f8401126116fb57600080fd5b50813567ffffffffffffffff81111561171357600080fd5b60208301915083602082850101111561108457600080fd5b6000806020838503121561173e57600080fd5b823567ffffffffffffffff81111561175557600080fd5b611761858286016116e9565b90969095509350505050565b60208101600383106117a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600080604083850312156117c157600080fd5b50508035926020909101359150565b600060e082840312156117e257600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561183a5761183a6117e8565b60405290565b600082601f83011261185157600080fd5b813567ffffffffffffffff8082111561186c5761186c6117e8565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156118b2576118b26117e8565b816040528381528660208588010111156118cb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b8015158114610f0157600080fd5b60008060006060848603121561190e57600080fd5b833567ffffffffffffffff8082111561192657600080fd5b611932878388016117d0565b9450602086013591508082111561194857600080fd5b5061195586828701611840565b9250506040840135611966816118eb565b809150509250925092565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8351815260208085015190820152608060408201526000611a036080830185611995565b8281036060840152611a158185611995565b9695505050505050565b803563ffffffff81168114611a3357600080fd5b919050565b600060208284031215611a4a57600080fd5b61103382611a1f565b6020815260006110336020830184611995565b74ffffffffffffffffffffffffffffffffffffffffff81168114610f0157600080fd5b60008135611a9681611a66565b73ffffffffffffffffffffffffffffffffffffffff1692915050565b60008060408385031215611ac557600080fd5b8235611ad081611a66565b73ffffffffffffffffffffffffffffffffffffffff16946020939093013593505050565b600060208284031215611b0657600080fd5b8135611b1181611a66565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b60008060008060608587031215611b4457600080fd5b843567ffffffffffffffff80821115611b5c57600080fd5b611b68888389016117d0565b95506020870135915080821115611b7e57600080fd5b50611b8b878288016116e9565b9094509250506040850135611b9f816118eb565b939692955090935050565b815181526020808301519082015260408101610848565b600060208284031215611bd357600080fd5b813567ffffffffffffffff811115611bea57600080fd5b610e2884828501611840565b8183823760009101908152919050565b803567ffffffffffffffff81168114611a3357600080fd5b600060e08236031215611c3057600080fd5b611c38611817565b611c4183611c06565b8152611c4f60208401611a1f565b6020820152611c6060408401611a89565b6040820152611c7160608401611a1f565b60608201526080830135608082015260a083013560a082015260c083013567ffffffffffffffff811115611ca457600080fd5b611cb036828601611840565b60c08301525092915050565b600181811c90821680611cd057607f821691505b6020821081036117e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060208284031215611d1b57600080fd5b8151611b1181611a66565b601f821115610d9857600081815260208120601f850160051c81016020861015611d4d5750805b601f850160051c820191505b81811015611d6c57828155600101611d59565b505050505050565b815167ffffffffffffffff811115611d8e57611d8e6117e8565b611da281611d9c8454611cbc565b84611d26565b602080601f831160018114611df55760008415611dbf5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611d6c565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611e4257888601518255948401946001909101908401611e23565b5085821015611e7e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008085851115611e9e57600080fd5b83861115611eab57600080fd5b5050820193919092039150565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015611ef85780818660040360031b1b83161692505b505092915050565b80356020831015610848577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b1692915050565b7fffffffffffffffff0000000000000000000000000000000000000000000000008135818116916008851015611ef85760089490940360031b84901b1690921692915050565b7fff000000000000000000000000000000000000000000000000000000000000008960f81b1681527fffffffffffffffff0000000000000000000000000000000000000000000000008860c01b16600182015260007fffffffff00000000000000000000000000000000000000000000000000000000808960e01b16600984015287600d840152808760e01b16602d840152508460318301528360518301528251612034816071850160208701611971565b919091016071019998505050505050505050565b60006020828403121561205a57600080fd5b8151611033816118eb565b60008251612077818460208701611971565b919091019291505056fea26474726f6e582212202b7d954bcb155dbc8408431549b1ffef91d843371808ad7a151a4c6f09bfc28464736f6c63430008140033",
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": 7,
651
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
652
+ "label": "_owner",
653
+ "offset": 0,
654
+ "slot": "0",
655
+ "type": "t_address"
656
+ },
657
+ {
658
+ "astId": 5535,
659
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
660
+ "label": "whitelistCaller",
661
+ "offset": 0,
662
+ "slot": "1",
663
+ "type": "t_address"
664
+ },
665
+ {
666
+ "astId": 5537,
667
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
668
+ "label": "lzTokenFee",
669
+ "offset": 0,
670
+ "slot": "2",
671
+ "type": "t_uint256"
672
+ },
673
+ {
674
+ "astId": 5539,
675
+ "contract": "contracts/messagelib/SimpleMessageLib.sol:SimpleMessageLib",
676
+ "label": "nativeFee",
677
+ "offset": 0,
678
+ "slot": "3",
679
+ "type": "t_uint256"
680
+ },
681
+ {
682
+ "astId": 5541,
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
+ }