@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,59 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "AlreadyInitialized",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "ComposerOnly",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "InvalidAddress",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "uint64",
21
+ "name": "tag",
22
+ "type": "uint64"
23
+ }
24
+ ],
25
+ "name": "RedeemWithTagNotSupported",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "anonymous": false,
30
+ "inputs": [
31
+ {
32
+ "indexed": true,
33
+ "internalType": "address",
34
+ "name": "owner",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "indexed": false,
39
+ "internalType": "contract IERC20",
40
+ "name": "fAsset",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "indexed": false,
45
+ "internalType": "contract IERC20",
46
+ "name": "stableCoin",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "indexed": false,
51
+ "internalType": "contract IERC20",
52
+ "name": "wNat",
53
+ "type": "address"
54
+ }
55
+ ],
56
+ "name": "MaxAllowancesSet",
57
+ "type": "event"
58
+ }
59
+ ]
@@ -5,13 +5,35 @@
5
5
  "type": "error"
6
6
  },
7
7
  {
8
- "inputs": [],
9
- "name": "InvalidAmount",
8
+ "inputs": [
9
+ {
10
+ "internalType": "bytes",
11
+ "name": "returnData",
12
+ "type": "bytes"
13
+ }
14
+ ],
15
+ "name": "CallFailed",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "amount",
23
+ "type": "uint256"
24
+ },
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "fee",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "name": "InsufficientAmountForFee",
10
32
  "type": "error"
11
33
  },
12
34
  {
13
35
  "inputs": [],
14
- "name": "InvalidCustomInstructionHash",
36
+ "name": "InvalidAmount",
15
37
  "type": "error"
16
38
  },
17
39
  {
@@ -30,6 +52,17 @@
30
52
  "name": "InvalidInstruction",
31
53
  "type": "error"
32
54
  },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "uint8",
59
+ "name": "instructionId",
60
+ "type": "uint8"
61
+ }
62
+ ],
63
+ "name": "InvalidInstructionId",
64
+ "type": "error"
65
+ },
33
66
  {
34
67
  "inputs": [
35
68
  {
@@ -41,11 +74,48 @@
41
74
  "name": "InvalidInstructionType",
42
75
  "type": "error"
43
76
  },
77
+ {
78
+ "inputs": [],
79
+ "name": "InvalidMemoData",
80
+ "type": "error"
81
+ },
44
82
  {
45
83
  "inputs": [],
46
84
  "name": "InvalidMinter",
47
85
  "type": "error"
48
86
  },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "expected",
92
+ "type": "uint256"
93
+ },
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "actual",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "InvalidNonce",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "uint256",
107
+ "name": "currentNonce",
108
+ "type": "uint256"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "newNonce",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "InvalidNonceIncrease",
117
+ "type": "error"
118
+ },
49
119
  {
50
120
  "inputs": [
51
121
  {
@@ -57,6 +127,22 @@
57
127
  "name": "InvalidPaymentAmount",
58
128
  "type": "error"
59
129
  },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "sender",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "address",
139
+ "name": "personalAccount",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "InvalidSender",
144
+ "type": "error"
145
+ },
60
146
  {
61
147
  "inputs": [],
62
148
  "name": "InvalidTransactionId",
@@ -67,6 +153,16 @@
67
153
  "name": "MintingNotCompleted",
68
154
  "type": "error"
69
155
  },
156
+ {
157
+ "inputs": [],
158
+ "name": "NoMemoData",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "OnlyAssetManager",
164
+ "type": "error"
165
+ },
70
166
  {
71
167
  "inputs": [],
72
168
  "name": "TransactionAlreadyExecuted",
@@ -82,6 +178,22 @@
82
178
  "name": "ValueZero",
83
179
  "type": "error"
84
180
  },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "address",
185
+ "name": "expected",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "address",
190
+ "name": "actual",
191
+ "type": "address"
192
+ }
193
+ ],
194
+ "name": "WrongExecutor",
195
+ "type": "error"
196
+ },
85
197
  {
86
198
  "anonymous": false,
87
199
  "inputs": [
@@ -234,35 +346,24 @@
234
346
  },
235
347
  {
236
348
  "indexed": true,
237
- "internalType": "bytes32",
238
- "name": "callHash",
239
- "type": "bytes32"
349
+ "internalType": "address",
350
+ "name": "vault",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "indexed": false,
355
+ "internalType": "uint256",
356
+ "name": "amount",
357
+ "type": "uint256"
240
358
  },
241
359
  {
242
- "components": [
243
- {
244
- "internalType": "address",
245
- "name": "targetContract",
246
- "type": "address"
247
- },
248
- {
249
- "internalType": "uint256",
250
- "name": "value",
251
- "type": "uint256"
252
- },
253
- {
254
- "internalType": "bytes",
255
- "name": "data",
256
- "type": "bytes"
257
- }
258
- ],
259
360
  "indexed": false,
260
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
261
- "name": "customInstruction",
262
- "type": "tuple[]"
361
+ "internalType": "uint256",
362
+ "name": "shares",
363
+ "type": "uint256"
263
364
  }
264
365
  ],
265
- "name": "CustomInstructionExecuted",
366
+ "name": "Deposited",
266
367
  "type": "event"
267
368
  },
268
369
  {
@@ -276,9 +377,15 @@
276
377
  },
277
378
  {
278
379
  "indexed": true,
279
- "internalType": "address",
280
- "name": "vault",
281
- "type": "address"
380
+ "internalType": "bytes32",
381
+ "name": "transactionId",
382
+ "type": "bytes32"
383
+ },
384
+ {
385
+ "indexed": false,
386
+ "internalType": "string",
387
+ "name": "sourceAddress",
388
+ "type": "string"
282
389
  },
283
390
  {
284
391
  "indexed": false,
@@ -289,11 +396,49 @@
289
396
  {
290
397
  "indexed": false,
291
398
  "internalType": "uint256",
292
- "name": "shares",
399
+ "name": "executorFee",
293
400
  "type": "uint256"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "address",
405
+ "name": "executor",
406
+ "type": "address"
294
407
  }
295
408
  ],
296
- "name": "Deposited",
409
+ "name": "DirectMintingExecuted",
410
+ "type": "event"
411
+ },
412
+ {
413
+ "anonymous": false,
414
+ "inputs": [
415
+ {
416
+ "indexed": true,
417
+ "internalType": "address",
418
+ "name": "personalAccount",
419
+ "type": "address"
420
+ }
421
+ ],
422
+ "name": "ExecutorRemoved",
423
+ "type": "event"
424
+ },
425
+ {
426
+ "anonymous": false,
427
+ "inputs": [
428
+ {
429
+ "indexed": true,
430
+ "internalType": "address",
431
+ "name": "personalAccount",
432
+ "type": "address"
433
+ },
434
+ {
435
+ "indexed": true,
436
+ "internalType": "address",
437
+ "name": "executor",
438
+ "type": "address"
439
+ }
440
+ ],
441
+ "name": "ExecutorSet",
297
442
  "type": "event"
298
443
  },
299
444
  {
@@ -358,6 +503,25 @@
358
503
  "name": "FXrpTransferred",
359
504
  "type": "event"
360
505
  },
506
+ {
507
+ "anonymous": false,
508
+ "inputs": [
509
+ {
510
+ "indexed": true,
511
+ "internalType": "address",
512
+ "name": "personalAccount",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "indexed": true,
517
+ "internalType": "bytes32",
518
+ "name": "targetTxId",
519
+ "type": "bytes32"
520
+ }
521
+ ],
522
+ "name": "IgnoreMemoSet",
523
+ "type": "event"
524
+ },
361
525
  {
362
526
  "anonymous": false,
363
527
  "inputs": [
@@ -395,6 +559,25 @@
395
559
  "name": "InstructionExecuted",
396
560
  "type": "event"
397
561
  },
562
+ {
563
+ "anonymous": false,
564
+ "inputs": [
565
+ {
566
+ "indexed": true,
567
+ "internalType": "address",
568
+ "name": "personalAccount",
569
+ "type": "address"
570
+ },
571
+ {
572
+ "indexed": false,
573
+ "internalType": "uint256",
574
+ "name": "newNonce",
575
+ "type": "uint256"
576
+ }
577
+ ],
578
+ "name": "NonceIncreased",
579
+ "type": "event"
580
+ },
398
581
  {
399
582
  "anonymous": false,
400
583
  "inputs": [
@@ -475,6 +658,50 @@
475
658
  "name": "Redeemed",
476
659
  "type": "event"
477
660
  },
661
+ {
662
+ "anonymous": false,
663
+ "inputs": [
664
+ {
665
+ "indexed": true,
666
+ "internalType": "address",
667
+ "name": "personalAccount",
668
+ "type": "address"
669
+ },
670
+ {
671
+ "indexed": true,
672
+ "internalType": "bytes32",
673
+ "name": "targetTxId",
674
+ "type": "bytes32"
675
+ },
676
+ {
677
+ "indexed": false,
678
+ "internalType": "uint64",
679
+ "name": "newFee",
680
+ "type": "uint64"
681
+ }
682
+ ],
683
+ "name": "ReplacementFeeSet",
684
+ "type": "event"
685
+ },
686
+ {
687
+ "anonymous": false,
688
+ "inputs": [
689
+ {
690
+ "indexed": true,
691
+ "internalType": "address",
692
+ "name": "personalAccount",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "indexed": false,
697
+ "internalType": "uint256",
698
+ "name": "nonce",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "name": "UserOperationExecuted",
703
+ "type": "event"
704
+ },
478
705
  {
479
706
  "anonymous": false,
480
707
  "inputs": [
@@ -803,6 +1030,44 @@
803
1030
  "stateMutability": "payable",
804
1031
  "type": "function"
805
1032
  },
1033
+ {
1034
+ "inputs": [
1035
+ {
1036
+ "internalType": "address",
1037
+ "name": "_personalAccount",
1038
+ "type": "address"
1039
+ }
1040
+ ],
1041
+ "name": "getExecutor",
1042
+ "outputs": [
1043
+ {
1044
+ "internalType": "address",
1045
+ "name": "",
1046
+ "type": "address"
1047
+ }
1048
+ ],
1049
+ "stateMutability": "view",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [
1054
+ {
1055
+ "internalType": "address",
1056
+ "name": "_personalAccount",
1057
+ "type": "address"
1058
+ }
1059
+ ],
1060
+ "name": "getNonce",
1061
+ "outputs": [
1062
+ {
1063
+ "internalType": "uint256",
1064
+ "name": "",
1065
+ "type": "uint256"
1066
+ }
1067
+ ],
1068
+ "stateMutability": "view",
1069
+ "type": "function"
1070
+ },
806
1071
  {
807
1072
  "inputs": [
808
1073
  {
@@ -841,6 +1106,44 @@
841
1106
  "stateMutability": "view",
842
1107
  "type": "function"
843
1108
  },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "bytes32",
1113
+ "name": "_transactionId",
1114
+ "type": "bytes32"
1115
+ },
1116
+ {
1117
+ "internalType": "string",
1118
+ "name": "_sourceAddress",
1119
+ "type": "string"
1120
+ },
1121
+ {
1122
+ "internalType": "uint256",
1123
+ "name": "_amount",
1124
+ "type": "uint256"
1125
+ },
1126
+ {
1127
+ "internalType": "uint256",
1128
+ "name": "_underlyingTimestamp",
1129
+ "type": "uint256"
1130
+ },
1131
+ {
1132
+ "internalType": "bytes",
1133
+ "name": "_memoData",
1134
+ "type": "bytes"
1135
+ },
1136
+ {
1137
+ "internalType": "address payable",
1138
+ "name": "_executor",
1139
+ "type": "address"
1140
+ }
1141
+ ],
1142
+ "name": "mintedFAssets",
1143
+ "outputs": [],
1144
+ "stateMutability": "payable",
1145
+ "type": "function"
1146
+ },
844
1147
  {
845
1148
  "inputs": [
846
1149
  {