@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
@@ -65,8 +65,14 @@
65
65
  "type": "error"
66
66
  },
67
67
  {
68
- "inputs": [],
69
- "name": "EmptyCustomInstruction",
68
+ "inputs": [
69
+ {
70
+ "internalType": "bytes",
71
+ "name": "returnData",
72
+ "type": "bytes"
73
+ }
74
+ ],
75
+ "name": "CallFailed",
70
76
  "type": "error"
71
77
  },
72
78
  {
@@ -89,21 +95,32 @@
89
95
  "inputs": [
90
96
  {
91
97
  "internalType": "uint256",
92
- "name": "agentVaultId",
98
+ "name": "amount",
99
+ "type": "uint256"
100
+ },
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "fee",
93
104
  "type": "uint256"
94
105
  }
95
106
  ],
96
- "name": "InvalidAgentVault",
107
+ "name": "InsufficientAmountForFee",
97
108
  "type": "error"
98
109
  },
99
110
  {
100
- "inputs": [],
101
- "name": "InvalidAmount",
111
+ "inputs": [
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "agentVaultId",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "InvalidAgentVault",
102
119
  "type": "error"
103
120
  },
104
121
  {
105
122
  "inputs": [],
106
- "name": "InvalidCustomInstructionHash",
123
+ "name": "InvalidAmount",
107
124
  "type": "error"
108
125
  },
109
126
  {
@@ -116,11 +133,6 @@
116
133
  "name": "InvalidExecutorFee",
117
134
  "type": "error"
118
135
  },
119
- {
120
- "inputs": [],
121
- "name": "InvalidFeedId",
122
- "type": "error"
123
- },
124
136
  {
125
137
  "inputs": [
126
138
  {
@@ -148,6 +160,17 @@
148
160
  "name": "InvalidInstructionFee",
149
161
  "type": "error"
150
162
  },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "uint8",
167
+ "name": "instructionId",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "name": "InvalidInstructionId",
172
+ "type": "error"
173
+ },
151
174
  {
152
175
  "inputs": [
153
176
  {
@@ -161,7 +184,7 @@
161
184
  },
162
185
  {
163
186
  "inputs": [],
164
- "name": "InvalidMaxSlippagePPM",
187
+ "name": "InvalidMemoData",
165
188
  "type": "error"
166
189
  },
167
190
  {
@@ -169,6 +192,38 @@
169
192
  "name": "InvalidMinter",
170
193
  "type": "error"
171
194
  },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "uint256",
199
+ "name": "expected",
200
+ "type": "uint256"
201
+ },
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "actual",
205
+ "type": "uint256"
206
+ }
207
+ ],
208
+ "name": "InvalidNonce",
209
+ "type": "error"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "currentNonce",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "uint256",
220
+ "name": "newNonce",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "name": "InvalidNonceIncrease",
225
+ "type": "error"
226
+ },
172
227
  {
173
228
  "inputs": [
174
229
  {
@@ -190,24 +245,30 @@
190
245
  "name": "InvalidPersonalAccountImplementation",
191
246
  "type": "error"
192
247
  },
193
- {
194
- "inputs": [],
195
- "name": "InvalidPoolFeeTierPPM",
196
- "type": "error"
197
- },
198
248
  {
199
249
  "inputs": [],
200
250
  "name": "InvalidReceivingAddressHash",
201
251
  "type": "error"
202
252
  },
203
253
  {
204
- "inputs": [],
205
- "name": "InvalidSourceId",
254
+ "inputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "sender",
258
+ "type": "address"
259
+ },
260
+ {
261
+ "internalType": "address",
262
+ "name": "personalAccount",
263
+ "type": "address"
264
+ }
265
+ ],
266
+ "name": "InvalidSender",
206
267
  "type": "error"
207
268
  },
208
269
  {
209
270
  "inputs": [],
210
- "name": "InvalidStableCoin",
271
+ "name": "InvalidSourceId",
211
272
  "type": "error"
212
273
  },
213
274
  {
@@ -225,11 +286,6 @@
225
286
  "name": "InvalidTransactionStatus",
226
287
  "type": "error"
227
288
  },
228
- {
229
- "inputs": [],
230
- "name": "InvalidUniswapV3Router",
231
- "type": "error"
232
- },
233
289
  {
234
290
  "inputs": [
235
291
  {
@@ -244,7 +300,7 @@
244
300
  {
245
301
  "inputs": [
246
302
  {
247
- "internalType": "uint8",
303
+ "internalType": "enum IVaultsFacet.VaultType",
248
304
  "name": "vaultType",
249
305
  "type": "uint8"
250
306
  }
@@ -263,6 +319,11 @@
263
319
  "name": "InvalidXrplProviderWallet",
264
320
  "type": "error"
265
321
  },
322
+ {
323
+ "inputs": [],
324
+ "name": "IsPaused",
325
+ "type": "error"
326
+ },
266
327
  {
267
328
  "inputs": [],
268
329
  "name": "MintingNotCompleted",
@@ -275,34 +336,61 @@
275
336
  },
276
337
  {
277
338
  "inputs": [],
278
- "name": "PaymentProofExpired",
339
+ "name": "NoMemoData",
279
340
  "type": "error"
280
341
  },
281
342
  {
282
343
  "inputs": [
283
344
  {
284
345
  "internalType": "address",
285
- "name": "personalAccountAddress",
346
+ "name": "account",
286
347
  "type": "address"
287
348
  }
288
349
  ],
289
- "name": "PersonalAccountNotSuccessfullyDeployed",
350
+ "name": "NotPauser",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "account",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "NotUnpauser",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "OnlyAssetManager",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [
371
+ {
372
+ "internalType": "address",
373
+ "name": "account",
374
+ "type": "address"
375
+ }
376
+ ],
377
+ "name": "PauserAlreadyAdded",
290
378
  "type": "error"
291
379
  },
292
380
  {
293
381
  "inputs": [],
294
- "name": "TargetAddressZero",
382
+ "name": "PaymentProofExpired",
295
383
  "type": "error"
296
384
  },
297
385
  {
298
386
  "inputs": [
299
387
  {
300
388
  "internalType": "address",
301
- "name": "target",
389
+ "name": "personalAccountAddress",
302
390
  "type": "address"
303
391
  }
304
392
  ],
305
- "name": "TargetNotAContract",
393
+ "name": "PersonalAccountNotSuccessfullyDeployed",
306
394
  "type": "error"
307
395
  },
308
396
  {
@@ -330,6 +418,28 @@
330
418
  "name": "UnknownCollateralReservationId",
331
419
  "type": "error"
332
420
  },
421
+ {
422
+ "inputs": [
423
+ {
424
+ "internalType": "address",
425
+ "name": "account",
426
+ "type": "address"
427
+ }
428
+ ],
429
+ "name": "UnpauserAlreadyAdded",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "enum IVaultsFacet.VaultType",
436
+ "name": "vaultType",
437
+ "type": "uint8"
438
+ }
439
+ ],
440
+ "name": "UnsupportedVaultType",
441
+ "type": "error"
442
+ },
333
443
  {
334
444
  "inputs": [],
335
445
  "name": "ValueZero",
@@ -384,6 +494,22 @@
384
494
  "name": "VaultsLengthsMismatch",
385
495
  "type": "error"
386
496
  },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "address",
501
+ "name": "expected",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "address",
506
+ "name": "actual",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "name": "WrongExecutor",
511
+ "type": "error"
512
+ },
387
513
  {
388
514
  "inputs": [
389
515
  {
@@ -599,74 +725,6 @@
599
725
  "name": "CollateralReserved",
600
726
  "type": "event"
601
727
  },
602
- {
603
- "anonymous": false,
604
- "inputs": [
605
- {
606
- "indexed": true,
607
- "internalType": "bytes32",
608
- "name": "customInstructionHash",
609
- "type": "bytes32"
610
- }
611
- ],
612
- "name": "CustomInstructionAlreadyRegistered",
613
- "type": "event"
614
- },
615
- {
616
- "anonymous": false,
617
- "inputs": [
618
- {
619
- "indexed": true,
620
- "internalType": "address",
621
- "name": "personalAccount",
622
- "type": "address"
623
- },
624
- {
625
- "indexed": true,
626
- "internalType": "bytes32",
627
- "name": "callHash",
628
- "type": "bytes32"
629
- },
630
- {
631
- "components": [
632
- {
633
- "internalType": "address",
634
- "name": "targetContract",
635
- "type": "address"
636
- },
637
- {
638
- "internalType": "uint256",
639
- "name": "value",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "bytes",
644
- "name": "data",
645
- "type": "bytes"
646
- }
647
- ],
648
- "indexed": false,
649
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
650
- "name": "customInstruction",
651
- "type": "tuple[]"
652
- }
653
- ],
654
- "name": "CustomInstructionExecuted",
655
- "type": "event"
656
- },
657
- {
658
- "anonymous": false,
659
- "inputs": [
660
- {
661
- "indexed": true,
662
- "internalType": "bytes32",
663
- "name": "customInstructionHash",
664
- "type": "bytes32"
665
- }
666
- ],
667
- "name": "CustomInstructionRegistered",
668
- "type": "event"
669
- },
670
728
  {
671
729
  "anonymous": false,
672
730
  "inputs": [
@@ -753,32 +811,6 @@
753
811
  "name": "DiamondCut",
754
812
  "type": "event"
755
813
  },
756
- {
757
- "anonymous": false,
758
- "inputs": [
759
- {
760
- "indexed": false,
761
- "internalType": "uint256",
762
- "name": "executorFee",
763
- "type": "uint256"
764
- }
765
- ],
766
- "name": "ExecutorFeeSet",
767
- "type": "event"
768
- },
769
- {
770
- "anonymous": false,
771
- "inputs": [
772
- {
773
- "indexed": false,
774
- "internalType": "address",
775
- "name": "executor",
776
- "type": "address"
777
- }
778
- ],
779
- "name": "ExecutorSet",
780
- "type": "event"
781
- },
782
814
  {
783
815
  "anonymous": false,
784
816
  "inputs": [
@@ -788,16 +820,28 @@
788
820
  "name": "personalAccount",
789
821
  "type": "address"
790
822
  },
823
+ {
824
+ "indexed": true,
825
+ "internalType": "bytes32",
826
+ "name": "transactionId",
827
+ "type": "bytes32"
828
+ },
829
+ {
830
+ "indexed": false,
831
+ "internalType": "string",
832
+ "name": "sourceAddress",
833
+ "type": "string"
834
+ },
791
835
  {
792
836
  "indexed": false,
793
837
  "internalType": "uint256",
794
- "name": "lots",
838
+ "name": "amount",
795
839
  "type": "uint256"
796
840
  },
797
841
  {
798
842
  "indexed": false,
799
843
  "internalType": "uint256",
800
- "name": "amount",
844
+ "name": "executorFee",
801
845
  "type": "uint256"
802
846
  },
803
847
  {
@@ -805,22 +849,111 @@
805
849
  "internalType": "address",
806
850
  "name": "executor",
807
851
  "type": "address"
808
- },
809
- {
810
- "indexed": false,
811
- "internalType": "uint256",
812
- "name": "executorFee",
813
- "type": "uint256"
814
852
  }
815
853
  ],
816
- "name": "FXrpRedeemed",
854
+ "name": "DirectMintingExecuted",
817
855
  "type": "event"
818
856
  },
819
857
  {
820
858
  "anonymous": false,
821
859
  "inputs": [
822
860
  {
823
- "indexed": true,
861
+ "indexed": false,
862
+ "internalType": "uint256",
863
+ "name": "executorFee",
864
+ "type": "uint256"
865
+ }
866
+ ],
867
+ "name": "ExecutorFeeSet",
868
+ "type": "event"
869
+ },
870
+ {
871
+ "anonymous": false,
872
+ "inputs": [
873
+ {
874
+ "indexed": true,
875
+ "internalType": "address",
876
+ "name": "personalAccount",
877
+ "type": "address"
878
+ }
879
+ ],
880
+ "name": "ExecutorRemoved",
881
+ "type": "event"
882
+ },
883
+ {
884
+ "anonymous": false,
885
+ "inputs": [
886
+ {
887
+ "indexed": false,
888
+ "internalType": "address",
889
+ "name": "executor",
890
+ "type": "address"
891
+ }
892
+ ],
893
+ "name": "ExecutorSet",
894
+ "type": "event"
895
+ },
896
+ {
897
+ "anonymous": false,
898
+ "inputs": [
899
+ {
900
+ "indexed": true,
901
+ "internalType": "address",
902
+ "name": "personalAccount",
903
+ "type": "address"
904
+ },
905
+ {
906
+ "indexed": true,
907
+ "internalType": "address",
908
+ "name": "executor",
909
+ "type": "address"
910
+ }
911
+ ],
912
+ "name": "ExecutorSet",
913
+ "type": "event"
914
+ },
915
+ {
916
+ "anonymous": false,
917
+ "inputs": [
918
+ {
919
+ "indexed": true,
920
+ "internalType": "address",
921
+ "name": "personalAccount",
922
+ "type": "address"
923
+ },
924
+ {
925
+ "indexed": false,
926
+ "internalType": "uint256",
927
+ "name": "lots",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "indexed": false,
932
+ "internalType": "uint256",
933
+ "name": "amount",
934
+ "type": "uint256"
935
+ },
936
+ {
937
+ "indexed": false,
938
+ "internalType": "address",
939
+ "name": "executor",
940
+ "type": "address"
941
+ },
942
+ {
943
+ "indexed": false,
944
+ "internalType": "uint256",
945
+ "name": "executorFee",
946
+ "type": "uint256"
947
+ }
948
+ ],
949
+ "name": "FXrpRedeemed",
950
+ "type": "event"
951
+ },
952
+ {
953
+ "anonymous": false,
954
+ "inputs": [
955
+ {
956
+ "indexed": true,
824
957
  "internalType": "address",
825
958
  "name": "personalAccount",
826
959
  "type": "address"
@@ -841,6 +974,25 @@
841
974
  "name": "FXrpTransferred",
842
975
  "type": "event"
843
976
  },
977
+ {
978
+ "anonymous": false,
979
+ "inputs": [
980
+ {
981
+ "indexed": true,
982
+ "internalType": "address",
983
+ "name": "personalAccount",
984
+ "type": "address"
985
+ },
986
+ {
987
+ "indexed": true,
988
+ "internalType": "bytes32",
989
+ "name": "targetTxId",
990
+ "type": "bytes32"
991
+ }
992
+ ],
993
+ "name": "IgnoreMemoSet",
994
+ "type": "event"
995
+ },
844
996
  {
845
997
  "anonymous": false,
846
998
  "inputs": [
@@ -910,6 +1062,25 @@
910
1062
  "name": "InstructionFeeSet",
911
1063
  "type": "event"
912
1064
  },
1065
+ {
1066
+ "anonymous": false,
1067
+ "inputs": [
1068
+ {
1069
+ "indexed": true,
1070
+ "internalType": "address",
1071
+ "name": "personalAccount",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "indexed": false,
1076
+ "internalType": "uint256",
1077
+ "name": "newNonce",
1078
+ "type": "uint256"
1079
+ }
1080
+ ],
1081
+ "name": "NonceIncreased",
1082
+ "type": "event"
1083
+ },
913
1084
  {
914
1085
  "anonymous": false,
915
1086
  "inputs": [
@@ -929,6 +1100,45 @@
929
1100
  "name": "OwnershipTransferred",
930
1101
  "type": "event"
931
1102
  },
1103
+ {
1104
+ "anonymous": false,
1105
+ "inputs": [
1106
+ {
1107
+ "indexed": true,
1108
+ "internalType": "address",
1109
+ "name": "account",
1110
+ "type": "address"
1111
+ }
1112
+ ],
1113
+ "name": "Paused",
1114
+ "type": "event"
1115
+ },
1116
+ {
1117
+ "anonymous": false,
1118
+ "inputs": [
1119
+ {
1120
+ "indexed": true,
1121
+ "internalType": "address",
1122
+ "name": "account",
1123
+ "type": "address"
1124
+ }
1125
+ ],
1126
+ "name": "PauserAdded",
1127
+ "type": "event"
1128
+ },
1129
+ {
1130
+ "anonymous": false,
1131
+ "inputs": [
1132
+ {
1133
+ "indexed": true,
1134
+ "internalType": "address",
1135
+ "name": "account",
1136
+ "type": "address"
1137
+ }
1138
+ ],
1139
+ "name": "PauserRemoved",
1140
+ "type": "event"
1141
+ },
932
1142
  {
933
1143
  "anonymous": false,
934
1144
  "inputs": [
@@ -1065,85 +1275,18 @@
1065
1275
  },
1066
1276
  {
1067
1277
  "indexed": true,
1068
- "internalType": "address",
1069
- "name": "tokenIn",
1070
- "type": "address"
1071
- },
1072
- {
1073
- "indexed": true,
1074
- "internalType": "address",
1075
- "name": "tokenOut",
1076
- "type": "address"
1077
- },
1078
- {
1079
- "indexed": false,
1080
- "internalType": "string",
1081
- "name": "xrplOwner",
1082
- "type": "string"
1083
- },
1084
- {
1085
- "indexed": false,
1086
- "internalType": "uint256",
1087
- "name": "amountIn",
1088
- "type": "uint256"
1089
- },
1090
- {
1091
- "indexed": false,
1092
- "internalType": "uint256",
1093
- "name": "amountOut",
1094
- "type": "uint256"
1095
- }
1096
- ],
1097
- "name": "SwapExecuted",
1098
- "type": "event"
1099
- },
1100
- {
1101
- "anonymous": false,
1102
- "inputs": [
1103
- {
1104
- "indexed": false,
1105
- "internalType": "address",
1106
- "name": "uniswapV3Router",
1107
- "type": "address"
1108
- },
1109
- {
1110
- "indexed": false,
1111
- "internalType": "address",
1112
- "name": "stableCoin",
1113
- "type": "address"
1114
- },
1115
- {
1116
- "indexed": false,
1117
- "internalType": "uint24",
1118
- "name": "wNatStableCoinPoolFeeTierPPM",
1119
- "type": "uint24"
1120
- },
1121
- {
1122
- "indexed": false,
1123
- "internalType": "uint24",
1124
- "name": "stableCoinFXrpPoolFeeTierPPM",
1125
- "type": "uint24"
1126
- },
1127
- {
1128
- "indexed": false,
1129
- "internalType": "uint24",
1130
- "name": "maxSlippagePPM",
1131
- "type": "uint24"
1132
- },
1133
- {
1134
- "indexed": false,
1135
- "internalType": "bytes21",
1136
- "name": "stableCoinUsdFeedId",
1137
- "type": "bytes21"
1278
+ "internalType": "bytes32",
1279
+ "name": "targetTxId",
1280
+ "type": "bytes32"
1138
1281
  },
1139
1282
  {
1140
1283
  "indexed": false,
1141
- "internalType": "bytes21",
1142
- "name": "wNatUsdFeedId",
1143
- "type": "bytes21"
1284
+ "internalType": "uint64",
1285
+ "name": "newFee",
1286
+ "type": "uint64"
1144
1287
  }
1145
1288
  ],
1146
- "name": "SwapParamsSet",
1289
+ "name": "ReplacementFeeSet",
1147
1290
  "type": "event"
1148
1291
  },
1149
1292
  {
@@ -1188,51 +1331,27 @@
1188
1331
  {
1189
1332
  "anonymous": false,
1190
1333
  "inputs": [
1191
- {
1192
- "indexed": true,
1193
- "internalType": "uint256",
1194
- "name": "vaultId",
1195
- "type": "uint256"
1196
- },
1197
1334
  {
1198
1335
  "indexed": true,
1199
1336
  "internalType": "address",
1200
- "name": "vaultAddress",
1337
+ "name": "account",
1201
1338
  "type": "address"
1202
- },
1203
- {
1204
- "indexed": true,
1205
- "internalType": "uint8",
1206
- "name": "vaultType",
1207
- "type": "uint8"
1208
1339
  }
1209
1340
  ],
1210
- "name": "VaultAdded",
1341
+ "name": "Unpaused",
1211
1342
  "type": "event"
1212
1343
  },
1213
1344
  {
1214
1345
  "anonymous": false,
1215
1346
  "inputs": [
1216
- {
1217
- "indexed": true,
1218
- "internalType": "uint256",
1219
- "name": "vaultId",
1220
- "type": "uint256"
1221
- },
1222
1347
  {
1223
1348
  "indexed": true,
1224
1349
  "internalType": "address",
1225
- "name": "vaultAddress",
1350
+ "name": "account",
1226
1351
  "type": "address"
1227
- },
1228
- {
1229
- "indexed": true,
1230
- "internalType": "uint8",
1231
- "name": "vaultType",
1232
- "type": "uint8"
1233
1352
  }
1234
1353
  ],
1235
- "name": "VaultRemoved",
1354
+ "name": "UnpauserAdded",
1236
1355
  "type": "event"
1237
1356
  },
1238
1357
  {
@@ -1241,22 +1360,79 @@
1241
1360
  {
1242
1361
  "indexed": true,
1243
1362
  "internalType": "address",
1244
- "name": "personalAccount",
1363
+ "name": "account",
1245
1364
  "type": "address"
1246
- },
1365
+ }
1366
+ ],
1367
+ "name": "UnpauserRemoved",
1368
+ "type": "event"
1369
+ },
1370
+ {
1371
+ "anonymous": false,
1372
+ "inputs": [
1247
1373
  {
1248
1374
  "indexed": true,
1249
1375
  "internalType": "address",
1250
- "name": "vault",
1376
+ "name": "personalAccount",
1251
1377
  "type": "address"
1252
1378
  },
1253
1379
  {
1254
1380
  "indexed": false,
1255
1381
  "internalType": "uint256",
1256
- "name": "period",
1382
+ "name": "nonce",
1257
1383
  "type": "uint256"
1258
- },
1259
- {
1384
+ }
1385
+ ],
1386
+ "name": "UserOperationExecuted",
1387
+ "type": "event"
1388
+ },
1389
+ {
1390
+ "anonymous": false,
1391
+ "inputs": [
1392
+ {
1393
+ "indexed": true,
1394
+ "internalType": "uint256",
1395
+ "name": "vaultId",
1396
+ "type": "uint256"
1397
+ },
1398
+ {
1399
+ "indexed": true,
1400
+ "internalType": "address",
1401
+ "name": "vaultAddress",
1402
+ "type": "address"
1403
+ },
1404
+ {
1405
+ "indexed": true,
1406
+ "internalType": "enum IVaultsFacet.VaultType",
1407
+ "name": "vaultType",
1408
+ "type": "uint8"
1409
+ }
1410
+ ],
1411
+ "name": "VaultAdded",
1412
+ "type": "event"
1413
+ },
1414
+ {
1415
+ "anonymous": false,
1416
+ "inputs": [
1417
+ {
1418
+ "indexed": true,
1419
+ "internalType": "address",
1420
+ "name": "personalAccount",
1421
+ "type": "address"
1422
+ },
1423
+ {
1424
+ "indexed": true,
1425
+ "internalType": "address",
1426
+ "name": "vault",
1427
+ "type": "address"
1428
+ },
1429
+ {
1430
+ "indexed": false,
1431
+ "internalType": "uint256",
1432
+ "name": "period",
1433
+ "type": "uint256"
1434
+ },
1435
+ {
1260
1436
  "indexed": false,
1261
1437
  "internalType": "uint256",
1262
1438
  "name": "amount",
@@ -1292,6 +1468,31 @@
1292
1468
  "name": "XrplProviderWalletRemoved",
1293
1469
  "type": "event"
1294
1470
  },
1471
+ {
1472
+ "inputs": [],
1473
+ "name": "agentVaults",
1474
+ "outputs": [
1475
+ {
1476
+ "components": [
1477
+ {
1478
+ "internalType": "uint256",
1479
+ "name": "agentVaultId",
1480
+ "type": "uint256"
1481
+ },
1482
+ {
1483
+ "internalType": "address",
1484
+ "name": "agentVaultAddress",
1485
+ "type": "address"
1486
+ }
1487
+ ],
1488
+ "internalType": "struct IPersonalAccountReaderFacet.AgentVaultInfo[]",
1489
+ "name": "_agentVaults",
1490
+ "type": "tuple[]"
1491
+ }
1492
+ ],
1493
+ "stateMutability": "view",
1494
+ "type": "function"
1495
+ },
1295
1496
  {
1296
1497
  "inputs": [
1297
1498
  {
@@ -1332,42 +1533,6 @@
1332
1533
  "stateMutability": "nonpayable",
1333
1534
  "type": "function"
1334
1535
  },
1335
- {
1336
- "inputs": [
1337
- {
1338
- "components": [
1339
- {
1340
- "internalType": "address",
1341
- "name": "targetContract",
1342
- "type": "address"
1343
- },
1344
- {
1345
- "internalType": "uint256",
1346
- "name": "value",
1347
- "type": "uint256"
1348
- },
1349
- {
1350
- "internalType": "bytes",
1351
- "name": "data",
1352
- "type": "bytes"
1353
- }
1354
- ],
1355
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
1356
- "name": "_customInstruction",
1357
- "type": "tuple[]"
1358
- }
1359
- ],
1360
- "name": "encodeCustomInstruction",
1361
- "outputs": [
1362
- {
1363
- "internalType": "bytes32",
1364
- "name": "_customInstructionHash",
1365
- "type": "bytes32"
1366
- }
1367
- ],
1368
- "stateMutability": "pure",
1369
- "type": "function"
1370
- },
1371
1536
  {
1372
1537
  "inputs": [
1373
1538
  {
@@ -1775,34 +1940,66 @@
1775
1940
  {
1776
1941
  "inputs": [
1777
1942
  {
1778
- "internalType": "bytes32",
1779
- "name": "_customInstructionHash",
1780
- "type": "bytes32"
1943
+ "internalType": "string",
1944
+ "name": "_xrplOwner",
1945
+ "type": "string"
1781
1946
  }
1782
1947
  ],
1783
- "name": "getCustomInstruction",
1948
+ "name": "getBalances",
1784
1949
  "outputs": [
1785
1950
  {
1786
1951
  "components": [
1787
1952
  {
1788
- "internalType": "address",
1789
- "name": "targetContract",
1790
- "type": "address"
1953
+ "internalType": "uint256",
1954
+ "name": "natBalance",
1955
+ "type": "uint256"
1791
1956
  },
1792
1957
  {
1793
1958
  "internalType": "uint256",
1794
- "name": "value",
1959
+ "name": "wNatBalance",
1795
1960
  "type": "uint256"
1796
1961
  },
1797
1962
  {
1798
- "internalType": "bytes",
1799
- "name": "data",
1800
- "type": "bytes"
1963
+ "internalType": "uint256",
1964
+ "name": "fXrpBalance",
1965
+ "type": "uint256"
1966
+ },
1967
+ {
1968
+ "components": [
1969
+ {
1970
+ "internalType": "uint256",
1971
+ "name": "vaultId",
1972
+ "type": "uint256"
1973
+ },
1974
+ {
1975
+ "internalType": "address",
1976
+ "name": "vaultAddress",
1977
+ "type": "address"
1978
+ },
1979
+ {
1980
+ "internalType": "enum IVaultsFacet.VaultType",
1981
+ "name": "vaultType",
1982
+ "type": "uint8"
1983
+ },
1984
+ {
1985
+ "internalType": "uint256",
1986
+ "name": "shares",
1987
+ "type": "uint256"
1988
+ },
1989
+ {
1990
+ "internalType": "uint256",
1991
+ "name": "assets",
1992
+ "type": "uint256"
1993
+ }
1994
+ ],
1995
+ "internalType": "struct IPersonalAccountReaderFacet.VaultBalance[]",
1996
+ "name": "vaults",
1997
+ "type": "tuple[]"
1801
1998
  }
1802
1999
  ],
1803
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
1804
- "name": "_customInstruction",
1805
- "type": "tuple[]"
2000
+ "internalType": "struct IPersonalAccountReaderFacet.AccountBalances",
2001
+ "name": "_balances",
2002
+ "type": "tuple"
1806
2003
  }
1807
2004
  ],
1808
2005
  "stateMutability": "view",
@@ -1811,27 +2008,66 @@
1811
2008
  {
1812
2009
  "inputs": [
1813
2010
  {
1814
- "internalType": "uint256",
1815
- "name": "_start",
1816
- "type": "uint256"
1817
- },
1818
- {
1819
- "internalType": "uint256",
1820
- "name": "_end",
1821
- "type": "uint256"
2011
+ "internalType": "address",
2012
+ "name": "_account",
2013
+ "type": "address"
1822
2014
  }
1823
2015
  ],
1824
- "name": "getCustomInstructionHashes",
2016
+ "name": "getBalances",
1825
2017
  "outputs": [
1826
2018
  {
1827
- "internalType": "bytes32[]",
1828
- "name": "_customInstructionHashes",
1829
- "type": "bytes32[]"
1830
- },
1831
- {
1832
- "internalType": "uint256",
1833
- "name": "_totalLength",
1834
- "type": "uint256"
2019
+ "components": [
2020
+ {
2021
+ "internalType": "uint256",
2022
+ "name": "natBalance",
2023
+ "type": "uint256"
2024
+ },
2025
+ {
2026
+ "internalType": "uint256",
2027
+ "name": "wNatBalance",
2028
+ "type": "uint256"
2029
+ },
2030
+ {
2031
+ "internalType": "uint256",
2032
+ "name": "fXrpBalance",
2033
+ "type": "uint256"
2034
+ },
2035
+ {
2036
+ "components": [
2037
+ {
2038
+ "internalType": "uint256",
2039
+ "name": "vaultId",
2040
+ "type": "uint256"
2041
+ },
2042
+ {
2043
+ "internalType": "address",
2044
+ "name": "vaultAddress",
2045
+ "type": "address"
2046
+ },
2047
+ {
2048
+ "internalType": "enum IVaultsFacet.VaultType",
2049
+ "name": "vaultType",
2050
+ "type": "uint8"
2051
+ },
2052
+ {
2053
+ "internalType": "uint256",
2054
+ "name": "shares",
2055
+ "type": "uint256"
2056
+ },
2057
+ {
2058
+ "internalType": "uint256",
2059
+ "name": "assets",
2060
+ "type": "uint256"
2061
+ }
2062
+ ],
2063
+ "internalType": "struct IPersonalAccountReaderFacet.VaultBalance[]",
2064
+ "name": "vaults",
2065
+ "type": "tuple[]"
2066
+ }
2067
+ ],
2068
+ "internalType": "struct IPersonalAccountReaderFacet.AccountBalances",
2069
+ "name": "_balances",
2070
+ "type": "tuple"
1835
2071
  }
1836
2072
  ],
1837
2073
  "stateMutability": "view",
@@ -1869,6 +2105,25 @@
1869
2105
  "stateMutability": "view",
1870
2106
  "type": "function"
1871
2107
  },
2108
+ {
2109
+ "inputs": [
2110
+ {
2111
+ "internalType": "address",
2112
+ "name": "_personalAccount",
2113
+ "type": "address"
2114
+ }
2115
+ ],
2116
+ "name": "getExecutor",
2117
+ "outputs": [
2118
+ {
2119
+ "internalType": "address",
2120
+ "name": "",
2121
+ "type": "address"
2122
+ }
2123
+ ],
2124
+ "stateMutability": "view",
2125
+ "type": "function"
2126
+ },
1872
2127
  {
1873
2128
  "inputs": [],
1874
2129
  "name": "getExecutorInfo",
@@ -1906,6 +2161,38 @@
1906
2161
  "stateMutability": "view",
1907
2162
  "type": "function"
1908
2163
  },
2164
+ {
2165
+ "inputs": [
2166
+ {
2167
+ "internalType": "address",
2168
+ "name": "_personalAccount",
2169
+ "type": "address"
2170
+ }
2171
+ ],
2172
+ "name": "getNonce",
2173
+ "outputs": [
2174
+ {
2175
+ "internalType": "uint256",
2176
+ "name": "",
2177
+ "type": "uint256"
2178
+ }
2179
+ ],
2180
+ "stateMutability": "view",
2181
+ "type": "function"
2182
+ },
2183
+ {
2184
+ "inputs": [],
2185
+ "name": "getPausers",
2186
+ "outputs": [
2187
+ {
2188
+ "internalType": "address[]",
2189
+ "name": "",
2190
+ "type": "address[]"
2191
+ }
2192
+ ],
2193
+ "stateMutability": "view",
2194
+ "type": "function"
2195
+ },
1909
2196
  {
1910
2197
  "inputs": [],
1911
2198
  "name": "getPaymentProofValidityDurationSeconds",
@@ -1951,49 +2238,6 @@
1951
2238
  "stateMutability": "view",
1952
2239
  "type": "function"
1953
2240
  },
1954
- {
1955
- "inputs": [],
1956
- "name": "getSwapParams",
1957
- "outputs": [
1958
- {
1959
- "internalType": "address",
1960
- "name": "_uniswapV3Router",
1961
- "type": "address"
1962
- },
1963
- {
1964
- "internalType": "address",
1965
- "name": "_stableCoin",
1966
- "type": "address"
1967
- },
1968
- {
1969
- "internalType": "uint24",
1970
- "name": "_wNatStableCoinPoolFeeTierPPM",
1971
- "type": "uint24"
1972
- },
1973
- {
1974
- "internalType": "uint24",
1975
- "name": "_stableCoinFXrpPoolFeeTierPPM",
1976
- "type": "uint24"
1977
- },
1978
- {
1979
- "internalType": "uint24",
1980
- "name": "_maxSlippagePPM",
1981
- "type": "uint24"
1982
- },
1983
- {
1984
- "internalType": "bytes21",
1985
- "name": "_stableCoinUsdFeedId",
1986
- "type": "bytes21"
1987
- },
1988
- {
1989
- "internalType": "bytes21",
1990
- "name": "_wNatUsdFeedId",
1991
- "type": "bytes21"
1992
- }
1993
- ],
1994
- "stateMutability": "view",
1995
- "type": "function"
1996
- },
1997
2241
  {
1998
2242
  "inputs": [],
1999
2243
  "name": "getTimelockDurationSeconds",
@@ -2026,6 +2270,19 @@
2026
2270
  "stateMutability": "view",
2027
2271
  "type": "function"
2028
2272
  },
2273
+ {
2274
+ "inputs": [],
2275
+ "name": "getUnpausers",
2276
+ "outputs": [
2277
+ {
2278
+ "internalType": "address[]",
2279
+ "name": "",
2280
+ "type": "address[]"
2281
+ }
2282
+ ],
2283
+ "stateMutability": "view",
2284
+ "type": "function"
2285
+ },
2029
2286
  {
2030
2287
  "inputs": [],
2031
2288
  "name": "getVaults",
@@ -2041,7 +2298,7 @@
2041
2298
  "type": "address[]"
2042
2299
  },
2043
2300
  {
2044
- "internalType": "uint8[]",
2301
+ "internalType": "enum IVaultsFacet.VaultType[]",
2045
2302
  "name": "_vaultTypes",
2046
2303
  "type": "uint8[]"
2047
2304
  }
@@ -2075,6 +2332,62 @@
2075
2332
  "stateMutability": "view",
2076
2333
  "type": "function"
2077
2334
  },
2335
+ {
2336
+ "inputs": [],
2337
+ "name": "isPaused",
2338
+ "outputs": [
2339
+ {
2340
+ "internalType": "bool",
2341
+ "name": "",
2342
+ "type": "bool"
2343
+ }
2344
+ ],
2345
+ "stateMutability": "view",
2346
+ "type": "function"
2347
+ },
2348
+ {
2349
+ "inputs": [
2350
+ {
2351
+ "internalType": "address",
2352
+ "name": "_account",
2353
+ "type": "address"
2354
+ }
2355
+ ],
2356
+ "name": "isPauser",
2357
+ "outputs": [
2358
+ {
2359
+ "internalType": "bool",
2360
+ "name": "",
2361
+ "type": "bool"
2362
+ }
2363
+ ],
2364
+ "stateMutability": "view",
2365
+ "type": "function"
2366
+ },
2367
+ {
2368
+ "inputs": [
2369
+ {
2370
+ "internalType": "address",
2371
+ "name": "_address",
2372
+ "type": "address"
2373
+ }
2374
+ ],
2375
+ "name": "isSmartAccount",
2376
+ "outputs": [
2377
+ {
2378
+ "internalType": "bool",
2379
+ "name": "_isSmartAccount",
2380
+ "type": "bool"
2381
+ },
2382
+ {
2383
+ "internalType": "string",
2384
+ "name": "_xrplOwner",
2385
+ "type": "string"
2386
+ }
2387
+ ],
2388
+ "stateMutability": "view",
2389
+ "type": "function"
2390
+ },
2078
2391
  {
2079
2392
  "inputs": [
2080
2393
  {
@@ -2095,51 +2408,79 @@
2095
2408
  "type": "function"
2096
2409
  },
2097
2410
  {
2098
- "inputs": [],
2099
- "name": "owner",
2100
- "outputs": [
2411
+ "inputs": [
2101
2412
  {
2102
2413
  "internalType": "address",
2103
- "name": "owner_",
2414
+ "name": "_account",
2104
2415
  "type": "address"
2105
2416
  }
2106
2417
  ],
2418
+ "name": "isUnpauser",
2419
+ "outputs": [
2420
+ {
2421
+ "internalType": "bool",
2422
+ "name": "",
2423
+ "type": "bool"
2424
+ }
2425
+ ],
2107
2426
  "stateMutability": "view",
2108
2427
  "type": "function"
2109
2428
  },
2110
2429
  {
2111
2430
  "inputs": [
2112
2431
  {
2113
- "components": [
2114
- {
2115
- "internalType": "address",
2116
- "name": "targetContract",
2117
- "type": "address"
2118
- },
2119
- {
2120
- "internalType": "uint256",
2121
- "name": "value",
2122
- "type": "uint256"
2123
- },
2124
- {
2125
- "internalType": "bytes",
2126
- "name": "data",
2127
- "type": "bytes"
2128
- }
2129
- ],
2130
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
2131
- "name": "_customInstruction",
2132
- "type": "tuple[]"
2432
+ "internalType": "bytes32",
2433
+ "name": "_transactionId",
2434
+ "type": "bytes32"
2435
+ },
2436
+ {
2437
+ "internalType": "string",
2438
+ "name": "_sourceAddress",
2439
+ "type": "string"
2440
+ },
2441
+ {
2442
+ "internalType": "uint256",
2443
+ "name": "_amount",
2444
+ "type": "uint256"
2445
+ },
2446
+ {
2447
+ "internalType": "uint256",
2448
+ "name": "_underlyingTimestamp",
2449
+ "type": "uint256"
2450
+ },
2451
+ {
2452
+ "internalType": "bytes",
2453
+ "name": "_memoData",
2454
+ "type": "bytes"
2455
+ },
2456
+ {
2457
+ "internalType": "address payable",
2458
+ "name": "_executor",
2459
+ "type": "address"
2133
2460
  }
2134
2461
  ],
2135
- "name": "registerCustomInstruction",
2462
+ "name": "mintedFAssets",
2463
+ "outputs": [],
2464
+ "stateMutability": "payable",
2465
+ "type": "function"
2466
+ },
2467
+ {
2468
+ "inputs": [],
2469
+ "name": "owner",
2136
2470
  "outputs": [
2137
2471
  {
2138
- "internalType": "bytes32",
2139
- "name": "_customInstructionHash",
2140
- "type": "bytes32"
2472
+ "internalType": "address",
2473
+ "name": "owner_",
2474
+ "type": "address"
2141
2475
  }
2142
2476
  ],
2477
+ "stateMutability": "view",
2478
+ "type": "function"
2479
+ },
2480
+ {
2481
+ "inputs": [],
2482
+ "name": "pause",
2483
+ "outputs": [],
2143
2484
  "stateMutability": "nonpayable",
2144
2485
  "type": "function"
2145
2486
  },
@@ -2194,40 +2535,51 @@
2194
2535
  {
2195
2536
  "inputs": [
2196
2537
  {
2197
- "internalType": "string",
2198
- "name": "_xrplAddress",
2199
- "type": "string"
2538
+ "internalType": "address",
2539
+ "name": "_newOwner",
2540
+ "type": "address"
2200
2541
  }
2201
2542
  ],
2202
- "name": "swapStableCoinForFAsset",
2543
+ "name": "transferOwnership",
2203
2544
  "outputs": [],
2204
2545
  "stateMutability": "nonpayable",
2205
2546
  "type": "function"
2206
2547
  },
2207
2548
  {
2208
- "inputs": [
2209
- {
2210
- "internalType": "string",
2211
- "name": "_xrplAddress",
2212
- "type": "string"
2213
- }
2214
- ],
2215
- "name": "swapWNatForStableCoin",
2549
+ "inputs": [],
2550
+ "name": "unpause",
2216
2551
  "outputs": [],
2217
2552
  "stateMutability": "nonpayable",
2218
2553
  "type": "function"
2219
2554
  },
2220
2555
  {
2221
- "inputs": [
2556
+ "inputs": [],
2557
+ "name": "vaults",
2558
+ "outputs": [
2222
2559
  {
2223
- "internalType": "address",
2224
- "name": "_newOwner",
2225
- "type": "address"
2560
+ "components": [
2561
+ {
2562
+ "internalType": "uint256",
2563
+ "name": "vaultId",
2564
+ "type": "uint256"
2565
+ },
2566
+ {
2567
+ "internalType": "address",
2568
+ "name": "vaultAddress",
2569
+ "type": "address"
2570
+ },
2571
+ {
2572
+ "internalType": "enum IVaultsFacet.VaultType",
2573
+ "name": "vaultType",
2574
+ "type": "uint8"
2575
+ }
2576
+ ],
2577
+ "internalType": "struct IPersonalAccountReaderFacet.VaultInfo[]",
2578
+ "name": "_vaults",
2579
+ "type": "tuple[]"
2226
2580
  }
2227
2581
  ],
2228
- "name": "transferOwnership",
2229
- "outputs": [],
2230
- "stateMutability": "nonpayable",
2582
+ "stateMutability": "view",
2231
2583
  "type": "function"
2232
2584
  }
2233
2585
  ]