@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.
@@ -207,6 +207,19 @@ export 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 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 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 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 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 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 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 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 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",
package/src/index.d.ts CHANGED
@@ -22,7 +22,6 @@ export { abi as IP3EquityVault, abi as P3EquityVaultABI } from "./IP3EquityVault
22
22
  export { abi as IP3FXSwap, abi as P3FXSwapABI } from "./IP3FXSwap.js";
23
23
  export { abi as IP3ModularCompliance, abi as P3ModularComplianceABI } from "./IP3ModularCompliance.js";
24
24
  export { abi as IP3RWAVault, abi as P3RWAVaultABI } from "./IP3RWAVault.js";
25
- export { abi as IP3RegistryMirror, abi as P3RegistryMirrorABI } from "./IP3RegistryMirror.js";
26
25
  export { abi as IP3ReputationComplianceModule, abi as P3ReputationComplianceModuleABI } from "./IP3ReputationComplianceModule.js";
27
26
  export { abi as IP3ReputationRegistry, abi as P3ReputationRegistryABI } from "./IP3ReputationRegistry.js";
28
27
  export { abi as IP3ReserveMirror, abi as P3ReserveMirrorABI } from "./IP3ReserveMirror.js";
package/src/index.js CHANGED
@@ -22,7 +22,6 @@ export { abi as IP3EquityVault, abi as P3EquityVaultABI } from "./IP3EquityVault
22
22
  export { abi as IP3FXSwap, abi as P3FXSwapABI } from "./IP3FXSwap.js";
23
23
  export { abi as IP3ModularCompliance, abi as P3ModularComplianceABI } from "./IP3ModularCompliance.js";
24
24
  export { abi as IP3RWAVault, abi as P3RWAVaultABI } from "./IP3RWAVault.js";
25
- export { abi as IP3RegistryMirror, abi as P3RegistryMirrorABI } from "./IP3RegistryMirror.js";
26
25
  export { abi as IP3ReputationComplianceModule, abi as P3ReputationComplianceModuleABI } from "./IP3ReputationComplianceModule.js";
27
26
  export { abi as IP3ReputationRegistry, abi as P3ReputationRegistryABI } from "./IP3ReputationRegistry.js";
28
27
  export { abi as IP3ReserveMirror, abi as P3ReserveMirrorABI } from "./IP3ReserveMirror.js";