@pearldigital/p3-abis 3.2.0 → 4.0.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.
- package/package.json +1 -1
- package/src/IP3AgenticRegistryManager.d.ts +149 -0
- package/src/IP3AgenticRegistryManager.js +149 -0
- package/src/IP3AttestationManager.d.ts +62 -0
- package/src/IP3AttestationManager.js +62 -0
- package/src/IP3BridgeRegistryAdapter.d.ts +109 -0
- package/src/IP3BridgeRegistryAdapter.js +109 -0
- package/src/IP3ChainRegistry.d.ts +373 -0
- package/src/IP3ChainRegistry.js +373 -0
- package/src/IP3CrossChainBridge.d.ts +424 -0
- package/src/IP3CrossChainBridge.js +424 -0
- package/src/IP3EquityVault.d.ts +95 -0
- package/src/IP3EquityVault.js +95 -0
- package/src/IP3ModularCompliance.d.ts +54 -0
- package/src/IP3ModularCompliance.js +54 -0
- package/src/IP3RWAVault.d.ts +152 -1
- package/src/IP3RWAVault.js +152 -1
- package/src/IP3RegistryMirror.d.ts +781 -0
- package/src/IP3RegistryMirror.js +781 -0
- package/src/IP3ReputationRegistry.d.ts +42 -0
- package/src/IP3ReputationRegistry.js +42 -0
- package/src/IP3ReserveMirror.d.ts +283 -0
- package/src/IP3ReserveMirror.js +283 -0
- package/src/IP3StablecoinSwap.d.ts +53 -0
- package/src/IP3StablecoinSwap.js +53 -0
- package/src/IP3TreasuryManager.d.ts +384 -2
- package/src/IP3TreasuryManager.js +384 -2
- package/src/index.d.ts +5 -0
- package/src/index.js +5 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
// Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
|
|
2
|
+
export const abi = [
|
|
3
|
+
{
|
|
4
|
+
"type": "function",
|
|
5
|
+
"name": "bridgeBurn",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "token_",
|
|
9
|
+
"type": "address",
|
|
10
|
+
"internalType": "address"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "amount_",
|
|
14
|
+
"type": "uint256",
|
|
15
|
+
"internalType": "uint256"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "destChainId_",
|
|
19
|
+
"type": "uint256",
|
|
20
|
+
"internalType": "uint256"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "recipient_",
|
|
24
|
+
"type": "bytes32",
|
|
25
|
+
"internalType": "bytes32"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"outputs": [
|
|
29
|
+
{
|
|
30
|
+
"name": "burnId",
|
|
31
|
+
"type": "bytes32",
|
|
32
|
+
"internalType": "bytes32"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"stateMutability": "nonpayable"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "function",
|
|
39
|
+
"name": "bridgeMint",
|
|
40
|
+
"inputs": [
|
|
41
|
+
{
|
|
42
|
+
"name": "attestation_",
|
|
43
|
+
"type": "tuple",
|
|
44
|
+
"internalType": "struct IP3CrossChainBridge.BurnAttestation",
|
|
45
|
+
"components": [
|
|
46
|
+
{
|
|
47
|
+
"name": "burnId",
|
|
48
|
+
"type": "bytes32",
|
|
49
|
+
"internalType": "bytes32"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "srcChainId",
|
|
53
|
+
"type": "uint256",
|
|
54
|
+
"internalType": "uint256"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "destChainId",
|
|
58
|
+
"type": "uint256",
|
|
59
|
+
"internalType": "uint256"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "token",
|
|
63
|
+
"type": "address",
|
|
64
|
+
"internalType": "address"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "recipient",
|
|
68
|
+
"type": "bytes32",
|
|
69
|
+
"internalType": "bytes32"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "amount",
|
|
73
|
+
"type": "uint256",
|
|
74
|
+
"internalType": "uint256"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "recipientRoles",
|
|
78
|
+
"type": "uint16",
|
|
79
|
+
"internalType": "uint16"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "recipientIsoCountry",
|
|
83
|
+
"type": "uint16",
|
|
84
|
+
"internalType": "uint16"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "recipientKycHash",
|
|
88
|
+
"type": "bytes32",
|
|
89
|
+
"internalType": "bytes32"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "recipientIsAgent",
|
|
93
|
+
"type": "bool",
|
|
94
|
+
"internalType": "bool"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "originatorKycHash",
|
|
98
|
+
"type": "bytes32",
|
|
99
|
+
"internalType": "bytes32"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "expiry",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"internalType": "uint256"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "pearlSignature_",
|
|
110
|
+
"type": "bytes",
|
|
111
|
+
"internalType": "bytes"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"outputs": [],
|
|
115
|
+
"stateMutability": "nonpayable"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "function",
|
|
119
|
+
"name": "getAttestationSigner",
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"outputs": [
|
|
122
|
+
{
|
|
123
|
+
"name": "",
|
|
124
|
+
"type": "address",
|
|
125
|
+
"internalType": "address"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"stateMutability": "view"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "function",
|
|
132
|
+
"name": "getBurnNonce",
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"outputs": [
|
|
135
|
+
{
|
|
136
|
+
"name": "",
|
|
137
|
+
"type": "uint256",
|
|
138
|
+
"internalType": "uint256"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "function",
|
|
145
|
+
"name": "getBurnRecord",
|
|
146
|
+
"inputs": [
|
|
147
|
+
{
|
|
148
|
+
"name": "burnId_",
|
|
149
|
+
"type": "bytes32",
|
|
150
|
+
"internalType": "bytes32"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"outputs": [
|
|
154
|
+
{
|
|
155
|
+
"name": "",
|
|
156
|
+
"type": "tuple",
|
|
157
|
+
"internalType": "struct IP3CrossChainBridge.BurnRecord",
|
|
158
|
+
"components": [
|
|
159
|
+
{
|
|
160
|
+
"name": "burnId",
|
|
161
|
+
"type": "bytes32",
|
|
162
|
+
"internalType": "bytes32"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "token",
|
|
166
|
+
"type": "address",
|
|
167
|
+
"internalType": "address"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "sender",
|
|
171
|
+
"type": "address",
|
|
172
|
+
"internalType": "address"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "recipient",
|
|
176
|
+
"type": "bytes32",
|
|
177
|
+
"internalType": "bytes32"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "amount",
|
|
181
|
+
"type": "uint256",
|
|
182
|
+
"internalType": "uint256"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "srcChainId",
|
|
186
|
+
"type": "uint256",
|
|
187
|
+
"internalType": "uint256"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "destChainId",
|
|
191
|
+
"type": "uint256",
|
|
192
|
+
"internalType": "uint256"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "originatorKycHash",
|
|
196
|
+
"type": "bytes32",
|
|
197
|
+
"internalType": "bytes32"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "burnedAt",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"internalType": "uint256"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"stateMutability": "view"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "function",
|
|
211
|
+
"name": "isBurnIdMinted",
|
|
212
|
+
"inputs": [
|
|
213
|
+
{
|
|
214
|
+
"name": "burnId_",
|
|
215
|
+
"type": "bytes32",
|
|
216
|
+
"internalType": "bytes32"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"outputs": [
|
|
220
|
+
{
|
|
221
|
+
"name": "",
|
|
222
|
+
"type": "bool",
|
|
223
|
+
"internalType": "bool"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"stateMutability": "view"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "event",
|
|
230
|
+
"name": "BurnInitiated",
|
|
231
|
+
"inputs": [
|
|
232
|
+
{
|
|
233
|
+
"name": "burnId",
|
|
234
|
+
"type": "bytes32",
|
|
235
|
+
"indexed": true,
|
|
236
|
+
"internalType": "bytes32"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "token",
|
|
240
|
+
"type": "address",
|
|
241
|
+
"indexed": true,
|
|
242
|
+
"internalType": "address"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "sender",
|
|
246
|
+
"type": "address",
|
|
247
|
+
"indexed": true,
|
|
248
|
+
"internalType": "address"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "recipient",
|
|
252
|
+
"type": "bytes32",
|
|
253
|
+
"indexed": false,
|
|
254
|
+
"internalType": "bytes32"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "amount",
|
|
258
|
+
"type": "uint256",
|
|
259
|
+
"indexed": false,
|
|
260
|
+
"internalType": "uint256"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "srcChainId",
|
|
264
|
+
"type": "uint256",
|
|
265
|
+
"indexed": false,
|
|
266
|
+
"internalType": "uint256"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "destChainId",
|
|
270
|
+
"type": "uint256",
|
|
271
|
+
"indexed": false,
|
|
272
|
+
"internalType": "uint256"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "originatorKycHash",
|
|
276
|
+
"type": "bytes32",
|
|
277
|
+
"indexed": false,
|
|
278
|
+
"internalType": "bytes32"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"anonymous": false
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "event",
|
|
285
|
+
"name": "MintCompleted",
|
|
286
|
+
"inputs": [
|
|
287
|
+
{
|
|
288
|
+
"name": "burnId",
|
|
289
|
+
"type": "bytes32",
|
|
290
|
+
"indexed": true,
|
|
291
|
+
"internalType": "bytes32"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "token",
|
|
295
|
+
"type": "address",
|
|
296
|
+
"indexed": true,
|
|
297
|
+
"internalType": "address"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "recipient",
|
|
301
|
+
"type": "address",
|
|
302
|
+
"indexed": true,
|
|
303
|
+
"internalType": "address"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "amount",
|
|
307
|
+
"type": "uint256",
|
|
308
|
+
"indexed": false,
|
|
309
|
+
"internalType": "uint256"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "srcChainId",
|
|
313
|
+
"type": "uint256",
|
|
314
|
+
"indexed": false,
|
|
315
|
+
"internalType": "uint256"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"anonymous": false
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"type": "error",
|
|
322
|
+
"name": "P3AgentRecipientNotProvisioned",
|
|
323
|
+
"inputs": [
|
|
324
|
+
{
|
|
325
|
+
"name": "recipient",
|
|
326
|
+
"type": "address",
|
|
327
|
+
"internalType": "address"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "error",
|
|
333
|
+
"name": "P3AttestationExpired",
|
|
334
|
+
"inputs": [
|
|
335
|
+
{
|
|
336
|
+
"name": "expiry",
|
|
337
|
+
"type": "uint256",
|
|
338
|
+
"internalType": "uint256"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"type": "error",
|
|
344
|
+
"name": "P3BurnIdAlreadyMinted",
|
|
345
|
+
"inputs": [
|
|
346
|
+
{
|
|
347
|
+
"name": "burnId",
|
|
348
|
+
"type": "bytes32",
|
|
349
|
+
"internalType": "bytes32"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"type": "error",
|
|
355
|
+
"name": "P3InvalidBurnAttestation",
|
|
356
|
+
"inputs": []
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"type": "error",
|
|
360
|
+
"name": "P3MalformedRecipient",
|
|
361
|
+
"inputs": [
|
|
362
|
+
{
|
|
363
|
+
"name": "recipient",
|
|
364
|
+
"type": "bytes32",
|
|
365
|
+
"internalType": "bytes32"
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"type": "error",
|
|
371
|
+
"name": "P3RecipientNotWhitelisted",
|
|
372
|
+
"inputs": [
|
|
373
|
+
{
|
|
374
|
+
"name": "recipient",
|
|
375
|
+
"type": "address",
|
|
376
|
+
"internalType": "address"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"type": "error",
|
|
382
|
+
"name": "P3UnknownDestinationChain",
|
|
383
|
+
"inputs": [
|
|
384
|
+
{
|
|
385
|
+
"name": "destChainId",
|
|
386
|
+
"type": "uint256",
|
|
387
|
+
"internalType": "uint256"
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"type": "error",
|
|
393
|
+
"name": "P3UnknownToken",
|
|
394
|
+
"inputs": [
|
|
395
|
+
{
|
|
396
|
+
"name": "token",
|
|
397
|
+
"type": "address",
|
|
398
|
+
"internalType": "address"
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"type": "error",
|
|
404
|
+
"name": "P3WrongDestinationChain",
|
|
405
|
+
"inputs": [
|
|
406
|
+
{
|
|
407
|
+
"name": "expected",
|
|
408
|
+
"type": "uint256",
|
|
409
|
+
"internalType": "uint256"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "provided",
|
|
413
|
+
"type": "uint256",
|
|
414
|
+
"internalType": "uint256"
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"type": "error",
|
|
420
|
+
"name": "P3ZeroBurnAmount",
|
|
421
|
+
"inputs": []
|
|
422
|
+
}
|
|
423
|
+
];
|
|
424
|
+
export default abi;
|
package/src/IP3EquityVault.d.ts
CHANGED
|
@@ -411,6 +411,16 @@ export declare const abi: [
|
|
|
411
411
|
"name": "nacreAmount_",
|
|
412
412
|
"type": "uint256",
|
|
413
413
|
"internalType": "uint256"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "minPrlusdOut_",
|
|
417
|
+
"type": "uint256",
|
|
418
|
+
"internalType": "uint256"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "deadline_",
|
|
422
|
+
"type": "uint256",
|
|
423
|
+
"internalType": "uint256"
|
|
414
424
|
}
|
|
415
425
|
],
|
|
416
426
|
"outputs": [
|
|
@@ -611,6 +621,16 @@ export declare const abi: [
|
|
|
611
621
|
"name": "assetAmount_",
|
|
612
622
|
"type": "uint256",
|
|
613
623
|
"internalType": "uint256"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "minNacreOut_",
|
|
627
|
+
"type": "uint256",
|
|
628
|
+
"internalType": "uint256"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "deadline_",
|
|
632
|
+
"type": "uint256",
|
|
633
|
+
"internalType": "uint256"
|
|
614
634
|
}
|
|
615
635
|
],
|
|
616
636
|
"outputs": [
|
|
@@ -1155,6 +1175,22 @@ export declare const abi: [
|
|
|
1155
1175
|
}
|
|
1156
1176
|
]
|
|
1157
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"type": "error",
|
|
1180
|
+
"name": "P3EquityVaultDeadlineExpired",
|
|
1181
|
+
"inputs": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "deadline",
|
|
1184
|
+
"type": "uint256",
|
|
1185
|
+
"internalType": "uint256"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"name": "currentTime",
|
|
1189
|
+
"type": "uint256",
|
|
1190
|
+
"internalType": "uint256"
|
|
1191
|
+
}
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1158
1194
|
{
|
|
1159
1195
|
"type": "error",
|
|
1160
1196
|
"name": "P3EquityVaultDecimalMismatch",
|
|
@@ -1283,6 +1319,22 @@ export declare const abi: [
|
|
|
1283
1319
|
"name": "P3EquityVaultInflowsPaused",
|
|
1284
1320
|
"inputs": []
|
|
1285
1321
|
},
|
|
1322
|
+
{
|
|
1323
|
+
"type": "error",
|
|
1324
|
+
"name": "P3EquityVaultInsufficientDividendReserve",
|
|
1325
|
+
"inputs": [
|
|
1326
|
+
{
|
|
1327
|
+
"name": "totalEntitlement",
|
|
1328
|
+
"type": "uint256",
|
|
1329
|
+
"internalType": "uint256"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "reserveBalance",
|
|
1333
|
+
"type": "uint256",
|
|
1334
|
+
"internalType": "uint256"
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1286
1338
|
{
|
|
1287
1339
|
"type": "error",
|
|
1288
1340
|
"name": "P3EquityVaultInsufficientInventory",
|
|
@@ -1363,6 +1415,33 @@ export declare const abi: [
|
|
|
1363
1415
|
}
|
|
1364
1416
|
]
|
|
1365
1417
|
},
|
|
1418
|
+
{
|
|
1419
|
+
"type": "error",
|
|
1420
|
+
"name": "P3EquityVaultNavRateMoveExceedsMax",
|
|
1421
|
+
"inputs": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "moveBps",
|
|
1424
|
+
"type": "uint256",
|
|
1425
|
+
"internalType": "uint256"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "maxBps",
|
|
1429
|
+
"type": "uint256",
|
|
1430
|
+
"internalType": "uint256"
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"type": "error",
|
|
1436
|
+
"name": "P3EquityVaultNavRateUpdateTooFrequent",
|
|
1437
|
+
"inputs": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "nextAllowedAt",
|
|
1440
|
+
"type": "uint256",
|
|
1441
|
+
"internalType": "uint256"
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1366
1445
|
{
|
|
1367
1446
|
"type": "error",
|
|
1368
1447
|
"name": "P3EquityVaultNoRegistryScheduled",
|
|
@@ -1405,6 +1484,22 @@ export declare const abi: [
|
|
|
1405
1484
|
}
|
|
1406
1485
|
]
|
|
1407
1486
|
},
|
|
1487
|
+
{
|
|
1488
|
+
"type": "error",
|
|
1489
|
+
"name": "P3EquityVaultSlippageLimitExceeded",
|
|
1490
|
+
"inputs": [
|
|
1491
|
+
{
|
|
1492
|
+
"name": "amountOut",
|
|
1493
|
+
"type": "uint256",
|
|
1494
|
+
"internalType": "uint256"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "minAmountOut",
|
|
1498
|
+
"type": "uint256",
|
|
1499
|
+
"internalType": "uint256"
|
|
1500
|
+
}
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1408
1503
|
{
|
|
1409
1504
|
"type": "error",
|
|
1410
1505
|
"name": "P3EquityVaultSwapPairNotSupported",
|
package/src/IP3EquityVault.js
CHANGED
|
@@ -411,6 +411,16 @@ export const abi = [
|
|
|
411
411
|
"name": "nacreAmount_",
|
|
412
412
|
"type": "uint256",
|
|
413
413
|
"internalType": "uint256"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "minPrlusdOut_",
|
|
417
|
+
"type": "uint256",
|
|
418
|
+
"internalType": "uint256"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "deadline_",
|
|
422
|
+
"type": "uint256",
|
|
423
|
+
"internalType": "uint256"
|
|
414
424
|
}
|
|
415
425
|
],
|
|
416
426
|
"outputs": [
|
|
@@ -611,6 +621,16 @@ export const abi = [
|
|
|
611
621
|
"name": "assetAmount_",
|
|
612
622
|
"type": "uint256",
|
|
613
623
|
"internalType": "uint256"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "minNacreOut_",
|
|
627
|
+
"type": "uint256",
|
|
628
|
+
"internalType": "uint256"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "deadline_",
|
|
632
|
+
"type": "uint256",
|
|
633
|
+
"internalType": "uint256"
|
|
614
634
|
}
|
|
615
635
|
],
|
|
616
636
|
"outputs": [
|
|
@@ -1155,6 +1175,22 @@ export const abi = [
|
|
|
1155
1175
|
}
|
|
1156
1176
|
]
|
|
1157
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"type": "error",
|
|
1180
|
+
"name": "P3EquityVaultDeadlineExpired",
|
|
1181
|
+
"inputs": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "deadline",
|
|
1184
|
+
"type": "uint256",
|
|
1185
|
+
"internalType": "uint256"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"name": "currentTime",
|
|
1189
|
+
"type": "uint256",
|
|
1190
|
+
"internalType": "uint256"
|
|
1191
|
+
}
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1158
1194
|
{
|
|
1159
1195
|
"type": "error",
|
|
1160
1196
|
"name": "P3EquityVaultDecimalMismatch",
|
|
@@ -1283,6 +1319,22 @@ export const abi = [
|
|
|
1283
1319
|
"name": "P3EquityVaultInflowsPaused",
|
|
1284
1320
|
"inputs": []
|
|
1285
1321
|
},
|
|
1322
|
+
{
|
|
1323
|
+
"type": "error",
|
|
1324
|
+
"name": "P3EquityVaultInsufficientDividendReserve",
|
|
1325
|
+
"inputs": [
|
|
1326
|
+
{
|
|
1327
|
+
"name": "totalEntitlement",
|
|
1328
|
+
"type": "uint256",
|
|
1329
|
+
"internalType": "uint256"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "reserveBalance",
|
|
1333
|
+
"type": "uint256",
|
|
1334
|
+
"internalType": "uint256"
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1286
1338
|
{
|
|
1287
1339
|
"type": "error",
|
|
1288
1340
|
"name": "P3EquityVaultInsufficientInventory",
|
|
@@ -1363,6 +1415,33 @@ export const abi = [
|
|
|
1363
1415
|
}
|
|
1364
1416
|
]
|
|
1365
1417
|
},
|
|
1418
|
+
{
|
|
1419
|
+
"type": "error",
|
|
1420
|
+
"name": "P3EquityVaultNavRateMoveExceedsMax",
|
|
1421
|
+
"inputs": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "moveBps",
|
|
1424
|
+
"type": "uint256",
|
|
1425
|
+
"internalType": "uint256"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "maxBps",
|
|
1429
|
+
"type": "uint256",
|
|
1430
|
+
"internalType": "uint256"
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"type": "error",
|
|
1436
|
+
"name": "P3EquityVaultNavRateUpdateTooFrequent",
|
|
1437
|
+
"inputs": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "nextAllowedAt",
|
|
1440
|
+
"type": "uint256",
|
|
1441
|
+
"internalType": "uint256"
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1366
1445
|
{
|
|
1367
1446
|
"type": "error",
|
|
1368
1447
|
"name": "P3EquityVaultNoRegistryScheduled",
|
|
@@ -1405,6 +1484,22 @@ export const abi = [
|
|
|
1405
1484
|
}
|
|
1406
1485
|
]
|
|
1407
1486
|
},
|
|
1487
|
+
{
|
|
1488
|
+
"type": "error",
|
|
1489
|
+
"name": "P3EquityVaultSlippageLimitExceeded",
|
|
1490
|
+
"inputs": [
|
|
1491
|
+
{
|
|
1492
|
+
"name": "amountOut",
|
|
1493
|
+
"type": "uint256",
|
|
1494
|
+
"internalType": "uint256"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "minAmountOut",
|
|
1498
|
+
"type": "uint256",
|
|
1499
|
+
"internalType": "uint256"
|
|
1500
|
+
}
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1408
1503
|
{
|
|
1409
1504
|
"type": "error",
|
|
1410
1505
|
"name": "P3EquityVaultSwapPairNotSupported",
|