@pearldigital/p3-abis 3.0.0 → 3.2.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 (40) 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 +1 -1
  11. package/src/IP3AttestationManager.d.ts +1 -1
  12. package/src/IP3BasicToken.d.ts +1 -1
  13. package/src/IP3ComplianceFactory.d.ts +1 -1
  14. package/src/IP3ComplianceModule.d.ts +1 -1
  15. package/src/IP3DepositToken.d.ts +1 -1
  16. package/src/IP3DigitalSecurityToken.d.ts +1 -1
  17. package/src/IP3EIP3009.d.ts +1 -1
  18. package/src/IP3ERC20ConverterManager.d.ts +1 -1
  19. package/src/IP3ERC8004Connector.d.ts +1 -1
  20. package/src/IP3EquityVault.d.ts +1473 -0
  21. package/src/IP3EquityVault.js +1473 -0
  22. package/src/IP3FXSwap.d.ts +1 -1
  23. package/src/IP3ModularCompliance.d.ts +1 -1
  24. package/src/IP3RWAVault.d.ts +1182 -0
  25. package/src/IP3RWAVault.js +1182 -0
  26. package/src/IP3ReputationComplianceModule.d.ts +40 -1
  27. package/src/IP3ReputationComplianceModule.js +39 -0
  28. package/src/IP3ReputationRegistry.d.ts +300 -0
  29. package/src/IP3ReputationRegistry.js +300 -0
  30. package/src/IP3StablecoinSwap.d.ts +1 -1
  31. package/src/IP3StablecoinToken.d.ts +1 -1
  32. package/src/IP3TokensFactory.d.ts +1 -1
  33. package/src/IP3TransferManager.d.ts +1 -1
  34. package/src/IP3TreasuryManager.d.ts +176 -1
  35. package/src/IP3TreasuryManager.js +175 -0
  36. package/src/IP3YieldBearingStablecoinToken.d.ts +1 -1
  37. package/src/IRecoveryVelocityComplianceModule.d.ts +1 -1
  38. package/src/ISolvencyComplianceModule.d.ts +1 -1
  39. package/src/index.d.ts +4 -0
  40. package/src/index.js +4 -0
@@ -522,6 +522,42 @@ export const abi = [
522
522
  "outputs": [],
523
523
  "stateMutability": "nonpayable"
524
524
  },
525
+ {
526
+ "type": "function",
527
+ "name": "rebalanceCommonReserves",
528
+ "inputs": [
529
+ {
530
+ "name": "fromToken_",
531
+ "type": "address",
532
+ "internalType": "address"
533
+ },
534
+ {
535
+ "name": "toToken_",
536
+ "type": "address",
537
+ "internalType": "address"
538
+ },
539
+ {
540
+ "name": "amount_",
541
+ "type": "uint256",
542
+ "internalType": "uint256"
543
+ }
544
+ ],
545
+ "outputs": [],
546
+ "stateMutability": "nonpayable"
547
+ },
548
+ {
549
+ "type": "function",
550
+ "name": "reserveRebalancer",
551
+ "inputs": [],
552
+ "outputs": [
553
+ {
554
+ "name": "",
555
+ "type": "address",
556
+ "internalType": "address"
557
+ }
558
+ ],
559
+ "stateMutability": "view"
560
+ },
525
561
  {
526
562
  "type": "function",
527
563
  "name": "scheduleSolvencyToggle",
@@ -636,6 +672,37 @@ export const abi = [
636
672
  "outputs": [],
637
673
  "stateMutability": "nonpayable"
638
674
  },
675
+ {
676
+ "type": "function",
677
+ "name": "setReserveRebalancer",
678
+ "inputs": [
679
+ {
680
+ "name": "rebalancer_",
681
+ "type": "address",
682
+ "internalType": "address"
683
+ }
684
+ ],
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable"
687
+ },
688
+ {
689
+ "type": "function",
690
+ "name": "setReserveWallet",
691
+ "inputs": [
692
+ {
693
+ "name": "stablecoin_",
694
+ "type": "address",
695
+ "internalType": "address"
696
+ },
697
+ {
698
+ "name": "wallet_",
699
+ "type": "address",
700
+ "internalType": "address"
701
+ }
702
+ ],
703
+ "outputs": [],
704
+ "stateMutability": "nonpayable"
705
+ },
639
706
  {
640
707
  "type": "function",
641
708
  "name": "setSolvencyToggleDelay",
@@ -891,6 +958,31 @@ export const abi = [
891
958
  ],
892
959
  "anonymous": false
893
960
  },
961
+ {
962
+ "type": "event",
963
+ "name": "P3CommonReservesRebalanced",
964
+ "inputs": [
965
+ {
966
+ "name": "fromToken",
967
+ "type": "address",
968
+ "indexed": true,
969
+ "internalType": "address"
970
+ },
971
+ {
972
+ "name": "toToken",
973
+ "type": "address",
974
+ "indexed": true,
975
+ "internalType": "address"
976
+ },
977
+ {
978
+ "name": "amount",
979
+ "type": "uint256",
980
+ "indexed": false,
981
+ "internalType": "uint256"
982
+ }
983
+ ],
984
+ "anonymous": false
985
+ },
894
986
  {
895
987
  "type": "event",
896
988
  "name": "P3TokenBurned",
@@ -1107,6 +1199,25 @@ export const abi = [
1107
1199
  ],
1108
1200
  "anonymous": false
1109
1201
  },
1202
+ {
1203
+ "type": "event",
1204
+ "name": "ReserveRebalancerUpdated",
1205
+ "inputs": [
1206
+ {
1207
+ "name": "previousRebalancer",
1208
+ "type": "address",
1209
+ "indexed": true,
1210
+ "internalType": "address"
1211
+ },
1212
+ {
1213
+ "name": "newRebalancer",
1214
+ "type": "address",
1215
+ "indexed": true,
1216
+ "internalType": "address"
1217
+ }
1218
+ ],
1219
+ "anonymous": false
1220
+ },
1110
1221
  {
1111
1222
  "type": "event",
1112
1223
  "name": "ReserveWalletAssigned",
@@ -1233,6 +1344,27 @@ export const abi = [
1233
1344
  ],
1234
1345
  "anonymous": false
1235
1346
  },
1347
+ {
1348
+ "type": "error",
1349
+ "name": "P3InsufficientCommonReserve",
1350
+ "inputs": [
1351
+ {
1352
+ "name": "fromToken",
1353
+ "type": "address",
1354
+ "internalType": "address"
1355
+ },
1356
+ {
1357
+ "name": "toToken",
1358
+ "type": "address",
1359
+ "internalType": "address"
1360
+ },
1361
+ {
1362
+ "name": "shortfall",
1363
+ "type": "uint256",
1364
+ "internalType": "uint256"
1365
+ }
1366
+ ]
1367
+ },
1236
1368
  {
1237
1369
  "type": "error",
1238
1370
  "name": "P3IsZeroAddress",
@@ -1244,6 +1376,49 @@ export const abi = [
1244
1376
  }
1245
1377
  ]
1246
1378
  },
1379
+ {
1380
+ "type": "error",
1381
+ "name": "P3ReserveDecimalsMismatch",
1382
+ "inputs": [
1383
+ {
1384
+ "name": "stablecoin",
1385
+ "type": "address",
1386
+ "internalType": "address"
1387
+ },
1388
+ {
1389
+ "name": "mismatched",
1390
+ "type": "address",
1391
+ "internalType": "address"
1392
+ }
1393
+ ]
1394
+ },
1395
+ {
1396
+ "type": "error",
1397
+ "name": "P3ReserveRatioMismatch",
1398
+ "inputs": [
1399
+ {
1400
+ "name": "fromToken",
1401
+ "type": "address",
1402
+ "internalType": "address"
1403
+ },
1404
+ {
1405
+ "name": "toToken",
1406
+ "type": "address",
1407
+ "internalType": "address"
1408
+ }
1409
+ ]
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "P3ReserveWalletNotConfigured",
1414
+ "inputs": [
1415
+ {
1416
+ "name": "token",
1417
+ "type": "address",
1418
+ "internalType": "address"
1419
+ }
1420
+ ]
1421
+ },
1247
1422
  {
1248
1423
  "type": "error",
1249
1424
  "name": "P3TreasuryManagerAgentCannotForceTransfer",
@@ -1159,5 +1159,5 @@ export declare const abi: [
1159
1159
  "name": "P3YieldBearingPaymentTokenNotSet",
1160
1160
  "inputs": []
1161
1161
  }
1162
- ] as const;
1162
+ ];
1163
1163
  export default abi;
@@ -1028,5 +1028,5 @@ export declare const abi: [
1028
1028
  "name": "RecoveryVelocityComplianceModuleZeroAggregateLimit",
1029
1029
  "inputs": []
1030
1030
  }
1031
- ] as const;
1031
+ ];
1032
1032
  export default abi;
@@ -649,5 +649,5 @@ export declare const abi: [
649
649
  "name": "SolvencyComplianceModuleZeroTreasuryManager",
650
650
  "inputs": []
651
651
  }
652
- ] as const;
652
+ ];
653
653
  export default abi;
package/src/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export { abi as IAbstractFeeModule, abi as AbstractFeeModuleABI } from "./IAbstr
3
3
  export { abi as IAbstractTimelockUpgrade, abi as AbstractTimelockUpgradeABI } from "./IAbstractTimelockUpgrade.js";
4
4
  export { abi as IAbstractTreasuryManagerRestricted, abi as AbstractTreasuryManagerRestrictedABI } from "./IAbstractTreasuryManagerRestricted.js";
5
5
  export { abi as IAbstractTreasuryRestricted, abi as AbstractTreasuryRestrictedABI } from "./IAbstractTreasuryRestricted.js";
6
+ export { abi as IEquityTransferModule, abi as EquityTransferModuleABI } from "./IEquityTransferModule.js";
6
7
  export { abi as IP3AgentLimitComplianceModule, abi as P3AgentLimitComplianceModuleABI } from "./IP3AgentLimitComplianceModule.js";
7
8
  export { abi as IP3AgenticRegistryManager, abi as P3AgenticRegistryManagerABI } from "./IP3AgenticRegistryManager.js";
8
9
  export { abi as IP3AttestationManager, abi as P3AttestationManagerABI } from "./IP3AttestationManager.js";
@@ -14,9 +15,12 @@ export { abi as IP3DigitalSecurityToken, abi as P3DigitalSecurityTokenABI } from
14
15
  export { abi as IP3EIP3009, abi as P3EIP3009ABI } from "./IP3EIP3009.js";
15
16
  export { abi as IP3ERC20ConverterManager, abi as P3ERC20ConverterManagerABI } from "./IP3ERC20ConverterManager.js";
16
17
  export { abi as IP3ERC8004Connector, abi as P3ERC8004ConnectorABI } from "./IP3ERC8004Connector.js";
18
+ export { abi as IP3EquityVault, abi as P3EquityVaultABI } from "./IP3EquityVault.js";
17
19
  export { abi as IP3FXSwap, abi as P3FXSwapABI } from "./IP3FXSwap.js";
18
20
  export { abi as IP3ModularCompliance, abi as P3ModularComplianceABI } from "./IP3ModularCompliance.js";
21
+ export { abi as IP3RWAVault, abi as P3RWAVaultABI } from "./IP3RWAVault.js";
19
22
  export { abi as IP3ReputationComplianceModule, abi as P3ReputationComplianceModuleABI } from "./IP3ReputationComplianceModule.js";
23
+ export { abi as IP3ReputationRegistry, abi as P3ReputationRegistryABI } from "./IP3ReputationRegistry.js";
20
24
  export { abi as IP3StablecoinSwap, abi as P3StablecoinSwapABI } from "./IP3StablecoinSwap.js";
21
25
  export { abi as IP3StablecoinToken, abi as P3StablecoinTokenABI } from "./IP3StablecoinToken.js";
22
26
  export { abi as IP3TokensFactory, abi as P3TokensFactoryABI } from "./IP3TokensFactory.js";
package/src/index.js CHANGED
@@ -3,6 +3,7 @@ export { abi as IAbstractFeeModule, abi as AbstractFeeModuleABI } from "./IAbstr
3
3
  export { abi as IAbstractTimelockUpgrade, abi as AbstractTimelockUpgradeABI } from "./IAbstractTimelockUpgrade.js";
4
4
  export { abi as IAbstractTreasuryManagerRestricted, abi as AbstractTreasuryManagerRestrictedABI } from "./IAbstractTreasuryManagerRestricted.js";
5
5
  export { abi as IAbstractTreasuryRestricted, abi as AbstractTreasuryRestrictedABI } from "./IAbstractTreasuryRestricted.js";
6
+ export { abi as IEquityTransferModule, abi as EquityTransferModuleABI } from "./IEquityTransferModule.js";
6
7
  export { abi as IP3AgentLimitComplianceModule, abi as P3AgentLimitComplianceModuleABI } from "./IP3AgentLimitComplianceModule.js";
7
8
  export { abi as IP3AgenticRegistryManager, abi as P3AgenticRegistryManagerABI } from "./IP3AgenticRegistryManager.js";
8
9
  export { abi as IP3AttestationManager, abi as P3AttestationManagerABI } from "./IP3AttestationManager.js";
@@ -14,9 +15,12 @@ export { abi as IP3DigitalSecurityToken, abi as P3DigitalSecurityTokenABI } from
14
15
  export { abi as IP3EIP3009, abi as P3EIP3009ABI } from "./IP3EIP3009.js";
15
16
  export { abi as IP3ERC20ConverterManager, abi as P3ERC20ConverterManagerABI } from "./IP3ERC20ConverterManager.js";
16
17
  export { abi as IP3ERC8004Connector, abi as P3ERC8004ConnectorABI } from "./IP3ERC8004Connector.js";
18
+ export { abi as IP3EquityVault, abi as P3EquityVaultABI } from "./IP3EquityVault.js";
17
19
  export { abi as IP3FXSwap, abi as P3FXSwapABI } from "./IP3FXSwap.js";
18
20
  export { abi as IP3ModularCompliance, abi as P3ModularComplianceABI } from "./IP3ModularCompliance.js";
21
+ export { abi as IP3RWAVault, abi as P3RWAVaultABI } from "./IP3RWAVault.js";
19
22
  export { abi as IP3ReputationComplianceModule, abi as P3ReputationComplianceModuleABI } from "./IP3ReputationComplianceModule.js";
23
+ export { abi as IP3ReputationRegistry, abi as P3ReputationRegistryABI } from "./IP3ReputationRegistry.js";
20
24
  export { abi as IP3StablecoinSwap, abi as P3StablecoinSwapABI } from "./IP3StablecoinSwap.js";
21
25
  export { abi as IP3StablecoinToken, abi as P3StablecoinTokenABI } from "./IP3StablecoinToken.js";
22
26
  export { abi as IP3TokensFactory, abi as P3TokensFactoryABI } from "./IP3TokensFactory.js";