@dodoex/wallet-web3 0.0.43-beta.1 → 0.0.43-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alchemy-provider-5870b6fa-233c80b6.js +1 -0
- package/dist/alchemy-websocket-provider-213da986-64068b80.js +1 -0
- package/dist/blocto-4c3b71f5.js +1 -0
- package/dist/ccip-da46c435.js +1 -0
- package/dist/cjs/alchemy-provider-5870b6fa-686578f0.cjs +1 -0
- package/dist/cjs/alchemy-websocket-provider-213da986-fff1f59d.cjs +1 -0
- package/dist/cjs/blocto-621f54a9.cjs +1 -0
- package/dist/cjs/ccip-4b1d6858.cjs +1 -0
- package/dist/cjs/{draggabilly-79573f3a.cjs → draggabilly-5b36eaf0.cjs} +1 -1
- package/dist/cjs/id-0b41bc31.cjs +1 -0
- package/dist/{index-11a0760f.js → cjs/index-1e729250.cjs} +2 -2
- package/dist/cjs/index-283b89ff.cjs +1 -0
- package/dist/cjs/index-2d5de895.cjs +1 -0
- package/dist/cjs/{index-eb09e54d.cjs → index-35edc6a0.cjs} +1 -1
- package/dist/cjs/{index-ae56e5a3.cjs → index-44b7a45e.cjs} +3 -3
- package/dist/cjs/index-5560dc58.cjs +17 -0
- package/dist/cjs/index-73e4d7eb.cjs +6 -0
- package/dist/cjs/{index-df8e5839.cjs → index-9f2a69d5.cjs} +1 -1
- package/dist/cjs/index-a4478ddb.cjs +1 -0
- package/dist/cjs/index-d528b9d2.cjs +1 -0
- package/dist/cjs/index-d54b57b8.cjs +1 -0
- package/dist/cjs/index-db36b0fa.cjs +29 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.es-e3bf027a.cjs +9 -0
- package/dist/cjs/{interface-22e176bf.cjs → interface-d076e79e.cjs} +1 -1
- package/dist/cjs/{lib-typedarrays-4ea60734.cjs → lib-typedarrays-68c72268.cjs} +1 -1
- package/dist/cjs/{portis-5a7056fa.cjs → portis-7f3437fb.cjs} +1 -1
- package/dist/cjs/provider-e53a855b.cjs +1 -0
- package/dist/cjs/providers/connector/alchemy/index.d.ts +913 -0
- package/dist/cjs/providers/connector/alchemy/provider.d.ts +914 -0
- package/dist/cjs/providers/connector/alchemy/signer.d.ts +23 -0
- package/dist/cjs/providers/connector/index.d.ts +951 -43
- package/dist/cjs/providers/connector/ledgerUSB/index.d.ts +43 -43
- package/dist/cjs/providers/connector/ledgerUSB/provider.d.ts +10 -10
- package/dist/cjs/providers/connector/types.d.ts +4 -0
- package/dist/cjs/providers/connector/uniPass/index.d.ts +43 -43
- package/dist/cjs/providers/connector/uniPass/provider.d.ts +10 -10
- package/dist/cjs/providers/wallets/index.d.ts +2 -1
- package/dist/cjs/providers/wallets/standalone.d.ts +1 -0
- package/dist/cjs/providers/wallets/types.d.ts +1 -0
- package/dist/cjs/rainbow-dc533bc9.cjs +1 -0
- package/dist/cjs/{sha224-75e384f0.cjs → sha224-d1ef1120.cjs} +1 -1
- package/dist/cjs/sha256-0f5b78af.cjs +1 -0
- package/dist/cjs/typed-data-248c37d5.cjs +1 -0
- package/dist/cjs/uAuth-d9d66e7c.cjs +1 -0
- package/dist/cjs/walletConnect-0d1d9c65.cjs +1 -0
- package/dist/cjs/walletLink-a6046616.cjs +3 -0
- package/dist/{draggabilly-830dc949.js → draggabilly-ad95d562.js} +1 -1
- package/dist/id-d4f3e36f.js +1 -0
- package/dist/index-21179dd1.js +1 -0
- package/dist/index-2691f407.js +1 -0
- package/dist/index-4f86d0d9.js +1 -0
- package/dist/{index-3c4637f0.js → index-52949a22.js} +2 -2
- package/dist/index-5526977f.js +17 -0
- package/dist/index-5a7908b7.js +1 -0
- package/dist/{index-0ee5ef8d.js → index-65d96278.js} +1 -1
- package/dist/index-7e9e2ba1.js +1 -0
- package/dist/{index-a33c0bc7.js → index-7f74b1e8.js} +3 -3
- package/dist/index-af6c16a1.js +29 -0
- package/dist/{cjs/index-4d414966.cjs → index-cd1a9a88.js} +2 -2
- package/dist/{index-e0d3617a.js → index-f08d6a6b.js} +1 -1
- package/dist/index.es-bb0f01ae.js +9 -0
- package/dist/index.js +1 -1
- package/dist/{interface-c16329c9.js → interface-8030d5f3.js} +1 -1
- package/dist/{lib-typedarrays-f90f59e3.js → lib-typedarrays-a4c67579.js} +1 -1
- package/dist/{portis-a86b0a05.js → portis-e2bba602.js} +1 -1
- package/dist/provider-459277d5.js +1 -0
- package/dist/providers/connector/alchemy/index.d.ts +913 -0
- package/dist/providers/connector/alchemy/provider.d.ts +914 -0
- package/dist/providers/connector/alchemy/signer.d.ts +23 -0
- package/dist/providers/connector/index.d.ts +951 -43
- package/dist/providers/connector/ledgerUSB/index.d.ts +43 -43
- package/dist/providers/connector/ledgerUSB/provider.d.ts +10 -10
- package/dist/providers/connector/types.d.ts +4 -0
- package/dist/providers/connector/uniPass/index.d.ts +43 -43
- package/dist/providers/connector/uniPass/provider.d.ts +10 -10
- package/dist/providers/wallets/index.d.ts +2 -1
- package/dist/providers/wallets/standalone.d.ts +1 -0
- package/dist/providers/wallets/types.d.ts +1 -0
- package/dist/rainbow-a06575a1.js +1 -0
- package/dist/sha224-10712709.js +1 -0
- package/dist/sha256-656b18f4.js +1 -0
- package/dist/typed-data-b07573b9.js +1 -0
- package/dist/uAuth-7b727766.js +1 -0
- package/dist/walletConnect-9c01b144.js +1 -0
- package/dist/{walletLink-df58109a.js → walletLink-1b8c2056.js} +2 -2
- package/package.json +11 -4
- package/dist/DefaultJsonRpcProvider-48aec187.js +0 -1
- package/dist/__node-resolve_empty-59fa3c56.js +0 -1
- package/dist/blocto-478b3978.js +0 -1
- package/dist/bn-efc414a2.js +0 -1
- package/dist/browser-ponyfill-bc327969.js +0 -1
- package/dist/cjs/DefaultJsonRpcProvider-55c338f0.cjs +0 -1
- package/dist/cjs/__node-resolve_empty-fd72eb2c.cjs +0 -1
- package/dist/cjs/blocto-965564db.cjs +0 -1
- package/dist/cjs/bn-d506e85d.cjs +0 -1
- package/dist/cjs/browser-ponyfill-323d988f.cjs +0 -1
- package/dist/cjs/ethers-1ba31973.cjs +0 -1
- package/dist/cjs/id-1118c8d9.cjs +0 -1
- package/dist/cjs/index-0122b1eb.cjs +0 -6
- package/dist/cjs/index-0740e7fe.cjs +0 -1
- package/dist/cjs/index-0ce04635.cjs +0 -9
- package/dist/cjs/index-285c5389.cjs +0 -1
- package/dist/cjs/index-3c74ed4c.cjs +0 -1
- package/dist/cjs/index-58465208.cjs +0 -1
- package/dist/cjs/index-685f72cf.cjs +0 -1
- package/dist/cjs/index-99521957.cjs +0 -1
- package/dist/cjs/index-ac9f2e8f.cjs +0 -15
- package/dist/cjs/index-dc6a6c03.cjs +0 -1
- package/dist/cjs/index.es-6fd28bfe.cjs +0 -9
- package/dist/cjs/provider-d22e1228.cjs +0 -1
- package/dist/cjs/rainbow-54c01ab2.cjs +0 -1
- package/dist/cjs/sha256-ab07124e.cjs +0 -1
- package/dist/cjs/uAuth-b9d43d2e.cjs +0 -1
- package/dist/cjs/walletConnect-398a4c97.cjs +0 -1
- package/dist/cjs/walletLink-6199ae38.cjs +0 -3
- package/dist/ethers-1d40d86b.js +0 -1
- package/dist/id-62e12510.js +0 -1
- package/dist/index-02350ba2.js +0 -1
- package/dist/index-115f7417.js +0 -1
- package/dist/index-37f47216.js +0 -1
- package/dist/index-6e901e7d.js +0 -15
- package/dist/index-acc28a9b.js +0 -1
- package/dist/index-b32df058.js +0 -1
- package/dist/index-b659401e.js +0 -9
- package/dist/index-bcc0fefa.js +0 -1
- package/dist/index-d00482ad.js +0 -1
- package/dist/index.es-d4badfa1.js +0 -9
- package/dist/provider-e4a0ed94.js +0 -1
- package/dist/rainbow-3df70217.js +0 -1
- package/dist/sha224-57921047.js +0 -1
- package/dist/sha256-5bd230f1.js +0 -1
- package/dist/uAuth-2e999ea5.js +0 -1
- package/dist/walletConnect-565fd3db.js +0 -1
|
@@ -0,0 +1,914 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ConnectorParams } from '../types';
|
|
3
|
+
import { JsonRpcSigner } from '@ethersproject/providers';
|
|
4
|
+
import { AlchemySigner } from '@alchemy/aa-alchemy';
|
|
5
|
+
import { ChainId } from '../../wallets';
|
|
6
|
+
export declare const supportChainIds: ChainId[];
|
|
7
|
+
export declare function getAlchemySigner(chainId: number): AlchemySigner;
|
|
8
|
+
export declare function createProvider(params: ConnectorParams): Promise<{
|
|
9
|
+
rpcUrl?: string | undefined;
|
|
10
|
+
readonly smartAccountClient: {
|
|
11
|
+
account: import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>;
|
|
12
|
+
batch?: {
|
|
13
|
+
multicall?: boolean | {
|
|
14
|
+
batchSize?: number | undefined;
|
|
15
|
+
wait?: number | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
cacheTime: number;
|
|
19
|
+
chain: import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined;
|
|
20
|
+
key: string;
|
|
21
|
+
name: string;
|
|
22
|
+
pollingInterval: number;
|
|
23
|
+
request: import("viem").EIP1193RequestFn<[{
|
|
24
|
+
Method: "eth_sendUserOperation";
|
|
25
|
+
Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`];
|
|
26
|
+
ReturnType: `0x${string}`;
|
|
27
|
+
}, {
|
|
28
|
+
Method: "eth_estimateUserOperationGas";
|
|
29
|
+
Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`, (import("viem").StateOverride | undefined)?];
|
|
30
|
+
ReturnType: import("@alchemy/aa-core").UserOperationEstimateGasResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
|
|
31
|
+
}, {
|
|
32
|
+
Method: "eth_getUserOperationReceipt";
|
|
33
|
+
Parameters: [`0x${string}`];
|
|
34
|
+
ReturnType: import("@alchemy/aa-core").UserOperationReceipt | null;
|
|
35
|
+
}, {
|
|
36
|
+
Method: "eth_getUserOperationByHash";
|
|
37
|
+
Parameters: [`0x${string}`];
|
|
38
|
+
ReturnType: import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null;
|
|
39
|
+
}, {
|
|
40
|
+
Method: "eth_supportedEntryPoints";
|
|
41
|
+
Parameters: [];
|
|
42
|
+
ReturnType: `0x${string}`[];
|
|
43
|
+
}, {
|
|
44
|
+
Method: "web3_clientVersion";
|
|
45
|
+
Parameters?: undefined;
|
|
46
|
+
ReturnType: string;
|
|
47
|
+
}, {
|
|
48
|
+
Method: "web3_sha3";
|
|
49
|
+
Parameters: [data: `0x${string}`];
|
|
50
|
+
ReturnType: string;
|
|
51
|
+
}, {
|
|
52
|
+
Method: "net_listening";
|
|
53
|
+
Parameters?: undefined;
|
|
54
|
+
ReturnType: boolean;
|
|
55
|
+
}, {
|
|
56
|
+
Method: "net_peerCount";
|
|
57
|
+
Parameters?: undefined;
|
|
58
|
+
ReturnType: `0x${string}`;
|
|
59
|
+
}, {
|
|
60
|
+
Method: "net_version";
|
|
61
|
+
Parameters?: undefined;
|
|
62
|
+
ReturnType: `0x${string}`;
|
|
63
|
+
}, {
|
|
64
|
+
Method: "eth_blobBaseFee";
|
|
65
|
+
Parameters?: undefined;
|
|
66
|
+
ReturnType: `0x${string}`;
|
|
67
|
+
}, {
|
|
68
|
+
Method: "eth_blockNumber";
|
|
69
|
+
Parameters?: undefined;
|
|
70
|
+
ReturnType: `0x${string}`;
|
|
71
|
+
}, {
|
|
72
|
+
Method: "eth_call";
|
|
73
|
+
Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
|
|
74
|
+
ReturnType: `0x${string}`;
|
|
75
|
+
}, {
|
|
76
|
+
Method: "eth_chainId";
|
|
77
|
+
Parameters?: undefined;
|
|
78
|
+
ReturnType: `0x${string}`;
|
|
79
|
+
}, {
|
|
80
|
+
Method: "eth_coinbase";
|
|
81
|
+
Parameters?: undefined;
|
|
82
|
+
ReturnType: `0x${string}`;
|
|
83
|
+
}, {
|
|
84
|
+
Method: "eth_estimateGas";
|
|
85
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
86
|
+
ReturnType: `0x${string}`;
|
|
87
|
+
}, {
|
|
88
|
+
Method: "eth_feeHistory";
|
|
89
|
+
Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
90
|
+
ReturnType: import("viem").RpcFeeHistory;
|
|
91
|
+
}, {
|
|
92
|
+
Method: "eth_gasPrice";
|
|
93
|
+
Parameters?: undefined;
|
|
94
|
+
ReturnType: `0x${string}`;
|
|
95
|
+
}, {
|
|
96
|
+
Method: "eth_getBalance";
|
|
97
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
98
|
+
ReturnType: `0x${string}`;
|
|
99
|
+
}, {
|
|
100
|
+
Method: "eth_getBlockByHash";
|
|
101
|
+
Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
102
|
+
ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
|
|
103
|
+
}, {
|
|
104
|
+
Method: "eth_getBlockByNumber";
|
|
105
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
106
|
+
ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
|
|
107
|
+
}, {
|
|
108
|
+
Method: "eth_getBlockTransactionCountByHash";
|
|
109
|
+
Parameters: [hash: `0x${string}`];
|
|
110
|
+
ReturnType: `0x${string}`;
|
|
111
|
+
}, {
|
|
112
|
+
Method: "eth_getBlockTransactionCountByNumber";
|
|
113
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
114
|
+
ReturnType: `0x${string}`;
|
|
115
|
+
}, {
|
|
116
|
+
Method: "eth_getCode";
|
|
117
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
118
|
+
ReturnType: `0x${string}`;
|
|
119
|
+
}, {
|
|
120
|
+
Method: "eth_getFilterChanges";
|
|
121
|
+
Parameters: [filterId: `0x${string}`];
|
|
122
|
+
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
|
|
123
|
+
}, {
|
|
124
|
+
Method: "eth_getFilterLogs";
|
|
125
|
+
Parameters: [filterId: `0x${string}`];
|
|
126
|
+
ReturnType: import("viem").RpcLog[];
|
|
127
|
+
}, {
|
|
128
|
+
Method: "eth_getLogs";
|
|
129
|
+
Parameters: [{
|
|
130
|
+
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
131
|
+
topics?: import("viem").LogTopic[] | undefined;
|
|
132
|
+
} & ({
|
|
133
|
+
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
134
|
+
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
135
|
+
blockHash?: undefined;
|
|
136
|
+
} | {
|
|
137
|
+
fromBlock?: undefined;
|
|
138
|
+
toBlock?: undefined;
|
|
139
|
+
blockHash?: `0x${string}` | undefined;
|
|
140
|
+
})];
|
|
141
|
+
ReturnType: import("viem").RpcLog[];
|
|
142
|
+
}, {
|
|
143
|
+
Method: "eth_getProof";
|
|
144
|
+
Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
|
|
145
|
+
ReturnType: import("viem").RpcProof;
|
|
146
|
+
}, {
|
|
147
|
+
Method: "eth_getStorageAt";
|
|
148
|
+
Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
149
|
+
ReturnType: `0x${string}`;
|
|
150
|
+
}, {
|
|
151
|
+
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
152
|
+
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
153
|
+
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
154
|
+
}, {
|
|
155
|
+
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
156
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
157
|
+
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
158
|
+
}, {
|
|
159
|
+
Method: "eth_getTransactionByHash";
|
|
160
|
+
Parameters: [hash: `0x${string}`];
|
|
161
|
+
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
162
|
+
}, {
|
|
163
|
+
Method: "eth_getTransactionCount";
|
|
164
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
165
|
+
ReturnType: `0x${string}`;
|
|
166
|
+
}, {
|
|
167
|
+
Method: "eth_getTransactionReceipt";
|
|
168
|
+
Parameters: [hash: `0x${string}`];
|
|
169
|
+
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
170
|
+
}, {
|
|
171
|
+
Method: "eth_getUncleByBlockHashAndIndex";
|
|
172
|
+
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
173
|
+
ReturnType: import("viem").RpcUncle | null;
|
|
174
|
+
}, {
|
|
175
|
+
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
176
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
177
|
+
ReturnType: import("viem").RpcUncle | null;
|
|
178
|
+
}, {
|
|
179
|
+
Method: "eth_getUncleCountByBlockHash";
|
|
180
|
+
Parameters: [hash: `0x${string}`];
|
|
181
|
+
ReturnType: `0x${string}`;
|
|
182
|
+
}, {
|
|
183
|
+
Method: "eth_getUncleCountByBlockNumber";
|
|
184
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
185
|
+
ReturnType: `0x${string}`;
|
|
186
|
+
}, {
|
|
187
|
+
Method: "eth_maxPriorityFeePerGas";
|
|
188
|
+
Parameters?: undefined;
|
|
189
|
+
ReturnType: `0x${string}`;
|
|
190
|
+
}, {
|
|
191
|
+
Method: "eth_newBlockFilter";
|
|
192
|
+
Parameters?: undefined;
|
|
193
|
+
ReturnType: `0x${string}`;
|
|
194
|
+
}, {
|
|
195
|
+
Method: "eth_newFilter";
|
|
196
|
+
Parameters: [filter: {
|
|
197
|
+
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
198
|
+
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
199
|
+
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
200
|
+
topics?: import("viem").LogTopic[] | undefined;
|
|
201
|
+
}];
|
|
202
|
+
ReturnType: `0x${string}`;
|
|
203
|
+
}, {
|
|
204
|
+
Method: "eth_newPendingTransactionFilter";
|
|
205
|
+
Parameters?: undefined;
|
|
206
|
+
ReturnType: `0x${string}`;
|
|
207
|
+
}, {
|
|
208
|
+
Method: "eth_protocolVersion";
|
|
209
|
+
Parameters?: undefined;
|
|
210
|
+
ReturnType: string;
|
|
211
|
+
}, {
|
|
212
|
+
Method: "eth_sendRawTransaction";
|
|
213
|
+
Parameters: [signedTransaction: `0x${string}`];
|
|
214
|
+
ReturnType: `0x${string}`;
|
|
215
|
+
}, {
|
|
216
|
+
Method: "eth_uninstallFilter";
|
|
217
|
+
Parameters: [filterId: `0x${string}`];
|
|
218
|
+
ReturnType: boolean;
|
|
219
|
+
}, {
|
|
220
|
+
Method: "alchemy_requestPaymasterAndData";
|
|
221
|
+
Parameters: [{
|
|
222
|
+
policyId: string;
|
|
223
|
+
entryPoint: `0x${string}`;
|
|
224
|
+
userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
|
|
225
|
+
}];
|
|
226
|
+
ReturnType: {
|
|
227
|
+
paymasterAndData: `0x${string}`;
|
|
228
|
+
} | Pick<import("@alchemy/aa-core").UserOperationRequest_v7, "paymaster" | "paymasterData">;
|
|
229
|
+
}, {
|
|
230
|
+
Method: "alchemy_requestGasAndPaymasterAndData";
|
|
231
|
+
Parameters: [{
|
|
232
|
+
policyId: string;
|
|
233
|
+
entryPoint: `0x${string}`;
|
|
234
|
+
userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
|
|
235
|
+
dummySignature: `0x${string}`;
|
|
236
|
+
overrides?: Partial<{}> | undefined;
|
|
237
|
+
}];
|
|
238
|
+
ReturnType: import("@alchemy/aa-alchemy").RequestGasAndPaymasterAndDataResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
|
|
239
|
+
}, {
|
|
240
|
+
Method: "alchemy_simulateUserOperationAssetChanges";
|
|
241
|
+
Parameters: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesRequest;
|
|
242
|
+
ReturnType: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse;
|
|
243
|
+
}, {
|
|
244
|
+
Method: "rundler_maxPriorityFeePerGas";
|
|
245
|
+
Parameters: [];
|
|
246
|
+
ReturnType: `0x${string}`;
|
|
247
|
+
}]>;
|
|
248
|
+
transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn<undefined>>;
|
|
249
|
+
type: string;
|
|
250
|
+
uid: string;
|
|
251
|
+
updateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
252
|
+
readonly stateMutability: "nonpayable";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
readonly inputs: readonly [{
|
|
255
|
+
readonly name: "ownersToAdd";
|
|
256
|
+
readonly internalType: "address[]";
|
|
257
|
+
readonly type: "address[]";
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "ownersToRemove";
|
|
260
|
+
readonly internalType: "address[]";
|
|
261
|
+
readonly type: "address[]";
|
|
262
|
+
}];
|
|
263
|
+
readonly name: "updateOwners";
|
|
264
|
+
readonly outputs: readonly [];
|
|
265
|
+
}, {
|
|
266
|
+
readonly stateMutability: "view";
|
|
267
|
+
readonly type: "function";
|
|
268
|
+
readonly inputs: readonly [];
|
|
269
|
+
readonly name: "eip712Domain";
|
|
270
|
+
readonly outputs: readonly [{
|
|
271
|
+
readonly name: "fields";
|
|
272
|
+
readonly internalType: "bytes1";
|
|
273
|
+
readonly type: "bytes1";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "name";
|
|
276
|
+
readonly internalType: "string";
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
}, {
|
|
279
|
+
readonly name: "version";
|
|
280
|
+
readonly internalType: "string";
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "chainId";
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly type: "uint256";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "verifyingContract";
|
|
288
|
+
readonly internalType: "address";
|
|
289
|
+
readonly type: "address";
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "salt";
|
|
292
|
+
readonly internalType: "bytes32";
|
|
293
|
+
readonly type: "bytes32";
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "extensions";
|
|
296
|
+
readonly internalType: "uint256[]";
|
|
297
|
+
readonly type: "uint256[]";
|
|
298
|
+
}];
|
|
299
|
+
}, {
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
readonly inputs: readonly [{
|
|
303
|
+
readonly name: "digest";
|
|
304
|
+
readonly internalType: "bytes32";
|
|
305
|
+
readonly type: "bytes32";
|
|
306
|
+
}, {
|
|
307
|
+
readonly name: "signature";
|
|
308
|
+
readonly internalType: "bytes";
|
|
309
|
+
readonly type: "bytes";
|
|
310
|
+
}];
|
|
311
|
+
readonly name: "isValidSignature";
|
|
312
|
+
readonly outputs: readonly [{
|
|
313
|
+
readonly name: "";
|
|
314
|
+
readonly internalType: "bytes4";
|
|
315
|
+
readonly type: "bytes4";
|
|
316
|
+
}];
|
|
317
|
+
}], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
|
|
318
|
+
overrides?: Partial<{
|
|
319
|
+
callGasLimit: number | bigint | `0x${string}` | {
|
|
320
|
+
multiplier: number;
|
|
321
|
+
} | undefined;
|
|
322
|
+
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
323
|
+
multiplier: number;
|
|
324
|
+
} | undefined;
|
|
325
|
+
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
326
|
+
multiplier: number;
|
|
327
|
+
} | undefined;
|
|
328
|
+
preVerificationGas: number | bigint | `0x${string}` | {
|
|
329
|
+
multiplier: number;
|
|
330
|
+
} | undefined;
|
|
331
|
+
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
332
|
+
multiplier: number;
|
|
333
|
+
} | undefined;
|
|
334
|
+
nonceKey: bigint;
|
|
335
|
+
stateOverride: import("viem").StateOverride;
|
|
336
|
+
} & ({
|
|
337
|
+
paymasterAndData: "0x";
|
|
338
|
+
} | {
|
|
339
|
+
paymasterData: "0x";
|
|
340
|
+
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
341
|
+
multiplier: number;
|
|
342
|
+
};
|
|
343
|
+
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
344
|
+
multiplier: number;
|
|
345
|
+
};
|
|
346
|
+
})> | undefined;
|
|
347
|
+
} & {
|
|
348
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
349
|
+
} & {
|
|
350
|
+
context?: undefined;
|
|
351
|
+
}) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
352
|
+
installMultiOwnerPlugin: (args: {
|
|
353
|
+
overrides?: Partial<{
|
|
354
|
+
callGasLimit: number | bigint | `0x${string}` | {
|
|
355
|
+
multiplier: number;
|
|
356
|
+
} | undefined;
|
|
357
|
+
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
358
|
+
multiplier: number;
|
|
359
|
+
} | undefined;
|
|
360
|
+
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
361
|
+
multiplier: number;
|
|
362
|
+
} | undefined;
|
|
363
|
+
preVerificationGas: number | bigint | `0x${string}` | {
|
|
364
|
+
multiplier: number;
|
|
365
|
+
} | undefined;
|
|
366
|
+
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
367
|
+
multiplier: number;
|
|
368
|
+
} | undefined;
|
|
369
|
+
nonceKey: bigint;
|
|
370
|
+
stateOverride: import("viem").StateOverride;
|
|
371
|
+
} & ({
|
|
372
|
+
paymasterAndData: "0x";
|
|
373
|
+
} | {
|
|
374
|
+
paymasterData: "0x";
|
|
375
|
+
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
376
|
+
multiplier: number;
|
|
377
|
+
};
|
|
378
|
+
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
379
|
+
multiplier: number;
|
|
380
|
+
};
|
|
381
|
+
})> | undefined;
|
|
382
|
+
} & import("@alchemy/aa-accounts/dist/types/src/msca/plugins/multi-owner/plugin").InstallMultiOwnerPluginParams & {
|
|
383
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
384
|
+
} & {
|
|
385
|
+
context?: undefined;
|
|
386
|
+
}) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
387
|
+
encodeUpdateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
388
|
+
readonly stateMutability: "nonpayable";
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly inputs: readonly [{
|
|
391
|
+
readonly name: "ownersToAdd";
|
|
392
|
+
readonly internalType: "address[]";
|
|
393
|
+
readonly type: "address[]";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "ownersToRemove";
|
|
396
|
+
readonly internalType: "address[]";
|
|
397
|
+
readonly type: "address[]";
|
|
398
|
+
}];
|
|
399
|
+
readonly name: "updateOwners";
|
|
400
|
+
readonly outputs: readonly [];
|
|
401
|
+
}, {
|
|
402
|
+
readonly stateMutability: "view";
|
|
403
|
+
readonly type: "function";
|
|
404
|
+
readonly inputs: readonly [];
|
|
405
|
+
readonly name: "eip712Domain";
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly name: "fields";
|
|
408
|
+
readonly internalType: "bytes1";
|
|
409
|
+
readonly type: "bytes1";
|
|
410
|
+
}, {
|
|
411
|
+
readonly name: "name";
|
|
412
|
+
readonly internalType: "string";
|
|
413
|
+
readonly type: "string";
|
|
414
|
+
}, {
|
|
415
|
+
readonly name: "version";
|
|
416
|
+
readonly internalType: "string";
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
}, {
|
|
419
|
+
readonly name: "chainId";
|
|
420
|
+
readonly internalType: "uint256";
|
|
421
|
+
readonly type: "uint256";
|
|
422
|
+
}, {
|
|
423
|
+
readonly name: "verifyingContract";
|
|
424
|
+
readonly internalType: "address";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "salt";
|
|
428
|
+
readonly internalType: "bytes32";
|
|
429
|
+
readonly type: "bytes32";
|
|
430
|
+
}, {
|
|
431
|
+
readonly name: "extensions";
|
|
432
|
+
readonly internalType: "uint256[]";
|
|
433
|
+
readonly type: "uint256[]";
|
|
434
|
+
}];
|
|
435
|
+
}, {
|
|
436
|
+
readonly stateMutability: "view";
|
|
437
|
+
readonly type: "function";
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly name: "digest";
|
|
440
|
+
readonly internalType: "bytes32";
|
|
441
|
+
readonly type: "bytes32";
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "signature";
|
|
444
|
+
readonly internalType: "bytes";
|
|
445
|
+
readonly type: "bytes";
|
|
446
|
+
}];
|
|
447
|
+
readonly name: "isValidSignature";
|
|
448
|
+
readonly outputs: readonly [{
|
|
449
|
+
readonly name: "";
|
|
450
|
+
readonly internalType: "bytes4";
|
|
451
|
+
readonly type: "bytes4";
|
|
452
|
+
}];
|
|
453
|
+
}], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
454
|
+
encodeEip712Domain: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
455
|
+
readonly stateMutability: "nonpayable";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
readonly inputs: readonly [{
|
|
458
|
+
readonly name: "ownersToAdd";
|
|
459
|
+
readonly internalType: "address[]";
|
|
460
|
+
readonly type: "address[]";
|
|
461
|
+
}, {
|
|
462
|
+
readonly name: "ownersToRemove";
|
|
463
|
+
readonly internalType: "address[]";
|
|
464
|
+
readonly type: "address[]";
|
|
465
|
+
}];
|
|
466
|
+
readonly name: "updateOwners";
|
|
467
|
+
readonly outputs: readonly [];
|
|
468
|
+
}, {
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
readonly inputs: readonly [];
|
|
472
|
+
readonly name: "eip712Domain";
|
|
473
|
+
readonly outputs: readonly [{
|
|
474
|
+
readonly name: "fields";
|
|
475
|
+
readonly internalType: "bytes1";
|
|
476
|
+
readonly type: "bytes1";
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "name";
|
|
479
|
+
readonly internalType: "string";
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "version";
|
|
483
|
+
readonly internalType: "string";
|
|
484
|
+
readonly type: "string";
|
|
485
|
+
}, {
|
|
486
|
+
readonly name: "chainId";
|
|
487
|
+
readonly internalType: "uint256";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "verifyingContract";
|
|
491
|
+
readonly internalType: "address";
|
|
492
|
+
readonly type: "address";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "salt";
|
|
495
|
+
readonly internalType: "bytes32";
|
|
496
|
+
readonly type: "bytes32";
|
|
497
|
+
}, {
|
|
498
|
+
readonly name: "extensions";
|
|
499
|
+
readonly internalType: "uint256[]";
|
|
500
|
+
readonly type: "uint256[]";
|
|
501
|
+
}];
|
|
502
|
+
}, {
|
|
503
|
+
readonly stateMutability: "view";
|
|
504
|
+
readonly type: "function";
|
|
505
|
+
readonly inputs: readonly [{
|
|
506
|
+
readonly name: "digest";
|
|
507
|
+
readonly internalType: "bytes32";
|
|
508
|
+
readonly type: "bytes32";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "signature";
|
|
511
|
+
readonly internalType: "bytes";
|
|
512
|
+
readonly type: "bytes";
|
|
513
|
+
}];
|
|
514
|
+
readonly name: "isValidSignature";
|
|
515
|
+
readonly outputs: readonly [{
|
|
516
|
+
readonly name: "";
|
|
517
|
+
readonly internalType: "bytes4";
|
|
518
|
+
readonly type: "bytes4";
|
|
519
|
+
}];
|
|
520
|
+
}], "eip712Domain", true, readonly [], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
521
|
+
readEip712Domain: (args: {
|
|
522
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
523
|
+
}) => Promise<readonly [`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, readonly bigint[]]>;
|
|
524
|
+
encodeIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
525
|
+
readonly stateMutability: "nonpayable";
|
|
526
|
+
readonly type: "function";
|
|
527
|
+
readonly inputs: readonly [{
|
|
528
|
+
readonly name: "ownersToAdd";
|
|
529
|
+
readonly internalType: "address[]";
|
|
530
|
+
readonly type: "address[]";
|
|
531
|
+
}, {
|
|
532
|
+
readonly name: "ownersToRemove";
|
|
533
|
+
readonly internalType: "address[]";
|
|
534
|
+
readonly type: "address[]";
|
|
535
|
+
}];
|
|
536
|
+
readonly name: "updateOwners";
|
|
537
|
+
readonly outputs: readonly [];
|
|
538
|
+
}, {
|
|
539
|
+
readonly stateMutability: "view";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
readonly inputs: readonly [];
|
|
542
|
+
readonly name: "eip712Domain";
|
|
543
|
+
readonly outputs: readonly [{
|
|
544
|
+
readonly name: "fields";
|
|
545
|
+
readonly internalType: "bytes1";
|
|
546
|
+
readonly type: "bytes1";
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "name";
|
|
549
|
+
readonly internalType: "string";
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
}, {
|
|
552
|
+
readonly name: "version";
|
|
553
|
+
readonly internalType: "string";
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "chainId";
|
|
557
|
+
readonly internalType: "uint256";
|
|
558
|
+
readonly type: "uint256";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "verifyingContract";
|
|
561
|
+
readonly internalType: "address";
|
|
562
|
+
readonly type: "address";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "salt";
|
|
565
|
+
readonly internalType: "bytes32";
|
|
566
|
+
readonly type: "bytes32";
|
|
567
|
+
}, {
|
|
568
|
+
readonly name: "extensions";
|
|
569
|
+
readonly internalType: "uint256[]";
|
|
570
|
+
readonly type: "uint256[]";
|
|
571
|
+
}];
|
|
572
|
+
}, {
|
|
573
|
+
readonly stateMutability: "view";
|
|
574
|
+
readonly type: "function";
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly name: "digest";
|
|
577
|
+
readonly internalType: "bytes32";
|
|
578
|
+
readonly type: "bytes32";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "signature";
|
|
581
|
+
readonly internalType: "bytes";
|
|
582
|
+
readonly type: "bytes";
|
|
583
|
+
}];
|
|
584
|
+
readonly name: "isValidSignature";
|
|
585
|
+
readonly outputs: readonly [{
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly internalType: "bytes4";
|
|
588
|
+
readonly type: "bytes4";
|
|
589
|
+
}];
|
|
590
|
+
}], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
591
|
+
readIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
592
|
+
readonly stateMutability: "nonpayable";
|
|
593
|
+
readonly type: "function";
|
|
594
|
+
readonly inputs: readonly [{
|
|
595
|
+
readonly name: "ownersToAdd";
|
|
596
|
+
readonly internalType: "address[]";
|
|
597
|
+
readonly type: "address[]";
|
|
598
|
+
}, {
|
|
599
|
+
readonly name: "ownersToRemove";
|
|
600
|
+
readonly internalType: "address[]";
|
|
601
|
+
readonly type: "address[]";
|
|
602
|
+
}];
|
|
603
|
+
readonly name: "updateOwners";
|
|
604
|
+
readonly outputs: readonly [];
|
|
605
|
+
}, {
|
|
606
|
+
readonly stateMutability: "view";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
readonly inputs: readonly [];
|
|
609
|
+
readonly name: "eip712Domain";
|
|
610
|
+
readonly outputs: readonly [{
|
|
611
|
+
readonly name: "fields";
|
|
612
|
+
readonly internalType: "bytes1";
|
|
613
|
+
readonly type: "bytes1";
|
|
614
|
+
}, {
|
|
615
|
+
readonly name: "name";
|
|
616
|
+
readonly internalType: "string";
|
|
617
|
+
readonly type: "string";
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: "version";
|
|
620
|
+
readonly internalType: "string";
|
|
621
|
+
readonly type: "string";
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "chainId";
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly type: "uint256";
|
|
626
|
+
}, {
|
|
627
|
+
readonly name: "verifyingContract";
|
|
628
|
+
readonly internalType: "address";
|
|
629
|
+
readonly type: "address";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "salt";
|
|
632
|
+
readonly internalType: "bytes32";
|
|
633
|
+
readonly type: "bytes32";
|
|
634
|
+
}, {
|
|
635
|
+
readonly name: "extensions";
|
|
636
|
+
readonly internalType: "uint256[]";
|
|
637
|
+
readonly type: "uint256[]";
|
|
638
|
+
}];
|
|
639
|
+
}, {
|
|
640
|
+
readonly stateMutability: "view";
|
|
641
|
+
readonly type: "function";
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly name: "digest";
|
|
644
|
+
readonly internalType: "bytes32";
|
|
645
|
+
readonly type: "bytes32";
|
|
646
|
+
}, {
|
|
647
|
+
readonly name: "signature";
|
|
648
|
+
readonly internalType: "bytes";
|
|
649
|
+
readonly type: "bytes";
|
|
650
|
+
}];
|
|
651
|
+
readonly name: "isValidSignature";
|
|
652
|
+
readonly outputs: readonly [{
|
|
653
|
+
readonly name: "";
|
|
654
|
+
readonly internalType: "bytes4";
|
|
655
|
+
readonly type: "bytes4";
|
|
656
|
+
}];
|
|
657
|
+
}], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
|
|
658
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
659
|
+
}) => Promise<`0x${string}`>;
|
|
660
|
+
readOwners: ((params: import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
661
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
662
|
+
}) => Promise<readonly `0x${string}`[]>) & ((params?: (import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
663
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
664
|
+
}) | undefined) => Promise<readonly `0x${string}`[]>);
|
|
665
|
+
isOwnerOf: (params: {
|
|
666
|
+
address: `0x${string}`;
|
|
667
|
+
} & import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
668
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
669
|
+
}) => Promise<boolean>;
|
|
670
|
+
installPlugin: (params: import("@alchemy/aa-accounts").InstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, Record<string, unknown> | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
671
|
+
uninstallPlugin: (params: import("@alchemy/aa-accounts").UninstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
672
|
+
getExecutionFunctionConfig: (args: {
|
|
673
|
+
selector: `0x${string}`;
|
|
674
|
+
} & {
|
|
675
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
676
|
+
}) => Promise<import("@alchemy/aa-accounts").ExecutionFunctionConfig>;
|
|
677
|
+
getExecutionHooks: (args: {
|
|
678
|
+
selector: `0x${string}`;
|
|
679
|
+
} & {
|
|
680
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
681
|
+
}) => Promise<readonly import("@alchemy/aa-accounts").ExecutionHooks[]>;
|
|
682
|
+
getPreValidationHooks: (args: {
|
|
683
|
+
selector: `0x${string}`;
|
|
684
|
+
} & {
|
|
685
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
686
|
+
}) => Promise<readonly [readonly `0x${string}`[], readonly `0x${string}`[]]>;
|
|
687
|
+
getInstalledPlugins: (args: {
|
|
688
|
+
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
689
|
+
}) => Promise<readonly `0x${string}`[]>;
|
|
690
|
+
buildUserOperation: (args: import("@alchemy/aa-core").BuildUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
|
|
691
|
+
buildUserOperationFromTx: (args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>>, overrides?: Partial<{
|
|
692
|
+
callGasLimit: number | bigint | `0x${string}` | {
|
|
693
|
+
multiplier: number;
|
|
694
|
+
} | undefined;
|
|
695
|
+
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
696
|
+
multiplier: number;
|
|
697
|
+
} | undefined;
|
|
698
|
+
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
699
|
+
multiplier: number;
|
|
700
|
+
} | undefined;
|
|
701
|
+
preVerificationGas: number | bigint | `0x${string}` | {
|
|
702
|
+
multiplier: number;
|
|
703
|
+
} | undefined;
|
|
704
|
+
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
705
|
+
multiplier: number;
|
|
706
|
+
} | undefined;
|
|
707
|
+
nonceKey: bigint;
|
|
708
|
+
stateOverride: import("viem").StateOverride;
|
|
709
|
+
} & ({
|
|
710
|
+
paymasterAndData: "0x";
|
|
711
|
+
} | {
|
|
712
|
+
paymasterData: "0x";
|
|
713
|
+
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
714
|
+
multiplier: number;
|
|
715
|
+
};
|
|
716
|
+
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
717
|
+
multiplier: number;
|
|
718
|
+
};
|
|
719
|
+
})> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
|
|
720
|
+
buildUserOperationFromTxs: (args: import("@alchemy/aa-core").BuildTransactionParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").BuildUserOperationFromTransactionsResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
721
|
+
checkGasSponsorshipEligibility: <TContext extends import("@alchemy/aa-core").UserOperationContext | undefined = import("@alchemy/aa-core").UserOperationContext | undefined>(args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, TContext, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<boolean>;
|
|
722
|
+
signUserOperation: (args: import("@alchemy/aa-core").SignUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>, import("@alchemy/aa-core").UserOperationContext | undefined>) => Promise<import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7>;
|
|
723
|
+
dropAndReplaceUserOperation: (args: import("@alchemy/aa-core").DropAndReplaceUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
724
|
+
sendTransaction: <TChainOverride extends import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, TChainOverride, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride, import("viem").DeriveChain<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride>>>, overrides?: Partial<{
|
|
725
|
+
callGasLimit: number | bigint | `0x${string}` | {
|
|
726
|
+
multiplier: number;
|
|
727
|
+
} | undefined;
|
|
728
|
+
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
729
|
+
multiplier: number;
|
|
730
|
+
} | undefined;
|
|
731
|
+
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
732
|
+
multiplier: number;
|
|
733
|
+
} | undefined;
|
|
734
|
+
preVerificationGas: number | bigint | `0x${string}` | {
|
|
735
|
+
multiplier: number;
|
|
736
|
+
} | undefined;
|
|
737
|
+
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
738
|
+
multiplier: number;
|
|
739
|
+
} | undefined;
|
|
740
|
+
nonceKey: bigint;
|
|
741
|
+
stateOverride: import("viem").StateOverride;
|
|
742
|
+
} & ({
|
|
743
|
+
paymasterAndData: "0x";
|
|
744
|
+
} | {
|
|
745
|
+
paymasterData: "0x";
|
|
746
|
+
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
747
|
+
multiplier: number;
|
|
748
|
+
};
|
|
749
|
+
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
750
|
+
multiplier: number;
|
|
751
|
+
};
|
|
752
|
+
})> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<`0x${string}`>;
|
|
753
|
+
sendTransactions: (args: import("@alchemy/aa-core").SendTransactionsParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
|
|
754
|
+
sendUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
755
|
+
waitForUserOperationTransaction: (args: import("@alchemy/aa-core").WaitForUserOperationTxParameters) => Promise<`0x${string}`>;
|
|
756
|
+
upgradeAccount: (args: import("@alchemy/aa-core").UpgradeAccountParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
|
|
757
|
+
signMessage: (args: import("@alchemy/aa-core/dist/types/actions/smartAccount/signMessage").SignMessageParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>>) => Promise<`0x${string}`>;
|
|
758
|
+
signTypedData: () => const;
|
|
759
|
+
estimateUserOperationGas: <TEntryPointVersion extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion>, entryPoint: `0x${string}`, stateOverride?: import("viem").StateOverride | undefined) => Promise<import("@alchemy/aa-core").UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
760
|
+
sendRawUserOperation: <TEntryPointVersion_1 extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion_1>, entryPoint: `0x${string}`) => Promise<`0x${string}`>;
|
|
761
|
+
getUserOperationByHash: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null>;
|
|
762
|
+
getUserOperationReceipt: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationReceipt | null>;
|
|
763
|
+
getSupportedEntryPoints: () => Promise<`0x${string}`[]>;
|
|
764
|
+
call: (parameters: import("viem").CallParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>) => Promise<import("viem").CallReturnType>;
|
|
765
|
+
createBlockFilter: () => Promise<{
|
|
766
|
+
id: `0x${string}`;
|
|
767
|
+
request: import("viem").EIP1193RequestFn<readonly [{
|
|
768
|
+
Method: "eth_getFilterChanges";
|
|
769
|
+
Parameters: [filterId: `0x${string}`];
|
|
770
|
+
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
|
|
771
|
+
}, {
|
|
772
|
+
Method: "eth_getFilterLogs";
|
|
773
|
+
Parameters: [filterId: `0x${string}`];
|
|
774
|
+
ReturnType: import("viem").RpcLog[];
|
|
775
|
+
}, {
|
|
776
|
+
Method: "eth_uninstallFilter";
|
|
777
|
+
Parameters: [filterId: `0x${string}`];
|
|
778
|
+
ReturnType: boolean;
|
|
779
|
+
}]>;
|
|
780
|
+
type: "block";
|
|
781
|
+
}>;
|
|
782
|
+
createContractEventFilter: () => const;
|
|
783
|
+
simulateUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse>;
|
|
784
|
+
extend: () => const;
|
|
785
|
+
};
|
|
786
|
+
getSigner(): JsonRpcSigner;
|
|
787
|
+
disconnect(): Promise<void>;
|
|
788
|
+
listAccounts(): Promise<`0x${string}`[]>;
|
|
789
|
+
getAddress(): Promise<string>;
|
|
790
|
+
readonly connection: import("@ethersproject/web").ConnectionInfo;
|
|
791
|
+
_pendingFilter: Promise<number>;
|
|
792
|
+
_nextId: number;
|
|
793
|
+
_eventLoopCache: Record<string, Promise<any>>;
|
|
794
|
+
readonly _cache: Record<string, Promise<any>>;
|
|
795
|
+
detectNetwork(): Promise<import("@ethersproject/providers").Network>;
|
|
796
|
+
_uncachedDetectNetwork(): Promise<import("@ethersproject/providers").Network>;
|
|
797
|
+
getUncheckedSigner(addressOrIndex?: string | number | undefined): {
|
|
798
|
+
sendTransaction(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<import("@ethersproject/abstract-provider").TransactionResponse>;
|
|
799
|
+
readonly provider: import("@ethersproject/providers").JsonRpcProvider;
|
|
800
|
+
_index: number;
|
|
801
|
+
_address: string;
|
|
802
|
+
connect(provider: import("@ethersproject/abstract-provider").Provider): JsonRpcSigner;
|
|
803
|
+
connectUnchecked(): JsonRpcSigner;
|
|
804
|
+
getAddress(): Promise<string>;
|
|
805
|
+
sendUncheckedTransaction(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<string>;
|
|
806
|
+
signTransaction(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<string>;
|
|
807
|
+
signMessage(message: string | import("ethers").Bytes): Promise<string>;
|
|
808
|
+
_legacySignMessage(message: string | import("ethers").Bytes): Promise<string>;
|
|
809
|
+
_signTypedData(domain: import("ethers").TypedDataDomain, types: Record<string, import("ethers").TypedDataField[]>, value: Record<string, any>): Promise<string>;
|
|
810
|
+
unlock(password: string): Promise<boolean>;
|
|
811
|
+
readonly _isSigner: boolean;
|
|
812
|
+
getBalance(blockTag?: import("@ethersproject/abstract-provider").BlockTag | undefined): Promise<import("alchemy-sdk").BigNumber>;
|
|
813
|
+
getTransactionCount(blockTag?: import("@ethersproject/abstract-provider").BlockTag | undefined): Promise<number>;
|
|
814
|
+
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
|
|
815
|
+
call(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | undefined): Promise<string>;
|
|
816
|
+
getChainId(): Promise<number>;
|
|
817
|
+
getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
|
|
818
|
+
getFeeData(): Promise<import("@ethersproject/abstract-provider").FeeData>;
|
|
819
|
+
resolveName(name: string): Promise<string>;
|
|
820
|
+
checkTransaction(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>;
|
|
821
|
+
populateTransaction(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<import("@ethersproject/abstract-provider").TransactionRequest>;
|
|
822
|
+
_checkProvider(operation?: string | undefined): void;
|
|
823
|
+
};
|
|
824
|
+
send(method: string, params: any[]): Promise<any>;
|
|
825
|
+
prepareRequest(method: string, params: any): [string, any[]];
|
|
826
|
+
perform(method: string, params: any): Promise<any>;
|
|
827
|
+
_startEvent(event: import("@ethersproject/providers/lib/base-provider").Event): void;
|
|
828
|
+
_startPending(): void;
|
|
829
|
+
_stopEvent(event: import("@ethersproject/providers/lib/base-provider").Event): void;
|
|
830
|
+
_networkPromise: Promise<import("@ethersproject/providers").Network>;
|
|
831
|
+
_network: import("@ethersproject/providers").Network;
|
|
832
|
+
_events: import("@ethersproject/providers/lib/base-provider").Event[];
|
|
833
|
+
formatter: import("@ethersproject/providers").Formatter;
|
|
834
|
+
_emitted: {
|
|
835
|
+
[eventName: string]: number | "pending";
|
|
836
|
+
};
|
|
837
|
+
_pollingInterval: number;
|
|
838
|
+
_poller: NodeJS.Timer;
|
|
839
|
+
_bootstrapPoll: NodeJS.Timer;
|
|
840
|
+
_lastBlockNumber: number;
|
|
841
|
+
_maxFilterBlockRange: number;
|
|
842
|
+
_fastBlockNumber: number;
|
|
843
|
+
_fastBlockNumberPromise: Promise<number>;
|
|
844
|
+
_fastQueryDate: number;
|
|
845
|
+
_maxInternalBlockNumber: number;
|
|
846
|
+
_internalBlockNumber: Promise<{
|
|
847
|
+
blockNumber: number;
|
|
848
|
+
reqTime: number;
|
|
849
|
+
respTime: number;
|
|
850
|
+
}>;
|
|
851
|
+
readonly anyNetwork: boolean;
|
|
852
|
+
disableCcipRead: boolean;
|
|
853
|
+
_ready(): Promise<import("@ethersproject/providers").Network>;
|
|
854
|
+
readonly ready: Promise<import("@ethersproject/providers").Network>;
|
|
855
|
+
ccipReadFetch(tx: import("ethers").Transaction, calldata: string, urls: string[]): Promise<string | null>;
|
|
856
|
+
_getInternalBlockNumber(maxAge: number): Promise<number>;
|
|
857
|
+
poll(): Promise<void>;
|
|
858
|
+
resetEventsBlock(blockNumber: number): void;
|
|
859
|
+
readonly network: import("@ethersproject/providers").Network;
|
|
860
|
+
getNetwork(): Promise<import("@ethersproject/providers").Network>;
|
|
861
|
+
readonly blockNumber: number;
|
|
862
|
+
polling: boolean;
|
|
863
|
+
pollingInterval: number;
|
|
864
|
+
_getFastBlockNumber(): Promise<number>;
|
|
865
|
+
_setFastBlockNumber(blockNumber: number): void;
|
|
866
|
+
waitForTransaction(transactionHash: string, confirmations?: number | undefined, timeout?: number | undefined): Promise<import("@ethersproject/abstract-provider").TransactionReceipt>;
|
|
867
|
+
_waitForTransaction(transactionHash: string, confirmations: number, timeout: number, replaceable: {
|
|
868
|
+
data: string;
|
|
869
|
+
from: string;
|
|
870
|
+
nonce: number;
|
|
871
|
+
to: string;
|
|
872
|
+
value: import("alchemy-sdk").BigNumber;
|
|
873
|
+
startBlock: number;
|
|
874
|
+
}): Promise<import("@ethersproject/abstract-provider").TransactionReceipt>;
|
|
875
|
+
getBlockNumber(): Promise<number>;
|
|
876
|
+
getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
|
|
877
|
+
getBalance(addressOrName: string | Promise<string>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag> | undefined): Promise<import("alchemy-sdk").BigNumber>;
|
|
878
|
+
getTransactionCount(addressOrName: string | Promise<string>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag> | undefined): Promise<number>;
|
|
879
|
+
getCode(addressOrName: string | Promise<string>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag> | undefined): Promise<string>;
|
|
880
|
+
getStorageAt(addressOrName: string | Promise<string>, position: import("alchemy-sdk").BigNumberish | Promise<import("alchemy-sdk").BigNumberish>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag> | undefined): Promise<string>;
|
|
881
|
+
_wrapTransaction(tx: import("ethers").Transaction, hash?: string | undefined, startBlock?: number | undefined): import("@ethersproject/abstract-provider").TransactionResponse;
|
|
882
|
+
sendTransaction(signedTransaction: string | Promise<string>): Promise<import("@ethersproject/abstract-provider").TransactionResponse>;
|
|
883
|
+
_getTransactionRequest(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<import("ethers").Transaction>;
|
|
884
|
+
_getFilter(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>;
|
|
885
|
+
_call(transaction: import("@ethersproject/abstract-provider").TransactionRequest, blockTag: import("@ethersproject/abstract-provider").BlockTag, attempt: number): Promise<string>;
|
|
886
|
+
call(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>, blockTag?: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag> | undefined): Promise<string>;
|
|
887
|
+
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("@ethersproject/abstract-provider").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
|
|
888
|
+
_getAddress(addressOrName: string | Promise<string>): Promise<string>;
|
|
889
|
+
_getBlock(blockHashOrBlockTag: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag>, includeTransactions?: boolean | undefined): Promise<import("@ethersproject/abstract-provider").Block | import("alchemy-sdk").BlockWithTransactions>;
|
|
890
|
+
getBlock(blockHashOrBlockTag: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag>): Promise<import("@ethersproject/abstract-provider").Block>;
|
|
891
|
+
getBlockWithTransactions(blockHashOrBlockTag: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag>): Promise<import("alchemy-sdk").BlockWithTransactions>;
|
|
892
|
+
getTransaction(transactionHash: string | Promise<string>): Promise<import("@ethersproject/abstract-provider").TransactionResponse>;
|
|
893
|
+
getTransactionReceipt(transactionHash: string | Promise<string>): Promise<import("@ethersproject/abstract-provider").TransactionReceipt>;
|
|
894
|
+
getLogs(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("@ethersproject/abstract-provider").Log[]>;
|
|
895
|
+
getEtherPrice(): Promise<number>;
|
|
896
|
+
_getBlockTag(blockTag: import("@ethersproject/abstract-provider").BlockTag | Promise<import("@ethersproject/abstract-provider").BlockTag>): Promise<import("@ethersproject/abstract-provider").BlockTag>;
|
|
897
|
+
getResolver(name: string): Promise<import("@ethersproject/providers").Resolver | null>;
|
|
898
|
+
_getResolver(name: string, operation?: string | undefined): Promise<string>;
|
|
899
|
+
resolveName(name: string | Promise<string>): Promise<string | null>;
|
|
900
|
+
lookupAddress(address: string | Promise<string>): Promise<string | null>;
|
|
901
|
+
getAvatar(nameOrAddress: string): Promise<string | null>;
|
|
902
|
+
_addEventListener(eventName: import("@ethersproject/abstract-provider").EventType, listener: import("@ethersproject/abstract-provider").Listener, once: boolean): any;
|
|
903
|
+
on(eventName: import("@ethersproject/abstract-provider").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
|
|
904
|
+
once(eventName: import("@ethersproject/abstract-provider").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
|
|
905
|
+
emit(eventName: import("@ethersproject/abstract-provider").EventType, ...args: any[]): boolean;
|
|
906
|
+
listenerCount(eventName?: import("@ethersproject/abstract-provider").EventType | undefined): number;
|
|
907
|
+
listeners(eventName?: import("@ethersproject/abstract-provider").EventType | undefined): import("@ethersproject/abstract-provider").Listener[];
|
|
908
|
+
off(eventName: import("@ethersproject/abstract-provider").EventType, listener?: import("@ethersproject/abstract-provider").Listener | undefined): any;
|
|
909
|
+
removeAllListeners(eventName?: import("@ethersproject/abstract-provider").EventType | undefined): any;
|
|
910
|
+
getFeeData(): Promise<import("@ethersproject/abstract-provider").FeeData>;
|
|
911
|
+
addListener(eventName: import("@ethersproject/abstract-provider").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
|
|
912
|
+
removeListener(eventName: import("@ethersproject/abstract-provider").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
|
|
913
|
+
readonly _isProvider: boolean;
|
|
914
|
+
}>;
|