@pearldigital/p3-abis 3.0.1 → 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
@@ -190,6 +190,19 @@ export declare const abi: [
190
190
  ],
191
191
  "stateMutability": "view"
192
192
  },
193
+ {
194
+ "type": "function",
195
+ "name": "isEnforceMode",
196
+ "inputs": [],
197
+ "outputs": [
198
+ {
199
+ "name": "",
200
+ "type": "bool",
201
+ "internalType": "bool"
202
+ }
203
+ ],
204
+ "stateMutability": "view"
205
+ },
193
206
  {
194
207
  "type": "function",
195
208
  "name": "isFundAccountant",
@@ -462,6 +475,19 @@ export declare const abi: [
462
475
  "outputs": [],
463
476
  "stateMutability": "nonpayable"
464
477
  },
478
+ {
479
+ "type": "function",
480
+ "name": "setEnforceMode",
481
+ "inputs": [
482
+ {
483
+ "name": "enforce_",
484
+ "type": "bool",
485
+ "internalType": "bool"
486
+ }
487
+ ],
488
+ "outputs": [],
489
+ "stateMutability": "nonpayable"
490
+ },
465
491
  {
466
492
  "type": "function",
467
493
  "name": "unbindCompliance",
@@ -632,6 +658,19 @@ export declare const abi: [
632
658
  ],
633
659
  "anonymous": false
634
660
  },
661
+ {
662
+ "type": "event",
663
+ "name": "ReputationEnforceModeSet",
664
+ "inputs": [
665
+ {
666
+ "name": "enforce",
667
+ "type": "bool",
668
+ "indexed": false,
669
+ "internalType": "bool"
670
+ }
671
+ ],
672
+ "anonymous": false
673
+ },
635
674
  {
636
675
  "type": "error",
637
676
  "name": "P3ComplianceModuleComplianceIsAlreadyBound",
@@ -687,5 +726,5 @@ export declare const abi: [
687
726
  }
688
727
  ]
689
728
  }
690
- ] as const;
729
+ ];
691
730
  export default abi;
@@ -190,6 +190,19 @@ export const abi = [
190
190
  ],
191
191
  "stateMutability": "view"
192
192
  },
193
+ {
194
+ "type": "function",
195
+ "name": "isEnforceMode",
196
+ "inputs": [],
197
+ "outputs": [
198
+ {
199
+ "name": "",
200
+ "type": "bool",
201
+ "internalType": "bool"
202
+ }
203
+ ],
204
+ "stateMutability": "view"
205
+ },
193
206
  {
194
207
  "type": "function",
195
208
  "name": "isFundAccountant",
@@ -462,6 +475,19 @@ export const abi = [
462
475
  "outputs": [],
463
476
  "stateMutability": "nonpayable"
464
477
  },
478
+ {
479
+ "type": "function",
480
+ "name": "setEnforceMode",
481
+ "inputs": [
482
+ {
483
+ "name": "enforce_",
484
+ "type": "bool",
485
+ "internalType": "bool"
486
+ }
487
+ ],
488
+ "outputs": [],
489
+ "stateMutability": "nonpayable"
490
+ },
465
491
  {
466
492
  "type": "function",
467
493
  "name": "unbindCompliance",
@@ -632,6 +658,19 @@ export const abi = [
632
658
  ],
633
659
  "anonymous": false
634
660
  },
661
+ {
662
+ "type": "event",
663
+ "name": "ReputationEnforceModeSet",
664
+ "inputs": [
665
+ {
666
+ "name": "enforce",
667
+ "type": "bool",
668
+ "indexed": false,
669
+ "internalType": "bool"
670
+ }
671
+ ],
672
+ "anonymous": false
673
+ },
635
674
  {
636
675
  "type": "error",
637
676
  "name": "P3ComplianceModuleComplianceIsAlreadyBound",
@@ -0,0 +1,300 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export declare 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;