@dynamic-labs/ethereum-core 4.17.0 → 4.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/connector/EthereumWalletConnector.d.ts +219 -135
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.cjs +7 -0
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.d.ts +74 -74
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.js +7 -0
- package/src/wallet/EthereumWallet.cjs +25 -3
- package/src/wallet/EthereumWallet.js +25 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.18.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.0...v4.18.1) (2025-05-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* allow setting zerodev bundler provider from dashboard ([#8548](https://github.com/dynamic-labs/dynamic-auth/issues/8548)) ([d226733](https://github.com/dynamic-labs/dynamic-auth/commit/d2267334db3d9d742833437c81a382742c8d6a74))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* correctly show back button on connect with qr view ([#8668](https://github.com/dynamic-labs/dynamic-auth/issues/8668)) ([3cff309](https://github.com/dynamic-labs/dynamic-auth/commit/3cff309fa35d7201d0c098b793334908716bc0db))
|
|
13
|
+
* display correct app origin when signing message with global wallet ([#8677](https://github.com/dynamic-labs/dynamic-auth/issues/8677)) ([a70eeb3](https://github.com/dynamic-labs/dynamic-auth/commit/a70eeb3ea28a5ad749cb5c14a0d3c49318099712))
|
|
14
|
+
|
|
15
|
+
## [4.18.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.17.0...v4.18.0) (2025-05-07)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* 7702 authorization now happens on the first transaction and could use sponsored user operation if paymaster provided (IMPORTANT: viem need to be upgraded to at least 2.28.4)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* inline email submit button color when active ([#8663](https://github.com/dynamic-labs/dynamic-auth/issues/8663)) ([ea556e9](https://github.com/dynamic-labs/dynamic-auth/commit/ea556e9116e876fb2180870e74b6c8c6a13faecb))
|
|
26
|
+
|
|
2
27
|
## [4.17.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.16.0...v4.17.0) (2025-05-06)
|
|
3
28
|
|
|
4
29
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.1",
|
|
4
4
|
"description": "Core package for utilities and types for viem",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
23
|
-
"@dynamic-labs/logger": "4.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
26
|
-
"@dynamic-labs/utils": "4.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.663",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.18.1",
|
|
23
|
+
"@dynamic-labs/logger": "4.18.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.18.1",
|
|
25
|
+
"@dynamic-labs/types": "4.18.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.18.1",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.18.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.18.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.21.60"
|
|
@@ -58,15 +58,78 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
58
58
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
59
59
|
deployContract: <const abi extends import("viem").Abi | readonly unknown[], chainOverride extends ViemChain | undefined>(args: import("viem").DeployContractParameters<abi, ViemChain, Account, chainOverride>) => Promise<`0x${string}`>;
|
|
60
60
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
61
|
+
getCallsStatus: (parameters: import("viem").GetCallsStatusParameters) => Promise<{
|
|
62
|
+
chainId: number;
|
|
63
|
+
id: string;
|
|
64
|
+
atomic: boolean;
|
|
65
|
+
capabilities?: {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
} | {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
} | undefined;
|
|
70
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
71
|
+
version: string;
|
|
72
|
+
statusCode: number;
|
|
73
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
getCapabilities: <chainId extends number | undefined>(parameters?: import("viem").GetCapabilitiesParameters<chainId> | undefined) => Promise<(chainId extends number ? {
|
|
76
|
+
[x: string]: any;
|
|
77
|
+
atomic?: {
|
|
78
|
+
status: "ready" | "supported" | "unsupported";
|
|
79
|
+
} | undefined;
|
|
80
|
+
unstable_addSubAccount?: {
|
|
81
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
82
|
+
supported: boolean;
|
|
83
|
+
} | undefined;
|
|
84
|
+
paymasterService?: {
|
|
85
|
+
supported: boolean;
|
|
86
|
+
} | undefined;
|
|
87
|
+
} : import("viem").WalletCapabilitiesRecord<import("viem").Capabilities<{
|
|
88
|
+
[x: string]: any;
|
|
89
|
+
atomic?: {
|
|
90
|
+
status: "ready" | "supported" | "unsupported";
|
|
91
|
+
} | undefined;
|
|
92
|
+
unstable_addSubAccount?: {
|
|
93
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
94
|
+
supported: boolean;
|
|
95
|
+
} | undefined;
|
|
96
|
+
paymasterService?: {
|
|
97
|
+
supported: boolean;
|
|
98
|
+
} | undefined;
|
|
99
|
+
}>, number>) extends infer T ? { [K in keyof T]: (chainId extends number ? {
|
|
100
|
+
[x: string]: any;
|
|
101
|
+
atomic?: {
|
|
102
|
+
status: "ready" | "supported" | "unsupported";
|
|
103
|
+
} | undefined;
|
|
104
|
+
unstable_addSubAccount?: {
|
|
105
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
106
|
+
supported: boolean;
|
|
107
|
+
} | undefined;
|
|
108
|
+
paymasterService?: {
|
|
109
|
+
supported: boolean;
|
|
110
|
+
} | undefined;
|
|
111
|
+
} : import("viem").WalletCapabilitiesRecord<import("viem").Capabilities<{
|
|
112
|
+
[x: string]: any;
|
|
113
|
+
atomic?: {
|
|
114
|
+
status: "ready" | "supported" | "unsupported";
|
|
115
|
+
} | undefined;
|
|
116
|
+
unstable_addSubAccount?: {
|
|
117
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
118
|
+
supported: boolean;
|
|
119
|
+
} | undefined;
|
|
120
|
+
paymasterService?: {
|
|
121
|
+
supported: boolean;
|
|
122
|
+
} | undefined;
|
|
123
|
+
}>, number>)[K]; } : never>;
|
|
61
124
|
getChainId: () => Promise<number>;
|
|
62
125
|
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
63
126
|
prepareAuthorization: (parameters: import("viem/experimental").PrepareAuthorizationParameters<Account>) => Promise<import("viem/experimental").PrepareAuthorizationReturnType>;
|
|
64
|
-
prepareTransactionRequest: <const request extends import("viem").PrepareTransactionRequestRequest<ViemChain, chainOverride_1>, chainOverride_1 extends ViemChain | undefined = undefined, accountOverride extends `0x${string}` | Account | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<ViemChain, Account, chainOverride_1, accountOverride, request>) => Promise<import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_1>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<ViemChain, chainOverride_1> extends infer
|
|
65
|
-
chain:
|
|
127
|
+
prepareTransactionRequest: <const request extends import("viem").PrepareTransactionRequestRequest<ViemChain, chainOverride_1>, chainOverride_1 extends ViemChain | undefined = undefined, accountOverride extends `0x${string}` | Account | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<ViemChain, Account, chainOverride_1, accountOverride, request>) => Promise<import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_1>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<ViemChain, chainOverride_1> extends infer T_15 ? T_15 extends import("viem").DeriveChain<ViemChain, chainOverride_1> ? T_15 extends ViemChain ? {
|
|
128
|
+
chain: T_15;
|
|
66
129
|
} : {
|
|
67
130
|
chain?: undefined;
|
|
68
|
-
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer
|
|
69
|
-
account:
|
|
131
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer T_16 ? T_16 extends import("viem").DeriveAccount<Account, accountOverride> ? T_16 extends Account ? {
|
|
132
|
+
account: T_16;
|
|
70
133
|
from: `0x${string}`;
|
|
71
134
|
} : {
|
|
72
135
|
account?: undefined;
|
|
@@ -233,7 +296,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
233
296
|
sidecars?: undefined;
|
|
234
297
|
}) & {
|
|
235
298
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
236
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
299
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_17 ? T_17 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
237
300
|
accessList?: undefined;
|
|
238
301
|
authorizationList?: undefined;
|
|
239
302
|
blobs?: undefined;
|
|
@@ -395,7 +458,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
395
458
|
sidecars?: undefined;
|
|
396
459
|
}) & {
|
|
397
460
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
398
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
461
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_17 extends "legacy" ? import("viem").TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
399
462
|
accessList?: undefined;
|
|
400
463
|
authorizationList?: undefined;
|
|
401
464
|
blobs?: undefined;
|
|
@@ -557,7 +620,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
557
620
|
sidecars?: undefined;
|
|
558
621
|
}) & {
|
|
559
622
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
560
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
623
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_18 ? T_18 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
561
624
|
accessList?: undefined;
|
|
562
625
|
authorizationList?: undefined;
|
|
563
626
|
blobs?: undefined;
|
|
@@ -719,7 +782,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
719
782
|
sidecars?: undefined;
|
|
720
783
|
}) & {
|
|
721
784
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
722
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
785
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_18 extends "eip1559" ? import("viem").TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
723
786
|
accessList?: undefined;
|
|
724
787
|
authorizationList?: undefined;
|
|
725
788
|
blobs?: undefined;
|
|
@@ -881,7 +944,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
881
944
|
sidecars?: undefined;
|
|
882
945
|
}) & {
|
|
883
946
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
884
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
947
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_19 ? T_19 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
885
948
|
accessList?: undefined;
|
|
886
949
|
authorizationList?: undefined;
|
|
887
950
|
blobs?: undefined;
|
|
@@ -1043,7 +1106,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1043
1106
|
sidecars?: undefined;
|
|
1044
1107
|
}) & {
|
|
1045
1108
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1046
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1109
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_19 extends "eip2930" ? import("viem").TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1047
1110
|
accessList?: undefined;
|
|
1048
1111
|
authorizationList?: undefined;
|
|
1049
1112
|
blobs?: undefined;
|
|
@@ -1205,7 +1268,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1205
1268
|
sidecars?: undefined;
|
|
1206
1269
|
}) & {
|
|
1207
1270
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1208
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1271
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_20 ? T_20 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1209
1272
|
accessList?: undefined;
|
|
1210
1273
|
authorizationList?: undefined;
|
|
1211
1274
|
blobs?: undefined;
|
|
@@ -1367,7 +1430,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1367
1430
|
sidecars?: undefined;
|
|
1368
1431
|
}) & {
|
|
1369
1432
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1370
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1433
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_20 extends "eip4844" ? import("viem").TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1371
1434
|
accessList?: undefined;
|
|
1372
1435
|
authorizationList?: undefined;
|
|
1373
1436
|
blobs?: undefined;
|
|
@@ -1529,7 +1592,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1529
1592
|
sidecars?: undefined;
|
|
1530
1593
|
}) & {
|
|
1531
1594
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1532
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1595
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_21 ? T_21 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1533
1596
|
accessList?: undefined;
|
|
1534
1597
|
authorizationList?: undefined;
|
|
1535
1598
|
blobs?: undefined;
|
|
@@ -1691,7 +1754,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1691
1754
|
sidecars?: undefined;
|
|
1692
1755
|
}) & {
|
|
1693
1756
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1694
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1757
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_21 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)> extends true ? unknown : import("viem").ExactPartial<((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1695
1758
|
accessList?: undefined;
|
|
1696
1759
|
authorizationList?: undefined;
|
|
1697
1760
|
blobs?: undefined;
|
|
@@ -1853,7 +1916,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
1853
1916
|
sidecars?: undefined;
|
|
1854
1917
|
}) & {
|
|
1855
1918
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1856
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1919
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_22 ? T_22 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
1857
1920
|
accessList?: undefined;
|
|
1858
1921
|
authorizationList?: undefined;
|
|
1859
1922
|
blobs?: undefined;
|
|
@@ -2015,7 +2078,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2015
2078
|
sidecars?: undefined;
|
|
2016
2079
|
}) & {
|
|
2017
2080
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2018
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2081
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_22 extends "legacy" ? import("viem").TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2019
2082
|
accessList?: undefined;
|
|
2020
2083
|
authorizationList?: undefined;
|
|
2021
2084
|
blobs?: undefined;
|
|
@@ -2177,7 +2240,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2177
2240
|
sidecars?: undefined;
|
|
2178
2241
|
}) & {
|
|
2179
2242
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2180
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2243
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_23 ? T_23 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2181
2244
|
accessList?: undefined;
|
|
2182
2245
|
authorizationList?: undefined;
|
|
2183
2246
|
blobs?: undefined;
|
|
@@ -2339,7 +2402,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2339
2402
|
sidecars?: undefined;
|
|
2340
2403
|
}) & {
|
|
2341
2404
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2342
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2405
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_23 extends "eip1559" ? import("viem").TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2343
2406
|
accessList?: undefined;
|
|
2344
2407
|
authorizationList?: undefined;
|
|
2345
2408
|
blobs?: undefined;
|
|
@@ -2501,7 +2564,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2501
2564
|
sidecars?: undefined;
|
|
2502
2565
|
}) & {
|
|
2503
2566
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2504
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2567
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_24 ? T_24 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2505
2568
|
accessList?: undefined;
|
|
2506
2569
|
authorizationList?: undefined;
|
|
2507
2570
|
blobs?: undefined;
|
|
@@ -2663,7 +2726,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2663
2726
|
sidecars?: undefined;
|
|
2664
2727
|
}) & {
|
|
2665
2728
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2666
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2729
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_24 extends "eip2930" ? import("viem").TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2667
2730
|
accessList?: undefined;
|
|
2668
2731
|
authorizationList?: undefined;
|
|
2669
2732
|
blobs?: undefined;
|
|
@@ -2825,7 +2888,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2825
2888
|
sidecars?: undefined;
|
|
2826
2889
|
}) & {
|
|
2827
2890
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2828
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2891
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_25 ? T_25 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2829
2892
|
accessList?: undefined;
|
|
2830
2893
|
authorizationList?: undefined;
|
|
2831
2894
|
blobs?: undefined;
|
|
@@ -2987,7 +3050,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
2987
3050
|
sidecars?: undefined;
|
|
2988
3051
|
}) & {
|
|
2989
3052
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2990
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3053
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip4844" ? import("viem").TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
2991
3054
|
accessList?: undefined;
|
|
2992
3055
|
authorizationList?: undefined;
|
|
2993
3056
|
blobs?: undefined;
|
|
@@ -3149,7 +3212,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3149
3212
|
sidecars?: undefined;
|
|
3150
3213
|
}) & {
|
|
3151
3214
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3152
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3215
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_26 ? T_26 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
3153
3216
|
accessList?: undefined;
|
|
3154
3217
|
authorizationList?: undefined;
|
|
3155
3218
|
blobs?: undefined;
|
|
@@ -3311,14 +3374,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3311
3374
|
sidecars?: undefined;
|
|
3312
3375
|
}) & {
|
|
3313
3376
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3314
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3377
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_26 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
3315
3378
|
chainId?: number | undefined;
|
|
3316
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer
|
|
3317
|
-
chain:
|
|
3379
|
+
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_27 ? T_27 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_27 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_27 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T_1 ? { [K_1 in keyof T_1]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_1>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<ViemChain, chainOverride_1> extends infer T_2 ? T_2 extends import("viem").DeriveChain<ViemChain, chainOverride_1> ? T_2 extends ViemChain ? {
|
|
3380
|
+
chain: T_2;
|
|
3318
3381
|
} : {
|
|
3319
3382
|
chain?: undefined;
|
|
3320
|
-
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer
|
|
3321
|
-
account:
|
|
3383
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer T_3 ? T_3 extends import("viem").DeriveAccount<Account, accountOverride> ? T_3 extends Account ? {
|
|
3384
|
+
account: T_3;
|
|
3322
3385
|
from: `0x${string}`;
|
|
3323
3386
|
} : {
|
|
3324
3387
|
account?: undefined;
|
|
@@ -3485,7 +3548,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3485
3548
|
sidecars?: undefined;
|
|
3486
3549
|
}) & {
|
|
3487
3550
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3488
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3551
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_4 ? T_4 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
3489
3552
|
accessList?: undefined;
|
|
3490
3553
|
authorizationList?: undefined;
|
|
3491
3554
|
blobs?: undefined;
|
|
@@ -3647,7 +3710,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3647
3710
|
sidecars?: undefined;
|
|
3648
3711
|
}) & {
|
|
3649
3712
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3650
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3713
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_4 extends "legacy" ? import("viem").TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
3651
3714
|
accessList?: undefined;
|
|
3652
3715
|
authorizationList?: undefined;
|
|
3653
3716
|
blobs?: undefined;
|
|
@@ -3809,7 +3872,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3809
3872
|
sidecars?: undefined;
|
|
3810
3873
|
}) & {
|
|
3811
3874
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3812
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3875
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_5 ? T_5 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
3813
3876
|
accessList?: undefined;
|
|
3814
3877
|
authorizationList?: undefined;
|
|
3815
3878
|
blobs?: undefined;
|
|
@@ -3971,7 +4034,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3971
4034
|
sidecars?: undefined;
|
|
3972
4035
|
}) & {
|
|
3973
4036
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3974
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4037
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_5 extends "eip1559" ? import("viem").TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
3975
4038
|
accessList?: undefined;
|
|
3976
4039
|
authorizationList?: undefined;
|
|
3977
4040
|
blobs?: undefined;
|
|
@@ -4133,7 +4196,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4133
4196
|
sidecars?: undefined;
|
|
4134
4197
|
}) & {
|
|
4135
4198
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4136
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4199
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_6 ? T_6 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4137
4200
|
accessList?: undefined;
|
|
4138
4201
|
authorizationList?: undefined;
|
|
4139
4202
|
blobs?: undefined;
|
|
@@ -4295,7 +4358,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4295
4358
|
sidecars?: undefined;
|
|
4296
4359
|
}) & {
|
|
4297
4360
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4298
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4361
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_6 extends "eip2930" ? import("viem").TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4299
4362
|
accessList?: undefined;
|
|
4300
4363
|
authorizationList?: undefined;
|
|
4301
4364
|
blobs?: undefined;
|
|
@@ -4457,7 +4520,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4457
4520
|
sidecars?: undefined;
|
|
4458
4521
|
}) & {
|
|
4459
4522
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4460
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4523
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_7 ? T_7 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4461
4524
|
accessList?: undefined;
|
|
4462
4525
|
authorizationList?: undefined;
|
|
4463
4526
|
blobs?: undefined;
|
|
@@ -4619,7 +4682,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4619
4682
|
sidecars?: undefined;
|
|
4620
4683
|
}) & {
|
|
4621
4684
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4622
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4685
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_7 extends "eip4844" ? import("viem").TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4623
4686
|
accessList?: undefined;
|
|
4624
4687
|
authorizationList?: undefined;
|
|
4625
4688
|
blobs?: undefined;
|
|
@@ -4781,7 +4844,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4781
4844
|
sidecars?: undefined;
|
|
4782
4845
|
}) & {
|
|
4783
4846
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4784
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4847
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_8 ? T_8 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4785
4848
|
accessList?: undefined;
|
|
4786
4849
|
authorizationList?: undefined;
|
|
4787
4850
|
blobs?: undefined;
|
|
@@ -4943,7 +5006,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
4943
5006
|
sidecars?: undefined;
|
|
4944
5007
|
}) & {
|
|
4945
5008
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4946
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5009
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_8 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)> extends true ? unknown : import("viem").ExactPartial<((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
4947
5010
|
accessList?: undefined;
|
|
4948
5011
|
authorizationList?: undefined;
|
|
4949
5012
|
blobs?: undefined;
|
|
@@ -5105,7 +5168,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5105
5168
|
sidecars?: undefined;
|
|
5106
5169
|
}) & {
|
|
5107
5170
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5108
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5171
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_9 ? T_9 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5109
5172
|
accessList?: undefined;
|
|
5110
5173
|
authorizationList?: undefined;
|
|
5111
5174
|
blobs?: undefined;
|
|
@@ -5267,7 +5330,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5267
5330
|
sidecars?: undefined;
|
|
5268
5331
|
}) & {
|
|
5269
5332
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5270
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5333
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_9 extends "legacy" ? import("viem").TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5271
5334
|
accessList?: undefined;
|
|
5272
5335
|
authorizationList?: undefined;
|
|
5273
5336
|
blobs?: undefined;
|
|
@@ -5429,7 +5492,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5429
5492
|
sidecars?: undefined;
|
|
5430
5493
|
}) & {
|
|
5431
5494
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5432
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5495
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_10 ? T_10 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5433
5496
|
accessList?: undefined;
|
|
5434
5497
|
authorizationList?: undefined;
|
|
5435
5498
|
blobs?: undefined;
|
|
@@ -5591,7 +5654,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5591
5654
|
sidecars?: undefined;
|
|
5592
5655
|
}) & {
|
|
5593
5656
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5594
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5657
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_10 extends "eip1559" ? import("viem").TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5595
5658
|
accessList?: undefined;
|
|
5596
5659
|
authorizationList?: undefined;
|
|
5597
5660
|
blobs?: undefined;
|
|
@@ -5753,7 +5816,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5753
5816
|
sidecars?: undefined;
|
|
5754
5817
|
}) & {
|
|
5755
5818
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5756
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5819
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_11 ? T_11 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5757
5820
|
accessList?: undefined;
|
|
5758
5821
|
authorizationList?: undefined;
|
|
5759
5822
|
blobs?: undefined;
|
|
@@ -5915,7 +5978,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
5915
5978
|
sidecars?: undefined;
|
|
5916
5979
|
}) & {
|
|
5917
5980
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5918
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5981
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_11 extends "eip2930" ? import("viem").TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
5919
5982
|
accessList?: undefined;
|
|
5920
5983
|
authorizationList?: undefined;
|
|
5921
5984
|
blobs?: undefined;
|
|
@@ -6077,7 +6140,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6077
6140
|
sidecars?: undefined;
|
|
6078
6141
|
}) & {
|
|
6079
6142
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6080
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
6143
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_12 ? T_12 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
6081
6144
|
accessList?: undefined;
|
|
6082
6145
|
authorizationList?: undefined;
|
|
6083
6146
|
blobs?: undefined;
|
|
@@ -6239,7 +6302,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6239
6302
|
sidecars?: undefined;
|
|
6240
6303
|
}) & {
|
|
6241
6304
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6242
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
6305
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip4844" ? import("viem").TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
6243
6306
|
accessList?: undefined;
|
|
6244
6307
|
authorizationList?: undefined;
|
|
6245
6308
|
blobs?: undefined;
|
|
@@ -6401,7 +6464,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6401
6464
|
sidecars?: undefined;
|
|
6402
6465
|
}) & {
|
|
6403
6466
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6404
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
6467
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_13 ? T_13 extends (request["type"] extends string | undefined ? request["type"] : import("viem").GetTransactionType<request, (request extends {
|
|
6405
6468
|
accessList?: undefined;
|
|
6406
6469
|
authorizationList?: undefined;
|
|
6407
6470
|
blobs?: undefined;
|
|
@@ -6563,19 +6626,26 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6563
6626
|
sidecars?: undefined;
|
|
6564
6627
|
}) & {
|
|
6565
6628
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6566
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
6629
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_13 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
6567
6630
|
chainId?: number | undefined;
|
|
6568
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer
|
|
6631
|
+
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_14 ? T_14 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_14 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_14 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K_1]; } : never>;
|
|
6569
6632
|
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
|
|
6570
6633
|
requestPermissions: (args: {
|
|
6571
6634
|
[x: string]: Record<string, any>;
|
|
6572
6635
|
eth_accounts: Record<string, any>;
|
|
6573
6636
|
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
6637
|
+
sendCalls: <const calls extends readonly unknown[], chainOverride_2 extends ViemChain | undefined = undefined>(parameters: import("viem").SendCallsParameters<ViemChain, Account, chainOverride_2, calls>) => Promise<{
|
|
6638
|
+
capabilities?: {
|
|
6639
|
+
[x: string]: any;
|
|
6640
|
+
} | undefined;
|
|
6641
|
+
id: string;
|
|
6642
|
+
}>;
|
|
6574
6643
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
6575
|
-
sendTransaction: <const request_1 extends import("viem").SendTransactionRequest<ViemChain,
|
|
6644
|
+
sendTransaction: <const request_1 extends import("viem").SendTransactionRequest<ViemChain, chainOverride_3>, chainOverride_3 extends ViemChain | undefined = undefined>(args: import("viem").SendTransactionParameters<ViemChain, Account, chainOverride_3, request_1>) => Promise<`0x${string}`>;
|
|
6645
|
+
showCallsStatus: (parameters: import("viem").ShowCallsStatusParameters) => Promise<void>;
|
|
6576
6646
|
signAuthorization: (parameters: import("viem/experimental").SignAuthorizationParameters<Account>) => Promise<import("viem/experimental").SignAuthorizationReturnType>;
|
|
6577
6647
|
signMessage: (args: import("viem").SignMessageParameters<Account>) => Promise<`0x${string}`>;
|
|
6578
|
-
signTransaction: <
|
|
6648
|
+
signTransaction: <chainOverride_4 extends ViemChain | undefined, const request_2 extends import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_4>, "transactionRequest", import("viem").TransactionRequest>, "from"> = import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_4>, "transactionRequest", import("viem").TransactionRequest>, "from">>(args: import("viem").SignTransactionParameters<ViemChain, Account, chainOverride_4, request_2>) => Promise<import("viem").TransactionSerialized<import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
6579
6649
|
accessList?: undefined;
|
|
6580
6650
|
authorizationList?: undefined;
|
|
6581
6651
|
blobs?: undefined;
|
|
@@ -6737,7 +6807,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6737
6807
|
sidecars?: undefined;
|
|
6738
6808
|
}) & {
|
|
6739
6809
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6740
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
6810
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer T_28 ? T_28 extends import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
6741
6811
|
accessList?: undefined;
|
|
6742
6812
|
authorizationList?: undefined;
|
|
6743
6813
|
blobs?: undefined;
|
|
@@ -6818,7 +6888,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6818
6888
|
sidecars?: undefined;
|
|
6819
6889
|
}) & {
|
|
6820
6890
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6821
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
6891
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_28 extends "eip1559" ? `0x02${string}` : never : never : never) | (import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
6822
6892
|
accessList?: undefined;
|
|
6823
6893
|
authorizationList?: undefined;
|
|
6824
6894
|
blobs?: undefined;
|
|
@@ -6899,7 +6969,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6899
6969
|
sidecars?: undefined;
|
|
6900
6970
|
}) & {
|
|
6901
6971
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6902
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
6972
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer T_29 ? T_29 extends import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
6903
6973
|
accessList?: undefined;
|
|
6904
6974
|
authorizationList?: undefined;
|
|
6905
6975
|
blobs?: undefined;
|
|
@@ -6980,7 +7050,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6980
7050
|
sidecars?: undefined;
|
|
6981
7051
|
}) & {
|
|
6982
7052
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6983
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7053
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_29 extends "eip2930" ? `0x01${string}` : never : never : never) | (import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
6984
7054
|
accessList?: undefined;
|
|
6985
7055
|
authorizationList?: undefined;
|
|
6986
7056
|
blobs?: undefined;
|
|
@@ -7061,7 +7131,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7061
7131
|
sidecars?: undefined;
|
|
7062
7132
|
}) & {
|
|
7063
7133
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7064
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7134
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer T_30 ? T_30 extends import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
7065
7135
|
accessList?: undefined;
|
|
7066
7136
|
authorizationList?: undefined;
|
|
7067
7137
|
blobs?: undefined;
|
|
@@ -7142,7 +7212,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7142
7212
|
sidecars?: undefined;
|
|
7143
7213
|
}) & {
|
|
7144
7214
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7145
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7215
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_30 extends "eip4844" ? `0x03${string}` : never : never : never) | (import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
7146
7216
|
accessList?: undefined;
|
|
7147
7217
|
authorizationList?: undefined;
|
|
7148
7218
|
blobs?: undefined;
|
|
@@ -7223,7 +7293,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7223
7293
|
sidecars?: undefined;
|
|
7224
7294
|
}) & {
|
|
7225
7295
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7226
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7296
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer T_31 ? T_31 extends import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
7227
7297
|
accessList?: undefined;
|
|
7228
7298
|
authorizationList?: undefined;
|
|
7229
7299
|
blobs?: undefined;
|
|
@@ -7304,7 +7374,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7304
7374
|
sidecars?: undefined;
|
|
7305
7375
|
}) & {
|
|
7306
7376
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7307
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7377
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_31 extends "eip7702" ? `0x04${string}` : never : never : never) | (import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
7308
7378
|
accessList?: undefined;
|
|
7309
7379
|
authorizationList?: undefined;
|
|
7310
7380
|
blobs?: undefined;
|
|
@@ -7385,7 +7455,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7385
7455
|
sidecars?: undefined;
|
|
7386
7456
|
}) & {
|
|
7387
7457
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7388
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7458
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer T_32 ? T_32 extends import("viem").GetTransactionType<request_2, (request_2 extends {
|
|
7389
7459
|
accessList?: undefined;
|
|
7390
7460
|
authorizationList?: undefined;
|
|
7391
7461
|
blobs?: undefined;
|
|
@@ -7466,7 +7536,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7466
7536
|
sidecars?: undefined;
|
|
7467
7537
|
}) & {
|
|
7468
7538
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7469
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7539
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_32 extends "legacy" ? import("viem").TransactionSerializedLegacy : never : never : never)>>;
|
|
7470
7540
|
signTypedData: <const typedData extends {
|
|
7471
7541
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
7472
7542
|
[x: `string[${string}]`]: undefined;
|
|
@@ -7476,42 +7546,42 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7476
7546
|
[x: `bytes[${string}]`]: undefined;
|
|
7477
7547
|
[x: `bytes11[${string}]`]: undefined;
|
|
7478
7548
|
[x: `bytes1[${string}]`]: undefined;
|
|
7479
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
7480
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
7481
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
7482
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
7483
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
7484
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
7485
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
7486
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
7487
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
7488
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
7489
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
7490
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
7491
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
7492
7549
|
[x: `bytes2[${string}]`]: undefined;
|
|
7493
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
7494
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
7495
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
7496
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
7497
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
7498
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
7499
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
7500
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
7501
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
7502
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
7503
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
7504
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
7505
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
7506
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
7507
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
7508
7550
|
[x: `bytes3[${string}]`]: undefined;
|
|
7551
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
7552
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
7553
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
7554
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
7555
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
7556
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
7557
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
7558
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
7559
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
7560
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
7561
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
7562
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
7563
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
7564
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
7565
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
7566
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
7567
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
7568
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
7569
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
7570
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
7571
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
7572
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
7573
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
7574
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
7575
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
7576
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
7577
|
+
[x: `bytes31[${string}]`]: undefined;
|
|
7578
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
7509
7579
|
[x: `int[${string}]`]: undefined;
|
|
7510
|
-
[x: `int40[${string}]`]: undefined;
|
|
7511
|
-
[x: `int32[${string}]`]: undefined;
|
|
7512
|
-
[x: `int24[${string}]`]: undefined;
|
|
7513
|
-
[x: `int16[${string}]`]: undefined;
|
|
7514
7580
|
[x: `int8[${string}]`]: undefined;
|
|
7581
|
+
[x: `int16[${string}]`]: undefined;
|
|
7582
|
+
[x: `int24[${string}]`]: undefined;
|
|
7583
|
+
[x: `int32[${string}]`]: undefined;
|
|
7584
|
+
[x: `int40[${string}]`]: undefined;
|
|
7515
7585
|
[x: `int48[${string}]`]: undefined;
|
|
7516
7586
|
[x: `int56[${string}]`]: undefined;
|
|
7517
7587
|
[x: `int64[${string}]`]: undefined;
|
|
@@ -7540,11 +7610,11 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7540
7610
|
[x: `int248[${string}]`]: undefined;
|
|
7541
7611
|
[x: `int256[${string}]`]: undefined;
|
|
7542
7612
|
[x: `uint[${string}]`]: undefined;
|
|
7543
|
-
[x: `uint40[${string}]`]: undefined;
|
|
7544
|
-
[x: `uint32[${string}]`]: undefined;
|
|
7545
|
-
[x: `uint24[${string}]`]: undefined;
|
|
7546
|
-
[x: `uint16[${string}]`]: undefined;
|
|
7547
7613
|
[x: `uint8[${string}]`]: undefined;
|
|
7614
|
+
[x: `uint16[${string}]`]: undefined;
|
|
7615
|
+
[x: `uint24[${string}]`]: undefined;
|
|
7616
|
+
[x: `uint32[${string}]`]: undefined;
|
|
7617
|
+
[x: `uint40[${string}]`]: undefined;
|
|
7548
7618
|
[x: `uint48[${string}]`]: undefined;
|
|
7549
7619
|
[x: `uint56[${string}]`]: undefined;
|
|
7550
7620
|
[x: `uint64[${string}]`]: undefined;
|
|
@@ -7578,41 +7648,41 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7578
7648
|
bytes?: undefined;
|
|
7579
7649
|
bytes11?: undefined;
|
|
7580
7650
|
bytes1?: undefined;
|
|
7581
|
-
bytes32?: undefined;
|
|
7582
|
-
bytes31?: undefined;
|
|
7583
|
-
bytes30?: undefined;
|
|
7584
|
-
bytes29?: undefined;
|
|
7585
|
-
bytes28?: undefined;
|
|
7586
|
-
bytes27?: undefined;
|
|
7587
|
-
bytes26?: undefined;
|
|
7588
|
-
bytes25?: undefined;
|
|
7589
|
-
bytes24?: undefined;
|
|
7590
|
-
bytes23?: undefined;
|
|
7591
|
-
bytes22?: undefined;
|
|
7592
|
-
bytes21?: undefined;
|
|
7593
|
-
bytes20?: undefined;
|
|
7594
7651
|
bytes2?: undefined;
|
|
7595
|
-
bytes19?: undefined;
|
|
7596
|
-
bytes18?: undefined;
|
|
7597
|
-
bytes17?: undefined;
|
|
7598
|
-
bytes16?: undefined;
|
|
7599
|
-
bytes15?: undefined;
|
|
7600
|
-
bytes14?: undefined;
|
|
7601
|
-
bytes13?: undefined;
|
|
7602
|
-
bytes12?: undefined;
|
|
7603
|
-
bytes10?: undefined;
|
|
7604
|
-
bytes9?: undefined;
|
|
7605
|
-
bytes8?: undefined;
|
|
7606
|
-
bytes7?: undefined;
|
|
7607
|
-
bytes6?: undefined;
|
|
7608
|
-
bytes5?: undefined;
|
|
7609
|
-
bytes4?: undefined;
|
|
7610
7652
|
bytes3?: undefined;
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7653
|
+
bytes4?: undefined;
|
|
7654
|
+
bytes5?: undefined;
|
|
7655
|
+
bytes6?: undefined;
|
|
7656
|
+
bytes7?: undefined;
|
|
7657
|
+
bytes8?: undefined;
|
|
7658
|
+
bytes9?: undefined;
|
|
7659
|
+
bytes10?: undefined;
|
|
7660
|
+
bytes12?: undefined;
|
|
7661
|
+
bytes13?: undefined;
|
|
7662
|
+
bytes14?: undefined;
|
|
7663
|
+
bytes15?: undefined;
|
|
7664
|
+
bytes16?: undefined;
|
|
7665
|
+
bytes17?: undefined;
|
|
7666
|
+
bytes18?: undefined;
|
|
7667
|
+
bytes19?: undefined;
|
|
7668
|
+
bytes20?: undefined;
|
|
7669
|
+
bytes21?: undefined;
|
|
7670
|
+
bytes22?: undefined;
|
|
7671
|
+
bytes23?: undefined;
|
|
7672
|
+
bytes24?: undefined;
|
|
7673
|
+
bytes25?: undefined;
|
|
7674
|
+
bytes26?: undefined;
|
|
7675
|
+
bytes27?: undefined;
|
|
7676
|
+
bytes28?: undefined;
|
|
7677
|
+
bytes29?: undefined;
|
|
7678
|
+
bytes30?: undefined;
|
|
7679
|
+
bytes31?: undefined;
|
|
7680
|
+
bytes32?: undefined;
|
|
7615
7681
|
int8?: undefined;
|
|
7682
|
+
int16?: undefined;
|
|
7683
|
+
int24?: undefined;
|
|
7684
|
+
int32?: undefined;
|
|
7685
|
+
int40?: undefined;
|
|
7616
7686
|
int48?: undefined;
|
|
7617
7687
|
int56?: undefined;
|
|
7618
7688
|
int64?: undefined;
|
|
@@ -7640,11 +7710,11 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7640
7710
|
int240?: undefined;
|
|
7641
7711
|
int248?: undefined;
|
|
7642
7712
|
int256?: undefined;
|
|
7643
|
-
uint40?: undefined;
|
|
7644
|
-
uint32?: undefined;
|
|
7645
|
-
uint24?: undefined;
|
|
7646
|
-
uint16?: undefined;
|
|
7647
7713
|
uint8?: undefined;
|
|
7714
|
+
uint16?: undefined;
|
|
7715
|
+
uint24?: undefined;
|
|
7716
|
+
uint32?: undefined;
|
|
7717
|
+
uint40?: undefined;
|
|
7648
7718
|
uint48?: undefined;
|
|
7649
7719
|
uint56?: undefined;
|
|
7650
7720
|
uint64?: undefined;
|
|
@@ -7676,8 +7746,22 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7676
7746
|
[key: string]: unknown;
|
|
7677
7747
|
}, primaryType extends string>(args: import("viem").SignTypedDataParameters<typedData, primaryType, Account>) => Promise<`0x${string}`>;
|
|
7678
7748
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
7749
|
+
waitForCallsStatus: (parameters: import("viem").WaitForCallsStatusParameters) => Promise<{
|
|
7750
|
+
chainId: number;
|
|
7751
|
+
id: string;
|
|
7752
|
+
atomic: boolean;
|
|
7753
|
+
capabilities?: {
|
|
7754
|
+
[key: string]: any;
|
|
7755
|
+
} | {
|
|
7756
|
+
[x: string]: any;
|
|
7757
|
+
} | undefined;
|
|
7758
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
7759
|
+
version: string;
|
|
7760
|
+
statusCode: number;
|
|
7761
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
7762
|
+
}>;
|
|
7679
7763
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
7680
|
-
writeContract: <const abi_1 extends import("viem").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi_1, "nonpayable" | "payable">, args extends import("viem").ContractFunctionArgs<abi_1, "nonpayable" | "payable", functionName>,
|
|
7764
|
+
writeContract: <const abi_1 extends import("viem").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi_1, "nonpayable" | "payable">, args extends import("viem").ContractFunctionArgs<abi_1, "nonpayable" | "payable", functionName>, chainOverride_5 extends ViemChain | undefined = undefined>(args: import("viem").WriteContractParameters<abi_1, functionName, args, ViemChain, Account, chainOverride_5>) => Promise<`0x${string}`>;
|
|
7681
7765
|
extend: <const client extends {
|
|
7682
7766
|
[x: string]: unknown;
|
|
7683
7767
|
account?: undefined;
|
|
@@ -7692,7 +7776,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7692
7776
|
transport?: undefined;
|
|
7693
7777
|
type?: undefined;
|
|
7694
7778
|
uid?: undefined;
|
|
7695
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<Transport, ViemChain, Account>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<ViemChain, Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<Transport, ViemChain, Account, import("viem").WalletRpcSchema, import("viem").WalletActions<ViemChain, Account>>) => client) => import("viem").Client<Transport, ViemChain, Account, import("viem").WalletRpcSchema, { [
|
|
7779
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<Transport, ViemChain, Account>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<ViemChain, Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<Transport, ViemChain, Account, import("viem").WalletRpcSchema, import("viem").WalletActions<ViemChain, Account>>) => client) => import("viem").Client<Transport, ViemChain, Account, import("viem").WalletRpcSchema, { [K_2 in keyof client]: client[K_2]; } & import("viem").WalletActions<ViemChain, Account>>;
|
|
7696
7780
|
} | undefined>;
|
|
7697
7781
|
getBalance(address: string): Promise<string | undefined>;
|
|
7698
7782
|
supportsNetworkSwitching(): boolean;
|
|
@@ -9,6 +9,13 @@ var ViemUiTransaction = require('../ViemUiTransaction/ViemUiTransaction.cjs');
|
|
|
9
9
|
|
|
10
10
|
const createAccountWithUiConfirmation = ({ address, account, provider, walletConnector, walletUiUtils, }) => accounts.toAccount({
|
|
11
11
|
address,
|
|
12
|
+
signAuthorization: (...args) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
13
|
+
const accountInstance = yield account();
|
|
14
|
+
if (!accountInstance.signAuthorization) {
|
|
15
|
+
throw new Error('signAuthorization not found');
|
|
16
|
+
}
|
|
17
|
+
return accountInstance.signAuthorization(...args);
|
|
18
|
+
}),
|
|
12
19
|
signMessage: (...args) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
13
20
|
return walletUiUtils.signMessage({
|
|
14
21
|
handler: () => _tslib.__awaiter(void 0, void 0, void 0, function* () { return (yield account()).signMessage(...args); }),
|
|
@@ -29,43 +29,43 @@ export declare const createAccountWithUiConfirmation: ({ address, account, provi
|
|
|
29
29
|
[x: `bool[${string}]`]: undefined;
|
|
30
30
|
[x: `bytes[${string}]`]: undefined;
|
|
31
31
|
[x: `bytes1[${string}]`]: undefined;
|
|
32
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
33
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
34
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
35
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
36
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
37
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
38
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
39
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
40
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
41
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
42
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
43
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
44
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
45
32
|
[x: `bytes2[${string}]`]: undefined;
|
|
46
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
47
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
48
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
49
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
50
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
51
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
52
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
53
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
54
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
55
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
56
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
57
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
58
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
59
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
60
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
61
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
62
33
|
[x: `bytes3[${string}]`]: undefined;
|
|
34
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
35
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
36
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
37
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
38
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
39
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
40
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
41
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
42
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
43
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
44
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
45
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
46
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
47
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
48
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
49
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
50
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
51
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
52
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
53
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
54
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
55
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
56
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
57
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
58
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
59
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
60
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
61
|
+
[x: `bytes31[${string}]`]: undefined;
|
|
62
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
63
63
|
[x: `int[${string}]`]: undefined;
|
|
64
|
-
[x: `int40[${string}]`]: undefined;
|
|
65
|
-
[x: `int32[${string}]`]: undefined;
|
|
66
|
-
[x: `int24[${string}]`]: undefined;
|
|
67
|
-
[x: `int16[${string}]`]: undefined;
|
|
68
64
|
[x: `int8[${string}]`]: undefined;
|
|
65
|
+
[x: `int16[${string}]`]: undefined;
|
|
66
|
+
[x: `int24[${string}]`]: undefined;
|
|
67
|
+
[x: `int32[${string}]`]: undefined;
|
|
68
|
+
[x: `int40[${string}]`]: undefined;
|
|
69
69
|
[x: `int48[${string}]`]: undefined;
|
|
70
70
|
[x: `int56[${string}]`]: undefined;
|
|
71
71
|
[x: `int64[${string}]`]: undefined;
|
|
@@ -94,11 +94,11 @@ export declare const createAccountWithUiConfirmation: ({ address, account, provi
|
|
|
94
94
|
[x: `int248[${string}]`]: undefined;
|
|
95
95
|
[x: `int256[${string}]`]: undefined;
|
|
96
96
|
[x: `uint[${string}]`]: undefined;
|
|
97
|
-
[x: `uint40[${string}]`]: undefined;
|
|
98
|
-
[x: `uint32[${string}]`]: undefined;
|
|
99
|
-
[x: `uint24[${string}]`]: undefined;
|
|
100
|
-
[x: `uint16[${string}]`]: undefined;
|
|
101
97
|
[x: `uint8[${string}]`]: undefined;
|
|
98
|
+
[x: `uint16[${string}]`]: undefined;
|
|
99
|
+
[x: `uint24[${string}]`]: undefined;
|
|
100
|
+
[x: `uint32[${string}]`]: undefined;
|
|
101
|
+
[x: `uint40[${string}]`]: undefined;
|
|
102
102
|
[x: `uint48[${string}]`]: undefined;
|
|
103
103
|
[x: `uint56[${string}]`]: undefined;
|
|
104
104
|
[x: `uint64[${string}]`]: undefined;
|
|
@@ -131,42 +131,42 @@ export declare const createAccountWithUiConfirmation: ({ address, account, provi
|
|
|
131
131
|
bool?: undefined;
|
|
132
132
|
bytes?: undefined;
|
|
133
133
|
bytes1?: undefined;
|
|
134
|
-
bytes32?: undefined;
|
|
135
|
-
bytes31?: undefined;
|
|
136
|
-
bytes30?: undefined;
|
|
137
|
-
bytes29?: undefined;
|
|
138
|
-
bytes28?: undefined;
|
|
139
|
-
bytes27?: undefined;
|
|
140
|
-
bytes26?: undefined;
|
|
141
|
-
bytes25?: undefined;
|
|
142
|
-
bytes24?: undefined;
|
|
143
|
-
bytes23?: undefined;
|
|
144
|
-
bytes22?: undefined;
|
|
145
|
-
bytes21?: undefined;
|
|
146
|
-
bytes20?: undefined;
|
|
147
134
|
bytes2?: undefined;
|
|
148
|
-
bytes19?: undefined;
|
|
149
|
-
bytes18?: undefined;
|
|
150
|
-
bytes17?: undefined;
|
|
151
|
-
bytes16?: undefined;
|
|
152
|
-
bytes15?: undefined;
|
|
153
|
-
bytes14?: undefined;
|
|
154
|
-
bytes13?: undefined;
|
|
155
|
-
bytes12?: undefined;
|
|
156
|
-
bytes11?: undefined;
|
|
157
|
-
bytes10?: undefined;
|
|
158
|
-
bytes9?: undefined;
|
|
159
|
-
bytes8?: undefined;
|
|
160
|
-
bytes7?: undefined;
|
|
161
|
-
bytes6?: undefined;
|
|
162
|
-
bytes5?: undefined;
|
|
163
|
-
bytes4?: undefined;
|
|
164
135
|
bytes3?: undefined;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
136
|
+
bytes4?: undefined;
|
|
137
|
+
bytes5?: undefined;
|
|
138
|
+
bytes6?: undefined;
|
|
139
|
+
bytes7?: undefined;
|
|
140
|
+
bytes8?: undefined;
|
|
141
|
+
bytes9?: undefined;
|
|
142
|
+
bytes10?: undefined;
|
|
143
|
+
bytes11?: undefined;
|
|
144
|
+
bytes12?: undefined;
|
|
145
|
+
bytes13?: undefined;
|
|
146
|
+
bytes14?: undefined;
|
|
147
|
+
bytes15?: undefined;
|
|
148
|
+
bytes16?: undefined;
|
|
149
|
+
bytes17?: undefined;
|
|
150
|
+
bytes18?: undefined;
|
|
151
|
+
bytes19?: undefined;
|
|
152
|
+
bytes20?: undefined;
|
|
153
|
+
bytes21?: undefined;
|
|
154
|
+
bytes22?: undefined;
|
|
155
|
+
bytes23?: undefined;
|
|
156
|
+
bytes24?: undefined;
|
|
157
|
+
bytes25?: undefined;
|
|
158
|
+
bytes26?: undefined;
|
|
159
|
+
bytes27?: undefined;
|
|
160
|
+
bytes28?: undefined;
|
|
161
|
+
bytes29?: undefined;
|
|
162
|
+
bytes30?: undefined;
|
|
163
|
+
bytes31?: undefined;
|
|
164
|
+
bytes32?: undefined;
|
|
169
165
|
int8?: undefined;
|
|
166
|
+
int16?: undefined;
|
|
167
|
+
int24?: undefined;
|
|
168
|
+
int32?: undefined;
|
|
169
|
+
int40?: undefined;
|
|
170
170
|
int48?: undefined;
|
|
171
171
|
int56?: undefined;
|
|
172
172
|
int64?: undefined;
|
|
@@ -194,11 +194,11 @@ export declare const createAccountWithUiConfirmation: ({ address, account, provi
|
|
|
194
194
|
int240?: undefined;
|
|
195
195
|
int248?: undefined;
|
|
196
196
|
int256?: undefined;
|
|
197
|
-
uint40?: undefined;
|
|
198
|
-
uint32?: undefined;
|
|
199
|
-
uint24?: undefined;
|
|
200
|
-
uint16?: undefined;
|
|
201
197
|
uint8?: undefined;
|
|
198
|
+
uint16?: undefined;
|
|
199
|
+
uint24?: undefined;
|
|
200
|
+
uint32?: undefined;
|
|
201
|
+
uint40?: undefined;
|
|
202
202
|
uint48?: undefined;
|
|
203
203
|
uint56?: undefined;
|
|
204
204
|
uint64?: undefined;
|
|
@@ -5,6 +5,13 @@ import { ViemUiTransaction } from '../ViemUiTransaction/ViemUiTransaction.js';
|
|
|
5
5
|
|
|
6
6
|
const createAccountWithUiConfirmation = ({ address, account, provider, walletConnector, walletUiUtils, }) => toAccount({
|
|
7
7
|
address,
|
|
8
|
+
signAuthorization: (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9
|
+
const accountInstance = yield account();
|
|
10
|
+
if (!accountInstance.signAuthorization) {
|
|
11
|
+
throw new Error('signAuthorization not found');
|
|
12
|
+
}
|
|
13
|
+
return accountInstance.signAuthorization(...args);
|
|
14
|
+
}),
|
|
8
15
|
signMessage: (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9
16
|
return walletUiUtils.signMessage({
|
|
10
17
|
handler: () => __awaiter(void 0, void 0, void 0, function* () { return (yield account()).signMessage(...args); }),
|
|
@@ -112,12 +112,32 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
112
112
|
}
|
|
113
113
|
isPaymasterServiceSupported(chainId) {
|
|
114
114
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
115
|
-
|
|
115
|
+
try {
|
|
116
|
+
const supported = yield this._connector.isPaymasterServiceSupported(chainId);
|
|
117
|
+
return supported;
|
|
118
|
+
}
|
|
119
|
+
catch (error) {
|
|
120
|
+
logger.logger.error('[EthereumWallet] isPaymasterServiceSupported', {
|
|
121
|
+
chainId,
|
|
122
|
+
error,
|
|
123
|
+
});
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
116
126
|
});
|
|
117
127
|
}
|
|
118
128
|
isAtomicSupported(chainId) {
|
|
119
129
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
|
|
130
|
+
try {
|
|
131
|
+
const supported = yield this._connector.isAtomicSupported(chainId);
|
|
132
|
+
return supported;
|
|
133
|
+
}
|
|
134
|
+
catch (error) {
|
|
135
|
+
logger.logger.error('[EthereumWallet] isAtomicSupported', {
|
|
136
|
+
chainId,
|
|
137
|
+
error,
|
|
138
|
+
});
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
121
141
|
});
|
|
122
142
|
}
|
|
123
143
|
sendCalls(callParams, options) {
|
|
@@ -140,7 +160,9 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
140
160
|
if (paymasterServiceSupported && (options === null || options === void 0 ? void 0 : options.paymasterURL)) {
|
|
141
161
|
callParams.capabilities = {
|
|
142
162
|
paymasterService: {
|
|
143
|
-
|
|
163
|
+
[chainId]: {
|
|
164
|
+
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
165
|
+
},
|
|
144
166
|
},
|
|
145
167
|
};
|
|
146
168
|
}
|
|
@@ -108,12 +108,32 @@ class EthereumWallet extends Wallet {
|
|
|
108
108
|
}
|
|
109
109
|
isPaymasterServiceSupported(chainId) {
|
|
110
110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
-
|
|
111
|
+
try {
|
|
112
|
+
const supported = yield this._connector.isPaymasterServiceSupported(chainId);
|
|
113
|
+
return supported;
|
|
114
|
+
}
|
|
115
|
+
catch (error) {
|
|
116
|
+
logger.error('[EthereumWallet] isPaymasterServiceSupported', {
|
|
117
|
+
chainId,
|
|
118
|
+
error,
|
|
119
|
+
});
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
112
122
|
});
|
|
113
123
|
}
|
|
114
124
|
isAtomicSupported(chainId) {
|
|
115
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
-
|
|
126
|
+
try {
|
|
127
|
+
const supported = yield this._connector.isAtomicSupported(chainId);
|
|
128
|
+
return supported;
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
logger.error('[EthereumWallet] isAtomicSupported', {
|
|
132
|
+
chainId,
|
|
133
|
+
error,
|
|
134
|
+
});
|
|
135
|
+
return false;
|
|
136
|
+
}
|
|
117
137
|
});
|
|
118
138
|
}
|
|
119
139
|
sendCalls(callParams, options) {
|
|
@@ -136,7 +156,9 @@ class EthereumWallet extends Wallet {
|
|
|
136
156
|
if (paymasterServiceSupported && (options === null || options === void 0 ? void 0 : options.paymasterURL)) {
|
|
137
157
|
callParams.capabilities = {
|
|
138
158
|
paymasterService: {
|
|
139
|
-
|
|
159
|
+
[chainId]: {
|
|
160
|
+
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
161
|
+
},
|
|
140
162
|
},
|
|
141
163
|
};
|
|
142
164
|
}
|