viem 0.1.9 → 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-81b3f26c.d.ts → chain-41dcec4b.d.ts} +1 -1
- package/dist/{chain-d64be356.d.ts → chain-792d51c3.d.ts} +113 -137
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-JTX5BKWL.js → chunk-ADJTWF45.js} +19 -19
- package/dist/{chunk-GQ3EDBYX.mjs → chunk-H6AQHA74.mjs} +110 -6
- package/dist/chunk-H6AQHA74.mjs.map +1 -0
- package/dist/{chunk-BYG4UCLI.mjs → chunk-IAY6WXS3.mjs} +2 -2
- package/dist/{chunk-NJT5TACH.js → chunk-YZCQ7AL7.js} +111 -7
- package/dist/{chunk-GQ3EDBYX.mjs.map → chunk-YZCQ7AL7.js.map} +1 -1
- package/dist/contract.d.ts +8 -8
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createClient-8575dcd6.d.ts → createClient-6cd6daa3.d.ts} +2 -2
- package/dist/{createPublicClient-4d54af8a.d.ts → createPublicClient-34d3ba9d.d.ts} +117 -72
- package/dist/{eip1193-029d52f0.d.ts → eip1193-2f116cf7.d.ts} +4 -4
- package/dist/{encodeFunctionResult-12963e93.d.ts → encodeFunctionResult-874fe003.d.ts} +1 -1
- package/dist/{encodePacked-98b20b4d.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-8ee3a7fa.d.ts → formatAbiItem-1bdb43d3.d.ts} +1 -1
- package/dist/{getAbiItem-de103f9b.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-66ef1ac7.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-f964519b.d.ts → test-6b2b1b0d.d.ts} +3 -3
- package/dist/test.d.ts +6 -6
- 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 +2 -2
- package/dist/chunk-NJT5TACH.js.map +0 -1
- /package/dist/{chunk-JTX5BKWL.js.map → chunk-ADJTWF45.js.map} +0 -0
- /package/dist/{chunk-BYG4UCLI.mjs.map → chunk-IAY6WXS3.mjs.map} +0 -0
package/dist/abi.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
|
2
|
-
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-
|
3
|
-
|
4
|
-
|
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 { e as encodePacked } from './encodePacked-9ab98aa9.js';
|
4
|
+
import './chain-792d51c3.js';
|
5
5
|
import '@wagmi/chains';
|
package/dist/abi.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
|
9
9
|
|
10
|
-
var
|
10
|
+
var _chunkYZCQ7AL7js = require('./chunk-YZCQ7AL7.js');
|
11
11
|
|
12
12
|
|
13
13
|
|
@@ -17,5 +17,5 @@ var _chunkNJT5TACHjs = require('./chunk-NJT5TACH.js');
|
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
exports.decodeAbiParameters =
|
20
|
+
exports.decodeAbiParameters = _chunkYZCQ7AL7js.decodeAbiParameters; exports.encodeAbiParameters = _chunkYZCQ7AL7js.encodeAbiParameters; exports.encodePacked = _chunkYZCQ7AL7js.encodePacked; exports.getAbiItem = _chunkYZCQ7AL7js.getAbiItem; exports.parseAbi = _chunkYZCQ7AL7js.parseAbi; exports.parseAbiItem = _chunkYZCQ7AL7js.parseAbiItem; exports.parseAbiParameter = _chunkYZCQ7AL7js.parseAbiParameter; exports.parseAbiParameters = _chunkYZCQ7AL7js.parseAbiParameters;
|
21
21
|
//# sourceMappingURL=abi.js.map
|
package/dist/abi.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { S as Formatters, C as Chain } from './chain-792d51c3.js';
|
2
2
|
|
3
3
|
declare function defineChain<TFormatters extends Formatters = Formatters, TChain extends Chain<TFormatters> = Chain<TFormatters>>(chain: TChain): TChain;
|
4
4
|
declare function getChainContractAddress({ blockNumber, chain, contract: name, }: {
|
@@ -1,20 +1,11 @@
|
|
1
1
|
import { Chain as Chain$1 } from '@wagmi/chains';
|
2
|
-
import {
|
2
|
+
import { Abi, AbiFunction, ExtractAbiFunction, AbiParametersToPrimitiveTypes, AbiConstructor, AbiError, ExtractAbiError, AbiEvent, ExtractAbiEvent, ExtractAbiErrorNames, ExtractAbiEventNames, AbiStateMutability, ExtractAbiFunctionNames, Narrow, Address, AbiParameter, AbiParameterToPrimitiveType } from 'abitype';
|
3
3
|
|
4
4
|
type ByteArray = Uint8Array;
|
5
5
|
type Hex = `0x${string}`;
|
6
6
|
type Hash = `0x${string}`;
|
7
7
|
type LogTopic = Hex | Hex[] | null;
|
8
8
|
|
9
|
-
declare module 'abitype' {
|
10
|
-
interface Config {
|
11
|
-
BytesType: {
|
12
|
-
inputs: Hex;
|
13
|
-
outputs: Hex;
|
14
|
-
};
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
9
|
type ExtractFormatter<TChain extends Chain, TKey extends keyof NonNullable<TChain['formatters']>, TFallbackFormatter extends Formatter = Formatter> = NonNullable<TChain['formatters']>[TKey] extends NonNullable<unknown> ? NonNullable<TChain['formatters']>[TKey] : TFallbackFormatter;
|
19
10
|
type FormatOptions<TSource, TTarget> = {
|
20
11
|
formatter: Formatter<TSource, TTarget>;
|
@@ -60,100 +51,13 @@ declare const transactionType: {
|
|
60
51
|
declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction<bigint, number>;
|
61
52
|
declare const defineTransaction: <TFormat extends Formatter<Partial<RpcTransaction>, Partial<Transaction<bigint, number>> & {
|
62
53
|
[key: string]: unknown;
|
63
|
-
}>, TExclude extends ("type" | "value" | "blockHash" | "blockNumber" | "from" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "gas" | "nonce" | "to" | "accessList" | "
|
54
|
+
}>, TExclude extends ("type" | "value" | "blockHash" | "blockNumber" | "from" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "gas" | "nonce" | "to" | "accessList" | "hash" | "chainId" | "input" | "r" | "s" | "transactionIndex" | "v")[] = []>({ exclude, format: formatOverride, }: {
|
64
55
|
exclude?: TExclude | undefined;
|
65
56
|
format?: TFormat | undefined;
|
66
57
|
}) => (data: Partial<RpcTransaction> & {
|
67
58
|
[key: string]: unknown;
|
68
59
|
}) => Transaction<bigint, number> & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
|
69
60
|
|
70
|
-
type Block<TQuantity = bigint, TTransaction = Transaction> = {
|
71
|
-
/** Base fee per gas */
|
72
|
-
baseFeePerGas: TQuantity | null;
|
73
|
-
/** Difficulty for this block */
|
74
|
-
difficulty: TQuantity;
|
75
|
-
/** "Extra data" field of this block */
|
76
|
-
extraData: Hex;
|
77
|
-
/** Maximum gas allowed in this block */
|
78
|
-
gasLimit: TQuantity;
|
79
|
-
/** Total used gas by all transactions in this block */
|
80
|
-
gasUsed: TQuantity;
|
81
|
-
/** Block hash or `null` if pending */
|
82
|
-
hash: Hash | null;
|
83
|
-
/** Logs bloom filter or `null` if pending */
|
84
|
-
logsBloom: Hex | null;
|
85
|
-
/** Address that received this block’s mining rewards */
|
86
|
-
miner: Address;
|
87
|
-
/** Unique identifier for the block. */
|
88
|
-
mixHash: Hash;
|
89
|
-
/** Proof-of-work hash or `null` if pending */
|
90
|
-
nonce: Hex | null;
|
91
|
-
/** Block number or `null` if pending */
|
92
|
-
number: TQuantity | null;
|
93
|
-
/** Parent block hash */
|
94
|
-
parentHash: Hash;
|
95
|
-
/** Root of the this block’s receipts trie */
|
96
|
-
receiptsRoot: Hex;
|
97
|
-
sealFields: Hex[];
|
98
|
-
/** SHA3 of the uncles data in this block */
|
99
|
-
sha3Uncles: Hash;
|
100
|
-
/** Size of this block in bytes */
|
101
|
-
size: TQuantity;
|
102
|
-
/** Root of this block’s final state trie */
|
103
|
-
stateRoot: Hash;
|
104
|
-
/** Unix timestamp of when this block was collated */
|
105
|
-
timestamp: TQuantity;
|
106
|
-
/** Total difficulty of the chain until this block */
|
107
|
-
totalDifficulty: TQuantity | null;
|
108
|
-
/** List of transaction objects or hashes */
|
109
|
-
transactions: Hash[] | TTransaction[];
|
110
|
-
/** Root of this block’s transaction trie */
|
111
|
-
transactionsRoot: Hash;
|
112
|
-
/** List of uncle hashes */
|
113
|
-
uncles: Hash[];
|
114
|
-
};
|
115
|
-
type BlockIdentifier<TQuantity = bigint> = {
|
116
|
-
/** Whether or not to throw an error if the block is not in the canonical chain as described below. Only allowed in conjunction with the blockHash tag. Defaults to false. */
|
117
|
-
requireCanonical?: boolean;
|
118
|
-
} & ({
|
119
|
-
/** The block in the canonical chain with this number */
|
120
|
-
blockNumber: BlockNumber<TQuantity>;
|
121
|
-
} | {
|
122
|
-
/** The block uniquely identified by this hash. The `blockNumber` and `blockHash` properties are mutually exclusive; exactly one of them must be set. */
|
123
|
-
blockHash: Hash;
|
124
|
-
});
|
125
|
-
type BlockNumber<TQuantity = bigint> = TQuantity;
|
126
|
-
type BlockTag = 'latest' | 'earliest' | 'pending' | 'safe' | 'finalized';
|
127
|
-
type Uncle<TQuantity = bigint, TTransaction = Transaction> = Block<TQuantity, TTransaction>;
|
128
|
-
|
129
|
-
type FeeHistory<TQuantity = bigint> = {
|
130
|
-
/**
|
131
|
-
* An array of block base fees per gas (in wei). This includes the next block after
|
132
|
-
* the newest of the returned range, because this value can be derived from the newest block.
|
133
|
-
* Zeroes are returned for pre-EIP-1559 blocks. */
|
134
|
-
baseFeePerGas: TQuantity[];
|
135
|
-
/** An array of block gas used ratios. These are calculated as the ratio of gasUsed and gasLimit. */
|
136
|
-
gasUsedRatio: number[];
|
137
|
-
/** Lowest number block of the returned range. */
|
138
|
-
oldestBlock: TQuantity;
|
139
|
-
/** An array of effective priority fees (in wei) per gas data points from a single block. All zeroes are returned if the block is empty. */
|
140
|
-
reward?: TQuantity[][];
|
141
|
-
};
|
142
|
-
type FeeValuesLegacy<TQuantity = bigint> = {
|
143
|
-
/** Base fee per gas. */
|
144
|
-
gasPrice: TQuantity;
|
145
|
-
maxFeePerGas?: never;
|
146
|
-
maxPriorityFeePerGas?: never;
|
147
|
-
};
|
148
|
-
type FeeValuesEIP1559<TQuantity = bigint> = {
|
149
|
-
gasPrice?: never;
|
150
|
-
/** Total fee per gas in wei (gasPrice/baseFeePerGas + maxPriorityFeePerGas). */
|
151
|
-
maxFeePerGas: TQuantity;
|
152
|
-
/** Max priority fee per gas (in wei). */
|
153
|
-
maxPriorityFeePerGas: TQuantity;
|
154
|
-
};
|
155
|
-
type FeeValues<TQuantity = bigint> = FeeValuesLegacy<TQuantity> | FeeValuesEIP1559<TQuantity>;
|
156
|
-
|
157
61
|
/**
|
158
62
|
* @description Excludes empty attributes from T if TMaybeExclude is true.
|
159
63
|
*
|
@@ -291,11 +195,7 @@ type AbiEventTopicsToPrimitiveTypes<TAbiParameters extends readonly AbiParameter
|
|
291
195
|
AbiParameterToPrimitiveType<Head>,
|
292
196
|
...(Tail extends readonly [] ? [] : Tail extends readonly AbiParameter[] ? AbiEventTopicsToPrimitiveTypes<Tail, [], TData> : [])
|
293
197
|
] : TBase : TBase : TBase : undefined>;
|
294
|
-
type ExtractArgsFromAbi<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction
|
295
|
-
type: 'function';
|
296
|
-
} = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction & {
|
297
|
-
type: 'function';
|
298
|
-
}, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? {
|
198
|
+
type ExtractArgsFromAbi<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? {
|
299
199
|
/**
|
300
200
|
* Arguments to pass contract method
|
301
201
|
*
|
@@ -307,13 +207,9 @@ type ExtractArgsFromAbi<TAbi extends Abi | readonly unknown[], TFunctionName ext
|
|
307
207
|
} : {
|
308
208
|
/** Arguments to pass contract method */ args: TArgs;
|
309
209
|
};
|
310
|
-
type ExtractConstructorArgsFromAbi<TAbi extends Abi | readonly unknown[], TAbiFunction extends
|
311
|
-
type: 'constructor';
|
312
|
-
} = TAbi extends Abi ? Extract<TAbi[number], {
|
210
|
+
type ExtractConstructorArgsFromAbi<TAbi extends Abi | readonly unknown[], TAbiFunction extends AbiConstructor = TAbi extends Abi ? Extract<TAbi[number], {
|
313
211
|
type: 'constructor';
|
314
|
-
}> :
|
315
|
-
type: 'constructor';
|
316
|
-
}, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? {
|
212
|
+
}> : AbiConstructor, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? {
|
317
213
|
/**
|
318
214
|
* Arguments to pass contract method
|
319
215
|
*
|
@@ -360,9 +256,7 @@ type ExtractNames<TAbi extends Abi> = ExtractAbiFunctionNames<TAbi> | ExtractAbi
|
|
360
256
|
type ExtractNameFromAbi<TAbi extends Abi | readonly unknown[] = Abi, TName extends string = string> = TAbi extends Abi ? ExtractNames<TAbi> extends infer AbiNames ? AbiNames | (TName extends AbiNames ? TName : never) | (Abi extends TAbi ? string : never) : never : TName;
|
361
257
|
type ExtractResultFromAbi<TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = string, TAbiFunction extends AbiFunction & {
|
362
258
|
type: 'function';
|
363
|
-
} = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction
|
364
|
-
type: 'function';
|
365
|
-
}, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['outputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? unknown : TArgs extends readonly [] ? void : TArgs extends readonly [infer Arg] ? Arg : TArgs;
|
259
|
+
} = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, TArgs = AbiParametersToPrimitiveTypes<TAbiFunction['outputs']>, FailedToParseArgs = ([TArgs] extends [never] ? true : false) | (readonly unknown[] extends TArgs ? true : false)> = true extends FailedToParseArgs ? unknown : TArgs extends readonly [] ? void : TArgs extends readonly [infer Arg] ? Arg : TArgs;
|
366
260
|
type MaybeAbiEventName<TAbiEvent extends AbiEvent | undefined> = TAbiEvent extends AbiEvent ? TAbiEvent['name'] : undefined;
|
367
261
|
type MaybeExtractEventArgsFromAbi<TAbi extends Abi | readonly unknown[] = Abi, TEventName extends string | undefined = undefined> = TEventName extends string ? ExtractEventArgsFromAbi<TAbi, TEventName> : undefined;
|
368
262
|
type ContractConfig<TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = string, TAbiStateMutability extends AbiStateMutability = AbiStateMutability> = {
|
@@ -373,13 +267,36 @@ type ContractConfig<TAbi extends Abi | readonly unknown[] = Abi, TFunctionName e
|
|
373
267
|
/** Function to invoke on the contract */
|
374
268
|
functionName: ExtractFunctionNameFromAbi<TAbi, TFunctionName, TAbiStateMutability>;
|
375
269
|
} & ExtractArgsFromAbi<TAbi, TFunctionName>;
|
376
|
-
type GetValue<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TValueType = TransactionRequest['value'], TAbiFunction extends AbiFunction
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
270
|
+
type GetValue<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TValueType = TransactionRequest['value'], TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction> = TAbiFunction['stateMutability'] extends 'payable' ? TValueType : TAbiFunction['payable'] extends true ? TValueType : never;
|
271
|
+
|
272
|
+
type FeeHistory<TQuantity = bigint> = {
|
273
|
+
/**
|
274
|
+
* An array of block base fees per gas (in wei). This includes the next block after
|
275
|
+
* the newest of the returned range, because this value can be derived from the newest block.
|
276
|
+
* Zeroes are returned for pre-EIP-1559 blocks. */
|
277
|
+
baseFeePerGas: TQuantity[];
|
278
|
+
/** An array of block gas used ratios. These are calculated as the ratio of gasUsed and gasLimit. */
|
279
|
+
gasUsedRatio: number[];
|
280
|
+
/** Lowest number block of the returned range. */
|
281
|
+
oldestBlock: TQuantity;
|
282
|
+
/** An array of effective priority fees (in wei) per gas data points from a single block. All zeroes are returned if the block is empty. */
|
283
|
+
reward?: TQuantity[][];
|
284
|
+
};
|
285
|
+
type FeeValuesLegacy<TQuantity = bigint> = {
|
286
|
+
/** Base fee per gas. */
|
287
|
+
gasPrice: TQuantity;
|
288
|
+
maxFeePerGas?: never;
|
289
|
+
maxPriorityFeePerGas?: never;
|
290
|
+
};
|
291
|
+
type FeeValuesEIP1559<TQuantity = bigint> = {
|
292
|
+
gasPrice?: never;
|
293
|
+
/** Total fee per gas in wei (gasPrice/baseFeePerGas + maxPriorityFeePerGas). */
|
294
|
+
maxFeePerGas: TQuantity;
|
295
|
+
/** Max priority fee per gas (in wei). */
|
296
|
+
maxPriorityFeePerGas: TQuantity;
|
297
|
+
};
|
298
|
+
type FeeValues<TQuantity = bigint> = FeeValuesLegacy<TQuantity> | FeeValuesEIP1559<TQuantity>;
|
381
299
|
|
382
|
-
type TopicFilter = (null | string | string[])[];
|
383
300
|
type DecodedAbiEvent<TAbiEvent extends AbiEvent | undefined = undefined, TAbi extends Abi | readonly unknown[] = [TAbiEvent], TEventName extends string | undefined = TAbiEvent extends AbiEvent ? TAbiEvent['name'] : undefined> = TAbi extends Abi ? TEventName extends string ? {
|
384
301
|
args: ExtractEventArgsFromAbi<TAbi, TEventName, {
|
385
302
|
enableUnion: false;
|
@@ -413,32 +330,17 @@ type Log<TQuantity = bigint, TIndex = number, TAbiEvent extends AbiEvent | undef
|
|
413
330
|
/** Index of the transaction that created this log or `null` if pending */
|
414
331
|
transactionIndex: TIndex | null;
|
415
332
|
/** List of order-dependent topics */
|
416
|
-
topics:
|
333
|
+
topics: Hex[];
|
417
334
|
/** `true` if this filter has been destroyed and is invalid */
|
418
335
|
removed: boolean;
|
419
336
|
} & DecodedAbiEvent<TAbiEvent, TAbi, TEventName>;
|
420
337
|
|
421
|
-
type Index = `0x${string}`;
|
422
|
-
type Quantity = `0x${string}`;
|
423
|
-
type Status = '0x0' | '0x1';
|
424
|
-
type TransactionType$1 = '0x0' | '0x1' | '0x2';
|
425
|
-
type RpcBlock = Block<Quantity, RpcTransaction>;
|
426
|
-
type RpcBlockNumber = BlockNumber<Quantity>;
|
427
|
-
type RpcBlockIdentifier = BlockIdentifier<Quantity>;
|
428
|
-
type RpcUncle = Uncle<Quantity>;
|
429
|
-
type RpcFeeHistory = FeeHistory<Quantity>;
|
430
|
-
type RpcFeeValues = FeeValues<Quantity>;
|
431
|
-
type RpcLog = Log<Quantity, Index>;
|
432
|
-
type RpcTransactionReceipt = TransactionReceipt<Quantity, Index, Status, TransactionType$1>;
|
433
|
-
type RpcTransactionRequest = TransactionRequest<Quantity, Index>;
|
434
|
-
type RpcTransaction = TransactionLegacy<Quantity, Index, '0x0'> | TransactionEIP2930<Quantity, Index, '0x1'> | TransactionEIP1559<Quantity, Index, '0x2'>;
|
435
|
-
|
436
338
|
type AccessList = {
|
437
339
|
address: Address;
|
438
340
|
storageKeys: Hex[];
|
439
341
|
}[];
|
440
|
-
type TransactionType = ValueOf<typeof transactionType>;
|
441
|
-
type TransactionReceipt<TQuantity = bigint, TIndex = number, TStatus = 'success' | 'reverted', TType = TransactionType> = {
|
342
|
+
type TransactionType$1 = ValueOf<typeof transactionType>;
|
343
|
+
type TransactionReceipt<TQuantity = bigint, TIndex = number, TStatus = 'success' | 'reverted', TType = TransactionType$1> = {
|
442
344
|
/** Hash of block containing this transaction */
|
443
345
|
blockHash: Hash;
|
444
346
|
/** Number of block containing this transaction */
|
@@ -536,6 +438,80 @@ type TransactionRequestEIP1559<TQuantity = bigint, TIndex = number> = Transactio
|
|
536
438
|
};
|
537
439
|
type TransactionRequest<TQuantity = bigint, TIndex = number> = TransactionRequestLegacy<TQuantity, TIndex> | TransactionRequestEIP2930<TQuantity, TIndex> | TransactionRequestEIP1559<TQuantity, TIndex>;
|
538
440
|
|
441
|
+
type Block<TQuantity = bigint, TTransaction = Transaction> = {
|
442
|
+
/** Base fee per gas */
|
443
|
+
baseFeePerGas: TQuantity | null;
|
444
|
+
/** Difficulty for this block */
|
445
|
+
difficulty: TQuantity;
|
446
|
+
/** "Extra data" field of this block */
|
447
|
+
extraData: Hex;
|
448
|
+
/** Maximum gas allowed in this block */
|
449
|
+
gasLimit: TQuantity;
|
450
|
+
/** Total used gas by all transactions in this block */
|
451
|
+
gasUsed: TQuantity;
|
452
|
+
/** Block hash or `null` if pending */
|
453
|
+
hash: Hash | null;
|
454
|
+
/** Logs bloom filter or `null` if pending */
|
455
|
+
logsBloom: Hex | null;
|
456
|
+
/** Address that received this block’s mining rewards */
|
457
|
+
miner: Address;
|
458
|
+
/** Unique identifier for the block. */
|
459
|
+
mixHash: Hash;
|
460
|
+
/** Proof-of-work hash or `null` if pending */
|
461
|
+
nonce: Hex | null;
|
462
|
+
/** Block number or `null` if pending */
|
463
|
+
number: TQuantity | null;
|
464
|
+
/** Parent block hash */
|
465
|
+
parentHash: Hash;
|
466
|
+
/** Root of the this block’s receipts trie */
|
467
|
+
receiptsRoot: Hex;
|
468
|
+
sealFields: Hex[];
|
469
|
+
/** SHA3 of the uncles data in this block */
|
470
|
+
sha3Uncles: Hash;
|
471
|
+
/** Size of this block in bytes */
|
472
|
+
size: TQuantity;
|
473
|
+
/** Root of this block’s final state trie */
|
474
|
+
stateRoot: Hash;
|
475
|
+
/** Unix timestamp of when this block was collated */
|
476
|
+
timestamp: TQuantity;
|
477
|
+
/** Total difficulty of the chain until this block */
|
478
|
+
totalDifficulty: TQuantity | null;
|
479
|
+
/** List of transaction objects or hashes */
|
480
|
+
transactions: Hash[] | TTransaction[];
|
481
|
+
/** Root of this block’s transaction trie */
|
482
|
+
transactionsRoot: Hash;
|
483
|
+
/** List of uncle hashes */
|
484
|
+
uncles: Hash[];
|
485
|
+
};
|
486
|
+
type BlockIdentifier<TQuantity = bigint> = {
|
487
|
+
/** Whether or not to throw an error if the block is not in the canonical chain as described below. Only allowed in conjunction with the blockHash tag. Defaults to false. */
|
488
|
+
requireCanonical?: boolean;
|
489
|
+
} & ({
|
490
|
+
/** The block in the canonical chain with this number */
|
491
|
+
blockNumber: BlockNumber<TQuantity>;
|
492
|
+
} | {
|
493
|
+
/** The block uniquely identified by this hash. The `blockNumber` and `blockHash` properties are mutually exclusive; exactly one of them must be set. */
|
494
|
+
blockHash: Hash;
|
495
|
+
});
|
496
|
+
type BlockNumber<TQuantity = bigint> = TQuantity;
|
497
|
+
type BlockTag = 'latest' | 'earliest' | 'pending' | 'safe' | 'finalized';
|
498
|
+
type Uncle<TQuantity = bigint, TTransaction = Transaction> = Block<TQuantity, TTransaction>;
|
499
|
+
|
500
|
+
type Index = `0x${string}`;
|
501
|
+
type Quantity = `0x${string}`;
|
502
|
+
type Status = '0x0' | '0x1';
|
503
|
+
type TransactionType = '0x0' | '0x1' | '0x2';
|
504
|
+
type RpcBlock = Block<Quantity, RpcTransaction>;
|
505
|
+
type RpcBlockNumber = BlockNumber<Quantity>;
|
506
|
+
type RpcBlockIdentifier = BlockIdentifier<Quantity>;
|
507
|
+
type RpcUncle = Uncle<Quantity>;
|
508
|
+
type RpcFeeHistory = FeeHistory<Quantity>;
|
509
|
+
type RpcFeeValues = FeeValues<Quantity>;
|
510
|
+
type RpcLog = Log<Quantity, Index>;
|
511
|
+
type RpcTransactionReceipt = TransactionReceipt<Quantity, Index, Status, TransactionType>;
|
512
|
+
type RpcTransactionRequest = TransactionRequest<Quantity, Index>;
|
513
|
+
type RpcTransaction = TransactionLegacy<Quantity, Index, '0x0'> | TransactionEIP2930<Quantity, Index, '0x1'> | TransactionEIP1559<Quantity, Index, '0x2'>;
|
514
|
+
|
539
515
|
type Formatter<TSource = any, TTarget = any> = (value: TSource & {
|
540
516
|
[key: string]: unknown;
|
541
517
|
}) => TTarget;
|
@@ -550,4 +526,4 @@ type Chain<TFormatters extends Formatters = Formatters> = Chain$1 & {
|
|
550
526
|
formatters?: TFormatters;
|
551
527
|
};
|
552
528
|
|
553
|
-
export { MaybeExtractEventArgsFromAbi as $, AbiItem as A, ByteArray as B, Chain as C, TransactionEIP1559 as D, TransactionEIP2930 as E, FeeHistory as F, TransactionLegacy as G, Hex as H, ExtractFormatter as I, Formatted as J, FormattedTransaction as K, Log as L, TransactionFormatter as M, defineTransaction as N, formatTransaction as O, transactionType as P,
|
529
|
+
export { MaybeExtractEventArgsFromAbi as $, AbiItem as A, ByteArray as B, Chain as C, TransactionEIP1559 as D, TransactionEIP2930 as E, FeeHistory as F, TransactionLegacy as G, Hex as H, ExtractFormatter as I, Formatted as J, FormattedTransaction as K, Log as L, TransactionFormatter as M, defineTransaction as N, formatTransaction as O, transactionType as P, ExtractConstructorArgsFromAbi as Q, RpcBlock as R, Formatters as S, TransactionReceipt as T, Uncle as U, Formatter as V, TransactionType$1 as W, MergeIntersectionProperties as X, GetValue as Y, ExtractResultFromAbi as Z, MaybeAbiEventName as _, Hash as a, ExtractEventNameFromAbi as a0, ExtractEventArgsFromAbi as a1, Prettify as a2, Quantity as a3, EventDefinition as a4, ExtractNameFromAbi as a5, ExtractArgsFromAbi as a6, LogTopic as a7, ExtractEventArgsFromTopics as a8, ExtractFunctionNameFromAbi as a9, ExtractErrorNameFromAbi as aa, ExtractErrorArgsFromAbi as ab, defineFormatter as ac, format as ad, AccessList as b, Block as c, BlockIdentifier as d, BlockNumber as e, BlockTag as f, ContractConfig as g, FeeValues as h, FeeValuesEIP1559 as i, FeeValuesLegacy as j, RpcBlockIdentifier as k, RpcBlockNumber as l, RpcFeeHistory as m, RpcFeeValues as n, RpcLog as o, RpcTransaction as p, RpcTransactionReceipt as q, RpcTransactionRequest as r, RpcUncle as s, TransactionRequest as t, TransactionRequestBase as u, TransactionRequestEIP1559 as v, TransactionRequestEIP2930 as w, TransactionRequestLegacy as x, Transaction as y, TransactionBase as z };
|
package/dist/chains.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { R as RpcBlock, c as Block, y as Transaction, H as Hex, p as RpcTransaction, q as RpcTransactionReceipt, T as TransactionReceipt,
|
2
|
-
export { C as Chain } from './chain-
|
1
|
+
import { R as RpcBlock, c as Block, y as Transaction, H as Hex, p as RpcTransaction, q as RpcTransactionReceipt, T as TransactionReceipt, W as TransactionType, t as TransactionRequest, r as RpcTransactionRequest } from './chain-792d51c3.js';
|
2
|
+
export { C as Chain } from './chain-792d51c3.js';
|
3
|
+
export { d as defineChain } from './chain-41dcec4b.js';
|
3
4
|
import * as chains from '@wagmi/chains';
|
4
|
-
export { d as defineChain } from './chain-81b3f26c.js';
|
5
5
|
import 'abitype';
|
6
6
|
|
7
7
|
declare const arbitrum: {
|
package/dist/chains.js
CHANGED
@@ -4,32 +4,32 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
var
|
7
|
+
var _chunkYZCQ7AL7js = require('./chunk-YZCQ7AL7.js');
|
8
8
|
|
9
9
|
// src/chains.ts
|
10
10
|
var _chains = require('@wagmi/chains'); var chains = _interopRequireWildcard(_chains);
|
11
11
|
var celoFormatters = {
|
12
|
-
block:
|
12
|
+
block: _chunkYZCQ7AL7js.defineBlock.call(void 0, {
|
13
13
|
exclude: ["difficulty", "gasLimit", "mixHash", "nonce", "uncles"],
|
14
14
|
format: (block) => ({
|
15
15
|
randomness: block.randomness
|
16
16
|
})
|
17
17
|
}),
|
18
|
-
transaction:
|
18
|
+
transaction: _chunkYZCQ7AL7js.defineTransaction.call(void 0, {
|
19
19
|
format: (transaction) => ({
|
20
20
|
feeCurrency: transaction.feeCurrency,
|
21
21
|
gatewayFee: transaction.gatewayFee ? BigInt(transaction.gatewayFee) : null,
|
22
22
|
gatewayFeeRecipient: transaction.gatewayFeeRecipient
|
23
23
|
})
|
24
24
|
}),
|
25
|
-
transactionReceipt:
|
25
|
+
transactionReceipt: _chunkYZCQ7AL7js.defineTransactionReceipt.call(void 0, {
|
26
26
|
format: (transaction) => ({
|
27
27
|
feeCurrency: transaction.feeCurrency,
|
28
28
|
gatewayFee: transaction.gatewayFee ? BigInt(transaction.gatewayFee) : null,
|
29
29
|
gatewayFeeRecipient: transaction.gatewayFeeRecipient
|
30
30
|
})
|
31
31
|
}),
|
32
|
-
transactionRequest:
|
32
|
+
transactionRequest: _chunkYZCQ7AL7js.defineTransactionRequest.call(void 0, {
|
33
33
|
format: (transactionRequest) => ({
|
34
34
|
feeCurrency: transactionRequest.feeCurrency,
|
35
35
|
gatewayFee: transactionRequest.gatewayFee,
|
@@ -37,69 +37,69 @@ var celoFormatters = {
|
|
37
37
|
})
|
38
38
|
})
|
39
39
|
};
|
40
|
-
var arbitrum2 =
|
41
|
-
var arbitrumGoerli2 =
|
42
|
-
var aurora2 =
|
43
|
-
var auroraGoerli =
|
44
|
-
var avalanche2 =
|
45
|
-
var avalancheFuji2 =
|
46
|
-
var baseGoerli2 =
|
47
|
-
var boba2 =
|
48
|
-
var bronos2 =
|
49
|
-
var bronosTestnet2 =
|
50
|
-
var bsc2 =
|
51
|
-
var bscTestnet2 =
|
52
|
-
var canto2 =
|
53
|
-
var celo2 =
|
40
|
+
var arbitrum2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.arbitrum);
|
41
|
+
var arbitrumGoerli2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.arbitrumGoerli);
|
42
|
+
var aurora2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.aurora);
|
43
|
+
var auroraGoerli = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.auroraTestnet);
|
44
|
+
var avalanche2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.avalanche);
|
45
|
+
var avalancheFuji2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.avalancheFuji);
|
46
|
+
var baseGoerli2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.baseGoerli);
|
47
|
+
var boba2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.boba);
|
48
|
+
var bronos2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.bronos);
|
49
|
+
var bronosTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.bronosTestnet);
|
50
|
+
var bsc2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.bsc);
|
51
|
+
var bscTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.bscTestnet);
|
52
|
+
var canto2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.canto);
|
53
|
+
var celo2 = _chunkYZCQ7AL7js.defineChain.call(void 0, {
|
54
54
|
...chains.celo,
|
55
55
|
formatters: celoFormatters
|
56
56
|
});
|
57
|
-
var celoAlfajores2 =
|
57
|
+
var celoAlfajores2 = _chunkYZCQ7AL7js.defineChain.call(void 0, {
|
58
58
|
...chains.celoAlfajores,
|
59
59
|
formatters: celoFormatters
|
60
60
|
});
|
61
|
-
var crossbell2 =
|
62
|
-
var evmos2 =
|
63
|
-
var evmosTestnet2 =
|
64
|
-
var fantom2 =
|
65
|
-
var fantomTestnet2 =
|
66
|
-
var filecoin2 =
|
67
|
-
var filecoinCalibration2 =
|
68
|
-
var filecoinHyperspace2 =
|
69
|
-
var flare2 =
|
70
|
-
var flareTestnet2 =
|
71
|
-
var foundry2 =
|
72
|
-
var goerli2 =
|
73
|
-
var gnosis2 =
|
74
|
-
var gnosisChiado2 =
|
75
|
-
var hardhat2 =
|
76
|
-
var harmonyOne2 =
|
77
|
-
var iotex2 =
|
78
|
-
var iotexTestnet2 =
|
79
|
-
var localhost2 =
|
80
|
-
var mainnet2 =
|
81
|
-
var metis2 =
|
82
|
-
var metisGoerli2 =
|
83
|
-
var moonbaseAlpha2 =
|
84
|
-
var moonbeam2 =
|
85
|
-
var moonriver2 =
|
86
|
-
var okc2 =
|
87
|
-
var optimism2 =
|
88
|
-
var optimismGoerli2 =
|
89
|
-
var polygon2 =
|
90
|
-
var polygonMumbai2 =
|
91
|
-
var polygonZkEvmTestnet2 =
|
92
|
-
var sepolia2 =
|
93
|
-
var shardeumSphinx2 =
|
94
|
-
var songbird2 =
|
95
|
-
var songbirdTestnet2 =
|
96
|
-
var taraxa2 =
|
97
|
-
var taraxaTestnet2 =
|
98
|
-
var telos2 =
|
99
|
-
var telosTestnet2 =
|
100
|
-
var zhejiang2 =
|
101
|
-
var zkSync2 =
|
102
|
-
var zkSyncTestnet2 =
|
61
|
+
var crossbell2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.crossbell);
|
62
|
+
var evmos2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.evmos);
|
63
|
+
var evmosTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.evmosTestnet);
|
64
|
+
var fantom2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.fantom);
|
65
|
+
var fantomTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.fantomTestnet);
|
66
|
+
var filecoin2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.filecoin);
|
67
|
+
var filecoinCalibration2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.filecoinCalibration);
|
68
|
+
var filecoinHyperspace2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.filecoinHyperspace);
|
69
|
+
var flare2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.flare);
|
70
|
+
var flareTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.flareTestnet);
|
71
|
+
var foundry2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.foundry);
|
72
|
+
var goerli2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.goerli);
|
73
|
+
var gnosis2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.gnosis);
|
74
|
+
var gnosisChiado2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.gnosisChiado);
|
75
|
+
var hardhat2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.hardhat);
|
76
|
+
var harmonyOne2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.harmonyOne);
|
77
|
+
var iotex2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.iotex);
|
78
|
+
var iotexTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.iotexTestnet);
|
79
|
+
var localhost2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.localhost);
|
80
|
+
var mainnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.mainnet);
|
81
|
+
var metis2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.metis);
|
82
|
+
var metisGoerli2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.metisGoerli);
|
83
|
+
var moonbaseAlpha2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.moonbaseAlpha);
|
84
|
+
var moonbeam2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.moonbeam);
|
85
|
+
var moonriver2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.moonriver);
|
86
|
+
var okc2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.okc);
|
87
|
+
var optimism2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.optimism);
|
88
|
+
var optimismGoerli2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.optimismGoerli);
|
89
|
+
var polygon2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.polygon);
|
90
|
+
var polygonMumbai2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.polygonMumbai);
|
91
|
+
var polygonZkEvmTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.polygonZkEvmTestnet);
|
92
|
+
var sepolia2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.sepolia);
|
93
|
+
var shardeumSphinx2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.shardeumSphinx);
|
94
|
+
var songbird2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.songbird);
|
95
|
+
var songbirdTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.songbirdTestnet);
|
96
|
+
var taraxa2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.taraxa);
|
97
|
+
var taraxaTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.taraxaTestnet);
|
98
|
+
var telos2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.telos);
|
99
|
+
var telosTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.telosTestnet);
|
100
|
+
var zhejiang2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.zhejiang);
|
101
|
+
var zkSync2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.zkSync);
|
102
|
+
var zkSyncTestnet2 = _chunkYZCQ7AL7js.defineChain.call(void 0, chains.zkSyncTestnet);
|
103
103
|
|
104
104
|
|
105
105
|
|
@@ -159,5 +159,5 @@ var zkSyncTestnet2 = _chunkNJT5TACHjs.defineChain.call(void 0, chains.zkSyncTest
|
|
159
159
|
|
160
160
|
|
161
161
|
|
162
|
-
exports.arbitrum = arbitrum2; exports.arbitrumGoerli = arbitrumGoerli2; exports.aurora = aurora2; exports.auroraGoerli = auroraGoerli; exports.avalanche = avalanche2; exports.avalancheFuji = avalancheFuji2; exports.baseGoerli = baseGoerli2; exports.boba = boba2; exports.bronos = bronos2; exports.bronosTestnet = bronosTestnet2; exports.bsc = bsc2; exports.bscTestnet = bscTestnet2; exports.canto = canto2; exports.celo = celo2; exports.celoAlfajores = celoAlfajores2; exports.crossbell = crossbell2; exports.defineChain =
|
162
|
+
exports.arbitrum = arbitrum2; exports.arbitrumGoerli = arbitrumGoerli2; exports.aurora = aurora2; exports.auroraGoerli = auroraGoerli; exports.avalanche = avalanche2; exports.avalancheFuji = avalancheFuji2; exports.baseGoerli = baseGoerli2; exports.boba = boba2; exports.bronos = bronos2; exports.bronosTestnet = bronosTestnet2; exports.bsc = bsc2; exports.bscTestnet = bscTestnet2; exports.canto = canto2; exports.celo = celo2; exports.celoAlfajores = celoAlfajores2; exports.crossbell = crossbell2; exports.defineChain = _chunkYZCQ7AL7js.defineChain; exports.evmos = evmos2; exports.evmosTestnet = evmosTestnet2; exports.fantom = fantom2; exports.fantomTestnet = fantomTestnet2; exports.filecoin = filecoin2; exports.filecoinCalibration = filecoinCalibration2; exports.filecoinHyperspace = filecoinHyperspace2; exports.flare = flare2; exports.flareTestnet = flareTestnet2; exports.foundry = foundry2; exports.gnosis = gnosis2; exports.gnosisChiado = gnosisChiado2; exports.goerli = goerli2; exports.hardhat = hardhat2; exports.harmonyOne = harmonyOne2; exports.iotex = iotex2; exports.iotexTestnet = iotexTestnet2; exports.localhost = localhost2; exports.mainnet = mainnet2; exports.metis = metis2; exports.metisGoerli = metisGoerli2; exports.moonbaseAlpha = moonbaseAlpha2; exports.moonbeam = moonbeam2; exports.moonriver = moonriver2; exports.okc = okc2; exports.optimism = optimism2; exports.optimismGoerli = optimismGoerli2; exports.polygon = polygon2; exports.polygonMumbai = polygonMumbai2; exports.polygonZkEvmTestnet = polygonZkEvmTestnet2; exports.sepolia = sepolia2; exports.shardeumSphinx = shardeumSphinx2; exports.songbird = songbird2; exports.songbirdTestnet = songbirdTestnet2; exports.taraxa = taraxa2; exports.taraxaTestnet = taraxaTestnet2; exports.telos = telos2; exports.telosTestnet = telosTestnet2; exports.zhejiang = zhejiang2; exports.zkSync = zkSync2; exports.zkSyncTestnet = zkSyncTestnet2;
|
163
163
|
//# sourceMappingURL=chains.js.map
|