1 |
|
2 | import { JSONRPCErrorResponse, UserAccountID } from '@neo-one/client-common';
|
3 | import BigNumber from 'bignumber.js';
|
4 | export declare const UnknownNetworkError: {
|
5 | new (name: string): {
|
6 | readonly name: string;
|
7 | readonly code: string;
|
8 | message: string;
|
9 | stack?: string | undefined;
|
10 | };
|
11 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
12 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
13 | stackTraceLimit: number;
|
14 | };
|
15 | export declare const UnknownAccountError: {
|
16 | new (address: string): {
|
17 | readonly name: string;
|
18 | readonly code: string;
|
19 | message: string;
|
20 | stack?: string | undefined;
|
21 | };
|
22 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
23 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
24 | stackTraceLimit: number;
|
25 | };
|
26 | export declare const InvalidArgumentError: {
|
27 | new (typeName: string, argumentName: string, value: any, extra?: string | undefined): {
|
28 | readonly name: string;
|
29 | readonly code: string;
|
30 | message: string;
|
31 | stack?: string | undefined;
|
32 | };
|
33 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
34 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
35 | stackTraceLimit: number;
|
36 | };
|
37 | export declare const InvalidContractArgumentCountError: {
|
38 | new (expectedLength: number, foundLength: number): {
|
39 | readonly name: string;
|
40 | readonly code: string;
|
41 | message: string;
|
42 | stack?: string | undefined;
|
43 | };
|
44 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
45 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
46 | stackTraceLimit: number;
|
47 | };
|
48 | export declare const InvocationCallError: {
|
49 | new (message: string): {
|
50 | readonly name: string;
|
51 | readonly code: string;
|
52 | message: string;
|
53 | stack?: string | undefined;
|
54 | };
|
55 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
56 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
57 | stackTraceLimit: number;
|
58 | };
|
59 | export declare const InvalidEventError: {
|
60 | new (message: string): {
|
61 | readonly name: string;
|
62 | readonly code: string;
|
63 | message: string;
|
64 | stack?: string | undefined;
|
65 | };
|
66 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
67 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
68 | stackTraceLimit: number;
|
69 | };
|
70 | export declare const NoAccountError: {
|
71 | new (): {
|
72 | readonly name: string;
|
73 | readonly code: string;
|
74 | message: string;
|
75 | stack?: string | undefined;
|
76 | };
|
77 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
78 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
79 | stackTraceLimit: number;
|
80 | };
|
81 | export declare const CannotSendToContractError: {
|
82 | new (address: string): {
|
83 | readonly name: string;
|
84 | readonly code: string;
|
85 | message: string;
|
86 | stack?: string | undefined;
|
87 | };
|
88 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
89 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
90 | stackTraceLimit: number;
|
91 | };
|
92 | export declare const CannotSendFromContractError: {
|
93 | new (address: string): {
|
94 | readonly name: string;
|
95 | readonly code: string;
|
96 | message: string;
|
97 | stack?: string | undefined;
|
98 | };
|
99 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
100 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
101 | stackTraceLimit: number;
|
102 | };
|
103 | export declare const NoContractDeployedError: {
|
104 | new (networkType: string): {
|
105 | readonly name: string;
|
106 | readonly code: string;
|
107 | message: string;
|
108 | stack?: string | undefined;
|
109 | };
|
110 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
111 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
112 | stackTraceLimit: number;
|
113 | };
|
114 | export declare const JSONRPCError: {
|
115 | new (responseError: JSONRPCErrorResponse): {
|
116 | readonly name: string;
|
117 | readonly code: string;
|
118 | message: string;
|
119 | stack?: string | undefined;
|
120 | };
|
121 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
122 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
123 | stackTraceLimit: number;
|
124 | };
|
125 | export declare const InvalidRPCResponseError: {
|
126 | new (): {
|
127 | readonly name: string;
|
128 | readonly code: string;
|
129 | message: string;
|
130 | stack?: string | undefined;
|
131 | };
|
132 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
133 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
134 | stackTraceLimit: number;
|
135 | };
|
136 | export declare const HTTPError: {
|
137 | new (status: number, text?: string | undefined): {
|
138 | readonly name: string;
|
139 | readonly code: string;
|
140 | message: string;
|
141 | stack?: string | undefined;
|
142 | };
|
143 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
144 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
145 | stackTraceLimit: number;
|
146 | };
|
147 | export declare const UnknownBlockError: {
|
148 | new (): {
|
149 | readonly name: string;
|
150 | readonly code: string;
|
151 | message: string;
|
152 | stack?: string | undefined;
|
153 | };
|
154 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
155 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
156 | stackTraceLimit: number;
|
157 | };
|
158 | export declare const NothingToSendError: {
|
159 | new (): {
|
160 | readonly name: string;
|
161 | readonly code: string;
|
162 | message: string;
|
163 | stack?: string | undefined;
|
164 | };
|
165 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
166 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
167 | stackTraceLimit: number;
|
168 | };
|
169 | export declare const NothingToRefundError: {
|
170 | new (): {
|
171 | readonly name: string;
|
172 | readonly code: string;
|
173 | message: string;
|
174 | stack?: string | undefined;
|
175 | };
|
176 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
177 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
178 | stackTraceLimit: number;
|
179 | };
|
180 | export declare const NothingToClaimError: {
|
181 | new (id: UserAccountID): {
|
182 | readonly name: string;
|
183 | readonly code: string;
|
184 | message: string;
|
185 | stack?: string | undefined;
|
186 | };
|
187 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
188 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
189 | stackTraceLimit: number;
|
190 | };
|
191 | export declare const InvalidTransactionError: {
|
192 | new (message: string): {
|
193 | readonly name: string;
|
194 | readonly code: string;
|
195 | message: string;
|
196 | stack?: string | undefined;
|
197 | };
|
198 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
199 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
200 | stackTraceLimit: number;
|
201 | };
|
202 | export declare const InvokeError: {
|
203 | new (message: string): {
|
204 | readonly name: string;
|
205 | readonly code: string;
|
206 | message: string;
|
207 | stack?: string | undefined;
|
208 | };
|
209 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
210 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
211 | stackTraceLimit: number;
|
212 | };
|
213 | export declare const InsufficientFundsError: {
|
214 | new (total: BigNumber, expected: BigNumber): {
|
215 | readonly name: string;
|
216 | readonly code: string;
|
217 | message: string;
|
218 | stack?: string | undefined;
|
219 | };
|
220 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
221 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
222 | stackTraceLimit: number;
|
223 | };
|
224 | export declare const InsufficientSystemFeeError: {
|
225 | new (total: BigNumber, expected: BigNumber): {
|
226 | readonly name: string;
|
227 | readonly code: string;
|
228 | message: string;
|
229 | stack?: string | undefined;
|
230 | };
|
231 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
232 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
233 | stackTraceLimit: number;
|
234 | };
|
235 | export declare const FundsInUseError: {
|
236 | new (total: BigNumber, expected: BigNumber, numInputs: number): {
|
237 | readonly name: string;
|
238 | readonly code: string;
|
239 | message: string;
|
240 | stack?: string | undefined;
|
241 | };
|
242 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
243 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
244 | stackTraceLimit: number;
|
245 | };
|
246 | export declare const MissingTransactionDataError: {
|
247 | new (hash: string): {
|
248 | readonly name: string;
|
249 | readonly code: string;
|
250 | message: string;
|
251 | stack?: string | undefined;
|
252 | };
|
253 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
254 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
255 | stackTraceLimit: number;
|
256 | };
|
257 | export declare const RelayTransactionError: {
|
258 | new (message: string): {
|
259 | readonly name: string;
|
260 | readonly code: string;
|
261 | message: string;
|
262 | stack?: string | undefined;
|
263 | };
|
264 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
265 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
266 | stackTraceLimit: number;
|
267 | };
|
268 | export declare const LockedAccountError: {
|
269 | new (address: string): {
|
270 | readonly name: string;
|
271 | readonly code: string;
|
272 | message: string;
|
273 | stack?: string | undefined;
|
274 | };
|
275 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
276 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
277 | stackTraceLimit: number;
|
278 | };
|
279 | export declare const PasswordRequiredError: {
|
280 | new (): {
|
281 | readonly name: string;
|
282 | readonly code: string;
|
283 | message: string;
|
284 | stack?: string | undefined;
|
285 | };
|
286 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
287 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
288 | stackTraceLimit: number;
|
289 | };
|
290 | export declare const NothingToTransferError: {
|
291 | new (): {
|
292 | readonly name: string;
|
293 | readonly code: string;
|
294 | message: string;
|
295 | stack?: string | undefined;
|
296 | };
|
297 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
298 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
299 | stackTraceLimit: number;
|
300 | };
|
301 | export declare const LedgerNotSupportedError: {
|
302 | new (): {
|
303 | readonly name: string;
|
304 | readonly code: string;
|
305 | message: string;
|
306 | stack?: string | undefined;
|
307 | };
|
308 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
309 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
310 | stackTraceLimit: number;
|
311 | };
|
312 | export declare const LedgerNotDetectedError: {
|
313 | new (): {
|
314 | readonly name: string;
|
315 | readonly code: string;
|
316 | message: string;
|
317 | stack?: string | undefined;
|
318 | };
|
319 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
320 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
321 | stackTraceLimit: number;
|
322 | };
|
323 | export declare const LedgerStatusCodeError: {
|
324 | new (code: string): {
|
325 | readonly name: string;
|
326 | readonly code: string;
|
327 | message: string;
|
328 | stack?: string | undefined;
|
329 | };
|
330 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
331 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
332 | stackTraceLimit: number;
|
333 | };
|
334 | export declare const LedgerMessageSizeError: {
|
335 | new (): {
|
336 | readonly name: string;
|
337 | readonly code: string;
|
338 | message: string;
|
339 | stack?: string | undefined;
|
340 | };
|
341 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
342 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
343 | stackTraceLimit: number;
|
344 | };
|
345 | export declare const LedgerNEOAppError: {
|
346 | new (): {
|
347 | readonly name: string;
|
348 | readonly code: string;
|
349 | message: string;
|
350 | stack?: string | undefined;
|
351 | };
|
352 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
353 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
354 | stackTraceLimit: number;
|
355 | };
|
356 | export declare const LedgerTransactionDenied: {
|
357 | new (): {
|
358 | readonly name: string;
|
359 | readonly code: string;
|
360 | message: string;
|
361 | stack?: string | undefined;
|
362 | };
|
363 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
364 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
365 | stackTraceLimit: number;
|
366 | };
|
367 | export declare const LedgerParseError: {
|
368 | new (): {
|
369 | readonly name: string;
|
370 | readonly code: string;
|
371 | message: string;
|
372 | stack?: string | undefined;
|
373 | };
|
374 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
375 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
376 | stackTraceLimit: number;
|
377 | };
|
378 | export declare const DeleteUserAccountUnsupportedError: {
|
379 | new (id: UserAccountID): {
|
380 | readonly name: string;
|
381 | readonly code: string;
|
382 | message: string;
|
383 | stack?: string | undefined;
|
384 | };
|
385 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
386 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
387 | stackTraceLimit: number;
|
388 | };
|
389 | export declare const UpdateUserAccountUnsupportedError: {
|
390 | new (id: UserAccountID): {
|
391 | readonly name: string;
|
392 | readonly code: string;
|
393 | message: string;
|
394 | stack?: string | undefined;
|
395 | };
|
396 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
397 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
398 | stackTraceLimit: number;
|
399 | };
|
400 | export declare const TransferArgumentExpectedError: {
|
401 | new (): {
|
402 | readonly name: string;
|
403 | readonly code: string;
|
404 | message: string;
|
405 | stack?: string | undefined;
|
406 | };
|
407 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
408 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
409 | stackTraceLimit: number;
|
410 | };
|
411 | export declare const HashArgumentExpectedError: {
|
412 | new (): {
|
413 | readonly name: string;
|
414 | readonly code: string;
|
415 | message: string;
|
416 | stack?: string | undefined;
|
417 | };
|
418 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
419 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
420 | stackTraceLimit: number;
|
421 | };
|
422 | export declare const NEOONEOneDataProviderSetRPCURLError: {
|
423 | new (): {
|
424 | readonly name: string;
|
425 | readonly code: string;
|
426 | message: string;
|
427 | stack?: string | undefined;
|
428 | };
|
429 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
430 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
431 | stackTraceLimit: number;
|
432 | };
|
433 | export declare const InvalidHDAccountPermissionError: {
|
434 | new (account: readonly [number, number, number]): {
|
435 | readonly name: string;
|
436 | readonly code: string;
|
437 | message: string;
|
438 | stack?: string | undefined;
|
439 | };
|
440 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
441 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
442 | stackTraceLimit: number;
|
443 | };
|
444 | export declare const UndiscoverableWalletError: {
|
445 | new (index: number): {
|
446 | readonly name: string;
|
447 | readonly code: string;
|
448 | message: string;
|
449 | stack?: string | undefined;
|
450 | };
|
451 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
452 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
453 | stackTraceLimit: number;
|
454 | };
|
455 | export declare const UndiscoverableChainError: {
|
456 | new (path: readonly [number, number]): {
|
457 | readonly name: string;
|
458 | readonly code: string;
|
459 | message: string;
|
460 | stack?: string | undefined;
|
461 | };
|
462 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
463 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
464 | stackTraceLimit: number;
|
465 | };
|
466 | export declare const HDMasterDuplicateError: {
|
467 | new (): {
|
468 | readonly name: string;
|
469 | readonly code: string;
|
470 | message: string;
|
471 | stack?: string | undefined;
|
472 | };
|
473 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
474 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
475 | stackTraceLimit: number;
|
476 | };
|
477 | export declare const InvalidHDStoredPathError: {
|
478 | new (path: string): {
|
479 | readonly name: string;
|
480 | readonly code: string;
|
481 | message: string;
|
482 | stack?: string | undefined;
|
483 | };
|
484 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
485 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
486 | stackTraceLimit: number;
|
487 | };
|
488 | export declare const InvalidMasterPathError: {
|
489 | new (path: readonly number[]): {
|
490 | readonly name: string;
|
491 | readonly code: string;
|
492 | message: string;
|
493 | stack?: string | undefined;
|
494 | };
|
495 | captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
|
496 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
497 | stackTraceLimit: number;
|
498 | };
|
499 |
|
\ | No newline at end of file |