viem 0.1.10 → 0.1.11
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/abi.d.ts +3 -3
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/{chain-f8edc5d7.d.ts → chain-41dcec4b.d.ts} +1 -1
- package/dist/{chain-94f99620.d.ts → chain-792d51c3.d.ts} +107 -107
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-5FH7E6C5.js → chunk-ADJTWF45.js} +19 -19
- package/dist/{chunk-UI4RZ2SR.mjs → chunk-H6AQHA74.mjs} +109 -5
- package/dist/chunk-H6AQHA74.mjs.map +1 -0
- package/dist/{chunk-6YZF7223.mjs → chunk-IAY6WXS3.mjs} +2 -2
- package/dist/{chunk-L5P7BYGT.js → chunk-YZCQ7AL7.js} +110 -6
- package/dist/chunk-YZCQ7AL7.js.map +1 -0
- package/dist/contract.d.ts +7 -7
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createClient-ff222f1b.d.ts → createClient-6cd6daa3.d.ts} +2 -2
- package/dist/{createPublicClient-110e0ff7.d.ts → createPublicClient-34d3ba9d.d.ts} +117 -72
- package/dist/{eip1193-e31a0368.d.ts → eip1193-2f116cf7.d.ts} +4 -4
- package/dist/{encodeFunctionResult-5455530b.d.ts → encodeFunctionResult-874fe003.d.ts} +1 -1
- package/dist/{encodePacked-de79982f.d.ts → encodePacked-9ab98aa9.d.ts} +1 -1
- package/dist/ens.d.ts +4 -4
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/{formatAbiItem-62cbb896.d.ts → formatAbiItem-1bdb43d3.d.ts} +1 -1
- package/dist/{getAbiItem-46aa68bf.d.ts → getAbiItem-f19d50a2.d.ts} +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +91 -89
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-d221a29d.d.ts → parseGwei-faf061db.d.ts} +3 -3
- package/dist/public.d.ts +4 -4
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{test-796738d1.d.ts → test-6b2b1b0d.d.ts} +3 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +13 -13
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.js +4 -2
- package/dist/wallet.mjs +3 -1
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-L5P7BYGT.js.map +0 -1
- package/dist/chunk-UI4RZ2SR.mjs.map +0 -1
- /package/dist/{chunk-5FH7E6C5.js.map → chunk-ADJTWF45.js.map} +0 -0
- /package/dist/{chunk-6YZF7223.mjs.map → chunk-IAY6WXS3.mjs.map} +0 -0
package/dist/contract.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
export {
|
2
|
-
export { D as
|
3
|
-
export { a as
|
4
|
-
export {
|
1
|
+
export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-34d3ba9d.js';
|
2
|
+
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-f19d50a2.js';
|
3
|
+
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-874fe003.js';
|
4
|
+
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-1bdb43d3.js';
|
5
|
+
import './eip1193-2f116cf7.js';
|
5
6
|
import 'abitype';
|
6
|
-
import './chain-
|
7
|
+
import './chain-792d51c3.js';
|
7
8
|
import '@wagmi/chains';
|
8
|
-
import './
|
9
|
-
import './createClient-ff222f1b.js';
|
9
|
+
import './createClient-6cd6daa3.js';
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkYZCQ7AL7js = require('./chunk-YZCQ7AL7.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkL5P7BYGTjs = require('./chunk-L5P7BYGT.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkYZCQ7AL7js.createContractEventFilter; exports.decodeAbiParameters = _chunkYZCQ7AL7js.decodeAbiParameters; exports.decodeErrorResult = _chunkYZCQ7AL7js.decodeErrorResult; exports.decodeEventLog = _chunkYZCQ7AL7js.decodeEventLog; exports.decodeFunctionData = _chunkYZCQ7AL7js.decodeFunctionData; exports.decodeFunctionResult = _chunkYZCQ7AL7js.decodeFunctionResult; exports.deployContract = _chunkYZCQ7AL7js.deployContract; exports.encodeAbiParameters = _chunkYZCQ7AL7js.encodeAbiParameters; exports.encodeDeployData = _chunkYZCQ7AL7js.encodeDeployData; exports.encodeErrorResult = _chunkYZCQ7AL7js.encodeErrorResult; exports.encodeEventTopics = _chunkYZCQ7AL7js.encodeEventTopics; exports.encodeFunctionData = _chunkYZCQ7AL7js.encodeFunctionData; exports.encodeFunctionResult = _chunkYZCQ7AL7js.encodeFunctionResult; exports.estimateContractGas = _chunkYZCQ7AL7js.estimateContractGas; exports.formatAbiItem = _chunkYZCQ7AL7js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkYZCQ7AL7js.formatAbiItemWithArgs; exports.getAbiItem = _chunkYZCQ7AL7js.getAbiItem; exports.getBytecode = _chunkYZCQ7AL7js.getBytecode; exports.getStorageAt = _chunkYZCQ7AL7js.getStorageAt; exports.multicall = _chunkYZCQ7AL7js.multicall; exports.readContract = _chunkYZCQ7AL7js.readContract; exports.simulateContract = _chunkYZCQ7AL7js.simulateContract; exports.watchContractEvent = _chunkYZCQ7AL7js.watchContractEvent; exports.writeContract = _chunkYZCQ7AL7js.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { R as Requests } from './eip1193-
|
2
|
-
import { C as Chain } from './chain-
|
1
|
+
import { R as Requests } from './eip1193-2f116cf7.js';
|
2
|
+
import { C as Chain } from './chain-792d51c3.js';
|
3
3
|
|
4
4
|
type BaseRpcRequests = {
|
5
5
|
request(...args: any): Promise<any>;
|
@@ -1,7 +1,25 @@
|
|
1
|
-
import { W as WalletPermission, a as WatchAssetParams, P as PublicRequests } from './eip1193-
|
2
|
-
import { a as Transport, b as ClientConfig, C as Client } from './createClient-
|
3
|
-
import { Abi, Narrow, Address, AbiEvent, ExtractAbiEvent } from 'abitype';
|
4
|
-
import { C as Chain, I as ExtractFormatter,
|
1
|
+
import { W as WalletPermission, a as WatchAssetParams, P as PublicRequests } from './eip1193-2f116cf7.js';
|
2
|
+
import { a as Transport, b as ClientConfig, C as Client } from './createClient-6cd6daa3.js';
|
3
|
+
import { Abi, Narrow, Address, AbiEvent, ExtractAbiEvent, TypedData, TypedDataDomain, TypedDataToPrimitiveTypes } from 'abitype';
|
4
|
+
import { C as Chain, H as Hex, Q as ExtractConstructorArgsFromAbi, I as ExtractFormatter, S as Formatters, V as Formatter, J as Formatted, c as Block, R as RpcBlock, y as Transaction, T as TransactionReceipt, q as RpcTransactionReceipt, W as TransactionType, r as RpcTransactionRequest, t as TransactionRequest, f as BlockTag, X as MergeIntersectionProperties, g as ContractConfig, Y as GetValue, Z as ExtractResultFromAbi, _ as MaybeAbiEventName, $ as MaybeExtractEventArgsFromAbi, e as BlockNumber, a0 as ExtractEventNameFromAbi, a as Hash, F as FeeHistory, L as Log, K as FormattedTransaction, M as TransactionFormatter, a1 as ExtractEventArgsFromAbi, a2 as Prettify } from './chain-792d51c3.js';
|
5
|
+
|
6
|
+
type AddChainParameters = {
|
7
|
+
chain: Chain;
|
8
|
+
};
|
9
|
+
declare function addChain(client: WalletClient, { chain }: AddChainParameters): Promise<void>;
|
10
|
+
|
11
|
+
type DeployContractParameters<TChain extends Chain = Chain, TAbi extends Abi | readonly unknown[] = Abi> = Omit<SendTransactionParameters<TChain>, 'accessList' | 'to' | 'data' | 'value'> & {
|
12
|
+
abi: Narrow<TAbi>;
|
13
|
+
bytecode: Hex;
|
14
|
+
} & ExtractConstructorArgsFromAbi<TAbi>;
|
15
|
+
type DeployContractReturnType = SendTransactionReturnType;
|
16
|
+
declare function deployContract<TChain extends Chain, TAbi extends Abi | readonly unknown[]>(walletClient: WalletClient, { abi, args, bytecode, ...request }: DeployContractParameters<TChain, TAbi>): Promise<DeployContractReturnType>;
|
17
|
+
|
18
|
+
type GetAddressesReturnType = Address[];
|
19
|
+
declare function getAddresses(client: WalletClient): Promise<GetAddressesReturnType>;
|
20
|
+
|
21
|
+
type GetChainIdReturnType = number;
|
22
|
+
declare function getChainId(client: PublicClient | WalletClient): Promise<GetChainIdReturnType>;
|
5
23
|
|
6
24
|
type BlockFormatter<TChain extends Chain = Chain> = ExtractFormatter<TChain, 'block', NonNullable<Formatters['block']>>;
|
7
25
|
type FormattedBlock<TFormatter extends Formatter | undefined = Formatter> = Formatted<TFormatter, Block>;
|
@@ -55,73 +73,6 @@ type CallReturnType = {
|
|
55
73
|
};
|
56
74
|
declare function call<TChain extends Chain>(client: PublicClient<any, TChain>, args: CallParameters<TChain>): Promise<CallReturnType>;
|
57
75
|
|
58
|
-
type AddChainParameters = {
|
59
|
-
chain: Chain;
|
60
|
-
};
|
61
|
-
declare function addChain(client: WalletClient, { chain }: AddChainParameters): Promise<void>;
|
62
|
-
|
63
|
-
type DeployContractParameters<TChain extends Chain = Chain, TAbi extends Abi | readonly unknown[] = Abi> = Omit<SendTransactionParameters<TChain>, 'accessList' | 'to' | 'data' | 'value'> & {
|
64
|
-
abi: Narrow<TAbi>;
|
65
|
-
bytecode: Hex;
|
66
|
-
} & ExtractConstructorArgsFromAbi<TAbi>;
|
67
|
-
type DeployContractReturnType = SendTransactionReturnType;
|
68
|
-
declare function deployContract<TChain extends Chain, TAbi extends Abi | readonly unknown[]>(walletClient: WalletClient, { abi, args, bytecode, ...request }: DeployContractParameters<TChain, TAbi>): Promise<DeployContractReturnType>;
|
69
|
-
|
70
|
-
type GetAddressesReturnType = Address[];
|
71
|
-
declare function getAddresses(client: WalletClient): Promise<GetAddressesReturnType>;
|
72
|
-
|
73
|
-
type GetChainIdReturnType = number;
|
74
|
-
declare function getChainId(client: PublicClient | WalletClient): Promise<GetChainIdReturnType>;
|
75
|
-
|
76
|
-
type GetPermissionsReturnType = WalletPermission[];
|
77
|
-
declare function getPermissions(client: WalletClient): Promise<WalletPermission[]>;
|
78
|
-
|
79
|
-
type RequestAddressesReturnType = Address[];
|
80
|
-
declare function requestAddresses(client: WalletClient): Promise<RequestAddressesReturnType>;
|
81
|
-
|
82
|
-
type RequestPermissionsParameters = {
|
83
|
-
eth_accounts: Record<string, any>;
|
84
|
-
} & {
|
85
|
-
[key: string]: Record<string, any>;
|
86
|
-
};
|
87
|
-
type RequestPermissionsReturnType = WalletPermission[];
|
88
|
-
declare function requestPermissions(client: WalletClient, permissions: RequestPermissionsParameters): Promise<WalletPermission[]>;
|
89
|
-
|
90
|
-
type FormattedTransactionRequest<TFormatter extends Formatter | undefined = Formatter> = MergeIntersectionProperties<Omit<Formatted<TFormatter, TransactionRequest, true>, 'from'>, TransactionRequest>;
|
91
|
-
type SendTransactionParameters<TChain extends Chain = Chain> = FormattedTransactionRequest<TransactionRequestFormatter<TChain>> & {
|
92
|
-
account: Account;
|
93
|
-
} & ({
|
94
|
-
assertChain?: false;
|
95
|
-
chain?: TChain;
|
96
|
-
} | {
|
97
|
-
assertChain: true;
|
98
|
-
chain: TChain;
|
99
|
-
});
|
100
|
-
type SendTransactionReturnType = Hash;
|
101
|
-
declare function sendTransaction<TChain extends Chain>(client: WalletClient, args: SendTransactionParameters<TChain>): Promise<SendTransactionReturnType>;
|
102
|
-
|
103
|
-
type SignMessageParameters = {
|
104
|
-
account: Account;
|
105
|
-
data: string;
|
106
|
-
};
|
107
|
-
type SignMessageReturnType = Hex;
|
108
|
-
declare function signMessage(client: WalletClient, { account, data }: SignMessageParameters): Promise<SignMessageReturnType>;
|
109
|
-
|
110
|
-
type SwitchChainParameters = {
|
111
|
-
id: Chain['id'];
|
112
|
-
};
|
113
|
-
declare function switchChain(client: WalletClient, { id }: SwitchChainParameters): Promise<void>;
|
114
|
-
|
115
|
-
type WatchAssetParameters = WatchAssetParams;
|
116
|
-
type WatchAssetReturnType = boolean;
|
117
|
-
declare function watchAsset(client: WalletClient, params: WatchAssetParameters): Promise<WatchAssetReturnType>;
|
118
|
-
|
119
|
-
type WriteContractParameters<TChain extends Chain = Chain, TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = string> = Omit<SendTransactionParameters<TChain>, 'to' | 'data' | 'value'> & {
|
120
|
-
value?: GetValue<TAbi, TFunctionName, SendTransactionParameters<TChain>['value']>;
|
121
|
-
} & ContractConfig<TAbi, TFunctionName, 'payable' | 'nonpayable'>;
|
122
|
-
type WriteContractReturnType = SendTransactionReturnType;
|
123
|
-
declare function writeContract<TChain extends Chain, TAbi extends Abi | readonly unknown[], TFunctionName extends string>(client: WalletClient, { abi, address, args, functionName, ...request }: WriteContractParameters<TChain, TAbi, TFunctionName>): Promise<WriteContractReturnType>;
|
124
|
-
|
125
76
|
type SimulateContractParameters<TChain extends Chain = Chain, TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = any, TChainOverride extends Chain | undefined = undefined> = Omit<CallParameters<TChainOverride extends Chain ? TChainOverride : TChain>, 'to' | 'data' | 'value'> & {
|
126
77
|
chain?: TChainOverride;
|
127
78
|
} & ContractConfig<TAbi, TFunctionName, 'payable' | 'nonpayable'> & {
|
@@ -631,6 +582,94 @@ type WatchPendingTransactionsParameters = {
|
|
631
582
|
};
|
632
583
|
declare function watchPendingTransactions(client: PublicClient, { batch, onError, onTransactions, pollingInterval, }: WatchPendingTransactionsParameters): () => void;
|
633
584
|
|
585
|
+
type GetPermissionsReturnType = WalletPermission[];
|
586
|
+
declare function getPermissions(client: WalletClient): Promise<WalletPermission[]>;
|
587
|
+
|
588
|
+
type RequestAddressesReturnType = Address[];
|
589
|
+
declare function requestAddresses(client: WalletClient): Promise<RequestAddressesReturnType>;
|
590
|
+
|
591
|
+
type RequestPermissionsParameters = {
|
592
|
+
eth_accounts: Record<string, any>;
|
593
|
+
} & {
|
594
|
+
[key: string]: Record<string, any>;
|
595
|
+
};
|
596
|
+
type RequestPermissionsReturnType = WalletPermission[];
|
597
|
+
declare function requestPermissions(client: WalletClient, permissions: RequestPermissionsParameters): Promise<WalletPermission[]>;
|
598
|
+
|
599
|
+
type FormattedTransactionRequest<TFormatter extends Formatter | undefined = Formatter> = MergeIntersectionProperties<Omit<Formatted<TFormatter, TransactionRequest, true>, 'from'>, TransactionRequest>;
|
600
|
+
type SendTransactionParameters<TChain extends Chain = Chain> = FormattedTransactionRequest<TransactionRequestFormatter<TChain>> & {
|
601
|
+
account: Account;
|
602
|
+
} & ({
|
603
|
+
assertChain?: false;
|
604
|
+
chain?: TChain;
|
605
|
+
} | {
|
606
|
+
assertChain: true;
|
607
|
+
chain: TChain;
|
608
|
+
});
|
609
|
+
type SendTransactionReturnType = Hash;
|
610
|
+
declare function sendTransaction<TChain extends Chain>(client: WalletClient, args: SendTransactionParameters<TChain>): Promise<SendTransactionReturnType>;
|
611
|
+
|
612
|
+
type SignMessageParameters = {
|
613
|
+
account: Account;
|
614
|
+
data: string;
|
615
|
+
};
|
616
|
+
type SignMessageReturnType = Hex;
|
617
|
+
declare function signMessage(client: WalletClient, { account, data }: SignMessageParameters): Promise<SignMessageReturnType>;
|
618
|
+
|
619
|
+
type SignTypedDataParameters<TTypedData extends TypedData | {
|
620
|
+
[key: string]: unknown;
|
621
|
+
} = TypedData, TPrimaryType extends string = string> = {
|
622
|
+
account: Account;
|
623
|
+
} & TypedDataDefinition<TTypedData, TPrimaryType>;
|
624
|
+
type TypedDataDefinition<TTypedData extends TypedData | {
|
625
|
+
[key: string]: unknown;
|
626
|
+
} = TypedData, TPrimaryType extends string = string> = {
|
627
|
+
domain?: TypedDataDomain;
|
628
|
+
types: Narrow<TTypedData>;
|
629
|
+
primaryType: GetPrimaryType<TTypedData, TPrimaryType>;
|
630
|
+
} & GetMessage<TTypedData, TPrimaryType>;
|
631
|
+
type GetPrimaryType<TTypedData extends TypedData | {
|
632
|
+
[key: string]: unknown;
|
633
|
+
} = TypedData, TPrimaryType extends string = string> = TTypedData extends TypedData ? keyof TTypedData extends infer AbiFunctionNames ? AbiFunctionNames | (TPrimaryType extends AbiFunctionNames ? TPrimaryType : never) | (TypedData extends TTypedData ? string : never) : never : TPrimaryType;
|
634
|
+
type GetMessage<TTypedData extends TypedData | {
|
635
|
+
[key: string]: unknown;
|
636
|
+
} = TypedData, TPrimaryType extends string = string, TSchema = TTypedData extends TypedData ? TypedDataToPrimitiveTypes<TTypedData> : {
|
637
|
+
[key: string]: any;
|
638
|
+
}, TMessage = TSchema[TPrimaryType extends keyof TSchema ? TPrimaryType : keyof TSchema]> = {
|
639
|
+
[key: string]: any;
|
640
|
+
} extends TMessage ? {
|
641
|
+
/**
|
642
|
+
* Data to sign
|
643
|
+
*
|
644
|
+
* Use a [const assertion](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#const-assertions) on {@link types} for type inference.
|
645
|
+
*/
|
646
|
+
message: {
|
647
|
+
[key: string]: unknown;
|
648
|
+
};
|
649
|
+
} : {
|
650
|
+
/** Data to sign */
|
651
|
+
message: TMessage;
|
652
|
+
};
|
653
|
+
type SignTypedDataReturnType = Hex;
|
654
|
+
declare function signTypedData<TTypedData extends TypedData | {
|
655
|
+
[key: string]: unknown;
|
656
|
+
}, TPrimaryType extends string = string>(client: WalletClient, { account, domain, message, primaryType, types: types_, }: SignTypedDataParameters<TTypedData, TPrimaryType>): Promise<SignTypedDataReturnType>;
|
657
|
+
|
658
|
+
type SwitchChainParameters = {
|
659
|
+
id: Chain['id'];
|
660
|
+
};
|
661
|
+
declare function switchChain(client: WalletClient, { id }: SwitchChainParameters): Promise<void>;
|
662
|
+
|
663
|
+
type WatchAssetParameters = WatchAssetParams;
|
664
|
+
type WatchAssetReturnType = boolean;
|
665
|
+
declare function watchAsset(client: WalletClient, params: WatchAssetParameters): Promise<WatchAssetReturnType>;
|
666
|
+
|
667
|
+
type WriteContractParameters<TChain extends Chain = Chain, TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = string> = Omit<SendTransactionParameters<TChain>, 'to' | 'data' | 'value'> & {
|
668
|
+
value?: GetValue<TAbi, TFunctionName, SendTransactionParameters<TChain>['value']>;
|
669
|
+
} & ContractConfig<TAbi, TFunctionName, 'payable' | 'nonpayable'>;
|
670
|
+
type WriteContractReturnType = SendTransactionReturnType;
|
671
|
+
declare function writeContract<TChain extends Chain, TAbi extends Abi | readonly unknown[], TFunctionName extends string>(client: WalletClient, { abi, address, args, functionName, ...request }: WriteContractParameters<TChain, TAbi, TFunctionName>): Promise<WriteContractReturnType>;
|
672
|
+
|
634
673
|
type Account = JsonRpcAccount | LocalAccount;
|
635
674
|
type JsonRpcAccount = {
|
636
675
|
address: Address;
|
@@ -643,6 +682,9 @@ type LocalAccount = {
|
|
643
682
|
chainId: number;
|
644
683
|
from: Address;
|
645
684
|
}) => Promise<Hash>;
|
685
|
+
signTypedData: <TTypedData extends TypedData | {
|
686
|
+
[key: string]: unknown;
|
687
|
+
}, TPrimaryType extends string = string>(typedData: TypedDataDefinition<TTypedData, TPrimaryType>) => Promise<Hash>;
|
646
688
|
type: 'local';
|
647
689
|
};
|
648
690
|
|
@@ -775,6 +817,9 @@ type WalletActions<TChain extends Chain = Chain> = {
|
|
775
817
|
requestPermissions: (args: RequestPermissionsParameters) => Promise<RequestPermissionsReturnType>;
|
776
818
|
sendTransaction: <TChainOverride extends Chain>(args: SendTransactionParameters<TChainOverride>) => Promise<SendTransactionReturnType>;
|
777
819
|
signMessage: (args: SignMessageParameters) => Promise<SignMessageReturnType>;
|
820
|
+
signTypedData: <TTypedData extends TypedData | {
|
821
|
+
[key: string]: unknown;
|
822
|
+
}>(args: SignTypedDataParameters<TTypedData>) => Promise<SignTypedDataReturnType>;
|
778
823
|
switchChain: (args: SwitchChainParameters) => Promise<void>;
|
779
824
|
watchAsset: (args: WatchAssetParameters) => Promise<WatchAssetReturnType>;
|
780
825
|
writeContract: <TAbi extends Abi | readonly unknown[], TFunctionName extends string, TChainOverride extends Chain>(args: WriteContractParameters<TChainOverride, TAbi, TFunctionName>) => Promise<WriteContractReturnType>;
|
@@ -787,4 +832,4 @@ type PublicClient<TTransport extends Transport = Transport, TChain extends Chain
|
|
787
832
|
*/
|
788
833
|
declare function createPublicClient<TTransport extends Transport, TChain extends Chain>({ chain, key, name, transport, pollingInterval, }: PublicClientConfig<TTransport, TChain>): PublicClient<TTransport, TChain, true>;
|
789
834
|
|
790
|
-
export { writeContract as $, Account as A, BlockFormatter as B, CallParameters as C, estimateContractGas as D, EstimateGasParameters as E, FormattedBlock as F, GetBytecodeParameters as G, getBytecode as H, getStorageAt as I, JsonRpcAccount as J, multicall as K, LocalAccount as L, MulticallParameters as M, readContract as N, OnLogsFn as O, PublicClient as P, simulateContract as Q, ReadContractParameters as R, SendTransactionParameters as S, TransactionReceiptFormatter as T, watchContractEvent as U, DeployContractParameters as V, WalletClient as W, DeployContractReturnType as X, WriteContractParameters as Y, WriteContractReturnType as Z, deployContract as _, PublicClientConfig as a, OnTransactionsFn as a$, GetEnsAddressParameters as a0, GetEnsNameParameters as a1, getEnsAddress as a2, getEnsName as a3, call as a4, createBlockFilter as a5, createEventFilter as a6, createPendingTransactionFilter as a7, estimateGas as a8, getBalance as a9, GetBalanceParameters as aA, GetBalanceReturnType as aB, GetBlockParameters as aC, GetBlockNumberParameters as aD, GetBlockNumberReturnType as aE, GetBlockReturnType as aF, GetBlockTransactionCountParameters as aG, GetBlockTransactionCountReturnType as aH, GetFeeHistoryParameters as aI, GetFeeHistoryReturnType as aJ, GetFilterChangesParameters as aK, GetFilterChangesReturnType as aL, GetFilterLogsParameters as aM, GetFilterLogsReturnType as aN, GetGasPriceReturnType as aO, GetTransactionParameters as aP, GetTransactionConfirmationsParameters as aQ, GetTransactionConfirmationsReturnType as aR, GetTransactionCountParameters as aS, GetTransactionCountReturnType as aT, GetTransactionReceiptParameters as aU, GetTransactionReceiptReturnType as aV, GetTransactionReturnType as aW, OnBlock as aX, OnBlockNumberFn as aY, OnBlockNumberParameter as aZ, OnBlockParameter as a_, getBlock as aa, getBlockNumber as ab, getBlockNumberCache as ac, getBlockTransactionCount as ad, getChainId as ae, getFeeHistory as af, getFilterChanges as ag, getFilterLogs as ah, getLogs as ai, getGasPrice as aj, getTransaction as ak, getTransactionConfirmations as al, getTransactionCount as am, getTransactionReceipt as an, uninstallFilter as ao, waitForTransactionReceipt as ap, watchBlockNumber as aq, watchBlocks as ar, watchEvent as as, watchPendingTransactions as at, CallReturnType as au, CreateBlockFilterReturnType as av, CreateEventFilterParameters as aw, CreateEventFilterReturnType as ax, CreatePendingTransactionFilterReturnType as ay, EstimateGasReturnType as az, WalletClientConfig as b, OnTransactionsParameter as b0, ReplacementReason as b1, ReplacementReturnType as b2, UninstallFilterParameters as b3, UninstallFilterReturnType as b4, WaitForTransactionReceiptParameters as b5, WaitForTransactionReceiptReturnType as b6, WatchBlockNumberParameters as b7, WatchBlocksParameters as b8, WatchPendingTransactionsParameters as b9, addChain as ba, getAddresses as bb, getPermissions as bc, requestAddresses as bd, requestPermissions as be, sendTransaction as bf, signMessage as bg,
|
835
|
+
export { writeContract as $, Account as A, BlockFormatter as B, CallParameters as C, estimateContractGas as D, EstimateGasParameters as E, FormattedBlock as F, GetBytecodeParameters as G, getBytecode as H, getStorageAt as I, JsonRpcAccount as J, multicall as K, LocalAccount as L, MulticallParameters as M, readContract as N, OnLogsFn as O, PublicClient as P, simulateContract as Q, ReadContractParameters as R, SendTransactionParameters as S, TransactionReceiptFormatter as T, watchContractEvent as U, DeployContractParameters as V, WalletClient as W, DeployContractReturnType as X, WriteContractParameters as Y, WriteContractReturnType as Z, deployContract as _, PublicClientConfig as a, OnTransactionsFn as a$, GetEnsAddressParameters as a0, GetEnsNameParameters as a1, getEnsAddress as a2, getEnsName as a3, call as a4, createBlockFilter as a5, createEventFilter as a6, createPendingTransactionFilter as a7, estimateGas as a8, getBalance as a9, GetBalanceParameters as aA, GetBalanceReturnType as aB, GetBlockParameters as aC, GetBlockNumberParameters as aD, GetBlockNumberReturnType as aE, GetBlockReturnType as aF, GetBlockTransactionCountParameters as aG, GetBlockTransactionCountReturnType as aH, GetFeeHistoryParameters as aI, GetFeeHistoryReturnType as aJ, GetFilterChangesParameters as aK, GetFilterChangesReturnType as aL, GetFilterLogsParameters as aM, GetFilterLogsReturnType as aN, GetGasPriceReturnType as aO, GetTransactionParameters as aP, GetTransactionConfirmationsParameters as aQ, GetTransactionConfirmationsReturnType as aR, GetTransactionCountParameters as aS, GetTransactionCountReturnType as aT, GetTransactionReceiptParameters as aU, GetTransactionReceiptReturnType as aV, GetTransactionReturnType as aW, OnBlock as aX, OnBlockNumberFn as aY, OnBlockNumberParameter as aZ, OnBlockParameter as a_, getBlock as aa, getBlockNumber as ab, getBlockNumberCache as ac, getBlockTransactionCount as ad, getChainId as ae, getFeeHistory as af, getFilterChanges as ag, getFilterLogs as ah, getLogs as ai, getGasPrice as aj, getTransaction as ak, getTransactionConfirmations as al, getTransactionCount as am, getTransactionReceipt as an, uninstallFilter as ao, waitForTransactionReceipt as ap, watchBlockNumber as aq, watchBlocks as ar, watchEvent as as, watchPendingTransactions as at, CallReturnType as au, CreateBlockFilterReturnType as av, CreateEventFilterParameters as aw, CreateEventFilterReturnType as ax, CreatePendingTransactionFilterReturnType as ay, EstimateGasReturnType as az, WalletClientConfig as b, OnTransactionsParameter as b0, ReplacementReason as b1, ReplacementReturnType as b2, UninstallFilterParameters as b3, UninstallFilterReturnType as b4, WaitForTransactionReceiptParameters as b5, WaitForTransactionReceiptReturnType as b6, WatchBlockNumberParameters as b7, WatchBlocksParameters as b8, WatchPendingTransactionsParameters as b9, addChain as ba, getAddresses as bb, getPermissions as bc, requestAddresses as bd, requestPermissions as be, sendTransaction as bf, signMessage as bg, signTypedData as bh, switchChain as bi, watchAsset as bj, AddChainParameters as bk, FormattedTransactionRequest as bl, GetPermissionsReturnType as bm, GetAddressesReturnType as bn, RequestAddressesReturnType as bo, RequestPermissionsReturnType as bp, SendTransactionReturnType as bq, SignMessageParameters as br, SignMessageReturnType as bs, SignTypedDataParameters as bt, SignTypedDataReturnType as bu, SwitchChainParameters as bv, WatchAssetParameters as bw, WatchAssetReturnType as bx, createPublicClient as c, createWalletClient as d, FormattedTransactionReceipt as e, FormattedTransactionRequest$1 as f, TransactionRequestFormatter as g, defineBlock as h, defineTransactionReceipt as i, defineTransactionRequest as j, formatBlock as k, formatTransactionRequest as l, CreateContractEventFilterParameters as m, CreateContractEventFilterReturnType as n, EstimateContractGasParameters as o, EstimateContractGasReturnType as p, GetBytecodeReturnType as q, GetStorageAtParameters as r, GetStorageAtReturnType as s, MulticallReturnType as t, OnLogsParameter as u, ReadContractReturnType as v, SimulateContractParameters as w, SimulateContractReturnType as x, WatchContractEventParameters as y, createContractEventFilter as z };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Address } from 'abitype';
|
2
|
-
import { a as Hash, a3 as Quantity, r as RpcTransactionRequest, l as RpcBlockNumber, f as BlockTag, k as RpcBlockIdentifier, H as Hex, m as RpcFeeHistory, R as RpcBlock, o as RpcLog, a7 as LogTopic, p as RpcTransaction, q as RpcTransactionReceipt, s as RpcUncle } from './chain-
|
2
|
+
import { a as Hash, a3 as Quantity, r as RpcTransactionRequest, l as RpcBlockNumber, f as BlockTag, k as RpcBlockIdentifier, H as Hex, m as RpcFeeHistory, R as RpcBlock, o as RpcLog, a7 as LogTopic, p as RpcTransaction, q as RpcTransactionReceipt, s as RpcUncle } from './chain-792d51c3.js';
|
3
3
|
|
4
4
|
declare class RpcError extends Error {
|
5
5
|
code: number;
|
@@ -864,15 +864,15 @@ type SignableRequests = {
|
|
864
864
|
* @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
|
865
865
|
* @link https://eips.ethereum.org/EIPS/eip-1474
|
866
866
|
* @example
|
867
|
-
* provider.request({ method: '
|
867
|
+
* provider.request({ method: 'eth_signTypedData_v4', params: [{ from: '0x...', data: [{ type: 'string', name: 'message', value: 'hello world' }] }] })
|
868
868
|
* // => '0x...'
|
869
869
|
* */
|
870
|
-
method: '
|
870
|
+
method: 'eth_signTypedData_v4';
|
871
871
|
params: [
|
872
872
|
/** Address to use for signing */
|
873
873
|
address: Address,
|
874
874
|
/** Message to sign containing type information, a domain separator, and data */
|
875
|
-
message:
|
875
|
+
message: string
|
876
876
|
];
|
877
877
|
}): Promise<Hex>;
|
878
878
|
request(args: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Abi, Narrow } from 'abitype';
|
2
|
-
import { H as Hex, A as AbiItem, a7 as LogTopic, a0 as ExtractEventNameFromAbi, a8 as ExtractEventArgsFromTopics, a9 as ExtractFunctionNameFromAbi, a6 as ExtractArgsFromAbi, Z as ExtractResultFromAbi,
|
2
|
+
import { H as Hex, A as AbiItem, a7 as LogTopic, a0 as ExtractEventNameFromAbi, a8 as ExtractEventArgsFromTopics, a9 as ExtractFunctionNameFromAbi, a6 as ExtractArgsFromAbi, Z as ExtractResultFromAbi, Q as ExtractConstructorArgsFromAbi, aa as ExtractErrorNameFromAbi, ab as ExtractErrorArgsFromAbi, a1 as ExtractEventArgsFromAbi } from './chain-792d51c3.js';
|
3
3
|
|
4
4
|
type DecodeErrorResultParameters = {
|
5
5
|
abi?: Abi;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Narrow, SolidityAddress, SolidityBool, SolidityBytes, SolidityInt, SolidityString, SolidityArrayWithoutTuple, AbiType, AbiParameterToPrimitiveType } from 'abitype';
|
2
|
-
import { H as Hex } from './chain-
|
2
|
+
import { H as Hex } from './chain-792d51c3.js';
|
3
3
|
|
4
4
|
type PackedAbiType = SolidityAddress | SolidityBool | SolidityBytes | SolidityInt | SolidityString | SolidityArrayWithoutTuple;
|
5
5
|
type EncodePackedValues<TPackedAbiTypes extends PackedAbiType[] | unknown[]> = {
|
package/dist/ens.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-
|
1
|
+
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-34d3ba9d.js';
|
2
2
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
3
|
-
import './eip1193-
|
3
|
+
import './eip1193-2f116cf7.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-792d51c3.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './createClient-
|
7
|
+
import './createClient-6cd6daa3.js';
|
8
8
|
|
9
9
|
/**
|
10
10
|
* @description Normalizes ENS name
|
package/dist/ens.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
6
|
+
var _chunkADJTWF45js = require('./chunk-ADJTWF45.js');
|
7
|
+
require('./chunk-YZCQ7AL7.js');
|
8
8
|
|
9
9
|
// src/utils/ens/normalize.ts
|
10
10
|
var _idnauts46hx = require('idna-uts46-hx');
|
@@ -17,5 +17,5 @@ function normalize(name) {
|
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
exports.getEnsAddress =
|
20
|
+
exports.getEnsAddress = _chunkADJTWF45js.getEnsAddress; exports.getEnsName = _chunkADJTWF45js.getEnsName; exports.labelhash = _chunkADJTWF45js.labelhash; exports.namehash = _chunkADJTWF45js.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AbiParameter, AbiParametersToPrimitiveTypes, Narrow, Abi } from 'abitype';
|
2
|
-
import { H as Hex, a5 as ExtractNameFromAbi, a6 as ExtractArgsFromAbi } from './chain-
|
2
|
+
import { H as Hex, a5 as ExtractNameFromAbi, a6 as ExtractArgsFromAbi } from './chain-792d51c3.js';
|
3
3
|
|
4
4
|
type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] | readonly unknown[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
|
5
5
|
declare function decodeAbiParameters<TParams extends readonly AbiParameter[] | readonly unknown[]>(params: Narrow<TParams>, data: Hex): DecodeAbiParametersReturnType<TParams>;
|
package/dist/index.d.ts
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-
|
2
|
-
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-
|
3
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
4
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-
|
1
|
+
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-6cd6daa3.js';
|
2
|
+
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-6cd6daa3.js';
|
3
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-faf061db.js';
|
4
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-faf061db.js';
|
5
5
|
import WebSocket from 'isomorphic-ws';
|
6
|
-
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-
|
7
|
-
export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-
|
8
|
-
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-
|
9
|
-
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-
|
6
|
+
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-792d51c3.js';
|
7
|
+
export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-792d51c3.js';
|
8
|
+
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-34d3ba9d.js';
|
9
|
+
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-6b2b1b0d.js';
|
10
10
|
export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
|
11
11
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
12
|
-
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-
|
13
|
-
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-
|
14
|
-
export { e as encodePacked } from './encodePacked-
|
15
|
-
export { d as defineChain } from './chain-
|
16
|
-
import './eip1193-
|
12
|
+
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-f19d50a2.js';
|
13
|
+
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-874fe003.js';
|
14
|
+
export { e as encodePacked } from './encodePacked-9ab98aa9.js';
|
15
|
+
export { d as defineChain } from './chain-41dcec4b.js';
|
16
|
+
import './eip1193-2f116cf7.js';
|
17
17
|
import '@wagmi/chains';
|
18
18
|
|
19
19
|
declare class AbiConstructorNotFoundError extends BaseError {
|