@pearldigital/p3-abis 4.0.2 → 4.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pearldigital/p3-abis",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Generated ABI exports for Pearl Path Protocol (P3) smart contracts",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1104,6 +1104,22 @@ export declare const abi: [
1104
1104
  }
1105
1105
  ]
1106
1106
  },
1107
+ {
1108
+ "type": "error",
1109
+ "name": "P3AttestationManagerCurrencyMismatch",
1110
+ "inputs": [
1111
+ {
1112
+ "name": "walletAddr",
1113
+ "type": "address",
1114
+ "internalType": "address"
1115
+ },
1116
+ {
1117
+ "name": "currency",
1118
+ "type": "string",
1119
+ "internalType": "string"
1120
+ }
1121
+ ]
1122
+ },
1107
1123
  {
1108
1124
  "type": "error",
1109
1125
  "name": "P3AttestationManagerDuplicateLastTxHash",
@@ -1374,6 +1390,17 @@ export declare const abi: [
1374
1390
  }
1375
1391
  ]
1376
1392
  },
1393
+ {
1394
+ "type": "error",
1395
+ "name": "P3AttestationManagerReserveValueTooLarge",
1396
+ "inputs": [
1397
+ {
1398
+ "name": "reserveValue",
1399
+ "type": "uint256",
1400
+ "internalType": "uint256"
1401
+ }
1402
+ ]
1403
+ },
1377
1404
  {
1378
1405
  "type": "error",
1379
1406
  "name": "P3AttestationManagerStaleAttestation",
@@ -1104,6 +1104,22 @@ export const abi = [
1104
1104
  }
1105
1105
  ]
1106
1106
  },
1107
+ {
1108
+ "type": "error",
1109
+ "name": "P3AttestationManagerCurrencyMismatch",
1110
+ "inputs": [
1111
+ {
1112
+ "name": "walletAddr",
1113
+ "type": "address",
1114
+ "internalType": "address"
1115
+ },
1116
+ {
1117
+ "name": "currency",
1118
+ "type": "string",
1119
+ "internalType": "string"
1120
+ }
1121
+ ]
1122
+ },
1107
1123
  {
1108
1124
  "type": "error",
1109
1125
  "name": "P3AttestationManagerDuplicateLastTxHash",
@@ -1374,6 +1390,17 @@ export const abi = [
1374
1390
  }
1375
1391
  ]
1376
1392
  },
1393
+ {
1394
+ "type": "error",
1395
+ "name": "P3AttestationManagerReserveValueTooLarge",
1396
+ "inputs": [
1397
+ {
1398
+ "name": "reserveValue",
1399
+ "type": "uint256",
1400
+ "internalType": "uint256"
1401
+ }
1402
+ ]
1403
+ },
1377
1404
  {
1378
1405
  "type": "error",
1379
1406
  "name": "P3AttestationManagerStaleAttestation",
@@ -84,6 +84,11 @@ export declare const abi: [
84
84
  "name": "registeredAt",
85
85
  "type": "uint256",
86
86
  "internalType": "uint256"
87
+ },
88
+ {
89
+ "name": "deactivatedAt",
90
+ "type": "uint256",
91
+ "internalType": "uint256"
87
92
  }
88
93
  ]
89
94
  }
@@ -109,6 +114,25 @@ export declare const abi: [
109
114
  ],
110
115
  "stateMutability": "view"
111
116
  },
117
+ {
118
+ "type": "function",
119
+ "name": "getDeactivatedAt",
120
+ "inputs": [
121
+ {
122
+ "name": "chainId_",
123
+ "type": "uint256",
124
+ "internalType": "uint256"
125
+ }
126
+ ],
127
+ "outputs": [
128
+ {
129
+ "name": "",
130
+ "type": "uint256",
131
+ "internalType": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "view"
135
+ },
112
136
  {
113
137
  "type": "function",
114
138
  "name": "getRegisteredChainIds",
@@ -84,6 +84,11 @@ export const abi = [
84
84
  "name": "registeredAt",
85
85
  "type": "uint256",
86
86
  "internalType": "uint256"
87
+ },
88
+ {
89
+ "name": "deactivatedAt",
90
+ "type": "uint256",
91
+ "internalType": "uint256"
87
92
  }
88
93
  ]
89
94
  }
@@ -109,6 +114,25 @@ export const abi = [
109
114
  ],
110
115
  "stateMutability": "view"
111
116
  },
117
+ {
118
+ "type": "function",
119
+ "name": "getDeactivatedAt",
120
+ "inputs": [
121
+ {
122
+ "name": "chainId_",
123
+ "type": "uint256",
124
+ "internalType": "uint256"
125
+ }
126
+ ],
127
+ "outputs": [
128
+ {
129
+ "name": "",
130
+ "type": "uint256",
131
+ "internalType": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "view"
135
+ },
112
136
  {
113
137
  "type": "function",
114
138
  "name": "getRegisteredChainIds",
@@ -102,6 +102,11 @@ export declare const abi: [
102
102
  "name": "expiry",
103
103
  "type": "uint256",
104
104
  "internalType": "uint256"
105
+ },
106
+ {
107
+ "name": "burnedAt",
108
+ "type": "uint256",
109
+ "internalType": "uint256"
105
110
  }
106
111
  ]
107
112
  },
@@ -276,6 +281,12 @@ export declare const abi: [
276
281
  "type": "bytes32",
277
282
  "indexed": false,
278
283
  "internalType": "bytes32"
284
+ },
285
+ {
286
+ "name": "burnedAt",
287
+ "type": "uint256",
288
+ "indexed": false,
289
+ "internalType": "uint256"
279
290
  }
280
291
  ],
281
292
  "anonymous": false
@@ -377,6 +388,27 @@ export declare const abi: [
377
388
  }
378
389
  ]
379
390
  },
391
+ {
392
+ "type": "error",
393
+ "name": "P3SourceChainQuarantined",
394
+ "inputs": [
395
+ {
396
+ "name": "srcChainId",
397
+ "type": "uint256",
398
+ "internalType": "uint256"
399
+ },
400
+ {
401
+ "name": "burnedAt",
402
+ "type": "uint256",
403
+ "internalType": "uint256"
404
+ },
405
+ {
406
+ "name": "deactivatedAt",
407
+ "type": "uint256",
408
+ "internalType": "uint256"
409
+ }
410
+ ]
411
+ },
380
412
  {
381
413
  "type": "error",
382
414
  "name": "P3UnknownDestinationChain",
@@ -102,6 +102,11 @@ export const abi = [
102
102
  "name": "expiry",
103
103
  "type": "uint256",
104
104
  "internalType": "uint256"
105
+ },
106
+ {
107
+ "name": "burnedAt",
108
+ "type": "uint256",
109
+ "internalType": "uint256"
105
110
  }
106
111
  ]
107
112
  },
@@ -276,6 +281,12 @@ export const abi = [
276
281
  "type": "bytes32",
277
282
  "indexed": false,
278
283
  "internalType": "bytes32"
284
+ },
285
+ {
286
+ "name": "burnedAt",
287
+ "type": "uint256",
288
+ "indexed": false,
289
+ "internalType": "uint256"
279
290
  }
280
291
  ],
281
292
  "anonymous": false
@@ -377,6 +388,27 @@ export const abi = [
377
388
  }
378
389
  ]
379
390
  },
391
+ {
392
+ "type": "error",
393
+ "name": "P3SourceChainQuarantined",
394
+ "inputs": [
395
+ {
396
+ "name": "srcChainId",
397
+ "type": "uint256",
398
+ "internalType": "uint256"
399
+ },
400
+ {
401
+ "name": "burnedAt",
402
+ "type": "uint256",
403
+ "internalType": "uint256"
404
+ },
405
+ {
406
+ "name": "deactivatedAt",
407
+ "type": "uint256",
408
+ "internalType": "uint256"
409
+ }
410
+ ]
411
+ },
380
412
  {
381
413
  "type": "error",
382
414
  "name": "P3UnknownDestinationChain",
@@ -207,6 +207,19 @@ export declare const abi: [
207
207
  ],
208
208
  "stateMutability": "view"
209
209
  },
210
+ {
211
+ "type": "function",
212
+ "name": "getMaxReserveAge",
213
+ "inputs": [],
214
+ "outputs": [
215
+ {
216
+ "name": "maxReserveAge",
217
+ "type": "uint256",
218
+ "internalType": "uint256"
219
+ }
220
+ ],
221
+ "stateMutability": "view"
222
+ },
210
223
  {
211
224
  "type": "function",
212
225
  "name": "getRecoveryBurnInfo",
@@ -359,6 +372,25 @@ export declare const abi: [
359
372
  ],
360
373
  "stateMutability": "view"
361
374
  },
375
+ {
376
+ "type": "function",
377
+ "name": "isParReserveToken",
378
+ "inputs": [
379
+ {
380
+ "name": "reserveToken_",
381
+ "type": "address",
382
+ "internalType": "address"
383
+ }
384
+ ],
385
+ "outputs": [
386
+ {
387
+ "name": "isPar",
388
+ "type": "bool",
389
+ "internalType": "bool"
390
+ }
391
+ ],
392
+ "stateMutability": "view"
393
+ },
362
394
  {
363
395
  "type": "function",
364
396
  "name": "isSolvencyCheckEnabled",
@@ -759,6 +791,37 @@ export declare const abi: [
759
791
  "outputs": [],
760
792
  "stateMutability": "nonpayable"
761
793
  },
794
+ {
795
+ "type": "function",
796
+ "name": "setMaxReserveAge",
797
+ "inputs": [
798
+ {
799
+ "name": "maxReserveAge_",
800
+ "type": "uint256",
801
+ "internalType": "uint256"
802
+ }
803
+ ],
804
+ "outputs": [],
805
+ "stateMutability": "nonpayable"
806
+ },
807
+ {
808
+ "type": "function",
809
+ "name": "setParReserveToken",
810
+ "inputs": [
811
+ {
812
+ "name": "reserveToken_",
813
+ "type": "address",
814
+ "internalType": "address"
815
+ },
816
+ {
817
+ "name": "isPar_",
818
+ "type": "bool",
819
+ "internalType": "bool"
820
+ }
821
+ ],
822
+ "outputs": [],
823
+ "stateMutability": "nonpayable"
824
+ },
762
825
  {
763
826
  "type": "function",
764
827
  "name": "setRecoveryConfig",
@@ -1141,6 +1204,31 @@ export declare const abi: [
1141
1204
  ],
1142
1205
  "anonymous": false
1143
1206
  },
1207
+ {
1208
+ "type": "event",
1209
+ "name": "BridgeInflowReducedOnBurn",
1210
+ "inputs": [
1211
+ {
1212
+ "name": "token",
1213
+ "type": "address",
1214
+ "indexed": true,
1215
+ "internalType": "address"
1216
+ },
1217
+ {
1218
+ "name": "reducedBy",
1219
+ "type": "uint256",
1220
+ "indexed": false,
1221
+ "internalType": "uint256"
1222
+ },
1223
+ {
1224
+ "name": "newInflowBalance",
1225
+ "type": "uint256",
1226
+ "indexed": false,
1227
+ "internalType": "uint256"
1228
+ }
1229
+ ],
1230
+ "anonymous": false
1231
+ },
1144
1232
  {
1145
1233
  "type": "event",
1146
1234
  "name": "BridgeOutflowRecorded",
@@ -1234,6 +1322,25 @@ export declare const abi: [
1234
1322
  ],
1235
1323
  "anonymous": false
1236
1324
  },
1325
+ {
1326
+ "type": "event",
1327
+ "name": "MaxReserveAgeSet",
1328
+ "inputs": [
1329
+ {
1330
+ "name": "oldMaxReserveAge",
1331
+ "type": "uint256",
1332
+ "indexed": false,
1333
+ "internalType": "uint256"
1334
+ },
1335
+ {
1336
+ "name": "newMaxReserveAge",
1337
+ "type": "uint256",
1338
+ "indexed": false,
1339
+ "internalType": "uint256"
1340
+ }
1341
+ ],
1342
+ "anonymous": false
1343
+ },
1237
1344
  {
1238
1345
  "type": "event",
1239
1346
  "name": "P3CommonReservesRebalanced",
@@ -1370,6 +1477,25 @@ export declare const abi: [
1370
1477
  ],
1371
1478
  "anonymous": false
1372
1479
  },
1480
+ {
1481
+ "type": "event",
1482
+ "name": "ParReserveTokenSet",
1483
+ "inputs": [
1484
+ {
1485
+ "name": "reserveToken",
1486
+ "type": "address",
1487
+ "indexed": true,
1488
+ "internalType": "address"
1489
+ },
1490
+ {
1491
+ "name": "isPar",
1492
+ "type": "bool",
1493
+ "indexed": false,
1494
+ "internalType": "bool"
1495
+ }
1496
+ ],
1497
+ "anonymous": false
1498
+ },
1373
1499
  {
1374
1500
  "type": "event",
1375
1501
  "name": "RecoveryConfigUpdated",
@@ -1962,6 +2088,17 @@ export declare const abi: [
1962
2088
  }
1963
2089
  ]
1964
2090
  },
2091
+ {
2092
+ "type": "error",
2093
+ "name": "P3TreasuryManagerReserveMirrorCannotBeCleared",
2094
+ "inputs": [
2095
+ {
2096
+ "name": "currentMirror",
2097
+ "type": "address",
2098
+ "internalType": "address"
2099
+ }
2100
+ ]
2101
+ },
1965
2102
  {
1966
2103
  "type": "error",
1967
2104
  "name": "P3TreasuryManagerReserveRatioBelowMinimum",
@@ -1989,6 +2126,17 @@ export declare const abi: [
1989
2126
  }
1990
2127
  ]
1991
2128
  },
2129
+ {
2130
+ "type": "error",
2131
+ "name": "P3TreasuryManagerReserveTokenNotPar",
2132
+ "inputs": [
2133
+ {
2134
+ "name": "reserveToken",
2135
+ "type": "address",
2136
+ "internalType": "address"
2137
+ }
2138
+ ]
2139
+ },
1992
2140
  {
1993
2141
  "type": "error",
1994
2142
  "name": "P3TreasuryManagerReserveWalletAlreadyAssigned",
@@ -2110,6 +2258,27 @@ export declare const abi: [
2110
2258
  }
2111
2259
  ]
2112
2260
  },
2261
+ {
2262
+ "type": "error",
2263
+ "name": "P3TreasuryManagerSweepAmountExceedsExcess",
2264
+ "inputs": [
2265
+ {
2266
+ "name": "reserveToken",
2267
+ "type": "address",
2268
+ "internalType": "address"
2269
+ },
2270
+ {
2271
+ "name": "tokenAmount",
2272
+ "type": "uint256",
2273
+ "internalType": "uint256"
2274
+ },
2275
+ {
2276
+ "name": "maxExcessValue",
2277
+ "type": "uint256",
2278
+ "internalType": "uint256"
2279
+ }
2280
+ ]
2281
+ },
2113
2282
  {
2114
2283
  "type": "error",
2115
2284
  "name": "P3TreasuryManagerSweepExceedsExcess",