@pearldigital/p3-abis 3.0.1 → 3.2.3

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 (44) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +10 -2
  3. package/src/IAbstractFeeModule.d.ts +1 -1
  4. package/src/IAbstractTimelockUpgrade.d.ts +1 -1
  5. package/src/IAbstractTreasuryManagerRestricted.d.ts +1 -1
  6. package/src/IAbstractTreasuryRestricted.d.ts +1 -1
  7. package/src/IEquityTransferModule.d.ts +721 -0
  8. package/src/IEquityTransferModule.js +721 -0
  9. package/src/IP3AgentLimitComplianceModule.d.ts +1 -1
  10. package/src/IP3AgenticRegistryManager.d.ts +70 -1
  11. package/src/IP3AgenticRegistryManager.js +69 -0
  12. package/src/IP3AttestationManager.d.ts +63 -1
  13. package/src/IP3AttestationManager.js +62 -0
  14. package/src/IP3BasicToken.d.ts +1 -1
  15. package/src/IP3ComplianceFactory.d.ts +1 -1
  16. package/src/IP3ComplianceModule.d.ts +1 -1
  17. package/src/IP3DepositToken.d.ts +1 -1
  18. package/src/IP3DigitalSecurityToken.d.ts +1 -1
  19. package/src/IP3EIP3009.d.ts +1 -1
  20. package/src/IP3ERC20ConverterManager.d.ts +1 -1
  21. package/src/IP3ERC8004Connector.d.ts +1 -1
  22. package/src/IP3EquityVault.d.ts +1568 -0
  23. package/src/IP3EquityVault.js +1568 -0
  24. package/src/IP3FXSwap.d.ts +1 -1
  25. package/src/IP3ModularCompliance.d.ts +55 -1
  26. package/src/IP3ModularCompliance.js +54 -0
  27. package/src/IP3RWAVault.d.ts +1333 -0
  28. package/src/IP3RWAVault.js +1333 -0
  29. package/src/IP3ReputationComplianceModule.d.ts +40 -1
  30. package/src/IP3ReputationComplianceModule.js +39 -0
  31. package/src/IP3ReputationRegistry.d.ts +342 -0
  32. package/src/IP3ReputationRegistry.js +342 -0
  33. package/src/IP3StablecoinSwap.d.ts +54 -1
  34. package/src/IP3StablecoinSwap.js +53 -0
  35. package/src/IP3StablecoinToken.d.ts +1 -1
  36. package/src/IP3TokensFactory.d.ts +1 -1
  37. package/src/IP3TransferManager.d.ts +1 -1
  38. package/src/IP3TreasuryManager.d.ts +311 -6
  39. package/src/IP3TreasuryManager.js +310 -5
  40. package/src/IP3YieldBearingStablecoinToken.d.ts +1 -1
  41. package/src/IRecoveryVelocityComplianceModule.d.ts +1 -1
  42. package/src/ISolvencyComplianceModule.d.ts +1 -1
  43. package/src/index.d.ts +4 -0
  44. package/src/index.js +4 -0
@@ -23,6 +23,13 @@ export declare const abi: [
23
23
  "outputs": [],
24
24
  "stateMutability": "nonpayable"
25
25
  },
26
+ {
27
+ "type": "function",
28
+ "name": "cancelAttestationManager",
29
+ "inputs": [],
30
+ "outputs": [],
31
+ "stateMutability": "nonpayable"
32
+ },
26
33
  {
27
34
  "type": "function",
28
35
  "name": "cancelSolvencyToggle",
@@ -54,6 +61,26 @@ export declare const abi: [
54
61
  ],
55
62
  "stateMutability": "view"
56
63
  },
64
+ {
65
+ "type": "function",
66
+ "name": "clearSweptAccumulator",
67
+ "inputs": [
68
+ {
69
+ "name": "stablecoinToken_",
70
+ "type": "address",
71
+ "internalType": "address"
72
+ }
73
+ ],
74
+ "outputs": [],
75
+ "stateMutability": "nonpayable"
76
+ },
77
+ {
78
+ "type": "function",
79
+ "name": "executeAttestationManager",
80
+ "inputs": [],
81
+ "outputs": [],
82
+ "stateMutability": "nonpayable"
83
+ },
57
84
  {
58
85
  "type": "function",
59
86
  "name": "executeSolvencyToggle",
@@ -524,12 +551,22 @@ export declare const abi: [
524
551
  },
525
552
  {
526
553
  "type": "function",
527
- "name": "scheduleSolvencyToggle",
554
+ "name": "rebalanceCommonReserves",
528
555
  "inputs": [
529
556
  {
530
- "name": "enabled_",
531
- "type": "bool",
532
- "internalType": "bool"
557
+ "name": "fromToken_",
558
+ "type": "address",
559
+ "internalType": "address"
560
+ },
561
+ {
562
+ "name": "toToken_",
563
+ "type": "address",
564
+ "internalType": "address"
565
+ },
566
+ {
567
+ "name": "amount_",
568
+ "type": "uint256",
569
+ "internalType": "uint256"
533
570
  }
534
571
  ],
535
572
  "outputs": [],
@@ -537,7 +574,20 @@ export declare const abi: [
537
574
  },
538
575
  {
539
576
  "type": "function",
540
- "name": "setAttestationManager",
577
+ "name": "reserveRebalancer",
578
+ "inputs": [],
579
+ "outputs": [
580
+ {
581
+ "name": "",
582
+ "type": "address",
583
+ "internalType": "address"
584
+ }
585
+ ],
586
+ "stateMutability": "view"
587
+ },
588
+ {
589
+ "type": "function",
590
+ "name": "scheduleAttestationManager",
541
591
  "inputs": [
542
592
  {
543
593
  "name": "attestationManager_",
@@ -548,6 +598,19 @@ export declare const abi: [
548
598
  "outputs": [],
549
599
  "stateMutability": "nonpayable"
550
600
  },
601
+ {
602
+ "type": "function",
603
+ "name": "scheduleSolvencyToggle",
604
+ "inputs": [
605
+ {
606
+ "name": "enabled_",
607
+ "type": "bool",
608
+ "internalType": "bool"
609
+ }
610
+ ],
611
+ "outputs": [],
612
+ "stateMutability": "nonpayable"
613
+ },
551
614
  {
552
615
  "type": "function",
553
616
  "name": "setFeeCaps",
@@ -636,6 +699,37 @@ export declare const abi: [
636
699
  "outputs": [],
637
700
  "stateMutability": "nonpayable"
638
701
  },
702
+ {
703
+ "type": "function",
704
+ "name": "setReserveRebalancer",
705
+ "inputs": [
706
+ {
707
+ "name": "rebalancer_",
708
+ "type": "address",
709
+ "internalType": "address"
710
+ }
711
+ ],
712
+ "outputs": [],
713
+ "stateMutability": "nonpayable"
714
+ },
715
+ {
716
+ "type": "function",
717
+ "name": "setReserveWallet",
718
+ "inputs": [
719
+ {
720
+ "name": "stablecoin_",
721
+ "type": "address",
722
+ "internalType": "address"
723
+ },
724
+ {
725
+ "name": "wallet_",
726
+ "type": "address",
727
+ "internalType": "address"
728
+ }
729
+ ],
730
+ "outputs": [],
731
+ "stateMutability": "nonpayable"
732
+ },
639
733
  {
640
734
  "type": "function",
641
735
  "name": "setSolvencyToggleDelay",
@@ -810,6 +904,38 @@ export declare const abi: [
810
904
  "outputs": [],
811
905
  "stateMutability": "nonpayable"
812
906
  },
907
+ {
908
+ "type": "event",
909
+ "name": "AttestationManagerScheduleCancelled",
910
+ "inputs": [
911
+ {
912
+ "name": "cancelledAddress",
913
+ "type": "address",
914
+ "indexed": true,
915
+ "internalType": "address"
916
+ }
917
+ ],
918
+ "anonymous": false
919
+ },
920
+ {
921
+ "type": "event",
922
+ "name": "AttestationManagerScheduled",
923
+ "inputs": [
924
+ {
925
+ "name": "newAttestationManager",
926
+ "type": "address",
927
+ "indexed": true,
928
+ "internalType": "address"
929
+ },
930
+ {
931
+ "name": "readyAt",
932
+ "type": "uint256",
933
+ "indexed": false,
934
+ "internalType": "uint256"
935
+ }
936
+ ],
937
+ "anonymous": false
938
+ },
813
939
  {
814
940
  "type": "event",
815
941
  "name": "AttestationManagerUpdated",
@@ -891,6 +1017,31 @@ export declare const abi: [
891
1017
  ],
892
1018
  "anonymous": false
893
1019
  },
1020
+ {
1021
+ "type": "event",
1022
+ "name": "P3CommonReservesRebalanced",
1023
+ "inputs": [
1024
+ {
1025
+ "name": "fromToken",
1026
+ "type": "address",
1027
+ "indexed": true,
1028
+ "internalType": "address"
1029
+ },
1030
+ {
1031
+ "name": "toToken",
1032
+ "type": "address",
1033
+ "indexed": true,
1034
+ "internalType": "address"
1035
+ },
1036
+ {
1037
+ "name": "amount",
1038
+ "type": "uint256",
1039
+ "indexed": false,
1040
+ "internalType": "uint256"
1041
+ }
1042
+ ],
1043
+ "anonymous": false
1044
+ },
894
1045
  {
895
1046
  "type": "event",
896
1047
  "name": "P3TokenBurned",
@@ -1107,6 +1258,25 @@ export declare const abi: [
1107
1258
  ],
1108
1259
  "anonymous": false
1109
1260
  },
1261
+ {
1262
+ "type": "event",
1263
+ "name": "ReserveRebalancerUpdated",
1264
+ "inputs": [
1265
+ {
1266
+ "name": "previousRebalancer",
1267
+ "type": "address",
1268
+ "indexed": true,
1269
+ "internalType": "address"
1270
+ },
1271
+ {
1272
+ "name": "newRebalancer",
1273
+ "type": "address",
1274
+ "indexed": true,
1275
+ "internalType": "address"
1276
+ }
1277
+ ],
1278
+ "anonymous": false
1279
+ },
1110
1280
  {
1111
1281
  "type": "event",
1112
1282
  "name": "ReserveWalletAssigned",
@@ -1171,6 +1341,19 @@ export declare const abi: [
1171
1341
  ],
1172
1342
  "anonymous": false
1173
1343
  },
1344
+ {
1345
+ "type": "event",
1346
+ "name": "SweptAccumulatorCleared",
1347
+ "inputs": [
1348
+ {
1349
+ "name": "stablecoinToken",
1350
+ "type": "address",
1351
+ "indexed": true,
1352
+ "internalType": "address"
1353
+ }
1354
+ ],
1355
+ "anonymous": false
1356
+ },
1174
1357
  {
1175
1358
  "type": "event",
1176
1359
  "name": "YieldBatchSettled",
@@ -1233,6 +1416,27 @@ export declare const abi: [
1233
1416
  ],
1234
1417
  "anonymous": false
1235
1418
  },
1419
+ {
1420
+ "type": "error",
1421
+ "name": "P3InsufficientCommonReserve",
1422
+ "inputs": [
1423
+ {
1424
+ "name": "fromToken",
1425
+ "type": "address",
1426
+ "internalType": "address"
1427
+ },
1428
+ {
1429
+ "name": "toToken",
1430
+ "type": "address",
1431
+ "internalType": "address"
1432
+ },
1433
+ {
1434
+ "name": "shortfall",
1435
+ "type": "uint256",
1436
+ "internalType": "uint256"
1437
+ }
1438
+ ]
1439
+ },
1236
1440
  {
1237
1441
  "type": "error",
1238
1442
  "name": "P3IsZeroAddress",
@@ -1244,6 +1448,49 @@ export declare const abi: [
1244
1448
  }
1245
1449
  ]
1246
1450
  },
1451
+ {
1452
+ "type": "error",
1453
+ "name": "P3ReserveDecimalsMismatch",
1454
+ "inputs": [
1455
+ {
1456
+ "name": "stablecoin",
1457
+ "type": "address",
1458
+ "internalType": "address"
1459
+ },
1460
+ {
1461
+ "name": "mismatched",
1462
+ "type": "address",
1463
+ "internalType": "address"
1464
+ }
1465
+ ]
1466
+ },
1467
+ {
1468
+ "type": "error",
1469
+ "name": "P3ReserveRatioMismatch",
1470
+ "inputs": [
1471
+ {
1472
+ "name": "fromToken",
1473
+ "type": "address",
1474
+ "internalType": "address"
1475
+ },
1476
+ {
1477
+ "name": "toToken",
1478
+ "type": "address",
1479
+ "internalType": "address"
1480
+ }
1481
+ ]
1482
+ },
1483
+ {
1484
+ "type": "error",
1485
+ "name": "P3ReserveWalletNotConfigured",
1486
+ "inputs": [
1487
+ {
1488
+ "name": "token",
1489
+ "type": "address",
1490
+ "internalType": "address"
1491
+ }
1492
+ ]
1493
+ },
1247
1494
  {
1248
1495
  "type": "error",
1249
1496
  "name": "P3TreasuryManagerAgentCannotForceTransfer",
@@ -1260,6 +1507,22 @@ export declare const abi: [
1260
1507
  "name": "P3TreasuryManagerAttestationManagerNotSet",
1261
1508
  "inputs": []
1262
1509
  },
1510
+ {
1511
+ "type": "error",
1512
+ "name": "P3TreasuryManagerAttestationManagerTimelockNotElapsed",
1513
+ "inputs": [
1514
+ {
1515
+ "name": "readyAt",
1516
+ "type": "uint256",
1517
+ "internalType": "uint256"
1518
+ },
1519
+ {
1520
+ "name": "currentTime",
1521
+ "type": "uint256",
1522
+ "internalType": "uint256"
1523
+ }
1524
+ ]
1525
+ },
1263
1526
  {
1264
1527
  "type": "error",
1265
1528
  "name": "P3TreasuryManagerCannotClearAttestationManagerWhileSolvencyEnabled",
@@ -1394,6 +1657,11 @@ export declare const abi: [
1394
1657
  }
1395
1658
  ]
1396
1659
  },
1660
+ {
1661
+ "type": "error",
1662
+ "name": "P3TreasuryManagerNoAttestationManagerScheduled",
1663
+ "inputs": []
1664
+ },
1397
1665
  {
1398
1666
  "type": "error",
1399
1667
  "name": "P3TreasuryManagerNoExcessReserve",
@@ -1458,6 +1726,17 @@ export declare const abi: [
1458
1726
  }
1459
1727
  ]
1460
1728
  },
1729
+ {
1730
+ "type": "error",
1731
+ "name": "P3TreasuryManagerReserveRatioNotConfigured",
1732
+ "inputs": [
1733
+ {
1734
+ "name": "token",
1735
+ "type": "address",
1736
+ "internalType": "address"
1737
+ }
1738
+ ]
1739
+ },
1461
1740
  {
1462
1741
  "type": "error",
1463
1742
  "name": "P3TreasuryManagerReserveWalletAlreadyAssigned",
@@ -1553,6 +1832,32 @@ export declare const abi: [
1553
1832
  }
1554
1833
  ]
1555
1834
  },
1835
+ {
1836
+ "type": "error",
1837
+ "name": "P3TreasuryManagerSweepAccumulatorExceeds",
1838
+ "inputs": [
1839
+ {
1840
+ "name": "token",
1841
+ "type": "address",
1842
+ "internalType": "address"
1843
+ },
1844
+ {
1845
+ "name": "cumulativeSwept",
1846
+ "type": "uint256",
1847
+ "internalType": "uint256"
1848
+ },
1849
+ {
1850
+ "name": "maxExcessValue",
1851
+ "type": "uint256",
1852
+ "internalType": "uint256"
1853
+ },
1854
+ {
1855
+ "name": "available",
1856
+ "type": "uint256",
1857
+ "internalType": "uint256"
1858
+ }
1859
+ ]
1860
+ },
1556
1861
  {
1557
1862
  "type": "error",
1558
1863
  "name": "P3TreasuryManagerSweepExceedsExcess",
@@ -1648,5 +1953,5 @@ export declare const abi: [
1648
1953
  "name": "P3TreasuryManagerZeroAmount",
1649
1954
  "inputs": []
1650
1955
  }
1651
- ] as const;
1956
+ ];
1652
1957
  export default abi;