export { HDKey } from '@scure/bip32'; | ||
import { P as PrivateKeyAccount, a as AccountSource, J as JsonRpcAccount, C as CustomSource, L as LocalAccount, T as TypedDataDefinition } from '../typedData-ade018d6.js'; | ||
export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount, P as PrivateKeyAccount } from '../typedData-ade018d6.js'; | ||
import { H as Hex } from '../chain-75b0942e.js'; | ||
import { P as PrivateKeyAccount, a as AccountSource, J as JsonRpcAccount, C as CustomSource, L as LocalAccount, T as TypedDataDefinition } from '../typedData-7cfe4bb6.js'; | ||
export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount, P as PrivateKeyAccount } from '../typedData-7cfe4bb6.js'; | ||
import { Address, TypedData } from 'abitype'; | ||
export { p as parseAccount } from '../parseAccount-2d7ea01d.js'; | ||
export { p as parseAccount } from '../parseAccount-b6e8bc40.js'; | ||
export { wordlist as czech } from '@scure/bip39/wordlists/czech'; | ||
export { wordlist as english } from '@scure/bip39/wordlists/english'; | ||
export { wordlist as french } from '@scure/bip39/wordlists/french'; | ||
export { wordlist as italian } from '@scure/bip39/wordlists/italian'; | ||
export { wordlist as japanese } from '@scure/bip39/wordlists/japanese'; | ||
export { wordlist as korean } from '@scure/bip39/wordlists/korean'; | ||
export { wordlist as simplifiedChinese } from '@scure/bip39/wordlists/simplified-chinese'; | ||
export { wordlist as spanish } from '@scure/bip39/wordlists/spanish'; | ||
export { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese'; | ||
import '@wagmi/chains'; | ||
/** | ||
* @description Generates a random mnemonic phrase with a given wordlist. | ||
* | ||
* @param wordlist The wordlist to use for generating the mnemonic phrase. | ||
* | ||
* @returns A randomly generated mnemonic phrase. | ||
*/ | ||
declare function generateMnemonic(wordlist: string[]): string; | ||
/** | ||
* @description Generates a random private key. | ||
* | ||
* @returns A randomly generated private key. | ||
*/ | ||
declare function generatePrivateKey(): Hex; | ||
/** | ||
* @description Creates an Account from a private key. | ||
* | ||
* @returns A Private Key Account. | ||
*/ | ||
declare function privateKeyToAccount(privateKey: Hex): PrivateKeyAccount; | ||
type GetAccountReturnType<TAccountSource extends AccountSource> = (TAccountSource extends Address ? JsonRpcAccount : never) | (TAccountSource extends CustomSource ? LocalAccount : never); | ||
/** | ||
* @description Creates an Account from a custom signing implementation. | ||
* | ||
* @returns A Local Account. | ||
*/ | ||
declare function toAccount<TAccountSource extends AccountSource>(source: TAccountSource): GetAccountReturnType<TAccountSource>; | ||
/** | ||
* @description Converts an ECDSA public key to an address. | ||
* | ||
* @param publicKey The public key to convert. | ||
* | ||
* @returns The address. | ||
*/ | ||
declare function publicKeyToAddress(publicKey: Hex): Address; | ||
type SignMessageParameters = { | ||
/** The message to sign. */ | ||
message: string; | ||
/** The private key to sign with. */ | ||
privateKey: Hex; | ||
}; | ||
type SignMessageReturnType = Hex; | ||
/** | ||
* @description Calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): | ||
* `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`. | ||
* | ||
* @returns The signature. | ||
*/ | ||
declare function signMessage({ message, privateKey, }: SignMessageParameters): Promise<SignMessageReturnType>; | ||
@@ -26,5 +76,12 @@ | ||
} = TypedData, TPrimaryType extends string = string> = TypedDataDefinition<TTypedData, TPrimaryType> & { | ||
/** The private key to sign with. */ | ||
privateKey: Hex; | ||
}; | ||
type SignTypedDataReturnType = Hex; | ||
/** | ||
* @description Signs typed data and calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): | ||
* `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`. | ||
* | ||
* @returns The signature. | ||
*/ | ||
declare function signTypedData<TTypedData extends TypedData | { | ||
@@ -34,2 +91,2 @@ [key: string]: unknown; | ||
export { SignMessageParameters, SignMessageReturnType, SignTypedDataParameters, SignTypedDataReturnType, privateKeyToAccount, publicKeyToAddress, signMessage, signTypedData, toAccount }; | ||
export { SignMessageParameters, SignMessageReturnType, SignTypedDataParameters, SignTypedDataReturnType, generateMnemonic, generatePrivateKey, privateKeyToAccount, publicKeyToAddress, signMessage, signTypedData, toAccount }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkFQM5MF6Ujs = require('../chunk-FQM5MF6U.js'); | ||
var _chunk35AQXWIBjs = require('../chunk-35AQXWIB.js'); | ||
@@ -16,5 +16,17 @@ | ||
// src/accounts/privateKeyToAccount.ts | ||
// src/accounts/generateMnemonic.ts | ||
var _bip39 = require('@scure/bip39'); | ||
function generateMnemonic(wordlist10) { | ||
return _bip39.generateMnemonic.call(void 0, wordlist10); | ||
} | ||
// src/accounts/generatePrivateKey.ts | ||
var _secp256k1 = require('@noble/secp256k1'); | ||
function generatePrivateKey() { | ||
return _chunkNJSAEA2Hjs.toHex.call(void 0, _secp256k1.utils.randomPrivateKey()); | ||
} | ||
// src/accounts/privateKeyToAccount.ts | ||
// src/accounts/utils/publicKeyToAddress.ts | ||
@@ -62,3 +74,3 @@ function publicKeyToAddress(publicKey) { | ||
const address = publicKeyToAddress(publicKey); | ||
const account = _chunkFQM5MF6Ujs.toAccount.call(void 0, { | ||
const account = _chunk35AQXWIBjs.toAccount.call(void 0, { | ||
address, | ||
@@ -83,2 +95,12 @@ async signMessage({ message }) { | ||
// src/accounts/wordlists.ts | ||
var _czech = require('@scure/bip39/wordlists/czech'); | ||
var _english = require('@scure/bip39/wordlists/english'); | ||
var _french = require('@scure/bip39/wordlists/french'); | ||
var _italian = require('@scure/bip39/wordlists/italian'); | ||
var _japanese = require('@scure/bip39/wordlists/japanese'); | ||
var _korean = require('@scure/bip39/wordlists/korean'); | ||
var _simplifiedchinese = require('@scure/bip39/wordlists/simplified-chinese'); | ||
var _spanish = require('@scure/bip39/wordlists/spanish'); | ||
var _traditionalchinese = require('@scure/bip39/wordlists/traditional-chinese'); | ||
@@ -91,3 +113,15 @@ | ||
exports.HDKey = _bip32.HDKey; exports.parseAccount = _chunkNJSAEA2Hjs.parseAccount; exports.privateKeyToAccount = privateKeyToAccount; exports.publicKeyToAddress = publicKeyToAddress; exports.signMessage = signMessage; exports.signTypedData = signTypedData; exports.toAccount = _chunkFQM5MF6Ujs.toAccount; | ||
exports.HDKey = _bip32.HDKey; exports.czech = _czech.wordlist; exports.english = _english.wordlist; exports.french = _french.wordlist; exports.generateMnemonic = generateMnemonic; exports.generatePrivateKey = generatePrivateKey; exports.italian = _italian.wordlist; exports.japanese = _japanese.wordlist; exports.korean = _korean.wordlist; exports.parseAccount = _chunkNJSAEA2Hjs.parseAccount; exports.privateKeyToAccount = privateKeyToAccount; exports.publicKeyToAddress = publicKeyToAddress; exports.signMessage = signMessage; exports.signTypedData = signTypedData; exports.simplifiedChinese = _simplifiedchinese.wordlist; exports.spanish = _spanish.wordlist; exports.toAccount = _chunk35AQXWIBjs.toAccount; exports.traditionalChinese = _traditionalchinese.wordlist; | ||
//# sourceMappingURL=index.js.map |
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-693e6e1b.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-4792a6a3.js'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-765ebc53.js'; | ||
export { n as CreateContractEventFilterParameters, o as CreateContractEventFilterReturnType, Q as DeployContractParameters, U as DeployContractReturnType, p as EstimateContractGasParameters, q as EstimateContractGasReturnType, G as GetBytecodeParameters, r as GetBytecodeReturnType, s as GetStorageAtParameters, t as GetStorageAtReturnType, M as MulticallParameters, u as MulticallReturnType, O as OnLogsFn, v as OnLogsParameter, R as ReadContractParameters, w as ReadContractReturnType, x as SimulateContractParameters, y as SimulateContractReturnType, z as WatchContractEventParameters, V as WriteContractParameters, X as WriteContractReturnType, A as createContractEventFilter, Y as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, J as multicall, K as readContract, L as simulateContract, N as watchContractEvent, Z as writeContract } from './createPublicClient-d2c37c92.js'; | ||
export { n as CreateContractEventFilterParameters, o as CreateContractEventFilterReturnType, Q as DeployContractParameters, U as DeployContractReturnType, p as EstimateContractGasParameters, q as EstimateContractGasReturnType, G as GetBytecodeParameters, r as GetBytecodeReturnType, s as GetStorageAtParameters, t as GetStorageAtReturnType, M as MulticallParameters, u as MulticallReturnType, O as OnLogsFn, v as OnLogsParameter, R as ReadContractParameters, w as ReadContractReturnType, x as SimulateContractParameters, y as SimulateContractReturnType, z as WatchContractEventParameters, V as WriteContractParameters, X as WriteContractReturnType, A as createContractEventFilter, Y as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, J as multicall, K as readContract, L as simulateContract, N as watchContractEvent, Z as writeContract } from './createPublicClient-f876dff3.js'; | ||
import 'abitype'; | ||
@@ -10,3 +10,3 @@ import './chain-75b0942e.js'; | ||
import './createClient-f87255c1.js'; | ||
import './typedData-ade018d6.js'; | ||
import './typedData-7cfe4bb6.js'; | ||
import '@scure/bip32'; |
@@ -1,2 +0,2 @@ | ||
export { _ as GetEnsAddressParameters, $ as GetEnsNameParameters, a0 as getEnsAddress, a1 as getEnsName } from './createPublicClient-d2c37c92.js'; | ||
export { _ as GetEnsAddressParameters, $ as GetEnsNameParameters, a0 as getEnsAddress, a1 as getEnsName } from './createPublicClient-f876dff3.js'; | ||
export { l as labelhash, n as namehash } from './namehash-afff0feb.js'; | ||
@@ -8,3 +8,3 @@ import './eip1193-ae706fd8.js'; | ||
import './createClient-f87255c1.js'; | ||
import './typedData-ade018d6.js'; | ||
import './typedData-7cfe4bb6.js'; | ||
import '@scure/bip32'; | ||
@@ -11,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { L as LocalAccount } from './typedData-ade018d6.js'; | ||
import { L as LocalAccount } from './typedData-7cfe4bb6.js'; | ||
import '@scure/bip32'; | ||
@@ -3,0 +3,0 @@ import 'abitype'; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } | ||
var _chunkFQM5MF6Ujs = require('./chunk-FQM5MF6U.js'); | ||
var _chunk35AQXWIBjs = require('./chunk-35AQXWIB.js'); | ||
@@ -9,3 +9,3 @@ | ||
// src/adapters/ethers.ts | ||
var ethersWalletToAccount = (wallet) => _chunkFQM5MF6Ujs.toAccount.call(void 0, { | ||
var ethersWalletToAccount = (wallet) => _chunk35AQXWIBjs.toAccount.call(void 0, { | ||
address: wallet.address, | ||
@@ -12,0 +12,0 @@ async signMessage({ message }) { |
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-f87255c1.js'; | ||
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-f87255c1.js'; | ||
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-377678bc.js'; | ||
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, q as HashTypedDataParameters, r as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, y as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage } from './parseGwei-377678bc.js'; | ||
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-1030ed5a.js'; | ||
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, q as HashTypedDataParameters, r as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, y as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage } from './parseGwei-1030ed5a.js'; | ||
import WebSocket from 'isomorphic-ws'; | ||
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-75b0942e.js'; | ||
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-75b0942e.js'; | ||
export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, e as ParseAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from './createPublicClient-d2c37c92.js'; | ||
export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, e as ParseAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from './createPublicClient-f876dff3.js'; | ||
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-98c0b642.js'; | ||
@@ -16,3 +16,3 @@ import { AbiParameter } from 'abitype'; | ||
export { e as encodePacked } from './encodePacked-3fcdd54b.js'; | ||
export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-ade018d6.js'; | ||
export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-7cfe4bb6.js'; | ||
export { d as defineChain } from './chain-f8db473f.js'; | ||
@@ -19,0 +19,0 @@ export { HDKey } from '@scure/bip32'; |
@@ -1,2 +0,2 @@ | ||
export { C as CallParameters, as as CallReturnType, at as CreateBlockFilterReturnType, au as CreateEventFilterParameters, av as CreateEventFilterReturnType, aw as CreatePendingTransactionFilterReturnType, E as EstimateGasParameters, ax as EstimateGasReturnType, ay as GetBalanceParameters, az as GetBalanceReturnType, aB as GetBlockNumberParameters, aC as GetBlockNumberReturnType, aA as GetBlockParameters, aD as GetBlockReturnType, aE as GetBlockTransactionCountParameters, aF as GetBlockTransactionCountReturnType, G as GetBytecodeParameters, r as GetBytecodeReturnType, aG as GetFeeHistoryParameters, aH as GetFeeHistoryReturnType, aI as GetFilterChangesParameters, aJ as GetFilterChangesReturnType, aK as GetFilterLogsParameters, aL as GetFilterLogsReturnType, aM as GetGasPriceReturnType, aO as GetTransactionConfirmationsParameters, aP as GetTransactionConfirmationsReturnType, aQ as GetTransactionCountParameters, aR as GetTransactionCountReturnType, aN as GetTransactionParameters, aS as GetTransactionReceiptParameters, aT as GetTransactionReceiptReturnType, aU as GetTransactionReturnType, aV as OnBlock, aW as OnBlockNumberFn, aX as OnBlockNumberParameter, aY as OnBlockParameter, O as OnLogsFn, v as OnLogsParameter, aZ as OnTransactionsFn, a_ as OnTransactionsParameter, a$ as ReplacementReason, b0 as ReplacementReturnType, b1 as UninstallFilterParameters, b2 as UninstallFilterReturnType, b3 as WaitForTransactionReceiptParameters, b4 as WaitForTransactionReceiptReturnType, b5 as WatchBlockNumberParameters, b6 as WatchBlocksParameters, b7 as WatchPendingTransactionsParameters, a2 as call, a3 as createBlockFilter, a4 as createEventFilter, a5 as createPendingTransactionFilter, a6 as estimateGas, a7 as getBalance, a8 as getBlock, a9 as getBlockNumber, aa as getBlockNumberCache, ab as getBlockTransactionCount, H as getBytecode, ac as getChainId, ad as getFeeHistory, ae as getFilterChanges, af as getFilterLogs, ah as getGasPrice, ag as getLogs, ai as getTransaction, aj as getTransactionConfirmations, ak as getTransactionCount, al as getTransactionReceipt, am as uninstallFilter, an as waitForTransactionReceipt, ao as watchBlockNumber, ap as watchBlocks, aq as watchEvent, ar as watchPendingTransactions } from './createPublicClient-d2c37c92.js'; | ||
export { C as CallParameters, as as CallReturnType, at as CreateBlockFilterReturnType, au as CreateEventFilterParameters, av as CreateEventFilterReturnType, aw as CreatePendingTransactionFilterReturnType, E as EstimateGasParameters, ax as EstimateGasReturnType, ay as GetBalanceParameters, az as GetBalanceReturnType, aB as GetBlockNumberParameters, aC as GetBlockNumberReturnType, aA as GetBlockParameters, aD as GetBlockReturnType, aE as GetBlockTransactionCountParameters, aF as GetBlockTransactionCountReturnType, G as GetBytecodeParameters, r as GetBytecodeReturnType, aG as GetFeeHistoryParameters, aH as GetFeeHistoryReturnType, aI as GetFilterChangesParameters, aJ as GetFilterChangesReturnType, aK as GetFilterLogsParameters, aL as GetFilterLogsReturnType, aM as GetGasPriceReturnType, aO as GetTransactionConfirmationsParameters, aP as GetTransactionConfirmationsReturnType, aQ as GetTransactionCountParameters, aR as GetTransactionCountReturnType, aN as GetTransactionParameters, aS as GetTransactionReceiptParameters, aT as GetTransactionReceiptReturnType, aU as GetTransactionReturnType, aV as OnBlock, aW as OnBlockNumberFn, aX as OnBlockNumberParameter, aY as OnBlockParameter, O as OnLogsFn, v as OnLogsParameter, aZ as OnTransactionsFn, a_ as OnTransactionsParameter, a$ as ReplacementReason, b0 as ReplacementReturnType, b1 as UninstallFilterParameters, b2 as UninstallFilterReturnType, b3 as WaitForTransactionReceiptParameters, b4 as WaitForTransactionReceiptReturnType, b5 as WatchBlockNumberParameters, b6 as WatchBlocksParameters, b7 as WatchPendingTransactionsParameters, a2 as call, a3 as createBlockFilter, a4 as createEventFilter, a5 as createPendingTransactionFilter, a6 as estimateGas, a7 as getBalance, a8 as getBlock, a9 as getBlockNumber, aa as getBlockNumberCache, ab as getBlockTransactionCount, H as getBytecode, ac as getChainId, ad as getFeeHistory, ae as getFilterChanges, af as getFilterLogs, ah as getGasPrice, ag as getLogs, ai as getTransaction, aj as getTransactionConfirmations, ak as getTransactionCount, al as getTransactionReceipt, am as uninstallFilter, an as waitForTransactionReceipt, ao as watchBlockNumber, ap as watchBlocks, aq as watchEvent, ar as watchPendingTransactions } from './createPublicClient-f876dff3.js'; | ||
import './eip1193-ae706fd8.js'; | ||
@@ -7,3 +7,3 @@ import 'abitype'; | ||
import './createClient-f87255c1.js'; | ||
import './typedData-ade018d6.js'; | ||
import './typedData-7cfe4bb6.js'; | ||
import '@scure/bip32'; |
@@ -7,11 +7,11 @@ import { Address } from 'abitype'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-765ebc53.js'; | ||
export { p as parseAccount } from '../parseAccount-2d7ea01d.js'; | ||
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-377678bc.js'; | ||
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, q as HashTypedDataParameters, r as HashTypedDataReturnType, H as HttpOptions, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, R as RpcResponse, aJ as Socket, y as ToRlpReturnType, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aK as getSocket, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aM as recoverTypedDataAddress, aL as rpc, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage, aN as verifyTypedData } from '../parseGwei-377678bc.js'; | ||
export { p as parseAccount } from '../parseAccount-b6e8bc40.js'; | ||
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-1030ed5a.js'; | ||
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, q as HashTypedDataParameters, r as HashTypedDataReturnType, H as HttpOptions, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, R as RpcResponse, aJ as Socket, y as ToRlpReturnType, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aK as getSocket, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aM as recoverTypedDataAddress, aL as rpc, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage, aN as verifyTypedData } from '../parseGwei-1030ed5a.js'; | ||
export { d as defineChain, g as getChainContractAddress } from '../chain-f8db473f.js'; | ||
import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, b8 as WalletClientArg, b9 as PublicClientArg, ba as GetAccountParameter } from '../createPublicClient-d2c37c92.js'; | ||
export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from '../createPublicClient-d2c37c92.js'; | ||
import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, b8 as WalletClientArg, b9 as PublicClientArg, ba as GetAccountParameter } from '../createPublicClient-f876dff3.js'; | ||
export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from '../createPublicClient-f876dff3.js'; | ||
import { a2 as Formatter, C as Chain } from '../chain-75b0942e.js'; | ||
export { W as ExtractFormatter, X as Formatted, Y as FormattedTransaction, Z as TransactionFormatter, ad as defineFormatter, _ as defineTransaction, ae as format, $ as formatTransaction, a0 as transactionType } from '../chain-75b0942e.js'; | ||
import { A as Account } from '../typedData-ade018d6.js'; | ||
import { A as Account } from '../typedData-7cfe4bb6.js'; | ||
import { a as Transport } from '../createClient-f87255c1.js'; | ||
@@ -18,0 +18,0 @@ import 'isomorphic-ws'; |
@@ -1,2 +0,2 @@ | ||
export { bl as AddChainParameters, bm as FormattedTransactionRequest, bo as GetAddressesReturnType, bn as GetPermissionsReturnType, bp as RequestAddressesReturnType, bq as RequestPermissionsReturnType, S as SendTransactionParameters, br as SendTransactionReturnType, bs as SignMessageParameters, bt as SignMessageReturnType, bu as SignTypedDataParameters, bv as SignTypedDataReturnType, bw as SwitchChainParameters, bx as WatchAssetParameters, by as WatchAssetReturnType, bb as addChain, bc as getAddresses, bd as getPermissions, be as requestAddresses, bf as requestPermissions, bg as sendTransaction, bh as signMessage, bi as signTypedData, bj as switchChain, bk as watchAsset } from './createPublicClient-d2c37c92.js'; | ||
export { bl as AddChainParameters, bm as FormattedTransactionRequest, bo as GetAddressesReturnType, bn as GetPermissionsReturnType, bp as RequestAddressesReturnType, bq as RequestPermissionsReturnType, S as SendTransactionParameters, br as SendTransactionReturnType, bs as SignMessageParameters, bt as SignMessageReturnType, bu as SignTypedDataParameters, bv as SignTypedDataReturnType, bw as SwitchChainParameters, bx as WatchAssetParameters, by as WatchAssetReturnType, bb as addChain, bc as getAddresses, bd as getPermissions, be as requestAddresses, bf as requestPermissions, bg as sendTransaction, bh as signMessage, bi as signTypedData, bj as switchChain, bk as watchAsset } from './createPublicClient-f876dff3.js'; | ||
import './eip1193-ae706fd8.js'; | ||
@@ -7,3 +7,3 @@ import 'abitype'; | ||
import './createClient-f87255c1.js'; | ||
import './typedData-ade018d6.js'; | ||
import './typedData-7cfe4bb6.js'; | ||
import '@scure/bip32'; |
@@ -15,3 +15,3 @@ { | ||
}, | ||
"version": "0.2.0-jxom-local-accounts.20230321T212822", | ||
"version": "0.2.0-jxom-local-accounts.20230325T211645", | ||
"files": [ | ||
@@ -18,0 +18,0 @@ "/abi", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1680579
0.71%19731
0.56%6
-14.29%