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

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