@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.
- package/LICENSE +1 -1
- package/package.json +10 -2
- package/src/IAbstractFeeModule.d.ts +1 -1
- package/src/IAbstractTimelockUpgrade.d.ts +1 -1
- package/src/IAbstractTreasuryManagerRestricted.d.ts +1 -1
- package/src/IAbstractTreasuryRestricted.d.ts +1 -1
- package/src/IEquityTransferModule.d.ts +721 -0
- package/src/IEquityTransferModule.js +721 -0
- package/src/IP3AgentLimitComplianceModule.d.ts +1 -1
- package/src/IP3AgenticRegistryManager.d.ts +70 -1
- package/src/IP3AgenticRegistryManager.js +69 -0
- package/src/IP3AttestationManager.d.ts +63 -1
- package/src/IP3AttestationManager.js +62 -0
- package/src/IP3BasicToken.d.ts +1 -1
- package/src/IP3ComplianceFactory.d.ts +1 -1
- package/src/IP3ComplianceModule.d.ts +1 -1
- package/src/IP3DepositToken.d.ts +1 -1
- package/src/IP3DigitalSecurityToken.d.ts +1 -1
- package/src/IP3EIP3009.d.ts +1 -1
- package/src/IP3ERC20ConverterManager.d.ts +1 -1
- package/src/IP3ERC8004Connector.d.ts +1 -1
- package/src/IP3EquityVault.d.ts +1568 -0
- package/src/IP3EquityVault.js +1568 -0
- package/src/IP3FXSwap.d.ts +1 -1
- package/src/IP3ModularCompliance.d.ts +55 -1
- package/src/IP3ModularCompliance.js +54 -0
- package/src/IP3RWAVault.d.ts +1333 -0
- package/src/IP3RWAVault.js +1333 -0
- package/src/IP3ReputationComplianceModule.d.ts +40 -1
- package/src/IP3ReputationComplianceModule.js +39 -0
- package/src/IP3ReputationRegistry.d.ts +342 -0
- package/src/IP3ReputationRegistry.js +342 -0
- package/src/IP3StablecoinSwap.d.ts +54 -1
- package/src/IP3StablecoinSwap.js +53 -0
- package/src/IP3StablecoinToken.d.ts +1 -1
- package/src/IP3TokensFactory.d.ts +1 -1
- package/src/IP3TransferManager.d.ts +1 -1
- package/src/IP3TreasuryManager.d.ts +311 -6
- package/src/IP3TreasuryManager.js +310 -5
- package/src/IP3YieldBearingStablecoinToken.d.ts +1 -1
- package/src/IRecoveryVelocityComplianceModule.d.ts +1 -1
- package/src/ISolvencyComplianceModule.d.ts +1 -1
- package/src/index.d.ts +4 -0
- package/src/index.js +4 -0
|
@@ -0,0 +1,342 @@
|
|
|
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": "P3ReputationRegistryFeedbackCapReached",
|
|
270
|
+
"inputs": [
|
|
271
|
+
{
|
|
272
|
+
"name": "agentId",
|
|
273
|
+
"type": "uint256",
|
|
274
|
+
"internalType": "uint256"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "cap",
|
|
278
|
+
"type": "uint256",
|
|
279
|
+
"internalType": "uint256"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "error",
|
|
285
|
+
"name": "P3ReputationRegistryFeedbackNotFound",
|
|
286
|
+
"inputs": [
|
|
287
|
+
{
|
|
288
|
+
"name": "agentId",
|
|
289
|
+
"type": "uint256",
|
|
290
|
+
"internalType": "uint256"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "feedbackId",
|
|
294
|
+
"type": "uint256",
|
|
295
|
+
"internalType": "uint256"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "error",
|
|
301
|
+
"name": "P3ReputationRegistryInvalidMaxFeedback",
|
|
302
|
+
"inputs": []
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"type": "error",
|
|
306
|
+
"name": "P3ReputationRegistryTimelockNotElapsed",
|
|
307
|
+
"inputs": [
|
|
308
|
+
{
|
|
309
|
+
"name": "readyAt",
|
|
310
|
+
"type": "uint256",
|
|
311
|
+
"internalType": "uint256"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "currentTime",
|
|
315
|
+
"type": "uint256",
|
|
316
|
+
"internalType": "uint256"
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"type": "error",
|
|
322
|
+
"name": "P3ReputationRegistryUnauthorizedRater",
|
|
323
|
+
"inputs": [
|
|
324
|
+
{
|
|
325
|
+
"name": "caller",
|
|
326
|
+
"type": "address",
|
|
327
|
+
"internalType": "address"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "error",
|
|
333
|
+
"name": "P3ReputationRegistryUpgradeNotScheduled",
|
|
334
|
+
"inputs": []
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "error",
|
|
338
|
+
"name": "P3ReputationRegistryZeroRater",
|
|
339
|
+
"inputs": []
|
|
340
|
+
}
|
|
341
|
+
];
|
|
342
|
+
export default abi;
|
|
@@ -441,6 +441,16 @@ export declare const abi: [
|
|
|
441
441
|
"name": "amountIn_",
|
|
442
442
|
"type": "uint256",
|
|
443
443
|
"internalType": "uint256"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "minAmountOut_",
|
|
447
|
+
"type": "uint256",
|
|
448
|
+
"internalType": "uint256"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "deadline_",
|
|
452
|
+
"type": "uint256",
|
|
453
|
+
"internalType": "uint256"
|
|
444
454
|
}
|
|
445
455
|
],
|
|
446
456
|
"outputs": [
|
|
@@ -928,6 +938,22 @@ export declare const abi: [
|
|
|
928
938
|
"name": "AbstractFeeModuleInvalidFeeRecipient",
|
|
929
939
|
"inputs": []
|
|
930
940
|
},
|
|
941
|
+
{
|
|
942
|
+
"type": "error",
|
|
943
|
+
"name": "P3StablecoinSwapDeadlineExpired",
|
|
944
|
+
"inputs": [
|
|
945
|
+
{
|
|
946
|
+
"name": "deadline",
|
|
947
|
+
"type": "uint256",
|
|
948
|
+
"internalType": "uint256"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"name": "currentTime",
|
|
952
|
+
"type": "uint256",
|
|
953
|
+
"internalType": "uint256"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
931
957
|
{
|
|
932
958
|
"type": "error",
|
|
933
959
|
"name": "P3StablecoinSwapIdenticalTokens",
|
|
@@ -977,6 +1003,33 @@ export declare const abi: [
|
|
|
977
1003
|
}
|
|
978
1004
|
]
|
|
979
1005
|
},
|
|
1006
|
+
{
|
|
1007
|
+
"type": "error",
|
|
1008
|
+
"name": "P3StablecoinSwapRecoveryActive",
|
|
1009
|
+
"inputs": [
|
|
1010
|
+
{
|
|
1011
|
+
"name": "token",
|
|
1012
|
+
"type": "address",
|
|
1013
|
+
"internalType": "address"
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"type": "error",
|
|
1019
|
+
"name": "P3StablecoinSwapSlippageLimitExceeded",
|
|
1020
|
+
"inputs": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "amountOut",
|
|
1023
|
+
"type": "uint256",
|
|
1024
|
+
"internalType": "uint256"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "minAmountOut",
|
|
1028
|
+
"type": "uint256",
|
|
1029
|
+
"internalType": "uint256"
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
980
1033
|
{
|
|
981
1034
|
"type": "error",
|
|
982
1035
|
"name": "P3StablecoinSwapUnsupportedPair",
|
|
@@ -1078,5 +1131,5 @@ export declare const abi: [
|
|
|
1078
1131
|
"name": "P3SwapRelayerNotAuthorizedDistributor",
|
|
1079
1132
|
"inputs": []
|
|
1080
1133
|
}
|
|
1081
|
-
]
|
|
1134
|
+
];
|
|
1082
1135
|
export default abi;
|
package/src/IP3StablecoinSwap.js
CHANGED
|
@@ -441,6 +441,16 @@ export const abi = [
|
|
|
441
441
|
"name": "amountIn_",
|
|
442
442
|
"type": "uint256",
|
|
443
443
|
"internalType": "uint256"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "minAmountOut_",
|
|
447
|
+
"type": "uint256",
|
|
448
|
+
"internalType": "uint256"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "deadline_",
|
|
452
|
+
"type": "uint256",
|
|
453
|
+
"internalType": "uint256"
|
|
444
454
|
}
|
|
445
455
|
],
|
|
446
456
|
"outputs": [
|
|
@@ -928,6 +938,22 @@ export const abi = [
|
|
|
928
938
|
"name": "AbstractFeeModuleInvalidFeeRecipient",
|
|
929
939
|
"inputs": []
|
|
930
940
|
},
|
|
941
|
+
{
|
|
942
|
+
"type": "error",
|
|
943
|
+
"name": "P3StablecoinSwapDeadlineExpired",
|
|
944
|
+
"inputs": [
|
|
945
|
+
{
|
|
946
|
+
"name": "deadline",
|
|
947
|
+
"type": "uint256",
|
|
948
|
+
"internalType": "uint256"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"name": "currentTime",
|
|
952
|
+
"type": "uint256",
|
|
953
|
+
"internalType": "uint256"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
931
957
|
{
|
|
932
958
|
"type": "error",
|
|
933
959
|
"name": "P3StablecoinSwapIdenticalTokens",
|
|
@@ -977,6 +1003,33 @@ export const abi = [
|
|
|
977
1003
|
}
|
|
978
1004
|
]
|
|
979
1005
|
},
|
|
1006
|
+
{
|
|
1007
|
+
"type": "error",
|
|
1008
|
+
"name": "P3StablecoinSwapRecoveryActive",
|
|
1009
|
+
"inputs": [
|
|
1010
|
+
{
|
|
1011
|
+
"name": "token",
|
|
1012
|
+
"type": "address",
|
|
1013
|
+
"internalType": "address"
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"type": "error",
|
|
1019
|
+
"name": "P3StablecoinSwapSlippageLimitExceeded",
|
|
1020
|
+
"inputs": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "amountOut",
|
|
1023
|
+
"type": "uint256",
|
|
1024
|
+
"internalType": "uint256"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "minAmountOut",
|
|
1028
|
+
"type": "uint256",
|
|
1029
|
+
"internalType": "uint256"
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
980
1033
|
{
|
|
981
1034
|
"type": "error",
|
|
982
1035
|
"name": "P3StablecoinSwapUnsupportedPair",
|