@funkit/core 0.9.0 → 0.10.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/dist/fetch-polyfill.js.map +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/src/abis/CheckoutPaymaster.json +1 -0
- package/dist/src/actions/AccessControl.d.ts +6 -6
- package/dist/src/actions/AccessControl.js +19 -15
- package/dist/src/actions/AccessControl.js.map +1 -1
- package/dist/src/actions/BatchActions.d.ts +2 -2
- package/dist/src/actions/BatchActions.js +2 -2
- package/dist/src/actions/BatchActions.js.map +1 -1
- package/dist/src/actions/Bridge.d.ts +4 -4
- package/dist/src/actions/Bridge.js +10 -6
- package/dist/src/actions/Bridge.js.map +1 -1
- package/dist/src/actions/FirstClassActions.d.ts +6 -6
- package/dist/src/actions/FirstClassActions.js +25 -23
- package/dist/src/actions/FirstClassActions.js.map +1 -1
- package/dist/src/actions/Group.d.ts +3 -3
- package/dist/src/actions/Group.js +6 -14
- package/dist/src/actions/Group.js.map +1 -1
- package/dist/src/actions/LimitOrder.d.ts +3 -3
- package/dist/src/actions/LimitOrder.js +16 -13
- package/dist/src/actions/LimitOrder.js.map +1 -1
- package/dist/src/actions/Stake.d.ts +3 -3
- package/dist/src/actions/Stake.js +31 -44
- package/dist/src/actions/Stake.js.map +1 -1
- package/dist/src/actions/Swap.d.ts +4 -4
- package/dist/src/actions/Swap.js +37 -35
- package/dist/src/actions/Swap.js.map +1 -1
- package/dist/src/actions/Token.d.ts +3 -3
- package/dist/src/actions/Token.js +33 -23
- package/dist/src/actions/Token.js.map +1 -1
- package/dist/src/actions/index.d.ts +7 -7
- package/dist/src/actions/types.d.ts +4 -4
- package/dist/src/actions/types.js +2 -2
- package/dist/src/actions/types.js.map +1 -1
- package/dist/src/apis/AccessControlApis.d.ts +1 -1
- package/dist/src/apis/AccessControlApis.js +7 -3
- package/dist/src/apis/AccessControlApis.js.map +1 -1
- package/dist/src/apis/AssetApis.d.ts +10 -0
- package/dist/src/apis/AssetApis.js +11 -1
- package/dist/src/apis/AssetApis.js.map +1 -1
- package/dist/src/apis/BridgeApis.d.ts +1 -1
- package/dist/src/apis/BridgeApis.js +13 -13
- package/dist/src/apis/BridgeApis.js.map +1 -1
- package/dist/src/apis/CheckoutApis.d.ts +43 -0
- package/dist/src/apis/CheckoutApis.js +116 -0
- package/dist/src/apis/CheckoutApis.js.map +1 -0
- package/dist/src/apis/ContractApis.js +1 -1
- package/dist/src/apis/ContractApis.js.map +1 -1
- package/dist/src/apis/FaucetApis.js.map +1 -1
- package/dist/src/apis/GroupApis.d.ts +2 -2
- package/dist/src/apis/GroupApis.js +3 -3
- package/dist/src/apis/GroupApis.js.map +1 -1
- package/dist/src/apis/InfoApis.d.ts +1 -1
- package/dist/src/apis/InfoApis.js +9 -7
- package/dist/src/apis/InfoApis.js.map +1 -1
- package/dist/src/apis/ListenerApis.d.ts +1 -1
- package/dist/src/apis/ListenerApis.js +6 -6
- package/dist/src/apis/ListenerApis.js.map +1 -1
- package/dist/src/apis/MeshApis.d.ts +87 -0
- package/dist/src/apis/MeshApis.js +213 -0
- package/dist/src/apis/MeshApis.js.map +1 -0
- package/dist/src/apis/NFTApis.js.map +1 -1
- package/dist/src/apis/OnOffRampApis.d.ts +2 -0
- package/dist/src/apis/OnOffRampApis.js +24 -5
- package/dist/src/apis/OnOffRampApis.js.map +1 -1
- package/dist/src/apis/OnOffRampUtils.js +2 -2
- package/dist/src/apis/OnOffRampUtils.js.map +1 -1
- package/dist/src/apis/OperationApis.d.ts +4 -4
- package/dist/src/apis/OperationApis.js +21 -12
- package/dist/src/apis/OperationApis.js.map +1 -1
- package/dist/src/apis/PaymasterApis.d.ts +1 -1
- package/dist/src/apis/PaymasterApis.js +2 -2
- package/dist/src/apis/PaymasterApis.js.map +1 -1
- package/dist/src/apis/SwapApis.d.ts +2 -2
- package/dist/src/apis/SwapApis.js +6 -6
- package/dist/src/apis/SwapApis.js.map +1 -1
- package/dist/src/apis/TurnkeyApis.d.ts +1 -1
- package/dist/src/apis/TurnkeyApis.js +3 -3
- package/dist/src/apis/TurnkeyApis.js.map +1 -1
- package/dist/src/apis/UserApis.d.ts +2 -2
- package/dist/src/apis/UserApis.js +10 -7
- package/dist/src/apis/UserApis.js.map +1 -1
- package/dist/src/apis/index.d.ts +13 -11
- package/dist/src/apis/index.js +3 -1
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/apis/types.d.ts +75 -3
- package/dist/src/apis/types.js +16 -0
- package/dist/src/apis/types.js.map +1 -1
- package/dist/src/auth/Auth.d.ts +6 -6
- package/dist/src/auth/Auth.js +43 -46
- package/dist/src/auth/Auth.js.map +1 -1
- package/dist/src/auth/SessionKeyAuth.d.ts +5 -5
- package/dist/src/auth/SessionKeyAuth.js +29 -24
- package/dist/src/auth/SessionKeyAuth.js.map +1 -1
- package/dist/src/auth/index.d.ts +2 -2
- package/dist/src/auth/types.d.ts +1 -1
- package/dist/src/common/constants.d.ts +110 -17
- package/dist/src/common/constants.js +158 -85
- package/dist/src/common/constants.js.map +1 -1
- package/dist/src/common/index.d.ts +2 -2
- package/dist/src/common/types.d.ts +2 -2
- package/dist/src/config/Config.d.ts +1 -1
- package/dist/src/config/Config.js +10 -4
- package/dist/src/config/Config.js.map +1 -1
- package/dist/src/config/index.d.ts +2 -2
- package/dist/src/config/types.d.ts +4 -2
- package/dist/src/data/Chain.d.ts +4 -4
- package/dist/src/data/Chain.js +38 -27
- package/dist/src/data/Chain.js.map +1 -1
- package/dist/src/data/NFT.d.ts +3 -3
- package/dist/src/data/NFT.js +11 -11
- package/dist/src/data/NFT.js.map +1 -1
- package/dist/src/data/Operation.d.ts +5 -5
- package/dist/src/data/Operation.js +12 -10
- package/dist/src/data/Operation.js.map +1 -1
- package/dist/src/data/SolidityData.d.ts +3 -3
- package/dist/src/data/SolidityData.js +37 -17
- package/dist/src/data/SolidityData.js.map +1 -1
- package/dist/src/data/Token.d.ts +4 -4
- package/dist/src/data/Token.js +9 -9
- package/dist/src/data/Token.js.map +1 -1
- package/dist/src/data/index.d.ts +6 -6
- package/dist/src/data/index.js +2 -2
- package/dist/src/data/index.js.map +1 -1
- package/dist/src/data/types.d.ts +2 -2
- package/dist/src/data/types.js +3 -3
- package/dist/src/data/types.js.map +1 -1
- package/dist/src/errors/BaseError.js +4 -3
- package/dist/src/errors/BaseError.js.map +1 -1
- package/dist/src/errors/ClientError.d.ts +1 -1
- package/dist/src/errors/ClientError.js +3 -3
- package/dist/src/errors/ClientError.js.map +1 -1
- package/dist/src/errors/ServerError.d.ts +1 -1
- package/dist/src/errors/ServerError.js.map +1 -1
- package/dist/src/errors/index.d.ts +4 -4
- package/dist/src/errors/types.d.ts +2 -1
- package/dist/src/errors/types.js +4 -3
- package/dist/src/errors/types.js.map +1 -1
- package/dist/src/sponsors/CheckoutSponsor.d.ts +23 -0
- package/dist/src/sponsors/CheckoutSponsor.js +65 -0
- package/dist/src/sponsors/CheckoutSponsor.js.map +1 -0
- package/dist/src/sponsors/GaslessSponsor.d.ts +4 -4
- package/dist/src/sponsors/GaslessSponsor.js +18 -15
- package/dist/src/sponsors/GaslessSponsor.js.map +1 -1
- package/dist/src/sponsors/Sponsor.d.ts +5 -5
- package/dist/src/sponsors/Sponsor.js +12 -11
- package/dist/src/sponsors/Sponsor.js.map +1 -1
- package/dist/src/sponsors/TokenSponsor.d.ts +7 -7
- package/dist/src/sponsors/TokenSponsor.js +75 -68
- package/dist/src/sponsors/TokenSponsor.js.map +1 -1
- package/dist/src/sponsors/index.d.ts +4 -3
- package/dist/src/sponsors/index.js +2 -1
- package/dist/src/sponsors/index.js.map +1 -1
- package/dist/src/sponsors/types.d.ts +2 -1
- package/dist/src/sponsors/types.js +2 -1
- package/dist/src/sponsors/types.js.map +1 -1
- package/dist/src/utils/ApiUtils.js +21 -19
- package/dist/src/utils/ApiUtils.js.map +1 -1
- package/dist/src/utils/AuthUtils.d.ts +1 -1
- package/dist/src/utils/AuthUtils.js +4 -4
- package/dist/src/utils/AuthUtils.js.map +1 -1
- package/dist/src/utils/ChainUtils.d.ts +5 -5
- package/dist/src/utils/ChainUtils.js +35 -20
- package/dist/src/utils/ChainUtils.js.map +1 -1
- package/dist/src/utils/CheckoutUtils.d.ts +6 -0
- package/dist/src/utils/CheckoutUtils.js +24 -0
- package/dist/src/utils/CheckoutUtils.js.map +1 -0
- package/dist/src/utils/GroupUtils.d.ts +3 -3
- package/dist/src/utils/GroupUtils.js +8 -8
- package/dist/src/utils/GroupUtils.js.map +1 -1
- package/dist/src/utils/MerkleUtils.d.ts +1 -1
- package/dist/src/utils/MerkleUtils.js +5 -5
- package/dist/src/utils/MerkleUtils.js.map +1 -1
- package/dist/src/utils/PaymasterUtils.d.ts +3 -3
- package/dist/src/utils/PaymasterUtils.js +6 -2
- package/dist/src/utils/PaymasterUtils.js.map +1 -1
- package/dist/src/utils/SwapUtils.d.ts +2 -2
- package/dist/src/utils/SwapUtils.js +42 -33
- package/dist/src/utils/SwapUtils.js.map +1 -1
- package/dist/src/utils/TypeUtils.js.map +1 -1
- package/dist/src/utils/UserOpUtils.d.ts +2 -2
- package/dist/src/utils/UserOpUtils.js +77 -65
- package/dist/src/utils/UserOpUtils.js.map +1 -1
- package/dist/src/utils/ViemUtils.d.ts +2 -2
- package/dist/src/utils/ViemUtils.js +10 -6
- package/dist/src/utils/ViemUtils.js.map +1 -1
- package/dist/src/utils/WalletUtils.d.ts +2 -2
- package/dist/src/utils/WalletUtils.js +6 -5
- package/dist/src/utils/WalletUtils.js.map +1 -1
- package/dist/src/utils/index.d.ts +8 -7
- package/dist/src/utils/index.js +1 -0
- package/dist/src/utils/index.js.map +1 -1
- package/dist/src/viem/ContractInterface.d.ts +4 -4
- package/dist/src/viem/ContractInterface.js +8 -8
- package/dist/src/viem/ContractInterface.js.map +1 -1
- package/dist/src/viem/Converter.d.ts +823 -1107
- package/dist/src/viem/Converter.js +11 -11
- package/dist/src/viem/Converter.js.map +1 -1
- package/dist/src/viem/index.d.ts +2 -2
- package/dist/src/wallet/FunWallet.d.ts +8 -8
- package/dist/src/wallet/FunWallet.js +133 -89
- package/dist/src/wallet/FunWallet.js.map +1 -1
- package/dist/src/wallet/index.d.ts +2 -2
- package/dist/src/wallet/types.d.ts +1 -1
- package/package.json +13 -5
|
@@ -7,8 +7,16 @@ interface web3SignerConversionInterface {
|
|
|
7
7
|
signer: any;
|
|
8
8
|
viemChain?: Chain;
|
|
9
9
|
}
|
|
10
|
-
export declare const convertProviderToClient: ({ provider, viemChain }: web3ProviderConversionInterface) => {
|
|
11
|
-
|
|
10
|
+
export declare const convertProviderToClient: ({ provider, viemChain, }: web3ProviderConversionInterface) => {
|
|
11
|
+
account: undefined;
|
|
12
|
+
batch?: {
|
|
13
|
+
multicall?: boolean | {
|
|
14
|
+
batchSize?: number | undefined;
|
|
15
|
+
wait?: number | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
cacheTime: number;
|
|
19
|
+
chain: import("viem/_types/types/utils").Assign<{
|
|
12
20
|
readonly id: 1;
|
|
13
21
|
readonly network: "homestead";
|
|
14
22
|
readonly name: "Ethereum";
|
|
@@ -48,478 +56,24 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
48
56
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
49
57
|
};
|
|
50
58
|
readonly ensUniversalResolver: {
|
|
51
|
-
readonly address: "
|
|
52
|
-
readonly blockCreated:
|
|
59
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
60
|
+
readonly blockCreated: 16966585;
|
|
53
61
|
};
|
|
54
62
|
readonly multicall3: {
|
|
55
63
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
56
64
|
readonly blockCreated: 14353601;
|
|
57
65
|
};
|
|
58
66
|
};
|
|
59
|
-
}
|
|
67
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>;
|
|
60
68
|
key: string;
|
|
61
69
|
name: string;
|
|
62
70
|
pollingInterval: number;
|
|
63
|
-
request:
|
|
64
|
-
|
|
65
|
-
method: "web3_clientVersion";
|
|
66
|
-
params?: undefined;
|
|
67
|
-
}): Promise<string>;
|
|
68
|
-
(args: {
|
|
69
|
-
method: "web3_sha3";
|
|
70
|
-
params: [data: `0x${string}`];
|
|
71
|
-
}): Promise<string>;
|
|
72
|
-
(args: {
|
|
73
|
-
method: "net_listening";
|
|
74
|
-
params?: undefined;
|
|
75
|
-
}): Promise<boolean>;
|
|
76
|
-
(args: {
|
|
77
|
-
method: "net_peerCount";
|
|
78
|
-
params?: undefined;
|
|
79
|
-
}): Promise<`0x${string}`>;
|
|
80
|
-
(args: {
|
|
81
|
-
method: "net_version";
|
|
82
|
-
params?: undefined;
|
|
83
|
-
}): Promise<`0x${string}`>;
|
|
84
|
-
(args: {
|
|
85
|
-
method: "eth_blockNumber";
|
|
86
|
-
params?: undefined;
|
|
87
|
-
}): Promise<`0x${string}`>;
|
|
88
|
-
(args: {
|
|
89
|
-
method: "eth_call";
|
|
90
|
-
params: [request: Partial<import("viem").RpcTransactionRequest>, block?: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier | undefined];
|
|
91
|
-
}): Promise<`0x${string}`>;
|
|
92
|
-
(args: {
|
|
93
|
-
method: "eth_chainId";
|
|
94
|
-
params?: undefined;
|
|
95
|
-
}): Promise<`0x${string}`>;
|
|
96
|
-
(args: {
|
|
97
|
-
method: "eth_coinbase";
|
|
98
|
-
params?: undefined;
|
|
99
|
-
}): Promise<`0x${string}`>;
|
|
100
|
-
(args: {
|
|
101
|
-
method: "eth_estimateGas";
|
|
102
|
-
params: [parameters: import("viem").RpcTransactionRequest, block?: `0x${string}` | import("viem").BlockTag | undefined];
|
|
103
|
-
}): Promise<`0x${string}`>;
|
|
104
|
-
(args: {
|
|
105
|
-
method: "eth_feeHistory";
|
|
106
|
-
params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
107
|
-
}): Promise<import("viem").RpcFeeHistory>;
|
|
108
|
-
(args: {
|
|
109
|
-
method: "eth_gasPrice";
|
|
110
|
-
params?: undefined;
|
|
111
|
-
}): Promise<`0x${string}`>;
|
|
112
|
-
(args: {
|
|
113
|
-
method: "eth_getBalance";
|
|
114
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
115
|
-
}): Promise<`0x${string}`>;
|
|
116
|
-
(args: {
|
|
117
|
-
method: "eth_getBlockByHash";
|
|
118
|
-
params: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
119
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
120
|
-
(args: {
|
|
121
|
-
method: "eth_getBlockByNumber";
|
|
122
|
-
params: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
123
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
124
|
-
(args: {
|
|
125
|
-
method: "eth_getBlockTransactionCountByHash";
|
|
126
|
-
params: [hash: `0x${string}`];
|
|
127
|
-
}): Promise<`0x${string}`>;
|
|
128
|
-
(args: {
|
|
129
|
-
method: "eth_getBlockTransactionCountByNumber";
|
|
130
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
131
|
-
}): Promise<`0x${string}`>;
|
|
132
|
-
(args: {
|
|
133
|
-
method: "eth_getCode";
|
|
134
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
135
|
-
}): Promise<`0x${string}`>;
|
|
136
|
-
(args: {
|
|
137
|
-
method: "eth_getFilterChanges";
|
|
138
|
-
params: [filterId: `0x${string}`];
|
|
139
|
-
}): Promise<`0x${string}`[] | import("viem").RpcLog[]>;
|
|
140
|
-
(args: {
|
|
141
|
-
method: "eth_getFilterLogs";
|
|
142
|
-
params: [filterId: `0x${string}`];
|
|
143
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
144
|
-
(args: {
|
|
145
|
-
method: "eth_getLogs";
|
|
146
|
-
params: [parameters: {
|
|
147
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
148
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
149
|
-
} & ({
|
|
150
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
151
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
152
|
-
blockHash?: undefined;
|
|
153
|
-
} | {
|
|
154
|
-
fromBlock?: undefined;
|
|
155
|
-
toBlock?: undefined;
|
|
156
|
-
blockHash?: `0x${string}` | undefined;
|
|
157
|
-
})];
|
|
158
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
159
|
-
(args: {
|
|
160
|
-
method: "eth_getStorageAt";
|
|
161
|
-
params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
162
|
-
}): Promise<`0x${string}`>;
|
|
163
|
-
(args: {
|
|
164
|
-
method: "eth_getTransactionByBlockHashAndIndex";
|
|
165
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
166
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
167
|
-
(args: {
|
|
168
|
-
method: "eth_getTransactionByBlockNumberAndIndex";
|
|
169
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
170
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
171
|
-
(args: {
|
|
172
|
-
method: "eth_getTransactionByHash";
|
|
173
|
-
params: [hash: `0x${string}`];
|
|
174
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
175
|
-
(args: {
|
|
176
|
-
method: "eth_getTransactionCount";
|
|
177
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
178
|
-
}): Promise<`0x${string}`>;
|
|
179
|
-
(args: {
|
|
180
|
-
method: "eth_getTransactionReceipt";
|
|
181
|
-
params: [hash: `0x${string}`];
|
|
182
|
-
}): Promise<import("viem").RpcTransactionReceipt | null>;
|
|
183
|
-
(args: {
|
|
184
|
-
method: "eth_getUncleByBlockHashAndIndex";
|
|
185
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
186
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
187
|
-
(args: {
|
|
188
|
-
method: "eth_getUncleByBlockNumberAndIndex";
|
|
189
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
190
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
191
|
-
(args: {
|
|
192
|
-
method: "eth_getUncleCountByBlockHash";
|
|
193
|
-
params: [hash: `0x${string}`];
|
|
194
|
-
}): Promise<`0x${string}`>;
|
|
195
|
-
(args: {
|
|
196
|
-
method: "eth_getUncleCountByBlockNumber";
|
|
197
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
198
|
-
}): Promise<`0x${string}`>;
|
|
199
|
-
(args: {
|
|
200
|
-
method: "eth_newBlockFilter";
|
|
201
|
-
params?: undefined;
|
|
202
|
-
}): Promise<`0x${string}`>;
|
|
203
|
-
(args: {
|
|
204
|
-
method: "eth_newFilter";
|
|
205
|
-
params: [filter: {
|
|
206
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
207
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
208
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
209
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
210
|
-
}];
|
|
211
|
-
}): Promise<`0x${string}`>;
|
|
212
|
-
(args: {
|
|
213
|
-
method: "eth_newPendingTransactionFilter";
|
|
214
|
-
params?: undefined;
|
|
215
|
-
}): Promise<`0x${string}`>;
|
|
216
|
-
(args: {
|
|
217
|
-
method: "eth_protocolVersion";
|
|
218
|
-
params?: undefined;
|
|
219
|
-
}): Promise<string>;
|
|
220
|
-
(args: {
|
|
221
|
-
method: "eth_sendRawTransaction";
|
|
222
|
-
params: [signedTransaction: `0x${string}`];
|
|
223
|
-
}): Promise<`0x${string}`>;
|
|
224
|
-
(args: {
|
|
225
|
-
method: "eth_uninstallFilter";
|
|
226
|
-
params: [filterId: `0x${string}`];
|
|
227
|
-
}): Promise<boolean>;
|
|
228
|
-
} & {
|
|
229
|
-
(args: {
|
|
230
|
-
method: "eth_sendTransaction";
|
|
231
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
232
|
-
}): Promise<`0x${string}`>;
|
|
233
|
-
(args: {
|
|
234
|
-
method: "eth_sign";
|
|
235
|
-
params: [address: `0x${string}`, data: `0x${string}`];
|
|
236
|
-
}): Promise<`0x${string}`>;
|
|
237
|
-
(args: {
|
|
238
|
-
method: "eth_signTransaction";
|
|
239
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
240
|
-
}): Promise<`0x${string}`>;
|
|
241
|
-
(args: {
|
|
242
|
-
method: "eth_signTypedData_v4";
|
|
243
|
-
params: [address: `0x${string}`, message: string];
|
|
244
|
-
}): Promise<`0x${string}`>;
|
|
245
|
-
(args: {
|
|
246
|
-
method: "eth_syncing";
|
|
247
|
-
params?: undefined;
|
|
248
|
-
}): Promise<false | import("viem").NetworkSync>;
|
|
249
|
-
(args: {
|
|
250
|
-
method: "personal_sign";
|
|
251
|
-
params: [data: `0x${string}`, address: `0x${string}`];
|
|
252
|
-
}): Promise<`0x${string}`>;
|
|
253
|
-
} & {
|
|
254
|
-
(args: {
|
|
255
|
-
method: "eth_accounts";
|
|
256
|
-
params?: undefined;
|
|
257
|
-
}): Promise<`0x${string}`[]>;
|
|
258
|
-
(args: {
|
|
259
|
-
method: "eth_chainId";
|
|
260
|
-
params?: undefined;
|
|
261
|
-
}): Promise<`0x${string}`>;
|
|
262
|
-
(args: {
|
|
263
|
-
method: "eth_requestAccounts";
|
|
264
|
-
params?: undefined;
|
|
265
|
-
}): Promise<`0x${string}`[]>;
|
|
266
|
-
(args: {
|
|
267
|
-
method: "wallet_requestPermissions";
|
|
268
|
-
params: [permissions: {
|
|
269
|
-
eth_accounts: Record<string, any>;
|
|
270
|
-
}];
|
|
271
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
272
|
-
(args: {
|
|
273
|
-
method: "wallet_getPermissions";
|
|
274
|
-
params?: undefined;
|
|
275
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
276
|
-
(args: {
|
|
277
|
-
method: "wallet_addEthereumChain";
|
|
278
|
-
params: [chain: import("viem").AddEthereumChainParameter];
|
|
279
|
-
}): Promise<null>;
|
|
280
|
-
(args: {
|
|
281
|
-
method: "wallet_switchEthereumChain";
|
|
282
|
-
params: [chain: {
|
|
283
|
-
chainId: string;
|
|
284
|
-
}];
|
|
285
|
-
}): Promise<null>;
|
|
286
|
-
(args: {
|
|
287
|
-
method: "wallet_watchAsset";
|
|
288
|
-
params: import("viem").WatchAssetParams;
|
|
289
|
-
}): Promise<boolean>;
|
|
290
|
-
};
|
|
291
|
-
transport: import("viem").TransportConfig<"custom", {
|
|
292
|
-
(args: {
|
|
293
|
-
method: "web3_clientVersion";
|
|
294
|
-
params?: undefined;
|
|
295
|
-
}): Promise<string>;
|
|
296
|
-
(args: {
|
|
297
|
-
method: "web3_sha3";
|
|
298
|
-
params: [data: `0x${string}`];
|
|
299
|
-
}): Promise<string>;
|
|
300
|
-
(args: {
|
|
301
|
-
method: "net_listening";
|
|
302
|
-
params?: undefined;
|
|
303
|
-
}): Promise<boolean>;
|
|
304
|
-
(args: {
|
|
305
|
-
method: "net_peerCount";
|
|
306
|
-
params?: undefined;
|
|
307
|
-
}): Promise<`0x${string}`>;
|
|
308
|
-
(args: {
|
|
309
|
-
method: "net_version";
|
|
310
|
-
params?: undefined;
|
|
311
|
-
}): Promise<`0x${string}`>;
|
|
312
|
-
(args: {
|
|
313
|
-
method: "eth_blockNumber";
|
|
314
|
-
params?: undefined;
|
|
315
|
-
}): Promise<`0x${string}`>;
|
|
316
|
-
(args: {
|
|
317
|
-
method: "eth_call";
|
|
318
|
-
params: [request: Partial<import("viem").RpcTransactionRequest>, block?: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier | undefined];
|
|
319
|
-
}): Promise<`0x${string}`>;
|
|
320
|
-
(args: {
|
|
321
|
-
method: "eth_chainId";
|
|
322
|
-
params?: undefined;
|
|
323
|
-
}): Promise<`0x${string}`>;
|
|
324
|
-
(args: {
|
|
325
|
-
method: "eth_coinbase";
|
|
326
|
-
params?: undefined;
|
|
327
|
-
}): Promise<`0x${string}`>;
|
|
328
|
-
(args: {
|
|
329
|
-
method: "eth_estimateGas";
|
|
330
|
-
params: [parameters: import("viem").RpcTransactionRequest, block?: `0x${string}` | import("viem").BlockTag | undefined];
|
|
331
|
-
}): Promise<`0x${string}`>;
|
|
332
|
-
(args: {
|
|
333
|
-
method: "eth_feeHistory";
|
|
334
|
-
params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
335
|
-
}): Promise<import("viem").RpcFeeHistory>;
|
|
336
|
-
(args: {
|
|
337
|
-
method: "eth_gasPrice";
|
|
338
|
-
params?: undefined;
|
|
339
|
-
}): Promise<`0x${string}`>;
|
|
340
|
-
(args: {
|
|
341
|
-
method: "eth_getBalance";
|
|
342
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
343
|
-
}): Promise<`0x${string}`>;
|
|
344
|
-
(args: {
|
|
345
|
-
method: "eth_getBlockByHash";
|
|
346
|
-
params: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
347
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
348
|
-
(args: {
|
|
349
|
-
method: "eth_getBlockByNumber";
|
|
350
|
-
params: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
351
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
352
|
-
(args: {
|
|
353
|
-
method: "eth_getBlockTransactionCountByHash";
|
|
354
|
-
params: [hash: `0x${string}`];
|
|
355
|
-
}): Promise<`0x${string}`>;
|
|
356
|
-
(args: {
|
|
357
|
-
method: "eth_getBlockTransactionCountByNumber";
|
|
358
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
359
|
-
}): Promise<`0x${string}`>;
|
|
360
|
-
(args: {
|
|
361
|
-
method: "eth_getCode";
|
|
362
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
363
|
-
}): Promise<`0x${string}`>;
|
|
364
|
-
(args: {
|
|
365
|
-
method: "eth_getFilterChanges";
|
|
366
|
-
params: [filterId: `0x${string}`];
|
|
367
|
-
}): Promise<`0x${string}`[] | import("viem").RpcLog[]>;
|
|
368
|
-
(args: {
|
|
369
|
-
method: "eth_getFilterLogs";
|
|
370
|
-
params: [filterId: `0x${string}`];
|
|
371
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
372
|
-
(args: {
|
|
373
|
-
method: "eth_getLogs";
|
|
374
|
-
params: [parameters: {
|
|
375
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
376
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
377
|
-
} & ({
|
|
378
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
379
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
380
|
-
blockHash?: undefined;
|
|
381
|
-
} | {
|
|
382
|
-
fromBlock?: undefined;
|
|
383
|
-
toBlock?: undefined;
|
|
384
|
-
blockHash?: `0x${string}` | undefined;
|
|
385
|
-
})];
|
|
386
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
387
|
-
(args: {
|
|
388
|
-
method: "eth_getStorageAt";
|
|
389
|
-
params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
390
|
-
}): Promise<`0x${string}`>;
|
|
391
|
-
(args: {
|
|
392
|
-
method: "eth_getTransactionByBlockHashAndIndex";
|
|
393
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
394
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
395
|
-
(args: {
|
|
396
|
-
method: "eth_getTransactionByBlockNumberAndIndex";
|
|
397
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
398
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
399
|
-
(args: {
|
|
400
|
-
method: "eth_getTransactionByHash";
|
|
401
|
-
params: [hash: `0x${string}`];
|
|
402
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
403
|
-
(args: {
|
|
404
|
-
method: "eth_getTransactionCount";
|
|
405
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
406
|
-
}): Promise<`0x${string}`>;
|
|
407
|
-
(args: {
|
|
408
|
-
method: "eth_getTransactionReceipt";
|
|
409
|
-
params: [hash: `0x${string}`];
|
|
410
|
-
}): Promise<import("viem").RpcTransactionReceipt | null>;
|
|
411
|
-
(args: {
|
|
412
|
-
method: "eth_getUncleByBlockHashAndIndex";
|
|
413
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
414
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
415
|
-
(args: {
|
|
416
|
-
method: "eth_getUncleByBlockNumberAndIndex";
|
|
417
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
418
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
419
|
-
(args: {
|
|
420
|
-
method: "eth_getUncleCountByBlockHash";
|
|
421
|
-
params: [hash: `0x${string}`];
|
|
422
|
-
}): Promise<`0x${string}`>;
|
|
423
|
-
(args: {
|
|
424
|
-
method: "eth_getUncleCountByBlockNumber";
|
|
425
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
426
|
-
}): Promise<`0x${string}`>;
|
|
427
|
-
(args: {
|
|
428
|
-
method: "eth_newBlockFilter";
|
|
429
|
-
params?: undefined;
|
|
430
|
-
}): Promise<`0x${string}`>;
|
|
431
|
-
(args: {
|
|
432
|
-
method: "eth_newFilter";
|
|
433
|
-
params: [filter: {
|
|
434
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
435
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
436
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
437
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
438
|
-
}];
|
|
439
|
-
}): Promise<`0x${string}`>;
|
|
440
|
-
(args: {
|
|
441
|
-
method: "eth_newPendingTransactionFilter";
|
|
442
|
-
params?: undefined;
|
|
443
|
-
}): Promise<`0x${string}`>;
|
|
444
|
-
(args: {
|
|
445
|
-
method: "eth_protocolVersion";
|
|
446
|
-
params?: undefined;
|
|
447
|
-
}): Promise<string>;
|
|
448
|
-
(args: {
|
|
449
|
-
method: "eth_sendRawTransaction";
|
|
450
|
-
params: [signedTransaction: `0x${string}`];
|
|
451
|
-
}): Promise<`0x${string}`>;
|
|
452
|
-
(args: {
|
|
453
|
-
method: "eth_uninstallFilter";
|
|
454
|
-
params: [filterId: `0x${string}`];
|
|
455
|
-
}): Promise<boolean>;
|
|
456
|
-
} & {
|
|
457
|
-
(args: {
|
|
458
|
-
method: "eth_sendTransaction";
|
|
459
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
460
|
-
}): Promise<`0x${string}`>;
|
|
461
|
-
(args: {
|
|
462
|
-
method: "eth_sign";
|
|
463
|
-
params: [address: `0x${string}`, data: `0x${string}`];
|
|
464
|
-
}): Promise<`0x${string}`>;
|
|
465
|
-
(args: {
|
|
466
|
-
method: "eth_signTransaction";
|
|
467
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
468
|
-
}): Promise<`0x${string}`>;
|
|
469
|
-
(args: {
|
|
470
|
-
method: "eth_signTypedData_v4";
|
|
471
|
-
params: [address: `0x${string}`, message: string];
|
|
472
|
-
}): Promise<`0x${string}`>;
|
|
473
|
-
(args: {
|
|
474
|
-
method: "eth_syncing";
|
|
475
|
-
params?: undefined;
|
|
476
|
-
}): Promise<false | import("viem").NetworkSync>;
|
|
477
|
-
(args: {
|
|
478
|
-
method: "personal_sign";
|
|
479
|
-
params: [data: `0x${string}`, address: `0x${string}`];
|
|
480
|
-
}): Promise<`0x${string}`>;
|
|
481
|
-
} & {
|
|
482
|
-
(args: {
|
|
483
|
-
method: "eth_accounts";
|
|
484
|
-
params?: undefined;
|
|
485
|
-
}): Promise<`0x${string}`[]>;
|
|
486
|
-
(args: {
|
|
487
|
-
method: "eth_chainId";
|
|
488
|
-
params?: undefined;
|
|
489
|
-
}): Promise<`0x${string}`>;
|
|
490
|
-
(args: {
|
|
491
|
-
method: "eth_requestAccounts";
|
|
492
|
-
params?: undefined;
|
|
493
|
-
}): Promise<`0x${string}`[]>;
|
|
494
|
-
(args: {
|
|
495
|
-
method: "wallet_requestPermissions";
|
|
496
|
-
params: [permissions: {
|
|
497
|
-
eth_accounts: Record<string, any>;
|
|
498
|
-
}];
|
|
499
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
500
|
-
(args: {
|
|
501
|
-
method: "wallet_getPermissions";
|
|
502
|
-
params?: undefined;
|
|
503
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
504
|
-
(args: {
|
|
505
|
-
method: "wallet_addEthereumChain";
|
|
506
|
-
params: [chain: import("viem").AddEthereumChainParameter];
|
|
507
|
-
}): Promise<null>;
|
|
508
|
-
(args: {
|
|
509
|
-
method: "wallet_switchEthereumChain";
|
|
510
|
-
params: [chain: {
|
|
511
|
-
chainId: string;
|
|
512
|
-
}];
|
|
513
|
-
}): Promise<null>;
|
|
514
|
-
(args: {
|
|
515
|
-
method: "wallet_watchAsset";
|
|
516
|
-
params: import("viem").WatchAssetParams;
|
|
517
|
-
}): Promise<boolean>;
|
|
518
|
-
}> & ((...args: any) => Promise<any>);
|
|
71
|
+
request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
|
|
72
|
+
transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn>;
|
|
519
73
|
type: string;
|
|
520
74
|
uid: string;
|
|
521
75
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
522
|
-
deployContract: <TAbi extends
|
|
76
|
+
deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends Chain | undefined = undefined>(args: import("viem").DeployContractParameters<TAbi, import("viem/_types/types/utils").Assign<{
|
|
523
77
|
readonly id: 1;
|
|
524
78
|
readonly network: "homestead";
|
|
525
79
|
readonly name: "Ethereum";
|
|
@@ -559,24 +113,74 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
559
113
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
560
114
|
};
|
|
561
115
|
readonly ensUniversalResolver: {
|
|
562
|
-
readonly address: "
|
|
563
|
-
readonly blockCreated:
|
|
116
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
117
|
+
readonly blockCreated: 16966585;
|
|
564
118
|
};
|
|
565
119
|
readonly multicall3: {
|
|
566
120
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
567
121
|
readonly blockCreated: 14353601;
|
|
568
122
|
};
|
|
569
123
|
};
|
|
570
|
-
}, undefined, TChainOverride>) => Promise<`0x${string}`>;
|
|
124
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride>) => Promise<`0x${string}`>;
|
|
571
125
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
572
126
|
getChainId: () => Promise<number>;
|
|
573
127
|
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
128
|
+
prepareTransactionRequest: <TChainOverride_1 extends Chain | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<import("viem/_types/types/utils").Assign<{
|
|
129
|
+
readonly id: 1;
|
|
130
|
+
readonly network: "homestead";
|
|
131
|
+
readonly name: "Ethereum";
|
|
132
|
+
readonly nativeCurrency: {
|
|
133
|
+
readonly name: "Ether";
|
|
134
|
+
readonly symbol: "ETH";
|
|
135
|
+
readonly decimals: 18;
|
|
136
|
+
};
|
|
137
|
+
readonly rpcUrls: {
|
|
138
|
+
readonly alchemy: {
|
|
139
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
140
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
141
|
+
};
|
|
142
|
+
readonly infura: {
|
|
143
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
144
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
145
|
+
};
|
|
146
|
+
readonly default: {
|
|
147
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
148
|
+
};
|
|
149
|
+
readonly public: {
|
|
150
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly blockExplorers: {
|
|
154
|
+
readonly etherscan: {
|
|
155
|
+
readonly name: "Etherscan";
|
|
156
|
+
readonly url: "https://etherscan.io";
|
|
157
|
+
};
|
|
158
|
+
readonly default: {
|
|
159
|
+
readonly name: "Etherscan";
|
|
160
|
+
readonly url: "https://etherscan.io";
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
readonly contracts: {
|
|
164
|
+
readonly ensRegistry: {
|
|
165
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
166
|
+
};
|
|
167
|
+
readonly ensUniversalResolver: {
|
|
168
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
169
|
+
readonly blockCreated: 16966585;
|
|
170
|
+
};
|
|
171
|
+
readonly multicall3: {
|
|
172
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
173
|
+
readonly blockCreated: 14353601;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
|
|
574
177
|
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
|
|
575
178
|
requestPermissions: (args: {
|
|
576
179
|
[x: string]: Record<string, any>;
|
|
577
180
|
eth_accounts: Record<string, any>;
|
|
578
181
|
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
579
|
-
|
|
182
|
+
sendRawTransaction: (args: import("viem/_types/actions/wallet/sendRawTransaction").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
183
|
+
sendTransaction: <TChainOverride_2 extends Chain | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem/_types/types/utils").Assign<{
|
|
580
184
|
readonly id: 1;
|
|
581
185
|
readonly network: "homestead";
|
|
582
186
|
readonly name: "Ethereum";
|
|
@@ -616,67 +220,113 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
616
220
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
617
221
|
};
|
|
618
222
|
readonly ensUniversalResolver: {
|
|
619
|
-
readonly address: "
|
|
620
|
-
readonly blockCreated:
|
|
223
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
224
|
+
readonly blockCreated: 16966585;
|
|
621
225
|
};
|
|
622
226
|
readonly multicall3: {
|
|
623
227
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
624
228
|
readonly blockCreated: 14353601;
|
|
625
229
|
};
|
|
626
230
|
};
|
|
627
|
-
}, undefined,
|
|
231
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
628
232
|
signMessage: (args: import("viem").SignMessageParameters<undefined>) => Promise<`0x${string}`>;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
233
|
+
signTransaction: <TChainOverride_3 extends Chain | undefined = undefined>(args: import("viem/_types/actions/wallet/signTransaction").SignTransactionParameters<import("viem/_types/types/utils").Assign<{
|
|
234
|
+
readonly id: 1;
|
|
235
|
+
readonly network: "homestead";
|
|
236
|
+
readonly name: "Ethereum";
|
|
237
|
+
readonly nativeCurrency: {
|
|
238
|
+
readonly name: "Ether";
|
|
239
|
+
readonly symbol: "ETH";
|
|
240
|
+
readonly decimals: 18;
|
|
241
|
+
};
|
|
242
|
+
readonly rpcUrls: {
|
|
243
|
+
readonly alchemy: {
|
|
244
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
245
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
246
|
+
};
|
|
247
|
+
readonly infura: {
|
|
248
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
249
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
250
|
+
};
|
|
251
|
+
readonly default: {
|
|
252
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
253
|
+
};
|
|
254
|
+
readonly public: {
|
|
255
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
readonly blockExplorers: {
|
|
259
|
+
readonly etherscan: {
|
|
260
|
+
readonly name: "Etherscan";
|
|
261
|
+
readonly url: "https://etherscan.io";
|
|
262
|
+
};
|
|
263
|
+
readonly default: {
|
|
264
|
+
readonly name: "Etherscan";
|
|
265
|
+
readonly url: "https://etherscan.io";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly contracts: {
|
|
269
|
+
readonly ensRegistry: {
|
|
270
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
271
|
+
};
|
|
272
|
+
readonly ensUniversalResolver: {
|
|
273
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
274
|
+
readonly blockCreated: 16966585;
|
|
275
|
+
};
|
|
276
|
+
readonly multicall3: {
|
|
277
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
278
|
+
readonly blockCreated: 14353601;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_3>) => Promise<`0x${string}`>;
|
|
282
|
+
signTypedData: <const TTypedData extends {
|
|
632
283
|
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
633
284
|
[x: `string[${string}]`]: undefined;
|
|
634
285
|
[x: `function[${string}]`]: undefined;
|
|
286
|
+
[x: `bytes[${string}]`]: undefined;
|
|
635
287
|
[x: `address[${string}]`]: undefined;
|
|
636
288
|
[x: `uint256[${string}]`]: undefined;
|
|
637
289
|
[x: `uint8[${string}]`]: undefined;
|
|
638
290
|
[x: `bytes32[${string}]`]: undefined;
|
|
639
|
-
[x: `bytes[${string}]`]: undefined;
|
|
640
291
|
[x: `uint32[${string}]`]: undefined;
|
|
641
292
|
[x: `bool[${string}]`]: undefined;
|
|
642
293
|
[x: `bytes4[${string}]`]: undefined;
|
|
643
294
|
[x: `uint224[${string}]`]: undefined;
|
|
644
|
-
[x: `uint24[${string}]`]: undefined;
|
|
645
295
|
[x: `bytes2[${string}]`]: undefined;
|
|
646
|
-
[x: `bytes1[${string}]`]: undefined;
|
|
647
296
|
[x: `bytes5[${string}]`]: undefined;
|
|
648
|
-
[x: `
|
|
649
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
650
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
651
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
652
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
653
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
654
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
655
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
656
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
657
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
658
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
659
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
660
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
661
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
662
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
663
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
664
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
665
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
666
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
667
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
668
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
669
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
670
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
671
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
672
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
673
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
297
|
+
[x: `bytes1[${string}]`]: undefined;
|
|
674
298
|
[x: `bytes31[${string}]`]: undefined;
|
|
299
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
300
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
301
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
302
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
303
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
304
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
305
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
306
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
307
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
308
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
309
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
310
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
311
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
312
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
313
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
314
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
315
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
316
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
317
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
318
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
319
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
320
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
321
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
322
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
323
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
324
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
675
325
|
[x: `int[${string}]`]: undefined;
|
|
676
326
|
[x: `int32[${string}]`]: undefined;
|
|
677
|
-
[x: `int8[${string}]`]: undefined;
|
|
678
|
-
[x: `int16[${string}]`]: undefined;
|
|
679
327
|
[x: `int24[${string}]`]: undefined;
|
|
328
|
+
[x: `int16[${string}]`]: undefined;
|
|
329
|
+
[x: `int8[${string}]`]: undefined;
|
|
680
330
|
[x: `int40[${string}]`]: undefined;
|
|
681
331
|
[x: `int48[${string}]`]: undefined;
|
|
682
332
|
[x: `int56[${string}]`]: undefined;
|
|
@@ -706,6 +356,7 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
706
356
|
[x: `int248[${string}]`]: undefined;
|
|
707
357
|
[x: `int256[${string}]`]: undefined;
|
|
708
358
|
[x: `uint[${string}]`]: undefined;
|
|
359
|
+
[x: `uint24[${string}]`]: undefined;
|
|
709
360
|
[x: `uint16[${string}]`]: undefined;
|
|
710
361
|
[x: `uint40[${string}]`]: undefined;
|
|
711
362
|
[x: `uint48[${string}]`]: undefined;
|
|
@@ -734,50 +385,49 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
734
385
|
[x: `uint240[${string}]`]: undefined;
|
|
735
386
|
[x: `uint248[${string}]`]: undefined;
|
|
736
387
|
string?: undefined;
|
|
388
|
+
bytes?: undefined;
|
|
737
389
|
address?: undefined;
|
|
738
390
|
uint256?: undefined;
|
|
739
391
|
uint8?: undefined;
|
|
740
392
|
bytes32?: undefined;
|
|
741
|
-
bytes?: undefined;
|
|
742
393
|
uint32?: undefined;
|
|
743
394
|
bool?: undefined;
|
|
744
395
|
bytes4?: undefined;
|
|
745
396
|
uint224?: undefined;
|
|
746
|
-
uint24?: undefined;
|
|
747
397
|
bytes2?: undefined;
|
|
748
|
-
bytes1?: undefined;
|
|
749
398
|
bytes5?: undefined;
|
|
750
|
-
|
|
751
|
-
bytes6?: undefined;
|
|
752
|
-
bytes7?: undefined;
|
|
753
|
-
bytes8?: undefined;
|
|
754
|
-
bytes9?: undefined;
|
|
755
|
-
bytes10?: undefined;
|
|
756
|
-
bytes11?: undefined;
|
|
757
|
-
bytes12?: undefined;
|
|
758
|
-
bytes13?: undefined;
|
|
759
|
-
bytes14?: undefined;
|
|
760
|
-
bytes15?: undefined;
|
|
761
|
-
bytes16?: undefined;
|
|
762
|
-
bytes17?: undefined;
|
|
763
|
-
bytes18?: undefined;
|
|
764
|
-
bytes19?: undefined;
|
|
765
|
-
bytes20?: undefined;
|
|
766
|
-
bytes21?: undefined;
|
|
767
|
-
bytes22?: undefined;
|
|
768
|
-
bytes23?: undefined;
|
|
769
|
-
bytes24?: undefined;
|
|
770
|
-
bytes25?: undefined;
|
|
771
|
-
bytes26?: undefined;
|
|
772
|
-
bytes27?: undefined;
|
|
773
|
-
bytes28?: undefined;
|
|
774
|
-
bytes29?: undefined;
|
|
775
|
-
bytes30?: undefined;
|
|
399
|
+
bytes1?: undefined;
|
|
776
400
|
bytes31?: undefined;
|
|
401
|
+
bytes30?: undefined;
|
|
402
|
+
bytes29?: undefined;
|
|
403
|
+
bytes28?: undefined;
|
|
404
|
+
bytes27?: undefined;
|
|
405
|
+
bytes26?: undefined;
|
|
406
|
+
bytes25?: undefined;
|
|
407
|
+
bytes24?: undefined;
|
|
408
|
+
bytes23?: undefined;
|
|
409
|
+
bytes22?: undefined;
|
|
410
|
+
bytes21?: undefined;
|
|
411
|
+
bytes20?: undefined;
|
|
412
|
+
bytes19?: undefined;
|
|
413
|
+
bytes18?: undefined;
|
|
414
|
+
bytes17?: undefined;
|
|
415
|
+
bytes16?: undefined;
|
|
416
|
+
bytes15?: undefined;
|
|
417
|
+
bytes14?: undefined;
|
|
418
|
+
bytes13?: undefined;
|
|
419
|
+
bytes12?: undefined;
|
|
420
|
+
bytes11?: undefined;
|
|
421
|
+
bytes10?: undefined;
|
|
422
|
+
bytes9?: undefined;
|
|
423
|
+
bytes8?: undefined;
|
|
424
|
+
bytes7?: undefined;
|
|
425
|
+
bytes6?: undefined;
|
|
426
|
+
bytes3?: undefined;
|
|
777
427
|
int32?: undefined;
|
|
778
|
-
int8?: undefined;
|
|
779
|
-
int16?: undefined;
|
|
780
428
|
int24?: undefined;
|
|
429
|
+
int16?: undefined;
|
|
430
|
+
int8?: undefined;
|
|
781
431
|
int40?: undefined;
|
|
782
432
|
int48?: undefined;
|
|
783
433
|
int56?: undefined;
|
|
@@ -806,6 +456,7 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
806
456
|
int240?: undefined;
|
|
807
457
|
int248?: undefined;
|
|
808
458
|
int256?: undefined;
|
|
459
|
+
uint24?: undefined;
|
|
809
460
|
uint16?: undefined;
|
|
810
461
|
uint40?: undefined;
|
|
811
462
|
uint48?: undefined;
|
|
@@ -833,10 +484,12 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
833
484
|
uint232?: undefined;
|
|
834
485
|
uint240?: undefined;
|
|
835
486
|
uint248?: undefined;
|
|
487
|
+
} | {
|
|
488
|
+
[key: string]: unknown;
|
|
836
489
|
}, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, undefined>) => Promise<`0x${string}`>;
|
|
837
490
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
838
491
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
839
|
-
writeContract: <TAbi_1 extends
|
|
492
|
+
writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends Chain | undefined = undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, import("viem/_types/types/utils").Assign<{
|
|
840
493
|
readonly id: 1;
|
|
841
494
|
readonly network: "homestead";
|
|
842
495
|
readonly name: "Ethereum";
|
|
@@ -876,19 +529,29 @@ export declare const convertProviderToClient: ({ provider, viemChain }: web3Prov
|
|
|
876
529
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
877
530
|
};
|
|
878
531
|
readonly ensUniversalResolver: {
|
|
879
|
-
readonly address: "
|
|
880
|
-
readonly blockCreated:
|
|
532
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
533
|
+
readonly blockCreated: 16966585;
|
|
881
534
|
};
|
|
882
535
|
readonly multicall3: {
|
|
883
536
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
884
537
|
readonly blockCreated: 14353601;
|
|
885
538
|
};
|
|
886
539
|
};
|
|
887
|
-
}, undefined,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
540
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_4>) => Promise<`0x${string}`>;
|
|
541
|
+
extend: <const client extends {
|
|
542
|
+
[x: string]: unknown;
|
|
543
|
+
account?: undefined;
|
|
544
|
+
batch?: undefined;
|
|
545
|
+
cacheTime?: undefined;
|
|
546
|
+
chain?: undefined;
|
|
547
|
+
key?: undefined;
|
|
548
|
+
name?: undefined;
|
|
549
|
+
pollingInterval?: undefined;
|
|
550
|
+
request?: undefined;
|
|
551
|
+
transport?: undefined;
|
|
552
|
+
type?: undefined;
|
|
553
|
+
uid?: undefined;
|
|
554
|
+
} & Partial<Pick<import("viem").PublicActions, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").CustomTransport, import("viem/_types/types/utils").Assign<{
|
|
892
555
|
readonly id: 1;
|
|
893
556
|
readonly network: "homestead";
|
|
894
557
|
readonly name: "Ethereum";
|
|
@@ -928,478 +591,15 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
928
591
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
929
592
|
};
|
|
930
593
|
readonly ensUniversalResolver: {
|
|
931
|
-
readonly address: "
|
|
932
|
-
readonly blockCreated:
|
|
594
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
595
|
+
readonly blockCreated: 16966585;
|
|
933
596
|
};
|
|
934
597
|
readonly multicall3: {
|
|
935
598
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
936
599
|
readonly blockCreated: 14353601;
|
|
937
600
|
};
|
|
938
601
|
};
|
|
939
|
-
}
|
|
940
|
-
key: string;
|
|
941
|
-
name: string;
|
|
942
|
-
pollingInterval: number;
|
|
943
|
-
request: {
|
|
944
|
-
(args: {
|
|
945
|
-
method: "web3_clientVersion";
|
|
946
|
-
params?: undefined;
|
|
947
|
-
}): Promise<string>;
|
|
948
|
-
(args: {
|
|
949
|
-
method: "web3_sha3";
|
|
950
|
-
params: [data: `0x${string}`];
|
|
951
|
-
}): Promise<string>;
|
|
952
|
-
(args: {
|
|
953
|
-
method: "net_listening";
|
|
954
|
-
params?: undefined;
|
|
955
|
-
}): Promise<boolean>;
|
|
956
|
-
(args: {
|
|
957
|
-
method: "net_peerCount";
|
|
958
|
-
params?: undefined;
|
|
959
|
-
}): Promise<`0x${string}`>;
|
|
960
|
-
(args: {
|
|
961
|
-
method: "net_version";
|
|
962
|
-
params?: undefined;
|
|
963
|
-
}): Promise<`0x${string}`>;
|
|
964
|
-
(args: {
|
|
965
|
-
method: "eth_blockNumber";
|
|
966
|
-
params?: undefined;
|
|
967
|
-
}): Promise<`0x${string}`>;
|
|
968
|
-
(args: {
|
|
969
|
-
method: "eth_call";
|
|
970
|
-
params: [request: Partial<import("viem").RpcTransactionRequest>, block?: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier | undefined];
|
|
971
|
-
}): Promise<`0x${string}`>;
|
|
972
|
-
(args: {
|
|
973
|
-
method: "eth_chainId";
|
|
974
|
-
params?: undefined;
|
|
975
|
-
}): Promise<`0x${string}`>;
|
|
976
|
-
(args: {
|
|
977
|
-
method: "eth_coinbase";
|
|
978
|
-
params?: undefined;
|
|
979
|
-
}): Promise<`0x${string}`>;
|
|
980
|
-
(args: {
|
|
981
|
-
method: "eth_estimateGas";
|
|
982
|
-
params: [parameters: import("viem").RpcTransactionRequest, block?: `0x${string}` | import("viem").BlockTag | undefined];
|
|
983
|
-
}): Promise<`0x${string}`>;
|
|
984
|
-
(args: {
|
|
985
|
-
method: "eth_feeHistory";
|
|
986
|
-
params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
987
|
-
}): Promise<import("viem").RpcFeeHistory>;
|
|
988
|
-
(args: {
|
|
989
|
-
method: "eth_gasPrice";
|
|
990
|
-
params?: undefined;
|
|
991
|
-
}): Promise<`0x${string}`>;
|
|
992
|
-
(args: {
|
|
993
|
-
method: "eth_getBalance";
|
|
994
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
995
|
-
}): Promise<`0x${string}`>;
|
|
996
|
-
(args: {
|
|
997
|
-
method: "eth_getBlockByHash";
|
|
998
|
-
params: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
999
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
1000
|
-
(args: {
|
|
1001
|
-
method: "eth_getBlockByNumber";
|
|
1002
|
-
params: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
1003
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
1004
|
-
(args: {
|
|
1005
|
-
method: "eth_getBlockTransactionCountByHash";
|
|
1006
|
-
params: [hash: `0x${string}`];
|
|
1007
|
-
}): Promise<`0x${string}`>;
|
|
1008
|
-
(args: {
|
|
1009
|
-
method: "eth_getBlockTransactionCountByNumber";
|
|
1010
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
1011
|
-
}): Promise<`0x${string}`>;
|
|
1012
|
-
(args: {
|
|
1013
|
-
method: "eth_getCode";
|
|
1014
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1015
|
-
}): Promise<`0x${string}`>;
|
|
1016
|
-
(args: {
|
|
1017
|
-
method: "eth_getFilterChanges";
|
|
1018
|
-
params: [filterId: `0x${string}`];
|
|
1019
|
-
}): Promise<`0x${string}`[] | import("viem").RpcLog[]>;
|
|
1020
|
-
(args: {
|
|
1021
|
-
method: "eth_getFilterLogs";
|
|
1022
|
-
params: [filterId: `0x${string}`];
|
|
1023
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
1024
|
-
(args: {
|
|
1025
|
-
method: "eth_getLogs";
|
|
1026
|
-
params: [parameters: {
|
|
1027
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
1028
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
1029
|
-
} & ({
|
|
1030
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1031
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1032
|
-
blockHash?: undefined;
|
|
1033
|
-
} | {
|
|
1034
|
-
fromBlock?: undefined;
|
|
1035
|
-
toBlock?: undefined;
|
|
1036
|
-
blockHash?: `0x${string}` | undefined;
|
|
1037
|
-
})];
|
|
1038
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
1039
|
-
(args: {
|
|
1040
|
-
method: "eth_getStorageAt";
|
|
1041
|
-
params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1042
|
-
}): Promise<`0x${string}`>;
|
|
1043
|
-
(args: {
|
|
1044
|
-
method: "eth_getTransactionByBlockHashAndIndex";
|
|
1045
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
1046
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1047
|
-
(args: {
|
|
1048
|
-
method: "eth_getTransactionByBlockNumberAndIndex";
|
|
1049
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
1050
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1051
|
-
(args: {
|
|
1052
|
-
method: "eth_getTransactionByHash";
|
|
1053
|
-
params: [hash: `0x${string}`];
|
|
1054
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1055
|
-
(args: {
|
|
1056
|
-
method: "eth_getTransactionCount";
|
|
1057
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1058
|
-
}): Promise<`0x${string}`>;
|
|
1059
|
-
(args: {
|
|
1060
|
-
method: "eth_getTransactionReceipt";
|
|
1061
|
-
params: [hash: `0x${string}`];
|
|
1062
|
-
}): Promise<import("viem").RpcTransactionReceipt | null>;
|
|
1063
|
-
(args: {
|
|
1064
|
-
method: "eth_getUncleByBlockHashAndIndex";
|
|
1065
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
1066
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
1067
|
-
(args: {
|
|
1068
|
-
method: "eth_getUncleByBlockNumberAndIndex";
|
|
1069
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
1070
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
1071
|
-
(args: {
|
|
1072
|
-
method: "eth_getUncleCountByBlockHash";
|
|
1073
|
-
params: [hash: `0x${string}`];
|
|
1074
|
-
}): Promise<`0x${string}`>;
|
|
1075
|
-
(args: {
|
|
1076
|
-
method: "eth_getUncleCountByBlockNumber";
|
|
1077
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
1078
|
-
}): Promise<`0x${string}`>;
|
|
1079
|
-
(args: {
|
|
1080
|
-
method: "eth_newBlockFilter";
|
|
1081
|
-
params?: undefined;
|
|
1082
|
-
}): Promise<`0x${string}`>;
|
|
1083
|
-
(args: {
|
|
1084
|
-
method: "eth_newFilter";
|
|
1085
|
-
params: [filter: {
|
|
1086
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1087
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1088
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
1089
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
1090
|
-
}];
|
|
1091
|
-
}): Promise<`0x${string}`>;
|
|
1092
|
-
(args: {
|
|
1093
|
-
method: "eth_newPendingTransactionFilter";
|
|
1094
|
-
params?: undefined;
|
|
1095
|
-
}): Promise<`0x${string}`>;
|
|
1096
|
-
(args: {
|
|
1097
|
-
method: "eth_protocolVersion";
|
|
1098
|
-
params?: undefined;
|
|
1099
|
-
}): Promise<string>;
|
|
1100
|
-
(args: {
|
|
1101
|
-
method: "eth_sendRawTransaction";
|
|
1102
|
-
params: [signedTransaction: `0x${string}`];
|
|
1103
|
-
}): Promise<`0x${string}`>;
|
|
1104
|
-
(args: {
|
|
1105
|
-
method: "eth_uninstallFilter";
|
|
1106
|
-
params: [filterId: `0x${string}`];
|
|
1107
|
-
}): Promise<boolean>;
|
|
1108
|
-
} & {
|
|
1109
|
-
(args: {
|
|
1110
|
-
method: "eth_sendTransaction";
|
|
1111
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
1112
|
-
}): Promise<`0x${string}`>;
|
|
1113
|
-
(args: {
|
|
1114
|
-
method: "eth_sign";
|
|
1115
|
-
params: [address: `0x${string}`, data: `0x${string}`];
|
|
1116
|
-
}): Promise<`0x${string}`>;
|
|
1117
|
-
(args: {
|
|
1118
|
-
method: "eth_signTransaction";
|
|
1119
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
1120
|
-
}): Promise<`0x${string}`>;
|
|
1121
|
-
(args: {
|
|
1122
|
-
method: "eth_signTypedData_v4";
|
|
1123
|
-
params: [address: `0x${string}`, message: string];
|
|
1124
|
-
}): Promise<`0x${string}`>;
|
|
1125
|
-
(args: {
|
|
1126
|
-
method: "eth_syncing";
|
|
1127
|
-
params?: undefined;
|
|
1128
|
-
}): Promise<false | import("viem").NetworkSync>;
|
|
1129
|
-
(args: {
|
|
1130
|
-
method: "personal_sign";
|
|
1131
|
-
params: [data: `0x${string}`, address: `0x${string}`];
|
|
1132
|
-
}): Promise<`0x${string}`>;
|
|
1133
|
-
} & {
|
|
1134
|
-
(args: {
|
|
1135
|
-
method: "eth_accounts";
|
|
1136
|
-
params?: undefined;
|
|
1137
|
-
}): Promise<`0x${string}`[]>;
|
|
1138
|
-
(args: {
|
|
1139
|
-
method: "eth_chainId";
|
|
1140
|
-
params?: undefined;
|
|
1141
|
-
}): Promise<`0x${string}`>;
|
|
1142
|
-
(args: {
|
|
1143
|
-
method: "eth_requestAccounts";
|
|
1144
|
-
params?: undefined;
|
|
1145
|
-
}): Promise<`0x${string}`[]>;
|
|
1146
|
-
(args: {
|
|
1147
|
-
method: "wallet_requestPermissions";
|
|
1148
|
-
params: [permissions: {
|
|
1149
|
-
eth_accounts: Record<string, any>;
|
|
1150
|
-
}];
|
|
1151
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
1152
|
-
(args: {
|
|
1153
|
-
method: "wallet_getPermissions";
|
|
1154
|
-
params?: undefined;
|
|
1155
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
1156
|
-
(args: {
|
|
1157
|
-
method: "wallet_addEthereumChain";
|
|
1158
|
-
params: [chain: import("viem").AddEthereumChainParameter];
|
|
1159
|
-
}): Promise<null>;
|
|
1160
|
-
(args: {
|
|
1161
|
-
method: "wallet_switchEthereumChain";
|
|
1162
|
-
params: [chain: {
|
|
1163
|
-
chainId: string;
|
|
1164
|
-
}];
|
|
1165
|
-
}): Promise<null>;
|
|
1166
|
-
(args: {
|
|
1167
|
-
method: "wallet_watchAsset";
|
|
1168
|
-
params: import("viem").WatchAssetParams;
|
|
1169
|
-
}): Promise<boolean>;
|
|
1170
|
-
};
|
|
1171
|
-
transport: import("viem").TransportConfig<"custom", {
|
|
1172
|
-
(args: {
|
|
1173
|
-
method: "web3_clientVersion";
|
|
1174
|
-
params?: undefined;
|
|
1175
|
-
}): Promise<string>;
|
|
1176
|
-
(args: {
|
|
1177
|
-
method: "web3_sha3";
|
|
1178
|
-
params: [data: `0x${string}`];
|
|
1179
|
-
}): Promise<string>;
|
|
1180
|
-
(args: {
|
|
1181
|
-
method: "net_listening";
|
|
1182
|
-
params?: undefined;
|
|
1183
|
-
}): Promise<boolean>;
|
|
1184
|
-
(args: {
|
|
1185
|
-
method: "net_peerCount";
|
|
1186
|
-
params?: undefined;
|
|
1187
|
-
}): Promise<`0x${string}`>;
|
|
1188
|
-
(args: {
|
|
1189
|
-
method: "net_version";
|
|
1190
|
-
params?: undefined;
|
|
1191
|
-
}): Promise<`0x${string}`>;
|
|
1192
|
-
(args: {
|
|
1193
|
-
method: "eth_blockNumber";
|
|
1194
|
-
params?: undefined;
|
|
1195
|
-
}): Promise<`0x${string}`>;
|
|
1196
|
-
(args: {
|
|
1197
|
-
method: "eth_call";
|
|
1198
|
-
params: [request: Partial<import("viem").RpcTransactionRequest>, block?: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier | undefined];
|
|
1199
|
-
}): Promise<`0x${string}`>;
|
|
1200
|
-
(args: {
|
|
1201
|
-
method: "eth_chainId";
|
|
1202
|
-
params?: undefined;
|
|
1203
|
-
}): Promise<`0x${string}`>;
|
|
1204
|
-
(args: {
|
|
1205
|
-
method: "eth_coinbase";
|
|
1206
|
-
params?: undefined;
|
|
1207
|
-
}): Promise<`0x${string}`>;
|
|
1208
|
-
(args: {
|
|
1209
|
-
method: "eth_estimateGas";
|
|
1210
|
-
params: [parameters: import("viem").RpcTransactionRequest, block?: `0x${string}` | import("viem").BlockTag | undefined];
|
|
1211
|
-
}): Promise<`0x${string}`>;
|
|
1212
|
-
(args: {
|
|
1213
|
-
method: "eth_feeHistory";
|
|
1214
|
-
params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
1215
|
-
}): Promise<import("viem").RpcFeeHistory>;
|
|
1216
|
-
(args: {
|
|
1217
|
-
method: "eth_gasPrice";
|
|
1218
|
-
params?: undefined;
|
|
1219
|
-
}): Promise<`0x${string}`>;
|
|
1220
|
-
(args: {
|
|
1221
|
-
method: "eth_getBalance";
|
|
1222
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1223
|
-
}): Promise<`0x${string}`>;
|
|
1224
|
-
(args: {
|
|
1225
|
-
method: "eth_getBlockByHash";
|
|
1226
|
-
params: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
1227
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
1228
|
-
(args: {
|
|
1229
|
-
method: "eth_getBlockByNumber";
|
|
1230
|
-
params: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
1231
|
-
}): Promise<import("viem").RpcBlock | null>;
|
|
1232
|
-
(args: {
|
|
1233
|
-
method: "eth_getBlockTransactionCountByHash";
|
|
1234
|
-
params: [hash: `0x${string}`];
|
|
1235
|
-
}): Promise<`0x${string}`>;
|
|
1236
|
-
(args: {
|
|
1237
|
-
method: "eth_getBlockTransactionCountByNumber";
|
|
1238
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
1239
|
-
}): Promise<`0x${string}`>;
|
|
1240
|
-
(args: {
|
|
1241
|
-
method: "eth_getCode";
|
|
1242
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1243
|
-
}): Promise<`0x${string}`>;
|
|
1244
|
-
(args: {
|
|
1245
|
-
method: "eth_getFilterChanges";
|
|
1246
|
-
params: [filterId: `0x${string}`];
|
|
1247
|
-
}): Promise<`0x${string}`[] | import("viem").RpcLog[]>;
|
|
1248
|
-
(args: {
|
|
1249
|
-
method: "eth_getFilterLogs";
|
|
1250
|
-
params: [filterId: `0x${string}`];
|
|
1251
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
1252
|
-
(args: {
|
|
1253
|
-
method: "eth_getLogs";
|
|
1254
|
-
params: [parameters: {
|
|
1255
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
1256
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
1257
|
-
} & ({
|
|
1258
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1259
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1260
|
-
blockHash?: undefined;
|
|
1261
|
-
} | {
|
|
1262
|
-
fromBlock?: undefined;
|
|
1263
|
-
toBlock?: undefined;
|
|
1264
|
-
blockHash?: `0x${string}` | undefined;
|
|
1265
|
-
})];
|
|
1266
|
-
}): Promise<import("viem").RpcLog[]>;
|
|
1267
|
-
(args: {
|
|
1268
|
-
method: "eth_getStorageAt";
|
|
1269
|
-
params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1270
|
-
}): Promise<`0x${string}`>;
|
|
1271
|
-
(args: {
|
|
1272
|
-
method: "eth_getTransactionByBlockHashAndIndex";
|
|
1273
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
1274
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1275
|
-
(args: {
|
|
1276
|
-
method: "eth_getTransactionByBlockNumberAndIndex";
|
|
1277
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
1278
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1279
|
-
(args: {
|
|
1280
|
-
method: "eth_getTransactionByHash";
|
|
1281
|
-
params: [hash: `0x${string}`];
|
|
1282
|
-
}): Promise<import("viem").RpcTransaction | null>;
|
|
1283
|
-
(args: {
|
|
1284
|
-
method: "eth_getTransactionCount";
|
|
1285
|
-
params: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
1286
|
-
}): Promise<`0x${string}`>;
|
|
1287
|
-
(args: {
|
|
1288
|
-
method: "eth_getTransactionReceipt";
|
|
1289
|
-
params: [hash: `0x${string}`];
|
|
1290
|
-
}): Promise<import("viem").RpcTransactionReceipt | null>;
|
|
1291
|
-
(args: {
|
|
1292
|
-
method: "eth_getUncleByBlockHashAndIndex";
|
|
1293
|
-
params: [hash: `0x${string}`, index: `0x${string}`];
|
|
1294
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
1295
|
-
(args: {
|
|
1296
|
-
method: "eth_getUncleByBlockNumberAndIndex";
|
|
1297
|
-
params: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
1298
|
-
}): Promise<import("viem").RpcUncle | null>;
|
|
1299
|
-
(args: {
|
|
1300
|
-
method: "eth_getUncleCountByBlockHash";
|
|
1301
|
-
params: [hash: `0x${string}`];
|
|
1302
|
-
}): Promise<`0x${string}`>;
|
|
1303
|
-
(args: {
|
|
1304
|
-
method: "eth_getUncleCountByBlockNumber";
|
|
1305
|
-
params: [block: `0x${string}` | import("viem").BlockTag];
|
|
1306
|
-
}): Promise<`0x${string}`>;
|
|
1307
|
-
(args: {
|
|
1308
|
-
method: "eth_newBlockFilter";
|
|
1309
|
-
params?: undefined;
|
|
1310
|
-
}): Promise<`0x${string}`>;
|
|
1311
|
-
(args: {
|
|
1312
|
-
method: "eth_newFilter";
|
|
1313
|
-
params: [filter: {
|
|
1314
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1315
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
1316
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
1317
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
1318
|
-
}];
|
|
1319
|
-
}): Promise<`0x${string}`>;
|
|
1320
|
-
(args: {
|
|
1321
|
-
method: "eth_newPendingTransactionFilter";
|
|
1322
|
-
params?: undefined;
|
|
1323
|
-
}): Promise<`0x${string}`>;
|
|
1324
|
-
(args: {
|
|
1325
|
-
method: "eth_protocolVersion";
|
|
1326
|
-
params?: undefined;
|
|
1327
|
-
}): Promise<string>;
|
|
1328
|
-
(args: {
|
|
1329
|
-
method: "eth_sendRawTransaction";
|
|
1330
|
-
params: [signedTransaction: `0x${string}`];
|
|
1331
|
-
}): Promise<`0x${string}`>;
|
|
1332
|
-
(args: {
|
|
1333
|
-
method: "eth_uninstallFilter";
|
|
1334
|
-
params: [filterId: `0x${string}`];
|
|
1335
|
-
}): Promise<boolean>;
|
|
1336
|
-
} & {
|
|
1337
|
-
(args: {
|
|
1338
|
-
method: "eth_sendTransaction";
|
|
1339
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
1340
|
-
}): Promise<`0x${string}`>;
|
|
1341
|
-
(args: {
|
|
1342
|
-
method: "eth_sign";
|
|
1343
|
-
params: [address: `0x${string}`, data: `0x${string}`];
|
|
1344
|
-
}): Promise<`0x${string}`>;
|
|
1345
|
-
(args: {
|
|
1346
|
-
method: "eth_signTransaction";
|
|
1347
|
-
params: [request: import("viem").RpcTransactionRequest];
|
|
1348
|
-
}): Promise<`0x${string}`>;
|
|
1349
|
-
(args: {
|
|
1350
|
-
method: "eth_signTypedData_v4";
|
|
1351
|
-
params: [address: `0x${string}`, message: string];
|
|
1352
|
-
}): Promise<`0x${string}`>;
|
|
1353
|
-
(args: {
|
|
1354
|
-
method: "eth_syncing";
|
|
1355
|
-
params?: undefined;
|
|
1356
|
-
}): Promise<false | import("viem").NetworkSync>;
|
|
1357
|
-
(args: {
|
|
1358
|
-
method: "personal_sign";
|
|
1359
|
-
params: [data: `0x${string}`, address: `0x${string}`];
|
|
1360
|
-
}): Promise<`0x${string}`>;
|
|
1361
|
-
} & {
|
|
1362
|
-
(args: {
|
|
1363
|
-
method: "eth_accounts";
|
|
1364
|
-
params?: undefined;
|
|
1365
|
-
}): Promise<`0x${string}`[]>;
|
|
1366
|
-
(args: {
|
|
1367
|
-
method: "eth_chainId";
|
|
1368
|
-
params?: undefined;
|
|
1369
|
-
}): Promise<`0x${string}`>;
|
|
1370
|
-
(args: {
|
|
1371
|
-
method: "eth_requestAccounts";
|
|
1372
|
-
params?: undefined;
|
|
1373
|
-
}): Promise<`0x${string}`[]>;
|
|
1374
|
-
(args: {
|
|
1375
|
-
method: "wallet_requestPermissions";
|
|
1376
|
-
params: [permissions: {
|
|
1377
|
-
eth_accounts: Record<string, any>;
|
|
1378
|
-
}];
|
|
1379
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
1380
|
-
(args: {
|
|
1381
|
-
method: "wallet_getPermissions";
|
|
1382
|
-
params?: undefined;
|
|
1383
|
-
}): Promise<import("viem").WalletPermission[]>;
|
|
1384
|
-
(args: {
|
|
1385
|
-
method: "wallet_addEthereumChain";
|
|
1386
|
-
params: [chain: import("viem").AddEthereumChainParameter];
|
|
1387
|
-
}): Promise<null>;
|
|
1388
|
-
(args: {
|
|
1389
|
-
method: "wallet_switchEthereumChain";
|
|
1390
|
-
params: [chain: {
|
|
1391
|
-
chainId: string;
|
|
1392
|
-
}];
|
|
1393
|
-
}): Promise<null>;
|
|
1394
|
-
(args: {
|
|
1395
|
-
method: "wallet_watchAsset";
|
|
1396
|
-
params: import("viem").WatchAssetParams;
|
|
1397
|
-
}): Promise<boolean>;
|
|
1398
|
-
}> & ((...args: any) => Promise<any>);
|
|
1399
|
-
type: string;
|
|
1400
|
-
uid: string;
|
|
1401
|
-
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
1402
|
-
deployContract: <TAbi extends readonly unknown[] | import("viem").Abi, TChainOverride extends Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, Chain | {
|
|
602
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
|
|
1403
603
|
readonly id: 1;
|
|
1404
604
|
readonly network: "homestead";
|
|
1405
605
|
readonly name: "Ethereum";
|
|
@@ -1439,24 +639,15 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1439
639
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1440
640
|
};
|
|
1441
641
|
readonly ensUniversalResolver: {
|
|
1442
|
-
readonly address: "
|
|
1443
|
-
readonly blockCreated:
|
|
642
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
643
|
+
readonly blockCreated: 16966585;
|
|
1444
644
|
};
|
|
1445
645
|
readonly multicall3: {
|
|
1446
646
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1447
647
|
readonly blockCreated: 14353601;
|
|
1448
648
|
};
|
|
1449
649
|
};
|
|
1450
|
-
}, undefined
|
|
1451
|
-
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
1452
|
-
getChainId: () => Promise<number>;
|
|
1453
|
-
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
1454
|
-
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
|
|
1455
|
-
requestPermissions: (args: {
|
|
1456
|
-
[x: string]: Record<string, any>;
|
|
1457
|
-
eth_accounts: Record<string, any>;
|
|
1458
|
-
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
1459
|
-
sendTransaction: <TChainOverride_1 extends Chain | undefined>(args: import("viem").SendTransactionParameters<Chain | {
|
|
650
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>) => client) => import("viem").Client<import("viem").CustomTransport, import("viem/_types/types/utils").Assign<{
|
|
1460
651
|
readonly id: 1;
|
|
1461
652
|
readonly network: "homestead";
|
|
1462
653
|
readonly name: "Ethereum";
|
|
@@ -1496,67 +687,384 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1496
687
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1497
688
|
};
|
|
1498
689
|
readonly ensUniversalResolver: {
|
|
1499
|
-
readonly address: "
|
|
1500
|
-
readonly blockCreated:
|
|
690
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
691
|
+
readonly blockCreated: 16966585;
|
|
1501
692
|
};
|
|
1502
693
|
readonly multicall3: {
|
|
1503
694
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1504
695
|
readonly blockCreated: 14353601;
|
|
1505
696
|
};
|
|
1506
697
|
};
|
|
1507
|
-
}, undefined,
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
698
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
|
|
699
|
+
readonly id: 1;
|
|
700
|
+
readonly network: "homestead";
|
|
701
|
+
readonly name: "Ethereum";
|
|
702
|
+
readonly nativeCurrency: {
|
|
703
|
+
readonly name: "Ether";
|
|
704
|
+
readonly symbol: "ETH";
|
|
705
|
+
readonly decimals: 18;
|
|
706
|
+
};
|
|
707
|
+
readonly rpcUrls: {
|
|
708
|
+
readonly alchemy: {
|
|
709
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
710
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
711
|
+
};
|
|
712
|
+
readonly infura: {
|
|
713
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
714
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
715
|
+
};
|
|
716
|
+
readonly default: {
|
|
717
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
718
|
+
};
|
|
719
|
+
readonly public: {
|
|
720
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
readonly blockExplorers: {
|
|
724
|
+
readonly etherscan: {
|
|
725
|
+
readonly name: "Etherscan";
|
|
726
|
+
readonly url: "https://etherscan.io";
|
|
727
|
+
};
|
|
728
|
+
readonly default: {
|
|
729
|
+
readonly name: "Etherscan";
|
|
730
|
+
readonly url: "https://etherscan.io";
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
readonly contracts: {
|
|
734
|
+
readonly ensRegistry: {
|
|
735
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
736
|
+
};
|
|
737
|
+
readonly ensUniversalResolver: {
|
|
738
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
739
|
+
readonly blockCreated: 16966585;
|
|
740
|
+
};
|
|
741
|
+
readonly multicall3: {
|
|
742
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
743
|
+
readonly blockCreated: 14353601;
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>;
|
|
747
|
+
};
|
|
748
|
+
export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerConversionInterface) => {
|
|
749
|
+
account: undefined;
|
|
750
|
+
batch?: {
|
|
751
|
+
multicall?: boolean | {
|
|
752
|
+
batchSize?: number | undefined;
|
|
753
|
+
wait?: number | undefined;
|
|
754
|
+
} | undefined;
|
|
755
|
+
} | undefined;
|
|
756
|
+
cacheTime: number;
|
|
757
|
+
chain: import("viem/_types/types/utils").Assign<{
|
|
758
|
+
readonly id: 1;
|
|
759
|
+
readonly network: "homestead";
|
|
760
|
+
readonly name: "Ethereum";
|
|
761
|
+
readonly nativeCurrency: {
|
|
762
|
+
readonly name: "Ether";
|
|
763
|
+
readonly symbol: "ETH";
|
|
764
|
+
readonly decimals: 18;
|
|
765
|
+
};
|
|
766
|
+
readonly rpcUrls: {
|
|
767
|
+
readonly alchemy: {
|
|
768
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
769
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
770
|
+
};
|
|
771
|
+
readonly infura: {
|
|
772
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
773
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
774
|
+
};
|
|
775
|
+
readonly default: {
|
|
776
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
777
|
+
};
|
|
778
|
+
readonly public: {
|
|
779
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly blockExplorers: {
|
|
783
|
+
readonly etherscan: {
|
|
784
|
+
readonly name: "Etherscan";
|
|
785
|
+
readonly url: "https://etherscan.io";
|
|
786
|
+
};
|
|
787
|
+
readonly default: {
|
|
788
|
+
readonly name: "Etherscan";
|
|
789
|
+
readonly url: "https://etherscan.io";
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
readonly contracts: {
|
|
793
|
+
readonly ensRegistry: {
|
|
794
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
795
|
+
};
|
|
796
|
+
readonly ensUniversalResolver: {
|
|
797
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
798
|
+
readonly blockCreated: 16966585;
|
|
799
|
+
};
|
|
800
|
+
readonly multicall3: {
|
|
801
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
802
|
+
readonly blockCreated: 14353601;
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>;
|
|
806
|
+
key: string;
|
|
807
|
+
name: string;
|
|
808
|
+
pollingInterval: number;
|
|
809
|
+
request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
|
|
810
|
+
transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn>;
|
|
811
|
+
type: string;
|
|
812
|
+
uid: string;
|
|
813
|
+
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
814
|
+
deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends Chain | undefined = undefined>(args: import("viem").DeployContractParameters<TAbi, import("viem/_types/types/utils").Assign<{
|
|
815
|
+
readonly id: 1;
|
|
816
|
+
readonly network: "homestead";
|
|
817
|
+
readonly name: "Ethereum";
|
|
818
|
+
readonly nativeCurrency: {
|
|
819
|
+
readonly name: "Ether";
|
|
820
|
+
readonly symbol: "ETH";
|
|
821
|
+
readonly decimals: 18;
|
|
822
|
+
};
|
|
823
|
+
readonly rpcUrls: {
|
|
824
|
+
readonly alchemy: {
|
|
825
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
826
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
827
|
+
};
|
|
828
|
+
readonly infura: {
|
|
829
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
830
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
831
|
+
};
|
|
832
|
+
readonly default: {
|
|
833
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
834
|
+
};
|
|
835
|
+
readonly public: {
|
|
836
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
readonly blockExplorers: {
|
|
840
|
+
readonly etherscan: {
|
|
841
|
+
readonly name: "Etherscan";
|
|
842
|
+
readonly url: "https://etherscan.io";
|
|
843
|
+
};
|
|
844
|
+
readonly default: {
|
|
845
|
+
readonly name: "Etherscan";
|
|
846
|
+
readonly url: "https://etherscan.io";
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
readonly contracts: {
|
|
850
|
+
readonly ensRegistry: {
|
|
851
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
852
|
+
};
|
|
853
|
+
readonly ensUniversalResolver: {
|
|
854
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
855
|
+
readonly blockCreated: 16966585;
|
|
856
|
+
};
|
|
857
|
+
readonly multicall3: {
|
|
858
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
859
|
+
readonly blockCreated: 14353601;
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride>) => Promise<`0x${string}`>;
|
|
863
|
+
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
864
|
+
getChainId: () => Promise<number>;
|
|
865
|
+
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
|
|
866
|
+
prepareTransactionRequest: <TChainOverride_1 extends Chain | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<import("viem/_types/types/utils").Assign<{
|
|
867
|
+
readonly id: 1;
|
|
868
|
+
readonly network: "homestead";
|
|
869
|
+
readonly name: "Ethereum";
|
|
870
|
+
readonly nativeCurrency: {
|
|
871
|
+
readonly name: "Ether";
|
|
872
|
+
readonly symbol: "ETH";
|
|
873
|
+
readonly decimals: 18;
|
|
874
|
+
};
|
|
875
|
+
readonly rpcUrls: {
|
|
876
|
+
readonly alchemy: {
|
|
877
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
878
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
879
|
+
};
|
|
880
|
+
readonly infura: {
|
|
881
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
882
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
883
|
+
};
|
|
884
|
+
readonly default: {
|
|
885
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
886
|
+
};
|
|
887
|
+
readonly public: {
|
|
888
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
readonly blockExplorers: {
|
|
892
|
+
readonly etherscan: {
|
|
893
|
+
readonly name: "Etherscan";
|
|
894
|
+
readonly url: "https://etherscan.io";
|
|
895
|
+
};
|
|
896
|
+
readonly default: {
|
|
897
|
+
readonly name: "Etherscan";
|
|
898
|
+
readonly url: "https://etherscan.io";
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
readonly contracts: {
|
|
902
|
+
readonly ensRegistry: {
|
|
903
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
904
|
+
};
|
|
905
|
+
readonly ensUniversalResolver: {
|
|
906
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
907
|
+
readonly blockCreated: 16966585;
|
|
908
|
+
};
|
|
909
|
+
readonly multicall3: {
|
|
910
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
911
|
+
readonly blockCreated: 14353601;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
|
|
915
|
+
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
|
|
916
|
+
requestPermissions: (args: {
|
|
917
|
+
[x: string]: Record<string, any>;
|
|
918
|
+
eth_accounts: Record<string, any>;
|
|
919
|
+
}) => Promise<import("viem").RequestPermissionsReturnType>;
|
|
920
|
+
sendRawTransaction: (args: import("viem/_types/actions/wallet/sendRawTransaction").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
921
|
+
sendTransaction: <TChainOverride_2 extends Chain | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem/_types/types/utils").Assign<{
|
|
922
|
+
readonly id: 1;
|
|
923
|
+
readonly network: "homestead";
|
|
924
|
+
readonly name: "Ethereum";
|
|
925
|
+
readonly nativeCurrency: {
|
|
926
|
+
readonly name: "Ether";
|
|
927
|
+
readonly symbol: "ETH";
|
|
928
|
+
readonly decimals: 18;
|
|
929
|
+
};
|
|
930
|
+
readonly rpcUrls: {
|
|
931
|
+
readonly alchemy: {
|
|
932
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
933
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
934
|
+
};
|
|
935
|
+
readonly infura: {
|
|
936
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
937
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
938
|
+
};
|
|
939
|
+
readonly default: {
|
|
940
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
941
|
+
};
|
|
942
|
+
readonly public: {
|
|
943
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
readonly blockExplorers: {
|
|
947
|
+
readonly etherscan: {
|
|
948
|
+
readonly name: "Etherscan";
|
|
949
|
+
readonly url: "https://etherscan.io";
|
|
950
|
+
};
|
|
951
|
+
readonly default: {
|
|
952
|
+
readonly name: "Etherscan";
|
|
953
|
+
readonly url: "https://etherscan.io";
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
readonly contracts: {
|
|
957
|
+
readonly ensRegistry: {
|
|
958
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
959
|
+
};
|
|
960
|
+
readonly ensUniversalResolver: {
|
|
961
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
962
|
+
readonly blockCreated: 16966585;
|
|
963
|
+
};
|
|
964
|
+
readonly multicall3: {
|
|
965
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
966
|
+
readonly blockCreated: 14353601;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
970
|
+
signMessage: (args: import("viem").SignMessageParameters<undefined>) => Promise<`0x${string}`>;
|
|
971
|
+
signTransaction: <TChainOverride_3 extends Chain | undefined = undefined>(args: import("viem/_types/actions/wallet/signTransaction").SignTransactionParameters<import("viem/_types/types/utils").Assign<{
|
|
972
|
+
readonly id: 1;
|
|
973
|
+
readonly network: "homestead";
|
|
974
|
+
readonly name: "Ethereum";
|
|
975
|
+
readonly nativeCurrency: {
|
|
976
|
+
readonly name: "Ether";
|
|
977
|
+
readonly symbol: "ETH";
|
|
978
|
+
readonly decimals: 18;
|
|
979
|
+
};
|
|
980
|
+
readonly rpcUrls: {
|
|
981
|
+
readonly alchemy: {
|
|
982
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
983
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
984
|
+
};
|
|
985
|
+
readonly infura: {
|
|
986
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
987
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
988
|
+
};
|
|
989
|
+
readonly default: {
|
|
990
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
991
|
+
};
|
|
992
|
+
readonly public: {
|
|
993
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
readonly blockExplorers: {
|
|
997
|
+
readonly etherscan: {
|
|
998
|
+
readonly name: "Etherscan";
|
|
999
|
+
readonly url: "https://etherscan.io";
|
|
1000
|
+
};
|
|
1001
|
+
readonly default: {
|
|
1002
|
+
readonly name: "Etherscan";
|
|
1003
|
+
readonly url: "https://etherscan.io";
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
readonly contracts: {
|
|
1007
|
+
readonly ensRegistry: {
|
|
1008
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1009
|
+
};
|
|
1010
|
+
readonly ensUniversalResolver: {
|
|
1011
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1012
|
+
readonly blockCreated: 16966585;
|
|
1013
|
+
};
|
|
1014
|
+
readonly multicall3: {
|
|
1015
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1016
|
+
readonly blockCreated: 14353601;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_3>) => Promise<`0x${string}`>;
|
|
1020
|
+
signTypedData: <const TTypedData extends {
|
|
1021
|
+
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
1022
|
+
[x: `string[${string}]`]: undefined;
|
|
1023
|
+
[x: `function[${string}]`]: undefined;
|
|
1024
|
+
[x: `bytes[${string}]`]: undefined;
|
|
1025
|
+
[x: `address[${string}]`]: undefined;
|
|
1026
|
+
[x: `uint256[${string}]`]: undefined;
|
|
1027
|
+
[x: `uint8[${string}]`]: undefined;
|
|
1028
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
1029
|
+
[x: `uint32[${string}]`]: undefined;
|
|
1030
|
+
[x: `bool[${string}]`]: undefined;
|
|
1031
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
1032
|
+
[x: `uint224[${string}]`]: undefined;
|
|
1033
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
1034
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
1035
|
+
[x: `bytes1[${string}]`]: undefined;
|
|
1554
1036
|
[x: `bytes31[${string}]`]: undefined;
|
|
1037
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
1038
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
1039
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
1040
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
1041
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
1042
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
1043
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
1044
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
1045
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
1046
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
1047
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
1048
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
1049
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
1050
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
1051
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
1052
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
1053
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
1054
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
1055
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
1056
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
1057
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
1058
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
1059
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
1060
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
1061
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
1062
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
1555
1063
|
[x: `int[${string}]`]: undefined;
|
|
1556
1064
|
[x: `int32[${string}]`]: undefined;
|
|
1557
|
-
[x: `int8[${string}]`]: undefined;
|
|
1558
|
-
[x: `int16[${string}]`]: undefined;
|
|
1559
1065
|
[x: `int24[${string}]`]: undefined;
|
|
1066
|
+
[x: `int16[${string}]`]: undefined;
|
|
1067
|
+
[x: `int8[${string}]`]: undefined;
|
|
1560
1068
|
[x: `int40[${string}]`]: undefined;
|
|
1561
1069
|
[x: `int48[${string}]`]: undefined;
|
|
1562
1070
|
[x: `int56[${string}]`]: undefined;
|
|
@@ -1586,6 +1094,7 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1586
1094
|
[x: `int248[${string}]`]: undefined;
|
|
1587
1095
|
[x: `int256[${string}]`]: undefined;
|
|
1588
1096
|
[x: `uint[${string}]`]: undefined;
|
|
1097
|
+
[x: `uint24[${string}]`]: undefined;
|
|
1589
1098
|
[x: `uint16[${string}]`]: undefined;
|
|
1590
1099
|
[x: `uint40[${string}]`]: undefined;
|
|
1591
1100
|
[x: `uint48[${string}]`]: undefined;
|
|
@@ -1614,50 +1123,49 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1614
1123
|
[x: `uint240[${string}]`]: undefined;
|
|
1615
1124
|
[x: `uint248[${string}]`]: undefined;
|
|
1616
1125
|
string?: undefined;
|
|
1126
|
+
bytes?: undefined;
|
|
1617
1127
|
address?: undefined;
|
|
1618
1128
|
uint256?: undefined;
|
|
1619
1129
|
uint8?: undefined;
|
|
1620
1130
|
bytes32?: undefined;
|
|
1621
|
-
bytes?: undefined;
|
|
1622
1131
|
uint32?: undefined;
|
|
1623
1132
|
bool?: undefined;
|
|
1624
1133
|
bytes4?: undefined;
|
|
1625
1134
|
uint224?: undefined;
|
|
1626
|
-
uint24?: undefined;
|
|
1627
1135
|
bytes2?: undefined;
|
|
1628
|
-
bytes1?: undefined;
|
|
1629
1136
|
bytes5?: undefined;
|
|
1630
|
-
|
|
1631
|
-
bytes6?: undefined;
|
|
1632
|
-
bytes7?: undefined;
|
|
1633
|
-
bytes8?: undefined;
|
|
1634
|
-
bytes9?: undefined;
|
|
1635
|
-
bytes10?: undefined;
|
|
1636
|
-
bytes11?: undefined;
|
|
1637
|
-
bytes12?: undefined;
|
|
1638
|
-
bytes13?: undefined;
|
|
1639
|
-
bytes14?: undefined;
|
|
1640
|
-
bytes15?: undefined;
|
|
1641
|
-
bytes16?: undefined;
|
|
1642
|
-
bytes17?: undefined;
|
|
1643
|
-
bytes18?: undefined;
|
|
1644
|
-
bytes19?: undefined;
|
|
1645
|
-
bytes20?: undefined;
|
|
1646
|
-
bytes21?: undefined;
|
|
1647
|
-
bytes22?: undefined;
|
|
1648
|
-
bytes23?: undefined;
|
|
1649
|
-
bytes24?: undefined;
|
|
1650
|
-
bytes25?: undefined;
|
|
1651
|
-
bytes26?: undefined;
|
|
1652
|
-
bytes27?: undefined;
|
|
1653
|
-
bytes28?: undefined;
|
|
1654
|
-
bytes29?: undefined;
|
|
1655
|
-
bytes30?: undefined;
|
|
1137
|
+
bytes1?: undefined;
|
|
1656
1138
|
bytes31?: undefined;
|
|
1139
|
+
bytes30?: undefined;
|
|
1140
|
+
bytes29?: undefined;
|
|
1141
|
+
bytes28?: undefined;
|
|
1142
|
+
bytes27?: undefined;
|
|
1143
|
+
bytes26?: undefined;
|
|
1144
|
+
bytes25?: undefined;
|
|
1145
|
+
bytes24?: undefined;
|
|
1146
|
+
bytes23?: undefined;
|
|
1147
|
+
bytes22?: undefined;
|
|
1148
|
+
bytes21?: undefined;
|
|
1149
|
+
bytes20?: undefined;
|
|
1150
|
+
bytes19?: undefined;
|
|
1151
|
+
bytes18?: undefined;
|
|
1152
|
+
bytes17?: undefined;
|
|
1153
|
+
bytes16?: undefined;
|
|
1154
|
+
bytes15?: undefined;
|
|
1155
|
+
bytes14?: undefined;
|
|
1156
|
+
bytes13?: undefined;
|
|
1157
|
+
bytes12?: undefined;
|
|
1158
|
+
bytes11?: undefined;
|
|
1159
|
+
bytes10?: undefined;
|
|
1160
|
+
bytes9?: undefined;
|
|
1161
|
+
bytes8?: undefined;
|
|
1162
|
+
bytes7?: undefined;
|
|
1163
|
+
bytes6?: undefined;
|
|
1164
|
+
bytes3?: undefined;
|
|
1657
1165
|
int32?: undefined;
|
|
1658
|
-
int8?: undefined;
|
|
1659
|
-
int16?: undefined;
|
|
1660
1166
|
int24?: undefined;
|
|
1167
|
+
int16?: undefined;
|
|
1168
|
+
int8?: undefined;
|
|
1661
1169
|
int40?: undefined;
|
|
1662
1170
|
int48?: undefined;
|
|
1663
1171
|
int56?: undefined;
|
|
@@ -1686,6 +1194,7 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1686
1194
|
int240?: undefined;
|
|
1687
1195
|
int248?: undefined;
|
|
1688
1196
|
int256?: undefined;
|
|
1197
|
+
uint24?: undefined;
|
|
1689
1198
|
uint16?: undefined;
|
|
1690
1199
|
uint40?: undefined;
|
|
1691
1200
|
uint48?: undefined;
|
|
@@ -1713,10 +1222,12 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1713
1222
|
uint232?: undefined;
|
|
1714
1223
|
uint240?: undefined;
|
|
1715
1224
|
uint248?: undefined;
|
|
1225
|
+
} | {
|
|
1226
|
+
[key: string]: unknown;
|
|
1716
1227
|
}, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, undefined>) => Promise<`0x${string}`>;
|
|
1717
1228
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
1718
1229
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
1719
|
-
writeContract: <TAbi_1 extends
|
|
1230
|
+
writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends Chain | undefined = undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, import("viem/_types/types/utils").Assign<{
|
|
1720
1231
|
readonly id: 1;
|
|
1721
1232
|
readonly network: "homestead";
|
|
1722
1233
|
readonly name: "Ethereum";
|
|
@@ -1756,15 +1267,220 @@ export declare const convertSignerToClient: ({ signer, viemChain }: web3SignerCo
|
|
|
1756
1267
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1757
1268
|
};
|
|
1758
1269
|
readonly ensUniversalResolver: {
|
|
1759
|
-
readonly address: "
|
|
1760
|
-
readonly blockCreated:
|
|
1270
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1271
|
+
readonly blockCreated: 16966585;
|
|
1761
1272
|
};
|
|
1762
1273
|
readonly multicall3: {
|
|
1763
1274
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1764
1275
|
readonly blockCreated: 14353601;
|
|
1765
1276
|
};
|
|
1766
1277
|
};
|
|
1767
|
-
}, undefined,
|
|
1768
|
-
|
|
1278
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_4>) => Promise<`0x${string}`>;
|
|
1279
|
+
extend: <const client extends {
|
|
1280
|
+
[x: string]: unknown;
|
|
1281
|
+
account?: undefined;
|
|
1282
|
+
batch?: undefined;
|
|
1283
|
+
cacheTime?: undefined;
|
|
1284
|
+
chain?: undefined;
|
|
1285
|
+
key?: undefined;
|
|
1286
|
+
name?: undefined;
|
|
1287
|
+
pollingInterval?: undefined;
|
|
1288
|
+
request?: undefined;
|
|
1289
|
+
transport?: undefined;
|
|
1290
|
+
type?: undefined;
|
|
1291
|
+
uid?: undefined;
|
|
1292
|
+
} & Partial<Pick<import("viem").PublicActions, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").CustomTransport, import("viem/_types/types/utils").Assign<{
|
|
1293
|
+
readonly id: 1;
|
|
1294
|
+
readonly network: "homestead";
|
|
1295
|
+
readonly name: "Ethereum";
|
|
1296
|
+
readonly nativeCurrency: {
|
|
1297
|
+
readonly name: "Ether";
|
|
1298
|
+
readonly symbol: "ETH";
|
|
1299
|
+
readonly decimals: 18;
|
|
1300
|
+
};
|
|
1301
|
+
readonly rpcUrls: {
|
|
1302
|
+
readonly alchemy: {
|
|
1303
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
1304
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
1305
|
+
};
|
|
1306
|
+
readonly infura: {
|
|
1307
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
1308
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
1309
|
+
};
|
|
1310
|
+
readonly default: {
|
|
1311
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1312
|
+
};
|
|
1313
|
+
readonly public: {
|
|
1314
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
readonly blockExplorers: {
|
|
1318
|
+
readonly etherscan: {
|
|
1319
|
+
readonly name: "Etherscan";
|
|
1320
|
+
readonly url: "https://etherscan.io";
|
|
1321
|
+
};
|
|
1322
|
+
readonly default: {
|
|
1323
|
+
readonly name: "Etherscan";
|
|
1324
|
+
readonly url: "https://etherscan.io";
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
readonly contracts: {
|
|
1328
|
+
readonly ensRegistry: {
|
|
1329
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1330
|
+
};
|
|
1331
|
+
readonly ensUniversalResolver: {
|
|
1332
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1333
|
+
readonly blockCreated: 16966585;
|
|
1334
|
+
};
|
|
1335
|
+
readonly multicall3: {
|
|
1336
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1337
|
+
readonly blockCreated: 14353601;
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
|
|
1341
|
+
readonly id: 1;
|
|
1342
|
+
readonly network: "homestead";
|
|
1343
|
+
readonly name: "Ethereum";
|
|
1344
|
+
readonly nativeCurrency: {
|
|
1345
|
+
readonly name: "Ether";
|
|
1346
|
+
readonly symbol: "ETH";
|
|
1347
|
+
readonly decimals: 18;
|
|
1348
|
+
};
|
|
1349
|
+
readonly rpcUrls: {
|
|
1350
|
+
readonly alchemy: {
|
|
1351
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
1352
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
1353
|
+
};
|
|
1354
|
+
readonly infura: {
|
|
1355
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
1356
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
1357
|
+
};
|
|
1358
|
+
readonly default: {
|
|
1359
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1360
|
+
};
|
|
1361
|
+
readonly public: {
|
|
1362
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
readonly blockExplorers: {
|
|
1366
|
+
readonly etherscan: {
|
|
1367
|
+
readonly name: "Etherscan";
|
|
1368
|
+
readonly url: "https://etherscan.io";
|
|
1369
|
+
};
|
|
1370
|
+
readonly default: {
|
|
1371
|
+
readonly name: "Etherscan";
|
|
1372
|
+
readonly url: "https://etherscan.io";
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
readonly contracts: {
|
|
1376
|
+
readonly ensRegistry: {
|
|
1377
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1378
|
+
};
|
|
1379
|
+
readonly ensUniversalResolver: {
|
|
1380
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1381
|
+
readonly blockCreated: 16966585;
|
|
1382
|
+
};
|
|
1383
|
+
readonly multicall3: {
|
|
1384
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1385
|
+
readonly blockCreated: 14353601;
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>) => client) => import("viem").Client<import("viem").CustomTransport, import("viem/_types/types/utils").Assign<{
|
|
1389
|
+
readonly id: 1;
|
|
1390
|
+
readonly network: "homestead";
|
|
1391
|
+
readonly name: "Ethereum";
|
|
1392
|
+
readonly nativeCurrency: {
|
|
1393
|
+
readonly name: "Ether";
|
|
1394
|
+
readonly symbol: "ETH";
|
|
1395
|
+
readonly decimals: 18;
|
|
1396
|
+
};
|
|
1397
|
+
readonly rpcUrls: {
|
|
1398
|
+
readonly alchemy: {
|
|
1399
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
1400
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
1401
|
+
};
|
|
1402
|
+
readonly infura: {
|
|
1403
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
1404
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
1405
|
+
};
|
|
1406
|
+
readonly default: {
|
|
1407
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1408
|
+
};
|
|
1409
|
+
readonly public: {
|
|
1410
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
readonly blockExplorers: {
|
|
1414
|
+
readonly etherscan: {
|
|
1415
|
+
readonly name: "Etherscan";
|
|
1416
|
+
readonly url: "https://etherscan.io";
|
|
1417
|
+
};
|
|
1418
|
+
readonly default: {
|
|
1419
|
+
readonly name: "Etherscan";
|
|
1420
|
+
readonly url: "https://etherscan.io";
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
readonly contracts: {
|
|
1424
|
+
readonly ensRegistry: {
|
|
1425
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1426
|
+
};
|
|
1427
|
+
readonly ensUniversalResolver: {
|
|
1428
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1429
|
+
readonly blockCreated: 16966585;
|
|
1430
|
+
};
|
|
1431
|
+
readonly multicall3: {
|
|
1432
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1433
|
+
readonly blockCreated: 14353601;
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
|
|
1437
|
+
readonly id: 1;
|
|
1438
|
+
readonly network: "homestead";
|
|
1439
|
+
readonly name: "Ethereum";
|
|
1440
|
+
readonly nativeCurrency: {
|
|
1441
|
+
readonly name: "Ether";
|
|
1442
|
+
readonly symbol: "ETH";
|
|
1443
|
+
readonly decimals: 18;
|
|
1444
|
+
};
|
|
1445
|
+
readonly rpcUrls: {
|
|
1446
|
+
readonly alchemy: {
|
|
1447
|
+
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
|
|
1448
|
+
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
|
|
1449
|
+
};
|
|
1450
|
+
readonly infura: {
|
|
1451
|
+
readonly http: readonly ["https://mainnet.infura.io/v3"];
|
|
1452
|
+
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
|
|
1453
|
+
};
|
|
1454
|
+
readonly default: {
|
|
1455
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1456
|
+
};
|
|
1457
|
+
readonly public: {
|
|
1458
|
+
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
readonly blockExplorers: {
|
|
1462
|
+
readonly etherscan: {
|
|
1463
|
+
readonly name: "Etherscan";
|
|
1464
|
+
readonly url: "https://etherscan.io";
|
|
1465
|
+
};
|
|
1466
|
+
readonly default: {
|
|
1467
|
+
readonly name: "Etherscan";
|
|
1468
|
+
readonly url: "https://etherscan.io";
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
readonly contracts: {
|
|
1472
|
+
readonly ensRegistry: {
|
|
1473
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1474
|
+
};
|
|
1475
|
+
readonly ensUniversalResolver: {
|
|
1476
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
1477
|
+
readonly blockCreated: 16966585;
|
|
1478
|
+
};
|
|
1479
|
+
readonly multicall3: {
|
|
1480
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1481
|
+
readonly blockCreated: 14353601;
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
}, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>;
|
|
1769
1485
|
};
|
|
1770
1486
|
export {};
|