@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.
@@ -282,6 +282,19 @@ export declare const abi: [
282
282
  "outputs": [],
283
283
  "stateMutability": "nonpayable"
284
284
  },
285
+ {
286
+ "type": "function",
287
+ "name": "setComplianceFactory",
288
+ "inputs": [
289
+ {
290
+ "name": "factory_",
291
+ "type": "address",
292
+ "internalType": "address"
293
+ }
294
+ ],
295
+ "outputs": [],
296
+ "stateMutability": "nonpayable"
297
+ },
285
298
  {
286
299
  "type": "function",
287
300
  "name": "setModuleCallDelay",
@@ -344,6 +357,25 @@ export declare const abi: [
344
357
  "outputs": [],
345
358
  "stateMutability": "nonpayable"
346
359
  },
360
+ {
361
+ "type": "event",
362
+ "name": "ComplianceFactoryUpdated",
363
+ "inputs": [
364
+ {
365
+ "name": "oldFactory",
366
+ "type": "address",
367
+ "indexed": true,
368
+ "internalType": "address"
369
+ },
370
+ {
371
+ "name": "newFactory",
372
+ "type": "address",
373
+ "indexed": true,
374
+ "internalType": "address"
375
+ }
376
+ ],
377
+ "anonymous": false
378
+ },
347
379
  {
348
380
  "type": "event",
349
381
  "name": "MaxModulesCountUpdated",
@@ -708,6 +740,17 @@ export declare const abi: [
708
740
  }
709
741
  ]
710
742
  },
743
+ {
744
+ "type": "error",
745
+ "name": "P3ModuleNotAllowedByFactory",
746
+ "inputs": [
747
+ {
748
+ "name": "module",
749
+ "type": "address",
750
+ "internalType": "address"
751
+ }
752
+ ]
753
+ },
711
754
  {
712
755
  "type": "error",
713
756
  "name": "P3ModuleRemovalNotScheduled",
@@ -751,6 +794,17 @@ export declare const abi: [
751
794
  }
752
795
  ]
753
796
  },
797
+ {
798
+ "type": "error",
799
+ "name": "P3RebindModuleIncoherent",
800
+ "inputs": [
801
+ {
802
+ "name": "module",
803
+ "type": "address",
804
+ "internalType": "address"
805
+ }
806
+ ]
807
+ },
754
808
  {
755
809
  "type": "error",
756
810
  "name": "P3RebindNoTokenBound",
@@ -282,6 +282,19 @@ export const abi = [
282
282
  "outputs": [],
283
283
  "stateMutability": "nonpayable"
284
284
  },
285
+ {
286
+ "type": "function",
287
+ "name": "setComplianceFactory",
288
+ "inputs": [
289
+ {
290
+ "name": "factory_",
291
+ "type": "address",
292
+ "internalType": "address"
293
+ }
294
+ ],
295
+ "outputs": [],
296
+ "stateMutability": "nonpayable"
297
+ },
285
298
  {
286
299
  "type": "function",
287
300
  "name": "setModuleCallDelay",
@@ -344,6 +357,25 @@ export const abi = [
344
357
  "outputs": [],
345
358
  "stateMutability": "nonpayable"
346
359
  },
360
+ {
361
+ "type": "event",
362
+ "name": "ComplianceFactoryUpdated",
363
+ "inputs": [
364
+ {
365
+ "name": "oldFactory",
366
+ "type": "address",
367
+ "indexed": true,
368
+ "internalType": "address"
369
+ },
370
+ {
371
+ "name": "newFactory",
372
+ "type": "address",
373
+ "indexed": true,
374
+ "internalType": "address"
375
+ }
376
+ ],
377
+ "anonymous": false
378
+ },
347
379
  {
348
380
  "type": "event",
349
381
  "name": "MaxModulesCountUpdated",
@@ -708,6 +740,17 @@ export const abi = [
708
740
  }
709
741
  ]
710
742
  },
743
+ {
744
+ "type": "error",
745
+ "name": "P3ModuleNotAllowedByFactory",
746
+ "inputs": [
747
+ {
748
+ "name": "module",
749
+ "type": "address",
750
+ "internalType": "address"
751
+ }
752
+ ]
753
+ },
711
754
  {
712
755
  "type": "error",
713
756
  "name": "P3ModuleRemovalNotScheduled",
@@ -751,6 +794,17 @@ export const abi = [
751
794
  }
752
795
  ]
753
796
  },
797
+ {
798
+ "type": "error",
799
+ "name": "P3RebindModuleIncoherent",
800
+ "inputs": [
801
+ {
802
+ "name": "module",
803
+ "type": "address",
804
+ "internalType": "address"
805
+ }
806
+ ]
807
+ },
754
808
  {
755
809
  "type": "error",
756
810
  "name": "P3RebindNoTokenBound",
@@ -13,6 +13,20 @@ export declare const abi: [
13
13
  ],
14
14
  "stateMutability": "view"
15
15
  },
16
+ {
17
+ "type": "function",
18
+ "name": "cancelAgenticRegistry",
19
+ "inputs": [],
20
+ "outputs": [],
21
+ "stateMutability": "nonpayable"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "executeAgenticRegistry",
26
+ "inputs": [],
27
+ "outputs": [],
28
+ "stateMutability": "nonpayable"
29
+ },
16
30
  {
17
31
  "type": "function",
18
32
  "name": "getVault",
@@ -73,6 +87,11 @@ export declare const abi: [
73
87
  "name": "pegRate",
74
88
  "type": "uint256",
75
89
  "internalType": "uint256"
90
+ },
91
+ {
92
+ "name": "lastPegUpdate",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
76
95
  }
77
96
  ]
78
97
  }
@@ -245,6 +264,16 @@ export declare const abi: [
245
264
  "name": "vaultTokenAmount_",
246
265
  "type": "uint256",
247
266
  "internalType": "uint256"
267
+ },
268
+ {
269
+ "name": "minPrlusdOut_",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ },
273
+ {
274
+ "name": "deadline_",
275
+ "type": "uint256",
276
+ "internalType": "uint256"
248
277
  }
249
278
  ],
250
279
  "outputs": [
@@ -303,7 +332,7 @@ export declare const abi: [
303
332
  },
304
333
  {
305
334
  "type": "function",
306
- "name": "setAgenticRegistry",
335
+ "name": "scheduleAgenticRegistry",
307
336
  "inputs": [
308
337
  {
309
338
  "name": "agenticRegistry_",
@@ -484,6 +513,16 @@ export declare const abi: [
484
513
  "name": "assetAmount_",
485
514
  "type": "uint256",
486
515
  "internalType": "uint256"
516
+ },
517
+ {
518
+ "name": "minVaultTokenOut_",
519
+ "type": "uint256",
520
+ "internalType": "uint256"
521
+ },
522
+ {
523
+ "name": "deadline_",
524
+ "type": "uint256",
525
+ "internalType": "uint256"
487
526
  }
488
527
  ],
489
528
  "outputs": [
@@ -585,6 +624,38 @@ export declare const abi: [
585
624
  ],
586
625
  "stateMutability": "view"
587
626
  },
627
+ {
628
+ "type": "event",
629
+ "name": "AgenticRegistryScheduleCancelled",
630
+ "inputs": [
631
+ {
632
+ "name": "cancelledAddress",
633
+ "type": "address",
634
+ "indexed": false,
635
+ "internalType": "address"
636
+ }
637
+ ],
638
+ "anonymous": false
639
+ },
640
+ {
641
+ "type": "event",
642
+ "name": "AgenticRegistryScheduled",
643
+ "inputs": [
644
+ {
645
+ "name": "newAddress",
646
+ "type": "address",
647
+ "indexed": false,
648
+ "internalType": "address"
649
+ },
650
+ {
651
+ "name": "readyAt",
652
+ "type": "uint256",
653
+ "indexed": false,
654
+ "internalType": "uint256"
655
+ }
656
+ ],
657
+ "anonymous": false
658
+ },
588
659
  {
589
660
  "type": "event",
590
661
  "name": "AgenticRegistryUpdated",
@@ -1013,6 +1084,22 @@ export declare const abi: [
1013
1084
  }
1014
1085
  ]
1015
1086
  },
1087
+ {
1088
+ "type": "error",
1089
+ "name": "P3RWAVaultDeadlineExpired",
1090
+ "inputs": [
1091
+ {
1092
+ "name": "deadline",
1093
+ "type": "uint256",
1094
+ "internalType": "uint256"
1095
+ },
1096
+ {
1097
+ "name": "currentTime",
1098
+ "type": "uint256",
1099
+ "internalType": "uint256"
1100
+ }
1101
+ ]
1102
+ },
1016
1103
  {
1017
1104
  "type": "error",
1018
1105
  "name": "P3RWAVaultDecimalMismatch",
@@ -1092,6 +1179,11 @@ export declare const abi: [
1092
1179
  }
1093
1180
  ]
1094
1181
  },
1182
+ {
1183
+ "type": "error",
1184
+ "name": "P3RWAVaultNoRegistryScheduled",
1185
+ "inputs": []
1186
+ },
1095
1187
  {
1096
1188
  "type": "error",
1097
1189
  "name": "P3RWAVaultNotRegistered",
@@ -1146,6 +1238,65 @@ export declare const abi: [
1146
1238
  }
1147
1239
  ]
1148
1240
  },
1241
+ {
1242
+ "type": "error",
1243
+ "name": "P3RWAVaultPegRateMoveExceedsMax",
1244
+ "inputs": [
1245
+ {
1246
+ "name": "moveBps",
1247
+ "type": "uint256",
1248
+ "internalType": "uint256"
1249
+ },
1250
+ {
1251
+ "name": "maxBps",
1252
+ "type": "uint256",
1253
+ "internalType": "uint256"
1254
+ }
1255
+ ]
1256
+ },
1257
+ {
1258
+ "type": "error",
1259
+ "name": "P3RWAVaultPegRateUpdateTooFrequent",
1260
+ "inputs": [
1261
+ {
1262
+ "name": "nextAllowedAt",
1263
+ "type": "uint256",
1264
+ "internalType": "uint256"
1265
+ }
1266
+ ]
1267
+ },
1268
+ {
1269
+ "type": "error",
1270
+ "name": "P3RWAVaultRegistryTimelockNotElapsed",
1271
+ "inputs": [
1272
+ {
1273
+ "name": "readyAt",
1274
+ "type": "uint256",
1275
+ "internalType": "uint256"
1276
+ },
1277
+ {
1278
+ "name": "currentTime",
1279
+ "type": "uint256",
1280
+ "internalType": "uint256"
1281
+ }
1282
+ ]
1283
+ },
1284
+ {
1285
+ "type": "error",
1286
+ "name": "P3RWAVaultSlippageLimitExceeded",
1287
+ "inputs": [
1288
+ {
1289
+ "name": "amountOut",
1290
+ "type": "uint256",
1291
+ "internalType": "uint256"
1292
+ },
1293
+ {
1294
+ "name": "minAmountOut",
1295
+ "type": "uint256",
1296
+ "internalType": "uint256"
1297
+ }
1298
+ ]
1299
+ },
1149
1300
  {
1150
1301
  "type": "error",
1151
1302
  "name": "P3RWAVaultSwapYieldedZero",
@@ -13,6 +13,20 @@ export const abi = [
13
13
  ],
14
14
  "stateMutability": "view"
15
15
  },
16
+ {
17
+ "type": "function",
18
+ "name": "cancelAgenticRegistry",
19
+ "inputs": [],
20
+ "outputs": [],
21
+ "stateMutability": "nonpayable"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "executeAgenticRegistry",
26
+ "inputs": [],
27
+ "outputs": [],
28
+ "stateMutability": "nonpayable"
29
+ },
16
30
  {
17
31
  "type": "function",
18
32
  "name": "getVault",
@@ -73,6 +87,11 @@ export const abi = [
73
87
  "name": "pegRate",
74
88
  "type": "uint256",
75
89
  "internalType": "uint256"
90
+ },
91
+ {
92
+ "name": "lastPegUpdate",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
76
95
  }
77
96
  ]
78
97
  }
@@ -245,6 +264,16 @@ export const abi = [
245
264
  "name": "vaultTokenAmount_",
246
265
  "type": "uint256",
247
266
  "internalType": "uint256"
267
+ },
268
+ {
269
+ "name": "minPrlusdOut_",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ },
273
+ {
274
+ "name": "deadline_",
275
+ "type": "uint256",
276
+ "internalType": "uint256"
248
277
  }
249
278
  ],
250
279
  "outputs": [
@@ -303,7 +332,7 @@ export const abi = [
303
332
  },
304
333
  {
305
334
  "type": "function",
306
- "name": "setAgenticRegistry",
335
+ "name": "scheduleAgenticRegistry",
307
336
  "inputs": [
308
337
  {
309
338
  "name": "agenticRegistry_",
@@ -484,6 +513,16 @@ export const abi = [
484
513
  "name": "assetAmount_",
485
514
  "type": "uint256",
486
515
  "internalType": "uint256"
516
+ },
517
+ {
518
+ "name": "minVaultTokenOut_",
519
+ "type": "uint256",
520
+ "internalType": "uint256"
521
+ },
522
+ {
523
+ "name": "deadline_",
524
+ "type": "uint256",
525
+ "internalType": "uint256"
487
526
  }
488
527
  ],
489
528
  "outputs": [
@@ -585,6 +624,38 @@ export const abi = [
585
624
  ],
586
625
  "stateMutability": "view"
587
626
  },
627
+ {
628
+ "type": "event",
629
+ "name": "AgenticRegistryScheduleCancelled",
630
+ "inputs": [
631
+ {
632
+ "name": "cancelledAddress",
633
+ "type": "address",
634
+ "indexed": false,
635
+ "internalType": "address"
636
+ }
637
+ ],
638
+ "anonymous": false
639
+ },
640
+ {
641
+ "type": "event",
642
+ "name": "AgenticRegistryScheduled",
643
+ "inputs": [
644
+ {
645
+ "name": "newAddress",
646
+ "type": "address",
647
+ "indexed": false,
648
+ "internalType": "address"
649
+ },
650
+ {
651
+ "name": "readyAt",
652
+ "type": "uint256",
653
+ "indexed": false,
654
+ "internalType": "uint256"
655
+ }
656
+ ],
657
+ "anonymous": false
658
+ },
588
659
  {
589
660
  "type": "event",
590
661
  "name": "AgenticRegistryUpdated",
@@ -1013,6 +1084,22 @@ export const abi = [
1013
1084
  }
1014
1085
  ]
1015
1086
  },
1087
+ {
1088
+ "type": "error",
1089
+ "name": "P3RWAVaultDeadlineExpired",
1090
+ "inputs": [
1091
+ {
1092
+ "name": "deadline",
1093
+ "type": "uint256",
1094
+ "internalType": "uint256"
1095
+ },
1096
+ {
1097
+ "name": "currentTime",
1098
+ "type": "uint256",
1099
+ "internalType": "uint256"
1100
+ }
1101
+ ]
1102
+ },
1016
1103
  {
1017
1104
  "type": "error",
1018
1105
  "name": "P3RWAVaultDecimalMismatch",
@@ -1092,6 +1179,11 @@ export const abi = [
1092
1179
  }
1093
1180
  ]
1094
1181
  },
1182
+ {
1183
+ "type": "error",
1184
+ "name": "P3RWAVaultNoRegistryScheduled",
1185
+ "inputs": []
1186
+ },
1095
1187
  {
1096
1188
  "type": "error",
1097
1189
  "name": "P3RWAVaultNotRegistered",
@@ -1146,6 +1238,65 @@ export const abi = [
1146
1238
  }
1147
1239
  ]
1148
1240
  },
1241
+ {
1242
+ "type": "error",
1243
+ "name": "P3RWAVaultPegRateMoveExceedsMax",
1244
+ "inputs": [
1245
+ {
1246
+ "name": "moveBps",
1247
+ "type": "uint256",
1248
+ "internalType": "uint256"
1249
+ },
1250
+ {
1251
+ "name": "maxBps",
1252
+ "type": "uint256",
1253
+ "internalType": "uint256"
1254
+ }
1255
+ ]
1256
+ },
1257
+ {
1258
+ "type": "error",
1259
+ "name": "P3RWAVaultPegRateUpdateTooFrequent",
1260
+ "inputs": [
1261
+ {
1262
+ "name": "nextAllowedAt",
1263
+ "type": "uint256",
1264
+ "internalType": "uint256"
1265
+ }
1266
+ ]
1267
+ },
1268
+ {
1269
+ "type": "error",
1270
+ "name": "P3RWAVaultRegistryTimelockNotElapsed",
1271
+ "inputs": [
1272
+ {
1273
+ "name": "readyAt",
1274
+ "type": "uint256",
1275
+ "internalType": "uint256"
1276
+ },
1277
+ {
1278
+ "name": "currentTime",
1279
+ "type": "uint256",
1280
+ "internalType": "uint256"
1281
+ }
1282
+ ]
1283
+ },
1284
+ {
1285
+ "type": "error",
1286
+ "name": "P3RWAVaultSlippageLimitExceeded",
1287
+ "inputs": [
1288
+ {
1289
+ "name": "amountOut",
1290
+ "type": "uint256",
1291
+ "internalType": "uint256"
1292
+ },
1293
+ {
1294
+ "name": "minAmountOut",
1295
+ "type": "uint256",
1296
+ "internalType": "uint256"
1297
+ }
1298
+ ]
1299
+ },
1149
1300
  {
1150
1301
  "type": "error",
1151
1302
  "name": "P3RWAVaultSwapYieldedZero",