@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
@@ -0,0 +1,300 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export const abi = [
3
+ {
4
+ "type": "function",
5
+ "name": "getAgentFeedbackIds",
6
+ "inputs": [
7
+ {
8
+ "name": "agentId_",
9
+ "type": "uint256",
10
+ "internalType": "uint256"
11
+ }
12
+ ],
13
+ "outputs": [
14
+ {
15
+ "name": "",
16
+ "type": "uint256[]",
17
+ "internalType": "uint256[]"
18
+ }
19
+ ],
20
+ "stateMutability": "view"
21
+ },
22
+ {
23
+ "type": "function",
24
+ "name": "getFeedback",
25
+ "inputs": [
26
+ {
27
+ "name": "feedbackId_",
28
+ "type": "uint256",
29
+ "internalType": "uint256"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "tuple",
36
+ "internalType": "struct IP3ReputationRegistry.Feedback",
37
+ "components": [
38
+ {
39
+ "name": "rater",
40
+ "type": "address",
41
+ "internalType": "address"
42
+ },
43
+ {
44
+ "name": "agentId",
45
+ "type": "uint256",
46
+ "internalType": "uint256"
47
+ },
48
+ {
49
+ "name": "score",
50
+ "type": "int128",
51
+ "internalType": "int128"
52
+ },
53
+ {
54
+ "name": "timestamp",
55
+ "type": "uint64",
56
+ "internalType": "uint64"
57
+ },
58
+ {
59
+ "name": "revoked",
60
+ "type": "bool",
61
+ "internalType": "bool"
62
+ },
63
+ {
64
+ "name": "tag1",
65
+ "type": "string",
66
+ "internalType": "string"
67
+ },
68
+ {
69
+ "name": "tag2",
70
+ "type": "string",
71
+ "internalType": "string"
72
+ },
73
+ {
74
+ "name": "uri",
75
+ "type": "string",
76
+ "internalType": "string"
77
+ },
78
+ {
79
+ "name": "contentHash",
80
+ "type": "bytes32",
81
+ "internalType": "bytes32"
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
88
+ {
89
+ "type": "function",
90
+ "name": "init",
91
+ "inputs": [],
92
+ "outputs": [],
93
+ "stateMutability": "nonpayable"
94
+ },
95
+ {
96
+ "type": "function",
97
+ "name": "isAuthorizedRater",
98
+ "inputs": [
99
+ {
100
+ "name": "rater_",
101
+ "type": "address",
102
+ "internalType": "address"
103
+ }
104
+ ],
105
+ "outputs": [
106
+ {
107
+ "name": "",
108
+ "type": "bool",
109
+ "internalType": "bool"
110
+ }
111
+ ],
112
+ "stateMutability": "view"
113
+ },
114
+ {
115
+ "type": "function",
116
+ "name": "scoreDecimals",
117
+ "inputs": [],
118
+ "outputs": [
119
+ {
120
+ "name": "",
121
+ "type": "uint8",
122
+ "internalType": "uint8"
123
+ }
124
+ ],
125
+ "stateMutability": "view"
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "setAuthorizedRater",
130
+ "inputs": [
131
+ {
132
+ "name": "rater_",
133
+ "type": "address",
134
+ "internalType": "address"
135
+ },
136
+ {
137
+ "name": "authorized_",
138
+ "type": "bool",
139
+ "internalType": "bool"
140
+ }
141
+ ],
142
+ "outputs": [],
143
+ "stateMutability": "nonpayable"
144
+ },
145
+ {
146
+ "type": "event",
147
+ "name": "AuthorizedRaterSet",
148
+ "inputs": [
149
+ {
150
+ "name": "rater",
151
+ "type": "address",
152
+ "indexed": true,
153
+ "internalType": "address"
154
+ },
155
+ {
156
+ "name": "authorized",
157
+ "type": "bool",
158
+ "indexed": false,
159
+ "internalType": "bool"
160
+ }
161
+ ],
162
+ "anonymous": false
163
+ },
164
+ {
165
+ "type": "event",
166
+ "name": "ClientAuthorizationRegistered",
167
+ "inputs": [
168
+ {
169
+ "name": "agentId",
170
+ "type": "uint256",
171
+ "indexed": true,
172
+ "internalType": "uint256"
173
+ },
174
+ {
175
+ "name": "authorization",
176
+ "type": "bytes",
177
+ "indexed": false,
178
+ "internalType": "bytes"
179
+ }
180
+ ],
181
+ "anonymous": false
182
+ },
183
+ {
184
+ "type": "event",
185
+ "name": "FeedbackGiven",
186
+ "inputs": [
187
+ {
188
+ "name": "agentId",
189
+ "type": "uint256",
190
+ "indexed": true,
191
+ "internalType": "uint256"
192
+ },
193
+ {
194
+ "name": "score",
195
+ "type": "int128",
196
+ "indexed": true,
197
+ "internalType": "int128"
198
+ },
199
+ {
200
+ "name": "rater",
201
+ "type": "address",
202
+ "indexed": true,
203
+ "internalType": "address"
204
+ },
205
+ {
206
+ "name": "tag1",
207
+ "type": "string",
208
+ "indexed": false,
209
+ "internalType": "string"
210
+ },
211
+ {
212
+ "name": "tag2",
213
+ "type": "string",
214
+ "indexed": false,
215
+ "internalType": "string"
216
+ },
217
+ {
218
+ "name": "uri",
219
+ "type": "string",
220
+ "indexed": false,
221
+ "internalType": "string"
222
+ },
223
+ {
224
+ "name": "feedbackId",
225
+ "type": "uint256",
226
+ "indexed": false,
227
+ "internalType": "uint256"
228
+ }
229
+ ],
230
+ "anonymous": false
231
+ },
232
+ {
233
+ "type": "event",
234
+ "name": "FeedbackRevoked",
235
+ "inputs": [
236
+ {
237
+ "name": "agentId",
238
+ "type": "uint256",
239
+ "indexed": true,
240
+ "internalType": "uint256"
241
+ },
242
+ {
243
+ "name": "feedbackId",
244
+ "type": "uint256",
245
+ "indexed": true,
246
+ "internalType": "uint256"
247
+ }
248
+ ],
249
+ "anonymous": false
250
+ },
251
+ {
252
+ "type": "error",
253
+ "name": "P3ReputationRegistryAlreadyRevoked",
254
+ "inputs": [
255
+ {
256
+ "name": "feedbackId",
257
+ "type": "uint256",
258
+ "internalType": "uint256"
259
+ }
260
+ ]
261
+ },
262
+ {
263
+ "type": "error",
264
+ "name": "P3ReputationRegistryEmptyClientFilter",
265
+ "inputs": []
266
+ },
267
+ {
268
+ "type": "error",
269
+ "name": "P3ReputationRegistryFeedbackNotFound",
270
+ "inputs": [
271
+ {
272
+ "name": "agentId",
273
+ "type": "uint256",
274
+ "internalType": "uint256"
275
+ },
276
+ {
277
+ "name": "feedbackId",
278
+ "type": "uint256",
279
+ "internalType": "uint256"
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "type": "error",
285
+ "name": "P3ReputationRegistryUnauthorizedRater",
286
+ "inputs": [
287
+ {
288
+ "name": "caller",
289
+ "type": "address",
290
+ "internalType": "address"
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "type": "error",
296
+ "name": "P3ReputationRegistryZeroRater",
297
+ "inputs": []
298
+ }
299
+ ];
300
+ export default abi;
@@ -1078,5 +1078,5 @@ export declare const abi: [
1078
1078
  "name": "P3SwapRelayerNotAuthorizedDistributor",
1079
1079
  "inputs": []
1080
1080
  }
1081
- ] as const;
1081
+ ];
1082
1082
  export default abi;
@@ -1123,5 +1123,5 @@ export declare const abi: [
1123
1123
  "name": "P3StablecoinTokenUnableToUpdateInitData",
1124
1124
  "inputs": []
1125
1125
  }
1126
- ] as const;
1126
+ ];
1127
1127
  export default abi;
@@ -427,5 +427,5 @@ export declare const abi: [
427
427
  "name": "P3TokensFactoryZeroAddress",
428
428
  "inputs": []
429
429
  }
430
- ] as const;
430
+ ];
431
431
  export default abi;
@@ -1230,5 +1230,5 @@ export declare const abi: [
1230
1230
  "name": "P3TransferManagerZeroAmount",
1231
1231
  "inputs": []
1232
1232
  }
1233
- ] as const;
1233
+ ];
1234
1234
  export default abi;
@@ -522,6 +522,42 @@ export declare 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 declare 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 declare 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 declare 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 declare 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 declare 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",
@@ -1648,5 +1823,5 @@ export declare const abi: [
1648
1823
  "name": "P3TreasuryManagerZeroAmount",
1649
1824
  "inputs": []
1650
1825
  }
1651
- ] as const;
1826
+ ];
1652
1827
  export default abi;