@layerzerolabs/lz-evm-sdk-v2 2.1.21 → 2.1.22

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 (88) hide show
  1. package/artifacts/contracts/EndpointV2.sol/EndpointV2.json +2 -2
  2. package/artifacts/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2 -2
  3. package/artifacts/contracts/EndpointV2View.sol/EndpointV2View.json +2 -2
  4. package/artifacts/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +2 -2
  5. package/artifacts/contracts/libs/AddressCast.sol/AddressCast.json +2 -2
  6. package/artifacts/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +2 -2
  7. package/artifacts/contracts/libs/Errors.sol/Errors.json +2 -2
  8. package/artifacts/contracts/libs/GUID.sol/GUID.json +2 -2
  9. package/artifacts/contracts/libs/Transfer.sol/Transfer.json +2 -2
  10. package/artifacts/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +2 -2
  11. package/artifacts/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +2 -2
  12. package/artifacts/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +2 -2
  13. package/artifacts/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +2 -2
  14. package/artifacts/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +2 -2
  15. package/artifacts/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +2 -2
  16. package/deployments/hedera-testnet/DVN.json +1929 -0
  17. package/deployments/hedera-testnet/DVNFeeLib.json +398 -0
  18. package/deployments/hedera-testnet/DefaultProxyAdmin.json +258 -0
  19. package/deployments/hedera-testnet/EndpointV2.json +2946 -0
  20. package/deployments/hedera-testnet/EndpointV2View.json +429 -0
  21. package/deployments/hedera-testnet/EndpointV2View_Implementation.json +313 -0
  22. package/deployments/hedera-testnet/EndpointV2View_Proxy.json +230 -0
  23. package/deployments/hedera-testnet/Executor.json +1532 -0
  24. package/deployments/hedera-testnet/ExecutorFeeLib.json +423 -0
  25. package/deployments/hedera-testnet/ExecutorProxyAdmin.json +283 -0
  26. package/deployments/hedera-testnet/Executor_Implementation.json +1591 -0
  27. package/deployments/hedera-testnet/Executor_Proxy.json +365 -0
  28. package/deployments/hedera-testnet/LzExecutor.json +757 -0
  29. package/deployments/hedera-testnet/LzExecutor_Implementation.json +703 -0
  30. package/deployments/hedera-testnet/LzExecutor_Proxy.json +244 -0
  31. package/deployments/hedera-testnet/ReceiveUln301.json +1292 -0
  32. package/deployments/hedera-testnet/ReceiveUln301View.json +354 -0
  33. package/deployments/hedera-testnet/ReceiveUln301View_Implementation.json +231 -0
  34. package/deployments/hedera-testnet/ReceiveUln301View_Proxy.json +230 -0
  35. package/deployments/hedera-testnet/ReceiveUln302.json +1006 -0
  36. package/deployments/hedera-testnet/ReceiveUln302View.json +478 -0
  37. package/deployments/hedera-testnet/ReceiveUln302View_Implementation.json +384 -0
  38. package/deployments/hedera-testnet/ReceiveUln302View_Proxy.json +230 -0
  39. package/deployments/hedera-testnet/SendUln301.json +1569 -0
  40. package/deployments/hedera-testnet/SendUln302.json +1527 -0
  41. package/deployments/hedera-testnet/Treasury.json +412 -0
  42. package/deployments/hedera-testnet/TreasuryFeeHandler.json +125 -0
  43. package/deployments/merlin-testnet/DVN.json +1929 -0
  44. package/deployments/merlin-testnet/DVNFeeLib.json +398 -0
  45. package/deployments/merlin-testnet/DefaultProxyAdmin.json +258 -0
  46. package/deployments/merlin-testnet/EndpointV2.json +3001 -0
  47. package/deployments/merlin-testnet/EndpointV2View.json +435 -0
  48. package/deployments/merlin-testnet/EndpointV2View_Implementation.json +313 -0
  49. package/deployments/merlin-testnet/EndpointV2View_Proxy.json +230 -0
  50. package/deployments/merlin-testnet/Executor.json +1532 -0
  51. package/deployments/merlin-testnet/ExecutorFeeLib.json +423 -0
  52. package/deployments/merlin-testnet/ExecutorProxyAdmin.json +283 -0
  53. package/deployments/merlin-testnet/Executor_Implementation.json +1591 -0
  54. package/deployments/merlin-testnet/Executor_Proxy.json +365 -0
  55. package/deployments/merlin-testnet/LzExecutor.json +757 -0
  56. package/deployments/merlin-testnet/LzExecutor_Implementation.json +703 -0
  57. package/deployments/merlin-testnet/LzExecutor_Proxy.json +244 -0
  58. package/deployments/merlin-testnet/PriceFeed.json +934 -0
  59. package/deployments/merlin-testnet/PriceFeedProxyAdmin.json +283 -0
  60. package/deployments/merlin-testnet/PriceFeed_Implementation.json +976 -0
  61. package/deployments/merlin-testnet/PriceFeed_Proxy.json +244 -0
  62. package/deployments/merlin-testnet/ReceiveUln301.json +1292 -0
  63. package/deployments/merlin-testnet/ReceiveUln301View.json +354 -0
  64. package/deployments/merlin-testnet/ReceiveUln301View_Implementation.json +231 -0
  65. package/deployments/merlin-testnet/ReceiveUln301View_Proxy.json +230 -0
  66. package/deployments/merlin-testnet/ReceiveUln302.json +1006 -0
  67. package/deployments/merlin-testnet/ReceiveUln302View.json +478 -0
  68. package/deployments/merlin-testnet/ReceiveUln302View_Implementation.json +384 -0
  69. package/deployments/merlin-testnet/ReceiveUln302View_Proxy.json +230 -0
  70. package/deployments/merlin-testnet/SendUln301.json +1569 -0
  71. package/deployments/merlin-testnet/SendUln302.json +1527 -0
  72. package/deployments/merlin-testnet/Treasury.json +412 -0
  73. package/deployments/merlin-testnet/TreasuryFeeHandler.json +125 -0
  74. package/dist/{index-VXKdRwxd.d.mts → index-QJVkaD-8.d.mts} +11 -11
  75. package/dist/{index-VXKdRwxd.d.ts → index-QJVkaD-8.d.ts} +11 -11
  76. package/dist/index.browser.cjs +11 -11
  77. package/dist/index.browser.cjs.map +1 -1
  78. package/dist/index.browser.d.mts +1 -1
  79. package/dist/index.browser.d.ts +1 -1
  80. package/dist/index.browser.mjs +11 -11
  81. package/dist/index.browser.mjs.map +1 -1
  82. package/dist/index.cjs +11 -11
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.d.mts +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.mjs +11 -11
  87. package/dist/index.mjs.map +1 -1
  88. package/package.json +9 -9
@@ -0,0 +1,976 @@
1
+ {
2
+ "address": "0x6aB5Ae6822647046626e83ee6dB8187151E1d5ab",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "uint256",
8
+ "name": "provided",
9
+ "type": "uint256"
10
+ },
11
+ {
12
+ "internalType": "uint256",
13
+ "name": "required",
14
+ "type": "uint256"
15
+ }
16
+ ],
17
+ "name": "LZ_PriceFeed_InsufficientFee",
18
+ "type": "error"
19
+ },
20
+ {
21
+ "inputs": [
22
+ {
23
+ "internalType": "uint32",
24
+ "name": "l2Eid",
25
+ "type": "uint32"
26
+ }
27
+ ],
28
+ "name": "LZ_PriceFeed_NotAnOPStack",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "LZ_PriceFeed_OnlyPriceUpdater",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [
38
+ {
39
+ "internalType": "address",
40
+ "name": "_to",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "internalType": "uint256",
45
+ "name": "_value",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "name": "Transfer_NativeFailed",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "Transfer_ToAddressIsZero",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint8",
63
+ "name": "version",
64
+ "type": "uint8"
65
+ }
66
+ ],
67
+ "name": "Initialized",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "previousOwner",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": true,
81
+ "internalType": "address",
82
+ "name": "newOwner",
83
+ "type": "address"
84
+ }
85
+ ],
86
+ "name": "OwnershipTransferred",
87
+ "type": "event"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "ARBITRUM_COMPRESSION_PERCENT",
92
+ "outputs": [
93
+ {
94
+ "internalType": "uint128",
95
+ "name": "",
96
+ "type": "uint128"
97
+ }
98
+ ],
99
+ "stateMutability": "view",
100
+ "type": "function"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "arbitrumPriceExt",
105
+ "outputs": [
106
+ {
107
+ "components": [
108
+ {
109
+ "internalType": "uint64",
110
+ "name": "gasPerL2Tx",
111
+ "type": "uint64"
112
+ },
113
+ {
114
+ "internalType": "uint32",
115
+ "name": "gasPerL1CallDataByte",
116
+ "type": "uint32"
117
+ }
118
+ ],
119
+ "internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
120
+ "name": "",
121
+ "type": "tuple"
122
+ }
123
+ ],
124
+ "stateMutability": "view",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "uint32",
131
+ "name": "",
132
+ "type": "uint32"
133
+ }
134
+ ],
135
+ "name": "eidToModelType",
136
+ "outputs": [
137
+ {
138
+ "internalType": "enum ModelType",
139
+ "name": "",
140
+ "type": "uint8"
141
+ }
142
+ ],
143
+ "stateMutability": "view",
144
+ "type": "function"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "endpoint",
149
+ "outputs": [
150
+ {
151
+ "internalType": "contract ILayerZeroEndpointV2",
152
+ "name": "",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "uint16",
163
+ "name": "_dstEid",
164
+ "type": "uint16"
165
+ },
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "_callDataSize",
169
+ "type": "uint256"
170
+ },
171
+ {
172
+ "internalType": "uint256",
173
+ "name": "_gas",
174
+ "type": "uint256"
175
+ }
176
+ ],
177
+ "name": "estimateFeeByChain",
178
+ "outputs": [
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "fee",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint128",
186
+ "name": "priceRatio",
187
+ "type": "uint128"
188
+ }
189
+ ],
190
+ "stateMutability": "view",
191
+ "type": "function"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "uint32",
197
+ "name": "_dstEid",
198
+ "type": "uint32"
199
+ },
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "_callDataSize",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "internalType": "uint256",
207
+ "name": "_gas",
208
+ "type": "uint256"
209
+ }
210
+ ],
211
+ "name": "estimateFeeByEid",
212
+ "outputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "uint128",
220
+ "name": "",
221
+ "type": "uint128"
222
+ },
223
+ {
224
+ "internalType": "uint128",
225
+ "name": "",
226
+ "type": "uint128"
227
+ },
228
+ {
229
+ "internalType": "uint128",
230
+ "name": "",
231
+ "type": "uint128"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "uint32",
241
+ "name": "_dstEid",
242
+ "type": "uint32"
243
+ },
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "_callDataSize",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "_gas",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "estimateFeeOnSend",
256
+ "outputs": [
257
+ {
258
+ "internalType": "uint256",
259
+ "name": "",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "internalType": "uint128",
264
+ "name": "",
265
+ "type": "uint128"
266
+ },
267
+ {
268
+ "internalType": "uint128",
269
+ "name": "",
270
+ "type": "uint128"
271
+ },
272
+ {
273
+ "internalType": "uint128",
274
+ "name": "",
275
+ "type": "uint128"
276
+ }
277
+ ],
278
+ "stateMutability": "payable",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "uint32",
285
+ "name": "",
286
+ "type": "uint32"
287
+ },
288
+ {
289
+ "internalType": "uint256",
290
+ "name": "",
291
+ "type": "uint256"
292
+ },
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "name": "getFee",
300
+ "outputs": [
301
+ {
302
+ "internalType": "uint256",
303
+ "name": "",
304
+ "type": "uint256"
305
+ }
306
+ ],
307
+ "stateMutability": "pure",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [
312
+ {
313
+ "internalType": "uint32",
314
+ "name": "_dstEid",
315
+ "type": "uint32"
316
+ }
317
+ ],
318
+ "name": "getPrice",
319
+ "outputs": [
320
+ {
321
+ "components": [
322
+ {
323
+ "internalType": "uint128",
324
+ "name": "priceRatio",
325
+ "type": "uint128"
326
+ },
327
+ {
328
+ "internalType": "uint64",
329
+ "name": "gasPriceInUnit",
330
+ "type": "uint64"
331
+ },
332
+ {
333
+ "internalType": "uint32",
334
+ "name": "gasPerByte",
335
+ "type": "uint32"
336
+ }
337
+ ],
338
+ "internalType": "struct ILayerZeroPriceFeed.Price",
339
+ "name": "price",
340
+ "type": "tuple"
341
+ }
342
+ ],
343
+ "stateMutability": "view",
344
+ "type": "function"
345
+ },
346
+ {
347
+ "inputs": [
348
+ {
349
+ "internalType": "uint16",
350
+ "name": "_dstEid",
351
+ "type": "uint16"
352
+ }
353
+ ],
354
+ "name": "getPrice",
355
+ "outputs": [
356
+ {
357
+ "components": [
358
+ {
359
+ "internalType": "uint128",
360
+ "name": "priceRatio",
361
+ "type": "uint128"
362
+ },
363
+ {
364
+ "internalType": "uint64",
365
+ "name": "gasPriceInUnit",
366
+ "type": "uint64"
367
+ },
368
+ {
369
+ "internalType": "uint32",
370
+ "name": "gasPerByte",
371
+ "type": "uint32"
372
+ }
373
+ ],
374
+ "internalType": "struct ILayerZeroPriceFeed.Price",
375
+ "name": "price",
376
+ "type": "tuple"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "getPriceRatioDenominator",
385
+ "outputs": [
386
+ {
387
+ "internalType": "uint128",
388
+ "name": "",
389
+ "type": "uint128"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "_priceUpdater",
400
+ "type": "address"
401
+ }
402
+ ],
403
+ "name": "initialize",
404
+ "outputs": [],
405
+ "stateMutability": "nonpayable",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "nativeTokenPriceUSD",
411
+ "outputs": [
412
+ {
413
+ "internalType": "uint128",
414
+ "name": "",
415
+ "type": "uint128"
416
+ }
417
+ ],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [],
423
+ "name": "owner",
424
+ "outputs": [
425
+ {
426
+ "internalType": "address",
427
+ "name": "",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "address",
438
+ "name": "updater",
439
+ "type": "address"
440
+ }
441
+ ],
442
+ "name": "priceUpdater",
443
+ "outputs": [
444
+ {
445
+ "internalType": "bool",
446
+ "name": "active",
447
+ "type": "bool"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "renounceOwnership",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "uint128",
464
+ "name": "_compressionPercent",
465
+ "type": "uint128"
466
+ }
467
+ ],
468
+ "name": "setArbitrumCompressionPercent",
469
+ "outputs": [],
470
+ "stateMutability": "nonpayable",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [
475
+ {
476
+ "components": [
477
+ {
478
+ "internalType": "uint32",
479
+ "name": "dstEid",
480
+ "type": "uint32"
481
+ },
482
+ {
483
+ "internalType": "enum ModelType",
484
+ "name": "modelType",
485
+ "type": "uint8"
486
+ }
487
+ ],
488
+ "internalType": "struct SetEidToModelTypeParam[]",
489
+ "name": "_params",
490
+ "type": "tuple[]"
491
+ }
492
+ ],
493
+ "name": "setEidToModelType",
494
+ "outputs": [],
495
+ "stateMutability": "nonpayable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "_endpoint",
503
+ "type": "address"
504
+ }
505
+ ],
506
+ "name": "setEndpoint",
507
+ "outputs": [],
508
+ "stateMutability": "nonpayable",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "uint128",
515
+ "name": "_nativeTokenPriceUSD",
516
+ "type": "uint128"
517
+ }
518
+ ],
519
+ "name": "setNativeTokenPriceUSD",
520
+ "outputs": [],
521
+ "stateMutability": "nonpayable",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "components": [
528
+ {
529
+ "internalType": "uint32",
530
+ "name": "eid",
531
+ "type": "uint32"
532
+ },
533
+ {
534
+ "components": [
535
+ {
536
+ "internalType": "uint128",
537
+ "name": "priceRatio",
538
+ "type": "uint128"
539
+ },
540
+ {
541
+ "internalType": "uint64",
542
+ "name": "gasPriceInUnit",
543
+ "type": "uint64"
544
+ },
545
+ {
546
+ "internalType": "uint32",
547
+ "name": "gasPerByte",
548
+ "type": "uint32"
549
+ }
550
+ ],
551
+ "internalType": "struct ILayerZeroPriceFeed.Price",
552
+ "name": "price",
553
+ "type": "tuple"
554
+ }
555
+ ],
556
+ "internalType": "struct ILayerZeroPriceFeed.UpdatePrice[]",
557
+ "name": "_price",
558
+ "type": "tuple[]"
559
+ }
560
+ ],
561
+ "name": "setPrice",
562
+ "outputs": [],
563
+ "stateMutability": "nonpayable",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [
568
+ {
569
+ "components": [
570
+ {
571
+ "internalType": "uint32",
572
+ "name": "eid",
573
+ "type": "uint32"
574
+ },
575
+ {
576
+ "components": [
577
+ {
578
+ "internalType": "uint128",
579
+ "name": "priceRatio",
580
+ "type": "uint128"
581
+ },
582
+ {
583
+ "internalType": "uint64",
584
+ "name": "gasPriceInUnit",
585
+ "type": "uint64"
586
+ },
587
+ {
588
+ "internalType": "uint32",
589
+ "name": "gasPerByte",
590
+ "type": "uint32"
591
+ }
592
+ ],
593
+ "internalType": "struct ILayerZeroPriceFeed.Price",
594
+ "name": "price",
595
+ "type": "tuple"
596
+ },
597
+ {
598
+ "components": [
599
+ {
600
+ "internalType": "uint64",
601
+ "name": "gasPerL2Tx",
602
+ "type": "uint64"
603
+ },
604
+ {
605
+ "internalType": "uint32",
606
+ "name": "gasPerL1CallDataByte",
607
+ "type": "uint32"
608
+ }
609
+ ],
610
+ "internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
611
+ "name": "extend",
612
+ "type": "tuple"
613
+ }
614
+ ],
615
+ "internalType": "struct ILayerZeroPriceFeed.UpdatePriceExt",
616
+ "name": "_update",
617
+ "type": "tuple"
618
+ }
619
+ ],
620
+ "name": "setPriceForArbitrum",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "uint128",
629
+ "name": "_denominator",
630
+ "type": "uint128"
631
+ }
632
+ ],
633
+ "name": "setPriceRatioDenominator",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "_addr",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "bool",
647
+ "name": "_active",
648
+ "type": "bool"
649
+ }
650
+ ],
651
+ "name": "setPriceUpdater",
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "address",
660
+ "name": "newOwner",
661
+ "type": "address"
662
+ }
663
+ ],
664
+ "name": "transferOwnership",
665
+ "outputs": [],
666
+ "stateMutability": "nonpayable",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "address",
673
+ "name": "_to",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "_amount",
679
+ "type": "uint256"
680
+ }
681
+ ],
682
+ "name": "withdrawFee",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ }
687
+ ],
688
+ "transactionHash": "0x1d0ebe278771576bcee85513b63abe8370a55eb472850699ccdb91ee1a39fa84",
689
+ "receipt": {
690
+ "to": null,
691
+ "from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
692
+ "contractAddress": "0x6aB5Ae6822647046626e83ee6dB8187151E1d5ab",
693
+ "transactionIndex": 0,
694
+ "gasUsed": "1861163",
695
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
696
+ "blockHash": "0xc453247b4862e517c2395980dcbe879d2ee9b00649d3ef1faab22b59beb96207",
697
+ "transactionHash": "0x1d0ebe278771576bcee85513b63abe8370a55eb472850699ccdb91ee1a39fa84",
698
+ "logs": [],
699
+ "blockNumber": 3600650,
700
+ "cumulativeGasUsed": "1861163",
701
+ "status": 1,
702
+ "byzantium": true
703
+ },
704
+ "args": [],
705
+ "numDeployments": 1,
706
+ "solcInputHash": "e99abdea457424a4de696bf7316bac06",
707
+ "bytecode": "0x608060405234801561001057600080fd5b506120ed806100206000396000f3fe6080604052600436106101a15760003560e01c80638ca2fb08116100e1578063cd68b79b1161008a578063dbbb415511610064578063dbbb4155146106a6578063e0ad121a146106c6578063f2fde38b1461077b578063fd9be5221461079b57600080fd5b8063cd68b79b14610552578063d350ad251461058f578063da26663a146105af57600080fd5b8063c1723a1d116100bb578063c1723a1d146104f8578063c18403271461050b578063c4d66de81461053257600080fd5b80638ca2fb08146104495780638da5cb5b1461048957806392807f58146104b457600080fd5b80635d6d7ccb1161014e5780637760e22d116101285780637760e22d1461036b5780637bc3c9ab1461038b5780637dc438a4146103d157806388a4124c146103f157600080fd5b80635d6d7ccb146102e45780635e280f1114610304578063715018a61461035657600080fd5b80633161b7f61161017f5780633161b7f61461023c57806336a5beba1461025c57806352a72510146102c457600080fd5b806311f2c343146101a6578063223cf5b2146101dd5780632f7cb0b41461021a575b600080fd5b3480156101b257600080fd5b506101ca6101c1366004611bfc565b60009392505050565b6040519081526020015b60405180910390f35b3480156101e957600080fd5b5061020d6101f8366004611c2f565b606b6020526000908152604090205460ff1681565b6040516101d49190611c80565b34801561022657600080fd5b5061023a610235366004611ce1565b6107bb565b005b34801561024857600080fd5b5061023a610257366004611cfc565b6107f8565b34801561026857600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101d4565b3480156102d057600080fd5b5061023a6102df366004611d95565b6109c8565b3480156102f057600080fd5b5061023a6102ff366004611ce1565b610a26565b34801561031057600080fd5b50606a546103319073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d4565b34801561036257600080fd5b5061023a610aed565b34801561037757600080fd5b5061023a610386366004611dd1565b610b01565b34801561039757600080fd5b506103ab6103a6366004611e46565b610bbd565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101d4565b3480156103dd57600080fd5b5061023a6103ec366004611e64565b610cc9565b3480156103fd57600080fd5b5061041161040c366004611bfc565b610dd6565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101d4565b34801561045557600080fd5b50610479610464366004611e7c565b60666020526000908152604090205460ff1681565b60405190151581526020016101d4565b34801561049557600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610331565b3480156104c057600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101d4565b610411610506366004611bfc565b610df8565b34801561051757600080fd5b506065546fffffffffffffffffffffffffffffffff166104d7565b34801561053e57600080fd5b5061023a61054d366004611e7c565b610e29565b34801561055e57600080fd5b506069546104d79070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b34801561059b57600080fd5b5061023a6105aa366004611ce1565b611110565b3480156105bb57600080fd5b506106626105ca366004611c2f565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101d4565b3480156106b257600080fd5b5061023a6106c1366004611e7c565b61115b565b3480156106d257600080fd5b506106626106e1366004611e97565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561078757600080fd5b5061023a610796366004611e7c565b6111aa565b3480156107a757600080fd5b5061023a6107b6366004611eb2565b611261565b6107c3611277565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b3361081860335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461087c573360009081526066602052604090205460ff1661087c576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156109c3573683838381811061089a5761089a611edc565b6080029190910191506109ba90506108b56020830183611c2f565b6108c736849003840160208501611f23565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5060010161087f565b505050565b6109d0611277565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b33610a4660335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610aaa573360009081526066602052604090205460ff16610aaa576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610af5611277565b610aff60006112f8565b565b60005b818110156109c357828282818110610b1e57610b1e611edc565b9050604002016020016020810190610b369190611fb6565b606b6000858585818110610b4c57610b4c611edc565b610b629260206040909202019081019150611c2f565b63ffffffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610bb057610bb0611c51565b0217905550600101610b04565b6000808461ffff16606e1480610bd857508461ffff1661279f145b80610be857508461ffff16614eaf145b15610c0557610bfc8561ffff16858561136f565b91509150610cc1565b8461ffff16606f1480610c1d57508461ffff16612794145b80610c2d57508461ffff16614ea4145b15610c4157610bfc8561ffff1685856114cc565b61ffff85166000908152606b602052604090205460ff166002816002811115610c6c57610c6c611c51565b03610c8a57610c808661ffff1686866114cc565b9250925050610cc1565b6001816002811115610c9e57610c9e611c51565b03610cb257610c808661ffff16868661136f565b610c808661ffff16868661167d565b935093915050565b33610ce960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610d4d573360009081526066602052604090205460ff16610d4d576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d5d6108b56020830183611c2f565b6000610d6f60a0830160808401611fd7565b90506000610d8360c0840160a08501611c2f565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610de7878787611752565b935093509350935093509350935093565b600080808080610e0c565b60405180910390fd5b610e17888888611752565b94509450945094505093509350935093565b6000610e537fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610eac5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610ece565b3373ffffffffffffffffffffffffffffffffffffffff821614610ece57600080fd5b600054610100900460ff1615808015610eee5750600054600160ff909116105b80610f085750303b158015610f08575060005460ff166001145b610f94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610e03565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610ff257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610ffa61189c565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff9190911617905580156109c357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b611118611277565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b611163611277565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6111b2611277565b73ffffffffffffffffffffffffffffffffffffffff8116611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e03565b61125e816112f8565b50565b611269611277565b611273828261193b565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610aff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e03565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906113d49070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689612021565b6113de919061206d565b6113e89190612021565b825490915060009061141c907801000000000000000000000000000000000000000000000000900463ffffffff1688612021565b835460685491925060009167ffffffffffffffff7001000000000000000000000000000000009092048216918491869161145791168b612081565b6114619190612081565b61146b9190612081565b6114759190612021565b60655485549192506fffffffffffffffffffffffffffffffff9081169161149d911683612021565b6114a7919061206d565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b60008060006114da86611a41565b63ffffffff8082166000908152606760205260408120805493945092909161151f91780100000000000000000000000000000000000000000000000090041688612021565b61152b90610c74612081565b825490915060009061155b90700100000000000000000000000000000000900467ffffffffffffffff1683612021565b63ffffffff808b16600090815260676020526040812080549394509290916115a09178010000000000000000000000000000000000000000000000009004168b612021565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166115d08b84612081565b6115da9190612021565b60655487549192506000916fffffffffffffffffffffffffffffffff91821691611605911687612021565b61160f919061206d565b60655485549192506000916fffffffffffffffffffffffffffffffff9182169161163a911685612021565b611644919061206d565b905060006116528284612081565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff808416600090815260676020526040812080549192839283916116c291780100000000000000000000000000000000000000000000000090041687612021565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166116f28784612081565b6116fc9190612021565b60655484549192506fffffffffffffffffffffffffffffffff90811691611724911683612021565b61172e919061206d565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b60008080808061176461753089612094565b90508063ffffffff16606e148061178257508063ffffffff1661279f145b8061179457508063ffffffff16614eaf145b156117ae576117a481888861136f565b90955093506117f2565b8063ffffffff16606f14806117ca57508063ffffffff16612794145b806117dc57508063ffffffff16614ea4145b156117f2576117ec8188886114cc565b90955093505b63ffffffff81166000908152606b602052604090205460ff16600281600281111561181f5761181f611c51565b036118395761182f8289896114cc565b909650945061186e565b600181600281111561184d5761184d611c51565b0361185d5761182f82898961136f565b61186882898961167d565b90965094505b505060655460695494989397506fffffffffffffffffffffffffffffffff9081169650909316935090915050565b600054610100900460ff16611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610e03565b610aff611b43565b73ffffffffffffffffffffffffffffffffffffffff8216611988576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146119e2576040519150601f19603f3d011682016040523d82523d6000602084013e6119e7565b606091505b50509050806109c3576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610e03565b600080611a5061753084612094565b90508063ffffffff16606f03611a695750606592915050565b8063ffffffff1661279403611a82575061278992915050565b8063ffffffff16614ea403611a9b5750614e9992915050565b600263ffffffff82166000908152606b602052604090205460ff166002811115611ac757611ac7611c51565b14611b06576040517ff42c33dc00000000000000000000000000000000000000000000000000000000815263ffffffff84166004820152602401610e03565b6127108163ffffffff161015611b1f5750606592915050565b614e208163ffffffff161015611b3957506127b192915050565b50614e9992915050565b600054610100900460ff16611bda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610e03565b610aff336112f8565b803563ffffffff81168114611bf757600080fd5b919050565b600080600060608486031215611c1157600080fd5b611c1a84611be3565b95602085013595506040909401359392505050565b600060208284031215611c4157600080fd5b611c4a82611be3565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310611cbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b80356fffffffffffffffffffffffffffffffff81168114611bf757600080fd5b600060208284031215611cf357600080fd5b611c4a82611cc1565b60008060208385031215611d0f57600080fd5b823567ffffffffffffffff80821115611d2757600080fd5b818501915085601f830112611d3b57600080fd5b813581811115611d4a57600080fd5b8660208260071b8501011115611d5f57600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bf757600080fd5b60008060408385031215611da857600080fd5b611db183611d71565b915060208301358015158114611dc657600080fd5b809150509250929050565b60008060208385031215611de457600080fd5b823567ffffffffffffffff80821115611dfc57600080fd5b818501915085601f830112611e1057600080fd5b813581811115611e1f57600080fd5b8660208260061b8501011115611d5f57600080fd5b803561ffff81168114611bf757600080fd5b600080600060608486031215611e5b57600080fd5b611c1a84611e34565b600060c08284031215611e7657600080fd5b50919050565b600060208284031215611e8e57600080fd5b611c4a82611d71565b600060208284031215611ea957600080fd5b611c4a82611e34565b60008060408385031215611ec557600080fd5b611ece83611d71565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff81168114611bf757600080fd5b600060608284031215611f3557600080fd5b6040516060810181811067ffffffffffffffff82111715611f7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611f8b83611cc1565b8152611f9960208401611f0b565b6020820152611faa60408401611be3565b60408201529392505050565b600060208284031215611fc857600080fd5b813560038110611c4a57600080fd5b600060208284031215611fe957600080fd5b611c4a82611f0b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761203857612038611ff2565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261207c5761207c61203e565b500490565b8082018082111561203857612038611ff2565b600063ffffffff808416806120ab576120ab61203e565b9216919091069291505056fea264697066735822122039768bf311242b97f493f46bb58f60f10b9a0e6fee0938e1bc5bca2215f1864964736f6c63430008160033",
708
+ "deployedBytecode": "0x6080604052600436106101a15760003560e01c80638ca2fb08116100e1578063cd68b79b1161008a578063dbbb415511610064578063dbbb4155146106a6578063e0ad121a146106c6578063f2fde38b1461077b578063fd9be5221461079b57600080fd5b8063cd68b79b14610552578063d350ad251461058f578063da26663a146105af57600080fd5b8063c1723a1d116100bb578063c1723a1d146104f8578063c18403271461050b578063c4d66de81461053257600080fd5b80638ca2fb08146104495780638da5cb5b1461048957806392807f58146104b457600080fd5b80635d6d7ccb1161014e5780637760e22d116101285780637760e22d1461036b5780637bc3c9ab1461038b5780637dc438a4146103d157806388a4124c146103f157600080fd5b80635d6d7ccb146102e45780635e280f1114610304578063715018a61461035657600080fd5b80633161b7f61161017f5780633161b7f61461023c57806336a5beba1461025c57806352a72510146102c457600080fd5b806311f2c343146101a6578063223cf5b2146101dd5780632f7cb0b41461021a575b600080fd5b3480156101b257600080fd5b506101ca6101c1366004611bfc565b60009392505050565b6040519081526020015b60405180910390f35b3480156101e957600080fd5b5061020d6101f8366004611c2f565b606b6020526000908152604090205460ff1681565b6040516101d49190611c80565b34801561022657600080fd5b5061023a610235366004611ce1565b6107bb565b005b34801561024857600080fd5b5061023a610257366004611cfc565b6107f8565b34801561026857600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101d4565b3480156102d057600080fd5b5061023a6102df366004611d95565b6109c8565b3480156102f057600080fd5b5061023a6102ff366004611ce1565b610a26565b34801561031057600080fd5b50606a546103319073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d4565b34801561036257600080fd5b5061023a610aed565b34801561037757600080fd5b5061023a610386366004611dd1565b610b01565b34801561039757600080fd5b506103ab6103a6366004611e46565b610bbd565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101d4565b3480156103dd57600080fd5b5061023a6103ec366004611e64565b610cc9565b3480156103fd57600080fd5b5061041161040c366004611bfc565b610dd6565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101d4565b34801561045557600080fd5b50610479610464366004611e7c565b60666020526000908152604090205460ff1681565b60405190151581526020016101d4565b34801561049557600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610331565b3480156104c057600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101d4565b610411610506366004611bfc565b610df8565b34801561051757600080fd5b506065546fffffffffffffffffffffffffffffffff166104d7565b34801561053e57600080fd5b5061023a61054d366004611e7c565b610e29565b34801561055e57600080fd5b506069546104d79070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b34801561059b57600080fd5b5061023a6105aa366004611ce1565b611110565b3480156105bb57600080fd5b506106626105ca366004611c2f565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101d4565b3480156106b257600080fd5b5061023a6106c1366004611e7c565b61115b565b3480156106d257600080fd5b506106626106e1366004611e97565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561078757600080fd5b5061023a610796366004611e7c565b6111aa565b3480156107a757600080fd5b5061023a6107b6366004611eb2565b611261565b6107c3611277565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b3361081860335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461087c573360009081526066602052604090205460ff1661087c576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156109c3573683838381811061089a5761089a611edc565b6080029190910191506109ba90506108b56020830183611c2f565b6108c736849003840160208501611f23565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5060010161087f565b505050565b6109d0611277565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b33610a4660335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610aaa573360009081526066602052604090205460ff16610aaa576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610af5611277565b610aff60006112f8565b565b60005b818110156109c357828282818110610b1e57610b1e611edc565b9050604002016020016020810190610b369190611fb6565b606b6000858585818110610b4c57610b4c611edc565b610b629260206040909202019081019150611c2f565b63ffffffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610bb057610bb0611c51565b0217905550600101610b04565b6000808461ffff16606e1480610bd857508461ffff1661279f145b80610be857508461ffff16614eaf145b15610c0557610bfc8561ffff16858561136f565b91509150610cc1565b8461ffff16606f1480610c1d57508461ffff16612794145b80610c2d57508461ffff16614ea4145b15610c4157610bfc8561ffff1685856114cc565b61ffff85166000908152606b602052604090205460ff166002816002811115610c6c57610c6c611c51565b03610c8a57610c808661ffff1686866114cc565b9250925050610cc1565b6001816002811115610c9e57610c9e611c51565b03610cb257610c808661ffff16868661136f565b610c808661ffff16868661167d565b935093915050565b33610ce960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610d4d573360009081526066602052604090205460ff16610d4d576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d5d6108b56020830183611c2f565b6000610d6f60a0830160808401611fd7565b90506000610d8360c0840160a08501611c2f565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610de7878787611752565b935093509350935093509350935093565b600080808080610e0c565b60405180910390fd5b610e17888888611752565b94509450945094505093509350935093565b6000610e537fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610eac5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610ece565b3373ffffffffffffffffffffffffffffffffffffffff821614610ece57600080fd5b600054610100900460ff1615808015610eee5750600054600160ff909116105b80610f085750303b158015610f08575060005460ff166001145b610f94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610e03565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610ff257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610ffa61189c565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff9190911617905580156109c357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b611118611277565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b611163611277565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6111b2611277565b73ffffffffffffffffffffffffffffffffffffffff8116611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e03565b61125e816112f8565b50565b611269611277565b611273828261193b565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610aff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e03565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906113d49070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689612021565b6113de919061206d565b6113e89190612021565b825490915060009061141c907801000000000000000000000000000000000000000000000000900463ffffffff1688612021565b835460685491925060009167ffffffffffffffff7001000000000000000000000000000000009092048216918491869161145791168b612081565b6114619190612081565b61146b9190612081565b6114759190612021565b60655485549192506fffffffffffffffffffffffffffffffff9081169161149d911683612021565b6114a7919061206d565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b60008060006114da86611a41565b63ffffffff8082166000908152606760205260408120805493945092909161151f91780100000000000000000000000000000000000000000000000090041688612021565b61152b90610c74612081565b825490915060009061155b90700100000000000000000000000000000000900467ffffffffffffffff1683612021565b63ffffffff808b16600090815260676020526040812080549394509290916115a09178010000000000000000000000000000000000000000000000009004168b612021565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166115d08b84612081565b6115da9190612021565b60655487549192506000916fffffffffffffffffffffffffffffffff91821691611605911687612021565b61160f919061206d565b60655485549192506000916fffffffffffffffffffffffffffffffff9182169161163a911685612021565b611644919061206d565b905060006116528284612081565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff808416600090815260676020526040812080549192839283916116c291780100000000000000000000000000000000000000000000000090041687612021565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166116f28784612081565b6116fc9190612021565b60655484549192506fffffffffffffffffffffffffffffffff90811691611724911683612021565b61172e919061206d565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b60008080808061176461753089612094565b90508063ffffffff16606e148061178257508063ffffffff1661279f145b8061179457508063ffffffff16614eaf145b156117ae576117a481888861136f565b90955093506117f2565b8063ffffffff16606f14806117ca57508063ffffffff16612794145b806117dc57508063ffffffff16614ea4145b156117f2576117ec8188886114cc565b90955093505b63ffffffff81166000908152606b602052604090205460ff16600281600281111561181f5761181f611c51565b036118395761182f8289896114cc565b909650945061186e565b600181600281111561184d5761184d611c51565b0361185d5761182f82898961136f565b61186882898961167d565b90965094505b505060655460695494989397506fffffffffffffffffffffffffffffffff9081169650909316935090915050565b600054610100900460ff16611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610e03565b610aff611b43565b73ffffffffffffffffffffffffffffffffffffffff8216611988576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146119e2576040519150601f19603f3d011682016040523d82523d6000602084013e6119e7565b606091505b50509050806109c3576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610e03565b600080611a5061753084612094565b90508063ffffffff16606f03611a695750606592915050565b8063ffffffff1661279403611a82575061278992915050565b8063ffffffff16614ea403611a9b5750614e9992915050565b600263ffffffff82166000908152606b602052604090205460ff166002811115611ac757611ac7611c51565b14611b06576040517ff42c33dc00000000000000000000000000000000000000000000000000000000815263ffffffff84166004820152602401610e03565b6127108163ffffffff161015611b1f5750606592915050565b614e208163ffffffff161015611b3957506127b192915050565b50614e9992915050565b600054610100900460ff16611bda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610e03565b610aff336112f8565b803563ffffffff81168114611bf757600080fd5b919050565b600080600060608486031215611c1157600080fd5b611c1a84611be3565b95602085013595506040909401359392505050565b600060208284031215611c4157600080fd5b611c4a82611be3565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310611cbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b80356fffffffffffffffffffffffffffffffff81168114611bf757600080fd5b600060208284031215611cf357600080fd5b611c4a82611cc1565b60008060208385031215611d0f57600080fd5b823567ffffffffffffffff80821115611d2757600080fd5b818501915085601f830112611d3b57600080fd5b813581811115611d4a57600080fd5b8660208260071b8501011115611d5f57600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bf757600080fd5b60008060408385031215611da857600080fd5b611db183611d71565b915060208301358015158114611dc657600080fd5b809150509250929050565b60008060208385031215611de457600080fd5b823567ffffffffffffffff80821115611dfc57600080fd5b818501915085601f830112611e1057600080fd5b813581811115611e1f57600080fd5b8660208260061b8501011115611d5f57600080fd5b803561ffff81168114611bf757600080fd5b600080600060608486031215611e5b57600080fd5b611c1a84611e34565b600060c08284031215611e7657600080fd5b50919050565b600060208284031215611e8e57600080fd5b611c4a82611d71565b600060208284031215611ea957600080fd5b611c4a82611e34565b60008060408385031215611ec557600080fd5b611ece83611d71565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff81168114611bf757600080fd5b600060608284031215611f3557600080fd5b6040516060810181811067ffffffffffffffff82111715611f7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611f8b83611cc1565b8152611f9960208401611f0b565b6020820152611faa60408401611be3565b60408201529392505050565b600060208284031215611fc857600080fd5b813560038110611c4a57600080fd5b600060208284031215611fe957600080fd5b611c4a82611f0b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761203857612038611ff2565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261207c5761207c61203e565b500490565b8082018082111561203857612038611ff2565b600063ffffffff808416806120ab576120ab61203e565b9216919091069291505056fea264697066735822122039768bf311242b97f493f46bb58f60f10b9a0e6fee0938e1bc5bca2215f1864964736f6c63430008160033",
709
+ "devdoc": {
710
+ "events": {
711
+ "Initialized(uint8)": {
712
+ "details": "Triggered when the contract has been initialized or reinitialized."
713
+ }
714
+ },
715
+ "kind": "dev",
716
+ "methods": {
717
+ "owner()": {
718
+ "details": "Returns the address of the current owner."
719
+ },
720
+ "renounceOwnership()": {
721
+ "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."
722
+ },
723
+ "transferOwnership(address)": {
724
+ "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
725
+ }
726
+ },
727
+ "version": 1
728
+ },
729
+ "userdoc": {
730
+ "kind": "user",
731
+ "methods": {},
732
+ "version": 1
733
+ },
734
+ "storageLayout": {
735
+ "storage": [
736
+ {
737
+ "astId": 5398,
738
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
739
+ "label": "_initialized",
740
+ "offset": 0,
741
+ "slot": "0",
742
+ "type": "t_uint8"
743
+ },
744
+ {
745
+ "astId": 5401,
746
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
747
+ "label": "_initializing",
748
+ "offset": 1,
749
+ "slot": "0",
750
+ "type": "t_bool"
751
+ },
752
+ {
753
+ "astId": 6153,
754
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
755
+ "label": "__gap",
756
+ "offset": 0,
757
+ "slot": "1",
758
+ "type": "t_array(t_uint256)50_storage"
759
+ },
760
+ {
761
+ "astId": 5270,
762
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
763
+ "label": "_owner",
764
+ "offset": 0,
765
+ "slot": "51",
766
+ "type": "t_address"
767
+ },
768
+ {
769
+ "astId": 5390,
770
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
771
+ "label": "__gap",
772
+ "offset": 0,
773
+ "slot": "52",
774
+ "type": "t_array(t_uint256)49_storage"
775
+ },
776
+ {
777
+ "astId": 13634,
778
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
779
+ "label": "PRICE_RATIO_DENOMINATOR",
780
+ "offset": 0,
781
+ "slot": "101",
782
+ "type": "t_uint128"
783
+ },
784
+ {
785
+ "astId": 13638,
786
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
787
+ "label": "priceUpdater",
788
+ "offset": 0,
789
+ "slot": "102",
790
+ "type": "t_mapping(t_address,t_bool)"
791
+ },
792
+ {
793
+ "astId": 13643,
794
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
795
+ "label": "_defaultModelPrice",
796
+ "offset": 0,
797
+ "slot": "103",
798
+ "type": "t_mapping(t_uint32,t_struct(Price)18025_storage)"
799
+ },
800
+ {
801
+ "astId": 13646,
802
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
803
+ "label": "_arbitrumPriceExt",
804
+ "offset": 0,
805
+ "slot": "104",
806
+ "type": "t_struct(ArbitrumPriceExt)18037_storage"
807
+ },
808
+ {
809
+ "astId": 13648,
810
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
811
+ "label": "_nativePriceUSD",
812
+ "offset": 0,
813
+ "slot": "105",
814
+ "type": "t_uint128"
815
+ },
816
+ {
817
+ "astId": 13650,
818
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
819
+ "label": "ARBITRUM_COMPRESSION_PERCENT",
820
+ "offset": 16,
821
+ "slot": "105",
822
+ "type": "t_uint128"
823
+ },
824
+ {
825
+ "astId": 13653,
826
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
827
+ "label": "endpoint",
828
+ "offset": 0,
829
+ "slot": "106",
830
+ "type": "t_contract(ILayerZeroEndpointV2)2612"
831
+ },
832
+ {
833
+ "astId": 13658,
834
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
835
+ "label": "eidToModelType",
836
+ "offset": 0,
837
+ "slot": "107",
838
+ "type": "t_mapping(t_uint32,t_enum(ModelType)13620)"
839
+ }
840
+ ],
841
+ "types": {
842
+ "t_address": {
843
+ "encoding": "inplace",
844
+ "label": "address",
845
+ "numberOfBytes": "20"
846
+ },
847
+ "t_array(t_uint256)49_storage": {
848
+ "base": "t_uint256",
849
+ "encoding": "inplace",
850
+ "label": "uint256[49]",
851
+ "numberOfBytes": "1568"
852
+ },
853
+ "t_array(t_uint256)50_storage": {
854
+ "base": "t_uint256",
855
+ "encoding": "inplace",
856
+ "label": "uint256[50]",
857
+ "numberOfBytes": "1600"
858
+ },
859
+ "t_bool": {
860
+ "encoding": "inplace",
861
+ "label": "bool",
862
+ "numberOfBytes": "1"
863
+ },
864
+ "t_contract(ILayerZeroEndpointV2)2612": {
865
+ "encoding": "inplace",
866
+ "label": "contract ILayerZeroEndpointV2",
867
+ "numberOfBytes": "20"
868
+ },
869
+ "t_enum(ModelType)13620": {
870
+ "encoding": "inplace",
871
+ "label": "enum ModelType",
872
+ "numberOfBytes": "1"
873
+ },
874
+ "t_mapping(t_address,t_bool)": {
875
+ "encoding": "mapping",
876
+ "key": "t_address",
877
+ "label": "mapping(address => bool)",
878
+ "numberOfBytes": "32",
879
+ "value": "t_bool"
880
+ },
881
+ "t_mapping(t_uint32,t_enum(ModelType)13620)": {
882
+ "encoding": "mapping",
883
+ "key": "t_uint32",
884
+ "label": "mapping(uint32 => enum ModelType)",
885
+ "numberOfBytes": "32",
886
+ "value": "t_enum(ModelType)13620"
887
+ },
888
+ "t_mapping(t_uint32,t_struct(Price)18025_storage)": {
889
+ "encoding": "mapping",
890
+ "key": "t_uint32",
891
+ "label": "mapping(uint32 => struct ILayerZeroPriceFeed.Price)",
892
+ "numberOfBytes": "32",
893
+ "value": "t_struct(Price)18025_storage"
894
+ },
895
+ "t_struct(ArbitrumPriceExt)18037_storage": {
896
+ "encoding": "inplace",
897
+ "label": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
898
+ "members": [
899
+ {
900
+ "astId": 18034,
901
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
902
+ "label": "gasPerL2Tx",
903
+ "offset": 0,
904
+ "slot": "0",
905
+ "type": "t_uint64"
906
+ },
907
+ {
908
+ "astId": 18036,
909
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
910
+ "label": "gasPerL1CallDataByte",
911
+ "offset": 8,
912
+ "slot": "0",
913
+ "type": "t_uint32"
914
+ }
915
+ ],
916
+ "numberOfBytes": "32"
917
+ },
918
+ "t_struct(Price)18025_storage": {
919
+ "encoding": "inplace",
920
+ "label": "struct ILayerZeroPriceFeed.Price",
921
+ "members": [
922
+ {
923
+ "astId": 18020,
924
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
925
+ "label": "priceRatio",
926
+ "offset": 0,
927
+ "slot": "0",
928
+ "type": "t_uint128"
929
+ },
930
+ {
931
+ "astId": 18022,
932
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
933
+ "label": "gasPriceInUnit",
934
+ "offset": 16,
935
+ "slot": "0",
936
+ "type": "t_uint64"
937
+ },
938
+ {
939
+ "astId": 18024,
940
+ "contract": "contracts/PriceFeed.sol:PriceFeed",
941
+ "label": "gasPerByte",
942
+ "offset": 24,
943
+ "slot": "0",
944
+ "type": "t_uint32"
945
+ }
946
+ ],
947
+ "numberOfBytes": "32"
948
+ },
949
+ "t_uint128": {
950
+ "encoding": "inplace",
951
+ "label": "uint128",
952
+ "numberOfBytes": "16"
953
+ },
954
+ "t_uint256": {
955
+ "encoding": "inplace",
956
+ "label": "uint256",
957
+ "numberOfBytes": "32"
958
+ },
959
+ "t_uint32": {
960
+ "encoding": "inplace",
961
+ "label": "uint32",
962
+ "numberOfBytes": "4"
963
+ },
964
+ "t_uint64": {
965
+ "encoding": "inplace",
966
+ "label": "uint64",
967
+ "numberOfBytes": "8"
968
+ },
969
+ "t_uint8": {
970
+ "encoding": "inplace",
971
+ "label": "uint8",
972
+ "numberOfBytes": "1"
973
+ }
974
+ }
975
+ }
976
+ }