@dynamic-labs/ethereum-aa-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 +8 -8
- package/src/connector/AccountAbstractionBaseConnector.cjs +0 -27
- package/src/connector/AccountAbstractionBaseConnector.d.ts +149 -67
- package/src/connector/AccountAbstractionBaseConnector.d.ts.map +1 -1
- package/src/connector/AccountAbstractionBaseConnector.js +2 -29
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-aa-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.1",
|
|
4
4
|
"description": "Core package for Ethereum Account Abstraction utilities and types",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,13 +18,13 @@
|
|
|
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/ethereum-core": "4.
|
|
24
|
-
"@dynamic-labs/types": "4.
|
|
25
|
-
"@dynamic-labs/utils": "4.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.
|
|
27
|
-
"@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/ethereum-core": "4.18.1",
|
|
24
|
+
"@dynamic-labs/types": "4.18.1",
|
|
25
|
+
"@dynamic-labs/utils": "4.18.1",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.18.1",
|
|
27
|
+
"@dynamic-labs/wallet-connector-core": "4.18.1"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"viem": "^2.21.60"
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var viem = require('viem');
|
|
7
|
-
var experimental = require('viem/experimental');
|
|
8
7
|
var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
|
|
9
8
|
var utils = require('@dynamic-labs/utils');
|
|
10
9
|
var ethereumCore = require('@dynamic-labs/ethereum-core');
|
|
@@ -88,32 +87,6 @@ class AccountAbstractionBaseConnector extends walletConnectorCore.WalletConnecto
|
|
|
88
87
|
async getBlockExplorerUrlsForCurrentNetwork() {
|
|
89
88
|
return this.eoaConnector?.getBlockExplorerUrlsForCurrentNetwork() ?? [];
|
|
90
89
|
}
|
|
91
|
-
async isAtomicSupported(chainId) {
|
|
92
|
-
const walletClient = await this.getWalletClient();
|
|
93
|
-
if (!walletClient) {
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
const capabilities = await experimental.getCapabilities(walletClient);
|
|
97
|
-
const chainIdToCheck = chainId ?? (await walletClient.getChainId());
|
|
98
|
-
walletConnectorCore.logger.debug('[AccountAbstractionBaseConnector] isAtomicSupported', {
|
|
99
|
-
capabilities,
|
|
100
|
-
chainId: chainIdToCheck,
|
|
101
|
-
});
|
|
102
|
-
return ethereumCore.hasAtomicStatusCapability(capabilities, chainIdToCheck);
|
|
103
|
-
}
|
|
104
|
-
async isPaymasterServiceSupported(chainId) {
|
|
105
|
-
const walletClient = await this.getWalletClient();
|
|
106
|
-
if (!walletClient) {
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
const capabilities = await experimental.getCapabilities(walletClient);
|
|
110
|
-
const chainIdToCheck = chainId ?? (await walletClient.getChainId());
|
|
111
|
-
walletConnectorCore.logger.debug('[AccountAbstractionBaseConnector] isPaymasterServiceSupported', {
|
|
112
|
-
capabilities,
|
|
113
|
-
chainId: chainIdToCheck,
|
|
114
|
-
});
|
|
115
|
-
return ethereumCore.hasPaymasterServiceCapability(capabilities, chainIdToCheck);
|
|
116
|
-
}
|
|
117
90
|
}
|
|
118
91
|
|
|
119
92
|
exports.AccountAbstractionBaseConnector = AccountAbstractionBaseConnector;
|
|
@@ -59,15 +59,78 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
59
59
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
60
60
|
deployContract: <const abi extends import("viem").Abi | readonly unknown[], chainOverride extends ViemChain | undefined>(args: import("viem").DeployContractParameters<abi, ViemChain, Account, chainOverride>) => Promise<`0x${string}`>;
|
|
61
61
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
62
|
+
getCallsStatus: (parameters: import("viem").GetCallsStatusParameters) => Promise<{
|
|
63
|
+
atomic: boolean;
|
|
64
|
+
capabilities?: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
} | {
|
|
67
|
+
[x: string]: any;
|
|
68
|
+
} | undefined;
|
|
69
|
+
chainId: number;
|
|
70
|
+
id: string;
|
|
71
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
72
|
+
version: string;
|
|
73
|
+
statusCode: number;
|
|
74
|
+
status: "success" | "pending" | "failure" | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
getCapabilities: <chainId extends number | undefined>(parameters?: import("viem").GetCapabilitiesParameters<chainId> | undefined) => Promise<(chainId extends number ? {
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
atomic?: {
|
|
79
|
+
status: "supported" | "ready" | "unsupported";
|
|
80
|
+
} | undefined;
|
|
81
|
+
unstable_addSubAccount?: {
|
|
82
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
83
|
+
supported: boolean;
|
|
84
|
+
} | undefined;
|
|
85
|
+
paymasterService?: {
|
|
86
|
+
supported: boolean;
|
|
87
|
+
} | undefined;
|
|
88
|
+
} : import("viem").WalletCapabilitiesRecord<import("viem").Capabilities<{
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
atomic?: {
|
|
91
|
+
status: "supported" | "ready" | "unsupported";
|
|
92
|
+
} | undefined;
|
|
93
|
+
unstable_addSubAccount?: {
|
|
94
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
95
|
+
supported: boolean;
|
|
96
|
+
} | undefined;
|
|
97
|
+
paymasterService?: {
|
|
98
|
+
supported: boolean;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}>, number>) extends infer T ? { [K in keyof T]: (chainId extends number ? {
|
|
101
|
+
[x: string]: any;
|
|
102
|
+
atomic?: {
|
|
103
|
+
status: "supported" | "ready" | "unsupported";
|
|
104
|
+
} | undefined;
|
|
105
|
+
unstable_addSubAccount?: {
|
|
106
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
107
|
+
supported: boolean;
|
|
108
|
+
} | undefined;
|
|
109
|
+
paymasterService?: {
|
|
110
|
+
supported: boolean;
|
|
111
|
+
} | undefined;
|
|
112
|
+
} : import("viem").WalletCapabilitiesRecord<import("viem").Capabilities<{
|
|
113
|
+
[x: string]: any;
|
|
114
|
+
atomic?: {
|
|
115
|
+
status: "supported" | "ready" | "unsupported";
|
|
116
|
+
} | undefined;
|
|
117
|
+
unstable_addSubAccount?: {
|
|
118
|
+
keyTypes: ("address" | "p256" | "webcrypto-p256" | "webauthn-p256")[];
|
|
119
|
+
supported: boolean;
|
|
120
|
+
} | undefined;
|
|
121
|
+
paymasterService?: {
|
|
122
|
+
supported: boolean;
|
|
123
|
+
} | undefined;
|
|
124
|
+
}>, number>)[K]; } : never>;
|
|
62
125
|
getChainId: () => Promise<number>;
|
|
63
126
|
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
64
127
|
prepareAuthorization: (parameters: import("viem/experimental").PrepareAuthorizationParameters<Account>) => Promise<import("viem/experimental").PrepareAuthorizationReturnType>;
|
|
65
|
-
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
|
|
66
|
-
chain:
|
|
128
|
+
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 ? {
|
|
129
|
+
chain: T_15;
|
|
67
130
|
} : {
|
|
68
131
|
chain?: undefined;
|
|
69
|
-
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer
|
|
70
|
-
account:
|
|
132
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer T_16 ? T_16 extends import("viem").DeriveAccount<Account, accountOverride> ? T_16 extends Account ? {
|
|
133
|
+
account: T_16;
|
|
71
134
|
from: `0x${string}`;
|
|
72
135
|
} : {
|
|
73
136
|
account?: undefined;
|
|
@@ -234,7 +297,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
234
297
|
sidecars?: undefined;
|
|
235
298
|
}) & {
|
|
236
299
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
237
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
300
|
+
} ? "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 {
|
|
238
301
|
accessList?: undefined;
|
|
239
302
|
authorizationList?: undefined;
|
|
240
303
|
blobs?: undefined;
|
|
@@ -396,7 +459,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
396
459
|
sidecars?: undefined;
|
|
397
460
|
}) & {
|
|
398
461
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
399
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
462
|
+
} ? "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 {
|
|
400
463
|
accessList?: undefined;
|
|
401
464
|
authorizationList?: undefined;
|
|
402
465
|
blobs?: undefined;
|
|
@@ -558,7 +621,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
558
621
|
sidecars?: undefined;
|
|
559
622
|
}) & {
|
|
560
623
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
561
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
624
|
+
} ? "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 {
|
|
562
625
|
accessList?: undefined;
|
|
563
626
|
authorizationList?: undefined;
|
|
564
627
|
blobs?: undefined;
|
|
@@ -720,7 +783,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
720
783
|
sidecars?: undefined;
|
|
721
784
|
}) & {
|
|
722
785
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
723
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
786
|
+
} ? "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 {
|
|
724
787
|
accessList?: undefined;
|
|
725
788
|
authorizationList?: undefined;
|
|
726
789
|
blobs?: undefined;
|
|
@@ -882,7 +945,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
882
945
|
sidecars?: undefined;
|
|
883
946
|
}) & {
|
|
884
947
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
885
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
948
|
+
} ? "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 {
|
|
886
949
|
accessList?: undefined;
|
|
887
950
|
authorizationList?: undefined;
|
|
888
951
|
blobs?: undefined;
|
|
@@ -1044,7 +1107,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1044
1107
|
sidecars?: undefined;
|
|
1045
1108
|
}) & {
|
|
1046
1109
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1047
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1110
|
+
} ? "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 {
|
|
1048
1111
|
accessList?: undefined;
|
|
1049
1112
|
authorizationList?: undefined;
|
|
1050
1113
|
blobs?: undefined;
|
|
@@ -1206,7 +1269,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1206
1269
|
sidecars?: undefined;
|
|
1207
1270
|
}) & {
|
|
1208
1271
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1209
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1272
|
+
} ? "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 {
|
|
1210
1273
|
accessList?: undefined;
|
|
1211
1274
|
authorizationList?: undefined;
|
|
1212
1275
|
blobs?: undefined;
|
|
@@ -1368,7 +1431,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1368
1431
|
sidecars?: undefined;
|
|
1369
1432
|
}) & {
|
|
1370
1433
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1371
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1434
|
+
} ? "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 {
|
|
1372
1435
|
accessList?: undefined;
|
|
1373
1436
|
authorizationList?: undefined;
|
|
1374
1437
|
blobs?: undefined;
|
|
@@ -1530,7 +1593,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1530
1593
|
sidecars?: undefined;
|
|
1531
1594
|
}) & {
|
|
1532
1595
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1533
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1596
|
+
} ? "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 {
|
|
1534
1597
|
accessList?: undefined;
|
|
1535
1598
|
authorizationList?: undefined;
|
|
1536
1599
|
blobs?: undefined;
|
|
@@ -1692,7 +1755,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1692
1755
|
sidecars?: undefined;
|
|
1693
1756
|
}) & {
|
|
1694
1757
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1695
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
1758
|
+
} ? "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 {
|
|
1696
1759
|
accessList?: undefined;
|
|
1697
1760
|
authorizationList?: undefined;
|
|
1698
1761
|
blobs?: undefined;
|
|
@@ -1854,7 +1917,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
1854
1917
|
sidecars?: undefined;
|
|
1855
1918
|
}) & {
|
|
1856
1919
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
1857
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
1920
|
+
} ? "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 {
|
|
1858
1921
|
accessList?: undefined;
|
|
1859
1922
|
authorizationList?: undefined;
|
|
1860
1923
|
blobs?: undefined;
|
|
@@ -2016,7 +2079,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2016
2079
|
sidecars?: undefined;
|
|
2017
2080
|
}) & {
|
|
2018
2081
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2019
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2082
|
+
} ? "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 {
|
|
2020
2083
|
accessList?: undefined;
|
|
2021
2084
|
authorizationList?: undefined;
|
|
2022
2085
|
blobs?: undefined;
|
|
@@ -2178,7 +2241,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2178
2241
|
sidecars?: undefined;
|
|
2179
2242
|
}) & {
|
|
2180
2243
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2181
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2244
|
+
} ? "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 {
|
|
2182
2245
|
accessList?: undefined;
|
|
2183
2246
|
authorizationList?: undefined;
|
|
2184
2247
|
blobs?: undefined;
|
|
@@ -2340,7 +2403,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2340
2403
|
sidecars?: undefined;
|
|
2341
2404
|
}) & {
|
|
2342
2405
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2343
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2406
|
+
} ? "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 {
|
|
2344
2407
|
accessList?: undefined;
|
|
2345
2408
|
authorizationList?: undefined;
|
|
2346
2409
|
blobs?: undefined;
|
|
@@ -2502,7 +2565,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2502
2565
|
sidecars?: undefined;
|
|
2503
2566
|
}) & {
|
|
2504
2567
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2505
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2568
|
+
} ? "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 {
|
|
2506
2569
|
accessList?: undefined;
|
|
2507
2570
|
authorizationList?: undefined;
|
|
2508
2571
|
blobs?: undefined;
|
|
@@ -2664,7 +2727,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2664
2727
|
sidecars?: undefined;
|
|
2665
2728
|
}) & {
|
|
2666
2729
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2667
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
2730
|
+
} ? "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 {
|
|
2668
2731
|
accessList?: undefined;
|
|
2669
2732
|
authorizationList?: undefined;
|
|
2670
2733
|
blobs?: undefined;
|
|
@@ -2826,7 +2889,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2826
2889
|
sidecars?: undefined;
|
|
2827
2890
|
}) & {
|
|
2828
2891
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2829
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
2892
|
+
} ? "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 {
|
|
2830
2893
|
accessList?: undefined;
|
|
2831
2894
|
authorizationList?: undefined;
|
|
2832
2895
|
blobs?: undefined;
|
|
@@ -2988,7 +3051,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
2988
3051
|
sidecars?: undefined;
|
|
2989
3052
|
}) & {
|
|
2990
3053
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
2991
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3054
|
+
} ? "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 {
|
|
2992
3055
|
accessList?: undefined;
|
|
2993
3056
|
authorizationList?: undefined;
|
|
2994
3057
|
blobs?: undefined;
|
|
@@ -3150,7 +3213,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3150
3213
|
sidecars?: undefined;
|
|
3151
3214
|
}) & {
|
|
3152
3215
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3153
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3216
|
+
} ? "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 {
|
|
3154
3217
|
accessList?: undefined;
|
|
3155
3218
|
authorizationList?: undefined;
|
|
3156
3219
|
blobs?: undefined;
|
|
@@ -3312,14 +3375,14 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3312
3375
|
sidecars?: undefined;
|
|
3313
3376
|
}) & {
|
|
3314
3377
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3315
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3378
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_26 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
3316
3379
|
chainId?: number | undefined;
|
|
3317
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer
|
|
3318
|
-
chain:
|
|
3380
|
+
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_27 ? T_27 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "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 ? {
|
|
3381
|
+
chain: T_2;
|
|
3319
3382
|
} : {
|
|
3320
3383
|
chain?: undefined;
|
|
3321
|
-
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer
|
|
3322
|
-
account:
|
|
3384
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride> extends infer T_3 ? T_3 extends import("viem").DeriveAccount<Account, accountOverride> ? T_3 extends Account ? {
|
|
3385
|
+
account: T_3;
|
|
3323
3386
|
from: `0x${string}`;
|
|
3324
3387
|
} : {
|
|
3325
3388
|
account?: undefined;
|
|
@@ -3486,7 +3549,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3486
3549
|
sidecars?: undefined;
|
|
3487
3550
|
}) & {
|
|
3488
3551
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3489
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3552
|
+
} ? "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 {
|
|
3490
3553
|
accessList?: undefined;
|
|
3491
3554
|
authorizationList?: undefined;
|
|
3492
3555
|
blobs?: undefined;
|
|
@@ -3648,7 +3711,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3648
3711
|
sidecars?: undefined;
|
|
3649
3712
|
}) & {
|
|
3650
3713
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3651
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
3714
|
+
} ? "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 {
|
|
3652
3715
|
accessList?: undefined;
|
|
3653
3716
|
authorizationList?: undefined;
|
|
3654
3717
|
blobs?: undefined;
|
|
@@ -3810,7 +3873,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3810
3873
|
sidecars?: undefined;
|
|
3811
3874
|
}) & {
|
|
3812
3875
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3813
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
3876
|
+
} ? "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 {
|
|
3814
3877
|
accessList?: undefined;
|
|
3815
3878
|
authorizationList?: undefined;
|
|
3816
3879
|
blobs?: undefined;
|
|
@@ -3972,7 +4035,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
3972
4035
|
sidecars?: undefined;
|
|
3973
4036
|
}) & {
|
|
3974
4037
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3975
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4038
|
+
} ? "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 {
|
|
3976
4039
|
accessList?: undefined;
|
|
3977
4040
|
authorizationList?: undefined;
|
|
3978
4041
|
blobs?: undefined;
|
|
@@ -4134,7 +4197,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4134
4197
|
sidecars?: undefined;
|
|
4135
4198
|
}) & {
|
|
4136
4199
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4137
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4200
|
+
} ? "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 {
|
|
4138
4201
|
accessList?: undefined;
|
|
4139
4202
|
authorizationList?: undefined;
|
|
4140
4203
|
blobs?: undefined;
|
|
@@ -4296,7 +4359,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4296
4359
|
sidecars?: undefined;
|
|
4297
4360
|
}) & {
|
|
4298
4361
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4299
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4362
|
+
} ? "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 {
|
|
4300
4363
|
accessList?: undefined;
|
|
4301
4364
|
authorizationList?: undefined;
|
|
4302
4365
|
blobs?: undefined;
|
|
@@ -4458,7 +4521,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4458
4521
|
sidecars?: undefined;
|
|
4459
4522
|
}) & {
|
|
4460
4523
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4461
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4524
|
+
} ? "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 {
|
|
4462
4525
|
accessList?: undefined;
|
|
4463
4526
|
authorizationList?: undefined;
|
|
4464
4527
|
blobs?: undefined;
|
|
@@ -4620,7 +4683,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4620
4683
|
sidecars?: undefined;
|
|
4621
4684
|
}) & {
|
|
4622
4685
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4623
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
4686
|
+
} ? "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 {
|
|
4624
4687
|
accessList?: undefined;
|
|
4625
4688
|
authorizationList?: undefined;
|
|
4626
4689
|
blobs?: undefined;
|
|
@@ -4782,7 +4845,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4782
4845
|
sidecars?: undefined;
|
|
4783
4846
|
}) & {
|
|
4784
4847
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4785
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
4848
|
+
} ? "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 {
|
|
4786
4849
|
accessList?: undefined;
|
|
4787
4850
|
authorizationList?: undefined;
|
|
4788
4851
|
blobs?: undefined;
|
|
@@ -4944,7 +5007,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
4944
5007
|
sidecars?: undefined;
|
|
4945
5008
|
}) & {
|
|
4946
5009
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4947
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5010
|
+
} ? "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 {
|
|
4948
5011
|
accessList?: undefined;
|
|
4949
5012
|
authorizationList?: undefined;
|
|
4950
5013
|
blobs?: undefined;
|
|
@@ -5106,7 +5169,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5106
5169
|
sidecars?: undefined;
|
|
5107
5170
|
}) & {
|
|
5108
5171
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5109
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5172
|
+
} ? "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 {
|
|
5110
5173
|
accessList?: undefined;
|
|
5111
5174
|
authorizationList?: undefined;
|
|
5112
5175
|
blobs?: undefined;
|
|
@@ -5268,7 +5331,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5268
5331
|
sidecars?: undefined;
|
|
5269
5332
|
}) & {
|
|
5270
5333
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5271
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5334
|
+
} ? "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 {
|
|
5272
5335
|
accessList?: undefined;
|
|
5273
5336
|
authorizationList?: undefined;
|
|
5274
5337
|
blobs?: undefined;
|
|
@@ -5430,7 +5493,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5430
5493
|
sidecars?: undefined;
|
|
5431
5494
|
}) & {
|
|
5432
5495
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5433
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5496
|
+
} ? "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 {
|
|
5434
5497
|
accessList?: undefined;
|
|
5435
5498
|
authorizationList?: undefined;
|
|
5436
5499
|
blobs?: undefined;
|
|
@@ -5592,7 +5655,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5592
5655
|
sidecars?: undefined;
|
|
5593
5656
|
}) & {
|
|
5594
5657
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5595
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5658
|
+
} ? "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 {
|
|
5596
5659
|
accessList?: undefined;
|
|
5597
5660
|
authorizationList?: undefined;
|
|
5598
5661
|
blobs?: undefined;
|
|
@@ -5754,7 +5817,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5754
5817
|
sidecars?: undefined;
|
|
5755
5818
|
}) & {
|
|
5756
5819
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5757
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
5820
|
+
} ? "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 {
|
|
5758
5821
|
accessList?: undefined;
|
|
5759
5822
|
authorizationList?: undefined;
|
|
5760
5823
|
blobs?: undefined;
|
|
@@ -5916,7 +5979,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
5916
5979
|
sidecars?: undefined;
|
|
5917
5980
|
}) & {
|
|
5918
5981
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
5919
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
5982
|
+
} ? "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 {
|
|
5920
5983
|
accessList?: undefined;
|
|
5921
5984
|
authorizationList?: undefined;
|
|
5922
5985
|
blobs?: undefined;
|
|
@@ -6078,7 +6141,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6078
6141
|
sidecars?: undefined;
|
|
6079
6142
|
}) & {
|
|
6080
6143
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6081
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
6144
|
+
} ? "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 {
|
|
6082
6145
|
accessList?: undefined;
|
|
6083
6146
|
authorizationList?: undefined;
|
|
6084
6147
|
blobs?: undefined;
|
|
@@ -6240,7 +6303,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6240
6303
|
sidecars?: undefined;
|
|
6241
6304
|
}) & {
|
|
6242
6305
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6243
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
6306
|
+
} ? "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 {
|
|
6244
6307
|
accessList?: undefined;
|
|
6245
6308
|
authorizationList?: undefined;
|
|
6246
6309
|
blobs?: undefined;
|
|
@@ -6402,7 +6465,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6402
6465
|
sidecars?: undefined;
|
|
6403
6466
|
}) & {
|
|
6404
6467
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6405
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer
|
|
6468
|
+
} ? "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 {
|
|
6406
6469
|
accessList?: undefined;
|
|
6407
6470
|
authorizationList?: undefined;
|
|
6408
6471
|
blobs?: undefined;
|
|
@@ -6564,19 +6627,26 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6564
6627
|
sidecars?: undefined;
|
|
6565
6628
|
}) & {
|
|
6566
6629
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6567
|
-
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ?
|
|
6630
|
+
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_13 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
6568
6631
|
chainId?: number | undefined;
|
|
6569
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer
|
|
6632
|
+
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_14 ? T_14 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "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>;
|
|
6570
6633
|
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
|
|
6571
6634
|
requestPermissions: (args: {
|
|
6572
6635
|
[x: string]: Record<string, any>;
|
|
6573
6636
|
eth_accounts: Record<string, any>;
|
|
6574
6637
|
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
6638
|
+
sendCalls: <const calls extends readonly unknown[], chainOverride_2 extends ViemChain | undefined = undefined>(parameters: import("viem").SendCallsParameters<ViemChain, Account, chainOverride_2, calls>) => Promise<{
|
|
6639
|
+
capabilities?: {
|
|
6640
|
+
[x: string]: any;
|
|
6641
|
+
} | undefined;
|
|
6642
|
+
id: string;
|
|
6643
|
+
}>;
|
|
6575
6644
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
6576
|
-
sendTransaction: <const request_1 extends import("viem").SendTransactionRequest<ViemChain,
|
|
6645
|
+
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}`>;
|
|
6646
|
+
showCallsStatus: (parameters: import("viem").ShowCallsStatusParameters) => Promise<void>;
|
|
6577
6647
|
signAuthorization: (parameters: import("viem/experimental").SignAuthorizationParameters<Account>) => Promise<import("viem/experimental").SignAuthorizationReturnType>;
|
|
6578
6648
|
signMessage: (args: import("viem").SignMessageParameters<Account>) => Promise<`0x${string}`>;
|
|
6579
|
-
signTransaction: <
|
|
6649
|
+
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 {
|
|
6580
6650
|
accessList?: undefined;
|
|
6581
6651
|
authorizationList?: undefined;
|
|
6582
6652
|
blobs?: undefined;
|
|
@@ -6738,7 +6808,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6738
6808
|
sidecars?: undefined;
|
|
6739
6809
|
}) & {
|
|
6740
6810
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6741
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
6811
|
+
} ? "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 {
|
|
6742
6812
|
accessList?: undefined;
|
|
6743
6813
|
authorizationList?: undefined;
|
|
6744
6814
|
blobs?: undefined;
|
|
@@ -6819,7 +6889,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6819
6889
|
sidecars?: undefined;
|
|
6820
6890
|
}) & {
|
|
6821
6891
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6822
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
6892
|
+
} ? "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 {
|
|
6823
6893
|
accessList?: undefined;
|
|
6824
6894
|
authorizationList?: undefined;
|
|
6825
6895
|
blobs?: undefined;
|
|
@@ -6900,7 +6970,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6900
6970
|
sidecars?: undefined;
|
|
6901
6971
|
}) & {
|
|
6902
6972
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6903
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
6973
|
+
} ? "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 {
|
|
6904
6974
|
accessList?: undefined;
|
|
6905
6975
|
authorizationList?: undefined;
|
|
6906
6976
|
blobs?: undefined;
|
|
@@ -6981,7 +7051,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
6981
7051
|
sidecars?: undefined;
|
|
6982
7052
|
}) & {
|
|
6983
7053
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6984
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7054
|
+
} ? "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 {
|
|
6985
7055
|
accessList?: undefined;
|
|
6986
7056
|
authorizationList?: undefined;
|
|
6987
7057
|
blobs?: undefined;
|
|
@@ -7062,7 +7132,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7062
7132
|
sidecars?: undefined;
|
|
7063
7133
|
}) & {
|
|
7064
7134
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7065
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7135
|
+
} ? "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 {
|
|
7066
7136
|
accessList?: undefined;
|
|
7067
7137
|
authorizationList?: undefined;
|
|
7068
7138
|
blobs?: undefined;
|
|
@@ -7143,7 +7213,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7143
7213
|
sidecars?: undefined;
|
|
7144
7214
|
}) & {
|
|
7145
7215
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7146
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7216
|
+
} ? "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 {
|
|
7147
7217
|
accessList?: undefined;
|
|
7148
7218
|
authorizationList?: undefined;
|
|
7149
7219
|
blobs?: undefined;
|
|
@@ -7224,7 +7294,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7224
7294
|
sidecars?: undefined;
|
|
7225
7295
|
}) & {
|
|
7226
7296
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7227
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7297
|
+
} ? "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 {
|
|
7228
7298
|
accessList?: undefined;
|
|
7229
7299
|
authorizationList?: undefined;
|
|
7230
7300
|
blobs?: undefined;
|
|
@@ -7305,7 +7375,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7305
7375
|
sidecars?: undefined;
|
|
7306
7376
|
}) & {
|
|
7307
7377
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7308
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7378
|
+
} ? "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 {
|
|
7309
7379
|
accessList?: undefined;
|
|
7310
7380
|
authorizationList?: undefined;
|
|
7311
7381
|
blobs?: undefined;
|
|
@@ -7386,7 +7456,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7386
7456
|
sidecars?: undefined;
|
|
7387
7457
|
}) & {
|
|
7388
7458
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7389
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> extends infer
|
|
7459
|
+
} ? "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 {
|
|
7390
7460
|
accessList?: undefined;
|
|
7391
7461
|
authorizationList?: undefined;
|
|
7392
7462
|
blobs?: undefined;
|
|
@@ -7467,7 +7537,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7467
7537
|
sidecars?: undefined;
|
|
7468
7538
|
}) & {
|
|
7469
7539
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7470
|
-
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ?
|
|
7540
|
+
} ? "eip7702" : never) | (request_2["type"] extends string | undefined ? Extract<request_2["type"], string> : never)> ? T_32 extends "legacy" ? import("viem").TransactionSerializedLegacy : never : never : never)>>;
|
|
7471
7541
|
signTypedData: <const typedData extends {
|
|
7472
7542
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
7473
7543
|
[x: `string[${string}]`]: undefined;
|
|
@@ -7476,7 +7546,6 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7476
7546
|
[x: `bool[${string}]`]: undefined;
|
|
7477
7547
|
[x: `bytes[${string}]`]: undefined;
|
|
7478
7548
|
[x: `bytes11[${string}]`]: undefined;
|
|
7479
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
7480
7549
|
[x: `bytes1[${string}]`]: undefined;
|
|
7481
7550
|
[x: `bytes2[${string}]`]: undefined;
|
|
7482
7551
|
[x: `bytes3[${string}]`]: undefined;
|
|
@@ -7498,6 +7567,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7498
7567
|
[x: `bytes20[${string}]`]: undefined;
|
|
7499
7568
|
[x: `bytes21[${string}]`]: undefined;
|
|
7500
7569
|
[x: `bytes22[${string}]`]: undefined;
|
|
7570
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
7501
7571
|
[x: `bytes24[${string}]`]: undefined;
|
|
7502
7572
|
[x: `bytes25[${string}]`]: undefined;
|
|
7503
7573
|
[x: `bytes26[${string}]`]: undefined;
|
|
@@ -7578,7 +7648,6 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7578
7648
|
bool?: undefined;
|
|
7579
7649
|
bytes?: undefined;
|
|
7580
7650
|
bytes11?: undefined;
|
|
7581
|
-
bytes23?: undefined;
|
|
7582
7651
|
bytes1?: undefined;
|
|
7583
7652
|
bytes2?: undefined;
|
|
7584
7653
|
bytes3?: undefined;
|
|
@@ -7600,6 +7669,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7600
7669
|
bytes20?: undefined;
|
|
7601
7670
|
bytes21?: undefined;
|
|
7602
7671
|
bytes22?: undefined;
|
|
7672
|
+
bytes23?: undefined;
|
|
7603
7673
|
bytes24?: undefined;
|
|
7604
7674
|
bytes25?: undefined;
|
|
7605
7675
|
bytes26?: undefined;
|
|
@@ -7677,8 +7747,22 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7677
7747
|
[key: string]: unknown;
|
|
7678
7748
|
}, primaryType extends string>(args: import("viem").SignTypedDataParameters<typedData, primaryType, Account>) => Promise<`0x${string}`>;
|
|
7679
7749
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
7750
|
+
waitForCallsStatus: (parameters: import("viem").WaitForCallsStatusParameters) => Promise<{
|
|
7751
|
+
atomic: boolean;
|
|
7752
|
+
capabilities?: {
|
|
7753
|
+
[key: string]: any;
|
|
7754
|
+
} | {
|
|
7755
|
+
[x: string]: any;
|
|
7756
|
+
} | undefined;
|
|
7757
|
+
chainId: number;
|
|
7758
|
+
id: string;
|
|
7759
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
7760
|
+
version: string;
|
|
7761
|
+
statusCode: number;
|
|
7762
|
+
status: "success" | "pending" | "failure" | undefined;
|
|
7763
|
+
}>;
|
|
7680
7764
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
7681
|
-
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>,
|
|
7765
|
+
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}`>;
|
|
7682
7766
|
extend: <const client extends {
|
|
7683
7767
|
[x: string]: unknown;
|
|
7684
7768
|
account?: undefined;
|
|
@@ -7693,7 +7777,7 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7693
7777
|
transport?: undefined;
|
|
7694
7778
|
type?: undefined;
|
|
7695
7779
|
uid?: undefined;
|
|
7696
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<Transport, ViemChain, Account>, "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<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, { [
|
|
7780
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<Transport, ViemChain, Account>, "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<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>>;
|
|
7697
7781
|
} | undefined>;
|
|
7698
7782
|
/**
|
|
7699
7783
|
* Gets the balance for an address
|
|
@@ -7722,7 +7806,5 @@ export declare abstract class AccountAbstractionBaseConnector extends WalletConn
|
|
|
7722
7806
|
shouldSetEoaConnector?: boolean;
|
|
7723
7807
|
}): Promise<void>;
|
|
7724
7808
|
abstract getWalletClient(chainId?: string): WalletClient<Transport, ViemChain, Account> | undefined;
|
|
7725
|
-
isAtomicSupported(chainId?: number): Promise<boolean>;
|
|
7726
|
-
isPaymasterServiceSupported(chainId?: number): Promise<boolean>;
|
|
7727
7809
|
}
|
|
7728
7810
|
//# sourceMappingURL=AccountAbstractionBaseConnector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountAbstractionBaseConnector.d.ts","sourceRoot":"","sources":["../../../../../packages/ethereum-aa-core/src/connector/AccountAbstractionBaseConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,SAAS,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,EAAE,KAAK,KAAK,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"AccountAbstractionBaseConnector.d.ts","sourceRoot":"","sources":["../../../../../packages/ethereum-aa-core/src/connector/AccountAbstractionBaseConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,SAAS,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,EAAE,KAAK,KAAK,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAEtD,OAAO,EACL,KAAK,EACL,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAEL,cAAc,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,cAAc,EACd,aAAa,EACb,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAE5D,8BAAsB,+BAAgC,SAAQ,mBAAmB,CAC/E,OAAO,cAAc,CACtB;IACC,QAAQ,CAAC,YAAY,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAExC,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC,uBAAuB,CAAC,CAAC;IACjE,OAAO,CAAC,yBAAyB,CAAS;IAC1C,SAAS,CAAC,WAAW,EAAE,cAAc,EAAE,CAAM;IAEpC,WAAW,wBAAkB;IAC7B,gBAAgB,UAAQ;IACjC,cAAc,EAAE,KAAK,CAAS;IAC9B,eAAe,EAAE,KAAK,EAAE,CAAkB;gBAE9B,IAAI,EAAE,gCAAgC;IAMlD;;;OAGG;IACH,eAAe,IAAI,uBAAuB,GAAG,SAAS;IAItD;;OAEG;IACH,yBAAyB,IAAI,IAAI;IAIjC;;OAEG;IACH,S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AO,CAAC,cAAc,CAAC;IAgBjD,qCAAqC,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAIzE,QAAQ,CAAC,6BAA6B,CAAC,CAAC,EAAE,EACxC,eAAe,GAChB,EAAE;QACD,eAAe,EAAE,OAAO,CAAC;KAC1B,GAAG,OAAO,CAAC,CAAC,CAAC;IAEd,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE;QAC1B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,uBAAuB,CAAC;QACtC,UAAU,CAAC,EAAE,qBAAqB,CAAC;QACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;KACjC,GAAG,OAAO,CAAC,IAAI,CAAC;aAEC,eAAe,CAC/B,OAAO,CAAC,EAAE,MAAM,GACf,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,SAAS;CAC3D"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { formatEther } from 'viem';
|
|
3
|
-
import {
|
|
4
|
-
import { WalletConnectorBase, logger } from '@dynamic-labs/wallet-connector-core';
|
|
3
|
+
import { WalletConnectorBase } from '@dynamic-labs/wallet-connector-core';
|
|
5
4
|
import { DynamicError } from '@dynamic-labs/utils';
|
|
6
|
-
import { EthereumWallet, createViemUiTransaction
|
|
5
|
+
import { EthereumWallet, createViemUiTransaction } from '@dynamic-labs/ethereum-core';
|
|
7
6
|
|
|
8
7
|
class AccountAbstractionBaseConnector extends WalletConnectorBase {
|
|
9
8
|
constructor(opts) {
|
|
@@ -84,32 +83,6 @@ class AccountAbstractionBaseConnector extends WalletConnectorBase {
|
|
|
84
83
|
async getBlockExplorerUrlsForCurrentNetwork() {
|
|
85
84
|
return this.eoaConnector?.getBlockExplorerUrlsForCurrentNetwork() ?? [];
|
|
86
85
|
}
|
|
87
|
-
async isAtomicSupported(chainId) {
|
|
88
|
-
const walletClient = await this.getWalletClient();
|
|
89
|
-
if (!walletClient) {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
const capabilities = await getCapabilities(walletClient);
|
|
93
|
-
const chainIdToCheck = chainId ?? (await walletClient.getChainId());
|
|
94
|
-
logger.debug('[AccountAbstractionBaseConnector] isAtomicSupported', {
|
|
95
|
-
capabilities,
|
|
96
|
-
chainId: chainIdToCheck,
|
|
97
|
-
});
|
|
98
|
-
return hasAtomicStatusCapability(capabilities, chainIdToCheck);
|
|
99
|
-
}
|
|
100
|
-
async isPaymasterServiceSupported(chainId) {
|
|
101
|
-
const walletClient = await this.getWalletClient();
|
|
102
|
-
if (!walletClient) {
|
|
103
|
-
return false;
|
|
104
|
-
}
|
|
105
|
-
const capabilities = await getCapabilities(walletClient);
|
|
106
|
-
const chainIdToCheck = chainId ?? (await walletClient.getChainId());
|
|
107
|
-
logger.debug('[AccountAbstractionBaseConnector] isPaymasterServiceSupported', {
|
|
108
|
-
capabilities,
|
|
109
|
-
chainId: chainIdToCheck,
|
|
110
|
-
});
|
|
111
|
-
return hasPaymasterServiceCapability(capabilities, chainIdToCheck);
|
|
112
|
-
}
|
|
113
86
|
}
|
|
114
87
|
|
|
115
88
|
export { AccountAbstractionBaseConnector };
|