@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,609 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export const abi = [
3
+ {
4
+ "type": "function",
5
+ "name": "agenticRegistry",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "address",
11
+ "internalType": "contract IP3AgenticRegistryManager"
12
+ }
13
+ ],
14
+ "stateMutability": "view"
15
+ },
16
+ {
17
+ "type": "function",
18
+ "name": "bindCompliance",
19
+ "inputs": [
20
+ {
21
+ "name": "_compliance",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "outputs": [],
27
+ "stateMutability": "nonpayable"
28
+ },
29
+ {
30
+ "type": "function",
31
+ "name": "canComplianceBind",
32
+ "inputs": [
33
+ {
34
+ "name": "_compliance",
35
+ "type": "address",
36
+ "internalType": "address"
37
+ }
38
+ ],
39
+ "outputs": [
40
+ {
41
+ "name": "",
42
+ "type": "bool",
43
+ "internalType": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "view"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "complianceFactory",
51
+ "inputs": [],
52
+ "outputs": [
53
+ {
54
+ "name": "",
55
+ "type": "address",
56
+ "internalType": "contract IP3ComplianceFactory"
57
+ }
58
+ ],
59
+ "stateMutability": "view"
60
+ },
61
+ {
62
+ "type": "function",
63
+ "name": "hasClaim",
64
+ "inputs": [
65
+ {
66
+ "name": "userAddress_",
67
+ "type": "address",
68
+ "internalType": "address"
69
+ },
70
+ {
71
+ "name": "userType_",
72
+ "type": "uint8",
73
+ "internalType": "enum IP3AgenticRegistryManager.P3PermissionedUser"
74
+ }
75
+ ],
76
+ "outputs": [
77
+ {
78
+ "name": "",
79
+ "type": "bool",
80
+ "internalType": "bool"
81
+ }
82
+ ],
83
+ "stateMutability": "view"
84
+ },
85
+ {
86
+ "type": "function",
87
+ "name": "isActiveAgent",
88
+ "inputs": [
89
+ {
90
+ "name": "walletAddress_",
91
+ "type": "address",
92
+ "internalType": "address"
93
+ }
94
+ ],
95
+ "outputs": [
96
+ {
97
+ "name": "",
98
+ "type": "bool",
99
+ "internalType": "bool"
100
+ }
101
+ ],
102
+ "stateMutability": "view"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "isCalculatingAgent",
107
+ "inputs": [
108
+ {
109
+ "name": "walletAddress_",
110
+ "type": "address",
111
+ "internalType": "address"
112
+ }
113
+ ],
114
+ "outputs": [
115
+ {
116
+ "name": "",
117
+ "type": "bool",
118
+ "internalType": "bool"
119
+ }
120
+ ],
121
+ "stateMutability": "view"
122
+ },
123
+ {
124
+ "type": "function",
125
+ "name": "isComplianceBound",
126
+ "inputs": [
127
+ {
128
+ "name": "_compliance",
129
+ "type": "address",
130
+ "internalType": "address"
131
+ }
132
+ ],
133
+ "outputs": [
134
+ {
135
+ "name": "",
136
+ "type": "bool",
137
+ "internalType": "bool"
138
+ }
139
+ ],
140
+ "stateMutability": "view"
141
+ },
142
+ {
143
+ "type": "function",
144
+ "name": "isCustodian",
145
+ "inputs": [
146
+ {
147
+ "name": "walletAddress_",
148
+ "type": "address",
149
+ "internalType": "address"
150
+ }
151
+ ],
152
+ "outputs": [
153
+ {
154
+ "name": "",
155
+ "type": "bool",
156
+ "internalType": "bool"
157
+ }
158
+ ],
159
+ "stateMutability": "view"
160
+ },
161
+ {
162
+ "type": "function",
163
+ "name": "isDistributor",
164
+ "inputs": [
165
+ {
166
+ "name": "walletAddress_",
167
+ "type": "address",
168
+ "internalType": "address"
169
+ }
170
+ ],
171
+ "outputs": [
172
+ {
173
+ "name": "",
174
+ "type": "bool",
175
+ "internalType": "bool"
176
+ }
177
+ ],
178
+ "stateMutability": "view"
179
+ },
180
+ {
181
+ "type": "function",
182
+ "name": "isFundAccountant",
183
+ "inputs": [
184
+ {
185
+ "name": "walletAddress_",
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": "isInvestor",
202
+ "inputs": [
203
+ {
204
+ "name": "walletAddress_",
205
+ "type": "address",
206
+ "internalType": "address"
207
+ }
208
+ ],
209
+ "outputs": [
210
+ {
211
+ "name": "",
212
+ "type": "bool",
213
+ "internalType": "bool"
214
+ }
215
+ ],
216
+ "stateMutability": "view"
217
+ },
218
+ {
219
+ "type": "function",
220
+ "name": "isManager",
221
+ "inputs": [
222
+ {
223
+ "name": "walletAddress_",
224
+ "type": "address",
225
+ "internalType": "address"
226
+ }
227
+ ],
228
+ "outputs": [
229
+ {
230
+ "name": "",
231
+ "type": "bool",
232
+ "internalType": "bool"
233
+ }
234
+ ],
235
+ "stateMutability": "view"
236
+ },
237
+ {
238
+ "type": "function",
239
+ "name": "isPlugAndPlay",
240
+ "inputs": [],
241
+ "outputs": [
242
+ {
243
+ "name": "",
244
+ "type": "bool",
245
+ "internalType": "bool"
246
+ }
247
+ ],
248
+ "stateMutability": "pure"
249
+ },
250
+ {
251
+ "type": "function",
252
+ "name": "isTransferAgent",
253
+ "inputs": [
254
+ {
255
+ "name": "walletAddress_",
256
+ "type": "address",
257
+ "internalType": "address"
258
+ }
259
+ ],
260
+ "outputs": [
261
+ {
262
+ "name": "",
263
+ "type": "bool",
264
+ "internalType": "bool"
265
+ }
266
+ ],
267
+ "stateMutability": "view"
268
+ },
269
+ {
270
+ "type": "function",
271
+ "name": "isTreasury",
272
+ "inputs": [
273
+ {
274
+ "name": "walletAddress_",
275
+ "type": "address",
276
+ "internalType": "address"
277
+ }
278
+ ],
279
+ "outputs": [
280
+ {
281
+ "name": "",
282
+ "type": "bool",
283
+ "internalType": "bool"
284
+ }
285
+ ],
286
+ "stateMutability": "view"
287
+ },
288
+ {
289
+ "type": "function",
290
+ "name": "isUser",
291
+ "inputs": [
292
+ {
293
+ "name": "walletAddress_",
294
+ "type": "address",
295
+ "internalType": "address"
296
+ }
297
+ ],
298
+ "outputs": [
299
+ {
300
+ "name": "",
301
+ "type": "bool",
302
+ "internalType": "bool"
303
+ }
304
+ ],
305
+ "stateMutability": "view"
306
+ },
307
+ {
308
+ "type": "function",
309
+ "name": "moduleBurnAction",
310
+ "inputs": [
311
+ {
312
+ "name": "_from",
313
+ "type": "address",
314
+ "internalType": "address"
315
+ },
316
+ {
317
+ "name": "_value",
318
+ "type": "uint256",
319
+ "internalType": "uint256"
320
+ }
321
+ ],
322
+ "outputs": [],
323
+ "stateMutability": "nonpayable"
324
+ },
325
+ {
326
+ "type": "function",
327
+ "name": "moduleCheck",
328
+ "inputs": [
329
+ {
330
+ "name": "_from",
331
+ "type": "address",
332
+ "internalType": "address"
333
+ },
334
+ {
335
+ "name": "_to",
336
+ "type": "address",
337
+ "internalType": "address"
338
+ },
339
+ {
340
+ "name": "_value",
341
+ "type": "uint256",
342
+ "internalType": "uint256"
343
+ },
344
+ {
345
+ "name": "_compliance",
346
+ "type": "address",
347
+ "internalType": "address"
348
+ }
349
+ ],
350
+ "outputs": [
351
+ {
352
+ "name": "",
353
+ "type": "bool",
354
+ "internalType": "bool"
355
+ }
356
+ ],
357
+ "stateMutability": "view"
358
+ },
359
+ {
360
+ "type": "function",
361
+ "name": "moduleMintAction",
362
+ "inputs": [
363
+ {
364
+ "name": "_to",
365
+ "type": "address",
366
+ "internalType": "address"
367
+ },
368
+ {
369
+ "name": "_value",
370
+ "type": "uint256",
371
+ "internalType": "uint256"
372
+ }
373
+ ],
374
+ "outputs": [],
375
+ "stateMutability": "nonpayable"
376
+ },
377
+ {
378
+ "type": "function",
379
+ "name": "moduleTransferAction",
380
+ "inputs": [
381
+ {
382
+ "name": "_from",
383
+ "type": "address",
384
+ "internalType": "address"
385
+ },
386
+ {
387
+ "name": "_to",
388
+ "type": "address",
389
+ "internalType": "address"
390
+ },
391
+ {
392
+ "name": "_value",
393
+ "type": "uint256",
394
+ "internalType": "uint256"
395
+ }
396
+ ],
397
+ "outputs": [],
398
+ "stateMutability": "nonpayable"
399
+ },
400
+ {
401
+ "type": "function",
402
+ "name": "name",
403
+ "inputs": [],
404
+ "outputs": [
405
+ {
406
+ "name": "_name",
407
+ "type": "string",
408
+ "internalType": "string"
409
+ }
410
+ ],
411
+ "stateMutability": "pure"
412
+ },
413
+ {
414
+ "type": "function",
415
+ "name": "setAgenticRegistry",
416
+ "inputs": [
417
+ {
418
+ "name": "p3AgenticRegistry_",
419
+ "type": "address",
420
+ "internalType": "address"
421
+ }
422
+ ],
423
+ "outputs": [],
424
+ "stateMutability": "nonpayable"
425
+ },
426
+ {
427
+ "type": "function",
428
+ "name": "setComplianceFactory",
429
+ "inputs": [
430
+ {
431
+ "name": "newComplianceFactory_",
432
+ "type": "address",
433
+ "internalType": "address"
434
+ }
435
+ ],
436
+ "outputs": [],
437
+ "stateMutability": "nonpayable"
438
+ },
439
+ {
440
+ "type": "function",
441
+ "name": "unbindCompliance",
442
+ "inputs": [
443
+ {
444
+ "name": "_compliance",
445
+ "type": "address",
446
+ "internalType": "address"
447
+ }
448
+ ],
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable"
451
+ },
452
+ {
453
+ "type": "event",
454
+ "name": "AgenticRegistryUpdated",
455
+ "inputs": [
456
+ {
457
+ "name": "oldRegistry",
458
+ "type": "address",
459
+ "indexed": false,
460
+ "internalType": "address"
461
+ },
462
+ {
463
+ "name": "newRegistry",
464
+ "type": "address",
465
+ "indexed": false,
466
+ "internalType": "address"
467
+ }
468
+ ],
469
+ "anonymous": false
470
+ },
471
+ {
472
+ "type": "event",
473
+ "name": "ComplianceBound",
474
+ "inputs": [
475
+ {
476
+ "name": "_compliance",
477
+ "type": "address",
478
+ "indexed": true,
479
+ "internalType": "address"
480
+ }
481
+ ],
482
+ "anonymous": false
483
+ },
484
+ {
485
+ "type": "event",
486
+ "name": "ComplianceFactoryUpdated",
487
+ "inputs": [
488
+ {
489
+ "name": "oldFactory",
490
+ "type": "address",
491
+ "indexed": false,
492
+ "internalType": "address"
493
+ },
494
+ {
495
+ "name": "newFactory",
496
+ "type": "address",
497
+ "indexed": false,
498
+ "internalType": "address"
499
+ }
500
+ ],
501
+ "anonymous": false
502
+ },
503
+ {
504
+ "type": "event",
505
+ "name": "ComplianceUnbound",
506
+ "inputs": [
507
+ {
508
+ "name": "_compliance",
509
+ "type": "address",
510
+ "indexed": true,
511
+ "internalType": "address"
512
+ }
513
+ ],
514
+ "anonymous": false
515
+ },
516
+ {
517
+ "type": "event",
518
+ "name": "P3TokenTransferred",
519
+ "inputs": [
520
+ {
521
+ "name": "tokenType",
522
+ "type": "uint8",
523
+ "indexed": false,
524
+ "internalType": "enum IP3BasicToken.P3TokenTypes"
525
+ },
526
+ {
527
+ "name": "tokenAddr",
528
+ "type": "address",
529
+ "indexed": true,
530
+ "internalType": "address"
531
+ },
532
+ {
533
+ "name": "from",
534
+ "type": "address",
535
+ "indexed": false,
536
+ "internalType": "address"
537
+ },
538
+ {
539
+ "name": "to",
540
+ "type": "address",
541
+ "indexed": false,
542
+ "internalType": "address"
543
+ },
544
+ {
545
+ "name": "amount",
546
+ "type": "uint256",
547
+ "indexed": false,
548
+ "internalType": "uint256"
549
+ }
550
+ ],
551
+ "anonymous": false
552
+ },
553
+ {
554
+ "type": "error",
555
+ "name": "P3ComplianceModuleComplianceIsAlreadyBound",
556
+ "inputs": [
557
+ {
558
+ "name": "compliance",
559
+ "type": "address",
560
+ "internalType": "address"
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "type": "error",
566
+ "name": "P3ComplianceModuleInvalidCompliance",
567
+ "inputs": [
568
+ {
569
+ "name": "compliance",
570
+ "type": "address",
571
+ "internalType": "address"
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "type": "error",
577
+ "name": "P3ComplianceModuleNotABoundCompliance",
578
+ "inputs": [
579
+ {
580
+ "name": "compliance",
581
+ "type": "address",
582
+ "internalType": "address"
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "type": "error",
588
+ "name": "P3ComplianceModuleNotAnApprovedCompliance",
589
+ "inputs": [
590
+ {
591
+ "name": "compliance",
592
+ "type": "address",
593
+ "internalType": "address"
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "type": "error",
599
+ "name": "P3IsZeroAddress",
600
+ "inputs": [
601
+ {
602
+ "name": "",
603
+ "type": "string",
604
+ "internalType": "string"
605
+ }
606
+ ]
607
+ }
608
+ ];
609
+ export default abi;