@filoz/repair-cli 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +3 -2
- package/dist/src/commands/datasets.d.ts +15 -1
- package/dist/src/commands/datasets.d.ts.map +1 -1
- package/dist/src/commands/datasets.js +94 -1
- package/dist/src/commands/datasets.js.map +1 -1
- package/dist/src/commands/providers.d.ts +15 -1
- package/dist/src/commands/providers.d.ts.map +1 -1
- package/dist/src/commands/repair.d.ts +15 -1
- package/dist/src/commands/repair.d.ts.map +1 -1
- package/dist/src/commands/wallet.d.ts +15 -1
- package/dist/src/commands/wallet.d.ts.map +1 -1
- package/dist/src/db/get-repair-dataset.d.ts.map +1 -1
- package/dist/src/db/get-repair-dataset.js +5 -2
- package/dist/src/db/get-repair-dataset.js.map +1 -1
- package/dist/src/middleware.d.ts +30 -2
- package/dist/src/middleware.d.ts.map +1 -1
- package/dist/src/middleware.js +7 -0
- package/dist/src/middleware.js.map +1 -1
- package/dist/src/pipeline/create-datasets.d.ts +1 -1
- package/dist/src/pipeline/create-datasets.d.ts.map +1 -1
- package/dist/src/pipeline/create-datasets.js +1 -1
- package/dist/src/pipeline/create-datasets.js.map +1 -1
- package/dist/src/utils.d.ts +134 -118
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +10 -18
- package/dist/src/utils.js.map +1 -1
- package/package.json +3 -2
- package/src/commands/datasets.ts +96 -1
- package/src/db/get-repair-dataset.ts +6 -2
- package/src/middleware.ts +9 -0
- package/src/pipeline/create-datasets.ts +1 -7
- package/src/utils.ts +15 -22
package/dist/src/utils.d.ts
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import type { MetadataObject } from '@filoz/synapse-core';
|
|
2
2
|
import { type Chain } from '@filoz/synapse-core/chains';
|
|
3
|
-
import Conf from 'conf';
|
|
4
3
|
import { type SQL } from 'drizzle-orm';
|
|
5
4
|
import type { PgTable } from 'drizzle-orm/pg-core';
|
|
6
5
|
import type { SQLiteTable } from 'drizzle-orm/sqlite-core';
|
|
7
6
|
import { z } from 'incur';
|
|
8
|
-
import
|
|
7
|
+
import { Conf } from 'iso-conf';
|
|
8
|
+
import { type Hex } from 'viem';
|
|
9
|
+
import type { LocalDatabase } from './types.ts';
|
|
9
10
|
export declare const EARLY_REPAIR_SOURCE = "early-repair6";
|
|
10
|
-
export declare const
|
|
11
|
+
export declare const configSchema: z.ZodObject<{
|
|
12
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
13
|
+
indexerMainnetUrl: z.ZodOptional<z.ZodURL>;
|
|
14
|
+
indexerCalibrationUrl: z.ZodOptional<z.ZodURL>;
|
|
15
|
+
chainId: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
dbPath: z.ZodOptional<z.ZodString>;
|
|
17
|
+
source: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const config: Conf<z.ZodObject<{
|
|
20
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
21
|
+
indexerMainnetUrl: z.ZodOptional<z.ZodURL>;
|
|
22
|
+
indexerCalibrationUrl: z.ZodOptional<z.ZodURL>;
|
|
23
|
+
chainId: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
dbPath: z.ZodOptional<z.ZodString>;
|
|
25
|
+
source: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
11
27
|
export declare const name: string;
|
|
12
28
|
export declare const version: string;
|
|
13
29
|
export declare function getClient(chainId: number): {
|
|
@@ -17,16 +33,16 @@ export declare function getClient(chainId: number): {
|
|
|
17
33
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
18
34
|
sign: (parameters: {
|
|
19
35
|
hash: import("viem").Hash;
|
|
20
|
-
}) => Promise<
|
|
36
|
+
}) => Promise<Hex>;
|
|
21
37
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
22
38
|
signMessage: ({ message }: {
|
|
23
39
|
message: import("viem").SignableMessage;
|
|
24
|
-
}) => Promise<
|
|
40
|
+
}) => Promise<Hex>;
|
|
25
41
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
26
42
|
serializer?: serializer | undefined;
|
|
27
|
-
} | undefined) => Promise<
|
|
28
|
-
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
29
|
-
publicKey:
|
|
43
|
+
} | undefined) => Promise<Hex>;
|
|
44
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
45
|
+
publicKey: Hex;
|
|
30
46
|
source: "privateKey";
|
|
31
47
|
type: "local";
|
|
32
48
|
};
|
|
@@ -56,14 +72,14 @@ export declare function getClient(chainId: number): {
|
|
|
56
72
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
57
73
|
sign: (parameters: {
|
|
58
74
|
hash: import("viem").Hash;
|
|
59
|
-
}) => Promise<
|
|
75
|
+
}) => Promise<Hex>;
|
|
60
76
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
61
77
|
signMessage: ({ message }: {
|
|
62
78
|
message: import("viem").SignableMessage;
|
|
63
|
-
}) => Promise<
|
|
79
|
+
}) => Promise<Hex>;
|
|
64
80
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
65
81
|
serializer?: serializer | undefined;
|
|
66
|
-
} | undefined) => Promise<
|
|
82
|
+
} | undefined) => Promise<Hex>;
|
|
67
83
|
signTypedData: <const typedData extends {
|
|
68
84
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
69
85
|
[x: `string[${string}]`]: undefined;
|
|
@@ -474,8 +490,8 @@ export declare function getClient(chainId: number): {
|
|
|
474
490
|
uint240?: undefined;
|
|
475
491
|
uint248?: undefined;
|
|
476
492
|
uint256?: undefined;
|
|
477
|
-
} ? keyof typedData : string>) => Promise<
|
|
478
|
-
publicKey:
|
|
493
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
494
|
+
publicKey: Hex;
|
|
479
495
|
source: "privateKey";
|
|
480
496
|
type: "local";
|
|
481
497
|
}, chainOverride>) => Promise<import("viem").DeployContractReturnType>;
|
|
@@ -484,14 +500,14 @@ export declare function getClient(chainId: number): {
|
|
|
484
500
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
485
501
|
sign: (parameters: {
|
|
486
502
|
hash: import("viem").Hash;
|
|
487
|
-
}) => Promise<
|
|
503
|
+
}) => Promise<Hex>;
|
|
488
504
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
489
505
|
signMessage: ({ message }: {
|
|
490
506
|
message: import("viem").SignableMessage;
|
|
491
|
-
}) => Promise<
|
|
507
|
+
}) => Promise<Hex>;
|
|
492
508
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
493
509
|
serializer?: serializer | undefined;
|
|
494
|
-
} | undefined) => Promise<
|
|
510
|
+
} | undefined) => Promise<Hex>;
|
|
495
511
|
signTypedData: <const typedData extends {
|
|
496
512
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
497
513
|
[x: `string[${string}]`]: undefined;
|
|
@@ -902,8 +918,8 @@ export declare function getClient(chainId: number): {
|
|
|
902
918
|
uint240?: undefined;
|
|
903
919
|
uint248?: undefined;
|
|
904
920
|
uint256?: undefined;
|
|
905
|
-
} ? keyof typedData : string>) => Promise<
|
|
906
|
-
publicKey:
|
|
921
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
922
|
+
publicKey: Hex;
|
|
907
923
|
source: "privateKey";
|
|
908
924
|
type: "local";
|
|
909
925
|
}, chainOverride, accountOverride>) => Promise<import("viem").FillTransactionReturnType<Chain, chainOverride>>;
|
|
@@ -917,14 +933,14 @@ export declare function getClient(chainId: number): {
|
|
|
917
933
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
918
934
|
sign: (parameters: {
|
|
919
935
|
hash: import("viem").Hash;
|
|
920
|
-
}) => Promise<
|
|
936
|
+
}) => Promise<Hex>;
|
|
921
937
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
922
938
|
signMessage: ({ message }: {
|
|
923
939
|
message: import("viem").SignableMessage;
|
|
924
|
-
}) => Promise<
|
|
940
|
+
}) => Promise<Hex>;
|
|
925
941
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
926
942
|
serializer?: serializer | undefined;
|
|
927
|
-
} | undefined) => Promise<
|
|
943
|
+
} | undefined) => Promise<Hex>;
|
|
928
944
|
signTypedData: <const typedData extends {
|
|
929
945
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
930
946
|
[x: `string[${string}]`]: undefined;
|
|
@@ -1335,8 +1351,8 @@ export declare function getClient(chainId: number): {
|
|
|
1335
1351
|
uint240?: undefined;
|
|
1336
1352
|
uint248?: undefined;
|
|
1337
1353
|
uint256?: undefined;
|
|
1338
|
-
} ? keyof typedData : string>) => Promise<
|
|
1339
|
-
publicKey:
|
|
1354
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
1355
|
+
publicKey: Hex;
|
|
1340
1356
|
source: "privateKey";
|
|
1341
1357
|
type: "local";
|
|
1342
1358
|
}>) => Promise<import("viem").PrepareAuthorizationReturnType>;
|
|
@@ -1345,14 +1361,14 @@ export declare function getClient(chainId: number): {
|
|
|
1345
1361
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
1346
1362
|
sign: (parameters: {
|
|
1347
1363
|
hash: import("viem").Hash;
|
|
1348
|
-
}) => Promise<
|
|
1364
|
+
}) => Promise<Hex>;
|
|
1349
1365
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
1350
1366
|
signMessage: ({ message }: {
|
|
1351
1367
|
message: import("viem").SignableMessage;
|
|
1352
|
-
}) => Promise<
|
|
1368
|
+
}) => Promise<Hex>;
|
|
1353
1369
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
1354
1370
|
serializer?: serializer | undefined;
|
|
1355
|
-
} | undefined) => Promise<
|
|
1371
|
+
} | undefined) => Promise<Hex>;
|
|
1356
1372
|
signTypedData: <const typedData extends {
|
|
1357
1373
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
1358
1374
|
[x: `string[${string}]`]: undefined;
|
|
@@ -1763,8 +1779,8 @@ export declare function getClient(chainId: number): {
|
|
|
1763
1779
|
uint240?: undefined;
|
|
1764
1780
|
uint248?: undefined;
|
|
1765
1781
|
uint256?: undefined;
|
|
1766
|
-
} ? keyof typedData : string>) => Promise<
|
|
1767
|
-
publicKey:
|
|
1782
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
1783
|
+
publicKey: Hex;
|
|
1768
1784
|
source: "privateKey";
|
|
1769
1785
|
type: "local";
|
|
1770
1786
|
}, chainOverride, accountOverride, request>) => Promise<import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<Chain, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<Chain, chainOverride> ? T_1 extends import("viem").Chain ? {
|
|
@@ -1776,14 +1792,14 @@ export declare function getClient(chainId: number): {
|
|
|
1776
1792
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
1777
1793
|
sign: (parameters: {
|
|
1778
1794
|
hash: import("viem").Hash;
|
|
1779
|
-
}) => Promise<
|
|
1795
|
+
}) => Promise<Hex>;
|
|
1780
1796
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
1781
1797
|
signMessage: ({ message }: {
|
|
1782
1798
|
message: import("viem").SignableMessage;
|
|
1783
|
-
}) => Promise<
|
|
1799
|
+
}) => Promise<Hex>;
|
|
1784
1800
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
1785
1801
|
serializer?: serializer | undefined;
|
|
1786
|
-
} | undefined) => Promise<
|
|
1802
|
+
} | undefined) => Promise<Hex>;
|
|
1787
1803
|
signTypedData: <const typedData extends {
|
|
1788
1804
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
1789
1805
|
[x: `string[${string}]`]: undefined;
|
|
@@ -2194,8 +2210,8 @@ export declare function getClient(chainId: number): {
|
|
|
2194
2210
|
uint240?: undefined;
|
|
2195
2211
|
uint248?: undefined;
|
|
2196
2212
|
uint256?: undefined;
|
|
2197
|
-
} ? keyof typedData : string>) => Promise<
|
|
2198
|
-
publicKey:
|
|
2213
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
2214
|
+
publicKey: Hex;
|
|
2199
2215
|
source: "privateKey";
|
|
2200
2216
|
type: "local";
|
|
2201
2217
|
}, accountOverride> extends infer T_2 ? T_2 extends import("viem").DeriveAccount<{
|
|
@@ -2203,14 +2219,14 @@ export declare function getClient(chainId: number): {
|
|
|
2203
2219
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
2204
2220
|
sign: (parameters: {
|
|
2205
2221
|
hash: import("viem").Hash;
|
|
2206
|
-
}) => Promise<
|
|
2222
|
+
}) => Promise<Hex>;
|
|
2207
2223
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
2208
2224
|
signMessage: ({ message }: {
|
|
2209
2225
|
message: import("viem").SignableMessage;
|
|
2210
|
-
}) => Promise<
|
|
2226
|
+
}) => Promise<Hex>;
|
|
2211
2227
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
2212
2228
|
serializer?: serializer | undefined;
|
|
2213
|
-
} | undefined) => Promise<
|
|
2229
|
+
} | undefined) => Promise<Hex>;
|
|
2214
2230
|
signTypedData: <const typedData extends {
|
|
2215
2231
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
2216
2232
|
[x: `string[${string}]`]: undefined;
|
|
@@ -2621,8 +2637,8 @@ export declare function getClient(chainId: number): {
|
|
|
2621
2637
|
uint240?: undefined;
|
|
2622
2638
|
uint248?: undefined;
|
|
2623
2639
|
uint256?: undefined;
|
|
2624
|
-
} ? keyof typedData : string>) => Promise<
|
|
2625
|
-
publicKey:
|
|
2640
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
2641
|
+
publicKey: Hex;
|
|
2626
2642
|
source: "privateKey";
|
|
2627
2643
|
type: "local";
|
|
2628
2644
|
}, accountOverride> ? T_2 extends import("viem").Account ? {
|
|
@@ -3945,14 +3961,14 @@ export declare function getClient(chainId: number): {
|
|
|
3945
3961
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
3946
3962
|
sign: (parameters: {
|
|
3947
3963
|
hash: import("viem").Hash;
|
|
3948
|
-
}) => Promise<
|
|
3964
|
+
}) => Promise<Hex>;
|
|
3949
3965
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
3950
3966
|
signMessage: ({ message }: {
|
|
3951
3967
|
message: import("viem").SignableMessage;
|
|
3952
|
-
}) => Promise<
|
|
3968
|
+
}) => Promise<Hex>;
|
|
3953
3969
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
3954
3970
|
serializer?: serializer | undefined;
|
|
3955
|
-
} | undefined) => Promise<
|
|
3971
|
+
} | undefined) => Promise<Hex>;
|
|
3956
3972
|
signTypedData: <const typedData extends {
|
|
3957
3973
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
3958
3974
|
[x: `string[${string}]`]: undefined;
|
|
@@ -4363,8 +4379,8 @@ export declare function getClient(chainId: number): {
|
|
|
4363
4379
|
uint240?: undefined;
|
|
4364
4380
|
uint248?: undefined;
|
|
4365
4381
|
uint256?: undefined;
|
|
4366
|
-
} ? keyof typedData : string>) => Promise<
|
|
4367
|
-
publicKey:
|
|
4382
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
4383
|
+
publicKey: Hex;
|
|
4368
4384
|
source: "privateKey";
|
|
4369
4385
|
type: "local";
|
|
4370
4386
|
}, chainOverride, calls>) => Promise<{
|
|
@@ -4378,14 +4394,14 @@ export declare function getClient(chainId: number): {
|
|
|
4378
4394
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
4379
4395
|
sign: (parameters: {
|
|
4380
4396
|
hash: import("viem").Hash;
|
|
4381
|
-
}) => Promise<
|
|
4397
|
+
}) => Promise<Hex>;
|
|
4382
4398
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
4383
4399
|
signMessage: ({ message }: {
|
|
4384
4400
|
message: import("viem").SignableMessage;
|
|
4385
|
-
}) => Promise<
|
|
4401
|
+
}) => Promise<Hex>;
|
|
4386
4402
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
4387
4403
|
serializer?: serializer | undefined;
|
|
4388
|
-
} | undefined) => Promise<
|
|
4404
|
+
} | undefined) => Promise<Hex>;
|
|
4389
4405
|
signTypedData: <const typedData extends {
|
|
4390
4406
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
4391
4407
|
[x: `string[${string}]`]: undefined;
|
|
@@ -4796,8 +4812,8 @@ export declare function getClient(chainId: number): {
|
|
|
4796
4812
|
uint240?: undefined;
|
|
4797
4813
|
uint248?: undefined;
|
|
4798
4814
|
uint256?: undefined;
|
|
4799
|
-
} ? keyof typedData : string>) => Promise<
|
|
4800
|
-
publicKey:
|
|
4815
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
4816
|
+
publicKey: Hex;
|
|
4801
4817
|
source: "privateKey";
|
|
4802
4818
|
type: "local";
|
|
4803
4819
|
}, chainOverride, calls>) => Promise<{
|
|
@@ -4821,14 +4837,14 @@ export declare function getClient(chainId: number): {
|
|
|
4821
4837
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
4822
4838
|
sign: (parameters: {
|
|
4823
4839
|
hash: import("viem").Hash;
|
|
4824
|
-
}) => Promise<
|
|
4840
|
+
}) => Promise<Hex>;
|
|
4825
4841
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
4826
4842
|
signMessage: ({ message }: {
|
|
4827
4843
|
message: import("viem").SignableMessage;
|
|
4828
|
-
}) => Promise<
|
|
4844
|
+
}) => Promise<Hex>;
|
|
4829
4845
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
4830
4846
|
serializer?: serializer | undefined;
|
|
4831
|
-
} | undefined) => Promise<
|
|
4847
|
+
} | undefined) => Promise<Hex>;
|
|
4832
4848
|
signTypedData: <const typedData extends {
|
|
4833
4849
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
4834
4850
|
[x: `string[${string}]`]: undefined;
|
|
@@ -5239,8 +5255,8 @@ export declare function getClient(chainId: number): {
|
|
|
5239
5255
|
uint240?: undefined;
|
|
5240
5256
|
uint248?: undefined;
|
|
5241
5257
|
uint256?: undefined;
|
|
5242
|
-
} ? keyof typedData : string>) => Promise<
|
|
5243
|
-
publicKey:
|
|
5258
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
5259
|
+
publicKey: Hex;
|
|
5244
5260
|
source: "privateKey";
|
|
5245
5261
|
type: "local";
|
|
5246
5262
|
}, chainOverride, request>) => Promise<import("viem").SendTransactionReturnType>;
|
|
@@ -5249,14 +5265,14 @@ export declare function getClient(chainId: number): {
|
|
|
5249
5265
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
5250
5266
|
sign: (parameters: {
|
|
5251
5267
|
hash: import("viem").Hash;
|
|
5252
|
-
}) => Promise<
|
|
5268
|
+
}) => Promise<Hex>;
|
|
5253
5269
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
5254
5270
|
signMessage: ({ message }: {
|
|
5255
5271
|
message: import("viem").SignableMessage;
|
|
5256
|
-
}) => Promise<
|
|
5272
|
+
}) => Promise<Hex>;
|
|
5257
5273
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
5258
5274
|
serializer?: serializer | undefined;
|
|
5259
|
-
} | undefined) => Promise<
|
|
5275
|
+
} | undefined) => Promise<Hex>;
|
|
5260
5276
|
signTypedData: <const typedData extends {
|
|
5261
5277
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
5262
5278
|
[x: `string[${string}]`]: undefined;
|
|
@@ -5667,8 +5683,8 @@ export declare function getClient(chainId: number): {
|
|
|
5667
5683
|
uint240?: undefined;
|
|
5668
5684
|
uint248?: undefined;
|
|
5669
5685
|
uint256?: undefined;
|
|
5670
|
-
} ? keyof typedData : string>) => Promise<
|
|
5671
|
-
publicKey:
|
|
5686
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
5687
|
+
publicKey: Hex;
|
|
5672
5688
|
source: "privateKey";
|
|
5673
5689
|
type: "local";
|
|
5674
5690
|
}, chainOverride, request>) => Promise<import("viem").TransactionReceipt>;
|
|
@@ -5678,14 +5694,14 @@ export declare function getClient(chainId: number): {
|
|
|
5678
5694
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
5679
5695
|
sign: (parameters: {
|
|
5680
5696
|
hash: import("viem").Hash;
|
|
5681
|
-
}) => Promise<
|
|
5697
|
+
}) => Promise<Hex>;
|
|
5682
5698
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
5683
5699
|
signMessage: ({ message }: {
|
|
5684
5700
|
message: import("viem").SignableMessage;
|
|
5685
|
-
}) => Promise<
|
|
5701
|
+
}) => Promise<Hex>;
|
|
5686
5702
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
5687
5703
|
serializer?: serializer | undefined;
|
|
5688
|
-
} | undefined) => Promise<
|
|
5704
|
+
} | undefined) => Promise<Hex>;
|
|
5689
5705
|
signTypedData: <const typedData extends {
|
|
5690
5706
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
5691
5707
|
[x: `string[${string}]`]: undefined;
|
|
@@ -6096,8 +6112,8 @@ export declare function getClient(chainId: number): {
|
|
|
6096
6112
|
uint240?: undefined;
|
|
6097
6113
|
uint248?: undefined;
|
|
6098
6114
|
uint256?: undefined;
|
|
6099
|
-
} ? keyof typedData : string>) => Promise<
|
|
6100
|
-
publicKey:
|
|
6115
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
6116
|
+
publicKey: Hex;
|
|
6101
6117
|
source: "privateKey";
|
|
6102
6118
|
type: "local";
|
|
6103
6119
|
}>) => Promise<import("viem").SignAuthorizationReturnType>;
|
|
@@ -6106,14 +6122,14 @@ export declare function getClient(chainId: number): {
|
|
|
6106
6122
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
6107
6123
|
sign: (parameters: {
|
|
6108
6124
|
hash: import("viem").Hash;
|
|
6109
|
-
}) => Promise<
|
|
6125
|
+
}) => Promise<Hex>;
|
|
6110
6126
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
6111
6127
|
signMessage: ({ message }: {
|
|
6112
6128
|
message: import("viem").SignableMessage;
|
|
6113
|
-
}) => Promise<
|
|
6129
|
+
}) => Promise<Hex>;
|
|
6114
6130
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
6115
6131
|
serializer?: serializer | undefined;
|
|
6116
|
-
} | undefined) => Promise<
|
|
6132
|
+
} | undefined) => Promise<Hex>;
|
|
6117
6133
|
signTypedData: <const typedData extends {
|
|
6118
6134
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
6119
6135
|
[x: `string[${string}]`]: undefined;
|
|
@@ -6524,8 +6540,8 @@ export declare function getClient(chainId: number): {
|
|
|
6524
6540
|
uint240?: undefined;
|
|
6525
6541
|
uint248?: undefined;
|
|
6526
6542
|
uint256?: undefined;
|
|
6527
|
-
} ? keyof typedData : string>) => Promise<
|
|
6528
|
-
publicKey:
|
|
6543
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
6544
|
+
publicKey: Hex;
|
|
6529
6545
|
source: "privateKey";
|
|
6530
6546
|
type: "local";
|
|
6531
6547
|
}>) => Promise<import("viem").SignMessageReturnType>;
|
|
@@ -6534,14 +6550,14 @@ export declare function getClient(chainId: number): {
|
|
|
6534
6550
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
6535
6551
|
sign: (parameters: {
|
|
6536
6552
|
hash: import("viem").Hash;
|
|
6537
|
-
}) => Promise<
|
|
6553
|
+
}) => Promise<Hex>;
|
|
6538
6554
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
6539
6555
|
signMessage: ({ message }: {
|
|
6540
6556
|
message: import("viem").SignableMessage;
|
|
6541
|
-
}) => Promise<
|
|
6557
|
+
}) => Promise<Hex>;
|
|
6542
6558
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
6543
6559
|
serializer?: serializer | undefined;
|
|
6544
|
-
} | undefined) => Promise<
|
|
6560
|
+
} | undefined) => Promise<Hex>;
|
|
6545
6561
|
signTypedData: <const typedData extends {
|
|
6546
6562
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
6547
6563
|
[x: `string[${string}]`]: undefined;
|
|
@@ -6952,8 +6968,8 @@ export declare function getClient(chainId: number): {
|
|
|
6952
6968
|
uint240?: undefined;
|
|
6953
6969
|
uint248?: undefined;
|
|
6954
6970
|
uint256?: undefined;
|
|
6955
|
-
} ? keyof typedData : string>) => Promise<
|
|
6956
|
-
publicKey:
|
|
6971
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
6972
|
+
publicKey: Hex;
|
|
6957
6973
|
source: "privateKey";
|
|
6958
6974
|
type: "local";
|
|
6959
6975
|
}, chainOverride, request>) => Promise<import("viem").TransactionSerialized<import("viem").GetTransactionType<request, (request extends {
|
|
@@ -8060,14 +8076,14 @@ export declare function getClient(chainId: number): {
|
|
|
8060
8076
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
8061
8077
|
sign: (parameters: {
|
|
8062
8078
|
hash: import("viem").Hash;
|
|
8063
|
-
}) => Promise<
|
|
8079
|
+
}) => Promise<Hex>;
|
|
8064
8080
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
8065
8081
|
signMessage: ({ message }: {
|
|
8066
8082
|
message: import("viem").SignableMessage;
|
|
8067
|
-
}) => Promise<
|
|
8083
|
+
}) => Promise<Hex>;
|
|
8068
8084
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
8069
8085
|
serializer?: serializer | undefined;
|
|
8070
|
-
} | undefined) => Promise<
|
|
8086
|
+
} | undefined) => Promise<Hex>;
|
|
8071
8087
|
signTypedData: <const typedData_1 extends {
|
|
8072
8088
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
8073
8089
|
[x: `string[${string}]`]: undefined;
|
|
@@ -8478,8 +8494,8 @@ export declare function getClient(chainId: number): {
|
|
|
8478
8494
|
uint240?: undefined;
|
|
8479
8495
|
uint248?: undefined;
|
|
8480
8496
|
uint256?: undefined;
|
|
8481
|
-
} ? keyof typedData_1 : string>) => Promise<
|
|
8482
|
-
publicKey:
|
|
8497
|
+
} ? keyof typedData_1 : string>) => Promise<Hex>;
|
|
8498
|
+
publicKey: Hex;
|
|
8483
8499
|
source: "privateKey";
|
|
8484
8500
|
type: "local";
|
|
8485
8501
|
}>) => Promise<import("viem").SignTypedDataReturnType>;
|
|
@@ -8491,14 +8507,14 @@ export declare function getClient(chainId: number): {
|
|
|
8491
8507
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
8492
8508
|
sign: (parameters: {
|
|
8493
8509
|
hash: import("viem").Hash;
|
|
8494
|
-
}) => Promise<
|
|
8510
|
+
}) => Promise<Hex>;
|
|
8495
8511
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
8496
8512
|
signMessage: ({ message }: {
|
|
8497
8513
|
message: import("viem").SignableMessage;
|
|
8498
|
-
}) => Promise<
|
|
8514
|
+
}) => Promise<Hex>;
|
|
8499
8515
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
8500
8516
|
serializer?: serializer | undefined;
|
|
8501
|
-
} | undefined) => Promise<
|
|
8517
|
+
} | undefined) => Promise<Hex>;
|
|
8502
8518
|
signTypedData: <const typedData extends {
|
|
8503
8519
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
8504
8520
|
[x: `string[${string}]`]: undefined;
|
|
@@ -8909,8 +8925,8 @@ export declare function getClient(chainId: number): {
|
|
|
8909
8925
|
uint240?: undefined;
|
|
8910
8926
|
uint248?: undefined;
|
|
8911
8927
|
uint256?: undefined;
|
|
8912
|
-
} ? keyof typedData : string>) => Promise<
|
|
8913
|
-
publicKey:
|
|
8928
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
8929
|
+
publicKey: Hex;
|
|
8914
8930
|
source: "privateKey";
|
|
8915
8931
|
type: "local";
|
|
8916
8932
|
}, chainOverride>) => Promise<import("viem").WriteContractReturnType>;
|
|
@@ -8919,14 +8935,14 @@ export declare function getClient(chainId: number): {
|
|
|
8919
8935
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
8920
8936
|
sign: (parameters: {
|
|
8921
8937
|
hash: import("viem").Hash;
|
|
8922
|
-
}) => Promise<
|
|
8938
|
+
}) => Promise<Hex>;
|
|
8923
8939
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
8924
8940
|
signMessage: ({ message }: {
|
|
8925
8941
|
message: import("viem").SignableMessage;
|
|
8926
|
-
}) => Promise<
|
|
8942
|
+
}) => Promise<Hex>;
|
|
8927
8943
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
8928
8944
|
serializer?: serializer | undefined;
|
|
8929
|
-
} | undefined) => Promise<
|
|
8945
|
+
} | undefined) => Promise<Hex>;
|
|
8930
8946
|
signTypedData: <const typedData extends {
|
|
8931
8947
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
8932
8948
|
[x: `string[${string}]`]: undefined;
|
|
@@ -9337,8 +9353,8 @@ export declare function getClient(chainId: number): {
|
|
|
9337
9353
|
uint240?: undefined;
|
|
9338
9354
|
uint248?: undefined;
|
|
9339
9355
|
uint256?: undefined;
|
|
9340
|
-
} ? keyof typedData : string>) => Promise<
|
|
9341
|
-
publicKey:
|
|
9356
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
9357
|
+
publicKey: Hex;
|
|
9342
9358
|
source: "privateKey";
|
|
9343
9359
|
type: "local";
|
|
9344
9360
|
}, chainOverride>) => Promise<import("viem").WriteContractSyncReturnType>;
|
|
@@ -9363,14 +9379,14 @@ export declare function getClient(chainId: number): {
|
|
|
9363
9379
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
9364
9380
|
sign: (parameters: {
|
|
9365
9381
|
hash: import("viem").Hash;
|
|
9366
|
-
}) => Promise<
|
|
9382
|
+
}) => Promise<Hex>;
|
|
9367
9383
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
9368
9384
|
signMessage: ({ message }: {
|
|
9369
9385
|
message: import("viem").SignableMessage;
|
|
9370
|
-
}) => Promise<
|
|
9386
|
+
}) => Promise<Hex>;
|
|
9371
9387
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
9372
9388
|
serializer?: serializer | undefined;
|
|
9373
|
-
} | undefined) => Promise<
|
|
9389
|
+
} | undefined) => Promise<Hex>;
|
|
9374
9390
|
signTypedData: <const typedData extends {
|
|
9375
9391
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
9376
9392
|
[x: `string[${string}]`]: undefined;
|
|
@@ -9781,8 +9797,8 @@ export declare function getClient(chainId: number): {
|
|
|
9781
9797
|
uint240?: undefined;
|
|
9782
9798
|
uint248?: undefined;
|
|
9783
9799
|
uint256?: undefined;
|
|
9784
|
-
} ? keyof typedData : string>) => Promise<
|
|
9785
|
-
publicKey:
|
|
9800
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
9801
|
+
publicKey: Hex;
|
|
9786
9802
|
source: "privateKey";
|
|
9787
9803
|
type: "local";
|
|
9788
9804
|
}>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<Chain, {
|
|
@@ -9790,14 +9806,14 @@ export declare function getClient(chainId: number): {
|
|
|
9790
9806
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
9791
9807
|
sign: (parameters: {
|
|
9792
9808
|
hash: import("viem").Hash;
|
|
9793
|
-
}) => Promise<
|
|
9809
|
+
}) => Promise<Hex>;
|
|
9794
9810
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
9795
9811
|
signMessage: ({ message }: {
|
|
9796
9812
|
message: import("viem").SignableMessage;
|
|
9797
|
-
}) => Promise<
|
|
9813
|
+
}) => Promise<Hex>;
|
|
9798
9814
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
9799
9815
|
serializer?: serializer | undefined;
|
|
9800
|
-
} | undefined) => Promise<
|
|
9816
|
+
} | undefined) => Promise<Hex>;
|
|
9801
9817
|
signTypedData: <const typedData extends {
|
|
9802
9818
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
9803
9819
|
[x: `string[${string}]`]: undefined;
|
|
@@ -10208,8 +10224,8 @@ export declare function getClient(chainId: number): {
|
|
|
10208
10224
|
uint240?: undefined;
|
|
10209
10225
|
uint248?: undefined;
|
|
10210
10226
|
uint256?: undefined;
|
|
10211
|
-
} ? keyof typedData : string>) => Promise<
|
|
10212
|
-
publicKey:
|
|
10227
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
10228
|
+
publicKey: Hex;
|
|
10213
10229
|
source: "privateKey";
|
|
10214
10230
|
type: "local";
|
|
10215
10231
|
}>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").HttpTransport<undefined, false>, Chain, {
|
|
@@ -10217,14 +10233,14 @@ export declare function getClient(chainId: number): {
|
|
|
10217
10233
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
10218
10234
|
sign: (parameters: {
|
|
10219
10235
|
hash: import("viem").Hash;
|
|
10220
|
-
}) => Promise<
|
|
10236
|
+
}) => Promise<Hex>;
|
|
10221
10237
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
10222
10238
|
signMessage: ({ message }: {
|
|
10223
10239
|
message: import("viem").SignableMessage;
|
|
10224
|
-
}) => Promise<
|
|
10240
|
+
}) => Promise<Hex>;
|
|
10225
10241
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
10226
10242
|
serializer?: serializer | undefined;
|
|
10227
|
-
} | undefined) => Promise<
|
|
10243
|
+
} | undefined) => Promise<Hex>;
|
|
10228
10244
|
signTypedData: <const typedData extends {
|
|
10229
10245
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
10230
10246
|
[x: `string[${string}]`]: undefined;
|
|
@@ -10635,8 +10651,8 @@ export declare function getClient(chainId: number): {
|
|
|
10635
10651
|
uint240?: undefined;
|
|
10636
10652
|
uint248?: undefined;
|
|
10637
10653
|
uint256?: undefined;
|
|
10638
|
-
} ? keyof typedData : string>) => Promise<
|
|
10639
|
-
publicKey:
|
|
10654
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
10655
|
+
publicKey: Hex;
|
|
10640
10656
|
source: "privateKey";
|
|
10641
10657
|
type: "local";
|
|
10642
10658
|
}, import("viem").WalletRpcSchema, import("viem").WalletActions<Chain, {
|
|
@@ -10644,14 +10660,14 @@ export declare function getClient(chainId: number): {
|
|
|
10644
10660
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
10645
10661
|
sign: (parameters: {
|
|
10646
10662
|
hash: import("viem").Hash;
|
|
10647
|
-
}) => Promise<
|
|
10663
|
+
}) => Promise<Hex>;
|
|
10648
10664
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
10649
10665
|
signMessage: ({ message }: {
|
|
10650
10666
|
message: import("viem").SignableMessage;
|
|
10651
|
-
}) => Promise<
|
|
10667
|
+
}) => Promise<Hex>;
|
|
10652
10668
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
10653
10669
|
serializer?: serializer | undefined;
|
|
10654
|
-
} | undefined) => Promise<
|
|
10670
|
+
} | undefined) => Promise<Hex>;
|
|
10655
10671
|
signTypedData: <const typedData extends {
|
|
10656
10672
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
10657
10673
|
[x: `string[${string}]`]: undefined;
|
|
@@ -11062,8 +11078,8 @@ export declare function getClient(chainId: number): {
|
|
|
11062
11078
|
uint240?: undefined;
|
|
11063
11079
|
uint248?: undefined;
|
|
11064
11080
|
uint256?: undefined;
|
|
11065
|
-
} ? keyof typedData : string>) => Promise<
|
|
11066
|
-
publicKey:
|
|
11081
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
11082
|
+
publicKey: Hex;
|
|
11067
11083
|
source: "privateKey";
|
|
11068
11084
|
type: "local";
|
|
11069
11085
|
}>>) => client) => import("viem").Client<import("viem").HttpTransport<undefined, false>, Chain, {
|
|
@@ -11071,14 +11087,14 @@ export declare function getClient(chainId: number): {
|
|
|
11071
11087
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
11072
11088
|
sign: (parameters: {
|
|
11073
11089
|
hash: import("viem").Hash;
|
|
11074
|
-
}) => Promise<
|
|
11090
|
+
}) => Promise<Hex>;
|
|
11075
11091
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
11076
11092
|
signMessage: ({ message }: {
|
|
11077
11093
|
message: import("viem").SignableMessage;
|
|
11078
|
-
}) => Promise<
|
|
11094
|
+
}) => Promise<Hex>;
|
|
11079
11095
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
11080
11096
|
serializer?: serializer | undefined;
|
|
11081
|
-
} | undefined) => Promise<
|
|
11097
|
+
} | undefined) => Promise<Hex>;
|
|
11082
11098
|
signTypedData: <const typedData extends {
|
|
11083
11099
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
11084
11100
|
[x: `string[${string}]`]: undefined;
|
|
@@ -11489,8 +11505,8 @@ export declare function getClient(chainId: number): {
|
|
|
11489
11505
|
uint240?: undefined;
|
|
11490
11506
|
uint248?: undefined;
|
|
11491
11507
|
uint256?: undefined;
|
|
11492
|
-
} ? keyof typedData : string>) => Promise<
|
|
11493
|
-
publicKey:
|
|
11508
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
11509
|
+
publicKey: Hex;
|
|
11494
11510
|
source: "privateKey";
|
|
11495
11511
|
type: "local";
|
|
11496
11512
|
}, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<Chain, {
|
|
@@ -11498,14 +11514,14 @@ export declare function getClient(chainId: number): {
|
|
|
11498
11514
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
11499
11515
|
sign: (parameters: {
|
|
11500
11516
|
hash: import("viem").Hash;
|
|
11501
|
-
}) => Promise<
|
|
11517
|
+
}) => Promise<Hex>;
|
|
11502
11518
|
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
11503
11519
|
signMessage: ({ message }: {
|
|
11504
11520
|
message: import("viem").SignableMessage;
|
|
11505
|
-
}) => Promise<
|
|
11521
|
+
}) => Promise<Hex>;
|
|
11506
11522
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
11507
11523
|
serializer?: serializer | undefined;
|
|
11508
|
-
} | undefined) => Promise<
|
|
11524
|
+
} | undefined) => Promise<Hex>;
|
|
11509
11525
|
signTypedData: <const typedData extends {
|
|
11510
11526
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
11511
11527
|
[x: `string[${string}]`]: undefined;
|
|
@@ -11916,8 +11932,8 @@ export declare function getClient(chainId: number): {
|
|
|
11916
11932
|
uint240?: undefined;
|
|
11917
11933
|
uint248?: undefined;
|
|
11918
11934
|
uint256?: undefined;
|
|
11919
|
-
} ? keyof typedData : string>) => Promise<
|
|
11920
|
-
publicKey:
|
|
11935
|
+
} ? keyof typedData : string>) => Promise<Hex>;
|
|
11936
|
+
publicKey: Hex;
|
|
11921
11937
|
source: "privateKey";
|
|
11922
11938
|
type: "local";
|
|
11923
11939
|
}>>;
|