@flarenetwork/flare-periphery-contract-artifacts 0.1.44-alpha.3 → 0.1.44-alpha.4

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 (26) hide show
  1. package/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  2. package/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  3. package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
  4. package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
  5. package/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  6. package/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  7. package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
  8. package/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  9. package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
  10. package/dist/coston2/abis.d.ts.map +1 -1
  11. package/dist/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  12. package/dist/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  13. package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
  14. package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
  15. package/dist/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  16. package/dist/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  17. package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
  18. package/dist/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  19. package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
  20. package/dist/index.js +12 -6
  21. package/dist/index.js.map +1 -1
  22. package/package.json +3 -2
  23. package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
  24. package/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
  25. package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
  26. package/dist/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
@@ -0,0 +1,711 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint32",
6
+ "name": "srcEid",
7
+ "type": "uint32"
8
+ }
9
+ ],
10
+ "name": "ComposerFeeNotSet",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "InvalidAddress",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [],
20
+ "name": "InvalidComposerFeePPM",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "inputs": [],
25
+ "name": "InvalidComposerFeeRecipient",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "InvalidRedeemerAccountImplementation",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "from",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "InvalidSourceOApp",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "LengthMismatch",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "NativeTransferFailed",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "OnlyEndpoint",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "TimelockDurationTooLong",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "TimelockInvalidSelector",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "TimelockNotAllowedYet",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": false,
79
+ "internalType": "bytes",
80
+ "name": "encodedCall",
81
+ "type": "bytes"
82
+ },
83
+ {
84
+ "indexed": false,
85
+ "internalType": "bytes32",
86
+ "name": "encodedCallHash",
87
+ "type": "bytes32"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "internalType": "uint256",
92
+ "name": "allowedAfterTimestamp",
93
+ "type": "uint256"
94
+ }
95
+ ],
96
+ "name": "CallTimelocked",
97
+ "type": "event"
98
+ },
99
+ {
100
+ "anonymous": false,
101
+ "inputs": [
102
+ {
103
+ "indexed": true,
104
+ "internalType": "bytes32",
105
+ "name": "guid",
106
+ "type": "bytes32"
107
+ },
108
+ {
109
+ "indexed": true,
110
+ "internalType": "uint32",
111
+ "name": "srcEid",
112
+ "type": "uint32"
113
+ },
114
+ {
115
+ "indexed": true,
116
+ "internalType": "address",
117
+ "name": "composerFeeRecipient",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "indexed": false,
122
+ "internalType": "uint256",
123
+ "name": "composerFee",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "ComposerFeeCollected",
128
+ "type": "event"
129
+ },
130
+ {
131
+ "anonymous": false,
132
+ "inputs": [
133
+ {
134
+ "indexed": true,
135
+ "internalType": "address",
136
+ "name": "composerFeeRecipient",
137
+ "type": "address"
138
+ }
139
+ ],
140
+ "name": "ComposerFeeRecipientSet",
141
+ "type": "event"
142
+ },
143
+ {
144
+ "anonymous": false,
145
+ "inputs": [
146
+ {
147
+ "indexed": true,
148
+ "internalType": "uint32",
149
+ "name": "srcEid",
150
+ "type": "uint32"
151
+ }
152
+ ],
153
+ "name": "ComposerFeeRemoved",
154
+ "type": "event"
155
+ },
156
+ {
157
+ "anonymous": false,
158
+ "inputs": [
159
+ {
160
+ "indexed": true,
161
+ "internalType": "uint32",
162
+ "name": "srcEid",
163
+ "type": "uint32"
164
+ },
165
+ {
166
+ "indexed": false,
167
+ "internalType": "uint256",
168
+ "name": "composerFeePPM",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "name": "ComposerFeeSet",
173
+ "type": "event"
174
+ },
175
+ {
176
+ "anonymous": false,
177
+ "inputs": [
178
+ {
179
+ "indexed": false,
180
+ "internalType": "uint256",
181
+ "name": "defaultComposerFeePPM",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "DefaultComposerFeeSet",
186
+ "type": "event"
187
+ },
188
+ {
189
+ "anonymous": false,
190
+ "inputs": [
191
+ {
192
+ "indexed": false,
193
+ "internalType": "address",
194
+ "name": "executor",
195
+ "type": "address"
196
+ }
197
+ ],
198
+ "name": "DefaultExecutorSet",
199
+ "type": "event"
200
+ },
201
+ {
202
+ "anonymous": false,
203
+ "inputs": [
204
+ {
205
+ "indexed": true,
206
+ "internalType": "bytes32",
207
+ "name": "guid",
208
+ "type": "bytes32"
209
+ },
210
+ {
211
+ "indexed": true,
212
+ "internalType": "uint32",
213
+ "name": "srcEid",
214
+ "type": "uint32"
215
+ },
216
+ {
217
+ "indexed": true,
218
+ "internalType": "address",
219
+ "name": "redeemer",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "indexed": false,
224
+ "internalType": "address",
225
+ "name": "redeemerAccount",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "indexed": false,
230
+ "internalType": "uint256",
231
+ "name": "amountToRedeemUBA",
232
+ "type": "uint256"
233
+ },
234
+ {
235
+ "indexed": false,
236
+ "internalType": "uint256",
237
+ "name": "executorFee",
238
+ "type": "uint256"
239
+ }
240
+ ],
241
+ "name": "FAssetRedeemFailed",
242
+ "type": "event"
243
+ },
244
+ {
245
+ "anonymous": false,
246
+ "inputs": [
247
+ {
248
+ "indexed": true,
249
+ "internalType": "bytes32",
250
+ "name": "guid",
251
+ "type": "bytes32"
252
+ },
253
+ {
254
+ "indexed": true,
255
+ "internalType": "uint32",
256
+ "name": "srcEid",
257
+ "type": "uint32"
258
+ },
259
+ {
260
+ "indexed": true,
261
+ "internalType": "address",
262
+ "name": "redeemer",
263
+ "type": "address"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "address",
268
+ "name": "redeemerAccount",
269
+ "type": "address"
270
+ },
271
+ {
272
+ "indexed": false,
273
+ "internalType": "uint256",
274
+ "name": "amountToRedeemUBA",
275
+ "type": "uint256"
276
+ },
277
+ {
278
+ "indexed": false,
279
+ "internalType": "string",
280
+ "name": "redeemerUnderlyingAddress",
281
+ "type": "string"
282
+ },
283
+ {
284
+ "indexed": false,
285
+ "internalType": "bool",
286
+ "name": "redeemWithTag",
287
+ "type": "bool"
288
+ },
289
+ {
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "destinationTag",
293
+ "type": "uint64"
294
+ },
295
+ {
296
+ "indexed": false,
297
+ "internalType": "address",
298
+ "name": "executor",
299
+ "type": "address"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "uint256",
304
+ "name": "executorFee",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "uint256",
310
+ "name": "redeemedAmountUBA",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "name": "FAssetRedeemed",
315
+ "type": "event"
316
+ },
317
+ {
318
+ "anonymous": false,
319
+ "inputs": [
320
+ {
321
+ "indexed": true,
322
+ "internalType": "address",
323
+ "name": "to",
324
+ "type": "address"
325
+ },
326
+ {
327
+ "indexed": false,
328
+ "internalType": "uint256",
329
+ "name": "amount",
330
+ "type": "uint256"
331
+ }
332
+ ],
333
+ "name": "FAssetTransferred",
334
+ "type": "event"
335
+ },
336
+ {
337
+ "anonymous": false,
338
+ "inputs": [
339
+ {
340
+ "indexed": true,
341
+ "internalType": "address",
342
+ "name": "to",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "amount",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "name": "NativeTransferred",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": true,
360
+ "internalType": "address",
361
+ "name": "redeemer",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "indexed": true,
366
+ "internalType": "address",
367
+ "name": "account",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "name": "RedeemerAccountCreated",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": true,
379
+ "internalType": "address",
380
+ "name": "implementation",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "name": "RedeemerAccountImplementationSet",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": false,
392
+ "internalType": "uint256",
393
+ "name": "timelockDurationSeconds",
394
+ "type": "uint256"
395
+ }
396
+ ],
397
+ "name": "TimelockDurationSet",
398
+ "type": "event"
399
+ },
400
+ {
401
+ "anonymous": false,
402
+ "inputs": [
403
+ {
404
+ "indexed": false,
405
+ "internalType": "bytes32",
406
+ "name": "encodedCallHash",
407
+ "type": "bytes32"
408
+ }
409
+ ],
410
+ "name": "TimelockedCallCanceled",
411
+ "type": "event"
412
+ },
413
+ {
414
+ "anonymous": false,
415
+ "inputs": [
416
+ {
417
+ "indexed": false,
418
+ "internalType": "bytes32",
419
+ "name": "encodedCallHash",
420
+ "type": "bytes32"
421
+ }
422
+ ],
423
+ "name": "TimelockedCallExecuted",
424
+ "type": "event"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "assetManager",
429
+ "outputs": [
430
+ {
431
+ "internalType": "contract IAssetManager",
432
+ "name": "",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "bytes",
443
+ "name": "_encodedCall",
444
+ "type": "bytes"
445
+ }
446
+ ],
447
+ "name": "cancelTimelockedCall",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "composerFeeRecipient",
455
+ "outputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [],
467
+ "name": "defaultComposerFeePPM",
468
+ "outputs": [
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "",
472
+ "type": "uint256"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [],
480
+ "name": "defaultExecutor",
481
+ "outputs": [
482
+ {
483
+ "internalType": "address payable",
484
+ "name": "",
485
+ "type": "address"
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [],
493
+ "name": "endpoint",
494
+ "outputs": [
495
+ {
496
+ "internalType": "address",
497
+ "name": "",
498
+ "type": "address"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "bytes",
508
+ "name": "_encodedCall",
509
+ "type": "bytes"
510
+ }
511
+ ],
512
+ "name": "executeTimelockedCall",
513
+ "outputs": [],
514
+ "stateMutability": "nonpayable",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [],
519
+ "name": "fAsset",
520
+ "outputs": [
521
+ {
522
+ "internalType": "contract IERC20",
523
+ "name": "",
524
+ "type": "address"
525
+ }
526
+ ],
527
+ "stateMutability": "view",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "uint32",
534
+ "name": "_srcEid",
535
+ "type": "uint32"
536
+ }
537
+ ],
538
+ "name": "getComposerFeePPM",
539
+ "outputs": [
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "_composerFeePPM",
543
+ "type": "uint256"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "_encodedCall",
554
+ "type": "bytes"
555
+ }
556
+ ],
557
+ "name": "getExecuteTimelockedCallTimestamp",
558
+ "outputs": [
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "_allowedAfterTimestamp",
562
+ "type": "uint256"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "address",
572
+ "name": "_redeemer",
573
+ "type": "address"
574
+ }
575
+ ],
576
+ "name": "getRedeemerAccountAddress",
577
+ "outputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [],
589
+ "name": "getTimelockDurationSeconds",
590
+ "outputs": [
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "",
594
+ "type": "uint256"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [],
602
+ "name": "implementation",
603
+ "outputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "address",
617
+ "name": "_from",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "bytes32",
622
+ "name": "_guid",
623
+ "type": "bytes32"
624
+ },
625
+ {
626
+ "internalType": "bytes",
627
+ "name": "_message",
628
+ "type": "bytes"
629
+ },
630
+ {
631
+ "internalType": "address",
632
+ "name": "_executor",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "internalType": "bytes",
637
+ "name": "_extraData",
638
+ "type": "bytes"
639
+ }
640
+ ],
641
+ "name": "lzCompose",
642
+ "outputs": [],
643
+ "stateMutability": "payable",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [],
648
+ "name": "redeemerAccountImplementation",
649
+ "outputs": [
650
+ {
651
+ "internalType": "address",
652
+ "name": "",
653
+ "type": "address"
654
+ }
655
+ ],
656
+ "stateMutability": "view",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "_timelockDurationSeconds",
664
+ "type": "uint256"
665
+ }
666
+ ],
667
+ "name": "setTimelockDuration",
668
+ "outputs": [],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [],
674
+ "name": "stableCoin",
675
+ "outputs": [
676
+ {
677
+ "internalType": "contract IERC20",
678
+ "name": "",
679
+ "type": "address"
680
+ }
681
+ ],
682
+ "stateMutability": "view",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [],
687
+ "name": "trustedSourceOApp",
688
+ "outputs": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "",
692
+ "type": "address"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [],
700
+ "name": "wNat",
701
+ "outputs": [
702
+ {
703
+ "internalType": "contract IERC20",
704
+ "name": "",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "stateMutability": "view",
709
+ "type": "function"
710
+ }
711
+ ]