@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pearldigital/p3-abis",
3
- "version": "3.2.0",
3
+ "version": "4.0.0",
4
4
  "description": "Generated ABI exports for Pearl Path Protocol (P3) smart contracts",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -101,6 +101,19 @@ export declare const abi: [
101
101
  "outputs": [],
102
102
  "stateMutability": "nonpayable"
103
103
  },
104
+ {
105
+ "type": "function",
106
+ "name": "batchApproveAgent",
107
+ "inputs": [
108
+ {
109
+ "name": "agentAddresses_",
110
+ "type": "address[]",
111
+ "internalType": "address[]"
112
+ }
113
+ ],
114
+ "outputs": [],
115
+ "stateMutability": "nonpayable"
116
+ },
104
117
  {
105
118
  "type": "function",
106
119
  "name": "cancelDistributorWindDown",
@@ -477,6 +490,19 @@ export declare const abi: [
477
490
  ],
478
491
  "stateMutability": "view"
479
492
  },
493
+ {
494
+ "type": "function",
495
+ "name": "getIssuerRevocationEpoch",
496
+ "inputs": [],
497
+ "outputs": [
498
+ {
499
+ "name": "epoch",
500
+ "type": "uint256",
501
+ "internalType": "uint256"
502
+ }
503
+ ],
504
+ "stateMutability": "view"
505
+ },
480
506
  {
481
507
  "type": "function",
482
508
  "name": "getPrincipalAgentCount",
@@ -605,6 +631,25 @@ export declare const abi: [
605
631
  ],
606
632
  "stateMutability": "view"
607
633
  },
634
+ {
635
+ "type": "function",
636
+ "name": "getWalletChainMask",
637
+ "inputs": [
638
+ {
639
+ "name": "wallet_",
640
+ "type": "address",
641
+ "internalType": "address"
642
+ }
643
+ ],
644
+ "outputs": [
645
+ {
646
+ "name": "",
647
+ "type": "uint32",
648
+ "internalType": "uint32"
649
+ }
650
+ ],
651
+ "stateMutability": "view"
652
+ },
608
653
  {
609
654
  "type": "function",
610
655
  "name": "getWalletStatus",
@@ -691,6 +736,25 @@ export declare const abi: [
691
736
  ],
692
737
  "stateMutability": "view"
693
738
  },
739
+ {
740
+ "type": "function",
741
+ "name": "isFrozenWallet",
742
+ "inputs": [
743
+ {
744
+ "name": "wallet_",
745
+ "type": "address",
746
+ "internalType": "address"
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "",
752
+ "type": "bool",
753
+ "internalType": "bool"
754
+ }
755
+ ],
756
+ "stateMutability": "view"
757
+ },
694
758
  {
695
759
  "type": "function",
696
760
  "name": "isPermissioned",
@@ -753,6 +817,25 @@ export declare const abi: [
753
817
  ],
754
818
  "stateMutability": "view"
755
819
  },
820
+ {
821
+ "type": "function",
822
+ "name": "isTrustedForwarder",
823
+ "inputs": [
824
+ {
825
+ "name": "forwarder_",
826
+ "type": "address",
827
+ "internalType": "address"
828
+ }
829
+ ],
830
+ "outputs": [
831
+ {
832
+ "name": "",
833
+ "type": "bool",
834
+ "internalType": "bool"
835
+ }
836
+ ],
837
+ "stateMutability": "view"
838
+ },
756
839
  {
757
840
  "type": "function",
758
841
  "name": "reactivateAgent",
@@ -899,6 +982,19 @@ export declare const abi: [
899
982
  ],
900
983
  "stateMutability": "nonpayable"
901
984
  },
985
+ {
986
+ "type": "function",
987
+ "name": "reinitializeForwarder",
988
+ "inputs": [
989
+ {
990
+ "name": "trustedForwarder_",
991
+ "type": "address",
992
+ "internalType": "address"
993
+ }
994
+ ],
995
+ "outputs": [],
996
+ "stateMutability": "nonpayable"
997
+ },
902
998
  {
903
999
  "type": "function",
904
1000
  "name": "removeUser",
@@ -1097,6 +1193,24 @@ export declare const abi: [
1097
1193
  "outputs": [],
1098
1194
  "stateMutability": "nonpayable"
1099
1195
  },
1196
+ {
1197
+ "type": "function",
1198
+ "name": "setWalletChainMask",
1199
+ "inputs": [
1200
+ {
1201
+ "name": "wallet_",
1202
+ "type": "address",
1203
+ "internalType": "address"
1204
+ },
1205
+ {
1206
+ "name": "chainMask_",
1207
+ "type": "uint32",
1208
+ "internalType": "uint32"
1209
+ }
1210
+ ],
1211
+ "outputs": [],
1212
+ "stateMutability": "nonpayable"
1213
+ },
1100
1214
  {
1101
1215
  "type": "function",
1102
1216
  "name": "suspendAgent",
@@ -1721,6 +1835,31 @@ export declare const abi: [
1721
1835
  ],
1722
1836
  "anonymous": false
1723
1837
  },
1838
+ {
1839
+ "type": "event",
1840
+ "name": "WalletChainMaskUpdated",
1841
+ "inputs": [
1842
+ {
1843
+ "name": "wallet",
1844
+ "type": "address",
1845
+ "indexed": true,
1846
+ "internalType": "address"
1847
+ },
1848
+ {
1849
+ "name": "oldMask",
1850
+ "type": "uint32",
1851
+ "indexed": false,
1852
+ "internalType": "uint32"
1853
+ },
1854
+ {
1855
+ "name": "newMask",
1856
+ "type": "uint32",
1857
+ "indexed": false,
1858
+ "internalType": "uint32"
1859
+ }
1860
+ ],
1861
+ "anonymous": false
1862
+ },
1724
1863
  {
1725
1864
  "type": "event",
1726
1865
  "name": "WalletFrozen",
@@ -1771,6 +1910,11 @@ export declare const abi: [
1771
1910
  ],
1772
1911
  "anonymous": false
1773
1912
  },
1913
+ {
1914
+ "type": "error",
1915
+ "name": "P3AdminFunctionCannotBeRelayed",
1916
+ "inputs": []
1917
+ },
1774
1918
  {
1775
1919
  "type": "error",
1776
1920
  "name": "P3AgentCapabilityNotGranted",
@@ -1894,6 +2038,11 @@ export declare const abi: [
1894
2038
  }
1895
2039
  ]
1896
2040
  },
2041
+ {
2042
+ "type": "error",
2043
+ "name": "P3EmptyBatch",
2044
+ "inputs": []
2045
+ },
1897
2046
  {
1898
2047
  "type": "error",
1899
2048
  "name": "P3InvalidAgentState",
@@ -101,6 +101,19 @@ export const abi = [
101
101
  "outputs": [],
102
102
  "stateMutability": "nonpayable"
103
103
  },
104
+ {
105
+ "type": "function",
106
+ "name": "batchApproveAgent",
107
+ "inputs": [
108
+ {
109
+ "name": "agentAddresses_",
110
+ "type": "address[]",
111
+ "internalType": "address[]"
112
+ }
113
+ ],
114
+ "outputs": [],
115
+ "stateMutability": "nonpayable"
116
+ },
104
117
  {
105
118
  "type": "function",
106
119
  "name": "cancelDistributorWindDown",
@@ -477,6 +490,19 @@ export const abi = [
477
490
  ],
478
491
  "stateMutability": "view"
479
492
  },
493
+ {
494
+ "type": "function",
495
+ "name": "getIssuerRevocationEpoch",
496
+ "inputs": [],
497
+ "outputs": [
498
+ {
499
+ "name": "epoch",
500
+ "type": "uint256",
501
+ "internalType": "uint256"
502
+ }
503
+ ],
504
+ "stateMutability": "view"
505
+ },
480
506
  {
481
507
  "type": "function",
482
508
  "name": "getPrincipalAgentCount",
@@ -605,6 +631,25 @@ export const abi = [
605
631
  ],
606
632
  "stateMutability": "view"
607
633
  },
634
+ {
635
+ "type": "function",
636
+ "name": "getWalletChainMask",
637
+ "inputs": [
638
+ {
639
+ "name": "wallet_",
640
+ "type": "address",
641
+ "internalType": "address"
642
+ }
643
+ ],
644
+ "outputs": [
645
+ {
646
+ "name": "",
647
+ "type": "uint32",
648
+ "internalType": "uint32"
649
+ }
650
+ ],
651
+ "stateMutability": "view"
652
+ },
608
653
  {
609
654
  "type": "function",
610
655
  "name": "getWalletStatus",
@@ -691,6 +736,25 @@ export const abi = [
691
736
  ],
692
737
  "stateMutability": "view"
693
738
  },
739
+ {
740
+ "type": "function",
741
+ "name": "isFrozenWallet",
742
+ "inputs": [
743
+ {
744
+ "name": "wallet_",
745
+ "type": "address",
746
+ "internalType": "address"
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "",
752
+ "type": "bool",
753
+ "internalType": "bool"
754
+ }
755
+ ],
756
+ "stateMutability": "view"
757
+ },
694
758
  {
695
759
  "type": "function",
696
760
  "name": "isPermissioned",
@@ -753,6 +817,25 @@ export const abi = [
753
817
  ],
754
818
  "stateMutability": "view"
755
819
  },
820
+ {
821
+ "type": "function",
822
+ "name": "isTrustedForwarder",
823
+ "inputs": [
824
+ {
825
+ "name": "forwarder_",
826
+ "type": "address",
827
+ "internalType": "address"
828
+ }
829
+ ],
830
+ "outputs": [
831
+ {
832
+ "name": "",
833
+ "type": "bool",
834
+ "internalType": "bool"
835
+ }
836
+ ],
837
+ "stateMutability": "view"
838
+ },
756
839
  {
757
840
  "type": "function",
758
841
  "name": "reactivateAgent",
@@ -899,6 +982,19 @@ export const abi = [
899
982
  ],
900
983
  "stateMutability": "nonpayable"
901
984
  },
985
+ {
986
+ "type": "function",
987
+ "name": "reinitializeForwarder",
988
+ "inputs": [
989
+ {
990
+ "name": "trustedForwarder_",
991
+ "type": "address",
992
+ "internalType": "address"
993
+ }
994
+ ],
995
+ "outputs": [],
996
+ "stateMutability": "nonpayable"
997
+ },
902
998
  {
903
999
  "type": "function",
904
1000
  "name": "removeUser",
@@ -1097,6 +1193,24 @@ export const abi = [
1097
1193
  "outputs": [],
1098
1194
  "stateMutability": "nonpayable"
1099
1195
  },
1196
+ {
1197
+ "type": "function",
1198
+ "name": "setWalletChainMask",
1199
+ "inputs": [
1200
+ {
1201
+ "name": "wallet_",
1202
+ "type": "address",
1203
+ "internalType": "address"
1204
+ },
1205
+ {
1206
+ "name": "chainMask_",
1207
+ "type": "uint32",
1208
+ "internalType": "uint32"
1209
+ }
1210
+ ],
1211
+ "outputs": [],
1212
+ "stateMutability": "nonpayable"
1213
+ },
1100
1214
  {
1101
1215
  "type": "function",
1102
1216
  "name": "suspendAgent",
@@ -1721,6 +1835,31 @@ export const abi = [
1721
1835
  ],
1722
1836
  "anonymous": false
1723
1837
  },
1838
+ {
1839
+ "type": "event",
1840
+ "name": "WalletChainMaskUpdated",
1841
+ "inputs": [
1842
+ {
1843
+ "name": "wallet",
1844
+ "type": "address",
1845
+ "indexed": true,
1846
+ "internalType": "address"
1847
+ },
1848
+ {
1849
+ "name": "oldMask",
1850
+ "type": "uint32",
1851
+ "indexed": false,
1852
+ "internalType": "uint32"
1853
+ },
1854
+ {
1855
+ "name": "newMask",
1856
+ "type": "uint32",
1857
+ "indexed": false,
1858
+ "internalType": "uint32"
1859
+ }
1860
+ ],
1861
+ "anonymous": false
1862
+ },
1724
1863
  {
1725
1864
  "type": "event",
1726
1865
  "name": "WalletFrozen",
@@ -1771,6 +1910,11 @@ export const abi = [
1771
1910
  ],
1772
1911
  "anonymous": false
1773
1912
  },
1913
+ {
1914
+ "type": "error",
1915
+ "name": "P3AdminFunctionCannotBeRelayed",
1916
+ "inputs": []
1917
+ },
1774
1918
  {
1775
1919
  "type": "error",
1776
1920
  "name": "P3AgentCapabilityNotGranted",
@@ -1894,6 +2038,11 @@ export const abi = [
1894
2038
  }
1895
2039
  ]
1896
2040
  },
2041
+ {
2042
+ "type": "error",
2043
+ "name": "P3EmptyBatch",
2044
+ "inputs": []
2045
+ },
1897
2046
  {
1898
2047
  "type": "error",
1899
2048
  "name": "P3InvalidAgentState",
@@ -94,6 +94,11 @@ export declare const abi: [
94
94
  "type": "uint256",
95
95
  "internalType": "uint256"
96
96
  },
97
+ {
98
+ "name": "navDecimals",
99
+ "type": "uint8",
100
+ "internalType": "uint8"
101
+ },
97
102
  {
98
103
  "name": "valuationDate",
99
104
  "type": "uint256",
@@ -508,6 +513,11 @@ export declare const abi: [
508
513
  "type": "uint256",
509
514
  "internalType": "uint256"
510
515
  },
516
+ {
517
+ "name": "navDecimals",
518
+ "type": "uint8",
519
+ "internalType": "uint8"
520
+ },
511
521
  {
512
522
  "name": "valuationDate",
513
523
  "type": "uint256",
@@ -603,6 +613,11 @@ export declare const abi: [
603
613
  "type": "uint256",
604
614
  "internalType": "uint256"
605
615
  },
616
+ {
617
+ "name": "navDecimals",
618
+ "type": "uint8",
619
+ "internalType": "uint8"
620
+ },
606
621
  {
607
622
  "name": "valuationDate",
608
623
  "type": "uint256",
@@ -667,6 +682,11 @@ export declare const abi: [
667
682
  "type": "uint256",
668
683
  "internalType": "uint256"
669
684
  },
685
+ {
686
+ "name": "navDecimals",
687
+ "type": "uint8",
688
+ "internalType": "uint8"
689
+ },
670
690
  {
671
691
  "name": "valuationDate",
672
692
  "type": "uint256",
@@ -1018,6 +1038,11 @@ export declare const abi: [
1018
1038
  "type": "uint256",
1019
1039
  "internalType": "uint256"
1020
1040
  },
1041
+ {
1042
+ "name": "navDecimals",
1043
+ "type": "uint8",
1044
+ "internalType": "uint8"
1045
+ },
1021
1046
  {
1022
1047
  "name": "valuationDate",
1023
1048
  "type": "uint256",
@@ -1116,6 +1141,22 @@ export declare const abi: [
1116
1141
  "name": "P3AttestationManagerInvalidMaxAge",
1117
1142
  "inputs": []
1118
1143
  },
1144
+ {
1145
+ "type": "error",
1146
+ "name": "P3AttestationManagerInvalidNavDecimals",
1147
+ "inputs": [
1148
+ {
1149
+ "name": "navDecimals",
1150
+ "type": "uint8",
1151
+ "internalType": "uint8"
1152
+ },
1153
+ {
1154
+ "name": "expected",
1155
+ "type": "uint8",
1156
+ "internalType": "uint8"
1157
+ }
1158
+ ]
1159
+ },
1119
1160
  {
1120
1161
  "type": "error",
1121
1162
  "name": "P3AttestationManagerInvalidReport",
@@ -1224,6 +1265,11 @@ export declare const abi: [
1224
1265
  "type": "uint256",
1225
1266
  "internalType": "uint256"
1226
1267
  },
1268
+ {
1269
+ "name": "navDecimals",
1270
+ "type": "uint8",
1271
+ "internalType": "uint8"
1272
+ },
1227
1273
  {
1228
1274
  "name": "valuationDate",
1229
1275
  "type": "uint256",
@@ -1296,6 +1342,22 @@ export declare const abi: [
1296
1342
  }
1297
1343
  ]
1298
1344
  },
1345
+ {
1346
+ "type": "error",
1347
+ "name": "P3AttestationManagerNavUnitsOverflow",
1348
+ "inputs": [
1349
+ {
1350
+ "name": "nav",
1351
+ "type": "uint256",
1352
+ "internalType": "uint256"
1353
+ },
1354
+ {
1355
+ "name": "units",
1356
+ "type": "uint256",
1357
+ "internalType": "uint256"
1358
+ }
1359
+ ]
1360
+ },
1299
1361
  {
1300
1362
  "type": "error",
1301
1363
  "name": "P3AttestationManagerPermissionsZeroAddress",
@@ -94,6 +94,11 @@ export const abi = [
94
94
  "type": "uint256",
95
95
  "internalType": "uint256"
96
96
  },
97
+ {
98
+ "name": "navDecimals",
99
+ "type": "uint8",
100
+ "internalType": "uint8"
101
+ },
97
102
  {
98
103
  "name": "valuationDate",
99
104
  "type": "uint256",
@@ -508,6 +513,11 @@ export const abi = [
508
513
  "type": "uint256",
509
514
  "internalType": "uint256"
510
515
  },
516
+ {
517
+ "name": "navDecimals",
518
+ "type": "uint8",
519
+ "internalType": "uint8"
520
+ },
511
521
  {
512
522
  "name": "valuationDate",
513
523
  "type": "uint256",
@@ -603,6 +613,11 @@ export const abi = [
603
613
  "type": "uint256",
604
614
  "internalType": "uint256"
605
615
  },
616
+ {
617
+ "name": "navDecimals",
618
+ "type": "uint8",
619
+ "internalType": "uint8"
620
+ },
606
621
  {
607
622
  "name": "valuationDate",
608
623
  "type": "uint256",
@@ -667,6 +682,11 @@ export const abi = [
667
682
  "type": "uint256",
668
683
  "internalType": "uint256"
669
684
  },
685
+ {
686
+ "name": "navDecimals",
687
+ "type": "uint8",
688
+ "internalType": "uint8"
689
+ },
670
690
  {
671
691
  "name": "valuationDate",
672
692
  "type": "uint256",
@@ -1018,6 +1038,11 @@ export const abi = [
1018
1038
  "type": "uint256",
1019
1039
  "internalType": "uint256"
1020
1040
  },
1041
+ {
1042
+ "name": "navDecimals",
1043
+ "type": "uint8",
1044
+ "internalType": "uint8"
1045
+ },
1021
1046
  {
1022
1047
  "name": "valuationDate",
1023
1048
  "type": "uint256",
@@ -1116,6 +1141,22 @@ export const abi = [
1116
1141
  "name": "P3AttestationManagerInvalidMaxAge",
1117
1142
  "inputs": []
1118
1143
  },
1144
+ {
1145
+ "type": "error",
1146
+ "name": "P3AttestationManagerInvalidNavDecimals",
1147
+ "inputs": [
1148
+ {
1149
+ "name": "navDecimals",
1150
+ "type": "uint8",
1151
+ "internalType": "uint8"
1152
+ },
1153
+ {
1154
+ "name": "expected",
1155
+ "type": "uint8",
1156
+ "internalType": "uint8"
1157
+ }
1158
+ ]
1159
+ },
1119
1160
  {
1120
1161
  "type": "error",
1121
1162
  "name": "P3AttestationManagerInvalidReport",
@@ -1224,6 +1265,11 @@ export const abi = [
1224
1265
  "type": "uint256",
1225
1266
  "internalType": "uint256"
1226
1267
  },
1268
+ {
1269
+ "name": "navDecimals",
1270
+ "type": "uint8",
1271
+ "internalType": "uint8"
1272
+ },
1227
1273
  {
1228
1274
  "name": "valuationDate",
1229
1275
  "type": "uint256",
@@ -1296,6 +1342,22 @@ export const abi = [
1296
1342
  }
1297
1343
  ]
1298
1344
  },
1345
+ {
1346
+ "type": "error",
1347
+ "name": "P3AttestationManagerNavUnitsOverflow",
1348
+ "inputs": [
1349
+ {
1350
+ "name": "nav",
1351
+ "type": "uint256",
1352
+ "internalType": "uint256"
1353
+ },
1354
+ {
1355
+ "name": "units",
1356
+ "type": "uint256",
1357
+ "internalType": "uint256"
1358
+ }
1359
+ ]
1360
+ },
1299
1361
  {
1300
1362
  "type": "error",
1301
1363
  "name": "P3AttestationManagerPermissionsZeroAddress",