@prosopo/types 0.3.41 → 0.3.42

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.
@@ -1,9 +1,10 @@
1
- import { ProsopoNetworksSchema } from './network.js';
1
+ import { ProsopoNetworkSchema } from './network.js';
2
2
  import { input } from 'zod';
3
3
  import { output } from 'zod';
4
4
  import { infer as zInfer } from 'zod';
5
- export declare const DatabaseTypes: import("zod").ZodEnum<["mongo", "mongoMemory"]>;
6
- export declare const EnvironmentTypesSchema: import("zod").ZodEnum<["development", "staging", "production"]>;
5
+ import z from 'zod';
6
+ export declare const DatabaseTypes: z.ZodEnum<["mongo", "mongoMemory"]>;
7
+ export declare const EnvironmentTypesSchema: z.ZodEnum<["development", "staging", "production"]>;
7
8
  export type EnvironmentTypes = zInfer<typeof EnvironmentTypesSchema>;
8
9
  export declare const DEFAULT_IMAGE_CAPTCHA_TIMEOUT: number;
9
10
  export declare const DEFAULT_IMAGE_CAPTCHA_SOLUTION_TIMEOUT: number;
@@ -13,12 +14,12 @@ export declare const DEFAULT_POW_CAPTCHA_SOLUTION_TIMEOUT: number;
13
14
  export declare const DEFAULT_POW_CAPTCHA_VERIFIED_TIMEOUT: number;
14
15
  export declare const DEFAULT_POW_CAPTCHA_CACHED_TIMEOUT: number;
15
16
  export declare const DEFAULT_MAX_VERIFIED_TIME_CONTRACT: number;
16
- export declare const DatabaseConfigSchema: import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
17
- type: import("zod").ZodString;
18
- endpoint: import("zod").ZodString;
19
- dbname: import("zod").ZodString;
20
- authSource: import("zod").ZodString;
21
- }, "strip", import("zod").ZodTypeAny, {
17
+ export declare const DatabaseConfigSchema: z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
18
+ type: z.ZodString;
19
+ endpoint: z.ZodString;
20
+ dbname: z.ZodString;
21
+ authSource: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
22
23
  type: string;
23
24
  endpoint: string;
24
25
  dbname: string;
@@ -29,10 +30,10 @@ export declare const DatabaseConfigSchema: import("zod").ZodRecord<import("zod")
29
30
  dbname: string;
30
31
  authSource: string;
31
32
  }>>;
32
- export declare const BatchCommitConfigSchema: import("zod").ZodObject<{
33
- interval: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
34
- maxBatchExtrinsicPercentage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
35
- }, "strip", import("zod").ZodTypeAny, {
33
+ export declare const BatchCommitConfigSchema: z.ZodObject<{
34
+ interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
+ maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
36
+ }, "strip", z.ZodTypeAny, {
36
37
  interval: number;
37
38
  maxBatchExtrinsicPercentage: number;
38
39
  }, {
@@ -43,15 +44,15 @@ export type BatchCommitConfigInput = input<typeof BatchCommitConfigSchema>;
43
44
  export type BatchCommitConfigOutput = output<typeof BatchCommitConfigSchema>;
44
45
  export type DatabaseConfigInput = input<typeof DatabaseConfigSchema>;
45
46
  export type DatabaseConfigOutput = output<typeof DatabaseConfigSchema>;
46
- export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
47
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
48
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
49
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
50
- account: import("zod").ZodObject<{
51
- address: import("zod").ZodOptional<import("zod").ZodString>;
52
- secret: import("zod").ZodOptional<import("zod").ZodString>;
53
- password: import("zod").ZodOptional<import("zod").ZodString>;
54
- }, "strip", import("zod").ZodTypeAny, {
47
+ export declare const ProsopoBaseConfigSchema: z.ZodObject<{
48
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
49
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
50
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
51
+ account: z.ZodObject<{
52
+ address: z.ZodOptional<z.ZodString>;
53
+ secret: z.ZodOptional<z.ZodString>;
54
+ password: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
55
56
  address?: string | undefined;
56
57
  secret?: string | undefined;
57
58
  password?: string | undefined;
@@ -60,10 +61,10 @@ export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
60
61
  secret?: string | undefined;
61
62
  password?: string | undefined;
62
63
  }>;
63
- }, "strip", import("zod").ZodTypeAny, {
64
+ }, "strip", z.ZodTypeAny, {
64
65
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
65
66
  defaultEnvironment: "development" | "staging" | "production";
66
- defaultNetwork: "development" | "rococo" | "shiden";
67
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
67
68
  account: {
68
69
  address?: string | undefined;
69
70
  secret?: string | undefined;
@@ -77,17 +78,74 @@ export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
77
78
  };
78
79
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
79
80
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
80
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
81
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
81
82
  }>;
82
- export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
83
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
84
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
85
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
86
- account: import("zod").ZodObject<{
87
- address: import("zod").ZodOptional<import("zod").ZodString>;
88
- secret: import("zod").ZodOptional<import("zod").ZodString>;
89
- password: import("zod").ZodOptional<import("zod").ZodString>;
90
- }, "strip", import("zod").ZodTypeAny, {
83
+ export declare const PolkadotSecretJSONSpec: z.ZodObject<{
84
+ encoded: z.ZodString;
85
+ encoding: z.ZodObject<{
86
+ content: z.ZodArray<z.ZodString, "many">;
87
+ type: z.ZodArray<z.ZodString, "many">;
88
+ version: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ type: string[];
91
+ content: string[];
92
+ version: string;
93
+ }, {
94
+ type: string[];
95
+ content: string[];
96
+ version: string;
97
+ }>;
98
+ address: z.ZodString;
99
+ meta: z.ZodObject<{
100
+ genesisHash: z.ZodString;
101
+ name: z.ZodString;
102
+ whenCreated: z.ZodNumber;
103
+ }, "strip", z.ZodTypeAny, {
104
+ name: string;
105
+ genesisHash: string;
106
+ whenCreated: number;
107
+ }, {
108
+ name: string;
109
+ genesisHash: string;
110
+ whenCreated: number;
111
+ }>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ address: string;
114
+ encoded: string;
115
+ encoding: {
116
+ type: string[];
117
+ content: string[];
118
+ version: string;
119
+ };
120
+ meta: {
121
+ name: string;
122
+ genesisHash: string;
123
+ whenCreated: number;
124
+ };
125
+ }, {
126
+ address: string;
127
+ encoded: string;
128
+ encoding: {
129
+ type: string[];
130
+ content: string[];
131
+ version: string;
132
+ };
133
+ meta: {
134
+ name: string;
135
+ genesisHash: string;
136
+ whenCreated: number;
137
+ };
138
+ }>;
139
+ export type PolkadotSecretJSON = zInfer<typeof PolkadotSecretJSONSpec>;
140
+ export declare const ProsopoBasicConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
141
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
142
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
143
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
144
+ account: z.ZodObject<{
145
+ address: z.ZodOptional<z.ZodString>;
146
+ secret: z.ZodOptional<z.ZodString>;
147
+ password: z.ZodOptional<z.ZodString>;
148
+ }, "strip", z.ZodTypeAny, {
91
149
  address?: string | undefined;
92
150
  secret?: string | undefined;
93
151
  password?: string | undefined;
@@ -97,22 +155,22 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
97
155
  password?: string | undefined;
98
156
  }>;
99
157
  }, {
100
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
101
- endpoint: import("zod").ZodString;
102
- contract: import("zod").ZodObject<{
103
- address: import("zod").ZodString;
104
- name: import("zod").ZodString;
105
- }, "strip", import("zod").ZodTypeAny, {
158
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
159
+ endpoint: z.ZodArray<z.ZodString, "many">;
160
+ contract: z.ZodObject<{
161
+ address: z.ZodString;
162
+ name: z.ZodString;
163
+ }, "strip", z.ZodTypeAny, {
106
164
  address: string;
107
165
  name: string;
108
166
  }, {
109
167
  address: string;
110
168
  name: string;
111
169
  }>;
112
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
113
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
114
- }, "strip", import("zod").ZodTypeAny, {
115
- endpoint: string;
170
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
171
+ ss58Format: z.ZodDefault<z.ZodNumber>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ endpoint: string[];
116
174
  contract: {
117
175
  address: string;
118
176
  name: string;
@@ -120,15 +178,15 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
120
178
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
121
179
  ss58Format: number;
122
180
  }, {
123
- endpoint: string;
181
+ endpoint: string[];
124
182
  contract: {
125
183
  address: string;
126
184
  name: string;
127
185
  };
128
186
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
129
187
  ss58Format?: number | undefined;
130
- }>>, Record<"development" | "rococo" | "shiden", {
131
- endpoint: string;
188
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
189
+ endpoint: string[];
132
190
  contract: {
133
191
  address: string;
134
192
  name: string;
@@ -136,7 +194,7 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
136
194
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
137
195
  ss58Format: number;
138
196
  }>, Record<string, {
139
- endpoint: string;
197
+ endpoint: string[];
140
198
  contract: {
141
199
  address: string;
142
200
  name: string;
@@ -144,12 +202,12 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
144
202
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
145
203
  ss58Format?: number | undefined;
146
204
  }>>>;
147
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
148
- type: import("zod").ZodString;
149
- endpoint: import("zod").ZodString;
150
- dbname: import("zod").ZodString;
151
- authSource: import("zod").ZodString;
152
- }, "strip", import("zod").ZodTypeAny, {
205
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
206
+ type: z.ZodString;
207
+ endpoint: z.ZodString;
208
+ dbname: z.ZodString;
209
+ authSource: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
153
211
  type: string;
154
212
  endpoint: string;
155
213
  dbname: string;
@@ -160,18 +218,18 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
160
218
  dbname: string;
161
219
  authSource: string;
162
220
  }>>>;
163
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
164
- }>, "strip", import("zod").ZodTypeAny, {
221
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
222
+ }>, "strip", z.ZodTypeAny, {
165
223
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
166
224
  defaultEnvironment: "development" | "staging" | "production";
167
- defaultNetwork: "development" | "rococo" | "shiden";
225
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
168
226
  account: {
169
227
  address?: string | undefined;
170
228
  secret?: string | undefined;
171
229
  password?: string | undefined;
172
230
  };
173
- networks: Record<"development" | "rococo" | "shiden", {
174
- endpoint: string;
231
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
232
+ endpoint: string[];
175
233
  contract: {
176
234
  address: string;
177
235
  name: string;
@@ -194,9 +252,9 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
194
252
  };
195
253
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
196
254
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
197
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
255
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
198
256
  networks?: Record<string, {
199
- endpoint: string;
257
+ endpoint: string[];
200
258
  contract: {
201
259
  address: string;
202
260
  name: string;
@@ -212,26 +270,26 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
212
270
  }>> | undefined;
213
271
  devOnlyWatchEvents?: boolean | undefined;
214
272
  }>;
215
- export type ProsopoNetworksSchemaInput = input<typeof ProsopoNetworksSchema>;
216
- export type ProsopoNetworksSchemaOutput = output<typeof ProsopoNetworksSchema>;
273
+ export type ProsopoNetworksSchemaInput = input<typeof ProsopoNetworkSchema>;
274
+ export type ProsopoNetworksSchemaOutput = output<typeof ProsopoNetworkSchema>;
217
275
  export type ProsopoBasicConfigInput = input<typeof ProsopoBasicConfigSchema>;
218
276
  export type ProsopoBasicConfigOutput = output<typeof ProsopoBasicConfigSchema>;
219
- export declare const ProsopoCaptchaCountConfigSchema: import("zod").ZodObject<{
220
- solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
221
- count: import("zod").ZodNumber;
222
- }, "strip", import("zod").ZodTypeAny, {
277
+ export declare const ProsopoCaptchaCountConfigSchema: z.ZodObject<{
278
+ solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
279
+ count: z.ZodNumber;
280
+ }, "strip", z.ZodTypeAny, {
223
281
  count: number;
224
282
  }, {
225
283
  count: number;
226
284
  }>>>;
227
- unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
228
- count: import("zod").ZodNumber;
229
- }, "strip", import("zod").ZodTypeAny, {
285
+ unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
286
+ count: z.ZodNumber;
287
+ }, "strip", z.ZodTypeAny, {
230
288
  count: number;
231
289
  }, {
232
290
  count: number;
233
291
  }>>>;
234
- }, "strip", import("zod").ZodTypeAny, {
292
+ }, "strip", z.ZodTypeAny, {
235
293
  solved: {
236
294
  count: number;
237
295
  };
@@ -247,21 +305,21 @@ export declare const ProsopoCaptchaCountConfigSchema: import("zod").ZodObject<{
247
305
  } | undefined;
248
306
  }>;
249
307
  export type ProsopoCaptchaCountConfigSchemaInput = input<typeof ProsopoCaptchaCountConfigSchema>;
250
- export declare const ProsopoImageServerConfigSchema: import("zod").ZodObject<{
251
- baseURL: import("zod").ZodString;
252
- port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
253
- }, "strip", import("zod").ZodTypeAny, {
308
+ export declare const ProsopoImageServerConfigSchema: z.ZodObject<{
309
+ baseURL: z.ZodString;
310
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
311
+ }, "strip", z.ZodTypeAny, {
254
312
  baseURL: string;
255
313
  port: number;
256
314
  }, {
257
315
  baseURL: string;
258
316
  port?: number | undefined;
259
317
  }>;
260
- export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject<{
261
- requiredNumberOfSolutions: import("zod").ZodNumber;
262
- solutionWinningPercentage: import("zod").ZodNumber;
263
- captchaBlockRecency: import("zod").ZodNumber;
264
- }, "strip", import("zod").ZodTypeAny, {
318
+ export declare const ProsopoCaptchaSolutionConfigSchema: z.ZodObject<{
319
+ requiredNumberOfSolutions: z.ZodNumber;
320
+ solutionWinningPercentage: z.ZodNumber;
321
+ captchaBlockRecency: z.ZodNumber;
322
+ }, "strip", z.ZodTypeAny, {
265
323
  requiredNumberOfSolutions: number;
266
324
  solutionWinningPercentage: number;
267
325
  captchaBlockRecency: number;
@@ -270,15 +328,15 @@ export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject
270
328
  solutionWinningPercentage: number;
271
329
  captchaBlockRecency: number;
272
330
  }>;
273
- export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
274
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
275
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
276
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
277
- account: import("zod").ZodObject<{
278
- address: import("zod").ZodOptional<import("zod").ZodString>;
279
- secret: import("zod").ZodOptional<import("zod").ZodString>;
280
- password: import("zod").ZodOptional<import("zod").ZodString>;
281
- }, "strip", import("zod").ZodTypeAny, {
331
+ export declare const ProsopoClientConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
332
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
333
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
334
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
335
+ account: z.ZodObject<{
336
+ address: z.ZodOptional<z.ZodString>;
337
+ secret: z.ZodOptional<z.ZodString>;
338
+ password: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
282
340
  address?: string | undefined;
283
341
  secret?: string | undefined;
284
342
  password?: string | undefined;
@@ -288,22 +346,22 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
288
346
  password?: string | undefined;
289
347
  }>;
290
348
  }, {
291
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
292
- endpoint: import("zod").ZodString;
293
- contract: import("zod").ZodObject<{
294
- address: import("zod").ZodString;
295
- name: import("zod").ZodString;
296
- }, "strip", import("zod").ZodTypeAny, {
349
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
350
+ endpoint: z.ZodArray<z.ZodString, "many">;
351
+ contract: z.ZodObject<{
352
+ address: z.ZodString;
353
+ name: z.ZodString;
354
+ }, "strip", z.ZodTypeAny, {
297
355
  address: string;
298
356
  name: string;
299
357
  }, {
300
358
  address: string;
301
359
  name: string;
302
360
  }>;
303
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
304
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
305
- }, "strip", import("zod").ZodTypeAny, {
306
- endpoint: string;
361
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
362
+ ss58Format: z.ZodDefault<z.ZodNumber>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ endpoint: string[];
307
365
  contract: {
308
366
  address: string;
309
367
  name: string;
@@ -311,15 +369,15 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
311
369
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
312
370
  ss58Format: number;
313
371
  }, {
314
- endpoint: string;
372
+ endpoint: string[];
315
373
  contract: {
316
374
  address: string;
317
375
  name: string;
318
376
  };
319
377
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
320
378
  ss58Format?: number | undefined;
321
- }>>, Record<"development" | "rococo" | "shiden", {
322
- endpoint: string;
379
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
380
+ endpoint: string[];
323
381
  contract: {
324
382
  address: string;
325
383
  name: string;
@@ -327,7 +385,7 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
327
385
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
328
386
  ss58Format: number;
329
387
  }>, Record<string, {
330
- endpoint: string;
388
+ endpoint: string[];
331
389
  contract: {
332
390
  address: string;
333
391
  name: string;
@@ -335,12 +393,12 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
335
393
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
336
394
  ss58Format?: number | undefined;
337
395
  }>>>;
338
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
339
- type: import("zod").ZodString;
340
- endpoint: import("zod").ZodString;
341
- dbname: import("zod").ZodString;
342
- authSource: import("zod").ZodString;
343
- }, "strip", import("zod").ZodTypeAny, {
396
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
397
+ type: z.ZodString;
398
+ endpoint: z.ZodString;
399
+ dbname: z.ZodString;
400
+ authSource: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
344
402
  type: string;
345
403
  endpoint: string;
346
404
  dbname: string;
@@ -351,24 +409,24 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
351
409
  dbname: string;
352
410
  authSource: string;
353
411
  }>>>;
354
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
412
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
355
413
  }>, {
356
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
357
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
358
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
359
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
360
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
361
- }>, "strip", import("zod").ZodTypeAny, {
414
+ userAccountAddress: z.ZodOptional<z.ZodString>;
415
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
416
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
417
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
418
+ serverUrl: z.ZodOptional<z.ZodString>;
419
+ }>, "strip", z.ZodTypeAny, {
362
420
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
363
421
  defaultEnvironment: "development" | "staging" | "production";
364
- defaultNetwork: "development" | "rococo" | "shiden";
422
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
365
423
  account: {
366
424
  address?: string | undefined;
367
425
  secret?: string | undefined;
368
426
  password?: string | undefined;
369
427
  };
370
- networks: Record<"development" | "rococo" | "shiden", {
371
- endpoint: string;
428
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
429
+ endpoint: string[];
372
430
  contract: {
373
431
  address: string;
374
432
  name: string;
@@ -396,9 +454,9 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
396
454
  };
397
455
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
398
456
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
399
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
457
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
400
458
  networks?: Record<string, {
401
- endpoint: string;
459
+ endpoint: string[];
402
460
  contract: {
403
461
  address: string;
404
462
  name: string;
@@ -419,13 +477,13 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
419
477
  dappName?: string | undefined;
420
478
  serverUrl?: string | undefined;
421
479
  }>;
422
- export declare const CaptchaTimeoutSchema: import("zod").ZodDefault<import("zod").ZodObject<{
423
- image: import("zod").ZodDefault<import("zod").ZodObject<{
424
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
425
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
426
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
427
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
428
- }, "strip", import("zod").ZodTypeAny, {
480
+ export declare const CaptchaTimeoutSchema: z.ZodDefault<z.ZodObject<{
481
+ image: z.ZodDefault<z.ZodObject<{
482
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
483
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
484
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
485
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
486
+ }, "strip", z.ZodTypeAny, {
429
487
  challengeTimeout: number;
430
488
  solutionTimeout: number;
431
489
  verifiedTimeout: number;
@@ -436,11 +494,11 @@ export declare const CaptchaTimeoutSchema: import("zod").ZodDefault<import("zod"
436
494
  verifiedTimeout?: number | undefined;
437
495
  cachedTimeout?: number | undefined;
438
496
  }>>;
439
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
440
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
441
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
442
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
443
- }, "strip", import("zod").ZodTypeAny, {
497
+ pow: z.ZodDefault<z.ZodObject<{
498
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
499
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
500
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
501
+ }, "strip", z.ZodTypeAny, {
444
502
  solutionTimeout: number;
445
503
  verifiedTimeout: number;
446
504
  cachedTimeout: number;
@@ -449,14 +507,14 @@ export declare const CaptchaTimeoutSchema: import("zod").ZodDefault<import("zod"
449
507
  verifiedTimeout?: number | undefined;
450
508
  cachedTimeout?: number | undefined;
451
509
  }>>;
452
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
453
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
454
- }, "strip", import("zod").ZodTypeAny, {
510
+ contract: z.ZodDefault<z.ZodObject<{
511
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
512
+ }, "strip", z.ZodTypeAny, {
455
513
  maxVerifiedTime: number;
456
514
  }, {
457
515
  maxVerifiedTime?: number | undefined;
458
516
  }>>;
459
- }, "strip", import("zod").ZodTypeAny, {
517
+ }, "strip", z.ZodTypeAny, {
460
518
  image: {
461
519
  challengeTimeout: number;
462
520
  solutionTimeout: number;
@@ -489,15 +547,15 @@ export declare const CaptchaTimeoutSchema: import("zod").ZodDefault<import("zod"
489
547
  }>>;
490
548
  export type CaptchaTimeoutInput = input<typeof CaptchaTimeoutSchema>;
491
549
  export type CaptchaTimeoutOutput = output<typeof CaptchaTimeoutSchema>;
492
- export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
493
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
494
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
495
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
496
- account: import("zod").ZodObject<{
497
- address: import("zod").ZodOptional<import("zod").ZodString>;
498
- secret: import("zod").ZodOptional<import("zod").ZodString>;
499
- password: import("zod").ZodOptional<import("zod").ZodString>;
500
- }, "strip", import("zod").ZodTypeAny, {
550
+ export declare const ProsopoServerConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
551
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
552
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
553
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
554
+ account: z.ZodObject<{
555
+ address: z.ZodOptional<z.ZodString>;
556
+ secret: z.ZodOptional<z.ZodString>;
557
+ password: z.ZodOptional<z.ZodString>;
558
+ }, "strip", z.ZodTypeAny, {
501
559
  address?: string | undefined;
502
560
  secret?: string | undefined;
503
561
  password?: string | undefined;
@@ -507,22 +565,22 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
507
565
  password?: string | undefined;
508
566
  }>;
509
567
  }, {
510
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
511
- endpoint: import("zod").ZodString;
512
- contract: import("zod").ZodObject<{
513
- address: import("zod").ZodString;
514
- name: import("zod").ZodString;
515
- }, "strip", import("zod").ZodTypeAny, {
568
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
569
+ endpoint: z.ZodArray<z.ZodString, "many">;
570
+ contract: z.ZodObject<{
571
+ address: z.ZodString;
572
+ name: z.ZodString;
573
+ }, "strip", z.ZodTypeAny, {
516
574
  address: string;
517
575
  name: string;
518
576
  }, {
519
577
  address: string;
520
578
  name: string;
521
579
  }>;
522
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
523
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
524
- }, "strip", import("zod").ZodTypeAny, {
525
- endpoint: string;
580
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
581
+ ss58Format: z.ZodDefault<z.ZodNumber>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ endpoint: string[];
526
584
  contract: {
527
585
  address: string;
528
586
  name: string;
@@ -530,15 +588,15 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
530
588
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
531
589
  ss58Format: number;
532
590
  }, {
533
- endpoint: string;
591
+ endpoint: string[];
534
592
  contract: {
535
593
  address: string;
536
594
  name: string;
537
595
  };
538
596
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
539
597
  ss58Format?: number | undefined;
540
- }>>, Record<"development" | "rococo" | "shiden", {
541
- endpoint: string;
598
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
599
+ endpoint: string[];
542
600
  contract: {
543
601
  address: string;
544
602
  name: string;
@@ -546,7 +604,7 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
546
604
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
547
605
  ss58Format: number;
548
606
  }>, Record<string, {
549
- endpoint: string;
607
+ endpoint: string[];
550
608
  contract: {
551
609
  address: string;
552
610
  name: string;
@@ -554,12 +612,12 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
554
612
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
555
613
  ss58Format?: number | undefined;
556
614
  }>>>;
557
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
558
- type: import("zod").ZodString;
559
- endpoint: import("zod").ZodString;
560
- dbname: import("zod").ZodString;
561
- authSource: import("zod").ZodString;
562
- }, "strip", import("zod").ZodTypeAny, {
615
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
616
+ type: z.ZodString;
617
+ endpoint: z.ZodString;
618
+ dbname: z.ZodString;
619
+ authSource: z.ZodString;
620
+ }, "strip", z.ZodTypeAny, {
563
621
  type: string;
564
622
  endpoint: string;
565
623
  dbname: string;
@@ -570,22 +628,22 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
570
628
  dbname: string;
571
629
  authSource: string;
572
630
  }>>>;
573
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
631
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
574
632
  }>, {
575
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
576
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
577
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
578
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
579
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
633
+ userAccountAddress: z.ZodOptional<z.ZodString>;
634
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
635
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
636
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
637
+ serverUrl: z.ZodOptional<z.ZodString>;
580
638
  }>, {
581
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
582
- timeouts: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodObject<{
583
- image: import("zod").ZodDefault<import("zod").ZodObject<{
584
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
585
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
586
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
587
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
588
- }, "strip", import("zod").ZodTypeAny, {
639
+ serverUrl: z.ZodOptional<z.ZodString>;
640
+ timeouts: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodObject<{
641
+ image: z.ZodDefault<z.ZodObject<{
642
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
643
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
644
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
645
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
646
+ }, "strip", z.ZodTypeAny, {
589
647
  challengeTimeout: number;
590
648
  solutionTimeout: number;
591
649
  verifiedTimeout: number;
@@ -596,11 +654,11 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
596
654
  verifiedTimeout?: number | undefined;
597
655
  cachedTimeout?: number | undefined;
598
656
  }>>;
599
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
600
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
601
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
602
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
603
- }, "strip", import("zod").ZodTypeAny, {
657
+ pow: z.ZodDefault<z.ZodObject<{
658
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
659
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
660
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
661
+ }, "strip", z.ZodTypeAny, {
604
662
  solutionTimeout: number;
605
663
  verifiedTimeout: number;
606
664
  cachedTimeout: number;
@@ -609,14 +667,14 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
609
667
  verifiedTimeout?: number | undefined;
610
668
  cachedTimeout?: number | undefined;
611
669
  }>>;
612
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
613
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
614
- }, "strip", import("zod").ZodTypeAny, {
670
+ contract: z.ZodDefault<z.ZodObject<{
671
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
672
+ }, "strip", z.ZodTypeAny, {
615
673
  maxVerifiedTime: number;
616
674
  }, {
617
675
  maxVerifiedTime?: number | undefined;
618
676
  }>>;
619
- }, "strip", import("zod").ZodTypeAny, {
677
+ }, "strip", z.ZodTypeAny, {
620
678
  image: {
621
679
  challengeTimeout: number;
622
680
  solutionTimeout: number;
@@ -647,17 +705,17 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
647
705
  cachedTimeout?: number | undefined;
648
706
  } | undefined;
649
707
  }>>>>;
650
- }>, "strip", import("zod").ZodTypeAny, {
708
+ }>, "strip", z.ZodTypeAny, {
651
709
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
652
710
  defaultEnvironment: "development" | "staging" | "production";
653
- defaultNetwork: "development" | "rococo" | "shiden";
711
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
654
712
  account: {
655
713
  address?: string | undefined;
656
714
  secret?: string | undefined;
657
715
  password?: string | undefined;
658
716
  };
659
- networks: Record<"development" | "rococo" | "shiden", {
660
- endpoint: string;
717
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
718
+ endpoint: string[];
661
719
  contract: {
662
720
  address: string;
663
721
  name: string;
@@ -701,9 +759,9 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
701
759
  };
702
760
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
703
761
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
704
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
762
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
705
763
  networks?: Record<string, {
706
- endpoint: string;
764
+ endpoint: string[];
707
765
  contract: {
708
766
  address: string;
709
767
  name: string;
@@ -742,24 +800,24 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
742
800
  }>;
743
801
  export type ProsopoServerConfigInput = input<typeof ProsopoServerConfigSchema>;
744
802
  export type ProsopoServerConfigOutput = output<typeof ProsopoServerConfigSchema>;
745
- export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
746
- area: import("zod").ZodObject<{
747
- width: import("zod").ZodNumber;
748
- height: import("zod").ZodNumber;
749
- }, "strip", import("zod").ZodTypeAny, {
803
+ export declare const AccountCreatorConfigSchema: z.ZodObject<{
804
+ area: z.ZodObject<{
805
+ width: z.ZodNumber;
806
+ height: z.ZodNumber;
807
+ }, "strip", z.ZodTypeAny, {
750
808
  width: number;
751
809
  height: number;
752
810
  }, {
753
811
  width: number;
754
812
  height: number;
755
813
  }>;
756
- offsetParameter: import("zod").ZodNumber;
757
- multiplier: import("zod").ZodNumber;
758
- fontSizeFactor: import("zod").ZodNumber;
759
- maxShadowBlur: import("zod").ZodNumber;
760
- numberOfRounds: import("zod").ZodNumber;
761
- seed: import("zod").ZodNumber;
762
- }, "strip", import("zod").ZodTypeAny, {
814
+ offsetParameter: z.ZodNumber;
815
+ multiplier: z.ZodNumber;
816
+ fontSizeFactor: z.ZodNumber;
817
+ maxShadowBlur: z.ZodNumber;
818
+ numberOfRounds: z.ZodNumber;
819
+ seed: z.ZodNumber;
820
+ }, "strip", z.ZodTypeAny, {
763
821
  area: {
764
822
  width: number;
765
823
  height: number;
@@ -784,15 +842,15 @@ export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
784
842
  }>;
785
843
  export type ProsopoClientConfigInput = input<typeof ProsopoClientConfigSchema>;
786
844
  export type ProsopoClientConfigOutput = output<typeof ProsopoClientConfigSchema>;
787
- export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
788
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
789
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
790
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
791
- account: import("zod").ZodObject<{
792
- address: import("zod").ZodOptional<import("zod").ZodString>;
793
- secret: import("zod").ZodOptional<import("zod").ZodString>;
794
- password: import("zod").ZodOptional<import("zod").ZodString>;
795
- }, "strip", import("zod").ZodTypeAny, {
845
+ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
846
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
847
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
848
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
849
+ account: z.ZodObject<{
850
+ address: z.ZodOptional<z.ZodString>;
851
+ secret: z.ZodOptional<z.ZodString>;
852
+ password: z.ZodOptional<z.ZodString>;
853
+ }, "strip", z.ZodTypeAny, {
796
854
  address?: string | undefined;
797
855
  secret?: string | undefined;
798
856
  password?: string | undefined;
@@ -802,22 +860,22 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
802
860
  password?: string | undefined;
803
861
  }>;
804
862
  }, {
805
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
806
- endpoint: import("zod").ZodString;
807
- contract: import("zod").ZodObject<{
808
- address: import("zod").ZodString;
809
- name: import("zod").ZodString;
810
- }, "strip", import("zod").ZodTypeAny, {
863
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
864
+ endpoint: z.ZodArray<z.ZodString, "many">;
865
+ contract: z.ZodObject<{
866
+ address: z.ZodString;
867
+ name: z.ZodString;
868
+ }, "strip", z.ZodTypeAny, {
811
869
  address: string;
812
870
  name: string;
813
871
  }, {
814
872
  address: string;
815
873
  name: string;
816
874
  }>;
817
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
818
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
819
- }, "strip", import("zod").ZodTypeAny, {
820
- endpoint: string;
875
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
876
+ ss58Format: z.ZodDefault<z.ZodNumber>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ endpoint: string[];
821
879
  contract: {
822
880
  address: string;
823
881
  name: string;
@@ -825,15 +883,15 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
825
883
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
826
884
  ss58Format: number;
827
885
  }, {
828
- endpoint: string;
886
+ endpoint: string[];
829
887
  contract: {
830
888
  address: string;
831
889
  name: string;
832
890
  };
833
891
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
834
892
  ss58Format?: number | undefined;
835
- }>>, Record<"development" | "rococo" | "shiden", {
836
- endpoint: string;
893
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
894
+ endpoint: string[];
837
895
  contract: {
838
896
  address: string;
839
897
  name: string;
@@ -841,7 +899,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
841
899
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
842
900
  ss58Format: number;
843
901
  }>, Record<string, {
844
- endpoint: string;
902
+ endpoint: string[];
845
903
  contract: {
846
904
  address: string;
847
905
  name: string;
@@ -849,12 +907,12 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
849
907
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
850
908
  ss58Format?: number | undefined;
851
909
  }>>>;
852
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
853
- type: import("zod").ZodString;
854
- endpoint: import("zod").ZodString;
855
- dbname: import("zod").ZodString;
856
- authSource: import("zod").ZodString;
857
- }, "strip", import("zod").ZodTypeAny, {
910
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
911
+ type: z.ZodString;
912
+ endpoint: z.ZodString;
913
+ dbname: z.ZodString;
914
+ authSource: z.ZodString;
915
+ }, "strip", z.ZodTypeAny, {
858
916
  type: string;
859
917
  endpoint: string;
860
918
  dbname: string;
@@ -865,24 +923,24 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
865
923
  dbname: string;
866
924
  authSource: string;
867
925
  }>>>;
868
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
926
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
869
927
  }>, {
870
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
871
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
872
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
873
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
874
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
875
- }>, "strip", import("zod").ZodTypeAny, {
928
+ userAccountAddress: z.ZodOptional<z.ZodString>;
929
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
930
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
931
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
932
+ serverUrl: z.ZodOptional<z.ZodString>;
933
+ }>, "strip", z.ZodTypeAny, {
876
934
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
877
935
  defaultEnvironment: "development" | "staging" | "production";
878
- defaultNetwork: "development" | "rococo" | "shiden";
936
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
879
937
  account: {
880
938
  address?: string | undefined;
881
939
  secret?: string | undefined;
882
940
  password?: string | undefined;
883
941
  };
884
- networks: Record<"development" | "rococo" | "shiden", {
885
- endpoint: string;
942
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
943
+ endpoint: string[];
886
944
  contract: {
887
945
  address: string;
888
946
  name: string;
@@ -910,9 +968,9 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
910
968
  };
911
969
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
912
970
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
913
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
971
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
914
972
  networks?: Record<string, {
915
- endpoint: string;
973
+ endpoint: string[];
916
974
  contract: {
917
975
  address: string;
918
976
  name: string;
@@ -932,25 +990,25 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
932
990
  solutionThreshold?: number | undefined;
933
991
  dappName?: string | undefined;
934
992
  serverUrl?: string | undefined;
935
- }>, import("zod").ZodObject<{
936
- accountCreator: import("zod").ZodOptional<import("zod").ZodObject<{
937
- area: import("zod").ZodObject<{
938
- width: import("zod").ZodNumber;
939
- height: import("zod").ZodNumber;
940
- }, "strip", import("zod").ZodTypeAny, {
993
+ }>, z.ZodObject<{
994
+ accountCreator: z.ZodOptional<z.ZodObject<{
995
+ area: z.ZodObject<{
996
+ width: z.ZodNumber;
997
+ height: z.ZodNumber;
998
+ }, "strip", z.ZodTypeAny, {
941
999
  width: number;
942
1000
  height: number;
943
1001
  }, {
944
1002
  width: number;
945
1003
  height: number;
946
1004
  }>;
947
- offsetParameter: import("zod").ZodNumber;
948
- multiplier: import("zod").ZodNumber;
949
- fontSizeFactor: import("zod").ZodNumber;
950
- maxShadowBlur: import("zod").ZodNumber;
951
- numberOfRounds: import("zod").ZodNumber;
952
- seed: import("zod").ZodNumber;
953
- }, "strip", import("zod").ZodTypeAny, {
1005
+ offsetParameter: z.ZodNumber;
1006
+ multiplier: z.ZodNumber;
1007
+ fontSizeFactor: z.ZodNumber;
1008
+ maxShadowBlur: z.ZodNumber;
1009
+ numberOfRounds: z.ZodNumber;
1010
+ seed: z.ZodNumber;
1011
+ }, "strip", z.ZodTypeAny, {
954
1012
  area: {
955
1013
  width: number;
956
1014
  height: number;
@@ -973,14 +1031,14 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
973
1031
  numberOfRounds: number;
974
1032
  seed: number;
975
1033
  }>>;
976
- theme: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"light">, import("zod").ZodLiteral<"dark">]>>;
977
- captchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodObject<{
978
- image: import("zod").ZodDefault<import("zod").ZodObject<{
979
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
980
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
981
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
982
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
983
- }, "strip", import("zod").ZodTypeAny, {
1034
+ theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
1035
+ captchas: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodObject<{
1036
+ image: z.ZodDefault<z.ZodObject<{
1037
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1038
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1039
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1040
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1041
+ }, "strip", z.ZodTypeAny, {
984
1042
  challengeTimeout: number;
985
1043
  solutionTimeout: number;
986
1044
  verifiedTimeout: number;
@@ -991,11 +1049,11 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
991
1049
  verifiedTimeout?: number | undefined;
992
1050
  cachedTimeout?: number | undefined;
993
1051
  }>>;
994
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
995
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
996
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
997
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
998
- }, "strip", import("zod").ZodTypeAny, {
1052
+ pow: z.ZodDefault<z.ZodObject<{
1053
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1054
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1055
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1056
+ }, "strip", z.ZodTypeAny, {
999
1057
  solutionTimeout: number;
1000
1058
  verifiedTimeout: number;
1001
1059
  cachedTimeout: number;
@@ -1004,14 +1062,14 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
1004
1062
  verifiedTimeout?: number | undefined;
1005
1063
  cachedTimeout?: number | undefined;
1006
1064
  }>>;
1007
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
1008
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1009
- }, "strip", import("zod").ZodTypeAny, {
1065
+ contract: z.ZodDefault<z.ZodObject<{
1066
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1067
+ }, "strip", z.ZodTypeAny, {
1010
1068
  maxVerifiedTime: number;
1011
1069
  }, {
1012
1070
  maxVerifiedTime?: number | undefined;
1013
1071
  }>>;
1014
- }, "strip", import("zod").ZodTypeAny, {
1072
+ }, "strip", z.ZodTypeAny, {
1015
1073
  image: {
1016
1074
  challengeTimeout: number;
1017
1075
  solutionTimeout: number;
@@ -1042,7 +1100,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
1042
1100
  cachedTimeout?: number | undefined;
1043
1101
  } | undefined;
1044
1102
  }>>>>;
1045
- }, "strip", import("zod").ZodTypeAny, {
1103
+ }, "strip", z.ZodTypeAny, {
1046
1104
  captchas: {
1047
1105
  image: {
1048
1106
  challengeTimeout: number;
@@ -1105,15 +1163,15 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
1105
1163
  }>>;
1106
1164
  export type ProcaptchaClientConfigInput = input<typeof ProcaptchaConfigSchema>;
1107
1165
  export type ProcaptchaClientConfigOutput = output<typeof ProcaptchaConfigSchema>;
1108
- export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1109
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
1110
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
1111
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
1112
- account: import("zod").ZodObject<{
1113
- address: import("zod").ZodOptional<import("zod").ZodString>;
1114
- secret: import("zod").ZodOptional<import("zod").ZodString>;
1115
- password: import("zod").ZodOptional<import("zod").ZodString>;
1116
- }, "strip", import("zod").ZodTypeAny, {
1166
+ export declare const ProsopoConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1167
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
1168
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
1169
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
1170
+ account: z.ZodObject<{
1171
+ address: z.ZodOptional<z.ZodString>;
1172
+ secret: z.ZodOptional<z.ZodString>;
1173
+ password: z.ZodOptional<z.ZodString>;
1174
+ }, "strip", z.ZodTypeAny, {
1117
1175
  address?: string | undefined;
1118
1176
  secret?: string | undefined;
1119
1177
  password?: string | undefined;
@@ -1123,22 +1181,22 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1123
1181
  password?: string | undefined;
1124
1182
  }>;
1125
1183
  }, {
1126
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1127
- endpoint: import("zod").ZodString;
1128
- contract: import("zod").ZodObject<{
1129
- address: import("zod").ZodString;
1130
- name: import("zod").ZodString;
1131
- }, "strip", import("zod").ZodTypeAny, {
1184
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1185
+ endpoint: z.ZodArray<z.ZodString, "many">;
1186
+ contract: z.ZodObject<{
1187
+ address: z.ZodString;
1188
+ name: z.ZodString;
1189
+ }, "strip", z.ZodTypeAny, {
1132
1190
  address: string;
1133
1191
  name: string;
1134
1192
  }, {
1135
1193
  address: string;
1136
1194
  name: string;
1137
1195
  }>;
1138
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
1139
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
1140
- }, "strip", import("zod").ZodTypeAny, {
1141
- endpoint: string;
1196
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
1197
+ ss58Format: z.ZodDefault<z.ZodNumber>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ endpoint: string[];
1142
1200
  contract: {
1143
1201
  address: string;
1144
1202
  name: string;
@@ -1146,15 +1204,15 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1146
1204
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1147
1205
  ss58Format: number;
1148
1206
  }, {
1149
- endpoint: string;
1207
+ endpoint: string[];
1150
1208
  contract: {
1151
1209
  address: string;
1152
1210
  name: string;
1153
1211
  };
1154
1212
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1155
1213
  ss58Format?: number | undefined;
1156
- }>>, Record<"development" | "rococo" | "shiden", {
1157
- endpoint: string;
1214
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
1215
+ endpoint: string[];
1158
1216
  contract: {
1159
1217
  address: string;
1160
1218
  name: string;
@@ -1162,7 +1220,7 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1162
1220
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1163
1221
  ss58Format: number;
1164
1222
  }>, Record<string, {
1165
- endpoint: string;
1223
+ endpoint: string[];
1166
1224
  contract: {
1167
1225
  address: string;
1168
1226
  name: string;
@@ -1170,12 +1228,12 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1170
1228
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1171
1229
  ss58Format?: number | undefined;
1172
1230
  }>>>;
1173
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
1174
- type: import("zod").ZodString;
1175
- endpoint: import("zod").ZodString;
1176
- dbname: import("zod").ZodString;
1177
- authSource: import("zod").ZodString;
1178
- }, "strip", import("zod").ZodTypeAny, {
1231
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
1232
+ type: z.ZodString;
1233
+ endpoint: z.ZodString;
1234
+ dbname: z.ZodString;
1235
+ authSource: z.ZodString;
1236
+ }, "strip", z.ZodTypeAny, {
1179
1237
  type: string;
1180
1238
  endpoint: string;
1181
1239
  dbname: string;
@@ -1186,24 +1244,24 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1186
1244
  dbname: string;
1187
1245
  authSource: string;
1188
1246
  }>>>;
1189
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
1247
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
1190
1248
  }>, {
1191
- captchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1192
- solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1193
- count: import("zod").ZodNumber;
1194
- }, "strip", import("zod").ZodTypeAny, {
1249
+ captchas: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1250
+ solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1251
+ count: z.ZodNumber;
1252
+ }, "strip", z.ZodTypeAny, {
1195
1253
  count: number;
1196
1254
  }, {
1197
1255
  count: number;
1198
1256
  }>>>;
1199
- unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1200
- count: import("zod").ZodNumber;
1201
- }, "strip", import("zod").ZodTypeAny, {
1257
+ unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1258
+ count: z.ZodNumber;
1259
+ }, "strip", z.ZodTypeAny, {
1202
1260
  count: number;
1203
1261
  }, {
1204
1262
  count: number;
1205
1263
  }>>>;
1206
- }, "strip", import("zod").ZodTypeAny, {
1264
+ }, "strip", z.ZodTypeAny, {
1207
1265
  solved: {
1208
1266
  count: number;
1209
1267
  };
@@ -1218,11 +1276,11 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1218
1276
  count: number;
1219
1277
  } | undefined;
1220
1278
  }>>>;
1221
- captchaSolutions: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1222
- requiredNumberOfSolutions: import("zod").ZodNumber;
1223
- solutionWinningPercentage: import("zod").ZodNumber;
1224
- captchaBlockRecency: import("zod").ZodNumber;
1225
- }, "strip", import("zod").ZodTypeAny, {
1279
+ captchaSolutions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1280
+ requiredNumberOfSolutions: z.ZodNumber;
1281
+ solutionWinningPercentage: z.ZodNumber;
1282
+ captchaBlockRecency: z.ZodNumber;
1283
+ }, "strip", z.ZodTypeAny, {
1226
1284
  requiredNumberOfSolutions: number;
1227
1285
  solutionWinningPercentage: number;
1228
1286
  captchaBlockRecency: number;
@@ -1231,28 +1289,28 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1231
1289
  solutionWinningPercentage: number;
1232
1290
  captchaBlockRecency: number;
1233
1291
  }>>>;
1234
- batchCommit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1235
- interval: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1236
- maxBatchExtrinsicPercentage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1237
- }, "strip", import("zod").ZodTypeAny, {
1292
+ batchCommit: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1293
+ interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1294
+ maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1295
+ }, "strip", z.ZodTypeAny, {
1238
1296
  interval: number;
1239
1297
  maxBatchExtrinsicPercentage: number;
1240
1298
  }, {
1241
1299
  interval?: number | undefined;
1242
1300
  maxBatchExtrinsicPercentage?: number | undefined;
1243
1301
  }>>>;
1244
- server: import("zod").ZodObject<{
1245
- baseURL: import("zod").ZodString;
1246
- port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1247
- }, "strip", import("zod").ZodTypeAny, {
1302
+ server: z.ZodObject<{
1303
+ baseURL: z.ZodString;
1304
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1305
+ }, "strip", z.ZodTypeAny, {
1248
1306
  baseURL: string;
1249
1307
  port: number;
1250
1308
  }, {
1251
1309
  baseURL: string;
1252
1310
  port?: number | undefined;
1253
1311
  }>;
1254
- mongoEventsUri: import("zod").ZodOptional<import("zod").ZodString>;
1255
- }>, "strip", import("zod").ZodTypeAny, {
1312
+ mongoEventsUri: z.ZodOptional<z.ZodString>;
1313
+ }>, "strip", z.ZodTypeAny, {
1256
1314
  captchas: {
1257
1315
  solved: {
1258
1316
  count: number;
@@ -1263,14 +1321,14 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1263
1321
  };
1264
1322
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
1265
1323
  defaultEnvironment: "development" | "staging" | "production";
1266
- defaultNetwork: "development" | "rococo" | "shiden";
1324
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
1267
1325
  account: {
1268
1326
  address?: string | undefined;
1269
1327
  secret?: string | undefined;
1270
1328
  password?: string | undefined;
1271
1329
  };
1272
- networks: Record<"development" | "rococo" | "shiden", {
1273
- endpoint: string;
1330
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
1331
+ endpoint: string[];
1274
1332
  contract: {
1275
1333
  address: string;
1276
1334
  name: string;
@@ -1319,9 +1377,9 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1319
1377
  } | undefined;
1320
1378
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
1321
1379
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
1322
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
1380
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
1323
1381
  networks?: Record<string, {
1324
- endpoint: string;
1382
+ endpoint: string[];
1325
1383
  contract: {
1326
1384
  address: string;
1327
1385
  name: string;