@dynamic-labs/ethereum-core 4.69.0 → 4.71.0
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 +34 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/connector/EthereumWalletConnector.d.ts +88 -65
- package/src/utils/viem/ViemUiTransaction/ViemUiTransaction.cjs +18 -0
- package/src/utils/viem/ViemUiTransaction/ViemUiTransaction.d.ts +12 -0
- package/src/utils/viem/ViemUiTransaction/ViemUiTransaction.js +18 -0
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.d.ts +2 -2
- package/src/wallet/EthereumWallet.cjs +1 -3
- package/src/wallet/EthereumWallet.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,38 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.71.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.70.0...v4.71.0) (2026-03-24)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add Tempo chain connector and core type definitions ([#10672](https://github.com/dynamic-labs/dynamic-auth/issues/10672)) ([0439c15](https://github.com/dynamic-labs/dynamic-auth/commit/0439c153238359083b9f226dcd2ebf6d83e26519))
|
|
8
|
+
* add verifySocial method to demo site step-up auth methods ([#10721](https://github.com/dynamic-labs/dynamic-auth/issues/10721)) ([b9ef517](https://github.com/dynamic-labs/dynamic-auth/commit/b9ef5173df3e3ed08f718de49b036ea899dc1832))
|
|
9
|
+
* **demo:** add Tempo chain support to demo app ([#10674](https://github.com/dynamic-labs/dynamic-auth/issues/10674)) ([a5918fc](https://github.com/dynamic-labs/dynamic-auth/commit/a5918fc2ab0821e7f025aa470573129f71de33cc))
|
|
10
|
+
* repurpose verifyWithExternalJwt for elevated access token requests ([#10743](https://github.com/dynamic-labs/dynamic-auth/issues/10743)) ([d1abda0](https://github.com/dynamic-labs/dynamic-auth/commit/d1abda0111d68c78226d30bd0630e6e341dedad9))
|
|
11
|
+
* **sdk:** add Tempo chain support to UI components ([#10673](https://github.com/dynamic-labs/dynamic-auth/issues/10673)) ([aec9fbb](https://github.com/dynamic-labs/dynamic-auth/commit/aec9fbb20754a2935bffe106e7e8715f46be3de7))
|
|
12
|
+
* support multi-chain wallet creation in createWallet ([#10694](https://github.com/dynamic-labs/dynamic-auth/issues/10694)) ([0b6b57f](https://github.com/dynamic-labs/dynamic-auth/commit/0b6b57f4179c35d1f86d1c8c9c40f52cb307c849))
|
|
13
|
+
* wire up elevatedAccessToken for sign, reshare, and refresh operations ([#10737](https://github.com/dynamic-labs/dynamic-auth/issues/10737)) ([f9d5c76](https://github.com/dynamic-labs/dynamic-auth/commit/f9d5c768037aff4f5d7994b6bc6c338621a6ee6b))
|
|
14
|
+
|
|
15
|
+
## [4.70.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.69.0...v4.70.0) (2026-03-23)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add step-up auth for passkey and TOTP device deletion ([#10688](https://github.com/dynamic-labs/dynamic-auth/issues/10688)) ([aeae325](https://github.com/dynamic-labs/dynamic-auth/commit/aeae32551d3e29c59a1d183984f1d9f00f1df2cb))
|
|
21
|
+
* add stepup authMode to useSocialAuth for OAuth step-up authentication ([#10701](https://github.com/dynamic-labs/dynamic-auth/issues/10701)) ([f8ac0e4](https://github.com/dynamic-labs/dynamic-auth/commit/f8ac0e4a6a039e61d1c83e434e2f678981ff3911))
|
|
22
|
+
* add StepUpReauthSocialView and wire social option in step-up reauth UI ([#10703](https://github.com/dynamic-labs/dynamic-auth/issues/10703)) ([a49393f](https://github.com/dynamic-labs/dynamic-auth/commit/a49393f54a8f210f9cbca892339c3012d38cc5c2))
|
|
23
|
+
* add useStepUpSocial and extend step-up auth for OAuth reauthentication ([#10702](https://github.com/dynamic-labs/dynamic-auth/issues/10702)) ([fb7e21d](https://github.com/dynamic-labs/dynamic-auth/commit/fb7e21d47b3e40659ae3b8ca9321efe1d4401e60))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* aleo defaulting to testnet when connecting ([#10726](https://github.com/dynamic-labs/dynamic-auth/issues/10726)) ([24b0378](https://github.com/dynamic-labs/dynamic-auth/commit/24b0378a25902f5a134940aeeadc9846058d6fb1))
|
|
29
|
+
* override basic-ftp to >=5.2.0 (CVE-2026-27699) ([#10715](https://github.com/dynamic-labs/dynamic-auth/issues/10715)) ([b68a405](https://github.com/dynamic-labs/dynamic-auth/commit/b68a405453f0ea7e04c14492c195b46fbf25b47e))
|
|
30
|
+
* override minimatch to patched versions (CVE-2026-26996) ([#10718](https://github.com/dynamic-labs/dynamic-auth/issues/10718)) ([a69aaee](https://github.com/dynamic-labs/dynamic-auth/commit/a69aaee0859b7e1292a244abde7084f7c4cfdb72))
|
|
31
|
+
* override simple-git to >=3.32.3 (CVE-2026-28292) ([#10717](https://github.com/dynamic-labs/dynamic-auth/issues/10717)) ([8b86545](https://github.com/dynamic-labs/dynamic-auth/commit/8b865453737e4ff0ef9e8d0fbb99ea5f0359af3b))
|
|
32
|
+
* revert session chaining PR to fix IndexedDB webview crash ([#10710](https://github.com/dynamic-labs/dynamic-auth/issues/10710)) ([c4dfe66](https://github.com/dynamic-labs/dynamic-auth/commit/c4dfe66f73e6b9b7115260b06fd90fc0a167e139)), closes [#10706](https://github.com/dynamic-labs/dynamic-auth/issues/10706) [#10423](https://github.com/dynamic-labs/dynamic-auth/issues/10423) [#10423](https://github.com/dynamic-labs/dynamic-auth/issues/10423) [#10706](https://github.com/dynamic-labs/dynamic-auth/issues/10706) [#10423](https://github.com/dynamic-labs/dynamic-auth/issues/10423)
|
|
33
|
+
* update tar, serialize-javascript, svgo overrides ([#10727](https://github.com/dynamic-labs/dynamic-auth/issues/10727)) ([3c764f7](https://github.com/dynamic-labs/dynamic-auth/commit/3c764f71ce2870075eaa800389719a46d8dac233))
|
|
34
|
+
* upgrade rollup to patched versions (CVE-2026-27606) ([#10724](https://github.com/dynamic-labs/dynamic-auth/issues/10724)) ([735133e](https://github.com/dynamic-labs/dynamic-auth/commit/735133e6d4129cad20ae82b86f9507ab9227b36e))
|
|
35
|
+
|
|
2
36
|
## [4.69.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.68.0...v4.69.0) (2026-03-19)
|
|
3
37
|
|
|
4
38
|
|
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.71.0",
|
|
4
4
|
"description": "Core package for utilities and types for viem",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,16 +18,16 @@
|
|
|
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.909",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.71.0",
|
|
23
|
+
"@dynamic-labs/logger": "4.71.0",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.71.0",
|
|
25
|
+
"@dynamic-labs/types": "4.71.0",
|
|
26
|
+
"@dynamic-labs/utils": "4.71.0",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.71.0",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.71.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"viem": "^2.
|
|
31
|
+
"viem": "^2.45.3"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -40,6 +40,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
40
40
|
batch?: {
|
|
41
41
|
multicall?: boolean | {
|
|
42
42
|
batchSize?: number | undefined;
|
|
43
|
+
deployless?: boolean | undefined;
|
|
43
44
|
wait?: number | undefined;
|
|
44
45
|
} | undefined;
|
|
45
46
|
} | undefined;
|
|
@@ -48,6 +49,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
48
49
|
request?: ((parameters: import("viem").CcipRequestParameters) => Promise<`0x${string}`>) | undefined;
|
|
49
50
|
} | undefined;
|
|
50
51
|
chain: ViemChain;
|
|
52
|
+
dataSuffix?: import("viem").DataSuffix | undefined;
|
|
53
|
+
experimental_blockTag?: import("viem").BlockTag | undefined;
|
|
51
54
|
key: string;
|
|
52
55
|
name: string;
|
|
53
56
|
pollingInterval: number;
|
|
@@ -57,6 +60,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
57
60
|
uid: string;
|
|
58
61
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
59
62
|
deployContract: <const abi extends import("viem").Abi | readonly unknown[], chainOverride extends ViemChain | undefined>(args: import("viem").DeployContractParameters<abi, ViemChain, Account, chainOverride>) => Promise<`0x${string}`>;
|
|
63
|
+
fillTransaction: <chainOverride_1 extends ViemChain | undefined = undefined, accountOverride extends `0x${string}` | Account | undefined = undefined>(args: import("viem").FillTransactionParameters<ViemChain, Account, chainOverride_1, accountOverride>) => Promise<import("viem").FillTransactionReturnType<ViemChain, chainOverride_1>>;
|
|
60
64
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
61
65
|
getCallsStatus: (parameters: import("viem").GetCallsStatusParameters) => Promise<{
|
|
62
66
|
chainId: number;
|
|
@@ -123,12 +127,12 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
123
127
|
}>, number>)[K]; } : never>;
|
|
124
128
|
getChainId: () => Promise<number>;
|
|
125
129
|
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
126
|
-
prepareAuthorization: (parameters: import("
|
|
127
|
-
prepareTransactionRequest: <const request extends import("viem").PrepareTransactionRequestRequest<ViemChain,
|
|
130
|
+
prepareAuthorization: (parameters: import("viem").PrepareAuthorizationParameters<Account>) => Promise<import("viem").PrepareAuthorizationReturnType>;
|
|
131
|
+
prepareTransactionRequest: <const request extends import("viem").PrepareTransactionRequestRequest<ViemChain, chainOverride_2>, chainOverride_2 extends ViemChain | undefined = undefined, accountOverride_1 extends `0x${string}` | Account | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<ViemChain, Account, chainOverride_2, accountOverride_1, request>) => Promise<import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_2>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<ViemChain, chainOverride_2> extends infer T_15 ? T_15 extends import("viem").DeriveChain<ViemChain, chainOverride_2> ? T_15 extends ViemChain ? {
|
|
128
132
|
chain: T_15;
|
|
129
133
|
} : {
|
|
130
134
|
chain?: undefined;
|
|
131
|
-
} : never : never) & (import("viem").DeriveAccount<Account,
|
|
135
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride_1> extends infer T_16 ? T_16 extends import("viem").DeriveAccount<Account, accountOverride_1> ? T_16 extends Account ? {
|
|
132
136
|
account: T_16;
|
|
133
137
|
from: `0x${string}`;
|
|
134
138
|
} : {
|
|
@@ -3376,11 +3380,11 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
3376
3380
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
3377
3381
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_26 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
3378
3382
|
chainId?: number | undefined;
|
|
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,
|
|
3383
|
+
}, (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_2>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<ViemChain, chainOverride_2> extends infer T_2 ? T_2 extends import("viem").DeriveChain<ViemChain, chainOverride_2> ? T_2 extends ViemChain ? {
|
|
3380
3384
|
chain: T_2;
|
|
3381
3385
|
} : {
|
|
3382
3386
|
chain?: undefined;
|
|
3383
|
-
} : never : never) & (import("viem").DeriveAccount<Account,
|
|
3387
|
+
} : never : never) & (import("viem").DeriveAccount<Account, accountOverride_1> extends infer T_3 ? T_3 extends import("viem").DeriveAccount<Account, accountOverride_1> ? T_3 extends Account ? {
|
|
3384
3388
|
account: T_3;
|
|
3385
3389
|
from: `0x${string}`;
|
|
3386
3390
|
} : {
|
|
@@ -6634,25 +6638,41 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6634
6638
|
[x: string]: Record<string, any>;
|
|
6635
6639
|
eth_accounts: Record<string, any>;
|
|
6636
6640
|
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
6637
|
-
sendCalls: <const calls extends readonly unknown[],
|
|
6641
|
+
sendCalls: <const calls extends readonly unknown[], chainOverride_3 extends ViemChain | undefined = undefined>(parameters: import("viem").SendCallsParameters<ViemChain, Account, chainOverride_3, calls>) => Promise<{
|
|
6638
6642
|
capabilities?: {
|
|
6639
6643
|
[x: string]: any;
|
|
6640
6644
|
} | undefined;
|
|
6641
6645
|
id: string;
|
|
6642
6646
|
}>;
|
|
6647
|
+
sendCallsSync: <const calls_1 extends readonly unknown[], chainOverride_4 extends ViemChain | undefined = undefined>(parameters: import("viem").SendCallsSyncParameters<ViemChain, Account, chainOverride_4, calls_1>) => Promise<{
|
|
6648
|
+
chainId: number;
|
|
6649
|
+
version: string;
|
|
6650
|
+
id: string;
|
|
6651
|
+
atomic: boolean;
|
|
6652
|
+
capabilities?: {
|
|
6653
|
+
[key: string]: any;
|
|
6654
|
+
} | {
|
|
6655
|
+
[x: string]: any;
|
|
6656
|
+
} | undefined;
|
|
6657
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
6658
|
+
statusCode: number;
|
|
6659
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
6660
|
+
}>;
|
|
6643
6661
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
6644
|
-
|
|
6662
|
+
sendRawTransactionSync: (args: import("viem").SendRawTransactionSyncParameters) => Promise<import("viem").TransactionReceipt>;
|
|
6663
|
+
sendTransaction: <const request_1 extends import("viem").SendTransactionRequest<ViemChain, chainOverride_5>, chainOverride_5 extends ViemChain | undefined = undefined>(args: import("viem").SendTransactionParameters<ViemChain, Account, chainOverride_5, request_1>) => Promise<`0x${string}`>;
|
|
6664
|
+
sendTransactionSync: <const request_2 extends import("viem").SendTransactionSyncRequest<ViemChain, chainOverride_6>, chainOverride_6 extends ViemChain | undefined = undefined>(args: import("viem").SendTransactionSyncParameters<ViemChain, Account, chainOverride_6, request_2>) => Promise<import("viem").TransactionReceipt>;
|
|
6645
6665
|
showCallsStatus: (parameters: import("viem").ShowCallsStatusParameters) => Promise<void>;
|
|
6646
|
-
signAuthorization: (parameters: import("
|
|
6666
|
+
signAuthorization: (parameters: import("viem").SignAuthorizationParameters<Account>) => Promise<import("viem").SignAuthorizationReturnType>;
|
|
6647
6667
|
signMessage: (args: import("viem").SignMessageParameters<Account>) => Promise<`0x${string}`>;
|
|
6648
|
-
signTransaction: <
|
|
6668
|
+
signTransaction: <chainOverride_7 extends ViemChain | undefined, const request_3 extends import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_7>, "transactionRequest", import("viem").TransactionRequest>, "from"> = import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<ViemChain, chainOverride_7>, "transactionRequest", import("viem").TransactionRequest>, "from">>(args: import("viem").SignTransactionParameters<ViemChain, Account, chainOverride_7, request_3>) => Promise<import("viem").TransactionSerialized<import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
6649
6669
|
accessList?: undefined;
|
|
6650
6670
|
authorizationList?: undefined;
|
|
6651
6671
|
blobs?: undefined;
|
|
6652
6672
|
blobVersionedHashes?: undefined;
|
|
6653
6673
|
gasPrice?: bigint | undefined;
|
|
6654
6674
|
sidecars?: undefined;
|
|
6655
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
6675
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
6656
6676
|
accessList?: import("viem").AccessList | undefined;
|
|
6657
6677
|
authorizationList?: undefined;
|
|
6658
6678
|
blobs?: undefined;
|
|
@@ -6668,7 +6688,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6668
6688
|
maxPriorityFeePerGas: bigint;
|
|
6669
6689
|
}, import("viem").FeeValuesEIP1559> & {
|
|
6670
6690
|
accessList?: import("viem").AccessList | undefined;
|
|
6671
|
-
}) ? "eip1559" : never) | (
|
|
6691
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
6672
6692
|
accessList?: import("viem").AccessList | undefined;
|
|
6673
6693
|
authorizationList?: undefined;
|
|
6674
6694
|
blobs?: undefined;
|
|
@@ -6680,7 +6700,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6680
6700
|
maxPriorityFeePerGas?: undefined;
|
|
6681
6701
|
} & {
|
|
6682
6702
|
accessList: import("viem").AccessList | undefined;
|
|
6683
|
-
} ? "eip2930" : never) | (
|
|
6703
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
6684
6704
|
accessList?: import("viem").AccessList | undefined;
|
|
6685
6705
|
authorizationList?: undefined;
|
|
6686
6706
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -6704,7 +6724,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6704
6724
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
6705
6725
|
} | {
|
|
6706
6726
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6707
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
6727
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
6708
6728
|
accessList?: import("viem").AccessList | undefined;
|
|
6709
6729
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
6710
6730
|
blobs?: undefined;
|
|
@@ -6726,14 +6746,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6726
6746
|
sidecars?: undefined;
|
|
6727
6747
|
}) & {
|
|
6728
6748
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6729
|
-
} ? "eip7702" : never) | (
|
|
6749
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)>, (import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
6730
6750
|
accessList?: undefined;
|
|
6731
6751
|
authorizationList?: undefined;
|
|
6732
6752
|
blobs?: undefined;
|
|
6733
6753
|
blobVersionedHashes?: undefined;
|
|
6734
6754
|
gasPrice?: bigint | undefined;
|
|
6735
6755
|
sidecars?: undefined;
|
|
6736
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
6756
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
6737
6757
|
accessList?: import("viem").AccessList | undefined;
|
|
6738
6758
|
authorizationList?: undefined;
|
|
6739
6759
|
blobs?: undefined;
|
|
@@ -6749,7 +6769,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6749
6769
|
maxPriorityFeePerGas: bigint;
|
|
6750
6770
|
}, import("viem").FeeValuesEIP1559> & {
|
|
6751
6771
|
accessList?: import("viem").AccessList | undefined;
|
|
6752
|
-
}) ? "eip1559" : never) | (
|
|
6772
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
6753
6773
|
accessList?: import("viem").AccessList | undefined;
|
|
6754
6774
|
authorizationList?: undefined;
|
|
6755
6775
|
blobs?: undefined;
|
|
@@ -6761,7 +6781,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6761
6781
|
maxPriorityFeePerGas?: undefined;
|
|
6762
6782
|
} & {
|
|
6763
6783
|
accessList: import("viem").AccessList | undefined;
|
|
6764
|
-
} ? "eip2930" : never) | (
|
|
6784
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
6765
6785
|
accessList?: import("viem").AccessList | undefined;
|
|
6766
6786
|
authorizationList?: undefined;
|
|
6767
6787
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -6785,7 +6805,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6785
6805
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
6786
6806
|
} | {
|
|
6787
6807
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6788
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
6808
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
6789
6809
|
accessList?: import("viem").AccessList | undefined;
|
|
6790
6810
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
6791
6811
|
blobs?: undefined;
|
|
@@ -6807,14 +6827,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6807
6827
|
sidecars?: undefined;
|
|
6808
6828
|
}) & {
|
|
6809
6829
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6810
|
-
} ? "eip7702" : never) | (
|
|
6830
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> extends infer T_28 ? T_28 extends import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
6811
6831
|
accessList?: undefined;
|
|
6812
6832
|
authorizationList?: undefined;
|
|
6813
6833
|
blobs?: undefined;
|
|
6814
6834
|
blobVersionedHashes?: undefined;
|
|
6815
6835
|
gasPrice?: bigint | undefined;
|
|
6816
6836
|
sidecars?: undefined;
|
|
6817
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
6837
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
6818
6838
|
accessList?: import("viem").AccessList | undefined;
|
|
6819
6839
|
authorizationList?: undefined;
|
|
6820
6840
|
blobs?: undefined;
|
|
@@ -6830,7 +6850,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6830
6850
|
maxPriorityFeePerGas: bigint;
|
|
6831
6851
|
}, import("viem").FeeValuesEIP1559> & {
|
|
6832
6852
|
accessList?: import("viem").AccessList | undefined;
|
|
6833
|
-
}) ? "eip1559" : never) | (
|
|
6853
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
6834
6854
|
accessList?: import("viem").AccessList | undefined;
|
|
6835
6855
|
authorizationList?: undefined;
|
|
6836
6856
|
blobs?: undefined;
|
|
@@ -6842,7 +6862,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6842
6862
|
maxPriorityFeePerGas?: undefined;
|
|
6843
6863
|
} & {
|
|
6844
6864
|
accessList: import("viem").AccessList | undefined;
|
|
6845
|
-
} ? "eip2930" : never) | (
|
|
6865
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
6846
6866
|
accessList?: import("viem").AccessList | undefined;
|
|
6847
6867
|
authorizationList?: undefined;
|
|
6848
6868
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -6866,7 +6886,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6866
6886
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
6867
6887
|
} | {
|
|
6868
6888
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6869
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
6889
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
6870
6890
|
accessList?: import("viem").AccessList | undefined;
|
|
6871
6891
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
6872
6892
|
blobs?: undefined;
|
|
@@ -6888,14 +6908,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6888
6908
|
sidecars?: undefined;
|
|
6889
6909
|
}) & {
|
|
6890
6910
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6891
|
-
} ? "eip7702" : never) | (
|
|
6911
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> ? T_28 extends "eip1559" ? `0x02${string}` : never : never : never) | (import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
6892
6912
|
accessList?: undefined;
|
|
6893
6913
|
authorizationList?: undefined;
|
|
6894
6914
|
blobs?: undefined;
|
|
6895
6915
|
blobVersionedHashes?: undefined;
|
|
6896
6916
|
gasPrice?: bigint | undefined;
|
|
6897
6917
|
sidecars?: undefined;
|
|
6898
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
6918
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
6899
6919
|
accessList?: import("viem").AccessList | undefined;
|
|
6900
6920
|
authorizationList?: undefined;
|
|
6901
6921
|
blobs?: undefined;
|
|
@@ -6911,7 +6931,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6911
6931
|
maxPriorityFeePerGas: bigint;
|
|
6912
6932
|
}, import("viem").FeeValuesEIP1559> & {
|
|
6913
6933
|
accessList?: import("viem").AccessList | undefined;
|
|
6914
|
-
}) ? "eip1559" : never) | (
|
|
6934
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
6915
6935
|
accessList?: import("viem").AccessList | undefined;
|
|
6916
6936
|
authorizationList?: undefined;
|
|
6917
6937
|
blobs?: undefined;
|
|
@@ -6923,7 +6943,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6923
6943
|
maxPriorityFeePerGas?: undefined;
|
|
6924
6944
|
} & {
|
|
6925
6945
|
accessList: import("viem").AccessList | undefined;
|
|
6926
|
-
} ? "eip2930" : never) | (
|
|
6946
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
6927
6947
|
accessList?: import("viem").AccessList | undefined;
|
|
6928
6948
|
authorizationList?: undefined;
|
|
6929
6949
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -6947,7 +6967,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6947
6967
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
6948
6968
|
} | {
|
|
6949
6969
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6950
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
6970
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
6951
6971
|
accessList?: import("viem").AccessList | undefined;
|
|
6952
6972
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
6953
6973
|
blobs?: undefined;
|
|
@@ -6969,14 +6989,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6969
6989
|
sidecars?: undefined;
|
|
6970
6990
|
}) & {
|
|
6971
6991
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
6972
|
-
} ? "eip7702" : never) | (
|
|
6992
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> extends infer T_29 ? T_29 extends import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
6973
6993
|
accessList?: undefined;
|
|
6974
6994
|
authorizationList?: undefined;
|
|
6975
6995
|
blobs?: undefined;
|
|
6976
6996
|
blobVersionedHashes?: undefined;
|
|
6977
6997
|
gasPrice?: bigint | undefined;
|
|
6978
6998
|
sidecars?: undefined;
|
|
6979
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
6999
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
6980
7000
|
accessList?: import("viem").AccessList | undefined;
|
|
6981
7001
|
authorizationList?: undefined;
|
|
6982
7002
|
blobs?: undefined;
|
|
@@ -6992,7 +7012,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
6992
7012
|
maxPriorityFeePerGas: bigint;
|
|
6993
7013
|
}, import("viem").FeeValuesEIP1559> & {
|
|
6994
7014
|
accessList?: import("viem").AccessList | undefined;
|
|
6995
|
-
}) ? "eip1559" : never) | (
|
|
7015
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
6996
7016
|
accessList?: import("viem").AccessList | undefined;
|
|
6997
7017
|
authorizationList?: undefined;
|
|
6998
7018
|
blobs?: undefined;
|
|
@@ -7004,7 +7024,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7004
7024
|
maxPriorityFeePerGas?: undefined;
|
|
7005
7025
|
} & {
|
|
7006
7026
|
accessList: import("viem").AccessList | undefined;
|
|
7007
|
-
} ? "eip2930" : never) | (
|
|
7027
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7008
7028
|
accessList?: import("viem").AccessList | undefined;
|
|
7009
7029
|
authorizationList?: undefined;
|
|
7010
7030
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7028,7 +7048,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7028
7048
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7029
7049
|
} | {
|
|
7030
7050
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7031
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7051
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7032
7052
|
accessList?: import("viem").AccessList | undefined;
|
|
7033
7053
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7034
7054
|
blobs?: undefined;
|
|
@@ -7050,14 +7070,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7050
7070
|
sidecars?: undefined;
|
|
7051
7071
|
}) & {
|
|
7052
7072
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7053
|
-
} ? "eip7702" : never) | (
|
|
7073
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> ? T_29 extends "eip2930" ? `0x01${string}` : never : never : never) | (import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7054
7074
|
accessList?: undefined;
|
|
7055
7075
|
authorizationList?: undefined;
|
|
7056
7076
|
blobs?: undefined;
|
|
7057
7077
|
blobVersionedHashes?: undefined;
|
|
7058
7078
|
gasPrice?: bigint | undefined;
|
|
7059
7079
|
sidecars?: undefined;
|
|
7060
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7080
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7061
7081
|
accessList?: import("viem").AccessList | undefined;
|
|
7062
7082
|
authorizationList?: undefined;
|
|
7063
7083
|
blobs?: undefined;
|
|
@@ -7073,7 +7093,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7073
7093
|
maxPriorityFeePerGas: bigint;
|
|
7074
7094
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7075
7095
|
accessList?: import("viem").AccessList | undefined;
|
|
7076
|
-
}) ? "eip1559" : never) | (
|
|
7096
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7077
7097
|
accessList?: import("viem").AccessList | undefined;
|
|
7078
7098
|
authorizationList?: undefined;
|
|
7079
7099
|
blobs?: undefined;
|
|
@@ -7085,7 +7105,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7085
7105
|
maxPriorityFeePerGas?: undefined;
|
|
7086
7106
|
} & {
|
|
7087
7107
|
accessList: import("viem").AccessList | undefined;
|
|
7088
|
-
} ? "eip2930" : never) | (
|
|
7108
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7089
7109
|
accessList?: import("viem").AccessList | undefined;
|
|
7090
7110
|
authorizationList?: undefined;
|
|
7091
7111
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7109,7 +7129,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7109
7129
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7110
7130
|
} | {
|
|
7111
7131
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7112
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7132
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7113
7133
|
accessList?: import("viem").AccessList | undefined;
|
|
7114
7134
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7115
7135
|
blobs?: undefined;
|
|
@@ -7131,14 +7151,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7131
7151
|
sidecars?: undefined;
|
|
7132
7152
|
}) & {
|
|
7133
7153
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7134
|
-
} ? "eip7702" : never) | (
|
|
7154
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> extends infer T_30 ? T_30 extends import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7135
7155
|
accessList?: undefined;
|
|
7136
7156
|
authorizationList?: undefined;
|
|
7137
7157
|
blobs?: undefined;
|
|
7138
7158
|
blobVersionedHashes?: undefined;
|
|
7139
7159
|
gasPrice?: bigint | undefined;
|
|
7140
7160
|
sidecars?: undefined;
|
|
7141
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7161
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7142
7162
|
accessList?: import("viem").AccessList | undefined;
|
|
7143
7163
|
authorizationList?: undefined;
|
|
7144
7164
|
blobs?: undefined;
|
|
@@ -7154,7 +7174,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7154
7174
|
maxPriorityFeePerGas: bigint;
|
|
7155
7175
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7156
7176
|
accessList?: import("viem").AccessList | undefined;
|
|
7157
|
-
}) ? "eip1559" : never) | (
|
|
7177
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7158
7178
|
accessList?: import("viem").AccessList | undefined;
|
|
7159
7179
|
authorizationList?: undefined;
|
|
7160
7180
|
blobs?: undefined;
|
|
@@ -7166,7 +7186,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7166
7186
|
maxPriorityFeePerGas?: undefined;
|
|
7167
7187
|
} & {
|
|
7168
7188
|
accessList: import("viem").AccessList | undefined;
|
|
7169
|
-
} ? "eip2930" : never) | (
|
|
7189
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7170
7190
|
accessList?: import("viem").AccessList | undefined;
|
|
7171
7191
|
authorizationList?: undefined;
|
|
7172
7192
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7190,7 +7210,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7190
7210
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7191
7211
|
} | {
|
|
7192
7212
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7193
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7213
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7194
7214
|
accessList?: import("viem").AccessList | undefined;
|
|
7195
7215
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7196
7216
|
blobs?: undefined;
|
|
@@ -7212,14 +7232,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7212
7232
|
sidecars?: undefined;
|
|
7213
7233
|
}) & {
|
|
7214
7234
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7215
|
-
} ? "eip7702" : never) | (
|
|
7235
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> ? T_30 extends "eip4844" ? `0x03${string}` : never : never : never) | (import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7216
7236
|
accessList?: undefined;
|
|
7217
7237
|
authorizationList?: undefined;
|
|
7218
7238
|
blobs?: undefined;
|
|
7219
7239
|
blobVersionedHashes?: undefined;
|
|
7220
7240
|
gasPrice?: bigint | undefined;
|
|
7221
7241
|
sidecars?: undefined;
|
|
7222
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7242
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7223
7243
|
accessList?: import("viem").AccessList | undefined;
|
|
7224
7244
|
authorizationList?: undefined;
|
|
7225
7245
|
blobs?: undefined;
|
|
@@ -7235,7 +7255,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7235
7255
|
maxPriorityFeePerGas: bigint;
|
|
7236
7256
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7237
7257
|
accessList?: import("viem").AccessList | undefined;
|
|
7238
|
-
}) ? "eip1559" : never) | (
|
|
7258
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7239
7259
|
accessList?: import("viem").AccessList | undefined;
|
|
7240
7260
|
authorizationList?: undefined;
|
|
7241
7261
|
blobs?: undefined;
|
|
@@ -7247,7 +7267,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7247
7267
|
maxPriorityFeePerGas?: undefined;
|
|
7248
7268
|
} & {
|
|
7249
7269
|
accessList: import("viem").AccessList | undefined;
|
|
7250
|
-
} ? "eip2930" : never) | (
|
|
7270
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7251
7271
|
accessList?: import("viem").AccessList | undefined;
|
|
7252
7272
|
authorizationList?: undefined;
|
|
7253
7273
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7271,7 +7291,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7271
7291
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7272
7292
|
} | {
|
|
7273
7293
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7274
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7294
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7275
7295
|
accessList?: import("viem").AccessList | undefined;
|
|
7276
7296
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7277
7297
|
blobs?: undefined;
|
|
@@ -7293,14 +7313,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7293
7313
|
sidecars?: undefined;
|
|
7294
7314
|
}) & {
|
|
7295
7315
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7296
|
-
} ? "eip7702" : never) | (
|
|
7316
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> extends infer T_31 ? T_31 extends import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7297
7317
|
accessList?: undefined;
|
|
7298
7318
|
authorizationList?: undefined;
|
|
7299
7319
|
blobs?: undefined;
|
|
7300
7320
|
blobVersionedHashes?: undefined;
|
|
7301
7321
|
gasPrice?: bigint | undefined;
|
|
7302
7322
|
sidecars?: undefined;
|
|
7303
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7323
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7304
7324
|
accessList?: import("viem").AccessList | undefined;
|
|
7305
7325
|
authorizationList?: undefined;
|
|
7306
7326
|
blobs?: undefined;
|
|
@@ -7316,7 +7336,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7316
7336
|
maxPriorityFeePerGas: bigint;
|
|
7317
7337
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7318
7338
|
accessList?: import("viem").AccessList | undefined;
|
|
7319
|
-
}) ? "eip1559" : never) | (
|
|
7339
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7320
7340
|
accessList?: import("viem").AccessList | undefined;
|
|
7321
7341
|
authorizationList?: undefined;
|
|
7322
7342
|
blobs?: undefined;
|
|
@@ -7328,7 +7348,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7328
7348
|
maxPriorityFeePerGas?: undefined;
|
|
7329
7349
|
} & {
|
|
7330
7350
|
accessList: import("viem").AccessList | undefined;
|
|
7331
|
-
} ? "eip2930" : never) | (
|
|
7351
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7332
7352
|
accessList?: import("viem").AccessList | undefined;
|
|
7333
7353
|
authorizationList?: undefined;
|
|
7334
7354
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7352,7 +7372,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7352
7372
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7353
7373
|
} | {
|
|
7354
7374
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7355
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7375
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7356
7376
|
accessList?: import("viem").AccessList | undefined;
|
|
7357
7377
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7358
7378
|
blobs?: undefined;
|
|
@@ -7374,14 +7394,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7374
7394
|
sidecars?: undefined;
|
|
7375
7395
|
}) & {
|
|
7376
7396
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7377
|
-
} ? "eip7702" : never) | (
|
|
7397
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> ? T_31 extends "eip7702" ? `0x04${string}` : never : never : never) | (import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7378
7398
|
accessList?: undefined;
|
|
7379
7399
|
authorizationList?: undefined;
|
|
7380
7400
|
blobs?: undefined;
|
|
7381
7401
|
blobVersionedHashes?: undefined;
|
|
7382
7402
|
gasPrice?: bigint | undefined;
|
|
7383
7403
|
sidecars?: undefined;
|
|
7384
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7404
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7385
7405
|
accessList?: import("viem").AccessList | undefined;
|
|
7386
7406
|
authorizationList?: undefined;
|
|
7387
7407
|
blobs?: undefined;
|
|
@@ -7397,7 +7417,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7397
7417
|
maxPriorityFeePerGas: bigint;
|
|
7398
7418
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7399
7419
|
accessList?: import("viem").AccessList | undefined;
|
|
7400
|
-
}) ? "eip1559" : never) | (
|
|
7420
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7401
7421
|
accessList?: import("viem").AccessList | undefined;
|
|
7402
7422
|
authorizationList?: undefined;
|
|
7403
7423
|
blobs?: undefined;
|
|
@@ -7409,7 +7429,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7409
7429
|
maxPriorityFeePerGas?: undefined;
|
|
7410
7430
|
} & {
|
|
7411
7431
|
accessList: import("viem").AccessList | undefined;
|
|
7412
|
-
} ? "eip2930" : never) | (
|
|
7432
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7413
7433
|
accessList?: import("viem").AccessList | undefined;
|
|
7414
7434
|
authorizationList?: undefined;
|
|
7415
7435
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7433,7 +7453,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7433
7453
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7434
7454
|
} | {
|
|
7435
7455
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7436
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7456
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7437
7457
|
accessList?: import("viem").AccessList | undefined;
|
|
7438
7458
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7439
7459
|
blobs?: undefined;
|
|
@@ -7455,14 +7475,14 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7455
7475
|
sidecars?: undefined;
|
|
7456
7476
|
}) & {
|
|
7457
7477
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7458
|
-
} ? "eip7702" : never) | (
|
|
7478
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> extends infer T_32 ? T_32 extends import("viem").GetTransactionType<request_3, (request_3 extends {
|
|
7459
7479
|
accessList?: undefined;
|
|
7460
7480
|
authorizationList?: undefined;
|
|
7461
7481
|
blobs?: undefined;
|
|
7462
7482
|
blobVersionedHashes?: undefined;
|
|
7463
7483
|
gasPrice?: bigint | undefined;
|
|
7464
7484
|
sidecars?: undefined;
|
|
7465
|
-
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (
|
|
7485
|
+
} & import("viem").FeeValuesLegacy ? "legacy" : never) | (request_3 extends {
|
|
7466
7486
|
accessList?: import("viem").AccessList | undefined;
|
|
7467
7487
|
authorizationList?: undefined;
|
|
7468
7488
|
blobs?: undefined;
|
|
@@ -7478,7 +7498,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7478
7498
|
maxPriorityFeePerGas: bigint;
|
|
7479
7499
|
}, import("viem").FeeValuesEIP1559> & {
|
|
7480
7500
|
accessList?: import("viem").AccessList | undefined;
|
|
7481
|
-
}) ? "eip1559" : never) | (
|
|
7501
|
+
}) ? "eip1559" : never) | (request_3 extends {
|
|
7482
7502
|
accessList?: import("viem").AccessList | undefined;
|
|
7483
7503
|
authorizationList?: undefined;
|
|
7484
7504
|
blobs?: undefined;
|
|
@@ -7490,7 +7510,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7490
7510
|
maxPriorityFeePerGas?: undefined;
|
|
7491
7511
|
} & {
|
|
7492
7512
|
accessList: import("viem").AccessList | undefined;
|
|
7493
|
-
} ? "eip2930" : never) | (
|
|
7513
|
+
} ? "eip2930" : never) | (request_3 extends ({
|
|
7494
7514
|
accessList?: import("viem").AccessList | undefined;
|
|
7495
7515
|
authorizationList?: undefined;
|
|
7496
7516
|
blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
|
|
@@ -7514,7 +7534,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7514
7534
|
blobVersionedHashes: readonly `0x${string}`[] | undefined;
|
|
7515
7535
|
} | {
|
|
7516
7536
|
sidecars: false | readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
7517
|
-
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (
|
|
7537
|
+
}, import("viem").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request_3 extends ({
|
|
7518
7538
|
accessList?: import("viem").AccessList | undefined;
|
|
7519
7539
|
authorizationList?: import("viem").SignedAuthorizationList | undefined;
|
|
7520
7540
|
blobs?: undefined;
|
|
@@ -7536,7 +7556,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7536
7556
|
sidecars?: undefined;
|
|
7537
7557
|
}) & {
|
|
7538
7558
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7539
|
-
} ? "eip7702" : never) | (
|
|
7559
|
+
} ? "eip7702" : never) | (request_3["type"] extends string | undefined ? Extract<request_3["type"], string> : never)> ? T_32 extends "legacy" ? import("viem").TransactionSerializedLegacy : never : never : never)>>;
|
|
7540
7560
|
signTypedData: <const typedData extends {
|
|
7541
7561
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
7542
7562
|
[x: `string[${string}]`]: undefined;
|
|
@@ -7761,7 +7781,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7761
7781
|
status: "pending" | "success" | "failure" | undefined;
|
|
7762
7782
|
}>;
|
|
7763
7783
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
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>,
|
|
7784
|
+
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_8 extends ViemChain | undefined = undefined>(args: import("viem").WriteContractParameters<abi_1, functionName, args, ViemChain, Account, chainOverride_8>) => Promise<`0x${string}`>;
|
|
7785
|
+
writeContractSync: <const abi_2 extends import("viem").Abi | readonly unknown[], functionName_1 extends import("viem").ContractFunctionName<abi_2, "nonpayable" | "payable">, args_1 extends import("viem").ContractFunctionArgs<abi_2, "nonpayable" | "payable", functionName_1>, chainOverride_9 extends ViemChain | undefined = undefined>(args: import("viem").WriteContractSyncParameters<abi_2, functionName_1, args_1, ViemChain, Account, chainOverride_9>) => Promise<import("viem").TransactionReceipt>;
|
|
7765
7786
|
extend: <const client extends {
|
|
7766
7787
|
[x: string]: unknown;
|
|
7767
7788
|
account?: undefined;
|
|
@@ -7769,6 +7790,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7769
7790
|
cacheTime?: undefined;
|
|
7770
7791
|
ccipRead?: undefined;
|
|
7771
7792
|
chain?: undefined;
|
|
7793
|
+
dataSuffix?: undefined;
|
|
7794
|
+
experimental_blockTag?: undefined;
|
|
7772
7795
|
key?: undefined;
|
|
7773
7796
|
name?: undefined;
|
|
7774
7797
|
pollingInterval?: undefined;
|
|
@@ -26,6 +26,12 @@ class ViemUiTransaction extends Eip1559FeeFeed.Eip1559FeeFeed {
|
|
|
26
26
|
this.parseNonNativeToken = (amount, decimals) => viem.parseUnits(amount, decimals);
|
|
27
27
|
this.format = formatEther.formatEther;
|
|
28
28
|
this.formatNonNativeToken = (value, decimals) => viem.formatUnits(value, decimals);
|
|
29
|
+
/**
|
|
30
|
+
* Whether the transaction is gas sponsored.
|
|
31
|
+
* Returns false by default for EVM transactions.
|
|
32
|
+
* Can be overridden for chains like Tempo where fees are paid differently.
|
|
33
|
+
*/
|
|
34
|
+
this.isGasSponsored = () => false;
|
|
29
35
|
this.transaction = transaction;
|
|
30
36
|
this.onSubmit = onSubmit;
|
|
31
37
|
this.publicClient = publicClient;
|
|
@@ -64,6 +70,18 @@ class ViemUiTransaction extends Eip1559FeeFeed.Eip1559FeeFeed {
|
|
|
64
70
|
set nonNativeDecimal(value) {
|
|
65
71
|
this.transaction.nonNativeDecimal = value;
|
|
66
72
|
}
|
|
73
|
+
get feeTokenAddress() {
|
|
74
|
+
return this.transaction.feeTokenAddress;
|
|
75
|
+
}
|
|
76
|
+
set feeTokenAddress(value) {
|
|
77
|
+
this.transaction.feeTokenAddress = value;
|
|
78
|
+
}
|
|
79
|
+
get feeTokenSymbol() {
|
|
80
|
+
return this.transaction.feeTokenSymbol;
|
|
81
|
+
}
|
|
82
|
+
set feeTokenSymbol(value) {
|
|
83
|
+
this.transaction.feeTokenSymbol = value;
|
|
84
|
+
}
|
|
67
85
|
get data() {
|
|
68
86
|
return this.transaction.data;
|
|
69
87
|
}
|
|
@@ -5,6 +5,8 @@ export type NonNativeTransaction = {
|
|
|
5
5
|
nonNativeValue?: bigint;
|
|
6
6
|
nonNativeAddress?: string;
|
|
7
7
|
nonNativeDecimal?: number;
|
|
8
|
+
feeTokenAddress?: string;
|
|
9
|
+
feeTokenSymbol?: string;
|
|
8
10
|
};
|
|
9
11
|
type ViemUiTransactionProps = {
|
|
10
12
|
account: Address;
|
|
@@ -44,12 +46,22 @@ export declare class ViemUiTransaction extends Eip1559FeeFeed implements IUITran
|
|
|
44
46
|
set nonNativeAddress(value: string | undefined);
|
|
45
47
|
get nonNativeDecimal(): number | undefined;
|
|
46
48
|
set nonNativeDecimal(value: number | undefined);
|
|
49
|
+
get feeTokenAddress(): string | undefined;
|
|
50
|
+
set feeTokenAddress(value: string | undefined);
|
|
51
|
+
get feeTokenSymbol(): string | undefined;
|
|
52
|
+
set feeTokenSymbol(value: string | undefined);
|
|
47
53
|
get data(): `0x${string}` | undefined;
|
|
48
54
|
submit(): Promise<string>;
|
|
49
55
|
getBalance(): Promise<bigint>;
|
|
50
56
|
estimateGas(): Promise<bigint>;
|
|
51
57
|
private convertBigIntToHex;
|
|
52
58
|
getTransactionRecipient(): `0x${string}` | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the transaction is gas sponsored.
|
|
61
|
+
* Returns false by default for EVM transactions.
|
|
62
|
+
* Can be overridden for chains like Tempo where fees are paid differently.
|
|
63
|
+
*/
|
|
64
|
+
isGasSponsored: () => boolean;
|
|
53
65
|
estimateL1Fee(): Promise<bigint>;
|
|
54
66
|
set maxFeePerGas(value: bigint);
|
|
55
67
|
set maxPriorityFeePerGas(value: bigint);
|
|
@@ -22,6 +22,12 @@ class ViemUiTransaction extends Eip1559FeeFeed {
|
|
|
22
22
|
this.parseNonNativeToken = (amount, decimals) => parseUnits(amount, decimals);
|
|
23
23
|
this.format = formatEther;
|
|
24
24
|
this.formatNonNativeToken = (value, decimals) => formatUnits(value, decimals);
|
|
25
|
+
/**
|
|
26
|
+
* Whether the transaction is gas sponsored.
|
|
27
|
+
* Returns false by default for EVM transactions.
|
|
28
|
+
* Can be overridden for chains like Tempo where fees are paid differently.
|
|
29
|
+
*/
|
|
30
|
+
this.isGasSponsored = () => false;
|
|
25
31
|
this.transaction = transaction;
|
|
26
32
|
this.onSubmit = onSubmit;
|
|
27
33
|
this.publicClient = publicClient;
|
|
@@ -60,6 +66,18 @@ class ViemUiTransaction extends Eip1559FeeFeed {
|
|
|
60
66
|
set nonNativeDecimal(value) {
|
|
61
67
|
this.transaction.nonNativeDecimal = value;
|
|
62
68
|
}
|
|
69
|
+
get feeTokenAddress() {
|
|
70
|
+
return this.transaction.feeTokenAddress;
|
|
71
|
+
}
|
|
72
|
+
set feeTokenAddress(value) {
|
|
73
|
+
this.transaction.feeTokenAddress = value;
|
|
74
|
+
}
|
|
75
|
+
get feeTokenSymbol() {
|
|
76
|
+
return this.transaction.feeTokenSymbol;
|
|
77
|
+
}
|
|
78
|
+
set feeTokenSymbol(value) {
|
|
79
|
+
this.transaction.feeTokenSymbol = value;
|
|
80
|
+
}
|
|
63
81
|
get data() {
|
|
64
82
|
return this.transaction.data;
|
|
65
83
|
}
|
|
@@ -14,13 +14,13 @@ export declare const createAccountWithUiConfirmation: ({ address, account, provi
|
|
|
14
14
|
sign?: ((parameters: {
|
|
15
15
|
hash: `0x${string}`;
|
|
16
16
|
}) => Promise<`0x${string}`>) | undefined;
|
|
17
|
-
signAuthorization?: ((parameters: import("
|
|
17
|
+
signAuthorization?: ((parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined;
|
|
18
18
|
signMessage: ({ message }: {
|
|
19
19
|
message: import("viem").SignableMessage;
|
|
20
20
|
}) => Promise<`0x${string}`>;
|
|
21
21
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
22
22
|
serializer?: serializer | undefined;
|
|
23
|
-
} | undefined) => Promise
|
|
23
|
+
} | undefined) => Promise<`0x${string}`>;
|
|
24
24
|
signTypedData: <const typedData extends Record<string, unknown> | {
|
|
25
25
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
26
26
|
[x: `string[${string}]`]: undefined;
|
|
@@ -165,9 +165,7 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
165
165
|
if (paymasterServiceSupported && (options === null || options === void 0 ? void 0 : options.paymasterURL)) {
|
|
166
166
|
callParams.capabilities = {
|
|
167
167
|
paymasterService: {
|
|
168
|
-
|
|
169
|
-
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
170
|
-
},
|
|
168
|
+
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
171
169
|
},
|
|
172
170
|
};
|
|
173
171
|
}
|
|
@@ -161,9 +161,7 @@ class EthereumWallet extends Wallet {
|
|
|
161
161
|
if (paymasterServiceSupported && (options === null || options === void 0 ? void 0 : options.paymasterURL)) {
|
|
162
162
|
callParams.capabilities = {
|
|
163
163
|
paymasterService: {
|
|
164
|
-
|
|
165
|
-
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
166
|
-
},
|
|
164
|
+
url: options === null || options === void 0 ? void 0 : options.paymasterURL,
|
|
167
165
|
},
|
|
168
166
|
};
|
|
169
167
|
}
|