@pearldigital/p3-abis 3.2.3 → 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.3",
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",
@@ -618,6 +631,25 @@ export declare const abi: [
618
631
  ],
619
632
  "stateMutability": "view"
620
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
+ },
621
653
  {
622
654
  "type": "function",
623
655
  "name": "getWalletStatus",
@@ -1161,6 +1193,24 @@ export declare const abi: [
1161
1193
  "outputs": [],
1162
1194
  "stateMutability": "nonpayable"
1163
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
+ },
1164
1214
  {
1165
1215
  "type": "function",
1166
1216
  "name": "suspendAgent",
@@ -1785,6 +1835,31 @@ export declare const abi: [
1785
1835
  ],
1786
1836
  "anonymous": false
1787
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
+ },
1788
1863
  {
1789
1864
  "type": "event",
1790
1865
  "name": "WalletFrozen",
@@ -1963,6 +2038,11 @@ export declare const abi: [
1963
2038
  }
1964
2039
  ]
1965
2040
  },
2041
+ {
2042
+ "type": "error",
2043
+ "name": "P3EmptyBatch",
2044
+ "inputs": []
2045
+ },
1966
2046
  {
1967
2047
  "type": "error",
1968
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",
@@ -618,6 +631,25 @@ export const abi = [
618
631
  ],
619
632
  "stateMutability": "view"
620
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
+ },
621
653
  {
622
654
  "type": "function",
623
655
  "name": "getWalletStatus",
@@ -1161,6 +1193,24 @@ export const abi = [
1161
1193
  "outputs": [],
1162
1194
  "stateMutability": "nonpayable"
1163
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
+ },
1164
1214
  {
1165
1215
  "type": "function",
1166
1216
  "name": "suspendAgent",
@@ -1785,6 +1835,31 @@ export const abi = [
1785
1835
  ],
1786
1836
  "anonymous": false
1787
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
+ },
1788
1863
  {
1789
1864
  "type": "event",
1790
1865
  "name": "WalletFrozen",
@@ -1963,6 +2038,11 @@ export const abi = [
1963
2038
  }
1964
2039
  ]
1965
2040
  },
2041
+ {
2042
+ "type": "error",
2043
+ "name": "P3EmptyBatch",
2044
+ "inputs": []
2045
+ },
1966
2046
  {
1967
2047
  "type": "error",
1968
2048
  "name": "P3InvalidAgentState",
@@ -0,0 +1,109 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export declare const abi: [
3
+ {
4
+ "type": "function",
5
+ "name": "arm",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "address",
11
+ "internalType": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "view"
15
+ },
16
+ {
17
+ "type": "function",
18
+ "name": "getIdentityRecord",
19
+ "inputs": [
20
+ {
21
+ "name": "wallet_",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "name": "binderHash",
29
+ "type": "bytes32",
30
+ "internalType": "bytes32"
31
+ },
32
+ {
33
+ "name": "registeredAt",
34
+ "type": "uint256",
35
+ "internalType": "uint256"
36
+ }
37
+ ],
38
+ "stateMutability": "view"
39
+ },
40
+ {
41
+ "type": "function",
42
+ "name": "getWalletAgentValidation",
43
+ "inputs": [
44
+ {
45
+ "name": "wallet_",
46
+ "type": "address",
47
+ "internalType": "address"
48
+ }
49
+ ],
50
+ "outputs": [
51
+ {
52
+ "name": "isAgent_",
53
+ "type": "bool",
54
+ "internalType": "bool"
55
+ },
56
+ {
57
+ "name": "capabilities_",
58
+ "type": "uint16",
59
+ "internalType": "uint16"
60
+ },
61
+ {
62
+ "name": "singleSendLimit_",
63
+ "type": "uint128",
64
+ "internalType": "uint128"
65
+ },
66
+ {
67
+ "name": "rollingWindowLimit_",
68
+ "type": "uint128",
69
+ "internalType": "uint128"
70
+ },
71
+ {
72
+ "name": "windowDuration_",
73
+ "type": "uint32",
74
+ "internalType": "uint32"
75
+ },
76
+ {
77
+ "name": "bufferSize_",
78
+ "type": "uint8",
79
+ "internalType": "uint8"
80
+ }
81
+ ],
82
+ "stateMutability": "view"
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "isPermissioned",
87
+ "inputs": [
88
+ {
89
+ "name": "wallet_",
90
+ "type": "address",
91
+ "internalType": "address"
92
+ }
93
+ ],
94
+ "outputs": [
95
+ {
96
+ "name": "",
97
+ "type": "bool",
98
+ "internalType": "bool"
99
+ }
100
+ ],
101
+ "stateMutability": "view"
102
+ },
103
+ {
104
+ "type": "error",
105
+ "name": "P3BridgeRegistryAdapterZeroArm",
106
+ "inputs": []
107
+ }
108
+ ];
109
+ export default abi;
@@ -0,0 +1,109 @@
1
+ // Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
2
+ export const abi = [
3
+ {
4
+ "type": "function",
5
+ "name": "arm",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "address",
11
+ "internalType": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "view"
15
+ },
16
+ {
17
+ "type": "function",
18
+ "name": "getIdentityRecord",
19
+ "inputs": [
20
+ {
21
+ "name": "wallet_",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "name": "binderHash",
29
+ "type": "bytes32",
30
+ "internalType": "bytes32"
31
+ },
32
+ {
33
+ "name": "registeredAt",
34
+ "type": "uint256",
35
+ "internalType": "uint256"
36
+ }
37
+ ],
38
+ "stateMutability": "view"
39
+ },
40
+ {
41
+ "type": "function",
42
+ "name": "getWalletAgentValidation",
43
+ "inputs": [
44
+ {
45
+ "name": "wallet_",
46
+ "type": "address",
47
+ "internalType": "address"
48
+ }
49
+ ],
50
+ "outputs": [
51
+ {
52
+ "name": "isAgent_",
53
+ "type": "bool",
54
+ "internalType": "bool"
55
+ },
56
+ {
57
+ "name": "capabilities_",
58
+ "type": "uint16",
59
+ "internalType": "uint16"
60
+ },
61
+ {
62
+ "name": "singleSendLimit_",
63
+ "type": "uint128",
64
+ "internalType": "uint128"
65
+ },
66
+ {
67
+ "name": "rollingWindowLimit_",
68
+ "type": "uint128",
69
+ "internalType": "uint128"
70
+ },
71
+ {
72
+ "name": "windowDuration_",
73
+ "type": "uint32",
74
+ "internalType": "uint32"
75
+ },
76
+ {
77
+ "name": "bufferSize_",
78
+ "type": "uint8",
79
+ "internalType": "uint8"
80
+ }
81
+ ],
82
+ "stateMutability": "view"
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "isPermissioned",
87
+ "inputs": [
88
+ {
89
+ "name": "wallet_",
90
+ "type": "address",
91
+ "internalType": "address"
92
+ }
93
+ ],
94
+ "outputs": [
95
+ {
96
+ "name": "",
97
+ "type": "bool",
98
+ "internalType": "bool"
99
+ }
100
+ ],
101
+ "stateMutability": "view"
102
+ },
103
+ {
104
+ "type": "error",
105
+ "name": "P3BridgeRegistryAdapterZeroArm",
106
+ "inputs": []
107
+ }
108
+ ];
109
+ export default abi;