@flarenetwork/flare-periphery-contract-artifacts 0.1.41 → 0.1.42

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 (39) hide show
  1. package/dist/coston2/abis.d.ts.map +1 -1
  2. package/dist/flare/abis.d.ts.map +1 -1
  3. package/dist/flare/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  4. package/dist/flare/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  5. package/dist/flare/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  6. package/dist/flare/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  7. package/dist/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +873 -0
  8. package/dist/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2233 -0
  9. package/dist/flare/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  10. package/dist/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +460 -0
  11. package/dist/flare/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  12. package/dist/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +188 -0
  13. package/dist/flare/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  14. package/dist/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +146 -0
  15. package/dist/flare/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  16. package/dist/flare/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  17. package/dist/flare/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  18. package/dist/flare/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  19. package/dist/flare/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  20. package/dist/index.js +48 -0
  21. package/dist/index.js.map +1 -1
  22. package/flare/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  23. package/flare/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  24. package/flare/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  25. package/flare/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  26. package/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +873 -0
  27. package/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2233 -0
  28. package/flare/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  29. package/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +460 -0
  30. package/flare/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  31. package/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +188 -0
  32. package/flare/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  33. package/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +146 -0
  34. package/flare/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  35. package/flare/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  36. package/flare/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  37. package/flare/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  38. package/flare/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  39. package/package.json +1 -1
@@ -0,0 +1,76 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "InvalidPaymentProofValidityDuration",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "InvalidReceivingAddressHash",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "InvalidSourceId",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "InvalidTransactionProof",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "InvalidTransactionStatus",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "MismatchingSourceAndXrplAddr",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "PaymentProofExpired",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint256",
43
+ "name": "paymentProofValidityDurationSeconds",
44
+ "type": "uint256"
45
+ }
46
+ ],
47
+ "name": "PaymentProofValidityDurationSecondsSet",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "getPaymentProofValidityDurationSeconds",
53
+ "outputs": [
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "stateMutability": "view",
61
+ "type": "function"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "getSourceId",
66
+ "outputs": [
67
+ {
68
+ "internalType": "bytes32",
69
+ "name": "",
70
+ "type": "bytes32"
71
+ }
72
+ ],
73
+ "stateMutability": "view",
74
+ "type": "function"
75
+ }
76
+ ]
@@ -0,0 +1,460 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "AgentNotAvailable",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "AlreadyInitialized",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "ApprovalFailed",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "components": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "targetContract",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "value",
29
+ "type": "uint256"
30
+ },
31
+ {
32
+ "internalType": "bytes",
33
+ "name": "data",
34
+ "type": "bytes"
35
+ }
36
+ ],
37
+ "internalType": "struct ICustomInstructionsFacet.CustomCall",
38
+ "name": "customCall",
39
+ "type": "tuple"
40
+ }
41
+ ],
42
+ "name": "CustomInstructionCallFailed",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "collateralReservationFee",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "executorFee",
55
+ "type": "uint256"
56
+ }
57
+ ],
58
+ "name": "InsufficientFundsForCollateralReservation",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [
63
+ {
64
+ "internalType": "uint256",
65
+ "name": "executorFee",
66
+ "type": "uint256"
67
+ }
68
+ ],
69
+ "name": "InsufficientFundsForRedeem",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "InvalidControllerAddress",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "InvalidXrplOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "OnlyController",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": false,
92
+ "internalType": "address",
93
+ "name": "fxrp",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": false,
98
+ "internalType": "address",
99
+ "name": "vault",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "amount",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "Approved",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": true,
117
+ "internalType": "address",
118
+ "name": "vault",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint256",
124
+ "name": "year",
125
+ "type": "uint256"
126
+ },
127
+ {
128
+ "indexed": false,
129
+ "internalType": "uint256",
130
+ "name": "month",
131
+ "type": "uint256"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "internalType": "uint256",
136
+ "name": "day",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint256",
142
+ "name": "shares",
143
+ "type": "uint256"
144
+ },
145
+ {
146
+ "indexed": false,
147
+ "internalType": "uint256",
148
+ "name": "amount",
149
+ "type": "uint256"
150
+ }
151
+ ],
152
+ "name": "Claimed",
153
+ "type": "event"
154
+ },
155
+ {
156
+ "anonymous": false,
157
+ "inputs": [
158
+ {
159
+ "indexed": false,
160
+ "internalType": "address",
161
+ "name": "agentVault",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "indexed": false,
166
+ "internalType": "uint256",
167
+ "name": "lots",
168
+ "type": "uint256"
169
+ },
170
+ {
171
+ "indexed": false,
172
+ "internalType": "address",
173
+ "name": "executor",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "indexed": false,
178
+ "internalType": "uint256",
179
+ "name": "executorFee",
180
+ "type": "uint256"
181
+ },
182
+ {
183
+ "indexed": false,
184
+ "internalType": "uint256",
185
+ "name": "collateralReservationId",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "name": "CollateralReserved",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "components": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "targetContract",
200
+ "type": "address"
201
+ },
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "value",
205
+ "type": "uint256"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "data",
210
+ "type": "bytes"
211
+ }
212
+ ],
213
+ "indexed": true,
214
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
215
+ "name": "customInstruction",
216
+ "type": "tuple[]"
217
+ }
218
+ ],
219
+ "name": "CustomInstructionExecuted",
220
+ "type": "event"
221
+ },
222
+ {
223
+ "anonymous": false,
224
+ "inputs": [
225
+ {
226
+ "indexed": true,
227
+ "internalType": "address",
228
+ "name": "vault",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "indexed": false,
233
+ "internalType": "uint256",
234
+ "name": "amount",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "indexed": false,
239
+ "internalType": "uint256",
240
+ "name": "shares",
241
+ "type": "uint256"
242
+ }
243
+ ],
244
+ "name": "Deposited",
245
+ "type": "event"
246
+ },
247
+ {
248
+ "anonymous": false,
249
+ "inputs": [
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint256",
253
+ "name": "lots",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "amount",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "address",
265
+ "name": "executor",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "uint256",
271
+ "name": "executorFee",
272
+ "type": "uint256"
273
+ }
274
+ ],
275
+ "name": "FXrpRedeemed",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": false,
283
+ "internalType": "address",
284
+ "name": "to",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "uint256",
290
+ "name": "amount",
291
+ "type": "uint256"
292
+ }
293
+ ],
294
+ "name": "FXrpTransferred",
295
+ "type": "event"
296
+ },
297
+ {
298
+ "anonymous": false,
299
+ "inputs": [
300
+ {
301
+ "indexed": true,
302
+ "internalType": "address",
303
+ "name": "vault",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "uint256",
309
+ "name": "shares",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "indexed": false,
314
+ "internalType": "uint256",
315
+ "name": "claimableEpoch",
316
+ "type": "uint256"
317
+ },
318
+ {
319
+ "indexed": false,
320
+ "internalType": "uint256",
321
+ "name": "year",
322
+ "type": "uint256"
323
+ },
324
+ {
325
+ "indexed": false,
326
+ "internalType": "uint256",
327
+ "name": "month",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "uint256",
333
+ "name": "day",
334
+ "type": "uint256"
335
+ }
336
+ ],
337
+ "name": "RedeemRequested",
338
+ "type": "event"
339
+ },
340
+ {
341
+ "anonymous": false,
342
+ "inputs": [
343
+ {
344
+ "indexed": true,
345
+ "internalType": "address",
346
+ "name": "vault",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "indexed": false,
351
+ "internalType": "uint256",
352
+ "name": "amount",
353
+ "type": "uint256"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "uint256",
358
+ "name": "shares",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "Redeemed",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": true,
370
+ "internalType": "address",
371
+ "name": "tokenIn",
372
+ "type": "address"
373
+ },
374
+ {
375
+ "indexed": true,
376
+ "internalType": "address",
377
+ "name": "tokenOut",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "indexed": false,
382
+ "internalType": "uint256",
383
+ "name": "amountIn",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "indexed": false,
388
+ "internalType": "uint256",
389
+ "name": "amountOut",
390
+ "type": "uint256"
391
+ }
392
+ ],
393
+ "name": "SwapExecuted",
394
+ "type": "event"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": true,
401
+ "internalType": "address",
402
+ "name": "vault",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "uint256",
408
+ "name": "period",
409
+ "type": "uint256"
410
+ },
411
+ {
412
+ "indexed": false,
413
+ "internalType": "uint256",
414
+ "name": "amount",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "WithdrawalClaimed",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "inputs": [],
423
+ "name": "controllerAddress",
424
+ "outputs": [
425
+ {
426
+ "internalType": "address",
427
+ "name": "",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [],
436
+ "name": "implementation",
437
+ "outputs": [
438
+ {
439
+ "internalType": "address",
440
+ "name": "",
441
+ "type": "address"
442
+ }
443
+ ],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "xrplOwner",
450
+ "outputs": [
451
+ {
452
+ "internalType": "string",
453
+ "name": "",
454
+ "type": "string"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ }
460
+ ]
@@ -0,0 +1,82 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "InvalidPersonalAccountImplementation",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [
9
+ {
10
+ "internalType": "address",
11
+ "name": "personalAccountAddress",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "name": "PersonalAccountNotSuccessfullyDeployed",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "anonymous": false,
20
+ "inputs": [
21
+ {
22
+ "indexed": true,
23
+ "internalType": "address",
24
+ "name": "personalAccount",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "string",
30
+ "name": "xrplOwner",
31
+ "type": "string"
32
+ }
33
+ ],
34
+ "name": "PersonalAccountCreated",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "address",
43
+ "name": "newImplementation",
44
+ "type": "address"
45
+ }
46
+ ],
47
+ "name": "PersonalAccountImplementationSet",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "string",
54
+ "name": "_xrplOwner",
55
+ "type": "string"
56
+ }
57
+ ],
58
+ "name": "getPersonalAccount",
59
+ "outputs": [
60
+ {
61
+ "internalType": "address",
62
+ "name": "",
63
+ "type": "address"
64
+ }
65
+ ],
66
+ "stateMutability": "view",
67
+ "type": "function"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "implementation",
72
+ "outputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "stateMutability": "view",
80
+ "type": "function"
81
+ }
82
+ ]