@pearldigital/p3-abis 3.0.0

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 (57) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +50 -0
  3. package/package.json +37 -0
  4. package/src/IAbstractFeeModule.d.ts +252 -0
  5. package/src/IAbstractFeeModule.js +252 -0
  6. package/src/IAbstractTimelockUpgrade.d.ts +169 -0
  7. package/src/IAbstractTimelockUpgrade.js +169 -0
  8. package/src/IAbstractTreasuryManagerRestricted.d.ts +15 -0
  9. package/src/IAbstractTreasuryManagerRestricted.js +15 -0
  10. package/src/IAbstractTreasuryRestricted.d.ts +15 -0
  11. package/src/IAbstractTreasuryRestricted.js +15 -0
  12. package/src/IP3AgentLimitComplianceModule.d.ts +761 -0
  13. package/src/IP3AgentLimitComplianceModule.js +761 -0
  14. package/src/IP3AgenticRegistryManager.d.ts +2074 -0
  15. package/src/IP3AgenticRegistryManager.js +2074 -0
  16. package/src/IP3AttestationManager.d.ts +1347 -0
  17. package/src/IP3AttestationManager.js +1347 -0
  18. package/src/IP3BasicToken.d.ts +951 -0
  19. package/src/IP3BasicToken.js +951 -0
  20. package/src/IP3ComplianceFactory.d.ts +591 -0
  21. package/src/IP3ComplianceFactory.js +591 -0
  22. package/src/IP3ComplianceModule.d.ts +609 -0
  23. package/src/IP3ComplianceModule.js +609 -0
  24. package/src/IP3DepositToken.d.ts +1104 -0
  25. package/src/IP3DepositToken.js +1104 -0
  26. package/src/IP3DigitalSecurityToken.d.ts +1197 -0
  27. package/src/IP3DigitalSecurityToken.js +1197 -0
  28. package/src/IP3EIP3009.d.ts +586 -0
  29. package/src/IP3EIP3009.js +586 -0
  30. package/src/IP3ERC20ConverterManager.d.ts +867 -0
  31. package/src/IP3ERC20ConverterManager.js +867 -0
  32. package/src/IP3ERC8004Connector.d.ts +955 -0
  33. package/src/IP3ERC8004Connector.js +955 -0
  34. package/src/IP3FXSwap.d.ts +779 -0
  35. package/src/IP3FXSwap.js +779 -0
  36. package/src/IP3ModularCompliance.d.ts +771 -0
  37. package/src/IP3ModularCompliance.js +771 -0
  38. package/src/IP3ReputationComplianceModule.d.ts +691 -0
  39. package/src/IP3ReputationComplianceModule.js +691 -0
  40. package/src/IP3StablecoinSwap.d.ts +1082 -0
  41. package/src/IP3StablecoinSwap.js +1082 -0
  42. package/src/IP3StablecoinToken.d.ts +1127 -0
  43. package/src/IP3StablecoinToken.js +1127 -0
  44. package/src/IP3TokensFactory.d.ts +431 -0
  45. package/src/IP3TokensFactory.js +431 -0
  46. package/src/IP3TransferManager.d.ts +1234 -0
  47. package/src/IP3TransferManager.js +1234 -0
  48. package/src/IP3TreasuryManager.d.ts +1652 -0
  49. package/src/IP3TreasuryManager.js +1652 -0
  50. package/src/IP3YieldBearingStablecoinToken.d.ts +1163 -0
  51. package/src/IP3YieldBearingStablecoinToken.js +1163 -0
  52. package/src/IRecoveryVelocityComplianceModule.d.ts +1032 -0
  53. package/src/IRecoveryVelocityComplianceModule.js +1032 -0
  54. package/src/ISolvencyComplianceModule.d.ts +653 -0
  55. package/src/ISolvencyComplianceModule.js +653 -0
  56. package/src/index.d.ts +27 -0
  57. package/src/index.js +27 -0
@@ -0,0 +1,591 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export const abi = [
3
+ {
4
+ "type": "function",
5
+ "name": "beaconUpgradeDelay",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "uint256",
11
+ "internalType": "uint256"
12
+ }
13
+ ],
14
+ "stateMutability": "view"
15
+ },
16
+ {
17
+ "type": "function",
18
+ "name": "beaconUpgradeReadyAt",
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "",
23
+ "type": "uint256",
24
+ "internalType": "uint256"
25
+ }
26
+ ],
27
+ "stateMutability": "view"
28
+ },
29
+ {
30
+ "type": "function",
31
+ "name": "cancelBeaconUpgrade",
32
+ "inputs": [],
33
+ "outputs": [],
34
+ "stateMutability": "nonpayable"
35
+ },
36
+ {
37
+ "type": "function",
38
+ "name": "deployCompliance",
39
+ "inputs": [
40
+ {
41
+ "name": "tokenType_",
42
+ "type": "uint8",
43
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
44
+ }
45
+ ],
46
+ "outputs": [
47
+ {
48
+ "name": "",
49
+ "type": "address",
50
+ "internalType": "address"
51
+ }
52
+ ],
53
+ "stateMutability": "nonpayable"
54
+ },
55
+ {
56
+ "type": "function",
57
+ "name": "getModularComplianceImpl",
58
+ "inputs": [],
59
+ "outputs": [
60
+ {
61
+ "name": "",
62
+ "type": "address",
63
+ "internalType": "address"
64
+ }
65
+ ],
66
+ "stateMutability": "view"
67
+ },
68
+ {
69
+ "type": "function",
70
+ "name": "getModularComplianceTokenType",
71
+ "inputs": [
72
+ {
73
+ "name": "modularComplianceAddr_",
74
+ "type": "address",
75
+ "internalType": "address"
76
+ }
77
+ ],
78
+ "outputs": [
79
+ {
80
+ "name": "",
81
+ "type": "uint8",
82
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
83
+ }
84
+ ],
85
+ "stateMutability": "view"
86
+ },
87
+ {
88
+ "type": "function",
89
+ "name": "getSupportedComplianceInfo",
90
+ "inputs": [
91
+ {
92
+ "name": "tokenType_",
93
+ "type": "uint8",
94
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
95
+ }
96
+ ],
97
+ "outputs": [
98
+ {
99
+ "name": "",
100
+ "type": "tuple",
101
+ "internalType": "struct IP3ComplianceFactory.ModularComplianceInfo",
102
+ "components": [
103
+ {
104
+ "name": "maxModulesCount",
105
+ "type": "uint256",
106
+ "internalType": "uint256"
107
+ },
108
+ {
109
+ "name": "modules",
110
+ "type": "address[]",
111
+ "internalType": "address[]"
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "stateMutability": "view"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "getSupportedComplianceModules",
121
+ "inputs": [
122
+ {
123
+ "name": "tokenType_",
124
+ "type": "uint8",
125
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
126
+ }
127
+ ],
128
+ "outputs": [
129
+ {
130
+ "name": "",
131
+ "type": "address[]",
132
+ "internalType": "address[]"
133
+ }
134
+ ],
135
+ "stateMutability": "view"
136
+ },
137
+ {
138
+ "type": "function",
139
+ "name": "getSupportedComplianceModulesCount",
140
+ "inputs": [
141
+ {
142
+ "name": "tokenType_",
143
+ "type": "uint8",
144
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
145
+ }
146
+ ],
147
+ "outputs": [
148
+ {
149
+ "name": "",
150
+ "type": "uint256",
151
+ "internalType": "uint256"
152
+ }
153
+ ],
154
+ "stateMutability": "view"
155
+ },
156
+ {
157
+ "type": "function",
158
+ "name": "isModularCompliance",
159
+ "inputs": [
160
+ {
161
+ "name": "modularComplianceAddr_",
162
+ "type": "address",
163
+ "internalType": "address"
164
+ }
165
+ ],
166
+ "outputs": [
167
+ {
168
+ "name": "",
169
+ "type": "bool",
170
+ "internalType": "bool"
171
+ }
172
+ ],
173
+ "stateMutability": "view"
174
+ },
175
+ {
176
+ "type": "function",
177
+ "name": "isSupportedComplianceModule",
178
+ "inputs": [
179
+ {
180
+ "name": "tokenType_",
181
+ "type": "uint8",
182
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
183
+ },
184
+ {
185
+ "name": "moduleToCheck_",
186
+ "type": "address",
187
+ "internalType": "address"
188
+ }
189
+ ],
190
+ "outputs": [
191
+ {
192
+ "name": "",
193
+ "type": "bool",
194
+ "internalType": "bool"
195
+ }
196
+ ],
197
+ "stateMutability": "view"
198
+ },
199
+ {
200
+ "type": "function",
201
+ "name": "modularComplianceBeacon",
202
+ "inputs": [],
203
+ "outputs": [
204
+ {
205
+ "name": "",
206
+ "type": "address",
207
+ "internalType": "contract ProxyBeacon"
208
+ }
209
+ ],
210
+ "stateMutability": "view"
211
+ },
212
+ {
213
+ "type": "function",
214
+ "name": "scheduleBeaconUpgrade",
215
+ "inputs": [
216
+ {
217
+ "name": "newModularComplianceImpl_",
218
+ "type": "address",
219
+ "internalType": "address"
220
+ }
221
+ ],
222
+ "outputs": [],
223
+ "stateMutability": "nonpayable"
224
+ },
225
+ {
226
+ "type": "function",
227
+ "name": "scheduleModularComplianceRemoval",
228
+ "inputs": [
229
+ {
230
+ "name": "modularCompliance_",
231
+ "type": "address",
232
+ "internalType": "address"
233
+ },
234
+ {
235
+ "name": "modulesToRemove_",
236
+ "type": "address[]",
237
+ "internalType": "address[]"
238
+ }
239
+ ],
240
+ "outputs": [],
241
+ "stateMutability": "nonpayable"
242
+ },
243
+ {
244
+ "type": "function",
245
+ "name": "scheduledBeaconImplementation",
246
+ "inputs": [],
247
+ "outputs": [
248
+ {
249
+ "name": "",
250
+ "type": "address",
251
+ "internalType": "address"
252
+ }
253
+ ],
254
+ "stateMutability": "view"
255
+ },
256
+ {
257
+ "type": "function",
258
+ "name": "setBeaconUpgradeDelay",
259
+ "inputs": [
260
+ {
261
+ "name": "newDelay_",
262
+ "type": "uint256",
263
+ "internalType": "uint256"
264
+ }
265
+ ],
266
+ "outputs": [],
267
+ "stateMutability": "nonpayable"
268
+ },
269
+ {
270
+ "type": "function",
271
+ "name": "setTreasuryManager",
272
+ "inputs": [
273
+ {
274
+ "name": "newTreasuryManager_",
275
+ "type": "address",
276
+ "internalType": "address"
277
+ }
278
+ ],
279
+ "outputs": [],
280
+ "stateMutability": "nonpayable"
281
+ },
282
+ {
283
+ "type": "function",
284
+ "name": "treasuryManager",
285
+ "inputs": [],
286
+ "outputs": [
287
+ {
288
+ "name": "",
289
+ "type": "address",
290
+ "internalType": "address"
291
+ }
292
+ ],
293
+ "stateMutability": "view"
294
+ },
295
+ {
296
+ "type": "function",
297
+ "name": "updateModularComplianceData",
298
+ "inputs": [
299
+ {
300
+ "name": "updateModularComplianceDataArr_",
301
+ "type": "tuple[]",
302
+ "internalType": "struct IP3ComplianceFactory.UpdateModularComplianceData[]",
303
+ "components": [
304
+ {
305
+ "name": "modularCompliance",
306
+ "type": "address",
307
+ "internalType": "address"
308
+ },
309
+ {
310
+ "name": "complianceInfo",
311
+ "type": "tuple",
312
+ "internalType": "struct IP3ComplianceFactory.ModularComplianceInfo",
313
+ "components": [
314
+ {
315
+ "name": "maxModulesCount",
316
+ "type": "uint256",
317
+ "internalType": "uint256"
318
+ },
319
+ {
320
+ "name": "modules",
321
+ "type": "address[]",
322
+ "internalType": "address[]"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "name": "isAdding",
328
+ "type": "bool",
329
+ "internalType": "bool"
330
+ }
331
+ ]
332
+ }
333
+ ],
334
+ "outputs": [],
335
+ "stateMutability": "nonpayable"
336
+ },
337
+ {
338
+ "type": "function",
339
+ "name": "updateModularComplianceImpl",
340
+ "inputs": [
341
+ {
342
+ "name": "newModularComplianceImpl_",
343
+ "type": "address",
344
+ "internalType": "address"
345
+ }
346
+ ],
347
+ "outputs": [],
348
+ "stateMutability": "nonpayable"
349
+ },
350
+ {
351
+ "type": "function",
352
+ "name": "updateSupportedComplianceData",
353
+ "inputs": [
354
+ {
355
+ "name": "updateSupportedComplianceDataArr_",
356
+ "type": "tuple[]",
357
+ "internalType": "struct IP3ComplianceFactory.UpdateSupportedComplianceData[]",
358
+ "components": [
359
+ {
360
+ "name": "tokenType",
361
+ "type": "uint8",
362
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
363
+ },
364
+ {
365
+ "name": "complianceInfo",
366
+ "type": "tuple",
367
+ "internalType": "struct IP3ComplianceFactory.ModularComplianceInfo",
368
+ "components": [
369
+ {
370
+ "name": "maxModulesCount",
371
+ "type": "uint256",
372
+ "internalType": "uint256"
373
+ },
374
+ {
375
+ "name": "modules",
376
+ "type": "address[]",
377
+ "internalType": "address[]"
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "name": "isAdding",
383
+ "type": "bool",
384
+ "internalType": "bool"
385
+ }
386
+ ]
387
+ }
388
+ ],
389
+ "outputs": [],
390
+ "stateMutability": "nonpayable"
391
+ },
392
+ {
393
+ "type": "event",
394
+ "name": "BeaconUpgradeCancelled",
395
+ "inputs": [
396
+ {
397
+ "name": "cancelledImplementation",
398
+ "type": "address",
399
+ "indexed": true,
400
+ "internalType": "address"
401
+ }
402
+ ],
403
+ "anonymous": false
404
+ },
405
+ {
406
+ "type": "event",
407
+ "name": "BeaconUpgradeDelayUpdated",
408
+ "inputs": [
409
+ {
410
+ "name": "newDelay",
411
+ "type": "uint256",
412
+ "indexed": true,
413
+ "internalType": "uint256"
414
+ }
415
+ ],
416
+ "anonymous": false
417
+ },
418
+ {
419
+ "type": "event",
420
+ "name": "BeaconUpgradeScheduled",
421
+ "inputs": [
422
+ {
423
+ "name": "newImplementation",
424
+ "type": "address",
425
+ "indexed": true,
426
+ "internalType": "address"
427
+ },
428
+ {
429
+ "name": "readyAt",
430
+ "type": "uint256",
431
+ "indexed": true,
432
+ "internalType": "uint256"
433
+ }
434
+ ],
435
+ "anonymous": false
436
+ },
437
+ {
438
+ "type": "event",
439
+ "name": "P3ComplianceDeployed",
440
+ "inputs": [
441
+ {
442
+ "name": "tokenType",
443
+ "type": "uint8",
444
+ "indexed": true,
445
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
446
+ },
447
+ {
448
+ "name": "newComplianceContract",
449
+ "type": "address",
450
+ "indexed": true,
451
+ "internalType": "address"
452
+ }
453
+ ],
454
+ "anonymous": false
455
+ },
456
+ {
457
+ "type": "event",
458
+ "name": "TreasuryManagerUpdated",
459
+ "inputs": [
460
+ {
461
+ "name": "oldTreasuryManager",
462
+ "type": "address",
463
+ "indexed": true,
464
+ "internalType": "address"
465
+ },
466
+ {
467
+ "name": "newTreasuryManager",
468
+ "type": "address",
469
+ "indexed": true,
470
+ "internalType": "address"
471
+ }
472
+ ],
473
+ "anonymous": false
474
+ },
475
+ {
476
+ "type": "error",
477
+ "name": "BeaconUpgradeDelayTooShort",
478
+ "inputs": [
479
+ {
480
+ "name": "provided",
481
+ "type": "uint256",
482
+ "internalType": "uint256"
483
+ },
484
+ {
485
+ "name": "minimum",
486
+ "type": "uint256",
487
+ "internalType": "uint256"
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "type": "error",
493
+ "name": "BeaconUpgradeNotScheduled",
494
+ "inputs": [
495
+ {
496
+ "name": "scheduled",
497
+ "type": "address",
498
+ "internalType": "address"
499
+ },
500
+ {
501
+ "name": "provided",
502
+ "type": "address",
503
+ "internalType": "address"
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "type": "error",
509
+ "name": "BeaconUpgradeTimelockNotElapsed",
510
+ "inputs": [
511
+ {
512
+ "name": "readyAt",
513
+ "type": "uint256",
514
+ "internalType": "uint256"
515
+ },
516
+ {
517
+ "name": "currentTime",
518
+ "type": "uint256",
519
+ "internalType": "uint256"
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "type": "error",
525
+ "name": "P3ComplianceFactoryInvalidModularComplianceData",
526
+ "inputs": [
527
+ {
528
+ "name": "modularComplianceData",
529
+ "type": "tuple",
530
+ "internalType": "struct IP3ComplianceFactory.UpdateModularComplianceData",
531
+ "components": [
532
+ {
533
+ "name": "modularCompliance",
534
+ "type": "address",
535
+ "internalType": "address"
536
+ },
537
+ {
538
+ "name": "complianceInfo",
539
+ "type": "tuple",
540
+ "internalType": "struct IP3ComplianceFactory.ModularComplianceInfo",
541
+ "components": [
542
+ {
543
+ "name": "maxModulesCount",
544
+ "type": "uint256",
545
+ "internalType": "uint256"
546
+ },
547
+ {
548
+ "name": "modules",
549
+ "type": "address[]",
550
+ "internalType": "address[]"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "name": "isAdding",
556
+ "type": "bool",
557
+ "internalType": "bool"
558
+ }
559
+ ]
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "error",
565
+ "name": "P3ComplianceFactoryInvalidTokenType",
566
+ "inputs": []
567
+ },
568
+ {
569
+ "type": "error",
570
+ "name": "P3ComplianceFactoryNotAModularCompliance",
571
+ "inputs": [
572
+ {
573
+ "name": "complianceAddr",
574
+ "type": "address",
575
+ "internalType": "address"
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "type": "error",
581
+ "name": "P3ComplianceFactoryZeroAddr",
582
+ "inputs": [
583
+ {
584
+ "name": "paramName",
585
+ "type": "string",
586
+ "internalType": "string"
587
+ }
588
+ ]
589
+ }
590
+ ];
591
+ export default abi;