@cofhe/mock-contracts 0.1.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.
@@ -0,0 +1,261 @@
1
+ type MocksArtifact = {
2
+ contractName: string;
3
+ fixedAddress: string;
4
+ abi: any;
5
+ deployedBytecode: string;
6
+ };
7
+
8
+ declare const MockTaskManagerArtifact: {
9
+ contractName: string;
10
+ fixedAddress: string;
11
+ abi: ({
12
+ type: string;
13
+ inputs: never[];
14
+ stateMutability: string;
15
+ name?: undefined;
16
+ outputs?: undefined;
17
+ anonymous?: undefined;
18
+ } | {
19
+ type: string;
20
+ name: string;
21
+ inputs: ({
22
+ name: string;
23
+ type: string;
24
+ internalType: string;
25
+ components: {
26
+ name: string;
27
+ type: string;
28
+ internalType: string;
29
+ }[];
30
+ } | {
31
+ name: string;
32
+ type: string;
33
+ internalType: string;
34
+ components?: undefined;
35
+ })[];
36
+ outputs: {
37
+ name: string;
38
+ type: string;
39
+ internalType: string;
40
+ }[];
41
+ stateMutability: string;
42
+ anonymous?: undefined;
43
+ } | {
44
+ type: string;
45
+ name: string;
46
+ inputs: {
47
+ name: string;
48
+ type: string;
49
+ indexed: boolean;
50
+ internalType: string;
51
+ }[];
52
+ anonymous: boolean;
53
+ stateMutability?: undefined;
54
+ outputs?: undefined;
55
+ } | {
56
+ type: string;
57
+ name: string;
58
+ inputs: {
59
+ name: string;
60
+ type: string;
61
+ internalType: string;
62
+ }[];
63
+ stateMutability?: undefined;
64
+ outputs?: undefined;
65
+ anonymous?: undefined;
66
+ })[];
67
+ deployedBytecode: string;
68
+ };
69
+
70
+ declare const MockACLArtifact: {
71
+ contractName: string;
72
+ fixedAddress: string;
73
+ abi: ({
74
+ type: string;
75
+ inputs: never[];
76
+ stateMutability: string;
77
+ name?: undefined;
78
+ outputs?: undefined;
79
+ anonymous?: undefined;
80
+ } | {
81
+ type: string;
82
+ name: string;
83
+ inputs: ({
84
+ name: string;
85
+ type: string;
86
+ internalType: string;
87
+ components: {
88
+ name: string;
89
+ type: string;
90
+ internalType: string;
91
+ }[];
92
+ } | {
93
+ name: string;
94
+ type: string;
95
+ internalType: string;
96
+ components?: undefined;
97
+ })[];
98
+ outputs: {
99
+ name: string;
100
+ type: string;
101
+ internalType: string;
102
+ }[];
103
+ stateMutability: string;
104
+ anonymous?: undefined;
105
+ } | {
106
+ type: string;
107
+ name: string;
108
+ inputs: {
109
+ name: string;
110
+ type: string;
111
+ indexed: boolean;
112
+ internalType: string;
113
+ }[];
114
+ anonymous: boolean;
115
+ stateMutability?: undefined;
116
+ outputs?: undefined;
117
+ } | {
118
+ type: string;
119
+ name: string;
120
+ inputs: {
121
+ name: string;
122
+ type: string;
123
+ internalType: string;
124
+ }[];
125
+ stateMutability?: undefined;
126
+ outputs?: undefined;
127
+ anonymous?: undefined;
128
+ })[];
129
+ deployedBytecode: string;
130
+ };
131
+
132
+ declare const MockZkVerifierArtifact: {
133
+ contractName: string;
134
+ fixedAddress: string;
135
+ abi: ({
136
+ type: string;
137
+ name: string;
138
+ inputs: {
139
+ name: string;
140
+ type: string;
141
+ internalType: string;
142
+ }[];
143
+ outputs: {
144
+ name: string;
145
+ type: string;
146
+ internalType: string;
147
+ components: {
148
+ name: string;
149
+ type: string;
150
+ internalType: string;
151
+ }[];
152
+ }[];
153
+ stateMutability: string;
154
+ } | {
155
+ type: string;
156
+ name: string;
157
+ inputs: {
158
+ name: string;
159
+ type: string;
160
+ internalType: string;
161
+ }[];
162
+ outputs: {
163
+ name: string;
164
+ type: string;
165
+ internalType: string;
166
+ }[];
167
+ stateMutability: string;
168
+ } | {
169
+ type: string;
170
+ name: string;
171
+ inputs: never[];
172
+ outputs?: undefined;
173
+ stateMutability?: undefined;
174
+ })[];
175
+ deployedBytecode: string;
176
+ };
177
+
178
+ declare const MockQueryDecrypterArtifact: {
179
+ contractName: string;
180
+ fixedAddress: string;
181
+ abi: ({
182
+ type: string;
183
+ name: string;
184
+ inputs: ({
185
+ name: string;
186
+ type: string;
187
+ internalType: string;
188
+ components?: undefined;
189
+ } | {
190
+ name: string;
191
+ type: string;
192
+ internalType: string;
193
+ components: {
194
+ name: string;
195
+ type: string;
196
+ internalType: string;
197
+ }[];
198
+ })[];
199
+ outputs: {
200
+ name: string;
201
+ type: string;
202
+ internalType: string;
203
+ }[];
204
+ stateMutability: string;
205
+ } | {
206
+ type: string;
207
+ name: string;
208
+ inputs: never[];
209
+ outputs?: undefined;
210
+ stateMutability?: undefined;
211
+ })[];
212
+ deployedBytecode: string;
213
+ };
214
+
215
+ declare const TestBedArtifact: {
216
+ contractName: string;
217
+ fixedAddress: string;
218
+ abi: ({
219
+ type: string;
220
+ name: string;
221
+ inputs: {
222
+ name: string;
223
+ type: string;
224
+ internalType: string;
225
+ components: {
226
+ name: string;
227
+ type: string;
228
+ internalType: string;
229
+ }[];
230
+ }[];
231
+ outputs: never[];
232
+ stateMutability: string;
233
+ } | {
234
+ type: string;
235
+ name: string;
236
+ inputs: {
237
+ name: string;
238
+ type: string;
239
+ internalType: string;
240
+ }[];
241
+ outputs: {
242
+ name: string;
243
+ type: string;
244
+ internalType: string;
245
+ }[];
246
+ stateMutability: string;
247
+ } | {
248
+ type: string;
249
+ name: string;
250
+ inputs: {
251
+ name: string;
252
+ type: string;
253
+ internalType: string;
254
+ }[];
255
+ outputs?: undefined;
256
+ stateMutability?: undefined;
257
+ })[];
258
+ deployedBytecode: string;
259
+ };
260
+
261
+ export { MockACLArtifact, MockQueryDecrypterArtifact, MockTaskManagerArtifact, MockZkVerifierArtifact, type MocksArtifact, TestBedArtifact };
@@ -0,0 +1,261 @@
1
+ type MocksArtifact = {
2
+ contractName: string;
3
+ fixedAddress: string;
4
+ abi: any;
5
+ deployedBytecode: string;
6
+ };
7
+
8
+ declare const MockTaskManagerArtifact: {
9
+ contractName: string;
10
+ fixedAddress: string;
11
+ abi: ({
12
+ type: string;
13
+ inputs: never[];
14
+ stateMutability: string;
15
+ name?: undefined;
16
+ outputs?: undefined;
17
+ anonymous?: undefined;
18
+ } | {
19
+ type: string;
20
+ name: string;
21
+ inputs: ({
22
+ name: string;
23
+ type: string;
24
+ internalType: string;
25
+ components: {
26
+ name: string;
27
+ type: string;
28
+ internalType: string;
29
+ }[];
30
+ } | {
31
+ name: string;
32
+ type: string;
33
+ internalType: string;
34
+ components?: undefined;
35
+ })[];
36
+ outputs: {
37
+ name: string;
38
+ type: string;
39
+ internalType: string;
40
+ }[];
41
+ stateMutability: string;
42
+ anonymous?: undefined;
43
+ } | {
44
+ type: string;
45
+ name: string;
46
+ inputs: {
47
+ name: string;
48
+ type: string;
49
+ indexed: boolean;
50
+ internalType: string;
51
+ }[];
52
+ anonymous: boolean;
53
+ stateMutability?: undefined;
54
+ outputs?: undefined;
55
+ } | {
56
+ type: string;
57
+ name: string;
58
+ inputs: {
59
+ name: string;
60
+ type: string;
61
+ internalType: string;
62
+ }[];
63
+ stateMutability?: undefined;
64
+ outputs?: undefined;
65
+ anonymous?: undefined;
66
+ })[];
67
+ deployedBytecode: string;
68
+ };
69
+
70
+ declare const MockACLArtifact: {
71
+ contractName: string;
72
+ fixedAddress: string;
73
+ abi: ({
74
+ type: string;
75
+ inputs: never[];
76
+ stateMutability: string;
77
+ name?: undefined;
78
+ outputs?: undefined;
79
+ anonymous?: undefined;
80
+ } | {
81
+ type: string;
82
+ name: string;
83
+ inputs: ({
84
+ name: string;
85
+ type: string;
86
+ internalType: string;
87
+ components: {
88
+ name: string;
89
+ type: string;
90
+ internalType: string;
91
+ }[];
92
+ } | {
93
+ name: string;
94
+ type: string;
95
+ internalType: string;
96
+ components?: undefined;
97
+ })[];
98
+ outputs: {
99
+ name: string;
100
+ type: string;
101
+ internalType: string;
102
+ }[];
103
+ stateMutability: string;
104
+ anonymous?: undefined;
105
+ } | {
106
+ type: string;
107
+ name: string;
108
+ inputs: {
109
+ name: string;
110
+ type: string;
111
+ indexed: boolean;
112
+ internalType: string;
113
+ }[];
114
+ anonymous: boolean;
115
+ stateMutability?: undefined;
116
+ outputs?: undefined;
117
+ } | {
118
+ type: string;
119
+ name: string;
120
+ inputs: {
121
+ name: string;
122
+ type: string;
123
+ internalType: string;
124
+ }[];
125
+ stateMutability?: undefined;
126
+ outputs?: undefined;
127
+ anonymous?: undefined;
128
+ })[];
129
+ deployedBytecode: string;
130
+ };
131
+
132
+ declare const MockZkVerifierArtifact: {
133
+ contractName: string;
134
+ fixedAddress: string;
135
+ abi: ({
136
+ type: string;
137
+ name: string;
138
+ inputs: {
139
+ name: string;
140
+ type: string;
141
+ internalType: string;
142
+ }[];
143
+ outputs: {
144
+ name: string;
145
+ type: string;
146
+ internalType: string;
147
+ components: {
148
+ name: string;
149
+ type: string;
150
+ internalType: string;
151
+ }[];
152
+ }[];
153
+ stateMutability: string;
154
+ } | {
155
+ type: string;
156
+ name: string;
157
+ inputs: {
158
+ name: string;
159
+ type: string;
160
+ internalType: string;
161
+ }[];
162
+ outputs: {
163
+ name: string;
164
+ type: string;
165
+ internalType: string;
166
+ }[];
167
+ stateMutability: string;
168
+ } | {
169
+ type: string;
170
+ name: string;
171
+ inputs: never[];
172
+ outputs?: undefined;
173
+ stateMutability?: undefined;
174
+ })[];
175
+ deployedBytecode: string;
176
+ };
177
+
178
+ declare const MockQueryDecrypterArtifact: {
179
+ contractName: string;
180
+ fixedAddress: string;
181
+ abi: ({
182
+ type: string;
183
+ name: string;
184
+ inputs: ({
185
+ name: string;
186
+ type: string;
187
+ internalType: string;
188
+ components?: undefined;
189
+ } | {
190
+ name: string;
191
+ type: string;
192
+ internalType: string;
193
+ components: {
194
+ name: string;
195
+ type: string;
196
+ internalType: string;
197
+ }[];
198
+ })[];
199
+ outputs: {
200
+ name: string;
201
+ type: string;
202
+ internalType: string;
203
+ }[];
204
+ stateMutability: string;
205
+ } | {
206
+ type: string;
207
+ name: string;
208
+ inputs: never[];
209
+ outputs?: undefined;
210
+ stateMutability?: undefined;
211
+ })[];
212
+ deployedBytecode: string;
213
+ };
214
+
215
+ declare const TestBedArtifact: {
216
+ contractName: string;
217
+ fixedAddress: string;
218
+ abi: ({
219
+ type: string;
220
+ name: string;
221
+ inputs: {
222
+ name: string;
223
+ type: string;
224
+ internalType: string;
225
+ components: {
226
+ name: string;
227
+ type: string;
228
+ internalType: string;
229
+ }[];
230
+ }[];
231
+ outputs: never[];
232
+ stateMutability: string;
233
+ } | {
234
+ type: string;
235
+ name: string;
236
+ inputs: {
237
+ name: string;
238
+ type: string;
239
+ internalType: string;
240
+ }[];
241
+ outputs: {
242
+ name: string;
243
+ type: string;
244
+ internalType: string;
245
+ }[];
246
+ stateMutability: string;
247
+ } | {
248
+ type: string;
249
+ name: string;
250
+ inputs: {
251
+ name: string;
252
+ type: string;
253
+ internalType: string;
254
+ }[];
255
+ outputs?: undefined;
256
+ stateMutability?: undefined;
257
+ })[];
258
+ deployedBytecode: string;
259
+ };
260
+
261
+ export { MockACLArtifact, MockQueryDecrypterArtifact, MockTaskManagerArtifact, MockZkVerifierArtifact, type MocksArtifact, TestBedArtifact };