viem 0.1.17 → 0.1.19
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.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-7FL2Z6KZ.js → chunk-5KPMXLJZ.js} +19 -19
- package/dist/{chunk-SEQCMEKG.mjs → chunk-5V5M3ZN3.mjs} +2 -2
- package/dist/{chunk-7VL5TXOM.mjs → chunk-IHWYS4OQ.mjs} +2 -2
- package/dist/{chunk-7VL5TXOM.mjs.map → chunk-IHWYS4OQ.mjs.map} +1 -1
- package/dist/{chunk-D4NT4PPV.js → chunk-XMKUHSC7.js} +2 -2
- package/dist/{chunk-D4NT4PPV.js.map → chunk-XMKUHSC7.js.map} +1 -1
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.js +4 -4
- package/dist/ethers.js.map +1 -1
- package/dist/ethers.mjs +2 -2
- package/dist/ethers.mjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +94 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-eda6728f.d.ts → parseGwei-c2fb9fa2.d.ts} +16 -1
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +4 -19
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-7FL2Z6KZ.js.map → chunk-5KPMXLJZ.js.map} +0 -0
- /package/dist/{chunk-SEQCMEKG.mjs.map → chunk-5V5M3ZN3.mjs.map} +0 -0
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkXMKUHSC7js = require('./chunk-XMKUHSC7.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkD4NT4PPVjs = require('./chunk-D4NT4PPV.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkXMKUHSC7js.createContractEventFilter; exports.decodeAbiParameters = _chunkXMKUHSC7js.decodeAbiParameters; exports.decodeErrorResult = _chunkXMKUHSC7js.decodeErrorResult; exports.decodeEventLog = _chunkXMKUHSC7js.decodeEventLog; exports.decodeFunctionData = _chunkXMKUHSC7js.decodeFunctionData; exports.decodeFunctionResult = _chunkXMKUHSC7js.decodeFunctionResult; exports.deployContract = _chunkXMKUHSC7js.deployContract; exports.encodeAbiParameters = _chunkXMKUHSC7js.encodeAbiParameters; exports.encodeDeployData = _chunkXMKUHSC7js.encodeDeployData; exports.encodeErrorResult = _chunkXMKUHSC7js.encodeErrorResult; exports.encodeEventTopics = _chunkXMKUHSC7js.encodeEventTopics; exports.encodeFunctionData = _chunkXMKUHSC7js.encodeFunctionData; exports.encodeFunctionResult = _chunkXMKUHSC7js.encodeFunctionResult; exports.estimateContractGas = _chunkXMKUHSC7js.estimateContractGas; exports.formatAbiItem = _chunkXMKUHSC7js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkXMKUHSC7js.formatAbiItemWithArgs; exports.getAbiItem = _chunkXMKUHSC7js.getAbiItem; exports.getBytecode = _chunkXMKUHSC7js.getBytecode; exports.getStorageAt = _chunkXMKUHSC7js.getStorageAt; exports.multicall = _chunkXMKUHSC7js.multicall; exports.readContract = _chunkXMKUHSC7js.readContract; exports.simulateContract = _chunkXMKUHSC7js.simulateContract; exports.watchContractEvent = _chunkXMKUHSC7js.watchContractEvent; exports.writeContract = _chunkXMKUHSC7js.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
package/dist/ens.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
6
|
+
var _chunk5KPMXLJZjs = require('./chunk-5KPMXLJZ.js');
|
7
|
+
require('./chunk-XMKUHSC7.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 = _chunk5KPMXLJZjs.getEnsAddress; exports.getEnsName = _chunk5KPMXLJZjs.getEnsName; exports.labelhash = _chunk5KPMXLJZjs.labelhash; exports.namehash = _chunk5KPMXLJZjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
3
|
|
4
|
-
var
|
4
|
+
var _chunkXMKUHSC7js = require('./chunk-XMKUHSC7.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkXMKUHSC7js.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkXMKUHSC7js.toBytes.call(void 0, message));
|
11
11
|
},
|
12
12
|
async signTransaction(txn) {
|
13
13
|
return await wallet.signTransaction({
|
@@ -17,7 +17,7 @@ var getAccount2 = (wallet) => _chunkD4NT4PPVjs.getAccount.call(void 0, {
|
|
17
17
|
},
|
18
18
|
async signTypedData({ domain, types: types_, message }) {
|
19
19
|
const { EIP712Domain: _, ...types } = types_;
|
20
|
-
const signTypedData = wallet.signTypedData
|
20
|
+
const signTypedData = wallet.signTypedData ? wallet.signTypedData.bind(wallet) : wallet._signTypedData.bind(wallet);
|
21
21
|
return await signTypedData(
|
22
22
|
_nullishCoalesce(domain, () => ( {})),
|
23
23
|
types,
|
package/dist/ethers.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/adapters/ethers.ts"],"names":["getAccount"],"mappings":";;;;;;AAyCO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,UAAM,gBAAgB,OAAO,
|
1
|
+
{"version":3,"sources":["../src/adapters/ethers.ts"],"names":["getAccount"],"mappings":";;;;;;AAyCO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,UAAM,gBAAgB,OAAO,gBACzB,OAAO,cAAc,KAAK,MAAM,IAChC,OAAO,eAAe,KAAK,MAAM;AACrC,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC","sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n} & (\n | {\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n _signTypedData?: never\n }\n | {\n signTypedData?: never\n _signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n }\n)\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n const signTypedData = wallet.signTypedData\n ? wallet.signTypedData.bind(wallet)\n : wallet._signTypedData.bind(wallet)\n return (await signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"]}
|
package/dist/ethers.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
getAccount,
|
3
3
|
toBytes
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-IHWYS4OQ.mjs";
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
7
|
var getAccount2 = (wallet) => getAccount({
|
@@ -17,7 +17,7 @@ var getAccount2 = (wallet) => getAccount({
|
|
17
17
|
},
|
18
18
|
async signTypedData({ domain, types: types_, message }) {
|
19
19
|
const { EIP712Domain: _, ...types } = types_;
|
20
|
-
const signTypedData = wallet.signTypedData
|
20
|
+
const signTypedData = wallet.signTypedData ? wallet.signTypedData.bind(wallet) : wallet._signTypedData.bind(wallet);
|
21
21
|
return await signTypedData(
|
22
22
|
domain ?? {},
|
23
23
|
types,
|
package/dist/ethers.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n} & (\n | {\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n _signTypedData?: never\n }\n | {\n signTypedData?: never\n _signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n }\n)\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n const signTypedData = wallet.signTypedData
|
1
|
+
{"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n} & (\n | {\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n _signTypedData?: never\n }\n | {\n signTypedData?: never\n _signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n }\n)\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n const signTypedData = wallet.signTypedData\n ? wallet.signTypedData.bind(wallet)\n : wallet._signTypedData.bind(wallet)\n return (await signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"],"mappings":";;;;;;AAyCO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,UAAM,gBAAgB,OAAO,gBACzB,OAAO,cAAc,KAAK,MAAM,IAChC,OAAO,eAAe,KAAK,MAAM;AACrC,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":["getAccount"]}
|
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-a28317a9.js';
|
2
2
|
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-a28317a9.js';
|
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 concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as
|
3
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-c2fb9fa2.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 concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, ak as size, al as slice, am as sliceBytes, an as sliceHex, ao as stringToBytes, ap as stringToHex, aq as stringify, ar as toBytes, as as toHex, at as toRlp, au as trim, av as verifyMessage } from './parseGwei-c2fb9fa2.js';
|
5
5
|
import WebSocket from 'isomorphic-ws';
|
6
6
|
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-1b53ef88.js';
|
7
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, E as ExtractArgsFromAbi, h as ExtractConstructorArgsFromAbi, i as ExtractErrorArgsFromAbi, j as ExtractErrorNameFromAbi, k as ExtractEventArgsFromAbi, l as ExtractEventArgsFromTopics, m as ExtractEventNameFromAbi, W as ExtractFormatter, n as ExtractFunctionNameFromAbi, o as ExtractNameFromAbi, p as ExtractResultFromAbi, F as FeeHistory, q as FeeValues, r as FeeValuesEIP1559, s as FeeValuesLegacy, X as Formatted, Y as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, t as RpcBlockIdentifier, u as RpcBlockNumber, v as RpcFeeHistory, w as RpcFeeValues, x as RpcLog, y as RpcTransaction, z as RpcTransactionReceipt, D as RpcTransactionRequest, G as RpcUncle, O as Transaction, P as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, Z as TransactionFormatter, U as TransactionLegacy, T as TransactionReceipt, I as TransactionRequest, J as TransactionRequestBase, K as TransactionRequestEIP1559, M as TransactionRequestEIP2930, N as TransactionRequestLegacy, V as Uncle, _ as defineTransaction, $ as formatTransaction, a0 as transactionType } from './chain-1b53ef88.js';
|
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunk5KPMXLJZjs = require('./chunk-5KPMXLJZ.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -243,7 +243,9 @@ var _chunk7FL2Z6KZjs = require('./chunk-7FL2Z6KZ.js');
|
|
243
243
|
|
244
244
|
|
245
245
|
|
246
|
-
|
246
|
+
|
247
|
+
|
248
|
+
var _chunkXMKUHSC7js = require('./chunk-XMKUHSC7.js');
|
247
249
|
|
248
250
|
// src/clients/transports/createTransport.ts
|
249
251
|
function createTransport({
|
@@ -257,7 +259,7 @@ function createTransport({
|
|
257
259
|
}, value) {
|
258
260
|
return {
|
259
261
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
260
|
-
request:
|
262
|
+
request: _chunkXMKUHSC7js.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
261
263
|
value
|
262
264
|
};
|
263
265
|
}
|
@@ -291,7 +293,7 @@ function fallback(transports, config = {}) {
|
|
291
293
|
params
|
292
294
|
});
|
293
295
|
} catch (err) {
|
294
|
-
if (
|
296
|
+
if (_chunkXMKUHSC7js.isDeterministicError.call(void 0, err))
|
295
297
|
throw err;
|
296
298
|
if (i === transports.length - 1)
|
297
299
|
throw err;
|
@@ -325,13 +327,13 @@ function http(url, config = {}) {
|
|
325
327
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
326
328
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
327
329
|
if (!url_)
|
328
|
-
throw new (0,
|
330
|
+
throw new (0, _chunkXMKUHSC7js.UrlRequiredError)();
|
329
331
|
return createTransport(
|
330
332
|
{
|
331
333
|
key,
|
332
334
|
name,
|
333
335
|
async request({ method, params }) {
|
334
|
-
const { result } = await
|
336
|
+
const { result } = await _chunkXMKUHSC7js.rpc.http(url_, {
|
335
337
|
body: {
|
336
338
|
method,
|
337
339
|
params
|
@@ -365,14 +367,14 @@ function webSocket(url, config = {}) {
|
|
365
367
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
366
368
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
367
369
|
if (!url_)
|
368
|
-
throw new (0,
|
370
|
+
throw new (0, _chunkXMKUHSC7js.UrlRequiredError)();
|
369
371
|
return createTransport(
|
370
372
|
{
|
371
373
|
key,
|
372
374
|
name,
|
373
375
|
async request({ method, params }) {
|
374
|
-
const socket = await
|
375
|
-
const { result } = await
|
376
|
+
const socket = await _chunkXMKUHSC7js.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkXMKUHSC7js.rpc.webSocketAsync(socket, {
|
376
378
|
body: { method, params },
|
377
379
|
timeout
|
378
380
|
});
|
@@ -385,12 +387,12 @@ function webSocket(url, config = {}) {
|
|
385
387
|
},
|
386
388
|
{
|
387
389
|
getSocket() {
|
388
|
-
return
|
390
|
+
return _chunkXMKUHSC7js.getSocket.call(void 0, url_);
|
389
391
|
},
|
390
392
|
async subscribe({ params, onData, onError }) {
|
391
|
-
const socket = await
|
393
|
+
const socket = await _chunkXMKUHSC7js.getSocket.call(void 0, url_);
|
392
394
|
const { result: subscriptionId } = await new Promise(
|
393
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkXMKUHSC7js.rpc.webSocket(socket, {
|
394
396
|
body: {
|
395
397
|
method: "eth_subscribe",
|
396
398
|
params
|
@@ -412,7 +414,7 @@ function webSocket(url, config = {}) {
|
|
412
414
|
subscriptionId,
|
413
415
|
async unsubscribe() {
|
414
416
|
return new Promise(
|
415
|
-
(resolve, reject) =>
|
417
|
+
(resolve, reject) => _chunkXMKUHSC7js.rpc.webSocket(socket, {
|
416
418
|
body: {
|
417
419
|
method: "eth_unsubscribe",
|
418
420
|
params: [subscriptionId]
|
@@ -468,90 +470,90 @@ function createClient({
|
|
468
470
|
|
469
471
|
// src/clients/decorators/public.ts
|
470
472
|
var publicActions = (client) => ({
|
471
|
-
call: (args) =>
|
472
|
-
createBlockFilter: () =>
|
473
|
-
createContractEventFilter: (args) =>
|
474
|
-
createEventFilter: (args) =>
|
475
|
-
createPendingTransactionFilter: () =>
|
476
|
-
estimateContractGas: (args) =>
|
477
|
-
estimateGas: (args) =>
|
478
|
-
getBalance: (args) =>
|
479
|
-
getBlock: (args) =>
|
480
|
-
getBlockNumber: (args) =>
|
481
|
-
getBlockTransactionCount: (args) =>
|
482
|
-
getBytecode: (args) =>
|
483
|
-
getChainId: () =>
|
484
|
-
getEnsAddress: (args) =>
|
485
|
-
getEnsName: (args) =>
|
486
|
-
getFeeHistory: (args) =>
|
487
|
-
getFilterChanges: (args) =>
|
488
|
-
getFilterLogs: (args) =>
|
489
|
-
getGasPrice: () =>
|
490
|
-
getLogs: (args) =>
|
491
|
-
getStorageAt: (args) =>
|
492
|
-
getTransaction: (args) =>
|
493
|
-
getTransactionConfirmations: (args) =>
|
494
|
-
getTransactionCount: (args) =>
|
495
|
-
getTransactionReceipt: (args) =>
|
496
|
-
multicall: (args) =>
|
497
|
-
readContract: (args) =>
|
498
|
-
simulateContract: (args) =>
|
499
|
-
uninstallFilter: (args) =>
|
500
|
-
waitForTransactionReceipt: (args) =>
|
501
|
-
watchBlocks: (args) =>
|
502
|
-
watchBlockNumber: (args) =>
|
503
|
-
watchContractEvent: (args) =>
|
504
|
-
watchEvent: (args) =>
|
505
|
-
watchPendingTransactions: (args) =>
|
473
|
+
call: (args) => _chunkXMKUHSC7js.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkXMKUHSC7js.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkXMKUHSC7js.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkXMKUHSC7js.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkXMKUHSC7js.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkXMKUHSC7js.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkXMKUHSC7js.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkXMKUHSC7js.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkXMKUHSC7js.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkXMKUHSC7js.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkXMKUHSC7js.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkXMKUHSC7js.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkXMKUHSC7js.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunk5KPMXLJZjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunk5KPMXLJZjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkXMKUHSC7js.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkXMKUHSC7js.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkXMKUHSC7js.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkXMKUHSC7js.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkXMKUHSC7js.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkXMKUHSC7js.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkXMKUHSC7js.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkXMKUHSC7js.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkXMKUHSC7js.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkXMKUHSC7js.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkXMKUHSC7js.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkXMKUHSC7js.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkXMKUHSC7js.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkXMKUHSC7js.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkXMKUHSC7js.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkXMKUHSC7js.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkXMKUHSC7js.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkXMKUHSC7js.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkXMKUHSC7js.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkXMKUHSC7js.watchPendingTransactions.call(void 0, client, args)
|
506
508
|
});
|
507
509
|
|
508
510
|
// src/clients/decorators/test.ts
|
509
511
|
var testActions = (client) => ({
|
510
|
-
dropTransaction: (args) =>
|
511
|
-
getAutomine: () =>
|
512
|
-
getTxpoolContent: () =>
|
513
|
-
getTxpoolStatus: () =>
|
514
|
-
impersonateAccount: (args) =>
|
515
|
-
increaseTime: (args) =>
|
516
|
-
inspectTxpool: () =>
|
517
|
-
mine: (args) =>
|
518
|
-
removeBlockTimestampInterval: () =>
|
519
|
-
reset: (args) =>
|
520
|
-
revert: (args) =>
|
521
|
-
sendUnsignedTransaction: (args) =>
|
522
|
-
setAutomine: (args) =>
|
523
|
-
setBalance: (args) =>
|
524
|
-
setBlockGasLimit: (args) =>
|
525
|
-
setBlockTimestampInterval: (args) =>
|
526
|
-
setCode: (args) =>
|
527
|
-
setCoinbase: (args) =>
|
528
|
-
setIntervalMining: (args) =>
|
529
|
-
setLoggingEnabled: (args) =>
|
530
|
-
setMinGasPrice: (args) =>
|
531
|
-
setNextBlockBaseFeePerGas: (args) =>
|
532
|
-
setNextBlockTimestamp: (args) =>
|
533
|
-
setNonce: (args) =>
|
534
|
-
setRpcUrl: (args) =>
|
535
|
-
setStorageAt: (args) =>
|
536
|
-
snapshot: () =>
|
537
|
-
stopImpersonatingAccount: (args) =>
|
512
|
+
dropTransaction: (args) => _chunkXMKUHSC7js.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkXMKUHSC7js.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkXMKUHSC7js.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkXMKUHSC7js.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkXMKUHSC7js.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkXMKUHSC7js.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkXMKUHSC7js.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkXMKUHSC7js.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkXMKUHSC7js.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkXMKUHSC7js.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkXMKUHSC7js.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkXMKUHSC7js.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkXMKUHSC7js.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkXMKUHSC7js.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkXMKUHSC7js.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkXMKUHSC7js.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkXMKUHSC7js.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkXMKUHSC7js.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkXMKUHSC7js.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkXMKUHSC7js.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkXMKUHSC7js.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkXMKUHSC7js.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkXMKUHSC7js.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkXMKUHSC7js.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkXMKUHSC7js.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkXMKUHSC7js.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkXMKUHSC7js.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkXMKUHSC7js.stopImpersonatingAccount.call(void 0, client, args)
|
538
540
|
});
|
539
541
|
|
540
542
|
// src/clients/decorators/wallet.ts
|
541
543
|
var walletActions = (client) => ({
|
542
|
-
addChain: (args) =>
|
543
|
-
deployContract: (args) =>
|
544
|
-
getAddresses: () =>
|
545
|
-
getChainId: () =>
|
546
|
-
getPermissions: () =>
|
547
|
-
requestAddresses: () =>
|
548
|
-
requestPermissions: (args) =>
|
549
|
-
sendTransaction: (args) =>
|
550
|
-
signMessage: (args) =>
|
551
|
-
signTypedData: (args) =>
|
552
|
-
switchChain: (args) =>
|
553
|
-
watchAsset: (args) =>
|
554
|
-
writeContract: (args) =>
|
544
|
+
addChain: (args) => _chunkXMKUHSC7js.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkXMKUHSC7js.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkXMKUHSC7js.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkXMKUHSC7js.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkXMKUHSC7js.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkXMKUHSC7js.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkXMKUHSC7js.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkXMKUHSC7js.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkXMKUHSC7js.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkXMKUHSC7js.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkXMKUHSC7js.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkXMKUHSC7js.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkXMKUHSC7js.writeContract.call(void 0, client, args)
|
555
557
|
});
|
556
558
|
|
557
559
|
// src/clients/createPublicClient.ts
|
@@ -794,5 +796,7 @@ function createWalletClient({
|
|
794
796
|
|
795
797
|
|
796
798
|
|
797
|
-
exports.AbiConstructorNotFoundError = _chunkD4NT4PPVjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkD4NT4PPVjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkD4NT4PPVjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkD4NT4PPVjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkD4NT4PPVjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkD4NT4PPVjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkD4NT4PPVjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkD4NT4PPVjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkD4NT4PPVjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkD4NT4PPVjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkD4NT4PPVjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkD4NT4PPVjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkD4NT4PPVjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkD4NT4PPVjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkD4NT4PPVjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkD4NT4PPVjs.BaseError; exports.BlockNotFoundError = _chunkD4NT4PPVjs.BlockNotFoundError; exports.CallExecutionError = _chunkD4NT4PPVjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkD4NT4PPVjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkD4NT4PPVjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkD4NT4PPVjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkD4NT4PPVjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkD4NT4PPVjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkD4NT4PPVjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkD4NT4PPVjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkD4NT4PPVjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkD4NT4PPVjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkD4NT4PPVjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkD4NT4PPVjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkD4NT4PPVjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkD4NT4PPVjs.HttpRequestError; exports.InsufficientFundsError = _chunkD4NT4PPVjs.InsufficientFundsError; exports.InternalRpcError = _chunkD4NT4PPVjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkD4NT4PPVjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkD4NT4PPVjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkD4NT4PPVjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkD4NT4PPVjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkD4NT4PPVjs.InvalidAddressError; exports.InvalidArrayError = _chunkD4NT4PPVjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkD4NT4PPVjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkD4NT4PPVjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkD4NT4PPVjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkD4NT4PPVjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkD4NT4PPVjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkD4NT4PPVjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkD4NT4PPVjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkD4NT4PPVjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkD4NT4PPVjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkD4NT4PPVjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkD4NT4PPVjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkD4NT4PPVjs.NonceMaxValueError; exports.NonceTooHighError = _chunkD4NT4PPVjs.NonceTooHighError; exports.NonceTooLowError = _chunkD4NT4PPVjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkD4NT4PPVjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkD4NT4PPVjs.ParseRpcError; exports.RawContractError = _chunkD4NT4PPVjs.RawContractError; exports.RequestError = _chunkD4NT4PPVjs.RequestError; exports.ResourceNotFoundRpcError = _chunkD4NT4PPVjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkD4NT4PPVjs.ResourceUnavailableRpcError; exports.RpcError = _chunkD4NT4PPVjs.RpcError; exports.RpcRequestError = _chunkD4NT4PPVjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkD4NT4PPVjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkD4NT4PPVjs.SwitchChainError; exports.TimeoutError = _chunkD4NT4PPVjs.TimeoutError; exports.TipAboveFeeCapError = _chunkD4NT4PPVjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkD4NT4PPVjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkD4NT4PPVjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkD4NT4PPVjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkD4NT4PPVjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkD4NT4PPVjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkD4NT4PPVjs.UnknownNodeError; exports.UnknownRpcError = _chunkD4NT4PPVjs.UnknownRpcError; exports.UrlRequiredError = _chunkD4NT4PPVjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkD4NT4PPVjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkD4NT4PPVjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkD4NT4PPVjs.WebSocketRequestError; exports.boolToBytes = _chunkD4NT4PPVjs.boolToBytes; exports.boolToHex = _chunkD4NT4PPVjs.boolToHex; exports.bytesToBigint = _chunkD4NT4PPVjs.bytesToBigint; exports.bytesToBool = _chunkD4NT4PPVjs.bytesToBool; exports.bytesToHex = _chunkD4NT4PPVjs.bytesToHex; exports.bytesToNumber = _chunkD4NT4PPVjs.bytesToNumber; exports.bytesToString = _chunkD4NT4PPVjs.bytesToString; exports.concat = _chunkD4NT4PPVjs.concat; exports.concatBytes = _chunkD4NT4PPVjs.concatBytes; exports.concatHex = _chunkD4NT4PPVjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkD4NT4PPVjs.decodeAbiParameters; exports.decodeErrorResult = _chunkD4NT4PPVjs.decodeErrorResult; exports.decodeEventLog = _chunkD4NT4PPVjs.decodeEventLog; exports.decodeFunctionData = _chunkD4NT4PPVjs.decodeFunctionData; exports.decodeFunctionResult = _chunkD4NT4PPVjs.decodeFunctionResult; exports.defineBlock = _chunkD4NT4PPVjs.defineBlock; exports.defineChain = _chunkD4NT4PPVjs.defineChain; exports.defineTransaction = _chunkD4NT4PPVjs.defineTransaction; exports.defineTransactionReceipt = _chunkD4NT4PPVjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkD4NT4PPVjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkD4NT4PPVjs.encodeAbiParameters; exports.encodeDeployData = _chunkD4NT4PPVjs.encodeDeployData; exports.encodeErrorResult = _chunkD4NT4PPVjs.encodeErrorResult; exports.encodeEventTopics = _chunkD4NT4PPVjs.encodeEventTopics; exports.encodeFunctionData = _chunkD4NT4PPVjs.encodeFunctionData; exports.encodeFunctionResult = _chunkD4NT4PPVjs.encodeFunctionResult; exports.encodePacked = _chunkD4NT4PPVjs.encodePacked; exports.etherUnits = _chunkD4NT4PPVjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkD4NT4PPVjs.formatBlock; exports.formatEther = _chunkD4NT4PPVjs.formatEther; exports.formatGwei = _chunkD4NT4PPVjs.formatGwei; exports.formatTransaction = _chunkD4NT4PPVjs.formatTransaction; exports.formatTransactionRequest = _chunkD4NT4PPVjs.formatTransactionRequest; exports.formatUnits = _chunkD4NT4PPVjs.formatUnits; exports.fromBytes = _chunkD4NT4PPVjs.fromBytes; exports.fromHex = _chunkD4NT4PPVjs.fromHex; exports.fromRlp = _chunkD4NT4PPVjs.fromRlp; exports.getAbiItem = _chunkD4NT4PPVjs.getAbiItem; exports.getAccount = _chunkD4NT4PPVjs.getAccount; exports.getAddress = _chunkD4NT4PPVjs.getAddress; exports.getContractAddress = _chunkD4NT4PPVjs.getContractAddress; exports.getContractError = _chunkD4NT4PPVjs.getContractError; exports.getCreate2Address = _chunkD4NT4PPVjs.getCreate2Address; exports.getCreateAddress = _chunkD4NT4PPVjs.getCreateAddress; exports.getEventSelector = _chunkD4NT4PPVjs.getEventSelector; exports.getFunctionSelector = _chunkD4NT4PPVjs.getFunctionSelector; exports.gweiUnits = _chunkD4NT4PPVjs.gweiUnits; exports.hashMessage = _chunkD4NT4PPVjs.hashMessage; exports.hexToBigInt = _chunkD4NT4PPVjs.hexToBigInt; exports.hexToBool = _chunkD4NT4PPVjs.hexToBool; exports.hexToBytes = _chunkD4NT4PPVjs.hexToBytes; exports.hexToNumber = _chunkD4NT4PPVjs.hexToNumber; exports.hexToString = _chunkD4NT4PPVjs.hexToString; exports.http = http; exports.isAddress = _chunkD4NT4PPVjs.isAddress; exports.isAddressEqual = _chunkD4NT4PPVjs.isAddressEqual; exports.isBytes = _chunkD4NT4PPVjs.isBytes; exports.isHex = _chunkD4NT4PPVjs.isHex; exports.keccak256 = _chunkD4NT4PPVjs.keccak256; exports.labelhash = _chunk7FL2Z6KZjs.labelhash; exports.multicall3Abi = _chunkD4NT4PPVjs.multicall3Abi; exports.namehash = _chunk7FL2Z6KZjs.namehash; exports.numberToBytes = _chunkD4NT4PPVjs.numberToBytes; exports.numberToHex = _chunkD4NT4PPVjs.numberToHex; exports.pad = _chunkD4NT4PPVjs.pad; exports.padBytes = _chunkD4NT4PPVjs.padBytes; exports.padHex = _chunkD4NT4PPVjs.padHex; exports.parseAbi = _chunkD4NT4PPVjs.parseAbi; exports.parseAbiItem = _chunkD4NT4PPVjs.parseAbiItem; exports.parseAbiParameter = _chunkD4NT4PPVjs.parseAbiParameter; exports.parseAbiParameters = _chunkD4NT4PPVjs.parseAbiParameters; exports.parseEther = _chunkD4NT4PPVjs.parseEther; exports.parseGwei = _chunkD4NT4PPVjs.parseGwei; exports.parseUnits = _chunkD4NT4PPVjs.parseUnits; exports.recoverAddress = _chunkD4NT4PPVjs.recoverAddress; exports.size = _chunkD4NT4PPVjs.size; exports.slice = _chunkD4NT4PPVjs.slice; exports.sliceBytes = _chunkD4NT4PPVjs.sliceBytes; exports.sliceHex = _chunkD4NT4PPVjs.sliceHex; exports.stringToBytes = _chunkD4NT4PPVjs.stringToBytes; exports.stringToHex = _chunkD4NT4PPVjs.stringToHex; exports.stringify = _chunkD4NT4PPVjs.stringify; exports.toBytes = _chunkD4NT4PPVjs.toBytes; exports.toHex = _chunkD4NT4PPVjs.toHex; exports.toRlp = _chunkD4NT4PPVjs.toRlp; exports.transactionType = _chunkD4NT4PPVjs.transactionType; exports.trim = _chunkD4NT4PPVjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkD4NT4PPVjs.weiUnits;
|
799
|
+
|
800
|
+
|
801
|
+
exports.AbiConstructorNotFoundError = _chunkXMKUHSC7js.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkXMKUHSC7js.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkXMKUHSC7js.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkXMKUHSC7js.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkXMKUHSC7js.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkXMKUHSC7js.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkXMKUHSC7js.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkXMKUHSC7js.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkXMKUHSC7js.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkXMKUHSC7js.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkXMKUHSC7js.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkXMKUHSC7js.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkXMKUHSC7js.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkXMKUHSC7js.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkXMKUHSC7js.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkXMKUHSC7js.BaseError; exports.BlockNotFoundError = _chunkXMKUHSC7js.BlockNotFoundError; exports.CallExecutionError = _chunkXMKUHSC7js.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkXMKUHSC7js.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkXMKUHSC7js.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkXMKUHSC7js.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkXMKUHSC7js.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkXMKUHSC7js.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkXMKUHSC7js.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkXMKUHSC7js.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkXMKUHSC7js.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkXMKUHSC7js.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkXMKUHSC7js.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkXMKUHSC7js.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkXMKUHSC7js.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkXMKUHSC7js.HttpRequestError; exports.InsufficientFundsError = _chunkXMKUHSC7js.InsufficientFundsError; exports.InternalRpcError = _chunkXMKUHSC7js.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkXMKUHSC7js.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkXMKUHSC7js.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkXMKUHSC7js.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkXMKUHSC7js.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkXMKUHSC7js.InvalidAddressError; exports.InvalidArrayError = _chunkXMKUHSC7js.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkXMKUHSC7js.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkXMKUHSC7js.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkXMKUHSC7js.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkXMKUHSC7js.InvalidHexValueError; exports.InvalidInputRpcError = _chunkXMKUHSC7js.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkXMKUHSC7js.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkXMKUHSC7js.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkXMKUHSC7js.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkXMKUHSC7js.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkXMKUHSC7js.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkXMKUHSC7js.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkXMKUHSC7js.NonceMaxValueError; exports.NonceTooHighError = _chunkXMKUHSC7js.NonceTooHighError; exports.NonceTooLowError = _chunkXMKUHSC7js.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkXMKUHSC7js.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkXMKUHSC7js.ParseRpcError; exports.RawContractError = _chunkXMKUHSC7js.RawContractError; exports.RequestError = _chunkXMKUHSC7js.RequestError; exports.ResourceNotFoundRpcError = _chunkXMKUHSC7js.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkXMKUHSC7js.ResourceUnavailableRpcError; exports.RpcError = _chunkXMKUHSC7js.RpcError; exports.RpcRequestError = _chunkXMKUHSC7js.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkXMKUHSC7js.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkXMKUHSC7js.SwitchChainError; exports.TimeoutError = _chunkXMKUHSC7js.TimeoutError; exports.TipAboveFeeCapError = _chunkXMKUHSC7js.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkXMKUHSC7js.TransactionExecutionError; exports.TransactionNotFoundError = _chunkXMKUHSC7js.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkXMKUHSC7js.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkXMKUHSC7js.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkXMKUHSC7js.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkXMKUHSC7js.UnknownNodeError; exports.UnknownRpcError = _chunkXMKUHSC7js.UnknownRpcError; exports.UrlRequiredError = _chunkXMKUHSC7js.UrlRequiredError; exports.UserRejectedRequestError = _chunkXMKUHSC7js.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkXMKUHSC7js.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkXMKUHSC7js.WebSocketRequestError; exports.boolToBytes = _chunkXMKUHSC7js.boolToBytes; exports.boolToHex = _chunkXMKUHSC7js.boolToHex; exports.bytesToBigint = _chunkXMKUHSC7js.bytesToBigint; exports.bytesToBool = _chunkXMKUHSC7js.bytesToBool; exports.bytesToHex = _chunkXMKUHSC7js.bytesToHex; exports.bytesToNumber = _chunkXMKUHSC7js.bytesToNumber; exports.bytesToString = _chunkXMKUHSC7js.bytesToString; exports.concat = _chunkXMKUHSC7js.concat; exports.concatBytes = _chunkXMKUHSC7js.concatBytes; exports.concatHex = _chunkXMKUHSC7js.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkXMKUHSC7js.decodeAbiParameters; exports.decodeErrorResult = _chunkXMKUHSC7js.decodeErrorResult; exports.decodeEventLog = _chunkXMKUHSC7js.decodeEventLog; exports.decodeFunctionData = _chunkXMKUHSC7js.decodeFunctionData; exports.decodeFunctionResult = _chunkXMKUHSC7js.decodeFunctionResult; exports.defineBlock = _chunkXMKUHSC7js.defineBlock; exports.defineChain = _chunkXMKUHSC7js.defineChain; exports.defineTransaction = _chunkXMKUHSC7js.defineTransaction; exports.defineTransactionReceipt = _chunkXMKUHSC7js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkXMKUHSC7js.defineTransactionRequest; exports.encodeAbiParameters = _chunkXMKUHSC7js.encodeAbiParameters; exports.encodeDeployData = _chunkXMKUHSC7js.encodeDeployData; exports.encodeErrorResult = _chunkXMKUHSC7js.encodeErrorResult; exports.encodeEventTopics = _chunkXMKUHSC7js.encodeEventTopics; exports.encodeFunctionData = _chunkXMKUHSC7js.encodeFunctionData; exports.encodeFunctionResult = _chunkXMKUHSC7js.encodeFunctionResult; exports.encodePacked = _chunkXMKUHSC7js.encodePacked; exports.etherUnits = _chunkXMKUHSC7js.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkXMKUHSC7js.formatBlock; exports.formatEther = _chunkXMKUHSC7js.formatEther; exports.formatGwei = _chunkXMKUHSC7js.formatGwei; exports.formatTransaction = _chunkXMKUHSC7js.formatTransaction; exports.formatTransactionRequest = _chunkXMKUHSC7js.formatTransactionRequest; exports.formatUnits = _chunkXMKUHSC7js.formatUnits; exports.fromBytes = _chunkXMKUHSC7js.fromBytes; exports.fromHex = _chunkXMKUHSC7js.fromHex; exports.fromRlp = _chunkXMKUHSC7js.fromRlp; exports.getAbiItem = _chunkXMKUHSC7js.getAbiItem; exports.getAccount = _chunkXMKUHSC7js.getAccount; exports.getAddress = _chunkXMKUHSC7js.getAddress; exports.getContractAddress = _chunkXMKUHSC7js.getContractAddress; exports.getContractError = _chunkXMKUHSC7js.getContractError; exports.getCreate2Address = _chunkXMKUHSC7js.getCreate2Address; exports.getCreateAddress = _chunkXMKUHSC7js.getCreateAddress; exports.getEventSelector = _chunkXMKUHSC7js.getEventSelector; exports.getFunctionSelector = _chunkXMKUHSC7js.getFunctionSelector; exports.gweiUnits = _chunkXMKUHSC7js.gweiUnits; exports.hashMessage = _chunkXMKUHSC7js.hashMessage; exports.hexToBigInt = _chunkXMKUHSC7js.hexToBigInt; exports.hexToBool = _chunkXMKUHSC7js.hexToBool; exports.hexToBytes = _chunkXMKUHSC7js.hexToBytes; exports.hexToNumber = _chunkXMKUHSC7js.hexToNumber; exports.hexToString = _chunkXMKUHSC7js.hexToString; exports.http = http; exports.isAddress = _chunkXMKUHSC7js.isAddress; exports.isAddressEqual = _chunkXMKUHSC7js.isAddressEqual; exports.isBytes = _chunkXMKUHSC7js.isBytes; exports.isHex = _chunkXMKUHSC7js.isHex; exports.keccak256 = _chunkXMKUHSC7js.keccak256; exports.labelhash = _chunk5KPMXLJZjs.labelhash; exports.multicall3Abi = _chunkXMKUHSC7js.multicall3Abi; exports.namehash = _chunk5KPMXLJZjs.namehash; exports.numberToBytes = _chunkXMKUHSC7js.numberToBytes; exports.numberToHex = _chunkXMKUHSC7js.numberToHex; exports.pad = _chunkXMKUHSC7js.pad; exports.padBytes = _chunkXMKUHSC7js.padBytes; exports.padHex = _chunkXMKUHSC7js.padHex; exports.parseAbi = _chunkXMKUHSC7js.parseAbi; exports.parseAbiItem = _chunkXMKUHSC7js.parseAbiItem; exports.parseAbiParameter = _chunkXMKUHSC7js.parseAbiParameter; exports.parseAbiParameters = _chunkXMKUHSC7js.parseAbiParameters; exports.parseEther = _chunkXMKUHSC7js.parseEther; exports.parseGwei = _chunkXMKUHSC7js.parseGwei; exports.parseUnits = _chunkXMKUHSC7js.parseUnits; exports.recoverAddress = _chunkXMKUHSC7js.recoverAddress; exports.recoverMessageAddress = _chunkXMKUHSC7js.recoverMessageAddress; exports.size = _chunkXMKUHSC7js.size; exports.slice = _chunkXMKUHSC7js.slice; exports.sliceBytes = _chunkXMKUHSC7js.sliceBytes; exports.sliceHex = _chunkXMKUHSC7js.sliceHex; exports.stringToBytes = _chunkXMKUHSC7js.stringToBytes; exports.stringToHex = _chunkXMKUHSC7js.stringToHex; exports.stringify = _chunkXMKUHSC7js.stringify; exports.toBytes = _chunkXMKUHSC7js.toBytes; exports.toHex = _chunkXMKUHSC7js.toHex; exports.toRlp = _chunkXMKUHSC7js.toRlp; exports.transactionType = _chunkXMKUHSC7js.transactionType; exports.trim = _chunkXMKUHSC7js.trim; exports.verifyMessage = _chunkXMKUHSC7js.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkXMKUHSC7js.weiUnits;
|
798
802
|
//# sourceMappingURL=index.js.map
|