@pearldigital/p3-abis 4.0.2 → 4.0.4

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.
@@ -719,6 +719,96 @@ export const abi = [
719
719
  ],
720
720
  "stateMutability": "view"
721
721
  },
722
+ {
723
+ "type": "function",
724
+ "name": "getTokenizedBinding",
725
+ "inputs": [
726
+ {
727
+ "name": "walletAddr_",
728
+ "type": "address",
729
+ "internalType": "address"
730
+ },
731
+ {
732
+ "name": "isin_",
733
+ "type": "string",
734
+ "internalType": "string"
735
+ }
736
+ ],
737
+ "outputs": [
738
+ {
739
+ "name": "",
740
+ "type": "tuple",
741
+ "internalType": "struct IP3AttestationManager.TokenizedBinding",
742
+ "components": [
743
+ {
744
+ "name": "token",
745
+ "type": "address",
746
+ "internalType": "address"
747
+ },
748
+ {
749
+ "name": "decimals",
750
+ "type": "uint8",
751
+ "internalType": "uint8"
752
+ },
753
+ {
754
+ "name": "isParValue",
755
+ "type": "bool",
756
+ "internalType": "bool"
757
+ },
758
+ {
759
+ "name": "registered",
760
+ "type": "bool",
761
+ "internalType": "bool"
762
+ },
763
+ {
764
+ "name": "maxValue",
765
+ "type": "uint256",
766
+ "internalType": "uint256"
767
+ }
768
+ ]
769
+ }
770
+ ],
771
+ "stateMutability": "view"
772
+ },
773
+ {
774
+ "type": "function",
775
+ "name": "getTokenizedBindingHash",
776
+ "inputs": [
777
+ {
778
+ "name": "walletAddr_",
779
+ "type": "address",
780
+ "internalType": "address"
781
+ },
782
+ {
783
+ "name": "isin_",
784
+ "type": "string",
785
+ "internalType": "string"
786
+ },
787
+ {
788
+ "name": "token_",
789
+ "type": "address",
790
+ "internalType": "address"
791
+ },
792
+ {
793
+ "name": "isParValue_",
794
+ "type": "bool",
795
+ "internalType": "bool"
796
+ },
797
+ {
798
+ "name": "maxValue_",
799
+ "type": "uint256",
800
+ "internalType": "uint256"
801
+ }
802
+ ],
803
+ "outputs": [
804
+ {
805
+ "name": "",
806
+ "type": "bytes32",
807
+ "internalType": "bytes32"
808
+ }
809
+ ],
810
+ "stateMutability": "view"
811
+ },
722
812
  {
723
813
  "type": "function",
724
814
  "name": "getWalletAddress",
@@ -748,6 +838,25 @@ export const abi = [
748
838
  ],
749
839
  "stateMutability": "view"
750
840
  },
841
+ {
842
+ "type": "function",
843
+ "name": "getWalletCurrencyHash",
844
+ "inputs": [
845
+ {
846
+ "name": "walletAddr_",
847
+ "type": "address",
848
+ "internalType": "address"
849
+ }
850
+ ],
851
+ "outputs": [
852
+ {
853
+ "name": "",
854
+ "type": "bytes32",
855
+ "internalType": "bytes32"
856
+ }
857
+ ],
858
+ "stateMutability": "view"
859
+ },
751
860
  {
752
861
  "type": "function",
753
862
  "name": "maxAttestationAge",
@@ -813,6 +922,24 @@ export const abi = [
813
922
  ],
814
923
  "stateMutability": "view"
815
924
  },
925
+ {
926
+ "type": "function",
927
+ "name": "removeReserveIsin",
928
+ "inputs": [
929
+ {
930
+ "name": "walletAddr_",
931
+ "type": "address",
932
+ "internalType": "address"
933
+ },
934
+ {
935
+ "name": "isin_",
936
+ "type": "string",
937
+ "internalType": "string"
938
+ }
939
+ ],
940
+ "outputs": [],
941
+ "stateMutability": "nonpayable"
942
+ },
816
943
  {
817
944
  "type": "function",
818
945
  "name": "setMaxAttestationAge",
@@ -839,6 +966,44 @@ export const abi = [
839
966
  "outputs": [],
840
967
  "stateMutability": "nonpayable"
841
968
  },
969
+ {
970
+ "type": "function",
971
+ "name": "setTokenizedBinding",
972
+ "inputs": [
973
+ {
974
+ "name": "walletAddr_",
975
+ "type": "address",
976
+ "internalType": "address"
977
+ },
978
+ {
979
+ "name": "isin_",
980
+ "type": "string",
981
+ "internalType": "string"
982
+ },
983
+ {
984
+ "name": "token_",
985
+ "type": "address",
986
+ "internalType": "address"
987
+ },
988
+ {
989
+ "name": "isParValue_",
990
+ "type": "bool",
991
+ "internalType": "bool"
992
+ },
993
+ {
994
+ "name": "maxValue_",
995
+ "type": "uint256",
996
+ "internalType": "uint256"
997
+ },
998
+ {
999
+ "name": "sig_",
1000
+ "type": "bytes",
1001
+ "internalType": "bytes"
1002
+ }
1003
+ ],
1004
+ "outputs": [],
1005
+ "stateMutability": "nonpayable"
1006
+ },
842
1007
  {
843
1008
  "type": "function",
844
1009
  "name": "updateAttestationWallet",
@@ -1093,6 +1258,62 @@ export const abi = [
1093
1258
  ],
1094
1259
  "anonymous": false
1095
1260
  },
1261
+ {
1262
+ "type": "event",
1263
+ "name": "P3ReserveIsinRemoved",
1264
+ "inputs": [
1265
+ {
1266
+ "name": "walletAddr",
1267
+ "type": "address",
1268
+ "indexed": true,
1269
+ "internalType": "address"
1270
+ },
1271
+ {
1272
+ "name": "isin",
1273
+ "type": "string",
1274
+ "indexed": false,
1275
+ "internalType": "string"
1276
+ },
1277
+ {
1278
+ "name": "droppedValue",
1279
+ "type": "uint256",
1280
+ "indexed": false,
1281
+ "internalType": "uint256"
1282
+ }
1283
+ ],
1284
+ "anonymous": false
1285
+ },
1286
+ {
1287
+ "type": "event",
1288
+ "name": "P3TokenizedBindingSet",
1289
+ "inputs": [
1290
+ {
1291
+ "name": "walletAddr",
1292
+ "type": "address",
1293
+ "indexed": true,
1294
+ "internalType": "address"
1295
+ },
1296
+ {
1297
+ "name": "isin",
1298
+ "type": "string",
1299
+ "indexed": false,
1300
+ "internalType": "string"
1301
+ },
1302
+ {
1303
+ "name": "token",
1304
+ "type": "address",
1305
+ "indexed": true,
1306
+ "internalType": "address"
1307
+ },
1308
+ {
1309
+ "name": "isParValue",
1310
+ "type": "bool",
1311
+ "indexed": false,
1312
+ "internalType": "bool"
1313
+ }
1314
+ ],
1315
+ "anonymous": false
1316
+ },
1096
1317
  {
1097
1318
  "type": "error",
1098
1319
  "name": "P3AttestationManagerBalanceTooLow",
@@ -1104,6 +1325,86 @@ export const abi = [
1104
1325
  }
1105
1326
  ]
1106
1327
  },
1328
+ {
1329
+ "type": "error",
1330
+ "name": "P3AttestationManagerBindingDecimalsTooLarge",
1331
+ "inputs": [
1332
+ {
1333
+ "name": "token",
1334
+ "type": "address",
1335
+ "internalType": "address"
1336
+ },
1337
+ {
1338
+ "name": "decimals",
1339
+ "type": "uint8",
1340
+ "internalType": "uint8"
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "type": "error",
1346
+ "name": "P3AttestationManagerBindingHasNoNav",
1347
+ "inputs": [
1348
+ {
1349
+ "name": "walletAddr",
1350
+ "type": "address",
1351
+ "internalType": "address"
1352
+ },
1353
+ {
1354
+ "name": "isin",
1355
+ "type": "string",
1356
+ "internalType": "string"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "type": "error",
1362
+ "name": "P3AttestationManagerBindingScaleMismatch",
1363
+ "inputs": [
1364
+ {
1365
+ "name": "attested",
1366
+ "type": "uint256",
1367
+ "internalType": "uint256"
1368
+ },
1369
+ {
1370
+ "name": "derived",
1371
+ "type": "uint256",
1372
+ "internalType": "uint256"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "type": "error",
1378
+ "name": "P3AttestationManagerBindingSelfCollateral",
1379
+ "inputs": [
1380
+ {
1381
+ "name": "token",
1382
+ "type": "address",
1383
+ "internalType": "address"
1384
+ }
1385
+ ]
1386
+ },
1387
+ {
1388
+ "type": "error",
1389
+ "name": "P3AttestationManagerBindingZeroToken",
1390
+ "inputs": []
1391
+ },
1392
+ {
1393
+ "type": "error",
1394
+ "name": "P3AttestationManagerCurrencyMismatch",
1395
+ "inputs": [
1396
+ {
1397
+ "name": "walletAddr",
1398
+ "type": "address",
1399
+ "internalType": "address"
1400
+ },
1401
+ {
1402
+ "name": "currency",
1403
+ "type": "string",
1404
+ "internalType": "string"
1405
+ }
1406
+ ]
1407
+ },
1107
1408
  {
1108
1409
  "type": "error",
1109
1410
  "name": "P3AttestationManagerDuplicateLastTxHash",
@@ -1136,6 +1437,22 @@ export const abi = [
1136
1437
  }
1137
1438
  ]
1138
1439
  },
1440
+ {
1441
+ "type": "error",
1442
+ "name": "P3AttestationManagerInvalidBindingSigner",
1443
+ "inputs": [
1444
+ {
1445
+ "name": "signer",
1446
+ "type": "address",
1447
+ "internalType": "address"
1448
+ },
1449
+ {
1450
+ "name": "bindingHash",
1451
+ "type": "bytes32",
1452
+ "internalType": "bytes32"
1453
+ }
1454
+ ]
1455
+ },
1139
1456
  {
1140
1457
  "type": "error",
1141
1458
  "name": "P3AttestationManagerInvalidMaxAge",
@@ -1342,6 +1659,43 @@ export const abi = [
1342
1659
  }
1343
1660
  ]
1344
1661
  },
1662
+ {
1663
+ "type": "error",
1664
+ "name": "P3AttestationManagerIsinNotFound",
1665
+ "inputs": [
1666
+ {
1667
+ "name": "walletAddr",
1668
+ "type": "address",
1669
+ "internalType": "address"
1670
+ },
1671
+ {
1672
+ "name": "isin",
1673
+ "type": "string",
1674
+ "internalType": "string"
1675
+ }
1676
+ ]
1677
+ },
1678
+ {
1679
+ "type": "error",
1680
+ "name": "P3AttestationManagerIsinStillLive",
1681
+ "inputs": [
1682
+ {
1683
+ "name": "walletAddr",
1684
+ "type": "address",
1685
+ "internalType": "address"
1686
+ },
1687
+ {
1688
+ "name": "isin",
1689
+ "type": "string",
1690
+ "internalType": "string"
1691
+ },
1692
+ {
1693
+ "name": "storedValue",
1694
+ "type": "uint256",
1695
+ "internalType": "uint256"
1696
+ }
1697
+ ]
1698
+ },
1345
1699
  {
1346
1700
  "type": "error",
1347
1701
  "name": "P3AttestationManagerNavUnitsOverflow",
@@ -1374,6 +1728,17 @@ export const abi = [
1374
1728
  }
1375
1729
  ]
1376
1730
  },
1731
+ {
1732
+ "type": "error",
1733
+ "name": "P3AttestationManagerReserveValueTooLarge",
1734
+ "inputs": [
1735
+ {
1736
+ "name": "reserveValue",
1737
+ "type": "uint256",
1738
+ "internalType": "uint256"
1739
+ }
1740
+ ]
1741
+ },
1377
1742
  {
1378
1743
  "type": "error",
1379
1744
  "name": "P3AttestationManagerStaleAttestation",
@@ -1395,6 +1760,17 @@ export const abi = [
1395
1760
  }
1396
1761
  ]
1397
1762
  },
1763
+ {
1764
+ "type": "error",
1765
+ "name": "P3AttestationManagerTokenizedValueTooLarge",
1766
+ "inputs": [
1767
+ {
1768
+ "name": "value",
1769
+ "type": "uint256",
1770
+ "internalType": "uint256"
1771
+ }
1772
+ ]
1773
+ },
1398
1774
  {
1399
1775
  "type": "error",
1400
1776
  "name": "P3AttestationManagerWalletZeroAddress",
@@ -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",