@cofhe/mock-contracts 0.7.1 → 1.0.0-alpha.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/CHANGELOG.md +12 -0
- package/README.md +10 -0
- package/contracts/ACPShareRegistry.sol +227 -114
- package/contracts/ACPTimestampRevoker.sol +36 -34
- package/contracts/MockACL.sol +35 -16
- package/contracts/MockCoFHE.sol +201 -86
- package/contracts/MockCoFHEAddressBook.sol +64 -0
- package/contracts/MockERC1967Proxy.sol +13 -0
- package/contracts/MockPermissioned.sol +16 -0
- package/contracts/MockTaskManager.sol +143 -28
- package/contracts/MockThresholdNetwork.sol +5 -5
- package/contracts/MockZkVerifier.sol +2 -2
- package/contracts/Permissioned.sol +240 -143
- package/contracts/cofhe-contracts.json +10 -0
- package/dist/index.d.mts +980 -101
- package/dist/index.d.ts +980 -101
- package/dist/index.js +817 -118
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +816 -119
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -6
- package/remappings.txt +1 -0
- package/src/ACPShareRegistry.ts +469 -56
- package/src/MockACL.ts +56 -25
- package/src/MockCoFHEAddressBook.ts +114 -0
- package/src/MockERC1967Proxy.ts +74 -0
- package/src/MockTaskManager.ts +73 -6
- package/src/index.ts +4 -0
- package/src/typechain-types/ACPShareRegistry.ts +309 -12
- package/src/typechain-types/MockACL.ts +65 -6
- package/src/typechain-types/MockCoFHEAddressBook.ts +124 -0
- package/src/typechain-types/MockERC1967Proxy.ts +85 -0
- package/src/typechain-types/MockTaskManager.ts +66 -1
- package/src/typechain-types/index.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,155 @@
|
|
|
1
|
+
// src/MockCoFHEAddressBook.ts
|
|
2
|
+
var MockCoFHEAddressBookArtifact = {
|
|
3
|
+
contractName: "MockCoFHEAddressBook",
|
|
4
|
+
isFixed: true,
|
|
5
|
+
fixedAddress: "0xC0F4e00E531a2B086492Ae3DCC1515038307196b",
|
|
6
|
+
abi: [
|
|
7
|
+
{
|
|
8
|
+
type: "function",
|
|
9
|
+
name: "exists",
|
|
10
|
+
inputs: [],
|
|
11
|
+
outputs: [
|
|
12
|
+
{
|
|
13
|
+
name: "",
|
|
14
|
+
type: "bool",
|
|
15
|
+
internalType: "bool"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
stateMutability: "pure"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: "function",
|
|
22
|
+
name: "getTm",
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
name: "id",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
internalType: "uint256"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
outputs: [
|
|
31
|
+
{
|
|
32
|
+
name: "tm",
|
|
33
|
+
type: "address",
|
|
34
|
+
internalType: "address"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
stateMutability: "view"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: "function",
|
|
41
|
+
name: "setTm",
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
name: "id",
|
|
45
|
+
type: "uint256",
|
|
46
|
+
internalType: "uint256"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "tm",
|
|
50
|
+
type: "address",
|
|
51
|
+
internalType: "address"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
outputs: [],
|
|
55
|
+
stateMutability: "nonpayable"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: "function",
|
|
59
|
+
name: "unsetTm",
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
name: "id",
|
|
63
|
+
type: "uint256",
|
|
64
|
+
internalType: "uint256"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
outputs: [],
|
|
68
|
+
stateMutability: "nonpayable"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
type: "event",
|
|
72
|
+
name: "TaskManagerSet",
|
|
73
|
+
inputs: [
|
|
74
|
+
{
|
|
75
|
+
name: "id",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
indexed: true,
|
|
78
|
+
internalType: "uint256"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "previous",
|
|
82
|
+
type: "address",
|
|
83
|
+
indexed: true,
|
|
84
|
+
internalType: "address"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "current",
|
|
88
|
+
type: "address",
|
|
89
|
+
indexed: true,
|
|
90
|
+
internalType: "address"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
anonymous: false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: "error",
|
|
97
|
+
name: "InvalidAddress",
|
|
98
|
+
inputs: []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "error",
|
|
102
|
+
name: "TaskManagerNotSet",
|
|
103
|
+
inputs: [
|
|
104
|
+
{
|
|
105
|
+
name: "id",
|
|
106
|
+
type: "uint256",
|
|
107
|
+
internalType: "uint256"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
};
|
|
113
|
+
|
|
1
114
|
// src/MockTaskManager.ts
|
|
2
115
|
var MockTaskManagerArtifact = {
|
|
3
116
|
contractName: "MockTaskManager",
|
|
4
117
|
isFixed: true,
|
|
5
|
-
fixedAddress: "
|
|
118
|
+
fixedAddress: "0x0000000000000000000000000000000000005000",
|
|
6
119
|
abi: [
|
|
7
120
|
{
|
|
8
121
|
type: "constructor",
|
|
9
122
|
inputs: [],
|
|
10
123
|
stateMutability: "nonpayable"
|
|
11
124
|
},
|
|
125
|
+
{
|
|
126
|
+
type: "function",
|
|
127
|
+
name: "MOCK_dispatchOperation",
|
|
128
|
+
inputs: [
|
|
129
|
+
{
|
|
130
|
+
name: "ctHash",
|
|
131
|
+
type: "uint256",
|
|
132
|
+
internalType: "uint256"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: "funcId",
|
|
136
|
+
type: "uint8",
|
|
137
|
+
internalType: "enum FunctionId"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: "inputs",
|
|
141
|
+
type: "uint256[]",
|
|
142
|
+
internalType: "uint256[]"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: "arity",
|
|
146
|
+
type: "uint8",
|
|
147
|
+
internalType: "uint8"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
outputs: [],
|
|
151
|
+
stateMutability: "nonpayable"
|
|
152
|
+
},
|
|
12
153
|
{
|
|
13
154
|
type: "function",
|
|
14
155
|
name: "MOCK_logAllow",
|
|
@@ -562,6 +703,19 @@ var MockTaskManagerArtifact = {
|
|
|
562
703
|
],
|
|
563
704
|
stateMutability: "view"
|
|
564
705
|
},
|
|
706
|
+
{
|
|
707
|
+
type: "function",
|
|
708
|
+
name: "mockGasExcluded",
|
|
709
|
+
inputs: [],
|
|
710
|
+
outputs: [
|
|
711
|
+
{
|
|
712
|
+
name: "",
|
|
713
|
+
type: "bool",
|
|
714
|
+
internalType: "bool"
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
stateMutability: "view"
|
|
718
|
+
},
|
|
565
719
|
{
|
|
566
720
|
type: "function",
|
|
567
721
|
name: "mockStorage",
|
|
@@ -716,6 +870,19 @@ var MockTaskManagerArtifact = {
|
|
|
716
870
|
outputs: [],
|
|
717
871
|
stateMutability: "nonpayable"
|
|
718
872
|
},
|
|
873
|
+
{
|
|
874
|
+
type: "function",
|
|
875
|
+
name: "setMockGasExcluded",
|
|
876
|
+
inputs: [
|
|
877
|
+
{
|
|
878
|
+
name: "_mockGasExcluded",
|
|
879
|
+
type: "bool",
|
|
880
|
+
internalType: "bool"
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
outputs: [],
|
|
884
|
+
stateMutability: "nonpayable"
|
|
885
|
+
},
|
|
719
886
|
{
|
|
720
887
|
type: "function",
|
|
721
888
|
name: "setSecurityZoneMax",
|
|
@@ -961,6 +1128,19 @@ var MockTaskManagerArtifact = {
|
|
|
961
1128
|
],
|
|
962
1129
|
anonymous: false
|
|
963
1130
|
},
|
|
1131
|
+
{
|
|
1132
|
+
type: "event",
|
|
1133
|
+
name: "MockGasConsumed",
|
|
1134
|
+
inputs: [
|
|
1135
|
+
{
|
|
1136
|
+
name: "gas",
|
|
1137
|
+
type: "uint256",
|
|
1138
|
+
indexed: false,
|
|
1139
|
+
internalType: "uint256"
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
anonymous: false
|
|
1143
|
+
},
|
|
964
1144
|
{
|
|
965
1145
|
type: "event",
|
|
966
1146
|
name: "ProtocolNotification",
|
|
@@ -1243,11 +1423,6 @@ var MockTaskManagerArtifact = {
|
|
|
1243
1423
|
}
|
|
1244
1424
|
]
|
|
1245
1425
|
},
|
|
1246
|
-
{
|
|
1247
|
-
type: "error",
|
|
1248
|
-
name: "NotImplemented",
|
|
1249
|
-
inputs: []
|
|
1250
|
-
},
|
|
1251
1426
|
{
|
|
1252
1427
|
type: "error",
|
|
1253
1428
|
name: "OnlyAggregatorAllowed",
|
|
@@ -1270,6 +1445,11 @@ var MockTaskManagerArtifact = {
|
|
|
1270
1445
|
}
|
|
1271
1446
|
]
|
|
1272
1447
|
},
|
|
1448
|
+
{
|
|
1449
|
+
type: "error",
|
|
1450
|
+
name: "OnlySelf",
|
|
1451
|
+
inputs: []
|
|
1452
|
+
},
|
|
1273
1453
|
{
|
|
1274
1454
|
type: "error",
|
|
1275
1455
|
name: "RandomFunctionNotSupported",
|
|
@@ -1325,19 +1505,6 @@ var MockACLArtifact = {
|
|
|
1325
1505
|
inputs: [],
|
|
1326
1506
|
stateMutability: "nonpayable"
|
|
1327
1507
|
},
|
|
1328
|
-
{
|
|
1329
|
-
type: "function",
|
|
1330
|
-
name: "TASK_MANAGER_ADDRESS_",
|
|
1331
|
-
inputs: [],
|
|
1332
|
-
outputs: [
|
|
1333
|
-
{
|
|
1334
|
-
name: "",
|
|
1335
|
-
type: "address",
|
|
1336
|
-
internalType: "address"
|
|
1337
|
-
}
|
|
1338
|
-
],
|
|
1339
|
-
stateMutability: "view"
|
|
1340
|
-
},
|
|
1341
1508
|
{
|
|
1342
1509
|
type: "function",
|
|
1343
1510
|
name: "allow",
|
|
@@ -1909,6 +2076,19 @@ var MockACLArtifact = {
|
|
|
1909
2076
|
outputs: [],
|
|
1910
2077
|
stateMutability: "nonpayable"
|
|
1911
2078
|
},
|
|
2079
|
+
{
|
|
2080
|
+
type: "function",
|
|
2081
|
+
name: "setTaskManager",
|
|
2082
|
+
inputs: [
|
|
2083
|
+
{
|
|
2084
|
+
name: "newAddress",
|
|
2085
|
+
type: "address",
|
|
2086
|
+
internalType: "address"
|
|
2087
|
+
}
|
|
2088
|
+
],
|
|
2089
|
+
outputs: [],
|
|
2090
|
+
stateMutability: "nonpayable"
|
|
2091
|
+
},
|
|
1912
2092
|
{
|
|
1913
2093
|
type: "function",
|
|
1914
2094
|
name: "shareCtHash",
|
|
@@ -1983,6 +2163,19 @@ var MockACLArtifact = {
|
|
|
1983
2163
|
inputs: [],
|
|
1984
2164
|
anonymous: false
|
|
1985
2165
|
},
|
|
2166
|
+
{
|
|
2167
|
+
type: "event",
|
|
2168
|
+
name: "Initialized",
|
|
2169
|
+
inputs: [
|
|
2170
|
+
{
|
|
2171
|
+
name: "version",
|
|
2172
|
+
type: "uint64",
|
|
2173
|
+
indexed: false,
|
|
2174
|
+
internalType: "uint64"
|
|
2175
|
+
}
|
|
2176
|
+
],
|
|
2177
|
+
anonymous: false
|
|
2178
|
+
},
|
|
1986
2179
|
{
|
|
1987
2180
|
type: "event",
|
|
1988
2181
|
name: "NewDelegation",
|
|
@@ -2027,6 +2220,25 @@ var MockACLArtifact = {
|
|
|
2027
2220
|
],
|
|
2028
2221
|
anonymous: false
|
|
2029
2222
|
},
|
|
2223
|
+
{
|
|
2224
|
+
type: "event",
|
|
2225
|
+
name: "TaskManagerUpdated",
|
|
2226
|
+
inputs: [
|
|
2227
|
+
{
|
|
2228
|
+
name: "oldAddress",
|
|
2229
|
+
type: "address",
|
|
2230
|
+
indexed: false,
|
|
2231
|
+
internalType: "address"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
name: "newAddress",
|
|
2235
|
+
type: "address",
|
|
2236
|
+
indexed: false,
|
|
2237
|
+
internalType: "address"
|
|
2238
|
+
}
|
|
2239
|
+
],
|
|
2240
|
+
anonymous: false
|
|
2241
|
+
},
|
|
2030
2242
|
{
|
|
2031
2243
|
type: "error",
|
|
2032
2244
|
name: "AlreadyDelegated",
|
|
@@ -2045,7 +2257,17 @@ var MockACLArtifact = {
|
|
|
2045
2257
|
},
|
|
2046
2258
|
{
|
|
2047
2259
|
type: "error",
|
|
2048
|
-
name: "
|
|
2260
|
+
name: "InvalidInitialization",
|
|
2261
|
+
inputs: []
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
type: "error",
|
|
2265
|
+
name: "InvalidTaskManagerAddress",
|
|
2266
|
+
inputs: []
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
type: "error",
|
|
2270
|
+
name: "NotInitializing",
|
|
2049
2271
|
inputs: []
|
|
2050
2272
|
},
|
|
2051
2273
|
{
|
|
@@ -2100,17 +2322,6 @@ var MockACLArtifact = {
|
|
|
2100
2322
|
}
|
|
2101
2323
|
]
|
|
2102
2324
|
},
|
|
2103
|
-
{
|
|
2104
|
-
type: "error",
|
|
2105
|
-
name: "StringTooLong",
|
|
2106
|
-
inputs: [
|
|
2107
|
-
{
|
|
2108
|
-
name: "str",
|
|
2109
|
-
type: "string",
|
|
2110
|
-
internalType: "string"
|
|
2111
|
-
}
|
|
2112
|
-
]
|
|
2113
|
-
},
|
|
2114
2325
|
{
|
|
2115
2326
|
type: "error",
|
|
2116
2327
|
name: "UnexpectedSharer",
|
|
@@ -2268,21 +2479,84 @@ var ACPShareRegistryArtifact = {
|
|
|
2268
2479
|
contractName: "ACPShareRegistry",
|
|
2269
2480
|
isFixed: false,
|
|
2270
2481
|
abi: [
|
|
2482
|
+
{
|
|
2483
|
+
type: "constructor",
|
|
2484
|
+
inputs: [],
|
|
2485
|
+
stateMutability: "nonpayable"
|
|
2486
|
+
},
|
|
2271
2487
|
{
|
|
2272
2488
|
type: "function",
|
|
2273
|
-
name: "
|
|
2274
|
-
inputs: [
|
|
2489
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
2490
|
+
inputs: [],
|
|
2491
|
+
outputs: [
|
|
2275
2492
|
{
|
|
2276
|
-
name: "
|
|
2493
|
+
name: "",
|
|
2277
2494
|
type: "bytes32",
|
|
2278
2495
|
internalType: "bytes32"
|
|
2279
2496
|
}
|
|
2280
2497
|
],
|
|
2498
|
+
stateMutability: "view"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
type: "function",
|
|
2502
|
+
name: "UPGRADER_ROLE",
|
|
2503
|
+
inputs: [],
|
|
2281
2504
|
outputs: [
|
|
2282
2505
|
{
|
|
2283
2506
|
name: "",
|
|
2284
|
-
type: "
|
|
2285
|
-
internalType: "
|
|
2507
|
+
type: "bytes32",
|
|
2508
|
+
internalType: "bytes32"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
stateMutability: "view"
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
type: "function",
|
|
2515
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
2516
|
+
inputs: [],
|
|
2517
|
+
outputs: [
|
|
2518
|
+
{
|
|
2519
|
+
name: "",
|
|
2520
|
+
type: "string",
|
|
2521
|
+
internalType: "string"
|
|
2522
|
+
}
|
|
2523
|
+
],
|
|
2524
|
+
stateMutability: "view"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
type: "function",
|
|
2528
|
+
name: "getRoleAdmin",
|
|
2529
|
+
inputs: [
|
|
2530
|
+
{
|
|
2531
|
+
name: "role",
|
|
2532
|
+
type: "bytes32",
|
|
2533
|
+
internalType: "bytes32"
|
|
2534
|
+
}
|
|
2535
|
+
],
|
|
2536
|
+
outputs: [
|
|
2537
|
+
{
|
|
2538
|
+
name: "",
|
|
2539
|
+
type: "bytes32",
|
|
2540
|
+
internalType: "bytes32"
|
|
2541
|
+
}
|
|
2542
|
+
],
|
|
2543
|
+
stateMutability: "view"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
type: "function",
|
|
2547
|
+
name: "getShare",
|
|
2548
|
+
inputs: [
|
|
2549
|
+
{
|
|
2550
|
+
name: "shareId",
|
|
2551
|
+
type: "bytes32",
|
|
2552
|
+
internalType: "bytes32"
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
2555
|
+
outputs: [
|
|
2556
|
+
{
|
|
2557
|
+
name: "",
|
|
2558
|
+
type: "tuple",
|
|
2559
|
+
internalType: "struct ACPShareRegistry.ShareHeader",
|
|
2286
2560
|
components: [
|
|
2287
2561
|
{
|
|
2288
2562
|
name: "issuer",
|
|
@@ -2300,9 +2574,9 @@ var ACPShareRegistryArtifact = {
|
|
|
2300
2574
|
internalType: "address"
|
|
2301
2575
|
},
|
|
2302
2576
|
{
|
|
2303
|
-
name: "
|
|
2304
|
-
type: "
|
|
2305
|
-
internalType: "
|
|
2577
|
+
name: "blockNumber",
|
|
2578
|
+
type: "uint64",
|
|
2579
|
+
internalType: "uint64"
|
|
2306
2580
|
},
|
|
2307
2581
|
{
|
|
2308
2582
|
name: "revokerContract",
|
|
@@ -2310,40 +2584,70 @@ var ACPShareRegistryArtifact = {
|
|
|
2310
2584
|
internalType: "address"
|
|
2311
2585
|
},
|
|
2312
2586
|
{
|
|
2313
|
-
name: "
|
|
2314
|
-
type: "
|
|
2315
|
-
internalType: "
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
name: "contracts",
|
|
2319
|
-
type: "address[]",
|
|
2320
|
-
internalType: "address[]"
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
name: "handles",
|
|
2324
|
-
type: "bytes32[]",
|
|
2325
|
-
internalType: "bytes32[]"
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
name: "sealingKey",
|
|
2329
|
-
type: "bytes32",
|
|
2330
|
-
internalType: "bytes32"
|
|
2331
|
-
},
|
|
2332
|
-
{
|
|
2333
|
-
name: "issuerSignature",
|
|
2334
|
-
type: "bytes",
|
|
2335
|
-
internalType: "bytes"
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
name: "recipientSignature",
|
|
2339
|
-
type: "bytes",
|
|
2340
|
-
internalType: "bytes"
|
|
2587
|
+
name: "revokerData",
|
|
2588
|
+
type: "uint256",
|
|
2589
|
+
internalType: "uint256"
|
|
2341
2590
|
}
|
|
2342
2591
|
]
|
|
2343
2592
|
}
|
|
2344
2593
|
],
|
|
2345
2594
|
stateMutability: "view"
|
|
2346
2595
|
},
|
|
2596
|
+
{
|
|
2597
|
+
type: "function",
|
|
2598
|
+
name: "grantRole",
|
|
2599
|
+
inputs: [
|
|
2600
|
+
{
|
|
2601
|
+
name: "role",
|
|
2602
|
+
type: "bytes32",
|
|
2603
|
+
internalType: "bytes32"
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
name: "account",
|
|
2607
|
+
type: "address",
|
|
2608
|
+
internalType: "address"
|
|
2609
|
+
}
|
|
2610
|
+
],
|
|
2611
|
+
outputs: [],
|
|
2612
|
+
stateMutability: "nonpayable"
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
type: "function",
|
|
2616
|
+
name: "hasRole",
|
|
2617
|
+
inputs: [
|
|
2618
|
+
{
|
|
2619
|
+
name: "role",
|
|
2620
|
+
type: "bytes32",
|
|
2621
|
+
internalType: "bytes32"
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
name: "account",
|
|
2625
|
+
type: "address",
|
|
2626
|
+
internalType: "address"
|
|
2627
|
+
}
|
|
2628
|
+
],
|
|
2629
|
+
outputs: [
|
|
2630
|
+
{
|
|
2631
|
+
name: "",
|
|
2632
|
+
type: "bool",
|
|
2633
|
+
internalType: "bool"
|
|
2634
|
+
}
|
|
2635
|
+
],
|
|
2636
|
+
stateMutability: "view"
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
type: "function",
|
|
2640
|
+
name: "initialize",
|
|
2641
|
+
inputs: [
|
|
2642
|
+
{
|
|
2643
|
+
name: "initialAdmin",
|
|
2644
|
+
type: "address",
|
|
2645
|
+
internalType: "address"
|
|
2646
|
+
}
|
|
2647
|
+
],
|
|
2648
|
+
outputs: [],
|
|
2649
|
+
stateMutability: "nonpayable"
|
|
2650
|
+
},
|
|
2347
2651
|
{
|
|
2348
2652
|
type: "function",
|
|
2349
2653
|
name: "isShareValid",
|
|
@@ -2363,6 +2667,19 @@ var ACPShareRegistryArtifact = {
|
|
|
2363
2667
|
],
|
|
2364
2668
|
stateMutability: "view"
|
|
2365
2669
|
},
|
|
2670
|
+
{
|
|
2671
|
+
type: "function",
|
|
2672
|
+
name: "proxiableUUID",
|
|
2673
|
+
inputs: [],
|
|
2674
|
+
outputs: [
|
|
2675
|
+
{
|
|
2676
|
+
name: "",
|
|
2677
|
+
type: "bytes32",
|
|
2678
|
+
internalType: "bytes32"
|
|
2679
|
+
}
|
|
2680
|
+
],
|
|
2681
|
+
stateMutability: "view"
|
|
2682
|
+
},
|
|
2366
2683
|
{
|
|
2367
2684
|
type: "function",
|
|
2368
2685
|
name: "removeShare",
|
|
@@ -2376,6 +2693,42 @@ var ACPShareRegistryArtifact = {
|
|
|
2376
2693
|
outputs: [],
|
|
2377
2694
|
stateMutability: "nonpayable"
|
|
2378
2695
|
},
|
|
2696
|
+
{
|
|
2697
|
+
type: "function",
|
|
2698
|
+
name: "renounceRole",
|
|
2699
|
+
inputs: [
|
|
2700
|
+
{
|
|
2701
|
+
name: "role",
|
|
2702
|
+
type: "bytes32",
|
|
2703
|
+
internalType: "bytes32"
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
name: "callerConfirmation",
|
|
2707
|
+
type: "address",
|
|
2708
|
+
internalType: "address"
|
|
2709
|
+
}
|
|
2710
|
+
],
|
|
2711
|
+
outputs: [],
|
|
2712
|
+
stateMutability: "nonpayable"
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
type: "function",
|
|
2716
|
+
name: "revokeRole",
|
|
2717
|
+
inputs: [
|
|
2718
|
+
{
|
|
2719
|
+
name: "role",
|
|
2720
|
+
type: "bytes32",
|
|
2721
|
+
internalType: "bytes32"
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
name: "account",
|
|
2725
|
+
type: "address",
|
|
2726
|
+
internalType: "address"
|
|
2727
|
+
}
|
|
2728
|
+
],
|
|
2729
|
+
outputs: [],
|
|
2730
|
+
stateMutability: "nonpayable"
|
|
2731
|
+
},
|
|
2379
2732
|
{
|
|
2380
2733
|
type: "function",
|
|
2381
2734
|
name: "share",
|
|
@@ -2441,6 +2794,11 @@ var ACPShareRegistryArtifact = {
|
|
|
2441
2794
|
internalType: "bytes"
|
|
2442
2795
|
}
|
|
2443
2796
|
]
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
name: "metadata",
|
|
2800
|
+
type: "bytes",
|
|
2801
|
+
internalType: "bytes"
|
|
2444
2802
|
}
|
|
2445
2803
|
],
|
|
2446
2804
|
outputs: [
|
|
@@ -2464,9 +2822,14 @@ var ACPShareRegistryArtifact = {
|
|
|
2464
2822
|
],
|
|
2465
2823
|
outputs: [
|
|
2466
2824
|
{
|
|
2467
|
-
name: "
|
|
2825
|
+
name: "shareIds",
|
|
2826
|
+
type: "bytes32[]",
|
|
2827
|
+
internalType: "bytes32[]"
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
name: "headers",
|
|
2468
2831
|
type: "tuple[]",
|
|
2469
|
-
internalType: "struct
|
|
2832
|
+
internalType: "struct ACPShareRegistry.ShareHeader[]",
|
|
2470
2833
|
components: [
|
|
2471
2834
|
{
|
|
2472
2835
|
name: "issuer",
|
|
@@ -2484,9 +2847,9 @@ var ACPShareRegistryArtifact = {
|
|
|
2484
2847
|
internalType: "address"
|
|
2485
2848
|
},
|
|
2486
2849
|
{
|
|
2487
|
-
name: "
|
|
2488
|
-
type: "
|
|
2489
|
-
internalType: "
|
|
2850
|
+
name: "blockNumber",
|
|
2851
|
+
type: "uint64",
|
|
2852
|
+
internalType: "uint64"
|
|
2490
2853
|
},
|
|
2491
2854
|
{
|
|
2492
2855
|
name: "revokerContract",
|
|
@@ -2494,34 +2857,9 @@ var ACPShareRegistryArtifact = {
|
|
|
2494
2857
|
internalType: "address"
|
|
2495
2858
|
},
|
|
2496
2859
|
{
|
|
2497
|
-
name: "
|
|
2498
|
-
type: "
|
|
2499
|
-
internalType: "
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
name: "contracts",
|
|
2503
|
-
type: "address[]",
|
|
2504
|
-
internalType: "address[]"
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
name: "handles",
|
|
2508
|
-
type: "bytes32[]",
|
|
2509
|
-
internalType: "bytes32[]"
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
name: "sealingKey",
|
|
2513
|
-
type: "bytes32",
|
|
2514
|
-
internalType: "bytes32"
|
|
2515
|
-
},
|
|
2516
|
-
{
|
|
2517
|
-
name: "issuerSignature",
|
|
2518
|
-
type: "bytes",
|
|
2519
|
-
internalType: "bytes"
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
name: "recipientSignature",
|
|
2523
|
-
type: "bytes",
|
|
2524
|
-
internalType: "bytes"
|
|
2860
|
+
name: "revokerData",
|
|
2861
|
+
type: "uint256",
|
|
2862
|
+
internalType: "uint256"
|
|
2525
2863
|
}
|
|
2526
2864
|
]
|
|
2527
2865
|
}
|
|
@@ -2529,37 +2867,137 @@ var ACPShareRegistryArtifact = {
|
|
|
2529
2867
|
stateMutability: "view"
|
|
2530
2868
|
},
|
|
2531
2869
|
{
|
|
2532
|
-
type: "
|
|
2533
|
-
name: "
|
|
2870
|
+
type: "function",
|
|
2871
|
+
name: "supportsInterface",
|
|
2534
2872
|
inputs: [
|
|
2535
2873
|
{
|
|
2536
|
-
name: "
|
|
2537
|
-
type: "
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2874
|
+
name: "interfaceId",
|
|
2875
|
+
type: "bytes4",
|
|
2876
|
+
internalType: "bytes4"
|
|
2877
|
+
}
|
|
2878
|
+
],
|
|
2879
|
+
outputs: [
|
|
2541
2880
|
{
|
|
2542
|
-
name: "
|
|
2881
|
+
name: "",
|
|
2882
|
+
type: "bool",
|
|
2883
|
+
internalType: "bool"
|
|
2884
|
+
}
|
|
2885
|
+
],
|
|
2886
|
+
stateMutability: "view"
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
type: "function",
|
|
2890
|
+
name: "upgradeToAndCall",
|
|
2891
|
+
inputs: [
|
|
2892
|
+
{
|
|
2893
|
+
name: "newImplementation",
|
|
2543
2894
|
type: "address",
|
|
2544
|
-
indexed: true,
|
|
2545
2895
|
internalType: "address"
|
|
2546
2896
|
},
|
|
2547
2897
|
{
|
|
2548
|
-
name: "
|
|
2549
|
-
type: "
|
|
2550
|
-
|
|
2551
|
-
internalType: "bytes32"
|
|
2898
|
+
name: "data",
|
|
2899
|
+
type: "bytes",
|
|
2900
|
+
internalType: "bytes"
|
|
2552
2901
|
}
|
|
2553
2902
|
],
|
|
2554
|
-
|
|
2903
|
+
outputs: [],
|
|
2904
|
+
stateMutability: "payable"
|
|
2555
2905
|
},
|
|
2556
2906
|
{
|
|
2557
2907
|
type: "event",
|
|
2558
|
-
name: "
|
|
2908
|
+
name: "Initialized",
|
|
2559
2909
|
inputs: [
|
|
2560
2910
|
{
|
|
2561
|
-
name: "
|
|
2562
|
-
type: "
|
|
2911
|
+
name: "version",
|
|
2912
|
+
type: "uint64",
|
|
2913
|
+
indexed: false,
|
|
2914
|
+
internalType: "uint64"
|
|
2915
|
+
}
|
|
2916
|
+
],
|
|
2917
|
+
anonymous: false
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
type: "event",
|
|
2921
|
+
name: "RoleAdminChanged",
|
|
2922
|
+
inputs: [
|
|
2923
|
+
{
|
|
2924
|
+
name: "role",
|
|
2925
|
+
type: "bytes32",
|
|
2926
|
+
indexed: true,
|
|
2927
|
+
internalType: "bytes32"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
name: "previousAdminRole",
|
|
2931
|
+
type: "bytes32",
|
|
2932
|
+
indexed: true,
|
|
2933
|
+
internalType: "bytes32"
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
name: "newAdminRole",
|
|
2937
|
+
type: "bytes32",
|
|
2938
|
+
indexed: true,
|
|
2939
|
+
internalType: "bytes32"
|
|
2940
|
+
}
|
|
2941
|
+
],
|
|
2942
|
+
anonymous: false
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
type: "event",
|
|
2946
|
+
name: "RoleGranted",
|
|
2947
|
+
inputs: [
|
|
2948
|
+
{
|
|
2949
|
+
name: "role",
|
|
2950
|
+
type: "bytes32",
|
|
2951
|
+
indexed: true,
|
|
2952
|
+
internalType: "bytes32"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
name: "account",
|
|
2956
|
+
type: "address",
|
|
2957
|
+
indexed: true,
|
|
2958
|
+
internalType: "address"
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
name: "sender",
|
|
2962
|
+
type: "address",
|
|
2963
|
+
indexed: true,
|
|
2964
|
+
internalType: "address"
|
|
2965
|
+
}
|
|
2966
|
+
],
|
|
2967
|
+
anonymous: false
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
type: "event",
|
|
2971
|
+
name: "RoleRevoked",
|
|
2972
|
+
inputs: [
|
|
2973
|
+
{
|
|
2974
|
+
name: "role",
|
|
2975
|
+
type: "bytes32",
|
|
2976
|
+
indexed: true,
|
|
2977
|
+
internalType: "bytes32"
|
|
2978
|
+
},
|
|
2979
|
+
{
|
|
2980
|
+
name: "account",
|
|
2981
|
+
type: "address",
|
|
2982
|
+
indexed: true,
|
|
2983
|
+
internalType: "address"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
name: "sender",
|
|
2987
|
+
type: "address",
|
|
2988
|
+
indexed: true,
|
|
2989
|
+
internalType: "address"
|
|
2990
|
+
}
|
|
2991
|
+
],
|
|
2992
|
+
anonymous: false
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
type: "event",
|
|
2996
|
+
name: "ShareRemoved",
|
|
2997
|
+
inputs: [
|
|
2998
|
+
{
|
|
2999
|
+
name: "recipient",
|
|
3000
|
+
type: "address",
|
|
2563
3001
|
indexed: true,
|
|
2564
3002
|
internalType: "address"
|
|
2565
3003
|
},
|
|
@@ -2572,22 +3010,192 @@ var ACPShareRegistryArtifact = {
|
|
|
2572
3010
|
{
|
|
2573
3011
|
name: "shareId",
|
|
2574
3012
|
type: "bytes32",
|
|
2575
|
-
indexed:
|
|
3013
|
+
indexed: true,
|
|
2576
3014
|
internalType: "bytes32"
|
|
2577
3015
|
}
|
|
2578
3016
|
],
|
|
2579
3017
|
anonymous: false
|
|
2580
3018
|
},
|
|
3019
|
+
{
|
|
3020
|
+
type: "event",
|
|
3021
|
+
name: "Shared",
|
|
3022
|
+
inputs: [
|
|
3023
|
+
{
|
|
3024
|
+
name: "recipient",
|
|
3025
|
+
type: "address",
|
|
3026
|
+
indexed: true,
|
|
3027
|
+
internalType: "address"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
name: "issuer",
|
|
3031
|
+
type: "address",
|
|
3032
|
+
indexed: true,
|
|
3033
|
+
internalType: "address"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
name: "shareId",
|
|
3037
|
+
type: "bytes32",
|
|
3038
|
+
indexed: true,
|
|
3039
|
+
internalType: "bytes32"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
name: "acp",
|
|
3043
|
+
type: "tuple",
|
|
3044
|
+
indexed: false,
|
|
3045
|
+
internalType: "struct ACP",
|
|
3046
|
+
components: [
|
|
3047
|
+
{
|
|
3048
|
+
name: "issuer",
|
|
3049
|
+
type: "address",
|
|
3050
|
+
internalType: "address"
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
name: "expiration",
|
|
3054
|
+
type: "uint64",
|
|
3055
|
+
internalType: "uint64"
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
name: "recipient",
|
|
3059
|
+
type: "address",
|
|
3060
|
+
internalType: "address"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
name: "revokerData",
|
|
3064
|
+
type: "uint256",
|
|
3065
|
+
internalType: "uint256"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
name: "revokerContract",
|
|
3069
|
+
type: "address",
|
|
3070
|
+
internalType: "address"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
name: "scope",
|
|
3074
|
+
type: "uint8",
|
|
3075
|
+
internalType: "uint8"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
name: "contracts",
|
|
3079
|
+
type: "address[]",
|
|
3080
|
+
internalType: "address[]"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
name: "handles",
|
|
3084
|
+
type: "bytes32[]",
|
|
3085
|
+
internalType: "bytes32[]"
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
name: "sealingKey",
|
|
3089
|
+
type: "bytes32",
|
|
3090
|
+
internalType: "bytes32"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
name: "issuerSignature",
|
|
3094
|
+
type: "bytes",
|
|
3095
|
+
internalType: "bytes"
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
name: "recipientSignature",
|
|
3099
|
+
type: "bytes",
|
|
3100
|
+
internalType: "bytes"
|
|
3101
|
+
}
|
|
3102
|
+
]
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
name: "metadata",
|
|
3106
|
+
type: "bytes",
|
|
3107
|
+
indexed: false,
|
|
3108
|
+
internalType: "bytes"
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
anonymous: false
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
type: "event",
|
|
3115
|
+
name: "Upgraded",
|
|
3116
|
+
inputs: [
|
|
3117
|
+
{
|
|
3118
|
+
name: "implementation",
|
|
3119
|
+
type: "address",
|
|
3120
|
+
indexed: true,
|
|
3121
|
+
internalType: "address"
|
|
3122
|
+
}
|
|
3123
|
+
],
|
|
3124
|
+
anonymous: false
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
type: "error",
|
|
3128
|
+
name: "AccessControlBadConfirmation",
|
|
3129
|
+
inputs: []
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
type: "error",
|
|
3133
|
+
name: "AccessControlUnauthorizedAccount",
|
|
3134
|
+
inputs: [
|
|
3135
|
+
{
|
|
3136
|
+
name: "account",
|
|
3137
|
+
type: "address",
|
|
3138
|
+
internalType: "address"
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
name: "neededRole",
|
|
3142
|
+
type: "bytes32",
|
|
3143
|
+
internalType: "bytes32"
|
|
3144
|
+
}
|
|
3145
|
+
]
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
type: "error",
|
|
3149
|
+
name: "AddressEmptyCode",
|
|
3150
|
+
inputs: [
|
|
3151
|
+
{
|
|
3152
|
+
name: "target",
|
|
3153
|
+
type: "address",
|
|
3154
|
+
internalType: "address"
|
|
3155
|
+
}
|
|
3156
|
+
]
|
|
3157
|
+
},
|
|
2581
3158
|
{
|
|
2582
3159
|
type: "error",
|
|
2583
3160
|
name: "AlreadyShared",
|
|
2584
3161
|
inputs: []
|
|
2585
3162
|
},
|
|
3163
|
+
{
|
|
3164
|
+
type: "error",
|
|
3165
|
+
name: "ERC1967InvalidImplementation",
|
|
3166
|
+
inputs: [
|
|
3167
|
+
{
|
|
3168
|
+
name: "implementation",
|
|
3169
|
+
type: "address",
|
|
3170
|
+
internalType: "address"
|
|
3171
|
+
}
|
|
3172
|
+
]
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
type: "error",
|
|
3176
|
+
name: "ERC1967NonPayable",
|
|
3177
|
+
inputs: []
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
type: "error",
|
|
3181
|
+
name: "FailedCall",
|
|
3182
|
+
inputs: []
|
|
3183
|
+
},
|
|
3184
|
+
{
|
|
3185
|
+
type: "error",
|
|
3186
|
+
name: "InvalidInitialization",
|
|
3187
|
+
inputs: []
|
|
3188
|
+
},
|
|
2586
3189
|
{
|
|
2587
3190
|
type: "error",
|
|
2588
3191
|
name: "IssuerSignatureMissing",
|
|
2589
3192
|
inputs: []
|
|
2590
3193
|
},
|
|
3194
|
+
{
|
|
3195
|
+
type: "error",
|
|
3196
|
+
name: "NotInitializing",
|
|
3197
|
+
inputs: []
|
|
3198
|
+
},
|
|
2591
3199
|
{
|
|
2592
3200
|
type: "error",
|
|
2593
3201
|
name: "NotIssuer",
|
|
@@ -2613,6 +3221,22 @@ var ACPShareRegistryArtifact = {
|
|
|
2613
3221
|
name: "ShareExpired",
|
|
2614
3222
|
inputs: []
|
|
2615
3223
|
},
|
|
3224
|
+
{
|
|
3225
|
+
type: "error",
|
|
3226
|
+
name: "UUPSUnauthorizedCallContext",
|
|
3227
|
+
inputs: []
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
type: "error",
|
|
3231
|
+
name: "UUPSUnsupportedProxiableUUID",
|
|
3232
|
+
inputs: [
|
|
3233
|
+
{
|
|
3234
|
+
name: "slot",
|
|
3235
|
+
type: "bytes32",
|
|
3236
|
+
internalType: "bytes32"
|
|
3237
|
+
}
|
|
3238
|
+
]
|
|
3239
|
+
},
|
|
2616
3240
|
{
|
|
2617
3241
|
type: "error",
|
|
2618
3242
|
name: "UnknownShare",
|
|
@@ -2621,6 +3245,79 @@ var ACPShareRegistryArtifact = {
|
|
|
2621
3245
|
]
|
|
2622
3246
|
};
|
|
2623
3247
|
|
|
3248
|
+
// src/MockERC1967Proxy.ts
|
|
3249
|
+
var MockERC1967ProxyArtifact = {
|
|
3250
|
+
contractName: "MockERC1967Proxy",
|
|
3251
|
+
isFixed: false,
|
|
3252
|
+
abi: [
|
|
3253
|
+
{
|
|
3254
|
+
type: "constructor",
|
|
3255
|
+
inputs: [
|
|
3256
|
+
{
|
|
3257
|
+
name: "implementation",
|
|
3258
|
+
type: "address",
|
|
3259
|
+
internalType: "address"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
name: "data",
|
|
3263
|
+
type: "bytes",
|
|
3264
|
+
internalType: "bytes"
|
|
3265
|
+
}
|
|
3266
|
+
],
|
|
3267
|
+
stateMutability: "payable"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
type: "fallback",
|
|
3271
|
+
stateMutability: "payable"
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
type: "event",
|
|
3275
|
+
name: "Upgraded",
|
|
3276
|
+
inputs: [
|
|
3277
|
+
{
|
|
3278
|
+
name: "implementation",
|
|
3279
|
+
type: "address",
|
|
3280
|
+
indexed: true,
|
|
3281
|
+
internalType: "address"
|
|
3282
|
+
}
|
|
3283
|
+
],
|
|
3284
|
+
anonymous: false
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
type: "error",
|
|
3288
|
+
name: "AddressEmptyCode",
|
|
3289
|
+
inputs: [
|
|
3290
|
+
{
|
|
3291
|
+
name: "target",
|
|
3292
|
+
type: "address",
|
|
3293
|
+
internalType: "address"
|
|
3294
|
+
}
|
|
3295
|
+
]
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
type: "error",
|
|
3299
|
+
name: "ERC1967InvalidImplementation",
|
|
3300
|
+
inputs: [
|
|
3301
|
+
{
|
|
3302
|
+
name: "implementation",
|
|
3303
|
+
type: "address",
|
|
3304
|
+
internalType: "address"
|
|
3305
|
+
}
|
|
3306
|
+
]
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
type: "error",
|
|
3310
|
+
name: "ERC1967NonPayable",
|
|
3311
|
+
inputs: []
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
type: "error",
|
|
3315
|
+
name: "FailedCall",
|
|
3316
|
+
inputs: []
|
|
3317
|
+
}
|
|
3318
|
+
]
|
|
3319
|
+
};
|
|
3320
|
+
|
|
2624
3321
|
// src/MockZkVerifier.ts
|
|
2625
3322
|
var MockZkVerifierArtifact = {
|
|
2626
3323
|
contractName: "MockZkVerifier",
|
|
@@ -3383,6 +4080,6 @@ var MockThresholdNetworkArtifact = {
|
|
|
3383
4080
|
]
|
|
3384
4081
|
};
|
|
3385
4082
|
|
|
3386
|
-
export { ACPShareRegistryArtifact, ACPTimestampRevokerArtifact, MockACLArtifact, MockTaskManagerArtifact, MockThresholdNetworkArtifact, MockZkVerifierArtifact };
|
|
4083
|
+
export { ACPShareRegistryArtifact, ACPTimestampRevokerArtifact, MockACLArtifact, MockCoFHEAddressBookArtifact, MockERC1967ProxyArtifact, MockTaskManagerArtifact, MockThresholdNetworkArtifact, MockZkVerifierArtifact };
|
|
3387
4084
|
//# sourceMappingURL=index.mjs.map
|
|
3388
4085
|
//# sourceMappingURL=index.mjs.map
|