Showing preview only (7,014K chars total). Download the full file or copy to clipboard to get everything.
Repository: wevm/wagmi
Branch: main
Commit: 5c7bfb6cf966
Files: 1808
Total size: 6.4 MB
Directory structure:
gitextract_arunh2_6/
├── .agents/
│ ├── README.md
│ └── skills/
│ └── wagmi-development/
│ └── SKILL.md
├── .changeset/
│ ├── README.md
│ ├── brave-hens-rare.md
│ ├── config.json
│ ├── fix-tempo-webauthn-chain-id.md
│ └── upset-trains-lick.md
├── .github/
│ ├── CODEOWNERS
│ ├── CONTRIBUTING.md
│ ├── DISCUSSION_TEMPLATE/
│ │ └── connector-request.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ ├── config.yml
│ │ └── docs_issue.yml
│ ├── README.md
│ ├── SECURITY.md
│ ├── dependabot.yml
│ ├── pull_request_template.md
│ └── workflows/
│ ├── changesets.yml
│ ├── issue-labeled.yml
│ ├── lock-issue.yml
│ ├── pull-request.yml
│ ├── scorecard.yml
│ └── verify.yml
├── .gitignore
├── .vscode/
│ ├── extensions.json
│ ├── settings.json
│ └── workspace.code-workspace
├── FUNDING.json
├── LICENSE
├── biome.json
├── package.json
├── packages/
│ ├── cli/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── cli.ts
│ │ │ ├── commands/
│ │ │ │ ├── generate.test.ts
│ │ │ │ ├── generate.ts
│ │ │ │ ├── init.test.ts
│ │ │ │ └── init.ts
│ │ │ ├── config.test.ts
│ │ │ ├── config.ts
│ │ │ ├── errors.ts
│ │ │ ├── exports/
│ │ │ │ ├── config.test.ts
│ │ │ │ ├── config.ts
│ │ │ │ ├── index.test-d.ts
│ │ │ │ ├── index.test.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── plugins.test.ts
│ │ │ │ └── plugins.ts
│ │ │ ├── logger.test.ts
│ │ │ ├── logger.ts
│ │ │ ├── plugins/
│ │ │ │ ├── __fixtures__/
│ │ │ │ │ ├── foundry/
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── foundry.toml
│ │ │ │ │ │ └── src/
│ │ │ │ │ │ ├── Counter.sol
│ │ │ │ │ │ └── Foo.sol
│ │ │ │ │ └── hardhat/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── contracts/
│ │ │ │ │ │ ├── Counter.sol
│ │ │ │ │ │ └── Foo.sol
│ │ │ │ │ ├── hardhat.config.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ ├── blockExplorer.test.ts.snap
│ │ │ │ │ ├── etherscan.test.ts.snap
│ │ │ │ │ ├── fetch.test.ts.snap
│ │ │ │ │ ├── routescan.test.ts.snap
│ │ │ │ │ └── sourcify.test.ts.snap
│ │ │ │ ├── actions.test.ts
│ │ │ │ ├── actions.ts
│ │ │ │ ├── blockExplorer.test.ts
│ │ │ │ ├── blockExplorer.ts
│ │ │ │ ├── etherscan.test.ts
│ │ │ │ ├── etherscan.ts
│ │ │ │ ├── fetch.test.ts
│ │ │ │ ├── fetch.ts
│ │ │ │ ├── foundry.test.ts
│ │ │ │ ├── foundry.ts
│ │ │ │ ├── hardhat.test.ts
│ │ │ │ ├── hardhat.ts
│ │ │ │ ├── react.test.ts
│ │ │ │ ├── react.ts
│ │ │ │ ├── sourcify.test.ts
│ │ │ │ └── sourcify.ts
│ │ │ ├── types.ts
│ │ │ ├── utils/
│ │ │ │ ├── findConfig.test.ts
│ │ │ │ ├── findConfig.ts
│ │ │ │ ├── format.test.ts
│ │ │ │ ├── format.ts
│ │ │ │ ├── getAddressDocString.test.ts
│ │ │ │ ├── getAddressDocString.ts
│ │ │ │ ├── getIsUsingTypeScript.test.ts
│ │ │ │ ├── getIsUsingTypeScript.ts
│ │ │ │ ├── loadEnv.test.ts
│ │ │ │ ├── loadEnv.ts
│ │ │ │ ├── packages.test.ts
│ │ │ │ ├── packages.ts
│ │ │ │ ├── resolveConfig.test.ts
│ │ │ │ └── resolveConfig.ts
│ │ │ └── version.ts
│ │ ├── test/
│ │ │ ├── constants.ts
│ │ │ ├── setup.ts
│ │ │ └── utils.ts
│ │ ├── tsconfig.build.json
│ │ ├── tsconfig.json
│ │ └── types/
│ │ └── fixturez.d.ts
│ ├── connectors/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── baseAccount.test.ts
│ │ │ ├── baseAccount.ts
│ │ │ ├── coinbaseWallet.test.ts
│ │ │ ├── coinbaseWallet.ts
│ │ │ ├── exports/
│ │ │ │ ├── index.test.ts
│ │ │ │ └── index.ts
│ │ │ ├── metaMask.test.ts
│ │ │ ├── metaMask.ts
│ │ │ ├── porto.test.ts
│ │ │ ├── porto.ts
│ │ │ ├── safe.test.ts
│ │ │ ├── safe.ts
│ │ │ ├── version.ts
│ │ │ ├── walletConnect.test.ts
│ │ │ └── walletConnect.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── core/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── actions/
│ │ │ │ ├── call.test.ts
│ │ │ │ ├── call.ts
│ │ │ │ ├── codegen/
│ │ │ │ │ ├── createReadContract.test-d.ts
│ │ │ │ │ ├── createReadContract.test.ts
│ │ │ │ │ ├── createReadContract.ts
│ │ │ │ │ ├── createSimulateContract.test-d.ts
│ │ │ │ │ ├── createSimulateContract.test.ts
│ │ │ │ │ ├── createSimulateContract.ts
│ │ │ │ │ ├── createWatchContractEvent.test-d.ts
│ │ │ │ │ ├── createWatchContractEvent.test.ts
│ │ │ │ │ ├── createWatchContractEvent.ts
│ │ │ │ │ ├── createWriteContract.test-d.ts
│ │ │ │ │ ├── createWriteContract.test.ts
│ │ │ │ │ └── createWriteContract.ts
│ │ │ │ ├── connect.test-d.ts
│ │ │ │ ├── connect.test.ts
│ │ │ │ ├── connect.ts
│ │ │ │ ├── deployContract.test-d.ts
│ │ │ │ ├── deployContract.test.ts
│ │ │ │ ├── deployContract.ts
│ │ │ │ ├── disconnect.test.ts
│ │ │ │ ├── disconnect.ts
│ │ │ │ ├── estimateFeesPerGas.test-d.ts
│ │ │ │ ├── estimateFeesPerGas.test.ts
│ │ │ │ ├── estimateFeesPerGas.ts
│ │ │ │ ├── estimateGas.test-d.ts
│ │ │ │ ├── estimateGas.test.ts
│ │ │ │ ├── estimateGas.ts
│ │ │ │ ├── estimateMaxPriorityFeePerGas.test.ts
│ │ │ │ ├── estimateMaxPriorityFeePerGas.ts
│ │ │ │ ├── getBalance.test.ts
│ │ │ │ ├── getBalance.ts
│ │ │ │ ├── getBlobBaseFee.test.ts
│ │ │ │ ├── getBlobBaseFee.ts
│ │ │ │ ├── getBlock.test-d.ts
│ │ │ │ ├── getBlock.test.ts
│ │ │ │ ├── getBlock.ts
│ │ │ │ ├── getBlockNumber.test.ts
│ │ │ │ ├── getBlockNumber.ts
│ │ │ │ ├── getBlockTransactionCount.test.ts
│ │ │ │ ├── getBlockTransactionCount.ts
│ │ │ │ ├── getBytecode.test.ts
│ │ │ │ ├── getBytecode.ts
│ │ │ │ ├── getCallsStatus.test.ts
│ │ │ │ ├── getCallsStatus.ts
│ │ │ │ ├── getCapabilities.test.ts
│ │ │ │ ├── getCapabilities.ts
│ │ │ │ ├── getChainId.test.ts
│ │ │ │ ├── getChainId.ts
│ │ │ │ ├── getChains.test-d.ts
│ │ │ │ ├── getChains.test.ts
│ │ │ │ ├── getChains.ts
│ │ │ │ ├── getClient.test-d.ts
│ │ │ │ ├── getClient.test.ts
│ │ │ │ ├── getClient.ts
│ │ │ │ ├── getConnection.test-d.ts
│ │ │ │ ├── getConnection.test.ts
│ │ │ │ ├── getConnection.ts
│ │ │ │ ├── getConnections.test.ts
│ │ │ │ ├── getConnections.ts
│ │ │ │ ├── getConnectorClient.test-d.ts
│ │ │ │ ├── getConnectorClient.test.ts
│ │ │ │ ├── getConnectorClient.ts
│ │ │ │ ├── getConnectors.test.ts
│ │ │ │ ├── getConnectors.ts
│ │ │ │ ├── getContractEvents.test-d.ts
│ │ │ │ ├── getContractEvents.test.ts
│ │ │ │ ├── getContractEvents.ts
│ │ │ │ ├── getEnsAddress.test.ts
│ │ │ │ ├── getEnsAddress.ts
│ │ │ │ ├── getEnsAvatar.test.ts
│ │ │ │ ├── getEnsAvatar.ts
│ │ │ │ ├── getEnsName.test.ts
│ │ │ │ ├── getEnsName.ts
│ │ │ │ ├── getEnsResolver.test.ts
│ │ │ │ ├── getEnsResolver.ts
│ │ │ │ ├── getEnsText.test.ts
│ │ │ │ ├── getEnsText.ts
│ │ │ │ ├── getFeeHistory.test.ts
│ │ │ │ ├── getFeeHistory.ts
│ │ │ │ ├── getGasPrice.test.ts
│ │ │ │ ├── getGasPrice.ts
│ │ │ │ ├── getProof.test.ts
│ │ │ │ ├── getProof.ts
│ │ │ │ ├── getPublicClient.test-d.ts
│ │ │ │ ├── getPublicClient.test.ts
│ │ │ │ ├── getPublicClient.ts
│ │ │ │ ├── getStorageAt.test.ts
│ │ │ │ ├── getStorageAt.ts
│ │ │ │ ├── getTransaction.test-d.ts
│ │ │ │ ├── getTransaction.test.ts
│ │ │ │ ├── getTransaction.ts
│ │ │ │ ├── getTransactionConfirmations.test-d.ts
│ │ │ │ ├── getTransactionConfirmations.test.ts
│ │ │ │ ├── getTransactionConfirmations.ts
│ │ │ │ ├── getTransactionCount.test.ts
│ │ │ │ ├── getTransactionCount.ts
│ │ │ │ ├── getTransactionReceipt.test-d.ts
│ │ │ │ ├── getTransactionReceipt.test.ts
│ │ │ │ ├── getTransactionReceipt.ts
│ │ │ │ ├── getWalletClient.test-d.ts
│ │ │ │ ├── getWalletClient.test.ts
│ │ │ │ ├── getWalletClient.ts
│ │ │ │ ├── multicall.bench-d.ts
│ │ │ │ ├── multicall.test-d.ts
│ │ │ │ ├── multicall.test.ts
│ │ │ │ ├── multicall.ts
│ │ │ │ ├── prepareTransactionRequest.test-d.ts
│ │ │ │ ├── prepareTransactionRequest.test.ts
│ │ │ │ ├── prepareTransactionRequest.ts
│ │ │ │ ├── readContract.bench-d.ts
│ │ │ │ ├── readContract.test-d.ts
│ │ │ │ ├── readContract.test.ts
│ │ │ │ ├── readContract.ts
│ │ │ │ ├── readContracts.test-d.ts
│ │ │ │ ├── readContracts.test.ts
│ │ │ │ ├── readContracts.ts
│ │ │ │ ├── reconnect.test.ts
│ │ │ │ ├── reconnect.ts
│ │ │ │ ├── sendCalls.test.ts
│ │ │ │ ├── sendCalls.ts
│ │ │ │ ├── sendCallsSync.test.ts
│ │ │ │ ├── sendCallsSync.ts
│ │ │ │ ├── sendTransaction.test-d.ts
│ │ │ │ ├── sendTransaction.test.ts
│ │ │ │ ├── sendTransaction.ts
│ │ │ │ ├── sendTransactionSync.test.ts
│ │ │ │ ├── sendTransactionSync.ts
│ │ │ │ ├── showCallsStatus.test.ts
│ │ │ │ ├── showCallsStatus.ts
│ │ │ │ ├── signMessage.test.ts
│ │ │ │ ├── signMessage.ts
│ │ │ │ ├── signTransaction.test-d.ts
│ │ │ │ ├── signTransaction.test.ts
│ │ │ │ ├── signTransaction.ts
│ │ │ │ ├── signTypedData.test-d.ts
│ │ │ │ ├── signTypedData.test.ts
│ │ │ │ ├── signTypedData.ts
│ │ │ │ ├── simulateContract.test-d.ts
│ │ │ │ ├── simulateContract.test.ts
│ │ │ │ ├── simulateContract.ts
│ │ │ │ ├── switchChain.test.ts
│ │ │ │ ├── switchChain.ts
│ │ │ │ ├── switchConnection.test.ts
│ │ │ │ ├── switchConnection.ts
│ │ │ │ ├── verifyMessage.test.ts
│ │ │ │ ├── verifyMessage.ts
│ │ │ │ ├── verifyTypedData.test-d.ts
│ │ │ │ ├── verifyTypedData.test.ts
│ │ │ │ ├── verifyTypedData.ts
│ │ │ │ ├── waitForCallsStatus.test.ts
│ │ │ │ ├── waitForCallsStatus.ts
│ │ │ │ ├── waitForTransactionReceipt.test-d.ts
│ │ │ │ ├── waitForTransactionReceipt.test.ts
│ │ │ │ ├── waitForTransactionReceipt.ts
│ │ │ │ ├── watchAsset.test.ts
│ │ │ │ ├── watchAsset.ts
│ │ │ │ ├── watchBlockNumber.test-d.ts
│ │ │ │ ├── watchBlockNumber.test.ts
│ │ │ │ ├── watchBlockNumber.ts
│ │ │ │ ├── watchBlocks.test-d.ts
│ │ │ │ ├── watchBlocks.test.ts
│ │ │ │ ├── watchBlocks.ts
│ │ │ │ ├── watchChainId.test.ts
│ │ │ │ ├── watchChainId.ts
│ │ │ │ ├── watchChains.test.ts
│ │ │ │ ├── watchChains.ts
│ │ │ │ ├── watchClient.test-d.ts
│ │ │ │ ├── watchClient.test.ts
│ │ │ │ ├── watchClient.ts
│ │ │ │ ├── watchConnection.test.ts
│ │ │ │ ├── watchConnection.ts
│ │ │ │ ├── watchConnections.test.ts
│ │ │ │ ├── watchConnections.ts
│ │ │ │ ├── watchConnectors.test.ts
│ │ │ │ ├── watchConnectors.ts
│ │ │ │ ├── watchContractEvent.test-d.ts
│ │ │ │ ├── watchContractEvent.test.ts
│ │ │ │ ├── watchContractEvent.ts
│ │ │ │ ├── watchPendingTransactions.test-d.ts
│ │ │ │ ├── watchPendingTransactions.test.ts
│ │ │ │ ├── watchPendingTransactions.ts
│ │ │ │ ├── watchPublicClient.test-d.ts
│ │ │ │ ├── watchPublicClient.test.ts
│ │ │ │ ├── watchPublicClient.ts
│ │ │ │ ├── writeContract.bench-d.ts
│ │ │ │ ├── writeContract.test-d.ts
│ │ │ │ ├── writeContract.ts
│ │ │ │ ├── writeContractSync.test.ts
│ │ │ │ └── writeContractSync.ts
│ │ │ ├── connectors/
│ │ │ │ ├── createConnector.test.ts
│ │ │ │ ├── createConnector.ts
│ │ │ │ ├── injected.test.ts
│ │ │ │ ├── injected.ts
│ │ │ │ ├── mock.test.ts
│ │ │ │ └── mock.ts
│ │ │ ├── createConfig.test-d.ts
│ │ │ ├── createConfig.test.ts
│ │ │ ├── createConfig.ts
│ │ │ ├── createEmitter.test.ts
│ │ │ ├── createEmitter.ts
│ │ │ ├── createStorage.test-d.ts
│ │ │ ├── createStorage.test.ts
│ │ │ ├── createStorage.ts
│ │ │ ├── errors/
│ │ │ │ ├── base.test.ts
│ │ │ │ ├── base.ts
│ │ │ │ ├── config.test.ts
│ │ │ │ ├── config.ts
│ │ │ │ ├── connector.test.ts
│ │ │ │ └── connector.ts
│ │ │ ├── exports/
│ │ │ │ ├── actions.test.ts
│ │ │ │ ├── actions.ts
│ │ │ │ ├── chains.ts
│ │ │ │ ├── codegen.test.ts
│ │ │ │ ├── codegen.ts
│ │ │ │ ├── index.test.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal.test.ts
│ │ │ │ ├── internal.ts
│ │ │ │ ├── query.test.ts
│ │ │ │ ├── query.ts
│ │ │ │ └── tempo.ts
│ │ │ ├── hydrate.test.ts
│ │ │ ├── hydrate.ts
│ │ │ ├── query/
│ │ │ │ ├── AGENTS.md
│ │ │ │ ├── call.test.ts
│ │ │ │ ├── call.ts
│ │ │ │ ├── connect.test-d.ts
│ │ │ │ ├── connect.test.ts
│ │ │ │ ├── connect.ts
│ │ │ │ ├── deployContract.test.ts
│ │ │ │ ├── deployContract.ts
│ │ │ │ ├── disconnect.test.ts
│ │ │ │ ├── disconnect.ts
│ │ │ │ ├── estimateFeesPerGas.test-d.ts
│ │ │ │ ├── estimateFeesPerGas.test.ts
│ │ │ │ ├── estimateFeesPerGas.ts
│ │ │ │ ├── estimateGas.test-d.ts
│ │ │ │ ├── estimateGas.test.ts
│ │ │ │ ├── estimateGas.ts
│ │ │ │ ├── estimateMaxPriorityFeePerGas.test.ts
│ │ │ │ ├── estimateMaxPriorityFeePerGas.ts
│ │ │ │ ├── getBalance.test.ts
│ │ │ │ ├── getBalance.ts
│ │ │ │ ├── getBlobBaseFee.test.ts
│ │ │ │ ├── getBlobBaseFee.ts
│ │ │ │ ├── getBlock.test-d.ts
│ │ │ │ ├── getBlock.test.ts
│ │ │ │ ├── getBlock.ts
│ │ │ │ ├── getBlockNumber.test.ts
│ │ │ │ ├── getBlockNumber.ts
│ │ │ │ ├── getBlockTransactionCount.test.ts
│ │ │ │ ├── getBlockTransactionCount.ts
│ │ │ │ ├── getBytecode.test.ts
│ │ │ │ ├── getBytecode.ts
│ │ │ │ ├── getCallsStatus.test.ts
│ │ │ │ ├── getCallsStatus.ts
│ │ │ │ ├── getCapabilities.test.ts
│ │ │ │ ├── getCapabilities.ts
│ │ │ │ ├── getConnectorClient.test-d.ts
│ │ │ │ ├── getConnectorClient.test.ts
│ │ │ │ ├── getConnectorClient.ts
│ │ │ │ ├── getContractEvents.test-d.ts
│ │ │ │ ├── getContractEvents.test.ts
│ │ │ │ ├── getContractEvents.ts
│ │ │ │ ├── getEnsAddress.test.ts
│ │ │ │ ├── getEnsAddress.ts
│ │ │ │ ├── getEnsAvatar.test.ts
│ │ │ │ ├── getEnsAvatar.ts
│ │ │ │ ├── getEnsName.test.ts
│ │ │ │ ├── getEnsName.ts
│ │ │ │ ├── getEnsResolver.test.ts
│ │ │ │ ├── getEnsResolver.ts
│ │ │ │ ├── getEnsText.test.ts
│ │ │ │ ├── getEnsText.ts
│ │ │ │ ├── getFeeHistory.test.ts
│ │ │ │ ├── getFeeHistory.ts
│ │ │ │ ├── getGasPrice.test.ts
│ │ │ │ ├── getGasPrice.ts
│ │ │ │ ├── getProof.test.ts
│ │ │ │ ├── getProof.ts
│ │ │ │ ├── getStorageAt.test.ts
│ │ │ │ ├── getStorageAt.ts
│ │ │ │ ├── getTransaction.test-d.ts
│ │ │ │ ├── getTransaction.test.ts
│ │ │ │ ├── getTransaction.ts
│ │ │ │ ├── getTransactionConfirmations.test-d.ts
│ │ │ │ ├── getTransactionConfirmations.test.ts
│ │ │ │ ├── getTransactionConfirmations.ts
│ │ │ │ ├── getTransactionCount.test.ts
│ │ │ │ ├── getTransactionCount.ts
│ │ │ │ ├── getTransactionReceipt.test-d.ts
│ │ │ │ ├── getTransactionReceipt.test.ts
│ │ │ │ ├── getTransactionReceipt.ts
│ │ │ │ ├── getWalletClient.test-d.ts
│ │ │ │ ├── getWalletClient.test.ts
│ │ │ │ ├── getWalletClient.ts
│ │ │ │ ├── infiniteReadContracts.test-d.ts
│ │ │ │ ├── infiniteReadContracts.test.ts
│ │ │ │ ├── infiniteReadContracts.ts
│ │ │ │ ├── prepareTransactionRequest.test-d.ts
│ │ │ │ ├── prepareTransactionRequest.test.ts
│ │ │ │ ├── prepareTransactionRequest.ts
│ │ │ │ ├── readContract.test-d.ts
│ │ │ │ ├── readContract.test.ts
│ │ │ │ ├── readContract.ts
│ │ │ │ ├── readContracts.test-d.ts
│ │ │ │ ├── readContracts.test.ts
│ │ │ │ ├── readContracts.ts
│ │ │ │ ├── reconnect.test.ts
│ │ │ │ ├── reconnect.ts
│ │ │ │ ├── sendCalls.test.ts
│ │ │ │ ├── sendCalls.ts
│ │ │ │ ├── sendCallsSync.test.ts
│ │ │ │ ├── sendCallsSync.ts
│ │ │ │ ├── sendTransaction.test.ts
│ │ │ │ ├── sendTransaction.ts
│ │ │ │ ├── sendTransactionSync.test.ts
│ │ │ │ ├── sendTransactionSync.ts
│ │ │ │ ├── showCallsStatus.test.ts
│ │ │ │ ├── showCallsStatus.ts
│ │ │ │ ├── signMessage.test.ts
│ │ │ │ ├── signMessage.ts
│ │ │ │ ├── signTransaction.test.ts
│ │ │ │ ├── signTransaction.ts
│ │ │ │ ├── signTypedData.test.ts
│ │ │ │ ├── signTypedData.ts
│ │ │ │ ├── simulateContract.test-d.ts
│ │ │ │ ├── simulateContract.test.ts
│ │ │ │ ├── simulateContract.ts
│ │ │ │ ├── switchChain.test.ts
│ │ │ │ ├── switchChain.ts
│ │ │ │ ├── switchConnection.test.ts
│ │ │ │ ├── switchConnection.ts
│ │ │ │ ├── types.ts
│ │ │ │ ├── utils.test.ts
│ │ │ │ ├── utils.ts
│ │ │ │ ├── verifyMessage.test.ts
│ │ │ │ ├── verifyMessage.ts
│ │ │ │ ├── verifyTypedData.test-d.ts
│ │ │ │ ├── verifyTypedData.test.ts
│ │ │ │ ├── verifyTypedData.ts
│ │ │ │ ├── waitForCallsStatus.test.ts
│ │ │ │ ├── waitForCallsStatus.ts
│ │ │ │ ├── waitForTransactionReceipt.test-d.ts
│ │ │ │ ├── waitForTransactionReceipt.test.ts
│ │ │ │ ├── waitForTransactionReceipt.ts
│ │ │ │ ├── watchAsset.test.ts
│ │ │ │ ├── watchAsset.ts
│ │ │ │ ├── writeContract.test-d.ts
│ │ │ │ ├── writeContract.test.ts
│ │ │ │ ├── writeContract.ts
│ │ │ │ └── writeContractSync.ts
│ │ │ ├── tempo/
│ │ │ │ ├── AGENTS.md
│ │ │ │ ├── Connectors.test.ts
│ │ │ │ ├── Connectors.ts
│ │ │ │ ├── KeyManager.ts
│ │ │ │ └── actions/
│ │ │ │ ├── amm.test.ts
│ │ │ │ ├── amm.ts
│ │ │ │ ├── dex.test.ts
│ │ │ │ ├── dex.ts
│ │ │ │ ├── faucet.ts
│ │ │ │ ├── fee.test.ts
│ │ │ │ ├── fee.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── nonce.test.ts
│ │ │ │ ├── nonce.ts
│ │ │ │ ├── policy.test.ts
│ │ │ │ ├── policy.ts
│ │ │ │ ├── reward.test.ts
│ │ │ │ ├── reward.ts
│ │ │ │ ├── token.test.ts
│ │ │ │ ├── token.ts
│ │ │ │ └── utils.ts
│ │ │ ├── transports/
│ │ │ │ ├── connector.test.ts
│ │ │ │ ├── connector.ts
│ │ │ │ ├── fallback.test.ts
│ │ │ │ └── fallback.ts
│ │ │ ├── types/
│ │ │ │ ├── chain.test-d.ts
│ │ │ │ ├── chain.ts
│ │ │ │ ├── properties.ts
│ │ │ │ ├── query.ts
│ │ │ │ ├── register.ts
│ │ │ │ ├── utils.test-d.ts
│ │ │ │ └── utils.ts
│ │ │ ├── utils/
│ │ │ │ ├── cookie.test.ts
│ │ │ │ ├── cookie.ts
│ │ │ │ ├── deepEqual.test.ts
│ │ │ │ ├── deepEqual.ts
│ │ │ │ ├── deserialize.test.ts
│ │ │ │ ├── deserialize.ts
│ │ │ │ ├── extractRpcUrls.test.ts
│ │ │ │ ├── extractRpcUrls.ts
│ │ │ │ ├── getAction.test.ts
│ │ │ │ ├── getAction.ts
│ │ │ │ ├── getVersion.test.ts
│ │ │ │ ├── getVersion.ts
│ │ │ │ ├── serialize.test.ts
│ │ │ │ ├── serialize.ts
│ │ │ │ └── uid.ts
│ │ │ └── version.ts
│ │ ├── test/
│ │ │ └── setup.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── create-wagmi/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── cli.test.ts
│ │ │ ├── cli.ts
│ │ │ ├── frameworks.ts
│ │ │ ├── index.test-d.ts
│ │ │ ├── utils.ts
│ │ │ └── version.ts
│ │ ├── templates/
│ │ │ ├── next/
│ │ │ │ ├── README.md
│ │ │ │ ├── _env.local
│ │ │ │ ├── _gitignore
│ │ │ │ ├── _npmrc
│ │ │ │ ├── next-env.d.ts
│ │ │ │ ├── next.config.ts
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ ├── app/
│ │ │ │ │ │ ├── globals.css
│ │ │ │ │ │ ├── layout.tsx
│ │ │ │ │ │ ├── page.tsx
│ │ │ │ │ │ └── providers.tsx
│ │ │ │ │ └── wagmi.ts
│ │ │ │ └── tsconfig.json
│ │ │ ├── nuxt/
│ │ │ │ ├── _env.local
│ │ │ │ ├── _gitignore
│ │ │ │ ├── _npmrc
│ │ │ │ ├── app.vue
│ │ │ │ ├── components/
│ │ │ │ │ ├── Connect.vue
│ │ │ │ │ └── Connection.vue
│ │ │ │ ├── nuxt.config.ts
│ │ │ │ ├── package.json
│ │ │ │ ├── plugins/
│ │ │ │ │ └── wagmi.ts
│ │ │ │ ├── server/
│ │ │ │ │ └── tsconfig.json
│ │ │ │ ├── tsconfig.json
│ │ │ │ └── wagmi.ts
│ │ │ ├── vite-react/
│ │ │ │ ├── README.md
│ │ │ │ ├── _gitignore
│ │ │ │ ├── _npmrc
│ │ │ │ ├── index.html
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ ├── App.tsx
│ │ │ │ │ ├── index.css
│ │ │ │ │ ├── main.tsx
│ │ │ │ │ ├── vite-env.d.ts
│ │ │ │ │ └── wagmi.ts
│ │ │ │ ├── tsconfig.json
│ │ │ │ ├── tsconfig.node.json
│ │ │ │ └── vite.config.ts
│ │ │ ├── vite-vanilla/
│ │ │ │ ├── _gitignore
│ │ │ │ ├── _npmrc
│ │ │ │ ├── index.html
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ ├── main.ts
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── vite-env.d.ts
│ │ │ │ │ └── wagmi.ts
│ │ │ │ └── tsconfig.json
│ │ │ └── vite-vue/
│ │ │ ├── README.md
│ │ │ ├── _gitignore
│ │ │ ├── _npmrc
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.vue
│ │ │ │ ├── components/
│ │ │ │ │ ├── Connect.vue
│ │ │ │ │ └── Connection.vue
│ │ │ │ ├── main.ts
│ │ │ │ ├── style.css
│ │ │ │ ├── vite-env.d.ts
│ │ │ │ └── wagmi.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── react/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── context.test.tsx
│ │ │ ├── context.ts
│ │ │ ├── errors/
│ │ │ │ ├── base.test.ts
│ │ │ │ ├── base.ts
│ │ │ │ ├── context.test.ts
│ │ │ │ └── context.ts
│ │ │ ├── exports/
│ │ │ │ ├── actions.test.ts
│ │ │ │ ├── actions.ts
│ │ │ │ ├── chains.ts
│ │ │ │ ├── codegen.test.ts
│ │ │ │ ├── codegen.ts
│ │ │ │ ├── connectors.test.ts
│ │ │ │ ├── connectors.ts
│ │ │ │ ├── index.test.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── query.test.ts
│ │ │ │ ├── query.ts
│ │ │ │ ├── tempo.test.ts
│ │ │ │ └── tempo.ts
│ │ │ ├── hooks/
│ │ │ │ ├── AGENTS.md
│ │ │ │ ├── codegen/
│ │ │ │ │ ├── createUseReadContract.test-d.ts
│ │ │ │ │ ├── createUseReadContract.test.ts
│ │ │ │ │ ├── createUseReadContract.ts
│ │ │ │ │ ├── createUseSimulateContract.test-d.ts
│ │ │ │ │ ├── createUseSimulateContract.test.ts
│ │ │ │ │ ├── createUseSimulateContract.ts
│ │ │ │ │ ├── createUseWatchContractEvent.test-d.ts
│ │ │ │ │ ├── createUseWatchContractEvent.test.ts
│ │ │ │ │ ├── createUseWatchContractEvent.ts
│ │ │ │ │ ├── createUseWriteContract.test-d.ts
│ │ │ │ │ ├── createUseWriteContract.test.ts
│ │ │ │ │ └── createUseWriteContract.ts
│ │ │ │ ├── useBalance.test-d.ts
│ │ │ │ ├── useBalance.test.ts
│ │ │ │ ├── useBalance.ts
│ │ │ │ ├── useBlobBaseFee.test.ts
│ │ │ │ ├── useBlobBaseFee.ts
│ │ │ │ ├── useBlock.test-d.ts
│ │ │ │ ├── useBlock.test.ts
│ │ │ │ ├── useBlock.ts
│ │ │ │ ├── useBlockNumber.test-d.ts
│ │ │ │ ├── useBlockNumber.test.ts
│ │ │ │ ├── useBlockNumber.ts
│ │ │ │ ├── useBlockTransactionCount.test-d.ts
│ │ │ │ ├── useBlockTransactionCount.test.ts
│ │ │ │ ├── useBlockTransactionCount.ts
│ │ │ │ ├── useBytecode.test-d.ts
│ │ │ │ ├── useBytecode.test.ts
│ │ │ │ ├── useBytecode.ts
│ │ │ │ ├── useCall.test-d.ts
│ │ │ │ ├── useCall.test.ts
│ │ │ │ ├── useCall.ts
│ │ │ │ ├── useCallsStatus.test.ts
│ │ │ │ ├── useCallsStatus.ts
│ │ │ │ ├── useCapabilities.test.ts
│ │ │ │ ├── useCapabilities.ts
│ │ │ │ ├── useChainId.test-d.ts
│ │ │ │ ├── useChainId.test.ts
│ │ │ │ ├── useChainId.ts
│ │ │ │ ├── useChains.test.ts
│ │ │ │ ├── useChains.ts
│ │ │ │ ├── useClient.test-d.ts
│ │ │ │ ├── useClient.test.ts
│ │ │ │ ├── useClient.ts
│ │ │ │ ├── useConfig.test-d.ts
│ │ │ │ ├── useConfig.test.ts
│ │ │ │ ├── useConfig.ts
│ │ │ │ ├── useConnect.test-d.ts
│ │ │ │ ├── useConnect.test.ts
│ │ │ │ ├── useConnect.ts
│ │ │ │ ├── useConnection.test-d.ts
│ │ │ │ ├── useConnection.test.ts
│ │ │ │ ├── useConnection.ts
│ │ │ │ ├── useConnectionEffect.test.ts
│ │ │ │ ├── useConnectionEffect.ts
│ │ │ │ ├── useConnections.test.ts
│ │ │ │ ├── useConnections.ts
│ │ │ │ ├── useConnectorClient.test-d.ts
│ │ │ │ ├── useConnectorClient.test.tsx
│ │ │ │ ├── useConnectorClient.ts
│ │ │ │ ├── useConnectors.test.ts
│ │ │ │ ├── useConnectors.ts
│ │ │ │ ├── useContractEvents.test-d.ts
│ │ │ │ ├── useContractEvents.test.ts
│ │ │ │ ├── useContractEvents.ts
│ │ │ │ ├── useDeployContract.test-d.ts
│ │ │ │ ├── useDeployContract.test.ts
│ │ │ │ ├── useDeployContract.ts
│ │ │ │ ├── useDisconnect.test-d.ts
│ │ │ │ ├── useDisconnect.test.ts
│ │ │ │ ├── useDisconnect.ts
│ │ │ │ ├── useEnsAddress.test.ts
│ │ │ │ ├── useEnsAddress.ts
│ │ │ │ ├── useEnsAvatar.test.ts
│ │ │ │ ├── useEnsAvatar.ts
│ │ │ │ ├── useEnsName.test.ts
│ │ │ │ ├── useEnsName.ts
│ │ │ │ ├── useEnsResolver.test.ts
│ │ │ │ ├── useEnsResolver.ts
│ │ │ │ ├── useEnsText.test.ts
│ │ │ │ ├── useEnsText.ts
│ │ │ │ ├── useEstimateFeesPerGas.test-d.ts
│ │ │ │ ├── useEstimateFeesPerGas.test.ts
│ │ │ │ ├── useEstimateFeesPerGas.ts
│ │ │ │ ├── useEstimateGas.test-d.ts
│ │ │ │ ├── useEstimateGas.test.ts
│ │ │ │ ├── useEstimateGas.ts
│ │ │ │ ├── useEstimateMaxPriorityFeePerGas.test-d.ts
│ │ │ │ ├── useEstimateMaxPriorityFeePerGas.test.ts
│ │ │ │ ├── useEstimateMaxPriorityFeePerGas.ts
│ │ │ │ ├── useFeeHistory.test-d.ts
│ │ │ │ ├── useFeeHistory.test.ts
│ │ │ │ ├── useFeeHistory.ts
│ │ │ │ ├── useGasPrice.test-d.ts
│ │ │ │ ├── useGasPrice.test.ts
│ │ │ │ ├── useGasPrice.ts
│ │ │ │ ├── useInfiniteReadContracts.test-d.ts
│ │ │ │ ├── useInfiniteReadContracts.test.ts
│ │ │ │ ├── useInfiniteReadContracts.ts
│ │ │ │ ├── usePrepareTransactionRequest.test-d.ts
│ │ │ │ ├── usePrepareTransactionRequest.test.ts
│ │ │ │ ├── usePrepareTransactionRequest.ts
│ │ │ │ ├── useProof.test-d.ts
│ │ │ │ ├── useProof.test.ts
│ │ │ │ ├── useProof.ts
│ │ │ │ ├── usePublicClient.test-d.ts
│ │ │ │ ├── usePublicClient.test.ts
│ │ │ │ ├── usePublicClient.ts
│ │ │ │ ├── useReadContract.test-d.ts
│ │ │ │ ├── useReadContract.test.ts
│ │ │ │ ├── useReadContract.ts
│ │ │ │ ├── useReadContracts.test-d.ts
│ │ │ │ ├── useReadContracts.test.ts
│ │ │ │ ├── useReadContracts.ts
│ │ │ │ ├── useReconnect.test-d.ts
│ │ │ │ ├── useReconnect.test.ts
│ │ │ │ ├── useReconnect.ts
│ │ │ │ ├── useSendCalls.test.ts
│ │ │ │ ├── useSendCalls.ts
│ │ │ │ ├── useSendCallsSync.test.ts
│ │ │ │ ├── useSendCallsSync.ts
│ │ │ │ ├── useSendTransaction.test-d.ts
│ │ │ │ ├── useSendTransaction.test.ts
│ │ │ │ ├── useSendTransaction.ts
│ │ │ │ ├── useSendTransactionSync.test.ts
│ │ │ │ ├── useSendTransactionSync.ts
│ │ │ │ ├── useShowCallsStatus.test.ts
│ │ │ │ ├── useShowCallsStatus.ts
│ │ │ │ ├── useSignMessage.test-d.ts
│ │ │ │ ├── useSignMessage.test.ts
│ │ │ │ ├── useSignMessage.ts
│ │ │ │ ├── useSignTransaction.test-d.ts
│ │ │ │ ├── useSignTransaction.test.ts
│ │ │ │ ├── useSignTransaction.ts
│ │ │ │ ├── useSignTypedData.test-d.ts
│ │ │ │ ├── useSignTypedData.test.ts
│ │ │ │ ├── useSignTypedData.ts
│ │ │ │ ├── useSimulateContract.test-d.ts
│ │ │ │ ├── useSimulateContract.test.ts
│ │ │ │ ├── useSimulateContract.ts
│ │ │ │ ├── useStorageAt.test-d.ts
│ │ │ │ ├── useStorageAt.test.ts
│ │ │ │ ├── useStorageAt.ts
│ │ │ │ ├── useSwitchChain.test-d.ts
│ │ │ │ ├── useSwitchChain.test.ts
│ │ │ │ ├── useSwitchChain.ts
│ │ │ │ ├── useSwitchConnection.test-d.ts
│ │ │ │ ├── useSwitchConnection.test.ts
│ │ │ │ ├── useSwitchConnection.ts
│ │ │ │ ├── useSyncExternalStoreWithTracked.test.tsx
│ │ │ │ ├── useSyncExternalStoreWithTracked.ts
│ │ │ │ ├── useTransaction.test-d.ts
│ │ │ │ ├── useTransaction.test.ts
│ │ │ │ ├── useTransaction.ts
│ │ │ │ ├── useTransactionConfirmations.test-d.ts
│ │ │ │ ├── useTransactionConfirmations.test.ts
│ │ │ │ ├── useTransactionConfirmations.ts
│ │ │ │ ├── useTransactionCount.test-d.ts
│ │ │ │ ├── useTransactionCount.test.ts
│ │ │ │ ├── useTransactionCount.ts
│ │ │ │ ├── useTransactionReceipt.test-d.ts
│ │ │ │ ├── useTransactionReceipt.test.ts
│ │ │ │ ├── useTransactionReceipt.ts
│ │ │ │ ├── useVerifyMessage.test-d.ts
│ │ │ │ ├── useVerifyMessage.test.ts
│ │ │ │ ├── useVerifyMessage.ts
│ │ │ │ ├── useVerifyTypedData.test-d.ts
│ │ │ │ ├── useVerifyTypedData.test.ts
│ │ │ │ ├── useVerifyTypedData.ts
│ │ │ │ ├── useWaitForCallsStatus.test.ts
│ │ │ │ ├── useWaitForCallsStatus.ts
│ │ │ │ ├── useWaitForTransactionReceipt.test-d.ts
│ │ │ │ ├── useWaitForTransactionReceipt.test.ts
│ │ │ │ ├── useWaitForTransactionReceipt.ts
│ │ │ │ ├── useWalletClient.test-d.ts
│ │ │ │ ├── useWalletClient.test.tsx
│ │ │ │ ├── useWalletClient.ts
│ │ │ │ ├── useWatchAsset.test-d.ts
│ │ │ │ ├── useWatchAsset.test.ts
│ │ │ │ ├── useWatchAsset.ts
│ │ │ │ ├── useWatchBlockNumber.test-d.ts
│ │ │ │ ├── useWatchBlockNumber.test.ts
│ │ │ │ ├── useWatchBlockNumber.ts
│ │ │ │ ├── useWatchBlocks.test-d.ts
│ │ │ │ ├── useWatchBlocks.test.ts
│ │ │ │ ├── useWatchBlocks.ts
│ │ │ │ ├── useWatchContractEvent.test-d.ts
│ │ │ │ ├── useWatchContractEvent.test.ts
│ │ │ │ ├── useWatchContractEvent.ts
│ │ │ │ ├── useWatchPendingTransactions.test-d.ts
│ │ │ │ ├── useWatchPendingTransactions.test.ts
│ │ │ │ ├── useWatchPendingTransactions.ts
│ │ │ │ ├── useWriteContract.test-d.ts
│ │ │ │ ├── useWriteContract.test.ts
│ │ │ │ ├── useWriteContract.ts
│ │ │ │ ├── useWriteContractSync.test-d.ts
│ │ │ │ ├── useWriteContractSync.test.ts
│ │ │ │ └── useWriteContractSync.ts
│ │ │ ├── hydrate.ts
│ │ │ ├── tempo/
│ │ │ │ ├── AGENTS.md
│ │ │ │ ├── Connectors.test.ts
│ │ │ │ ├── hooks/
│ │ │ │ │ ├── amm.test.ts
│ │ │ │ │ ├── amm.ts
│ │ │ │ │ ├── dex.test.ts
│ │ │ │ │ ├── dex.ts
│ │ │ │ │ ├── faucet.ts
│ │ │ │ │ ├── fee.test.ts
│ │ │ │ │ ├── fee.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── nonce.test.ts
│ │ │ │ │ ├── nonce.ts
│ │ │ │ │ ├── policy.test.ts
│ │ │ │ │ ├── policy.ts
│ │ │ │ │ ├── reward.test.ts
│ │ │ │ │ ├── reward.ts
│ │ │ │ │ ├── token.test.ts
│ │ │ │ │ └── token.ts
│ │ │ │ └── utils.ts
│ │ │ ├── types/
│ │ │ │ └── properties.ts
│ │ │ ├── utils/
│ │ │ │ ├── getVersion.test.ts
│ │ │ │ ├── getVersion.ts
│ │ │ │ └── query.ts
│ │ │ └── version.ts
│ │ ├── test/
│ │ │ └── setup.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── register-tests/
│ │ ├── react/
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── config.ts
│ │ │ │ ├── createUseSimulateContract.test-d.ts
│ │ │ │ ├── createUseWriteContract.test-d.ts
│ │ │ │ ├── useBlock.test-d.ts
│ │ │ │ ├── useChainId.test-d.ts
│ │ │ │ ├── useChains.test-d.ts
│ │ │ │ ├── useClient.test-d.ts
│ │ │ │ ├── useConfig.test-d.ts
│ │ │ │ ├── useConnect.test-d.ts
│ │ │ │ ├── useConnection.test-d.ts
│ │ │ │ ├── usePrepareTransactionRequest.test-d.ts
│ │ │ │ ├── usePublicClient.ts
│ │ │ │ ├── useReadContract.test-d.ts
│ │ │ │ ├── useReadContracts.test-d.ts
│ │ │ │ ├── useSendTransaction.test-d.ts
│ │ │ │ ├── useSimulateContract.test-d.ts
│ │ │ │ ├── useSwitchChain.test-d.ts
│ │ │ │ ├── useTransaction.test-d.ts
│ │ │ │ ├── useTransactionConfirmations.test-d.ts
│ │ │ │ ├── useTransactionReceipt.test-d.ts
│ │ │ │ ├── useWaitForTransactionReceipt.test-d.ts
│ │ │ │ └── useWriteContract.test-d.ts
│ │ │ └── tsconfig.json
│ │ ├── solid/
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── config.ts
│ │ │ │ ├── useChainId.test-d.ts
│ │ │ │ ├── useChains.test-d.ts
│ │ │ │ ├── useClient.test-d.ts
│ │ │ │ ├── useConfig.test-d.ts
│ │ │ │ ├── useConnect.test-d.ts
│ │ │ │ ├── useConnection.test-d.ts
│ │ │ │ └── useSwitchChain.test-d.ts
│ │ │ └── tsconfig.json
│ │ └── vue/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── config.ts
│ │ │ ├── useChainId.test-d.ts
│ │ │ ├── useChains.test-d.ts
│ │ │ ├── useClient.test-d.ts
│ │ │ ├── useConfig.test-d.ts
│ │ │ ├── useConnect.test-d.ts
│ │ │ ├── useConnection.test-d.ts
│ │ │ ├── useReadContract.test-d.ts
│ │ │ ├── useSendTransaction.test-d.ts
│ │ │ ├── useSimulateContract.test-d.ts
│ │ │ ├── useSwitchChain.test-d.ts
│ │ │ ├── useTransaction.test-d.ts
│ │ │ ├── useTransactionReceipt.test-d.ts
│ │ │ ├── useWaitForTransaction.test-d.ts
│ │ │ └── useWriteContract.test-d.ts
│ │ └── tsconfig.json
│ ├── solid/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── context.ts
│ │ │ ├── errors/
│ │ │ │ ├── base.test.ts
│ │ │ │ ├── base.ts
│ │ │ │ ├── context.test.ts
│ │ │ │ └── context.ts
│ │ │ ├── exports/
│ │ │ │ ├── actions.test.ts
│ │ │ │ ├── actions.ts
│ │ │ │ ├── chains.ts
│ │ │ │ ├── connectors.test.ts
│ │ │ │ ├── connectors.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── query.test.ts
│ │ │ │ └── query.ts
│ │ │ ├── hydrate.ts
│ │ │ ├── primitives/
│ │ │ │ ├── useBalance.test-d.ts
│ │ │ │ ├── useBalance.test.ts
│ │ │ │ ├── useBalance.ts
│ │ │ │ ├── useBlockNumber.test-d.ts
│ │ │ │ ├── useBlockNumber.test.ts
│ │ │ │ ├── useBlockNumber.ts
│ │ │ │ ├── useChainId.test-d.ts
│ │ │ │ ├── useChainId.test.ts
│ │ │ │ ├── useChainId.ts
│ │ │ │ ├── useChains.test.ts
│ │ │ │ ├── useChains.ts
│ │ │ │ ├── useClient.test-d.ts
│ │ │ │ ├── useClient.test.ts
│ │ │ │ ├── useClient.ts
│ │ │ │ ├── useConfig.test-d.ts
│ │ │ │ ├── useConfig.test.ts
│ │ │ │ ├── useConfig.ts
│ │ │ │ ├── useConnect.test-d.ts
│ │ │ │ ├── useConnect.test.ts
│ │ │ │ ├── useConnect.ts
│ │ │ │ ├── useConnection.test-d.ts
│ │ │ │ ├── useConnection.test.ts
│ │ │ │ ├── useConnection.ts
│ │ │ │ ├── useConnectionEffect.test.ts
│ │ │ │ ├── useConnectionEffect.ts
│ │ │ │ ├── useConnections.test.ts
│ │ │ │ ├── useConnections.ts
│ │ │ │ ├── useConnectorClient.test-d.ts
│ │ │ │ ├── useConnectorClient.test.ts
│ │ │ │ ├── useConnectorClient.ts
│ │ │ │ ├── useConnectors.test.ts
│ │ │ │ ├── useConnectors.ts
│ │ │ │ ├── useDisconnect.test-d.ts
│ │ │ │ ├── useDisconnect.test.ts
│ │ │ │ ├── useDisconnect.ts
│ │ │ │ ├── useReconnect.test-d.ts
│ │ │ │ ├── useReconnect.test.ts
│ │ │ │ ├── useReconnect.ts
│ │ │ │ ├── useSwitchChain.test-d.ts
│ │ │ │ ├── useSwitchChain.test.ts
│ │ │ │ ├── useSwitchChain.ts
│ │ │ │ ├── useSwitchConnection.test-d.ts
│ │ │ │ ├── useSwitchConnection.test.ts
│ │ │ │ ├── useSwitchConnection.ts
│ │ │ │ ├── useWatchBlockNumber.test-d.ts
│ │ │ │ ├── useWatchBlockNumber.test.ts
│ │ │ │ └── useWatchBlockNumber.ts
│ │ │ ├── utils/
│ │ │ │ ├── getVersion.test.ts
│ │ │ │ ├── getVersion.ts
│ │ │ │ └── query.ts
│ │ │ └── version.ts
│ │ ├── test/
│ │ │ └── setup.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── test/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── chains.ts
│ │ │ ├── clients.ts
│ │ │ ├── config.ts
│ │ │ ├── constants.ts
│ │ │ ├── exports/
│ │ │ │ ├── index.test-d.ts
│ │ │ │ ├── index.test.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── react.ts
│ │ │ │ ├── solid.ts
│ │ │ │ ├── tempo.ts
│ │ │ │ └── vue.ts
│ │ │ ├── regex.ts
│ │ │ ├── setup.global.ts
│ │ │ ├── setup.global.types.ts
│ │ │ ├── setup.ts
│ │ │ ├── tempo/
│ │ │ │ ├── config.ts
│ │ │ │ ├── setup.global.ts
│ │ │ │ └── setup.ts
│ │ │ ├── utils.ts
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ └── vue/
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── package.json
│ ├── src/
│ │ ├── composables/
│ │ │ ├── useBalance.test-d.ts
│ │ │ ├── useBalance.test.ts
│ │ │ ├── useBalance.ts
│ │ │ ├── useBlockNumber.test-d.ts
│ │ │ ├── useBlockNumber.test.ts
│ │ │ ├── useBlockNumber.ts
│ │ │ ├── useBytecode.test-d.ts
│ │ │ ├── useBytecode.test.ts
│ │ │ ├── useBytecode.ts
│ │ │ ├── useChainId.test-d.ts
│ │ │ ├── useChainId.test.ts
│ │ │ ├── useChainId.ts
│ │ │ ├── useChains.test.ts
│ │ │ ├── useChains.ts
│ │ │ ├── useClient.test-d.ts
│ │ │ ├── useClient.test.ts
│ │ │ ├── useClient.ts
│ │ │ ├── useConfig.test-d.ts
│ │ │ ├── useConfig.test.ts
│ │ │ ├── useConfig.ts
│ │ │ ├── useConnect.test-d.ts
│ │ │ ├── useConnect.test.ts
│ │ │ ├── useConnect.ts
│ │ │ ├── useConnection.test-d.ts
│ │ │ ├── useConnection.test.ts
│ │ │ ├── useConnection.ts
│ │ │ ├── useConnectionEffect.test.ts
│ │ │ ├── useConnectionEffect.ts
│ │ │ ├── useConnections.test.ts
│ │ │ ├── useConnections.ts
│ │ │ ├── useConnectorClient.test-d.ts
│ │ │ ├── useConnectorClient.test.ts
│ │ │ ├── useConnectorClient.ts
│ │ │ ├── useConnectors.test.ts
│ │ │ ├── useConnectors.ts
│ │ │ ├── useDisconnect.test-d.ts
│ │ │ ├── useDisconnect.test.ts
│ │ │ ├── useDisconnect.ts
│ │ │ ├── useEnsAddress.test.ts
│ │ │ ├── useEnsAddress.ts
│ │ │ ├── useEnsAvatar.test.ts
│ │ │ ├── useEnsAvatar.ts
│ │ │ ├── useEnsName.test.ts
│ │ │ ├── useEnsName.ts
│ │ │ ├── useEstimateGas.test-d.ts
│ │ │ ├── useEstimateGas.test.ts
│ │ │ ├── useEstimateGas.ts
│ │ │ ├── useReadContract.test-d.ts
│ │ │ ├── useReadContract.test.ts
│ │ │ ├── useReadContract.ts
│ │ │ ├── useReconnect.test-d.ts
│ │ │ ├── useReconnect.test.ts
│ │ │ ├── useReconnect.ts
│ │ │ ├── useSendTransaction.test-d.ts
│ │ │ ├── useSendTransaction.test.ts
│ │ │ ├── useSendTransaction.ts
│ │ │ ├── useSignMessage.test-d.ts
│ │ │ ├── useSignMessage.test.ts
│ │ │ ├── useSignMessage.ts
│ │ │ ├── useSignTransaction.test-d.ts
│ │ │ ├── useSignTransaction.test.ts
│ │ │ ├── useSignTransaction.ts
│ │ │ ├── useSignTypedData.test-d.ts
│ │ │ ├── useSignTypedData.test.ts
│ │ │ ├── useSignTypedData.ts
│ │ │ ├── useSimulateContract.test-d.ts
│ │ │ ├── useSimulateContract.test.ts
│ │ │ ├── useSimulateContract.ts
│ │ │ ├── useSwitchChain.test-d.ts
│ │ │ ├── useSwitchChain.test.ts
│ │ │ ├── useSwitchChain.ts
│ │ │ ├── useSwitchConnection.test-d.ts
│ │ │ ├── useSwitchConnection.test.ts
│ │ │ ├── useSwitchConnection.ts
│ │ │ ├── useTransaction.test-d.ts
│ │ │ ├── useTransaction.test.ts
│ │ │ ├── useTransaction.ts
│ │ │ ├── useTransactionReceipt.test-d.ts
│ │ │ ├── useTransactionReceipt.test.ts
│ │ │ ├── useTransactionReceipt.ts
│ │ │ ├── useWaitForTransactionReceipt.test-d.ts
│ │ │ ├── useWaitForTransactionReceipt.test.ts
│ │ │ ├── useWaitForTransactionReceipt.ts
│ │ │ ├── useWatchBlockNumber.test-d.ts
│ │ │ ├── useWatchBlockNumber.test.ts
│ │ │ ├── useWatchBlockNumber.ts
│ │ │ ├── useWatchContractEvent.test-d.ts
│ │ │ ├── useWatchContractEvent.test.ts
│ │ │ ├── useWatchContractEvent.ts
│ │ │ ├── useWriteContract.test-d.ts
│ │ │ ├── useWriteContract.test.ts
│ │ │ └── useWriteContract.ts
│ │ ├── errors/
│ │ │ ├── base.test.ts
│ │ │ ├── base.ts
│ │ │ ├── plugin.test.ts
│ │ │ └── plugin.ts
│ │ ├── exports/
│ │ │ ├── actions.test.ts
│ │ │ ├── actions.ts
│ │ │ ├── chains.ts
│ │ │ ├── connectors.test.ts
│ │ │ ├── connectors.ts
│ │ │ ├── index.test.ts
│ │ │ ├── index.ts
│ │ │ ├── nuxt.test.ts
│ │ │ ├── nuxt.ts
│ │ │ ├── query.test.ts
│ │ │ └── query.ts
│ │ ├── nuxt/
│ │ │ ├── module.ts
│ │ │ └── runtime/
│ │ │ └── composables.ts
│ │ ├── plugin.ts
│ │ ├── types/
│ │ │ ├── properties.ts
│ │ │ └── ref.ts
│ │ ├── utils/
│ │ │ ├── cloneDeep.ts
│ │ │ ├── getVersion.test.ts
│ │ │ ├── getVersion.ts
│ │ │ ├── query.ts
│ │ │ └── updateState.ts
│ │ └── version.ts
│ ├── test/
│ │ └── setup.ts
│ ├── tsconfig.build.json
│ └── tsconfig.json
├── playgrounds/
│ ├── next/
│ │ ├── .gitignore
│ │ ├── next.config.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── app/
│ │ │ │ ├── contracts.ts
│ │ │ │ ├── globals.css
│ │ │ │ ├── layout.tsx
│ │ │ │ ├── page.tsx
│ │ │ │ └── providers.tsx
│ │ │ └── wagmi.ts
│ │ └── tsconfig.json
│ ├── nuxt/
│ │ ├── .gitignore
│ │ ├── app.vue
│ │ ├── components/
│ │ │ ├── Connect.vue
│ │ │ └── Connection.vue
│ │ ├── nuxt.config.ts
│ │ ├── package.json
│ │ ├── plugins/
│ │ │ └── wagmi.ts
│ │ ├── server/
│ │ │ └── tsconfig.json
│ │ ├── tsconfig.json
│ │ └── wagmi.ts
│ ├── solid-start/
│ │ ├── .gitignore
│ │ ├── app.config.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── app.css
│ │ │ ├── app.tsx
│ │ │ ├── contracts.ts
│ │ │ ├── entry-client.tsx
│ │ │ ├── entry-server.tsx
│ │ │ ├── global.d.ts
│ │ │ └── wagmi.ts
│ │ └── tsconfig.json
│ ├── tanstack-start/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── contracts.ts
│ │ │ ├── index.css
│ │ │ ├── routeTree.gen.ts
│ │ │ ├── router.tsx
│ │ │ ├── routes/
│ │ │ │ ├── __root.tsx
│ │ │ │ └── index.tsx
│ │ │ └── wagmi.ts
│ │ ├── tsconfig.json
│ │ ├── vite.config.ts
│ │ ├── worker-configuration.d.ts
│ │ └── wrangler.jsonc
│ ├── vite-core/
│ │ ├── .gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── App.tsx
│ │ │ ├── index.css
│ │ │ ├── main.tsx
│ │ │ ├── vite-env.d.ts
│ │ │ └── wagmi.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── vite-react/
│ │ ├── .gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public/
│ │ │ └── manifest.json
│ │ ├── src/
│ │ │ ├── App.tsx
│ │ │ ├── contracts.ts
│ │ │ ├── index.css
│ │ │ ├── main.tsx
│ │ │ ├── vite-env.d.ts
│ │ │ └── wagmi.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ ├── vite.config.ts
│ │ └── wagmi.config.ts
│ ├── vite-solid/
│ │ ├── .gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── App.tsx
│ │ │ ├── contracts.ts
│ │ │ ├── index.css
│ │ │ ├── index.tsx
│ │ │ ├── vite-env.d.ts
│ │ │ └── wagmi.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ └── vite-vue/
│ ├── .gitignore
│ ├── index.html
│ ├── package.json
│ ├── src/
│ │ ├── App.vue
│ │ ├── components/
│ │ │ ├── Balance.vue
│ │ │ ├── BlockNumber.vue
│ │ │ ├── Client.vue
│ │ │ ├── Connect.vue
│ │ │ ├── Connection.vue
│ │ │ ├── Connections.vue
│ │ │ ├── ConnectorClient.vue
│ │ │ ├── ReadContract.vue
│ │ │ ├── SendTransaction.vue
│ │ │ ├── SwitchChain.vue
│ │ │ ├── SwitchConnection.vue
│ │ │ └── WriteContract.vue
│ │ ├── contracts.ts
│ │ ├── main.ts
│ │ ├── style.css
│ │ ├── vite-env.d.ts
│ │ └── wagmi.ts
│ ├── tsconfig.json
│ ├── tsconfig.node.json
│ └── vite.config.ts
├── pnpm-workspace.yaml
├── scripts/
│ ├── formatPackageJson.ts
│ ├── generateProxyPackages.ts
│ ├── preconstruct.ts
│ ├── restorePackageJson.ts
│ ├── updateBlockExplorerPluginChains.ts
│ ├── updateVersion.ts
│ └── updateViemVersion.ts
├── site/
│ ├── .gitignore
│ ├── .vitepress/
│ │ ├── config.ts
│ │ ├── sidebar.ts
│ │ └── theme/
│ │ ├── components/
│ │ │ ├── AsideSponsors.vue
│ │ │ ├── Banner.vue
│ │ │ ├── HomeBanner.vue
│ │ │ └── HomePage.vue
│ │ ├── composables/
│ │ │ └── useSponsors.ts
│ │ ├── index.ts
│ │ └── style.css
│ ├── AGENTS.md
│ ├── cli/
│ │ ├── api/
│ │ │ ├── commands/
│ │ │ │ ├── generate.md
│ │ │ │ └── init.md
│ │ │ ├── commands.md
│ │ │ ├── plugins/
│ │ │ │ ├── actions.md
│ │ │ │ ├── blockExplorer.md
│ │ │ │ ├── etherscan.md
│ │ │ │ ├── fetch.md
│ │ │ │ ├── foundry.md
│ │ │ │ ├── hardhat.md
│ │ │ │ ├── react.md
│ │ │ │ └── sourcify.md
│ │ │ └── plugins.md
│ │ ├── config/
│ │ │ ├── configuring-cli.md
│ │ │ └── options.md
│ │ ├── create-wagmi.md
│ │ ├── getting-started.md
│ │ ├── guides/
│ │ │ └── migrate-from-v1-to-v2.md
│ │ ├── installation.md
│ │ └── why.md
│ ├── components/
│ │ ├── Browsers.vue
│ │ ├── PackageMetadata.vue
│ │ └── SearchChains.vue
│ ├── core/
│ │ ├── api/
│ │ │ ├── actions/
│ │ │ │ ├── call.md
│ │ │ │ ├── connect.md
│ │ │ │ ├── deployContract.md
│ │ │ │ ├── disconnect.md
│ │ │ │ ├── estimateFeesPerGas.md
│ │ │ │ ├── estimateGas.md
│ │ │ │ ├── estimateMaxPriorityFeePerGas.md
│ │ │ │ ├── getBalance.md
│ │ │ │ ├── getBlobBaseFee.md
│ │ │ │ ├── getBlock.md
│ │ │ │ ├── getBlockNumber.md
│ │ │ │ ├── getBlockTransactionCount.md
│ │ │ │ ├── getBytecode.md
│ │ │ │ ├── getCallsStatus.md
│ │ │ │ ├── getCapabilities.md
│ │ │ │ ├── getChainId.md
│ │ │ │ ├── getChains.md
│ │ │ │ ├── getClient.md
│ │ │ │ ├── getConnection.md
│ │ │ │ ├── getConnections.md
│ │ │ │ ├── getConnectorClient.md
│ │ │ │ ├── getConnectors.md
│ │ │ │ ├── getContractEvents.md
│ │ │ │ ├── getEnsAddress.md
│ │ │ │ ├── getEnsAvatar.md
│ │ │ │ ├── getEnsName.md
│ │ │ │ ├── getEnsResolver.md
│ │ │ │ ├── getEnsText.md
│ │ │ │ ├── getFeeHistory.md
│ │ │ │ ├── getGasPrice.md
│ │ │ │ ├── getProof.md
│ │ │ │ ├── getPublicClient.md
│ │ │ │ ├── getStorageAt.md
│ │ │ │ ├── getTransaction.md
│ │ │ │ ├── getTransactionConfirmations.md
│ │ │ │ ├── getTransactionCount.md
│ │ │ │ ├── getTransactionReceipt.md
│ │ │ │ ├── getWalletClient.md
│ │ │ │ ├── multicall.md
│ │ │ │ ├── prepareTransactionRequest.md
│ │ │ │ ├── readContract.md
│ │ │ │ ├── readContracts.md
│ │ │ │ ├── reconnect.md
│ │ │ │ ├── sendCalls.md
│ │ │ │ ├── sendTransaction.md
│ │ │ │ ├── showCallsStatus.md
│ │ │ │ ├── signMessage.md
│ │ │ │ ├── signTransaction.md
│ │ │ │ ├── signTypedData.md
│ │ │ │ ├── simulateContract.md
│ │ │ │ ├── switchChain.md
│ │ │ │ ├── switchConnection.md
│ │ │ │ ├── verifyMessage.md
│ │ │ │ ├── verifyTypedData.md
│ │ │ │ ├── waitForCallsStatus.md
│ │ │ │ ├── waitForTransactionReceipt.md
│ │ │ │ ├── watchAsset.md
│ │ │ │ ├── watchBlockNumber.md
│ │ │ │ ├── watchBlocks.md
│ │ │ │ ├── watchChainId.md
│ │ │ │ ├── watchClient.md
│ │ │ │ ├── watchConnection.md
│ │ │ │ ├── watchConnections.md
│ │ │ │ ├── watchConnectors.md
│ │ │ │ ├── watchContractEvent.md
│ │ │ │ ├── watchPendingTransactions.md
│ │ │ │ ├── watchPublicClient.md
│ │ │ │ ├── writeContract.md
│ │ │ │ └── writeContracts.md
│ │ │ ├── actions.md
│ │ │ ├── chains.md
│ │ │ ├── connectors/
│ │ │ │ ├── baseAccount.md
│ │ │ │ ├── coinbaseWallet.md
│ │ │ │ ├── injected.md
│ │ │ │ ├── metaMask.md
│ │ │ │ ├── mock.md
│ │ │ │ ├── porto.md
│ │ │ │ ├── safe.md
│ │ │ │ └── walletConnect.md
│ │ │ ├── connectors.md
│ │ │ ├── createConfig.md
│ │ │ ├── createConnector.md
│ │ │ ├── createStorage.md
│ │ │ ├── errors.md
│ │ │ ├── transports/
│ │ │ │ ├── custom.md
│ │ │ │ ├── fallback.md
│ │ │ │ ├── http.md
│ │ │ │ ├── unstable_connector.md
│ │ │ │ └── webSocket.md
│ │ │ ├── transports.md
│ │ │ └── utilities/
│ │ │ ├── cookieToInitialState.md
│ │ │ ├── deserialize.md
│ │ │ └── serialize.md
│ │ ├── getting-started.md
│ │ ├── guides/
│ │ │ ├── chain-properties.md
│ │ │ ├── error-handling.md
│ │ │ ├── ethers.md
│ │ │ ├── faq.md
│ │ │ ├── framework-adapters.md
│ │ │ ├── migrate-from-v1-to-v2.md
│ │ │ ├── migrate-from-v2-to-v3.md
│ │ │ ├── testing.md
│ │ │ └── viem.md
│ │ ├── installation.md
│ │ ├── typescript.md
│ │ └── why.md
│ ├── dev/
│ │ ├── contributing.md
│ │ └── creating-connectors.md
│ ├── index.md
│ ├── package.json
│ ├── react/
│ │ ├── api/
│ │ │ ├── WagmiProvider.md
│ │ │ ├── actions.md
│ │ │ ├── chains.md
│ │ │ ├── connectors/
│ │ │ │ ├── baseAccount.md
│ │ │ │ ├── coinbaseWallet.md
│ │ │ │ ├── injected.md
│ │ │ │ ├── metaMask.md
│ │ │ │ ├── mock.md
│ │ │ │ ├── porto.md
│ │ │ │ ├── safe.md
│ │ │ │ └── walletConnect.md
│ │ │ ├── connectors.md
│ │ │ ├── createConfig.md
│ │ │ ├── createStorage.md
│ │ │ ├── errors.md
│ │ │ ├── hooks/
│ │ │ │ ├── useBalance.md
│ │ │ │ ├── useBlobBaseFee.md
│ │ │ │ ├── useBlock.md
│ │ │ │ ├── useBlockNumber.md
│ │ │ │ ├── useBlockTransactionCount.md
│ │ │ │ ├── useBytecode.md
│ │ │ │ ├── useCall.md
│ │ │ │ ├── useCallsStatus.md
│ │ │ │ ├── useCapabilities.md
│ │ │ │ ├── useChainId.md
│ │ │ │ ├── useChains.md
│ │ │ │ ├── useClient.md
│ │ │ │ ├── useConfig.md
│ │ │ │ ├── useConnect.md
│ │ │ │ ├── useConnection.md
│ │ │ │ ├── useConnectionEffect.md
│ │ │ │ ├── useConnections.md
│ │ │ │ ├── useConnectorClient.md
│ │ │ │ ├── useConnectors.md
│ │ │ │ ├── useContractEvents.md
│ │ │ │ ├── useDeployContract.md
│ │ │ │ ├── useDisconnect.md
│ │ │ │ ├── useEnsAddress.md
│ │ │ │ ├── useEnsAvatar.md
│ │ │ │ ├── useEnsName.md
│ │ │ │ ├── useEnsResolver.md
│ │ │ │ ├── useEnsText.md
│ │ │ │ ├── useEstimateFeesPerGas.md
│ │ │ │ ├── useEstimateGas.md
│ │ │ │ ├── useEstimateMaxPriorityFeePerGas.md
│ │ │ │ ├── useFeeHistory.md
│ │ │ │ ├── useGasPrice.md
│ │ │ │ ├── useInfiniteReadContracts.md
│ │ │ │ ├── usePrepareTransactionRequest.md
│ │ │ │ ├── useProof.md
│ │ │ │ ├── usePublicClient.md
│ │ │ │ ├── useReadContract.md
│ │ │ │ ├── useReadContracts.md
│ │ │ │ ├── useReconnect.md
│ │ │ │ ├── useSendCalls.md
│ │ │ │ ├── useSendTransaction.md
│ │ │ │ ├── useShowCallsStatus.md
│ │ │ │ ├── useSignMessage.md
│ │ │ │ ├── useSignTransaction.md
│ │ │ │ ├── useSignTypedData.md
│ │ │ │ ├── useSimulateContract.md
│ │ │ │ ├── useStorageAt.md
│ │ │ │ ├── useSwitchChain.md
│ │ │ │ ├── useSwitchConnection.md
│ │ │ │ ├── useTransaction.md
│ │ │ │ ├── useTransactionConfirmations.md
│ │ │ │ ├── useTransactionCount.md
│ │ │ │ ├── useTransactionReceipt.md
│ │ │ │ ├── useVerifyMessage.md
│ │ │ │ ├── useVerifyTypedData.md
│ │ │ │ ├── useWaitForCallsStatus.md
│ │ │ │ ├── useWaitForTransactionReceipt.md
│ │ │ │ ├── useWalletClient.md
│ │ │ │ ├── useWatchAsset.md
│ │ │ │ ├── useWatchBlockNumber.md
│ │ │ │ ├── useWatchBlocks.md
│ │ │ │ ├── useWatchContractEvent.md
│ │ │ │ ├── useWatchPendingTransactions.md
│ │ │ │ ├── useWriteContract.md
│ │ │ │ └── useWriteContracts.md
│ │ │ ├── hooks.md
│ │ │ ├── transports/
│ │ │ │ ├── custom.md
│ │ │ │ ├── fallback.md
│ │ │ │ ├── http.md
│ │ │ │ ├── unstable_connector.md
│ │ │ │ └── webSocket.md
│ │ │ ├── transports.md
│ │ │ └── utilities/
│ │ │ ├── cookieToInitialState.md
│ │ │ ├── deserialize.md
│ │ │ └── serialize.md
│ │ ├── comparisons.md
│ │ ├── getting-started.md
│ │ ├── guides/
│ │ │ ├── chain-properties.md
│ │ │ ├── connect-wallet.md
│ │ │ ├── error-handling.md
│ │ │ ├── ethers.md
│ │ │ ├── faq.md
│ │ │ ├── migrate-from-v1-to-v2.md
│ │ │ ├── migrate-from-v2-to-v3.md
│ │ │ ├── read-from-contract.md
│ │ │ ├── send-transaction.md
│ │ │ ├── ssr.md
│ │ │ ├── tanstack-query.md
│ │ │ ├── testing.md
│ │ │ ├── viem.md
│ │ │ └── write-to-contract.md
│ │ ├── installation.md
│ │ ├── typescript.md
│ │ └── why.md
│ ├── shared/
│ │ ├── connectors/
│ │ │ ├── baseAccount.md
│ │ │ ├── coinbaseWallet.md
│ │ │ ├── injected.md
│ │ │ ├── metaMask.md
│ │ │ ├── mock.md
│ │ │ ├── porto.md
│ │ │ ├── safe.md
│ │ │ └── walletConnect.md
│ │ ├── create-chain.md
│ │ ├── createConfig.md
│ │ ├── createStorage.md
│ │ ├── errors.md
│ │ ├── faq.md
│ │ ├── getConnection-return-type.md
│ │ ├── installation.md
│ │ ├── migrate-from-v2-to-v3.md
│ │ ├── mutation-imports.md
│ │ ├── mutation-options.md
│ │ ├── mutation-result.md
│ │ ├── query-imports.md
│ │ ├── query-options.md
│ │ ├── query-result.md
│ │ ├── tempo-write-parameters.md
│ │ ├── transports/
│ │ │ ├── custom.md
│ │ │ ├── fallback.md
│ │ │ ├── http.md
│ │ │ ├── unstable_connector.md
│ │ │ └── webSocket.md
│ │ └── utilities/
│ │ ├── cookieToInitialState.md
│ │ ├── deserialize.md
│ │ └── serialize.md
│ ├── snippets/
│ │ ├── abi-event.ts
│ │ ├── abi-infinite-read.ts
│ │ ├── abi-read.ts
│ │ ├── abi-write.ts
│ │ ├── core/
│ │ │ ├── config-chain-properties.ts
│ │ │ ├── config-tempo.ts
│ │ │ └── config.ts
│ │ ├── react/
│ │ │ ├── app.tsx
│ │ │ ├── config-chain-properties.ts
│ │ │ ├── config-tempo.ts
│ │ │ └── config.ts
│ │ ├── solid/
│ │ │ └── config.ts
│ │ ├── typedData.ts
│ │ └── vue/
│ │ ├── App.vue
│ │ ├── config-chain-properties.ts
│ │ ├── config.ts
│ │ └── main.ts
│ ├── solid/
│ │ ├── api/
│ │ │ ├── WagmiProvider.md
│ │ │ ├── actions.md
│ │ │ ├── chains.md
│ │ │ ├── connectors/
│ │ │ │ ├── baseAccount.md
│ │ │ │ ├── injected.md
│ │ │ │ ├── metaMask.md
│ │ │ │ ├── mock.md
│ │ │ │ ├── porto.md
│ │ │ │ ├── safe.md
│ │ │ │ └── walletConnect.md
│ │ │ ├── connectors.md
│ │ │ ├── createConfig.md
│ │ │ ├── createStorage.md
│ │ │ ├── errors.md
│ │ │ ├── primitives/
│ │ │ │ ├── useBalance.md
│ │ │ │ ├── useBlockNumber.md
│ │ │ │ ├── useChainId.md
│ │ │ │ ├── useChains.md
│ │ │ │ ├── useClient.md
│ │ │ │ ├── useConfig.md
│ │ │ │ ├── useConnect.md
│ │ │ │ ├── useConnection.md
│ │ │ │ ├── useConnectionEffect.md
│ │ │ │ ├── useConnections.md
│ │ │ │ ├── useConnectorClient.md
│ │ │ │ ├── useConnectors.md
│ │ │ │ ├── useDisconnect.md
│ │ │ │ ├── useReconnect.md
│ │ │ │ ├── useSwitchChain.md
│ │ │ │ ├── useSwitchConnection.md
│ │ │ │ └── useWatchBlockNumber.md
│ │ │ ├── primitives.md
│ │ │ ├── transports/
│ │ │ │ ├── custom.md
│ │ │ │ ├── fallback.md
│ │ │ │ ├── http.md
│ │ │ │ └── webSocket.md
│ │ │ └── transports.md
│ │ ├── getting-started.md
│ │ ├── guides/
│ │ │ ├── connect-wallet.md
│ │ │ ├── error-handling.md
│ │ │ ├── tanstack-query.md
│ │ │ └── viem.md
│ │ ├── installation.md
│ │ ├── typescript.md
│ │ └── why.md
│ ├── tempo/
│ │ ├── actions/
│ │ │ ├── amm.burn.md
│ │ │ ├── amm.getLiquidityBalance.md
│ │ │ ├── amm.getPool.md
│ │ │ ├── amm.mint.md
│ │ │ ├── amm.rebalanceSwap.md
│ │ │ ├── amm.watchBurn.md
│ │ │ ├── amm.watchMint.md
│ │ │ ├── amm.watchRebalanceSwap.md
│ │ │ ├── dex.buy.md
│ │ │ ├── dex.cancel.md
│ │ │ ├── dex.createPair.md
│ │ │ ├── dex.getBalance.md
│ │ │ ├── dex.getBuyQuote.md
│ │ │ ├── dex.getOrder.md
│ │ │ ├── dex.getSellQuote.md
│ │ │ ├── dex.getTickLevel.md
│ │ │ ├── dex.place.md
│ │ │ ├── dex.placeFlip.md
│ │ │ ├── dex.sell.md
│ │ │ ├── dex.watchFlipOrderPlaced.md
│ │ │ ├── dex.watchOrderCancelled.md
│ │ │ ├── dex.watchOrderFilled.md
│ │ │ ├── dex.watchOrderPlaced.md
│ │ │ ├── dex.withdraw.md
│ │ │ ├── faucet.fund.md
│ │ │ ├── fee.getUserToken.md
│ │ │ ├── fee.setUserToken.md
│ │ │ ├── fee.watchSetUserToken.md
│ │ │ ├── index.md
│ │ │ ├── nonce.getNonce.md
│ │ │ ├── nonce.watchNonceIncremented.md
│ │ │ ├── policy.create.md
│ │ │ ├── policy.getData.md
│ │ │ ├── policy.isAuthorized.md
│ │ │ ├── policy.modifyBlacklist.md
│ │ │ ├── policy.modifyWhitelist.md
│ │ │ ├── policy.setAdmin.md
│ │ │ ├── policy.watchAdminUpdated.md
│ │ │ ├── policy.watchBlacklistUpdated.md
│ │ │ ├── policy.watchCreate.md
│ │ │ ├── policy.watchWhitelistUpdated.md
│ │ │ ├── reward.claim.md
│ │ │ ├── reward.distribute.md
│ │ │ ├── reward.getUserRewardInfo.md
│ │ │ ├── reward.setRecipient.md
│ │ │ ├── reward.watchRewardDistributed.md
│ │ │ ├── reward.watchRewardRecipientSet.md
│ │ │ ├── token.approve.md
│ │ │ ├── token.burn.md
│ │ │ ├── token.burnBlocked.md
│ │ │ ├── token.changeTransferPolicy.md
│ │ │ ├── token.create.md
│ │ │ ├── token.getAllowance.md
│ │ │ ├── token.getBalance.md
│ │ │ ├── token.getMetadata.md
│ │ │ ├── token.grantRoles.md
│ │ │ ├── token.hasRole.md
│ │ │ ├── token.mint.md
│ │ │ ├── token.pause.md
│ │ │ ├── token.renounceRoles.md
│ │ │ ├── token.revokeRoles.md
│ │ │ ├── token.setRoleAdmin.md
│ │ │ ├── token.setSupplyCap.md
│ │ │ ├── token.transfer.md
│ │ │ ├── token.unpause.md
│ │ │ ├── token.watchAdminRole.md
│ │ │ ├── token.watchApprove.md
│ │ │ ├── token.watchBurn.md
│ │ │ ├── token.watchCreate.md
│ │ │ ├── token.watchMint.md
│ │ │ ├── token.watchRole.md
│ │ │ └── token.watchTransfer.md
│ │ ├── chains.md
│ │ ├── connectors/
│ │ │ ├── dangerous_secp256k1.md
│ │ │ ├── index.md
│ │ │ └── webAuthn.md
│ │ ├── getting-started.md
│ │ ├── hooks/
│ │ │ ├── amm.useBurn.md
│ │ │ ├── amm.useLiquidityBalance.md
│ │ │ ├── amm.useMint.md
│ │ │ ├── amm.usePool.md
│ │ │ ├── amm.useRebalanceSwap.md
│ │ │ ├── amm.useWatchBurn.md
│ │ │ ├── amm.useWatchMint.md
│ │ │ ├── amm.useWatchRebalanceSwap.md
│ │ │ ├── dex.useBalance.md
│ │ │ ├── dex.useBuy.md
│ │ │ ├── dex.useBuyQuote.md
│ │ │ ├── dex.useCancel.md
│ │ │ ├── dex.useCreatePair.md
│ │ │ ├── dex.useOrder.md
│ │ │ ├── dex.usePlace.md
│ │ │ ├── dex.usePlaceFlip.md
│ │ │ ├── dex.useSell.md
│ │ │ ├── dex.useSellQuote.md
│ │ │ ├── dex.useTickLevel.md
│ │ │ ├── dex.useWatchFlipOrderPlaced.md
│ │ │ ├── dex.useWatchOrderCancelled.md
│ │ │ ├── dex.useWatchOrderFilled.md
│ │ │ ├── dex.useWatchOrderPlaced.md
│ │ │ ├── dex.useWithdraw.md
│ │ │ ├── faucet.useFund.md
│ │ │ ├── fee.useSetUserToken.md
│ │ │ ├── fee.useUserToken.md
│ │ │ ├── fee.useWatchSetUserToken.md
│ │ │ ├── index.md
│ │ │ ├── nonce.useNonce.md
│ │ │ ├── nonce.useWatchNonceIncremented.md
│ │ │ ├── policy.useCreate.md
│ │ │ ├── policy.useData.md
│ │ │ ├── policy.useIsAuthorized.md
│ │ │ ├── policy.useModifyBlacklist.md
│ │ │ ├── policy.useModifyWhitelist.md
│ │ │ ├── policy.useSetAdmin.md
│ │ │ ├── policy.useWatchAdminUpdated.md
│ │ │ ├── policy.useWatchBlacklistUpdated.md
│ │ │ ├── policy.useWatchCreate.md
│ │ │ ├── policy.useWatchWhitelistUpdated.md
│ │ │ ├── reward.useClaim.md
│ │ │ ├── reward.useDistribute.md
│ │ │ ├── reward.useSetRecipient.md
│ │ │ ├── reward.useUserRewardInfo.md
│ │ │ ├── reward.useWatchRewardDistributed.md
│ │ │ ├── reward.useWatchRewardRecipientSet.md
│ │ │ ├── token.useApprove.md
│ │ │ ├── token.useBurn.md
│ │ │ ├── token.useBurnBlocked.md
│ │ │ ├── token.useChangeTransferPolicy.md
│ │ │ ├── token.useCreate.md
│ │ │ ├── token.useGetAllowance.md
│ │ │ ├── token.useGetBalance.md
│ │ │ ├── token.useGetMetadata.md
│ │ │ ├── token.useGrantRoles.md
│ │ │ ├── token.useHasRole.md
│ │ │ ├── token.useMint.md
│ │ │ ├── token.usePause.md
│ │ │ ├── token.useRenounceRoles.md
│ │ │ ├── token.useRevokeRoles.md
│ │ │ ├── token.useSetRoleAdmin.md
│ │ │ ├── token.useSetSupplyCap.md
│ │ │ ├── token.useTransfer.md
│ │ │ ├── token.useUnpause.md
│ │ │ ├── token.useWatchAdminRole.md
│ │ │ ├── token.useWatchApprove.md
│ │ │ ├── token.useWatchBurn.md
│ │ │ ├── token.useWatchCreate.md
│ │ │ ├── token.useWatchMint.md
│ │ │ ├── token.useWatchRole.md
│ │ │ └── token.useWatchTransfer.md
│ │ └── keyManagers/
│ │ ├── http.md
│ │ ├── index.md
│ │ └── localStorage.md
│ ├── tsconfig.json
│ ├── uno.config.ts
│ ├── vercel.json
│ └── vue/
│ ├── api/
│ │ ├── Nuxt.md
│ │ ├── WagmiPlugin.md
│ │ ├── actions.md
│ │ ├── chains.md
│ │ ├── composables/
│ │ │ ├── useBalance.md
│ │ │ ├── useBlockNumber.md
│ │ │ ├── useBytecode.md
│ │ │ ├── useChainId.md
│ │ │ ├── useChains.md
│ │ │ ├── useClient.md
│ │ │ ├── useConfig.md
│ │ │ ├── useConnect.md
│ │ │ ├── useConnection.md
│ │ │ ├── useConnectionEffect.md
│ │ │ ├── useConnections.md
│ │ │ ├── useConnectorClient.md
│ │ │ ├── useConnectors.md
│ │ │ ├── useDisconnect.md
│ │ │ ├── useEnsAddress.md
│ │ │ ├── useEnsAvatar.md
│ │ │ ├── useEnsName.md
│ │ │ ├── useEstimateGas.md
│ │ │ ├── useReadContract.md
│ │ │ ├── useReconnect.md
│ │ │ ├── useSendTransaction.md
│ │ │ ├── useSignMessage.md
│ │ │ ├── useSignTransaction.md
│ │ │ ├── useSignTypedData.md
│ │ │ ├── useSimulateContract.md
│ │ │ ├── useSwitchChain.md
│ │ │ ├── useSwitchConnection.md
│ │ │ ├── useTransaction.md
│ │ │ ├── useTransactionReceipt.md
│ │ │ ├── useWaitForTransactionReceipt.md
│ │ │ ├── useWatchBlockNumber.md
│ │ │ ├── useWatchContractEvent.md
│ │ │ └── useWriteContract.md
│ │ ├── composables.md
│ │ ├── connectors/
│ │ │ ├── baseAccount.md
│ │ │ ├── coinbaseWallet.md
│ │ │ ├── injected.md
│ │ │ ├── metaMask.md
│ │ │ ├── mock.md
│ │ │ ├── porto.md
│ │ │ ├── safe.md
│ │ │ └── walletConnect.md
│ │ ├── connectors.md
│ │ ├── createConfig.md
│ │ ├── createStorage.md
│ │ ├── errors.md
│ │ ├── transports/
│ │ │ ├── custom.md
│ │ │ ├── fallback.md
│ │ │ ├── http.md
│ │ │ ├── unstable_connector.md
│ │ │ └── webSocket.md
│ │ ├── transports.md
│ │ └── utilities/
│ │ ├── deserialize.md
│ │ └── serialize.md
│ ├── getting-started.md
│ ├── guides/
│ │ ├── chain-properties.md
│ │ ├── connect-wallet.md
│ │ ├── error-handling.md
│ │ ├── faq.md
│ │ ├── read-from-contract.md
│ │ ├── send-transaction.md
│ │ ├── ssr.md
│ │ ├── tanstack-query.md
│ │ ├── viem.md
│ │ └── write-to-contract.md
│ ├── installation.md
│ ├── typescript.md
│ └── why.md
├── tsconfig.base.json
├── tsconfig.json
└── vitest.config.ts
================================================
FILE CONTENTS
================================================
================================================
FILE: .agents/README.md
================================================
@_@
================================================
FILE: .agents/skills/wagmi-development/SKILL.md
================================================
---
name: wagmi-development
description: Creates Wagmi features across all layers - core actions, query options, framework bindings. Use when adding new actions, hooks, or working across packages/core, packages/react, packages/vue.
---
# Wagmi Development
Full-stack patterns for adding Wagmi features. This skill covers Viem-based actions only (not Wagmi config actions).
## Layer Overview
1. **Core Action** (`packages/core/src/actions/`) - Base functionality wrapping Viem
2. **Query Options** (`packages/core/src/query/`) - TanStack Query integration
3. **Framework Bindings** - React (`packages/react/src/hooks/`), Vue (`packages/vue/src/composables/`)
---
## 1. Core Action
### Structure
```ts
import {
type MyActionErrorType as viem_MyActionErrorType,
type MyActionParameters as viem_MyActionParameters,
type MyActionReturnType as viem_MyActionReturnType,
myAction as viem_myAction,
} from 'viem/actions'
import type { Config } from '../createConfig.js'
import type { ChainIdParameter, ConnectorParameter } from '../types/properties.js'
import type { Compute } from '../types/utils.js'
import { getAction } from '../utils/getAction.js'
export type MyActionParameters<config extends Config = Config> = Compute<
ChainIdParameter<config> & viem_MyActionParameters
>
export type MyActionReturnType = viem_MyActionReturnType
export type MyActionErrorType = viem_MyActionErrorType
/** https://wagmi.sh/core/api/actions/myAction */
export async function myAction<config extends Config>(
config: config,
parameters: MyActionParameters<config>,
): Promise<MyActionReturnType> {
const { chainId, ...rest } = parameters
const client = config.getClient({ chainId })
const action = getAction(client, viem_myAction, 'myAction')
return action(rest)
}
```
### Key Rules
- **Viem imports**: Prefix with `viem_` (e.g., `viem_getBalance`)
- **Client access**:
- Read-only: `config.getClient({ chainId })`
- Wallet: `await getConnectorClient(config, { chainId, connector, account })`
- Mixed: Use `getConnectorClient` for account, `getClient` for action (see `estimateGas.ts`)
- **Parameters**: Add `ChainIdParameter<config>` always. Add `ConnectorParameter` for wallet actions.
- **Type params**: Mirror Viem's type params for inference. Use `const` modifier for literal inference (abi, args).
- **Spread**: Omit wagmi-specific props (`chainId`, `connector`) when calling Viem action.
### Testing
**Runtime tests** (`action.test.ts`):
```ts
import { abi, address, config } from '@wagmi/test'
import { expect, test } from 'vitest'
import { myAction } from './myAction.js'
test('default', async () => {
await expect(myAction(config, { /* required params */ })).resolves.toMatchInlineSnapshot(`...`)
})
test('parameters: chainId', async () => { /* test chainId param */ })
test('behavior: error case', async () => { /* test error handling */ })
```
**Type tests** (`action.test-d.ts`) - only if action has type inference:
```ts
import { config } from '@wagmi/test'
import { expectTypeOf, test } from 'vitest'
import { myAction } from './myAction.js'
test('default', async () => {
const result = await myAction(config, { /* params */ })
expectTypeOf(result).toEqualTypeOf<ExpectedType>()
})
```
**Type benchmarks** (`action.bench-d.ts`) - only if action has type inference:
```ts
import { attest } from '@ark/attest'
import { test } from 'vitest'
import type { MyActionParameters } from './myAction.js'
test('default', () => {
type Result = MyActionParameters<typeof abi.erc20, 'balanceOf'>
const res = {} as Result
attest.instantiations([12345, 'instantiations'])
attest(res.args).type.toString.snap(`readonly [account: \`0x\${string}\`]`)
})
```
**Wallet action tests**: Connect before, disconnect after:
```ts
test('default', async () => {
await connect(config, { connector })
await expect(myAction(config, { /* params */ })).resolves.toMatchInlineSnapshot(`...`)
await disconnect(config, { connector })
})
```
---
## 2. Query Options
Query (read-only) or Mutation (wallet) options for TanStack Query.
### Query Structure
```ts
import {
type MyActionErrorType,
type MyActionParameters,
type MyActionReturnType,
myAction,
} from '../actions/myAction.js'
import type { Config } from '../createConfig.js'
import type { ScopeKeyParameter } from '../types/properties.js'
import type { QueryOptions, QueryParameter } from '../types/query.js'
import type { Compute, ExactPartial } from '../types/utils.js'
import { filterQueryOptions, structuralSharing } from './utils.js'
export type MyActionOptions<
config extends Config,
selectData = MyActionData,
> = Compute<ExactPartial<MyActionParameters<config>> & ScopeKeyParameter> &
QueryParameter<MyActionQueryFnData, MyActionErrorType, selectData, MyActionQueryKey<config>>
export function myActionQueryOptions<
config extends Config,
selectData = MyActionData,
>(
config: config,
options: MyActionOptions<config, selectData> = {},
): MyActionQueryOptions<config, selectData> {
return {
...options.query,
enabled: Boolean(options.requiredParam && (options.query?.enabled ?? true)),
queryFn: async (context) => {
const [, { scopeKey: _, ...parameters }] = context.queryKey
if (!parameters.requiredParam) throw new Error('requiredParam is required')
const result = await myAction(config, {
...(parameters as MyActionParameters),
requiredParam: parameters.requiredParam,
})
return result ?? null
},
queryKey: myActionQueryKey(options),
structuralSharing, // include when returning complex objects/arrays
}
}
export type MyActionQueryFnData = Compute<MyActionReturnType>
export type MyActionData = MyActionQueryFnData
export function myActionQueryKey<config extends Config>(
options: Compute<ExactPartial<MyActionParameters<config>> & ScopeKeyParameter> = {},
) {
return ['myAction', filterQueryOptions(options)] as const
}
export type MyActionQueryKey<config extends Config> = ReturnType<typeof myActionQueryKey<config>>
export type MyActionQueryOptions<
config extends Config,
selectData = MyActionData,
> = QueryOptions<MyActionQueryFnData, MyActionErrorType, selectData, MyActionQueryKey<config>>
```
### Mutation Structure
```ts
import type { MutationOptions, MutationParameter } from '../types/query.js'
export type MyActionOptions<config extends Config, context = unknown> = MutationParameter<
MyActionData,
MyActionErrorType,
MyActionVariables<config>,
context
>
export function myActionMutationOptions<config extends Config, context>(
config: config,
options: MyActionOptions<config, context> = {},
): MyActionMutationOptions<config> {
return {
...options.mutation,
mutationFn: async (variables) => {
return myAction(config, variables)
},
mutationKey: ['myAction'],
}
}
export type MyActionMutationOptions<config extends Config> = MutationOptions<
MyActionData,
MyActionErrorType,
MyActionVariables<config>
>
```
### Key Rules
- **ExactPartial vs UnionExactPartial**: Use `ExactPartial` for simple types, `UnionExactPartial` for complex unions (contract actions)
- **enabled**: Based on required params being truthy
- **structuralSharing**: Include when action returns objects/arrays
- **filterQueryOptions**: Filters common non-serializable props. Skip props like `onReplaced` manually in query key.
- **Query key**: Always `['actionName', filterQueryOptions(options)]`
### Testing
```ts
import { config } from '@wagmi/test'
import { expect, test } from 'vitest'
import { myActionQueryOptions } from './myAction.js'
test('default', () => {
expect(myActionQueryOptions(config, {})).toMatchInlineSnapshot(`
{
"enabled": false,
"queryFn": [Function],
"queryKey": ["myAction", {}],
}
`)
})
test('enabled', () => {
expect(myActionQueryOptions(config, { requiredParam: 'value' }).enabled).toBe(true)
})
test('queryFn: calls query fn', async () => {
const options = myActionQueryOptions(config, { requiredParam: 'value' })
const result = await options.queryFn({ queryKey: options.queryKey } as any)
expect(result).toMatchInlineSnapshot(`...`)
})
```
---
## 3. Framework Bindings
### React Query Hook
```ts
'use client'
import type { Config, MyActionErrorType, ResolvedRegister } from '@wagmi/core'
import type { Compute } from '@wagmi/core/internal'
import {
type MyActionData,
type MyActionOptions,
myActionQueryOptions,
} from '@wagmi/core/query'
import type { ConfigParameter } from '../types/properties.js'
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
import { useChainId } from './useChainId.js'
import { useConfig } from './useConfig.js'
export type UseMyActionParameters<
config extends Config = Config,
selectData = MyActionData,
> = Compute<MyActionOptions<config, selectData> & ConfigParameter<config>>
export type UseMyActionReturnType<selectData = MyActionData> =
UseQueryReturnType<selectData, MyActionErrorType>
/** https://wagmi.sh/react/api/hooks/useMyAction */
export function useMyAction<
config extends Config = ResolvedRegister['config'],
selectData = MyActionData,
>(
parameters: UseMyActionParameters<config, selectData> = {},
): UseMyActionReturnType<selectData> {
const config = useConfig(parameters)
const chainId = useChainId({ config })
const options = myActionQueryOptions(config, {
...parameters,
chainId: parameters.chainId ?? chainId,
query: parameters.query,
})
return useQuery(options)
}
```
### React Mutation Hook
```ts
'use client'
import { useMutation } from '@tanstack/react-query'
import type { Config, ResolvedRegister, MyActionErrorType } from '@wagmi/core'
import {
type MyActionData,
type MyActionMutate,
type MyActionMutateAsync,
type MyActionOptions,
type MyActionVariables,
myActionMutationOptions,
} from '@wagmi/core/query'
import type { ConfigParameter } from '../types/properties.js'
import type { UseMutationReturnType } from '../utils/query.js'
import { useConfig } from './useConfig.js'
export type UseMyActionParameters<config extends Config = Config, context = unknown> =
MyActionOptions<config, context> & ConfigParameter<config>
export type UseMyActionReturnType<config extends Config = Config, context = unknown> =
UseMutationReturnType<
MyActionData,
MyActionErrorType,
MyActionVariables<config>,
context,
MyActionMutate<config, context>,
MyActionMutateAsync<config, context>
>
/** https://wagmi.sh/react/api/hooks/useMyAction */
export function useMyAction<
config extends Config = ResolvedRegister['config'],
context = unknown,
>(
parameters: UseMyActionParameters<config, context> = {},
): UseMyActionReturnType<config, context> {
const config = useConfig(parameters)
const options = myActionMutationOptions(config, parameters)
const mutation = useMutation(options)
type Return = UseMyActionReturnType<config, context>
return {
...mutation,
mutate: mutation.mutate as Return['mutate'],
mutateAsync: mutation.mutateAsync as Return['mutateAsync'],
}
}
```
### Vue Composable (Query)
```ts
import type { Config, MyActionErrorType, ResolvedRegister } from '@wagmi/core'
import type { Compute } from '@wagmi/core/internal'
import {
type MyActionData,
type MyActionOptions,
myActionQueryOptions,
} from '@wagmi/core/query'
import { computed } from 'vue'
import type { ConfigParameter } from '../types/properties.js'
import type { DeepMaybeRef } from '../types/ref.js'
import { deepUnref } from '../utils/cloneDeep.js'
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
import { useChainId } from './useChainId.js'
import { useConfig } from './useConfig.js'
export type UseMyActionParameters<
config extends Config = Config,
selectData = MyActionData,
> = Compute<DeepMaybeRef<MyActionOptions<config, selectData> & ConfigParameter<config>>>
export type UseMyActionReturnType<selectData = MyActionData> =
UseQueryReturnType<selectData, MyActionErrorType>
/** https://wagmi.sh/vue/api/composables/useMyAction */
export function useMyAction<
config extends Config = ResolvedRegister['config'],
selectData = MyActionData,
>(
parameters: UseMyActionParameters<config, selectData> = {},
): UseMyActionReturnType<selectData> {
const params = computed(() => deepUnref(parameters))
const config = useConfig(params)
const chainId = useChainId({ config })
const options = computed(() =>
myActionQueryOptions(config as any, {
...params.value,
chainId: params.value.chainId ?? chainId.value,
query: params.value.query,
}),
)
return useQuery(options as any) as any
}
```
### Framework Rules
| Rule | React | Vue |
|------|-------|-----|
| Top directive | `'use client'` | None |
| Parameters wrapper | `Compute<...>` | `Compute<DeepMaybeRef<...>>` |
| Reactivity | Direct | `computed()` + `deepUnref()` |
| Doc URL | `wagmi.sh/react/api/hooks/` | `wagmi.sh/vue/api/composables/` |
**Shared rules:**
- `ResolvedRegister['config']`: Use in function signature only, not type defs
- No `enabled`/`structuralSharing` in hooks: Handled by queryOptions
### Testing
**Query hook test-d.ts**:
```ts
import { abi } from '@wagmi/test'
import { expectTypeOf, test } from 'vitest'
import { useMyAction } from './useMyAction.js'
test('select data', () => {
const result = useMyAction({
/* params */
query: {
select(data) {
expectTypeOf(data).toEqualTypeOf<ExpectedDataType>()
return data
},
},
})
expectTypeOf(result.data).toEqualTypeOf<ExpectedDataType>()
})
```
**Mutation hook test-d.ts**:
```ts
import { expectTypeOf, test } from 'vitest'
import { useMyAction } from './useMyAction.js'
test('context', () => {
const { mutate } = useMyAction({
mutation: {
onMutate(variables) {
expectTypeOf(variables).toMatchTypeOf<{ /* expected shape */ }>()
return { foo: 'bar' }
},
onError(error, variables, context) { /* test types */ },
onSuccess(data, variables, context) { /* test types */ },
onSettled(data, error, variables, context) { /* test types */ },
},
})
mutate({ /* params */ }, {
onSuccess(data, variables, context) { /* test inference */ },
})
})
```
---
## Exports
Add to `exports/index.ts` in respective package:
```ts
// packages/core/src/exports/index.ts
export {
type MyActionParameters,
type MyActionReturnType,
type MyActionErrorType,
myAction,
} from '../actions/myAction.js'
// packages/core/src/exports/query.ts
export {
type MyActionData,
type MyActionOptions,
type MyActionQueryFnData,
type MyActionQueryKey,
type MyActionQueryOptions,
myActionQueryKey,
myActionQueryOptions,
} from '../query/myAction.js'
// packages/react/src/exports/index.ts
export {
type UseMyActionParameters,
type UseMyActionReturnType,
useMyAction,
} from '../hooks/useMyAction.js'
```
---
## Verification
```bash
# Format
pnpm format
# Type check (all or filtered)
pnpm check:types
pnpm --filter @wagmi/core check:types
pnpm --filter wagmi check:types
# Test (all or filtered)
pnpm test
pnpm test --project core
pnpm test --project react
# Update test snapshots
pnpm vitest -u
# Type benchmarks
pnpm bench:types
# Viem version mismatch in test snapshots
pnpm version:update:viem
# Build (all or filtered)
pnpm run clean && pnpm build
pnpm --filter @wagmi/core build
```
================================================
FILE: .changeset/README.md
================================================
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
================================================
FILE: .changeset/brave-hens-rare.md
================================================
---
"wagmi": minor
"@wagmi/vue": patch
"@wagmi/solid": patch
---
Update MetaMask connector from `@metamask/sdk` to the new `@metamask/connect-evm`.
```bash
npm install @metamask/connect-evm
npm uninstall @metamask/sdk
```
================================================
FILE: .changeset/config.json
================================================
{
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "wevm/wagmi" }
],
"commit": false,
"access": "public",
"fixed": [],
"linked": [],
"baseBranch": "main",
"updateInternalDependencies": "minor",
"ignore": [
"*-register",
"@wagmi/test",
"site",
"next-app",
"nuxt-app",
"vite-*"
]
}
================================================
FILE: .changeset/fix-tempo-webauthn-chain-id.md
================================================
---
"@wagmi/core": patch
---
Fixed chainId not being passed to Tempo webAuthn key authorization
================================================
FILE: .changeset/upset-trains-lick.md
================================================
---
"@wagmi/connectors": major
---
Migrated MetaMask connector from `@metamask/sdk` to the new `@metamask/connect-evm` package.
## Breaking Changes
### New Peer Dependency
You must install `@metamask/connect-evm` as a peer dependency:
```bash
npm install @metamask/connect-evm
# or
pnpm add @metamask/connect-evm
```
### Parameter Changes
The connector parameters have been simplified and changed to align with the new SDK.
**Removed options:**
- `dappMetadata` - Use `dapp` instead
- `logging` - Use `debug` instead
- `headless` - Use `ui.headless` instead
- `checkInstallationImmediately`
- `checkInstallationOnAllCalls`
- `preferDesktop` - Use `ui.preferExtension` instead
- `openDeeplink` - Use `mobile.preferredOpenLink` instead
- `extensionOnly`
- `infuraAPIKey`
- `communicationLayerPreference`
- `communicationServerUrl`
- `enableAnalytics`
- `shouldShimWeb3`
- `storage`
- `timer`
- `i18nOptions`
- `modals`
- All communication layer options
**New options:**
- `dapp` - Dapp identification (`{ name: string, url?: string, iconUrl?: string }`)
- `debug` - Enable debug logging (boolean)
- `mobile` - Mobile-specific options:
- `preferredOpenLink` - Custom function to open deeplinks (required for React Native)
- `useDeeplink` - Use `metamask://` deeplink vs `https://metamask.app.link` universal link
- `ui` - UI configuration options:
- `headless` - Disable built-in UI
- `preferExtension` - Prefer browser extension over mobile
- `showInstallModal` - Show install modal when MetaMask is not installed
- `transport` - Transport configuration:
- `extensionId` - Extension ID for browser extension transport
**Preserved options:**
- `connectAndSign` - Shortcut to connect and sign a message
- `connectWith` - Connect with any RPC method
### Migration Example
**Before:**
```ts
import { metaMask } from 'wagmi/connectors'
metaMask({
dappMetadata: {
name: 'My DApp',
url: 'https://mydapp.com',
iconUrl: 'https://mydapp.com/icon.png',
},
logging: { sdk: true },
})
```
**After:**
```ts
import { metaMask } from 'wagmi/connectors'
metaMask({
dapp: {
name: 'My DApp',
url: 'https://mydapp.com',
iconUrl: 'https://mydapp.com/icon.png',
},
debug: true,
})
```
================================================
FILE: .github/CODEOWNERS
================================================
@tmm @jxom
/packages/connectors/src/gemini @mikelxc
/packages/connectors/src/metaMask @wenfix @ffmcgee725 @jiexi @adonesky1 @chakra-guy
/packages/connectors/src/safe @DaniSomoza @dasanra @mikhailxyz @yagopv
/packages/connectors/src/walletConnect @ganchoradkov @glitch-txs @ignaciosantise @tomiir
================================================
FILE: .github/CONTRIBUTING.md
================================================
[View Contributing Guide on wagmi.sh](https://wagmi.sh/dev/contributing)
================================================
FILE: .github/DISCUSSION_TEMPLATE/connector-request.yml
================================================
title: '[Connector Request] '
body:
- type: markdown
attributes:
value: |
Thanks for your interest in contributing a new Connector to the Wagmi! If you haven't already, please read the [Contributing Guidelines](https://wagmi.sh/dev/contributing). Once you submit the form, the Wagmi team will follow up in the discussion thread to discuss next steps.
Please note that in order for connector requests to be accepted, the team creating the Connector must [sponsor Wagmi](https://github.com/sponsors/wevm). It takes time and effort to maintain third-party connectors. Wagmi is an OSS project that depends on sponsors and grants to continue our work. Please get in touch via [dev@wevm.dev](mailto:dev@wevm.dev) if you have questions about sponsoring.
- type: textarea
attributes:
label: What **novel use-case** does the Connector provide?
description: |
A novel use-case is likely one that is not already covered by or not easily extended from another Connector (such as the `injected` or `walletConnect`).
Examples of **novel** use-cases could be a connector that integrates with:
- the injected `window.ethereum` provider (a la `injected`)
- a series of wallets via QR Codes or Mobile Deep Links (a la `walletConnect`)
- a wallet with it's own SDK (a la `coinbaseWallet`)
- hardware wallet(s) via Web USB/Bluetooth
- an Externally Owned Account via a private key or some other method
Examples of **nonnovel** use-cases would be a connector that:
- extends another connector (e.g. `walletConnect`) with no significant differences in functionality other than branding, etc.
placeholder: Info on what makes this connector different.
validations:
required: true
- type: textarea
attributes:
label: Are the Connector's integrations production-ready and generally available?
description: Connectors are intended to be used by consumers in production as part of Wagmi. As such, the Connector and all dependencies must be production-ready and generally available. This means your connector should not rely on non-production software or be restricted to a limited group of users. For example, if your connector requires a wallet that has a closed beta, it is not ready for inclusion in Wagmi.
placeholder: Info about the Connector and any dependencies (e.g. browser extension, wallet app, npm package).
validations:
required: true
- type: checkboxes
attributes:
label: Are you committed to actively maintaining the Connector?
description: It is critical connectors are updated in a timely manner and actively maintained so that users of Wagmi can rely on them in production settings. The Wagmi core team will provide as much assistance as possible to keep connectors up-to-date with breaking changes from Wagmi, but it is your responsibility to ensure that any dependencies and issues/discussions related to the Connector are handled in a timely manner. If this is not done, the Connector could be removed from the future versions.
options:
- label: Yes, my team is or I am committed to actively maintaining the Connector.
required: true
- type: textarea
attributes:
label: Additional comments
description: Feel free to jot down any additional info you think might be helpful.
placeholder: Additional comments, questions, feedback.
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: Bug Report
description: Report bugs or issues.
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! The more info you provide, the more we can help you.
If you are a [Wagmi Sponsor](https://github.com/sponsors/wevm?metadata_campaign=gh_issue), your issues are prioritized.
- type: checkboxes
attributes:
label: Check existing issues
description: By submitting this issue, you checked there isn't [already an issue](https://github.com/wevm/wagmi/issues) for this bug.
options:
- label: I checked there isn't [already an issue](https://github.com/wevm/wagmi/issues) for the bug I encountered.
required: true
- type: textarea
attributes:
label: Describe the bug
description: Clear and concise description of the bug. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: I am doing… What I expect is… What is actually happening…
validations:
required: true
- type: input
id: reproduction
attributes:
label: Link to Minimal Reproducible Example
description: "Please provide a link that can reproduce the problem: [new.wagmi.sh](https://new.wagmi.sh) for runtime issues or [TypeScript Playground](https://www.typescriptlang.org/play) for type issues. For most issues, you will likely get asked to provide a minimal reproducible example so why not add one now :) If a report is vague (e.g. just snippets, generic error message, screenshot, etc.) and has no reproduction, it will receive a \"Needs Reproduction\" label and be auto-closed."
placeholder: https://new.wagmi.sh
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps or code snippets to reproduce the behavior.
validations:
required: false
- type: dropdown
attributes:
label: What Wagmi package(s) are you using?
multiple: true
options:
- 'wagmi'
- '@wagmi/cli'
- '@wagmi/connectors'
- '@wagmi/core'
- '@wagmi/vue'
- 'create-wagmi'
validations:
required: true
- type: input
attributes:
label: Wagmi Package(s) Version(s)
description: What version of the Wagmi packages you selected above are you using? If using multiple, separate with comma (e.g. `wagmi@x.y.z, @wagmi/cli@x.y.z`).
placeholder: x.y.z (do not write `latest`)
validations:
required: true
- type: input
attributes:
label: Viem Version
description: What version of [Viem](https://viem.sh) are you using?
placeholder: x.y.z (do not write `latest`)
validations:
required: true
- type: input
attributes:
label: TypeScript Version
description: What version of TypeScript are you using? Wagmi requires `typescript@>=5`.
placeholder: x.y.z (do not write `latest`)
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: Anything that will give us more context about the issue you are encountering. Framework version (e.g. React, Vue), app framework (e.g. Next.js, Nuxt), bundler, etc.
validations:
required: false
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Get Help
url: https://github.com/wevm/wagmi/discussions/new?category=q-a
about: Ask a question and discuss with other community members.
- name: Feature Request
url: https://github.com/wevm/wagmi/discussions/new?category=ideas
about: Request features or brainstorm ideas for new functionality.
- name: Connector Request
url: https://github.com/wevm/wagmi/discussions/new?category=connector-request
about: Kick off a request for a new connector
================================================
FILE: .github/ISSUE_TEMPLATE/docs_issue.yml
================================================
name: Documentation Issue
description: Tell us about missing or incorrect documentation.
labels: ['Area: Docs']
body:
- type: markdown
attributes:
value: |
Thank you for submitting a documentation request. It helps make Wagmi better.
If it's a small change, like misspelling or example that needs updating, feel free to submit a PR instead of creating this issue.
- type: dropdown
attributes:
label: What is the type of issue?
multiple: true
options:
- Documentation is missing
- Documentation is incorrect
- Documentation is confusing
- Example code is not working
- Something else
- type: textarea
attributes:
label: What is the issue?
validations:
required: true
- type: textarea
attributes:
label: Where did you find it?
description: Please provide the URL(s) where you found this issue.
validations:
required: true
================================================
FILE: .github/README.md
================================================
<!-- > [!IMPORTANT] -->
<!-- > Wagmi is participating in Gitcoin Grants round 21. Consider <a href="https://explorer.gitcoin.co/#/round/42161/389/74">supporting the project</a>. Thank you. 🙏 -->
<br>
<p align="center">
<a href="https://wagmi.sh">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/wagmi/main/.github/logo-dark.svg">
<img alt="wagmi logo" src="https://raw.githubusercontent.com/wevm/wagmi/main/.github/logo-light.svg" width="auto" height="60">
</picture>
</a>
</p>
<p align="center">
Reactive primitives for Ethereum apps
<p>
<p align="center">
<a href="https://www.npmjs.com/package/wagmi">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/wagmi?colorA=21262d&colorB=21262d">
<img src="https://img.shields.io/npm/v/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="Version">
</picture>
</a>
<a href="https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=21262d&labelColor=21262d">
<img src="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=f6f8fa&labelColor=f6f8fa" alt="OpenSSF Best Practices">
</picture>
</a>
<a href="https://www.bestpractices.dev/en/projects/11233">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/openssf_best_practices-passing-21262d?labelColor=21262d">
<img src="https://img.shields.io/badge/openssf_best_practices-passing-f6f8fa?labelColor=f6f8fa" alt="OpenSSF Best Practices">
</picture>
</a>
<br />
<a href="https://github.com/wevm/wagmi/blob/main/LICENSE">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/wagmi?colorA=21262d&colorB=21262d">
<img src="https://img.shields.io/npm/l/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="MIT License">
</picture>
</a>
<a href="https://www.npmjs.com/package/wagmi">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@wagmi/core?colorA=21262d&colorB=21262d">
<img src="https://img.shields.io/npm/dm/@wagmi/core?colorA=f6f8fa&colorB=f6f8fa" alt="Downloads per month">
</picture>
</a>
<a href="https://bestofjs.org/projects/wagmi">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/endpoint?colorA=21262d&colorB=21262d&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fviem%26since=daily">
<img src="https://img.shields.io/endpoint?colorA=f6f8fa&colorB=f6f8fa&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fviem%26since=daily" alt="Best of JS">
</picture>
</a>
<a href="https://app.codecov.io/gh/wevm/wagmi">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/wevm/wagmi?colorA=21262d&colorB=21262d">
<img src="https://img.shields.io/codecov/c/github/wevm/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="Code coverage">
</picture>
</a>
</p>
---
## Documentation
For documentation and guides, visit [wagmi.sh](https://wagmi.sh).
## Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
[Discuss Wagmi on GitHub](https://github.com/wevm/wagmi/discussions)
For casual chit-chat with others using the framework:
[Join the Wagmi Discord](https://discord.gg/SghfWBKexF)
## Contributing
Contributions to Wagmi are greatly appreciated! If you're interested in contributing to Wagmi, please read the [Contributing Guide](https://wagmi.sh/dev/contributing) **before submitting a pull request**.
## Sponsors
If you find Wagmi useful or use it for work, please consider [sponsoring Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support). Thank you 🙏
<p>
<a href="https://paradigm.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-dark.svg">
<img alt="paradigm logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg" width="auto" height="70">
</picture>
</a>
<a href="https://tempo.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/tempo-dark.svg">
<img alt="tempo logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/tempo-light.svg" width="auto" height="70">
</picture>
</a>
</p>
<p>
<a href="https://twitter.com/family">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-dark.svg">
<img alt="family logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://twitter.com/context">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-dark.svg">
<img alt="context logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://dynamic.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-dark.svg">
<img alt="Dynamic logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://sushi.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-dark.svg">
<img alt="Sushi logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://stripe.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-dark.svg">
<img alt="Stripe logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://www.privy.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-dark.svg">
<img alt="Privy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://pancakeswap.finance/">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-dark.svg">
<img alt="pancake logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://pimlico.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-dark.svg">
<img alt="pimlico logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://zora.co">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-dark.svg">
<img alt="zora logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://syndicate.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/syndicate-dark.svg">
<img alt="syndicate logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/syndicate-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://relay.link">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/relay-dark.svg">
<img alt="relay logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/relay-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://polymarket.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/polymarket-dark.svg">
<img alt="polymarket logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/polymarket-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://sequence.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sequence-dark.svg">
<img alt="sequence logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sequence-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://web3auth.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/web3auth-dark.svg">
<img alt="web3auth logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/web3auth-light.svg" width="auto" height="50">
</picture>
</a>
</p>
[Sponsor Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support_bottom)
<br />
<br />
<a href="https://vercel.com/?utm_source=wevm&utm_campaign=oss">
<img src="https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg" alt="Powered by Vercel" height="35">
</a>
================================================
FILE: .github/SECURITY.md
================================================
# Security Policy
## Reporting a Vulnerability
Contact [dev@wevm.dev](mailto:dev@wevm.dev).
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'monthly'
================================================
FILE: .github/pull_request_template.md
================================================
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? -->
<!----------------------------------------------------------------------
Before creating the pull request, please make sure you do the following:
- Read the Contributing Guidelines at https://wagmi.sh/dev/contributing
- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us review it.
- Update the corresponding documentation if needed.
- Include relevant tests that fail without this PR, but pass with it.
Thank you for contributing to Wagmi!
----------------------------------------------------------------------->
================================================
FILE: .github/workflows/changesets.yml
================================================
name: Changesets
on:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify
permissions:
contents: write
uses: ./.github/workflows/verify.yml
secrets: inherit
changesets:
name: Publish
needs: verify
# prevents this action from running on forks
if: github.repository == 'wevm/wagmi'
permissions:
contents: write # to create release (changesets/action)
id-token: write # OpenID Connect token needed for provenance
pull-requests: write # to create pull request (changesets/action)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: PR or publish
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
with:
title: 'chore: version packages'
commit: 'chore: version packages'
createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish canary release
if: steps.changesets.outputs.published != 'true'
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git reset --hard origin/main
pnpm changeset version --no-git-tag --snapshot canary
pnpm changeset:prepublish
pnpm changeset publish --no-git-tag --snapshot canary --tag canary
================================================
FILE: .github/workflows/issue-labeled.yml
================================================
name: Issue Labeled
permissions:
issues: write
on:
issues:
types: [labeled]
jobs:
issue-labeled:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/issue-labeled.yml@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
needs-reproduction-body: |
Hello @${{ github.event.issue.user.login }}.
Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using [StackBlitz](https://new.wagmi.sh), [TypeScript Playground](https://www.typescriptlang.org/play) (for type issues), or a separate minimal GitHub repository.
[Minimal reproductions are required](https://antfu.me/posts/why-reproductions-are-required) as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.
Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.
================================================
FILE: .github/workflows/lock-issue.yml
================================================
name: Lock Issue
permissions:
issues: write
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock-issue:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/lock-issue.yml@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
issue-comment: |
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new [bug report](https://github.com/wevm/wagmi/issues/new?template=bug_report.yml) with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new [discussion thread](https://github.com/wevm/wagmi/discussions).
================================================
FILE: .github/workflows/pull-request.yml
================================================
name: Pull Request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
verify:
name: Verify
permissions:
contents: write
uses: ./.github/workflows/verify.yml
secrets: inherit
publish:
name: Publish preview release
# prevents this action from running on forks
if: github.repository == 'wevm/wagmi'
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: Publish to pkg.pr.new
run: |
pnpm changeset:prepublish
pnpx pkg-pr-new publish --pnpm --compact './packages/*'
env:
PKG_PR_NEW: true
size:
name: Size
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: Report build size
uses: preactjs/compressed-size-action@946a292cd35bd1088e0d7eb92b69d1a8d5b5d76a
with:
pattern: 'packages/**/dist/**'
repo-token: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .github/workflows/scorecard.yml
================================================
name: Scorecard
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '22 13 * * 0'
push:
branches: [ "main" ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@80cb6b56b93de3e779c7d476d9100d06fb87c877 # codeql-bundle-v2.23.2
with:
sarif_file: results.sarif
================================================
FILE: .github/workflows/verify.yml
================================================
name: Verify
on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
name: Check
permissions:
contents: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
token: ${{ secrets.GH_PTOKEN }}
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: Audit dependencies
run: pnpm audit
- name: Check repo
run: pnpm check:repo
- name: Check code
run: pnpm check
- name: Update package versions
run: pnpm version:update
- uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: 'chore: format'
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
build:
name: Build
permissions:
contents: read
needs: check
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: Build
run: pnpm clean && pnpm build
- name: Publint
run: pnpm test:build
- name: Check for unused files, dependencies, and exports
run: pnpm knip --production
types:
name: Types
permissions:
contents: read
needs: check
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
typescript-version: ['5.7.3', '5.8.3', '5.9.3', 'latest']
viem-version: ['2.46.0', 'latest']
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- run: pnpm add -D -w typescript@${{ matrix.typescript-version }} viem@${{ matrix.viem-version }}
- name: Link packages
run: pnpm preconstruct
- name: Check types
run: pnpm check:types
- name: Bench types
run: pnpm bench:types
# Redundant with `pnpm check:types`
# If Vitest adds special features in the future, e.g. type coverage, can add this back!
# - name: Test types
# run: pnpm test:typecheck
test:
name: Test
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
max-parallel: 4
matrix:
shard: [1, 2, 3, 4]
total-shards: [4]
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5
- name: Setup Docker
uses: docker/setup-docker-action@v4
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
with:
version: nightly
- name: Cache Playwright
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install Playwright
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: pnpm exec playwright install chromium --with-deps
- name: Pull Tempo Docker image
run: docker pull ghcr.io/tempoxyz/tempo:latest
- name: Run tests
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08
with:
command: CI=true pnpm test:cov --shard=${{ matrix.shard }}/${{ matrix.total-shards }} --retry=3 --bail=1
max_attempts: 3
timeout_minutes: 5
env:
VITE_MAINNET_FORK_URL: ${{ secrets.VITE_MAINNET_FORK_URL }}
VITE_OPTIMISM_FORK_URL: ${{ secrets.VITE_OPTIMISM_FORK_URL }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
with:
token: ${{ secrets.CODECOV_TOKEN }}
================================================
FILE: .gitignore
================================================
*.vitest-temp.json
.DS_Store
.attest
.next
.nuxt
.pnpm-debug.log*
.tanstack
.wrangler
_
cache
coverage
dist
node_modules
tsconfig.tsbuildinfo
# local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.envrc
# proxy packages
packages/cli/config
packages/cli/plugins
packages/core/actions
packages/core/chains
packages/core/codegen
packages/core/experimental
packages/core/internal
packages/core/query
packages/core/tempo
packages/react/actions
packages/react/chains
packages/react/codegen
packages/react/connectors
packages/react/experimental
packages/react/internal
packages/react/query
packages/react/tempo
packages/solid/actions
packages/solid/chains
packages/solid/connectors
packages/solid/internal
packages/solid/query
packages/vue/actions
packages/vue/chains
packages/vue/connectors
packages/vue/internal
packages/vue/nuxt
packages/vue/query
.vercel
.env*.local
================================================
FILE: .vscode/extensions.json
================================================
{
"recommendations": [
"biomejs.biome",
"orta.vscode-twoslash-queries",
"Vue.volar"
]
}
================================================
FILE: .vscode/settings.json
================================================
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.importModuleSpecifier": "shortest",
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit"
},
"[javascript][javascriptreact][json][typescript][typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
}
}
================================================
FILE: .vscode/workspace.code-workspace
================================================
{
"folders": [
{
"name": "docs",
"path": "../docs"
},
{
"name": "packages",
"path": "../packages"
},
{
"name": "playgrounds",
"path": "../playgrounds"
}
]
}
================================================
FILE: FUNDING.json
================================================
{
"drips": {
"ethereum": {
"ownedBy": "0xd2135CfB216b74109775236E36d4b433F1DF507B"
}
},
"opRetro": {
"projectId": "0xc0615947773148cbc340b175fb9afc98dbb4e0acd31d018b1ee41a5538785abf"
}
}
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2022-present weth, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: biome.json
================================================
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"includes": [
"**",
"!**/CHANGELOG.md",
"!**/pnpm-lock.yaml",
"!**/routeTree.gen.ts",
"!**/tsconfig.base.json",
"!**/worker-configuration.d.ts"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"linter": {
"includes": ["**", "!**/packages/create-wagmi/templates/**/*"],
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useButtonType": "off"
},
"complexity": {
"noImportantStyles": "off"
},
"correctness": {
"noUnusedVariables": "error",
"useExhaustiveDependencies": "error"
},
"performance": {
"noBarrelFile": "error",
"noReExportAll": "error",
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "shorthand"
}
}
},
"suspicious": {
"noArrayIndexKey": "off",
"noConfusingVoidType": "off",
"noExplicitAny": "off",
"noConsole": {
"level": "error",
"options": {
"allow": ["log"]
}
},
"noTsIgnore": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all",
"semicolons": "asNeeded"
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["**/*.vue"],
"linter": {
"rules": {
"correctness": {
"noUnusedImports": "off",
"noUnusedVariables": "off"
}
}
}
},
{
"includes": ["site/snippets/**"],
"linter": {
"rules": {
"correctness": {
"noUnusedImports": "off"
}
}
}
},
{
"includes": ["scripts/**/*.ts"],
"linter": {
"rules": {
"suspicious": {
"noConsole": {
"level": "off",
"options": {
"allow": ["log"]
}
}
}
}
}
},
{
"includes": ["playgrounds/**"],
"linter": {
"rules": {
"style": {
"useNodejsImportProtocol": "off"
}
}
}
}
],
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}
================================================
FILE: package.json
================================================
{
"name": "workspace",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm run --filter @wagmi/core --filter @wagmi/cli --filter create-wagmi build && pnpm run --filter @wagmi/connectors build && pnpm run --filter wagmi --filter @wagmi/solid --filter @wagmi/vue build",
"bench:types": "TYPES=true vitest bench-d.ts",
"changeset:prepublish": "pnpm clean && pnpm version:update && pnpm build && node scripts/formatPackageJson.ts && node scripts/generateProxyPackages.ts",
"changeset:publish": "pnpm changeset:prepublish && changeset publish",
"changeset:version": "changeset version && pnpm version:update && pnpm format",
"check": "biome check --write",
"check:repo": "sherif -i viem",
"check:types": "pnpm run --r --parallel check:types && tsc --noEmit",
"check:unused": "pnpm clean && knip",
"clean": "pnpm run --r --parallel clean && rm -rf packages/**/*.json.tmp",
"deps": "pnpx taze -r",
"deps:ci": "pnpx actions-up",
"dev": "pnpm dev:react",
"dev:cli": "pnpm --filter cli dev",
"dev:core": "pnpm --filter vite-core dev",
"dev:create-wagmi": "pnpm --filter create-wagmi dev",
"dev:next": "pnpm --filter next-app dev",
"dev:nuxt": "pnpm --filter nuxt-app dev",
"dev:react": "pnpm --filter vite-react dev",
"dev:solid": "pnpm --filter vite-solid dev",
"dev:solid-start": "pnpm --filter solid-start-app dev",
"dev:start": "pnpm --filter tanstack-start dev",
"dev:vue": "pnpm --filter vite-vue dev",
"docs:dev": "pnpm --filter site dev",
"format": "biome format --write",
"postinstall": "pnpm preconstruct",
"preconstruct": "node scripts/preconstruct.ts",
"preinstall": "pnpx only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"test": "vitest",
"test:build": "node scripts/generateProxyPackages.ts && pnpm run --r --parallel test:build",
"test:cov": "vitest run --coverage",
"test:update": "vitest --update",
"version:update": "node scripts/updateVersion.ts",
"version:update:viem": "node scripts/updateViemVersion.ts"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@ark/attest": "^0.56.0",
"@biomejs/biome": "^2.2.4",
"@changesets/cli": "^3.0.0-next.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@types/node": "^24.5.1",
"@vitejs/plugin-react": "catalog:",
"@vitest/browser": "^4.0.16",
"@vitest/browser-playwright": "^4.0.16",
"@vitest/coverage-v8": "^4.0.16",
"@wagmi/test": "workspace:*",
"happy-dom": "^20.0.0",
"knip": "^5.69.0",
"playwright": "1.56.1",
"prool": "^0.2.3",
"publint": "^0.3.18",
"react": "catalog:",
"react-dom": "catalog:",
"sherif": "^1.0.0",
"simple-git-hooks": "^2.11.1",
"solid-js": "catalog:",
"testcontainers": "^11.13.0",
"typescript": "^5.9.3",
"viem": "2.47.5",
"vite-plugin-react-fallback-throttle": "^0.1.1",
"vite-plugin-solid": "catalog:",
"vitest": "^4.0.16",
"vitest-browser-react": "^2.0.2"
},
"packageManager": "pnpm@10.22.0",
"devEngines": {
"runtime": {
"name": "node",
"version": "^24.5.1",
"onFail": "download"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm check"
},
"knip": {
"ignore": [
"**/templates/**",
"**/hardhat.config.js",
"packages/**/*.bench-d.ts",
"scripts/**"
],
"ignoreWorkspaces": [
"packages/register-tests/**",
"packages/test",
"playgrounds/**",
"site/**"
],
"workspaces": {
"packages/cli": {
"entry": [
"src/cli.ts!",
"src/exports/{config,index,plugins}.ts!",
"types/*.d.ts!"
],
"ignore": [
"test/{constants,setup,utils}.ts"
]
},
"packages/connectors": {
"entry": "src/exports/index.ts!",
"ignoreDependencies": [
"@base-org/account",
"@coinbase/wallet-sdk",
"@metamask/connect-evm",
"@safe-global/safe-apps-provider",
"@safe-global/safe-apps-sdk",
"@wagmi/core",
"@walletconnect/ethereum-provider",
"porto"
]
},
"packages/core": {
"entry": "src/exports/{actions,chains,codegen,experimental,index,internal,query,tempo}.ts!",
"ignore": [
"test/setup.ts"
],
"ignoreDependencies": [
"@tanstack/query-core",
"ox"
]
},
"packages/create-wagmi": {
"entry": "src/cli.ts!"
},
"packages/react": {
"entry": [
"src/exports/{actions,chains,codegen,connectors,experimental,index,query,tempo}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": [
"test/setup.ts"
]
},
"packages/test": {
"entry": [
"src/setup.ts!",
"src/setup.global.ts!",
"src/setup.global.types.ts!",
"src/exports/{index,react,tempo}.ts!",
"src/tempo/setup.ts!",
"src/tempo/setup.global.ts!"
]
},
"packages/vue": {
"entry": [
"src/exports/{actions,chains,connectors,index,nuxt,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": [
"src/nuxt/runtime/*",
"test/setup.ts"
],
"ignoreDependencies": [
"nuxt"
]
},
"packages/solid": {
"entry": [
"src/exports/{actions,chains,connectors,index,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": [
"test/setup.ts"
]
}
}
}
}
================================================
FILE: packages/cli/CHANGELOG.md
================================================
# @wagmi/cli
## 2.10.0
### Minor Changes
- **Breaking:** Removed `routescan` plugin (former sponsor). If you still need this plugin, vendor the [source code](https://github.com/wevm/wagmi/blob/ed2d473172e8d063f29400b8edcec33e5d21a659/packages/cli/src/plugins/routescan.ts) into your project directly. ([`9dbdd82`](https://github.com/wevm/wagmi/commit/9dbdd8277808eb361fe7fe01ea34e4c6bb85c7a5))
## 2.9.0
### Minor Changes
- Added `includeBroadcasts` option to Foundry plugin to automatically populate deployments mapping from `run-latest.json` files in the `broadcast/` directory. ([#4908](https://github.com/wevm/wagmi/pull/4908))
## 2.8.0
### Minor Changes
- Added option to React plugin to disable generating hooks for each function/event in ABI. ([#4866](https://github.com/wevm/wagmi/pull/4866))
## 2.7.1
### Patch Changes
- Bumped chains for block explorer plugins. ([`ed2d473`](https://github.com/wevm/wagmi/commit/ed2d473172e8d063f29400b8edcec33e5d21a659))
## 2.7.0
### Minor Changes
- Updated block explorer plugins supported chains. ([#4830](https://github.com/wevm/wagmi/pull/4830))
## 2.6.0
### Minor Changes
- Bumped internal deps. ([#4808](https://github.com/wevm/wagmi/pull/4808))
## 2.5.1
### Patch Changes
- [#4773](https://github.com/wevm/wagmi/pull/4773) [`d4c367ca46c508598c997cf229a31593a1e2b8b8`](https://github.com/wevm/wagmi/commit/d4c367ca46c508598c997cf229a31593a1e2b8b8) Thanks [@tmm](https://github.com/tmm)! - Fixed issue with codegen actions/hooks, where `syncConnectedChain: false` did not work as intended.
## 2.5.0
### Minor Changes
- [`1edb09f7b69da3d7819d0e070e875e2c6fe8015d`](https://github.com/wevm/wagmi/commit/1edb09f7b69da3d7819d0e070e875e2c6fe8015d) Thanks [@tmm](https://github.com/tmm)! - Added testnets to `routescan` plugin
## 2.4.0
### Minor Changes
- [#4757](https://github.com/wevm/wagmi/pull/4757) [`aec8a61ef0dfe02421d514bd130505ec13f8d3a0`](https://github.com/wevm/wagmi/commit/aec8a61ef0dfe02421d514bd130505ec13f8d3a0) Thanks [@tmm](https://github.com/tmm)! - Added Routescan plugin.
## 2.3.2
### Patch Changes
- [#4727](https://github.com/wevm/wagmi/pull/4727) [`910e6c6180bd632e65bad348bd0814de5a8cfa4b`](https://github.com/wevm/wagmi/commit/910e6c6180bd632e65bad348bd0814de5a8cfa4b) Thanks [@reallesee](https://github.com/reallesee)! - `fetch` plugin: cleared timeout on fetch error
## 2.3.1
### Patch Changes
- [#4655](https://github.com/wevm/wagmi/pull/4655) [`43241c8417f3c342036bb46ec8e507d052ae2691`](https://github.com/wevm/wagmi/commit/43241c8417f3c342036bb46ec8e507d052ae2691) Thanks [@tmm](https://github.com/tmm)! - Bumped internal deps.
## 2.3.0
### Minor Changes
- [#4629](https://github.com/wevm/wagmi/pull/4629) [`66dec7d75d580b3121ebc7e8162c1f9ae37cfd41`](https://github.com/wevm/wagmi/commit/66dec7d75d580b3121ebc7e8162c1f9ae37cfd41) Thanks [@allezxandre](https://github.com/allezxandre)! - Upgraded to Sourcify v2 API in `sourcify` plugin
## 2.2.1
### Patch Changes
- [`7b0dbe3886c1a7c6dbbdab945d7436ec20ad8f93`](https://github.com/wevm/wagmi/commit/7b0dbe3886c1a7c6dbbdab945d7436ec20ad8f93) Thanks [@tmm](https://github.com/tmm)! - Updated block explorer chains.
## 2.2.0
### Minor Changes
- [#4503](https://github.com/wevm/wagmi/pull/4503) [`8fce8a6f97aa2ee5fd1bda6a3ece422b10324b5a`](https://github.com/wevm/wagmi/commit/8fce8a6f97aa2ee5fd1bda6a3ece422b10324b5a) Thanks [@tmm](https://github.com/tmm)! - Updated Etherscan Plugin to use Etherscan API v2.
- [#4507](https://github.com/wevm/wagmi/pull/4507) [`6f09cc57935891e1c67d6df3459f6998985c69dc`](https://github.com/wevm/wagmi/commit/6f09cc57935891e1c67d6df3459f6998985c69dc) Thanks [@tmm](https://github.com/tmm)! - Added `tryFetchProxyImplementation` flag to Etherscan Plugin to enable fetching the implementation ABI instead of the proxy ABI.
## 2.1.22
### Patch Changes
- [#4462](https://github.com/wevm/wagmi/pull/4462) [`0b2238d27cecbcd33aee64fb0e30ddc18b6ddf74`](https://github.com/wevm/wagmi/commit/0b2238d27cecbcd33aee64fb0e30ddc18b6ddf74) Thanks [@groninge01](https://github.com/groninge01)! - Added Sonic to Etherscan plugin.
## 2.1.21
### Patch Changes
- [#4457](https://github.com/wevm/wagmi/pull/4457) [`21ec74da7f93fc13e253d7b35ddeddc23422a6c1`](https://github.com/wevm/wagmi/commit/21ec74da7f93fc13e253d7b35ddeddc23422a6c1) Thanks [@tmm](https://github.com/tmm)! - Removed internal dependency.
## 2.1.20
### Patch Changes
- [#4450](https://github.com/wevm/wagmi/pull/4450) [`7b9a6bb35881b657a00bdd7ccd7edea32660f5bf`](https://github.com/wevm/wagmi/commit/7b9a6bb35881b657a00bdd7ccd7edea32660f5bf) Thanks [@tmm](https://github.com/tmm)! - Removed internal usage of `fs-extra`.
## 2.1.19
### Patch Changes
- [#4449](https://github.com/wevm/wagmi/pull/4449) [`3fa5c238baa13d948e89974b0bb8530f8fa264fd`](https://github.com/wevm/wagmi/commit/3fa5c238baa13d948e89974b0bb8530f8fa264fd) Thanks [@tmm](https://github.com/tmm)! - Removed `ora` for `nanospinner`.
## 2.1.18
### Patch Changes
- [#4399](https://github.com/wevm/wagmi/pull/4399) [`bc18673e4c272e3b60a1b6016934fe3fbeb6d93a`](https://github.com/wevm/wagmi/commit/bc18673e4c272e3b60a1b6016934fe3fbeb6d93a) Thanks [@tmm](https://github.com/tmm)! - Added Polygon Amoy to Sourcify and Etherscan plugins.
## 2.1.17
### Patch Changes
- [#4370](https://github.com/wevm/wagmi/pull/4370) [`cb58b1ea3ad40e77210f24eb598f9d2306db998c`](https://github.com/wevm/wagmi/commit/cb58b1ea3ad40e77210f24eb598f9d2306db998c) Thanks [@talentlessguy](https://github.com/talentlessguy)! - Bumped internal dependencies.
## 2.1.16
### Patch Changes
- [#4224](https://github.com/wevm/wagmi/pull/4224) [`b0eb89c2a0781bb3434996fa53ee7ceb3bb44db9`](https://github.com/wevm/wagmi/commit/b0eb89c2a0781bb3434996fa53ee7ceb3bb44db9) Thanks [@roderik](https://github.com/roderik)! - Fixed package detection for Bun.
## 2.1.15
### Patch Changes
- [`0bb8b562ae04ecfeb2d6b2f1b980ebae31dc127e`](https://github.com/wevm/wagmi/commit/0bb8b562ae04ecfeb2d6b2f1b980ebae31dc127e) Thanks [@tmm](https://github.com/tmm)! - Improved TypeScript `'exactOptionalPropertyTypes'` support.
## 2.1.14
### Patch Changes
- [#4120](https://github.com/wevm/wagmi/pull/4120) [`59407bf1276a46e6f1f22a370dde71c92524cd0f`](https://github.com/wevm/wagmi/commit/59407bf1276a46e6f1f22a370dde71c92524cd0f) Thanks [@tmm](https://github.com/tmm)! - Fixed an issue where the Foundry and Hardhat plugins' `exclude` option was ignored.
## 2.1.13
### Patch Changes
- [`7264d1f450727f6ba0cbea8aa1c7a83e22a5bf20`](https://github.com/wevm/wagmi/commit/7264d1f450727f6ba0cbea8aa1c7a83e22a5bf20) Thanks [@tmm](https://github.com/tmm)! - Fixed generate not exiting for long-running processes.
## 2.1.12
### Patch Changes
- [`ac038b29623ccb0d2fee40d9f943c8df28138dac`](https://github.com/wevm/wagmi/commit/ac038b29623ccb0d2fee40d9f943c8df28138dac) Thanks [@tmm](https://github.com/tmm)! - Updated Foundry default excludes.
## 2.1.11
### Patch Changes
- [#4084](https://github.com/wevm/wagmi/pull/4084) [`b54203bf8fa911e6f14b9675980cf38fb95d7d3e`](https://github.com/wevm/wagmi/commit/b54203bf8fa911e6f14b9675980cf38fb95d7d3e) Thanks [@tmm](https://github.com/tmm)! - Reduced internal dependencies.
## 2.1.10
### Patch Changes
- [#4051](https://github.com/wevm/wagmi/pull/4051) [`275e78b0e585f0ec9da2f9661ce9990aed18e9f4`](https://github.com/wevm/wagmi/commit/275e78b0e585f0ec9da2f9661ce9990aed18e9f4) Thanks [@tmm](https://github.com/tmm)! - Updated Sourcify plugin internals.
## 2.1.9
### Patch Changes
- [`f9346dbcffaf57a8949cb96e43df111a89d733b1`](https://github.com/wevm/wagmi/commit/f9346dbcffaf57a8949cb96e43df111a89d733b1) Thanks [@tmm](https://github.com/tmm)! - Updated Foundry plugin default excludes.
## 2.1.8
### Patch Changes
- [#3957](https://github.com/wevm/wagmi/pull/3957) [`7d00680f73b090eb34af928ae74277bec1973953`](https://github.com/wevm/wagmi/commit/7d00680f73b090eb34af928ae74277bec1973953) Thanks [@cstoneham](https://github.com/cstoneham)! - Added Blast to Etherscan plugin
## 2.1.7
### Patch Changes
- [`1122678bbad0232590bd4060a73752de2c84982d`](https://github.com/wevm/wagmi/commit/1122678bbad0232590bd4060a73752de2c84982d) Thanks [@tmm](https://github.com/tmm)! - Published unpublished changes in [#3756](https://github.com/wevm/wagmi/pull/3756).
## 2.1.6
### Patch Changes
- [#3756](https://github.com/wevm/wagmi/pull/3756) [`c7d6f467`](https://github.com/wevm/wagmi/commit/c7d6f4679125fd2f6cca5b5ef362abf47e37f934) Thanks [@jrfrantz](https://github.com/jrfrantz)! - Added basescan to etherscan cli plugin
## 2.1.5
### Patch Changes
- [`e1ca4e63`](https://github.com/wevm/wagmi/commit/e1ca4e637ae6cec7f5902b0a2c0e0efc3b751a1d) Thanks [@tmm](https://github.com/tmm)! - Added title to CLI process.
- [#3723](https://github.com/wevm/wagmi/pull/3723) [`d6bc98ca`](https://github.com/wevm/wagmi/commit/d6bc98ca0ce9081f192f62e0b0fcfea3cb07a2bb) Thanks [@leecobaby](https://github.com/leecobaby)! - Broadened TypeScript detection.
## 2.1.4
### Patch Changes
- [#3737](https://github.com/wevm/wagmi/pull/3737) [`11020fed`](https://github.com/wevm/wagmi/commit/11020fedfc68639eace241e328331cff43bf91af) Thanks [@oskarvu](https://github.com/oskarvu)! - Added Gnosis to Etherscan plugin.
## 2.1.3
### Patch Changes
- [#3660](https://github.com/wevm/wagmi/pull/3660) [`11a22a23`](https://github.com/wevm/wagmi/commit/11a22a23d88c025cde9c91610e9ddf62cd4fa650) Thanks [@JazzBashara](https://github.com/JazzBashara)! - Replaced SnowTrace with SnowScan for the Etherscan plugin
## 2.1.2
### Patch Changes
- [#3641](https://github.com/wevm/wagmi/pull/3641) [`0a866403`](https://github.com/wevm/wagmi/commit/0a866403182ea6b8ba7f976c45be294e48fb7de8) Thanks [@cmwhited](https://github.com/cmwhited)! - Added Arbitrum Sepolia testnet to Etherscan plugin
- [#3633](https://github.com/wevm/wagmi/pull/3633) [`a1d3d1ab`](https://github.com/wevm/wagmi/commit/a1d3d1ab2b023c61c0dbb5d7bf867a9fca673630) Thanks [@pegahcarter](https://github.com/pegahcarter)! - Added Fraxtal to Etherscan plugin
- [#3616](https://github.com/wevm/wagmi/pull/3616) [`2a9f4473`](https://github.com/wevm/wagmi/commit/2a9f4473adc5bcdddf388389387ed5459583769e) Thanks [@petermazzocco](https://github.com/petermazzocco)! - Added Holesky Testnet to Etherscan Plugin
## 2.1.1
### Patch Changes
- [#3579](https://github.com/wevm/wagmi/pull/3579) [`a057919c`](https://github.com/wevm/wagmi/commit/a057919ca3942adeed90af2e343403dc5274e84c) Thanks [@FaisalAli19](https://github.com/FaisalAli19)! - Added Optimism Sepolia Etherscan support
## 2.1.0
### Minor Changes
- [#3506](https://github.com/wevm/wagmi/pull/3506) [`134eb4a1`](https://github.com/wevm/wagmi/commit/134eb4a1e0e29aab87bd5c7cdf05b06dfd7c4fc4) Thanks [@vmaark](https://github.com/vmaark)! - Added resolution of TypeScript Wagmi CLI config to determine if TypeScript generated output is allowed.
## 2.0.4
### Patch Changes
- [#3462](https://github.com/wevm/wagmi/pull/3462) [`d25573ea`](https://github.com/wevm/wagmi/commit/d25573ea03358f967953e37c176b220a7b341769) Thanks [@cruzdanilo](https://github.com/cruzdanilo)! - Upgraded dependencies
## 2.0.3
### Patch Changes
- [#3410](https://github.com/wevm/wagmi/pull/3410) [`55e31c3e`](https://github.com/wevm/wagmi/commit/55e31c3e96c2cbd1d9eb44e5a89f4365489c8310) Thanks [@o-az](https://github.com/o-az)! - Fixed actions plugin issue where `functionName` was used instead of `eventName` for generated contract event actions.
## 2.0.2
### Patch Changes
- [#3371](https://github.com/wevm/wagmi/pull/3371) [`8294d9e5`](https://github.com/wevm/wagmi/commit/8294d9e5b358018ba869b2018cd7ed95462e021f) Thanks [@iceanddust](https://github.com/iceanddust)! - Fixed prop name when generating contract event watch hooks
## 2.0.1
### Major Changes
- [#3333](https://github.com/wevm/wagmi/pull/3333) [`b3a0baaa`](https://github.com/wevm/wagmi/commit/b3a0baaaee7decf750d376aab2502cd33ca4825a) Thanks [@tmm](https://github.com/tmm)! - Wagmi CLI 2.0.
[Breaking Changes & Migration Guide](https://wagmi.sh/cli/guides/migrate-from-v1-to-v2)
## 1.5.2
### Patch Changes
- [#3051](https://github.com/wagmi-dev/wagmi/pull/3051) [`4704d351`](https://github.com/wagmi-dev/wagmi/commit/4704d351164d39704a4e375c06525554fcc8340e) Thanks [@oxSaturn](https://github.com/oxSaturn)! - Fixed ESM require issue for prettier
## 1.5.1
### Patch Changes
- [#3035](https://github.com/wagmi-dev/wagmi/pull/3035) [`187bf96c`](https://github.com/wagmi-dev/wagmi/commit/187bf96c9fd31675b9d17a7cb4d4e24eea3fa777) Thanks [@cruzdanilo](https://github.com/cruzdanilo)! - ignore foundry invariant lib
## 1.5.0
### Minor Changes
- [#2956](https://github.com/wevm/wagmi/pull/2956) [`2abeb285`](https://github.com/wevm/wagmi/commit/2abeb285674af3e539cc2550b1f5027b1eb0c895) Thanks [@tmm](https://github.com/tmm)! - Replaced `@wagmi/chains` with `viem/chains`.
## 1.4.1
### Patch Changes
- [#2962](https://github.com/wevm/wagmi/pull/2962) [`8ac5b572`](https://github.com/wevm/wagmi/commit/8ac5b57254f77eeb0e07dd83f7d49f396d4581d8) Thanks [@tmm](https://github.com/tmm)! - Fixed esbuild version
## 1.4.0
### Minor Changes
- [#2946](https://github.com/wevm/wagmi/pull/2946) [`1c3228bf`](https://github.com/wevm/wagmi/commit/1c3228bf3fe99b0900b2c9a223c9b81c70bdcd90) Thanks [@tomquirk](https://github.com/tomquirk)! - Added default chain ID to generated `useContractRead` hook.
### Patch Changes
- [#2547](https://github.com/wevm/wagmi/pull/2547) [`8c3889fe`](https://github.com/wevm/wagmi/commit/8c3889fe82c5a1ddb29e74e3863ea6f4917b777a) Thanks [@Iamshankhadeep](https://github.com/Iamshankhadeep)! - Deterministic CLI output
- [#2958](https://github.com/wevm/wagmi/pull/2958) [`b31f36d5`](https://github.com/wevm/wagmi/commit/b31f36d522a634f53d44349d6a9ea47f59d84d7a) Thanks [@tmm](https://github.com/tmm)! - Removed generated file header
- [#2960](https://github.com/wevm/wagmi/pull/2960) [`5d4c4592`](https://github.com/wevm/wagmi/commit/5d4c4592009568cd0b096906a424f27469721a42) Thanks [@tmm](https://github.com/tmm)! - Updated esbuild version
## 1.3.0
### Minor Changes
- [#2616](https://github.com/wevm/wagmi/pull/2616) [`c282a8f7`](https://github.com/wevm/wagmi/commit/c282a8f786d57fec77c931fe99dc20220e843bc8) Thanks [@portdeveloper](https://github.com/portdeveloper)! - Added sepolia chain id
## 1.2.1
### Patch Changes
- [#2607](https://github.com/wevm/wagmi/pull/2607) [`79335b4c`](https://github.com/wevm/wagmi/commit/79335b4c0fcd5e8152a2a1d28314c634db9d9cbf) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed opitmism goerli chain id
## 1.2.0
### Minor Changes
- [#2536](https://github.com/wevm/wagmi/pull/2536) [`85e9760a`](https://github.com/wevm/wagmi/commit/85e9760a140cb169ac6236d9466b96e2105dd193) Thanks [@tmm](https://github.com/tmm)! - Changed `Address` type import from ABIType to viem.
## 1.1.0
### Minor Changes
- [#2482](https://github.com/wevm/wagmi/pull/2482) [`8764b54a`](https://github.com/wevm/wagmi/commit/8764b54aab68020063946112e8fe52aff650c99c) Thanks [@tmm](https://github.com/tmm)! - Bumped minimum TypeScript version to v5.0.4.
### Patch Changes
- [#2484](https://github.com/wevm/wagmi/pull/2484) [`3adf1f4f`](https://github.com/wevm/wagmi/commit/3adf1f4feab863cb7b5d52c81ad46f7e4eb56f09) Thanks [@jxom](https://github.com/jxom)! - Updated `abitype` to 0.8.7
- [#2484](https://github.com/wevm/wagmi/pull/2484) [`3adf1f4f`](https://github.com/wevm/wagmi/commit/3adf1f4feab863cb7b5d52c81ad46f7e4eb56f09) Thanks [@jxom](https://github.com/jxom)! - Updated references.
## 1.0.3
### Patch Changes
- [#2441](https://github.com/wevm/wagmi/pull/2441) [`326edee4`](https://github.com/wevm/wagmi/commit/326edee4bc85db84a7a4e3768e33785849ab8d8e) Thanks [@tmm](https://github.com/tmm)! - Fixed internal type issue
## 1.0.2
### Patch Changes
- [#2430](https://github.com/wevm/wagmi/pull/2430) [`71d92029`](https://github.com/wevm/wagmi/commit/71d92029ee4344842cd41698858a330fee95b6e0) Thanks [@tmm](https://github.com/tmm)! - Added message when command is not found.
## 1.0.1
### Patch Changes
- [`ea651cd7`](https://github.com/wevm/wagmi/commit/ea651cd7fc75b7866272605467db11fd6e1d81af) Thanks [@jxom](https://github.com/jxom)! - Downgraded abitype.
## 1.0.0
### Major Changes
- [#2235](https://github.com/wevm/wagmi/pull/2235) [`5be0655c`](https://github.com/wevm/wagmi/commit/5be0655c8e48b25d38009022461fbf611af54349) Thanks [@jxom](https://github.com/jxom)! - Released v1. Read [Migration Guide](https://next.wagmi.sh/react/migration-guide#1xx-breaking-changes).
## 1.0.0-next.7
### Patch Changes
- Fixed react plugin generic.
## 1.0.0-next.6
### Major Changes
- Updated references.
## 1.0.0-next.5
### Major Changes
- Added `config.setConnectors`
## 1.0.0-next.4
### Major Changes
- Updated viem.
Removed `goerli` export from main entrypoint.
## 1.0.0-next.3
### Major Changes
- Updated references.
## 1.0.0-next.2
### Major Changes
- Updated dependencies
### Patch Changes
- Updated dependencies []:
- @wagmi/chains@1.0.0-next.0
## 1.0.0-next.1
### Major Changes
- updated viem
## 1.0.0-next.0
### Major Changes
- [`a7dda00c`](https://github.com/wevm/wagmi/commit/a7dda00c5b546f8b2c42b527e4d9ac1b9e9ab1fb) Thanks [@jxom](https://github.com/jxom)! - Released v1.
### Patch Changes
- Updated dependencies [[`a7dda00c`](https://github.com/wevm/wagmi/commit/a7dda00c5b546f8b2c42b527e4d9ac1b9e9ab1fb)]:
- @wagmi/core@1.0.0-next.0
- wagmi@1.0.0-next.0
## 0.1.15
### Patch Changes
- [#2145](https://github.com/wevm/wagmi/pull/2145) [`2520743c`](https://github.com/wevm/wagmi/commit/2520743c417a158a00d5edca13a9aa92cefb0cfd) Thanks [@tmm](https://github.com/tmm)! - Fixed issue using Hardhat Plugin with npm.
## 0.1.14
### Patch Changes
- [#2039](https://github.com/wevm/wagmi/pull/2039) [`bac893ab`](https://github.com/wevm/wagmi/commit/bac893ab26012d4d8741c4f80e8b8813aee26f0c) Thanks [@tmm](https://github.com/tmm)! - Updated references.
- [#2039](https://github.com/wevm/wagmi/pull/2039) [`bac893ab`](https://github.com/wevm/wagmi/commit/bac893ab26012d4d8741c4f80e8b8813aee26f0c) Thanks [@tmm](https://github.com/tmm)! - Fixed Actions plugin `overridePackageName` option.
## 0.1.13
### Patch Changes
- [#2000](https://github.com/wevm/wagmi/pull/2000) [`01254765`](https://github.com/wevm/wagmi/commit/01254765eb37b77aca26500c00c721f08a260912) Thanks [@tmm](https://github.com/tmm)! - Fixed React plugin name conflict.
## 0.1.12
### Patch Changes
- [#1992](https://github.com/wevm/wagmi/pull/1992) [`efc93cad`](https://github.com/wevm/wagmi/commit/efc93cadacdb9c9960644dabe4ae837d384df52b) Thanks [@tmm](https://github.com/tmm)! - Refactored internals from ethers to viem.
## 0.1.11
### Patch Changes
- [#1916](https://github.com/wevm/wagmi/pull/1916) [`950490fd`](https://github.com/wevm/wagmi/commit/950490fd132b3fb5b3455e77b58d70f134b8e5c9) Thanks [@technophile-04](https://github.com/technophile-04)! - Updated React plugin to use `Address` type instead of hardcoding `` `0x{string}` ``.
## 0.1.10
### Patch Changes
- [#1892](https://github.com/wevm/wagmi/pull/1892) [`d3d6973b`](https://github.com/wevm/wagmi/commit/d3d6973ba9407e490140d2434eb83aad88d6e10d) Thanks [@greg-schrammel](https://github.com/greg-schrammel)! - Fixed generated read hooks `select` type.
## 0.1.9
### Patch Changes
- [#1886](https://github.com/wevm/wagmi/pull/1886) [`36e119c6`](https://github.com/wevm/wagmi/commit/36e119c6d4bc28a7ae15c9602d0c613bc9681356) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed package detection for yarn^3
## 0.1.8
### Patch Changes
- [#1884](https://github.com/wevm/wagmi/pull/1884) [`cc03bb44`](https://github.com/wevm/wagmi/commit/cc03bb44268874f95203de67f6d32586e34c0857) Thanks [@roninjin10](https://github.com/roninjin10)! - Added better compatibility for yarn@^3 in `@wagmi/cli`.
## 0.1.7
### Patch Changes
- [#1841](https://github.com/wevm/wagmi/pull/1841) [`cb707f01`](https://github.com/wevm/wagmi/commit/cb707f01cbdcc62a70cf5c8a162d77948d6b6a56) Thanks [@tmm](https://github.com/tmm)! - Added [Sourcify](https://sourcify.dev) CLI plugin.
## 0.1.6
### Patch Changes
- [#1803](https://github.com/wevm/wagmi/pull/1803) [`09b13538`](https://github.com/wevm/wagmi/commit/09b13538abcde879034293cae39551c30cc81445) Thanks [@shotaronowhere](https://github.com/shotaronowhere)! - Swapped deprecated Arbitrum Rinkeby for Arbitrum Goerli URL for Etherscan Plugin.
## 0.1.5
### Patch Changes
- [#1788](https://github.com/wevm/wagmi/pull/1788) [`c3e16d82`](https://github.com/wevm/wagmi/commit/c3e16d82c9c39b8b1c2f3c51037e11d642a20cd6) Thanks [@tmm](https://github.com/tmm)! - Fixed CLI import
## 0.1.4
### Patch Changes
- [#1779](https://github.com/wevm/wagmi/pull/1779) [`97346750`](https://github.com/wevm/wagmi/commit/973467505dc2bb46198a3e9fe6072306170d24c0) Thanks [@tmm](https://github.com/tmm)! - Made `project` optional for Foundry plugin
## 0.1.3
### Patch Changes
- [#1754](https://github.com/wevm/wagmi/pull/1754) [`298728b5`](https://github.com/wevm/wagmi/commit/298728b5918fa15b6b5b082597204a268d4b01f1) Thanks [@tmm](https://github.com/tmm)! - Updated project resolution for Foundry and Hardhat plugins.
- [#1738](https://github.com/wevm/wagmi/pull/1738) [`37c221d0`](https://github.com/wevm/wagmi/commit/37c221d0f4d175084e23a6b172d72f177bfa0c81) Thanks [@roninjin10](https://github.com/roninjin10)! - Added automatic Foundry config detection for artifacts directory.
## 0.1.2
### Patch Changes
- [#1743](https://github.com/wevm/wagmi/pull/1743) [`379315fa`](https://github.com/wevm/wagmi/commit/379315fa359c3118b5d200ec50db3812b0cdd984) Thanks [@kyscott18](https://github.com/kyscott18)! - Add celoscan to `etherscan` plugin
## 0.1.1
### Patch Changes
- [#1736](https://github.com/wevm/wagmi/pull/1736) [`7c43e431`](https://github.com/wevm/wagmi/commit/7c43e431e2eb970610cc6490cee6a4093655a683) Thanks [@tmm](https://github.com/tmm)! - Fixed generated address object key type.
## 0.1.0
### Minor Changes
- [#1732](https://github.com/wevm/wagmi/pull/1732) [`01e21897`](https://github.com/wevm/wagmi/commit/01e2189747a5c22dc758c6d719b4145adc2a643c) Thanks [@tmm](https://github.com/tmm)! - Initial release
================================================
FILE: packages/cli/README.md
================================================
# @wagmi/cli
Manage and generate code from Ethereum ABIs
## Installation
```bash
pnpm add @wagmi/cli
```
## Documentation
For documentation and guides, visit [wagmi.sh](https://wagmi.sh).
================================================
FILE: packages/cli/package.json
================================================
{
"name": "@wagmi/cli",
"description": "Manage and generate code from Ethereum ABIs",
"version": "2.10.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wevm/wagmi.git",
"directory": "packages/cli"
},
"scripts": {
"build": "pnpm run build:esm+types",
"build:esm+types": "tsc --project tsconfig.build.json --outDir ./dist/esm --declaration --declarationMap --declarationDir ./dist/types",
"check:types": "tsc --noEmit",
"clean": "rm -rf dist tsconfig.tsbuildinfo config plugins",
"dev": "bun src/cli.ts",
"test:build": "publint --strict && attw --pack --ignore-rules cjs-resolves-to-esm"
},
"files": [
"dist/**",
"!dist/**/*.tsbuildinfo",
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts",
"/config",
"/plugins"
],
"bin": {
"wagmi": "./dist/esm/cli.js"
},
"sideEffects": false,
"type": "module",
"main": "./dist/esm/exports/index.js",
"types": "./dist/types/exports/index.d.ts",
"typings": "./dist/types/exports/index.d.ts",
"exports": {
".": {
"types": "./dist/types/exports/index.d.ts",
"default": "./dist/esm/exports/index.js"
},
"./config": {
"types": "./dist/types/exports/config.d.ts",
"default": "./dist/esm/exports/config.js"
},
"./plugins": {
"types": "./dist/types/exports/plugins.d.ts",
"default": "./dist/esm/exports/plugins.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"config": [
"./dist/types/exports/config.d.ts"
],
"plugins": [
"./dist/types/exports/plugins.d.ts"
]
}
},
"peerDependencies": {
"typescript": ">=5.7.3"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"dependencies": {
"abitype": "^1.1.1",
"bundle-require": "^5.1.0",
"cac": "^6.7.14",
"change-case": "^5.4.4",
"chokidar": "4.0.1",
"dedent": "^0.7.0",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
"esbuild": "~0.25.4",
"escalade": "3.2.0",
"fdir": "^6.1.1",
"nanospinner": "1.2.2",
"pathe": "^1.1.2",
"picocolors": "^1.0.0",
"picomatch": "^3.0.0",
"prettier": "^3.0.3",
"viem": "2.x",
"zod": "^4.1.11"
},
"devDependencies": {
"@types/dedent": "^0.7.2",
"@types/node": "^24.5.1",
"fixturez": "^1.1.0",
"msw": "^2.4.9"
},
"contributors": [
"awkweb.eth <t@wevm.dev>",
"jxom.eth <j@wevm.dev>"
],
"funding": "https://github.com/sponsors/wevm",
"keywords": [
"wagmi",
"eth",
"ethereum",
"dapps",
"wallet",
"web3",
"cli"
]
}
================================================
FILE: packages/cli/src/cli.ts
================================================
#!/usr/bin/env node
import { cac } from 'cac'
import { type Generate, generate } from './commands/generate.js'
import { type Init, init } from './commands/init.js'
import * as logger from './logger.js'
import { version } from './version.js'
const cli = cac('wagmi')
cli
.command('generate', 'generate code based on configuration')
.option('-c, --config <path>', '[string] path to config file')
.option('-r, --root <path>', '[string] root path to resolve config from')
.option('-w, --watch', '[boolean] watch for changes')
.example((name) => `${name} generate`)
.action(async (options: Generate) => {
await generate(options)
if (!options.watch) process.exit(0)
})
cli
.command('init', 'create configuration file')
.option('-c, --config <path>', '[string] path to config file')
.option('-r, --root <path>', '[string] root path to resolve config from')
.example((name) => `${name} init`)
.action(async (options: Init) => {
await init(options)
process.exit(0)
})
cli.help()
cli.version(version)
void (async () => {
try {
process.title = 'node (wagmi)'
} catch {}
try {
// Parse CLI args without running command
cli.parse(process.argv, { run: false })
if (!cli.matchedCommand) {
if (cli.args.length === 0) {
if (!cli.options.help && !cli.options.version) cli.outputHelp()
} else throw new Error(`Unknown command: ${cli.args.join(' ')}`)
}
await cli.runMatchedCommand()
} catch (error) {
logger.error(`\n${(error as Error).message}`)
process.exit(1)
}
})()
================================================
FILE: packages/cli/src/commands/generate.test.ts
================================================
import { readFile } from 'node:fs/promises'
import dedent from 'dedent'
import { resolve } from 'pathe'
import { afterEach, beforeEach, expect, test, vi } from 'vitest'
import { createFixture, typecheck, watchConsole } from '../../test/utils.js'
import { generate } from './generate.js'
let console: ReturnType<typeof watchConsole>
beforeEach(() => {
console = watchConsole()
vi.useFakeTimers()
const date = new Date(2023, 0, 30, 12)
vi.setSystemTime(date)
})
afterEach(() => {
vi.restoreAllMocks()
vi.useRealTimers()
})
test('generates output', async () => {
const { dir } = await createFixture({
files: {
tsconfig: true,
'wagmi.config.js': dedent`
export default {
out: 'generated.js',
contracts: [
{
abi: [],
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await generate()
expect(console.formatted).toMatchInlineSnapshot(`
"- Validating plugins
√ Validating plugins
- Resolving contracts
√ Resolving contracts
- Running plugins
√ Running plugins
- Writing to generated.js
√ Writing to generated.js"
`)
})
test('generates typescript output', async () => {
const { dir, paths } = await createFixture({
files: {
tsconfig: true,
'wagmi.config.ts': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await generate()
expect(console.formatted).toMatchInlineSnapshot(`
"- Validating plugins
√ Validating plugins
- Resolving contracts
√ Resolving contracts
- Running plugins
√ Running plugins
- Writing to generated.ts
√ Writing to generated.ts"
`)
await expect(typecheck(paths.tsconfig)).resolves.toMatchInlineSnapshot('""')
})
test('generates output with plugin', async () => {
const { dir } = await createFixture({
files: {
tsconfig: true,
'wagmi.config.ts': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
],
plugins: [
{
name: 'Test',
async run({ contracts, isTypeScript, outputs }) {
return {
imports: '/* imports test */',
prepend: '/* prepend test */',
content: '/* content test */',
}
},
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await generate()
expect(console.formatted).toMatchInlineSnapshot(`
"- Validating plugins
√ Validating plugins
- Resolving contracts
√ Resolving contracts
- Running plugins
√ Running plugins
- Writing to generated.ts
√ Writing to generated.ts"
`)
/* eslint-disable no-irregular-whitespace */
await expect(
readFile(resolve(dir, 'generated.ts'), 'utf8'),
).resolves.toMatchInlineSnapshot(`
"/* imports test */
/* prepend test */
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Foo
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
export const fooAbi = [] as const
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Test
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* content test */
"
`)
/* eslint-enable no-irregular-whitespace */
})
test('behavior: invalid cli options', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(
generate({
// @ts-expect-error possible to pass untyped options through from cli
config: 1,
}),
).rejects.toThrowErrorMatchingInlineSnapshot(`
[Error: Invalid option
- Invalid input: expected string, received number at \`config\`]
`)
})
test('behavior: config not found', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(
'[Error: Config not found]',
)
})
test('behavior: config not found for path', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
try {
await generate({ config: 'wagmi.config.js' })
} catch (error) {
expect(
(error as Error).message.replace(dir, 'path/to/project'),
).toMatchInlineSnapshot('"Config not found at wagmi.config.js"')
}
})
test('behavior: config out not unique', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default [
{
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
]
},
{
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
],
},
]
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(
`[Error: out "generated.ts" must be unique.]`,
)
})
test('behavior: config contract names not unique', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
{
abi: [],
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(
`[Error: Contract name "Foo" must be unique.]`,
)
})
test('behavior: displays message if no contracts found', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': "export default { out: 'generated.ts' }",
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await generate()
expect(console.formatted).toMatchInlineSnapshot(
`
"- Validating plugins
√ Validating plugins
- Resolving contracts
× Resolving contracts
No contracts found."
`,
)
})
test('behavior: throws when abi is invalid', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [{
type: 'function',
name: 'balanceOf',
stateMutability: 'view',
inputs: [{ type: 'address' }],
}],
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(`
[Error: Invalid ABI for contract "Foo"
- Invalid input at \`[0]\`]
`)
})
test('behavior: throws when address is invalid', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
address: '0xfoo',
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(`
[Error: Invalid address for contract "Foo"
- Invalid input]
`)
})
test('behavior: throws when multichain address is invalid', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
address: {
1: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
5: '0xfoo',
},
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await expect(generate()).rejects.toThrowErrorMatchingInlineSnapshot(`
[Error: Invalid address for contract "Foo"
- Invalid address at \`5\`]
`)
})
test('behavior: displays message if using --watch flag without watchers configured', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.js': dedent`
export default {
out: 'generated.ts',
contracts: [
{
abi: [],
name: 'Foo',
},
],
}
`,
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
await generate({ watch: true })
expect(console.formatted).toMatchInlineSnapshot(`
"- Validating plugins
√ Validating plugins
- Resolving contracts
√ Resolving contracts
- Running plugins
√ Running plugins
- Writing to generated.ts
√ Writing to generated.ts
Used --watch flag, but no plugins are watching."
`)
})
test.todo('behavior: save config file logs change')
test.todo('behavior: updates on add file')
test.todo('behavior: updates on change file')
test.todo('behavior: updates on unlink file')
test.todo('behavior: runs watch command')
test.todo('behavior: shuts down watch on SIGINT/SIGTERM')
================================================
FILE: packages/cli/src/commands/generate.ts
================================================
import { mkdir, writeFile } from 'node:fs/promises'
import { Abi as AbiSchema } from 'abitype/zod'
import { camelCase } from 'change-case'
import type { ChokidarOptions, FSWatcher } from 'chokidar'
import { watch } from 'chokidar'
import { default as dedent } from 'dedent'
import { basename, dirname, resolve } from 'pathe'
import pc from 'picocolors'
import { type Abi, type Address, getAddress } from 'viem'
import { z } from 'zod'
import type { Contract, ContractConfig, Plugin, Watch } from '../config.js'
import { fromZodError } from '../errors.js'
import * as logger from '../logger.js'
import { findConfig } from '../utils/findConfig.js'
import { format } from '../utils/format.js'
import { getAddressDocString } from '../utils/getAddressDocString.js'
import { getIsUsingTypeScript } from '../utils/getIsUsingTypeScript.js'
import { resolveConfig } from '../utils/resolveConfig.js'
const Generate = z.object({
/** Path to config file */
config: z.string().optional(),
/** Directory to search for config file */
root: z.string().optional(),
/** Watch for file system changes to config and plugins */
watch: z.boolean().optional(),
})
export type Generate = z.infer<typeof Generate>
export async function generate(options: Generate = {}) {
// Validate command line options
try {
await Generate.parseAsync(options)
} catch (error) {
if (error instanceof z.ZodError)
throw fromZodError(error, { prefix: 'Invalid option' })
throw error
}
// Get cli config file
const configPath = await findConfig(options)
if (!configPath) {
if (options.config)
throw new Error(`Config not found at ${pc.gray(options.config)}`)
throw new Error('Config not found')
}
const resolvedConfigs = await resolveConfig({ configPath })
const isTypeScript = await getIsUsingTypeScript()
type Watcher = FSWatcher & { config?: Watch }
const watchers: Watcher[] = []
const watchWriteDelay = 100
const watchOptions = {
atomic: true,
// awaitWriteFinish: true,
ignoreInitial: true,
persistent: true,
} satisfies ChokidarOptions
const outNames = new Set<string>()
const isArrayConfig = Array.isArray(resolvedConfigs)
const configs = isArrayConfig ? resolvedConfigs : [resolvedConfigs]
for (const config of configs) {
if (isArrayConfig)
logger.log(`Using config ${pc.gray(basename(configPath))}`)
if (!config.out) throw new Error('out is required.')
if (outNames.has(config.out))
throw new Error(`out "${config.out}" must be unique.`)
outNames.add(config.out)
// Collect contracts and watch configs from plugins
const plugins = (config.plugins ?? []).map((x, i) => ({
...x,
id: `${x.name}-${i}`,
}))
const spinner = logger.spinner('Validating plugins')
spinner.start()
for (const plugin of plugins) {
await plugin.validate?.()
}
spinner.success()
// Add plugin contracts to config contracts
const contractConfigs = config.contracts ?? []
const watchConfigs: Watch[] = []
spinner.start('Resolving contracts')
for (const plugin of plugins) {
if (plugin.watch) watchConfigs.push(plugin.watch)
if (plugin.contracts) {
const contracts = await plugin.contracts()
contractConfigs.push(...contracts)
}
}
// Get contracts from config
const contractNames = new Set<string>()
const contractMap = new Map<string, Contract>()
for (const contractConfig of contractConfigs) {
if (contractNames.has(contractConfig.name))
throw new Error(
`Contract name "${contractConfig.name}" must be unique.`,
)
const contract = await getContract({ ...contractConfig, isTypeScript })
contractMap.set(contract.name, contract)
contractNames.add(contractConfig.name)
}
// Sort contracts by name Ascending (low to high) as the key is `String`
const sortedAscContractMap = new Map([...contractMap].sort())
const contracts = [...sortedAscContractMap.values()]
if (!contracts.length && !options.watch) {
spinner.error()
logger.warn('No contracts found.')
return
}
spinner.success()
// Run plugins
const imports = []
const prepend = []
const content = []
type Output = {
plugin: Pick<Plugin, 'name'>
} & Awaited<ReturnType<NonNullable<Plugin['run']>>>
const outputs: Output[] = []
spinner.start('Running plugins')
for (const plugin of plugins) {
if (!plugin.run) continue
const result = await plugin.run({
contracts,
isTypeScript,
outputs,
})
outputs.push({
plugin: { name: plugin.name },
...result,
})
if (!result.imports && !result.prepend && !result.content) continue
content.push(getBannerContent({ name: plugin.name }), result.content)
result.imports && imports.push(result.imports)
result.prepend && prepend.push(result.prepend)
}
spinner.success()
// Write output to file
spinner.start(`Writing to ${pc.gray(config.out)}`)
await writeContracts({
content,
contracts,
imports,
prepend,
filename: config.out,
})
spinner.success()
if (options.watch) {
if (!watchConfigs.length) {
logger.log(pc.gray('Used --watch flag, but no plugins are watching.'))
continue
}
logger.log()
logger.log('Setting up watch process')
// Watch for changes
let timeout: NodeJS.Timeout | null
for (const watchConfig of watchConfigs) {
const paths =
typeof watchConfig.paths === 'function'
? await watchConfig.paths()
: watchConfig.paths
const watcher = watch(paths, watchOptions)
// Watch for changes to files, new files, and deleted files
watcher.on('all', async (event, path) => {
if (event !== 'change' && event !== 'add' && event !== 'unlink')
return
let needsWrite = false
if (event === 'change' || event === 'add') {
const eventFn =
event === 'change' ? watchConfig.onChange : watchConfig.onAdd
const config = await eventFn?.(path)
if (!config) return
const contract = await getContract({ ...config, isTypeScript })
contractMap.set(contract.name, contract)
needsWrite = true
} else if (event === 'unlink') {
const name = await watchConfig.onRemove?.(path)
if (!name) return
contractMap.delete(name)
needsWrite = true
}
// Debounce writes
if (needsWrite) {
if (timeout) clearTimeout(timeout)
timeout = setTimeout(async () => {
timeout = null
// Sort contracts by name Ascending (low to high) as the key is `String`
const sortedAscContractMap = new Map([...contractMap].sort())
const contracts = [...sortedAscContractMap.values()]
const imports = []
const prepend = []
const content = []
const outputs: Output[] = []
for (const plugin of plugins) {
if (!plugin.run) continue
const result = await plugin.run({
contracts,
isTypeScript,
outputs,
})
outputs.push({
plugin: { name: plugin.name },
...result,
})
if (!result.imports && !result.prepend && !result.content)
continue
content.push(
getBannerContent({ name: plugin.name }),
result.content,
)
result.imports && imports.push(result.imports)
result.prepend && prepend.push(result.prepend)
}
const spinner = logger.spinner(
`Writing to ${pc.gray(config.out)}`,
)
spinner.start()
await writeContracts({
content,
contracts,
imports,
prepend,
filename: config.out,
})
spinner.success()
}, watchWriteDelay)
needsWrite = false
}
})
// Run parallel command on ready
if (watchConfig.command)
watcher.on('ready', async () => {
await watchConfig.command?.()
})
;(watcher as Watcher).config = watchConfig
watchers.push(watcher)
}
}
}
if (!watchers.length) return
// Watch `@wagmi/cli` config file for changes
const watcher = watch(configPath).on('change', async (path) => {
logger.log(
`> Found a change to config ${pc.gray(
basename(path),
)}. Restart process for changes to take effect.`,
)
})
watchers.push(watcher)
// Display message and close watchers on exit
process.once('SIGINT', shutdown)
process.once('SIGTERM', shutdown)
async function shutdown() {
logger.log()
logger.log('Shutting down watch process')
const promises = []
for (const watcher of watchers) {
if (watcher.config?.onClose) promises.push(watcher.config?.onClose?.())
promises.push(watcher.close())
}
await Promise.allSettled(promises)
process.exit(0)
}
}
async function getContract({
abi,
address,
name,
isTypeScript,
}: ContractConfig & { isTypeScript: boolean }): Promise<Contract> {
const constAssertion = isTypeScript ? ' as const' : ''
const abiName = `${camelCase(name)}Abi`
try {
abi = (await AbiSchema.parseAsync(abi)) as Abi
} catch (error) {
if (error instanceof z.ZodError)
throw fromZodError(error, {
prefix: `Invalid ABI for contract "${name}"`,
})
throw error
}
const docString =
typeof address === 'object'
? dedent`\n
/**
${getAddressDocString({ address })}
*/
`
: ''
let content = dedent`
${getBannerContent({ name })}
${docString}
export const ${abiName} = ${JSON.stringify(abi)}${constAssertion}
`
let meta: Contract['meta'] = { abiName }
if (address) {
let resolvedAddress: Address | Record<number, Address>
try {
const Address = z
.string()
.regex(/^0x[a-fA-F0-9]{40}$/, { message: 'Invalid address' })
.transform((val) => getAddress(val)) as z.ZodType<Address>
const MultiChainAddress = z.record(z.string(), Address)
const AddressSchema = z.union([Address, MultiChainAddress])
resolvedAddress = await AddressSchema.parseAsync(address)
} catch (error) {
if (error instanceof z.ZodError)
throw fromZodError(error, {
prefix: `Invalid address for contract "${name}"`,
})
throw error
}
const addressName = `${camelCase(name)}Address`
const configName = `${camelCase(name)}Config`
meta = {
...meta,
addressName,
configName,
}
const addressContent =
typeof resolvedAddress === 'string'
? JSON.stringify(resolvedAddress)
: // Remove quotes from chain id key
JSON.stringify(resolvedAddress, null, 2).replace(/"(\d*)":/gm, '$1:')
content = dedent`
${content}
${docString}
export const ${addressName} = ${addressContent}${constAssertion}
${docString}
export const ${configName} = { address: ${addressName}, abi: ${abiName} }${constAssertion}
`
}
return { abi, address, content, meta, name }
}
async function writeContracts({
content,
contracts,
imports,
prepend,
filename,
}: {
content: string[]
contracts: Contract[]
imports: string[]
prepend: string[]
filename: string
}) {
// Assemble code
let code = dedent`
${imports.join('\n\n') ?? ''}
${prepend.join('\n\n') ?? ''}
`
for (const contract of contracts) {
code = dedent`
${code}
${contract.content}
`
}
code = dedent`
${code}
${content.join('\n\n') ?? ''}
`
// Format and write output
const cwd = process.cwd()
const outPath = resolve(cwd, filename)
await mkdir(dirname(outPath), { recursive: true })
const formatted = await format(code)
await writeFile(outPath, formatted)
}
function getBannerContent({ name }: { name: string }) {
return dedent`
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ${name}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
`
}
================================================
FILE: packages/cli/src/commands/init.test.ts
================================================
import { existsSync } from 'node:fs'
import { mkdir, readFile } from 'node:fs/promises'
import { resolve } from 'pathe'
import { afterEach, beforeEach, expect, test, vi } from 'vitest'
import { createFixture, watchConsole } from '../../test/utils.js'
import { defaultConfig } from '../config.js'
import { init } from './init.js'
let console: ReturnType<typeof watchConsole>
beforeEach(() => {
console = watchConsole()
})
afterEach(() => {
vi.restoreAllMocks()
})
test('creates config file', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
const configFile = await init()
expect(existsSync(configFile)).toBeTruthy()
expect(await readFile(configFile, 'utf-8')).toMatchInlineSnapshot(`
"// @ts-check
/** @type {import('@wagmi/cli').Config} */
export default {
out: 'src/generated.js',
contracts: [],
plugins: [],
}
"
`)
expect(
console.formatted.replaceAll(dir, 'path/to/project'),
).toMatchInlineSnapshot(`
"- Creating config
√ Creating config
Config created at wagmi.config.js"
`)
})
test('parameters: config', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
const configFile = await init({
config: 'foo.config.ts',
})
expect(existsSync(configFile)).toBeTruthy()
expect(await readFile(configFile, 'utf-8')).toMatchInlineSnapshot(`
"// @ts-check
/** @type {import('@wagmi/cli').Config} */
export default {
out: 'src/generated.js',
contracts: [],
plugins: [],
}
"
`)
expect(
console.formatted.replaceAll(dir, 'path/to/project'),
).toMatchInlineSnapshot(`
"- Creating config
√ Creating config
Config created at foo.config.ts"
`)
})
test('parameters: content', async () => {
const { dir } = await createFixture({
files: {
'tsconfig.json': '{}',
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
const configFile = await init({
content: {
...defaultConfig,
out: 'foo/bar/baz.ts',
},
})
expect(existsSync(configFile)).toBeTruthy()
expect(await readFile(configFile, 'utf-8')).toMatchInlineSnapshot(`
"import { defineConfig } from '@wagmi/cli'
export default defineConfig({
out: 'foo/bar/baz.ts',
contracts: [],
plugins: [],
})
"
`)
expect(
console.formatted.replaceAll(dir, 'path/to/project'),
).toMatchInlineSnapshot(`
"- Creating config
√ Creating config
Config created at wagmi.config.ts"
`)
})
test('parameters: root', async () => {
const { dir } = await createFixture()
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
mkdir(resolve(dir, 'foo'))
const configFile = await init({
root: 'foo/',
})
expect(existsSync(configFile)).toBeTruthy()
expect(await readFile(configFile, 'utf-8')).toMatchInlineSnapshot(`
"// @ts-check
/** @type {import('@wagmi/cli').Config} */
export default {
out: 'src/generated.js',
contracts: [],
plugins: [],
}
"
`)
expect(
console.formatted.replaceAll(dir, 'path/to/project'),
).toMatchInlineSnapshot(`
"- Creating config
√ Creating config
Config created at foo/wagmi.config.js"
`)
})
test('behavior: creates config file in TypeScript format', async () => {
const { dir } = await createFixture({
files: {
'tsconfig.json': '{}',
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
const configFile = await init()
expect(existsSync(configFile)).toBeTruthy()
expect(await readFile(configFile, 'utf-8')).toMatchInlineSnapshot(`
"import { defineConfig } from '@wagmi/cli'
export default defineConfig({
out: 'src/generated.ts',
contracts: [],
plugins: [],
})
"
`)
expect(
console.formatted.replaceAll(dir, 'path/to/project'),
).toMatchInlineSnapshot(`
"- Creating config
√ Creating config
Config created at wagmi.config.ts"
`)
})
test('behavior: displays config file location when config exists', async () => {
const { dir } = await createFixture({
files: {
'wagmi.config.ts': '',
},
})
const spy = vi.spyOn(process, 'cwd')
spy.mockImplementation(() => dir)
const configFile = await init()
expect(
console.formatted.replaceAll(configFile, 'path/to/project/wagmi.config.ts'),
).toMatchInlineSnapshot('"Config already exists at wagmi.config.ts"')
})
================================================
FILE: packages/cli/src/commands/init.ts
================================================
import { writeFile } from 'node:fs/promises'
import dedent from 'dedent'
import { relative, resolve } from 'pathe'
import pc from 'picocolors'
import { z } from 'zod'
import { type Config, defaultConfig } from '../config.js'
import { fromZodError } from '../errors.js'
import * as logger from '../logger.js'
import { findConfig } from '../utils/findConfig.js'
import { format } from '../utils/format.js'
import { getIsUsingTypeScript } from '../utils/getIsUsingTypeScript.js'
export type Init = {
/** Path to config file */
config?: string
/** Watch for file system changes to config and plugins */
content?: Config
/** Directory to init config file */
root?: string
}
const Init = z.object({
config: z.string().optional(),
content: z.object({}).optional(),
root: z.string().optional(),
})
export async function init(options: Init = {}) {
// Validate command line options
try {
await Init.parseAsync(options)
} catch (error) {
if (error instanceof z.ZodError)
throw fromZodError(error, { prefix: 'Invalid option' })
throw error
}
// Check for existing config file
const configPath = await findConfig(options)
if (configPath) {
logger.info(
`Config already exists at ${pc.gray(
relative(process.cwd(), configPath),
)}`,
)
return configPath
}
const spinner = logger.spinner('Creating config')
spinner.start()
// Check if project is using TypeScript
const isUsingTypeScript = await getIsUsingTypeScript()
const rootDir = resolve(options.root || process.cwd())
let outPath: string
if (options.config) {
outPath = resolve(rootDir, options.config)
} else {
const extension = isUsingTypeScript ? 'ts' : 'js'
outPath = resolve(rootDir, `wagmi.config.${extension}`)
}
let content: string
if (isUsingTypeScript) {
const config = options.content ?? defaultConfig
content = dedent(`
import { defineConfig } from '@wagmi/cli'
export default defineConfig(${JSON.stringify(config)})
`)
} else {
const config = options.content ?? {
...defaultConfig,
out: defaultConfig.out.replace('.ts', '.js'),
}
content = dedent(`
// @ts-check
/** @type {import('@wagmi/cli').Config} */
export default ${JSON.stringify(config, null, 2).replace(
/"(\d*)":/gm,
'$1:',
)}
`)
}
const formatted = await format(content)
await writeFile(outPath, formatted)
spinner.success()
logger.success(
`Config created at ${pc.gray(relative(process.cwd(), outPath))}`,
)
return outPath
}
================================================
FILE: packages/cli/src/config.test.ts
================================================
import { expect, test, vi } from 'vitest'
import { type Config, defineConfig } from './config.js'
test('object', () => {
const config: Config = {
contracts: [],
out: 'wagmi.ts',
plugins: [],
}
expect(defineConfig(config)).toEqual(config)
})
test('array', () => {
const config: Config = {
contracts: [],
out: 'wagmi.ts',
plugins: [],
}
expect(defineConfig([config, config])).toEqual([config, config])
})
test('function', () => {
const config = vi.fn().mockImplementation(() => ({
contracts: [],
out: 'wagmi.ts',
plugins: [],
}))
expect(defineConfig(config)).toEqual(config)
})
test('async function', () => {
const config = vi.fn().mockImplementation(async () => ({
contracts: [],
out: 'wagmi.ts',
plugins: [],
}))
expect(defineConfig(config)).toEqual(config)
})
================================================
FILE: packages/cli/src/config.ts
================================================
import type { Abi, Address } from 'viem'
import type { Compute, MaybeArray, MaybePromise } from './types.js'
export type ContractConfig<
chainId extends number = number,
requiredChainId extends number | undefined = undefined,
> = {
/**
* Contract ABI
*/
abi: Abi
/**
* Contract address or addresses.
*
* Accepts an object `{ [chainId]: address }` to support multiple chains.
*
* @example
* '0x314159265dd8dbb310642f98f50c066173c1259b'
*
* @example
* {
* 1: '0x314159265dd8dbb310642f98f50c066173c1259b',
* 5: '0x112234455c3a32fd11230c42e7bccd4a84e02010',
* }
*/
address?:
| Address
| (requiredChainId extends number
? Record<requiredChainId, Address> & Partial<Record<chainId, Address>>
: Record<chainId, Address>)
| undefined
/**
* Name of contract.
*/
name: string
}
export type Contract = Compute<
ContractConfig & {
/** Generated string content */
content: string
/** Meta info about contract */
meta: {
abiName: string
addressName?: string | undefined
configName?: string | undefined
}
}
>
export type Watch = {
/** Command to run along with watch process */
command?: (() => MaybePromise<void>) | undefined
/** Paths to watch for changes. */
paths: string[] | (() => MaybePromise<string[]>)
/** Callback that fires when file is added */
onAdd?:
| ((path: string) => MaybePromise<ContractConfig | undefined>)
| undefined
/** Callback that fires when file changes */
onChange: (path: string) => MaybePromise<ContractConfig | undefined>
/** Callback that fires when watcher is shutdown */
onClose?: (() => MaybePromise<void>) | undefined
/** Callback that fires when file is removed */
onRemove?: ((path: string) => MaybePromise<string | undefined>) | undefined
}
export type Plugin = {
/** Contracts provided by plugin */
contracts?: (() => MaybePromise<ContractConfig[]>) | undefined
/** Plugin name */
name: string
/** Run plugin logic */
run?:
| ((config: {
/** All resolved contracts from config and plugins */
contracts: Contract[]
/** Whether TypeScript is detected in project */
isTypeScript: boolean
/** Previous plugin outputs */
outputs: readonly {
plugin: Pick<Plugin, 'name'>
imports?: string
prepend?: string
content: string
}[]
}) => MaybePromise<{
imports?: string
prepend?: string
content: string
}>)
| undefined
/**
* Validate plugin configuration or other @wagmi/cli settings require for plugin.
*/
validate?: (() => MaybePromise<void>) | undefined
/** File system watch config */
watch?: Watch | undefined
}
export type Config = {
/** Contracts to use in commands */
contracts?: ContractConfig[] | undefined
/** Output file path */
out: string
/** Plugins to run */
plugins?: Plugin[] | undefined
}
export function defineConfig(
config: MaybeArray<Config> | (() => MaybePromise<MaybeArray<Config>>),
) {
return config
}
export const defaultConfig = {
out: 'src/generated.ts',
contracts: [],
plugins: [],
} satisfies Config
================================================
FILE: packages/cli/src/errors.ts
================================================
import type * as z from 'zod'
class ValidationError extends Error {
details: z.core.$ZodIssue[]
constructor(
message: string,
options: {
details: z.core.$ZodIssue[]
},
) {
super(message)
this.details = options.details
}
}
// From https://github.com/causaly/zod-validation-error
export function fromZodError(
zError: z.ZodError,
{
maxIssuesInMessage = 99,
issueSeparator = '\n- ',
prefixSeparator = '\n- ',
prefix = 'Validation Error',
}: {
maxIssuesInMessage?: number
issueSeparator?: string
prefixSeparator?: string
prefix?: string
} = {},
): ValidationError {
function joinPath(arr: Array<string | number | symbol>): string {
return arr.reduce<string>((acc, value) => {
if (typeof value === 'number') return `${acc}[${value}]`
const separator = acc === '' ? '' : '.'
return acc + separator + value.toString()
}, '')
}
const reason = zError.issues
// limit max number of issues printed in the reason section
.slice(0, maxIssuesInMessage)
// format error message
.map((issue) => {
const { message, path } = issue
if (path.length > 0) return `${message} at \`${joinPath(path)}\``
return message
})
// concat as string
.join(issueSeparator)
const message = reason ? [prefix, reason].join(prefixSeparator) : prefix
return new ValidationError(message, {
details: zError.issues,
})
}
================================================
FILE: packages/cli/src/exports/config.test.ts
================================================
import { expect, test } from 'vitest'
import * as Exports from './config.js'
test('exports', () => {
expect(Object.keys(Exports)).toMatchInlineSnapshot(`
[
"defaultConfig",
"defineConfig",
]
`)
})
================================================
FILE: packages/cli/src/exports/config.ts
================================================
// biome-ignore lint/performance/noBarrelFile: entrypoint module
export {
type Config,
type Contract,
type ContractConfig,
defaultConfig,
defineConfig,
type Plugin,
type Watch,
} from '../config.js'
================================================
FILE: packages/cli/src/exports/index.test-d.ts
================================================
import { expectTypeOf } from 'vitest'
// noop test because vitest typecheck fails unless each workspace project has type test
expectTypeOf(1).toEqualTypeOf<number>()
================================================
FILE: packages/cli/src/exports/index.test.ts
================================================
import { expect, test } from 'vitest'
import * as Exports from './index.js'
test('exports', () => {
expect(Object.keys(Exports)).toMatchInlineSnapshot(`
[
"defineConfig",
"logger",
"loadEnv",
"version",
]
`)
})
================================================
FILE: packages/cli/src/exports/index.ts
================================================
// biome-ignore lint/performance/noBarrelFile: entrypoint module
export {
type Config,
type ContractConfig,
defineConfig,
type Plugin,
} from '../config.js'
// biome-ignore lint/performance/noReExportAll: entrypoint module
export * as logger from '../logger.js'
export { loadEnv } from '../utils/loadEnv.js'
export { version } from '../version.js'
================================================
FILE: packages/cli/src/exports/plugins.test.ts
================================================
import { expect, test } from 'vitest'
import * as Exports from './plugins.js'
test('exports', () => {
expect(Object.keys(Exports)).toMatchInlineSnapshot(`
[
"actions",
"blockExplorer",
"etherscan",
"fetch",
"foundry",
"foundryDefaultExcludes",
"hardhat",
"hardhatDefaultExcludes",
"react",
"sourcify",
]
`)
})
================================================
FILE: packages/cli/src/exports/plugins.ts
================================================
// biome-ignore lint/performance/noBarrelFile: entrypoint module
export { type ActionsConfig, actions } from '../plugins/actions.js'
export {
type BlockExplorerConfig,
blockExplorer,
} from '../plugins/blockExplorer.js'
export { type EtherscanConfig, etherscan } from '../plugins/etherscan.js'
export { type FetchConfig, fetch } from '../plugins/fetch.js'
export {
type FoundryConfig,
foundry,
foundryDefaultExcludes,
} from '../plugins/foundry.js'
export {
type HardhatConfig,
hardhat,
hardhatDefaultExcludes,
} from '../plugins/hardhat.js'
export { type ReactConfig, react } from '../plugins/react.js'
export { type SourcifyConfig, sourcify } from '../plugins/sourcify.js'
================================================
FILE: packages/cli/src/logger.test.ts
================================================
import { afterEach, expect, test, vi } from 'vitest'
import { watchConsole } from '../test/utils.js'
import * as logger from './logger.js'
const mockLog = vi.fn()
afterEach(() => {
vi.restoreAllMocks()
})
test.each(['success', 'info', 'log', 'warn', 'error'])('%s()', (level) => {
const spy = vi.spyOn(logger, level as any)
spy.mockImplementation(mockLog)
const loggerFn = (logger as any)[level]
loggerFn(level)
expect(spy).toHaveBeenCalledWith(level)
})
test('spinner', () => {
const console = watchConsole()
const spinner = logger.spinner('start')
spinner.start()
spinner.success('success')
spinner.error('error')
expect(console.formatted).toMatchInlineSnapshot(`
"- start
√ success
× error"
`)
})
================================================
FILE: packages/cli/src/logger.ts
================================================
import { format as utilFormat } from 'node:util'
import { createSpinner } from 'nanospinner'
import pc from 'picocolors'
function format(args: any[]) {
return utilFormat(...args)
.split('\n')
.join('\n')
}
export function success(...args: any[]) {
console.log(pc.green(format(args)))
}
export function info(...args: any[]) {
// biome-ignore lint/suspicious/noConsole: logger
console.info(pc.blue(format(args)))
}
export function log(...args: any[]) {
console.log(pc.white(format(args)))
}
export function warn(...args: any[]) {
// biome-ignore lint/suspicious/noConsole: logger
console.warn(pc.yellow(format(args)))
}
export function error(...args: any[]) {
// biome-ignore lint/suspicious/noConsole: logger
console.error(pc.red(format(args)))
}
export function spinner(text: string) {
return createSpinner(text, {
color: 'yellow',
})
}
================================================
FILE: packages/cli/src/plugins/__fixtures__/foundry/.gitignore
================================================
# Compiler files
cache/
out/
# Ignores development broadcast logs
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/
# Dotenv file
.env
================================================
FILE: packages/cli/src/plugins/__fixtures__/foundry/foundry.toml
================================================
[profile.default]
libs = ['lib']
out = 'out'
solc = '0.8.13'
src = 'src'
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
================================================
FILE: packages/cli/src/plugins/__fixtures__/foundry/src/Counter.sol
================================================
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Counter {
uint256 public number;
function setNumber(uint256 newNumber) public {
number = newNumber;
}
function increment() public {
number++;
}
}
================================================
FILE: packages/cli/src/plugins/__fixtures__/foundry/src/Foo.sol
================================================
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Foo {
string public bar;
function setFoo(string memory baz) public {
bar = baz;
}
}
================================================
FILE: packages/cli/src/plugins/__fixtures__/hardhat/.gitignore
================================================
node_modules
.env
coverage
coverage.json
typechain
typechain-types
# Hardhat files
cache
artifacts
================================================
FILE: packages/cli/src/plugins/__fixtures__/hardhat/contracts/Counter.sol
================================================
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Counter {
uint256 public number;
function setNumber(uint256 newNumber) public {
number = newNumber;
}
function increment() public {
number++;
}
}
================================================
FILE: packages/cli/src/plugins/__fixtures__/hardhat/contracts/Foo.sol
================================================
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Foo {
string public bar;
function setFoo(string memory baz) public {
bar = baz;
}
}
================================================
FILE: packages/cli/src/plugins/__fixtures__/hardhat/hardhat.config.js
================================================
import { defineConfig } from 'hardhat/config'
export default defineConfig({
solidity: '0.8.17',
})
================================================
FILE: packages/cli/src/plugins/__fixtures__/hardhat/package.json
================================================
{
"name": "hardhat-fixture",
"private": true,
"type": "module",
"devDependencies": {
"hardhat": "^3.0.0"
}
}
================================================
FILE: packages/cli/src/plugins/__snapshots__/blockExplorer.test.ts.snap
================================================
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`fetches ABI 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": "0xaf0326d92b97df1221759476b072abfd8084f9be",
"name": "WagmiMintExample",
},
]
`;
exports[`fetches ABI with multichain deployment 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": {
"1": "0xaf0326d92b97df1221759476b072abfd8084f9be",
"10": "0xaf0326d92b97df1221759476b072abfd8084f9be",
},
"name": "WagmiMintExample",
},
]
`;
================================================
FILE: packages/cli/src/plugins/__snapshots__/etherscan.test.ts.snap
================================================
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`fetches ABI 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": {
"1": "0xaf0326d92b97df1221759476b072abfd8084f9be",
},
"name": "WagmiMintExample",
},
]
`;
exports[`fetches ABI with multichain deployment 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": {
"1": "0xaf0326d92b97df1221759476b072abfd8084f9be",
"10": "0xaf0326d92b97df1221759476b072abfd8084f9be",
},
"name": "WagmiMintExample",
},
]
`;
exports[`tryFetchProxyImplementation: fetches ABI 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": {
"1": "0xaf0326d92b97df1221759476b072abfd8084f9be",
},
"name": "WagmiMintExample",
},
]
`;
exports[`tryFetchProxyImplementation: fetches implementation ABI 1`] = `
[
{
"abi": [
{
"constant": false,
"inputs": [
{
"name": "newImplementation",
"type": "address",
},
],
"name": "upgradeTo",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
},
{
"constant": false,
"inputs": [
{
"name": "newImplementation",
"type": "address",
},
{
"name": "data",
"type": "bytes",
},
],
"name": "upgradeToAndCall",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function",
},
{
"constant": true,
"inputs": [],
"name": "implementation",
"outputs": [
{
"name": "",
"type": "address",
},
],
"payable": false,
"stateMutability": "view",
"type": "function",
},
{
"constant": false,
"inputs": [
{
"name": "newAdmin",
"type": "address",
},
],
"name": "changeAdmin",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
},
{
"constant": true,
"inputs": [],
"name": "admin",
"outputs": [
{
"name": "",
"type": "address",
},
],
"payable": false,
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"name": "_implementation",
"type": "address",
},
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback",
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "previousAdmin",
"type": "address",
},
{
"indexed": false,
"name": "newAdmin",
"type": "address",
},
],
"name": "AdminChanged",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "implementation",
"type": "address",
},
],
"name": "Upgraded",
"type": "event",
},
],
"address": {
"1": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
},
"name": "FiatToken",
},
]
`;
================================================
FILE: packages/cli/src/plugins/__snapshots__/fetch.test.ts.snap
================================================
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`fetches ABI 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "pure",
"type": "function",
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
],
"address": "0xaf0326d92b97df1221759476b072abfd8084f9be",
"name": "WagmiMintExample",
},
]
`;
================================================
FILE: packages/cli/src/plugins/__snapshots__/routescan.test.ts.snap
================================================
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`fetches ABI 1`] = `
[
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Approval",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "ApprovalForAll",
"type": "event",
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address",
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address",
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "Transfer",
"type": "event",
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
},
{
"internalType": "address",
"name": "operator",
"type": "address",
},
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
},
{
"internalType": "address",
"name": "to",
"type": "address",
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes",
},
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address",
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
},
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
},
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string",
},
],
"stateMutability": "view",
"type": "function",
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
},
],
gitextract_arunh2_6/ ├── .agents/ │ ├── README.md │ └── skills/ │ └── wagmi-development/ │ └── SKILL.md ├── .changeset/ │ ├── README.md │ ├── brave-hens-rare.md │ ├── config.json │ ├── fix-tempo-webauthn-chain-id.md │ └── upset-trains-lick.md ├── .github/ │ ├── CODEOWNERS │ ├── CONTRIBUTING.md │ ├── DISCUSSION_TEMPLATE/ │ │ └── connector-request.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yml │ │ ├── config.yml │ │ └── docs_issue.yml │ ├── README.md │ ├── SECURITY.md │ ├── dependabot.yml │ ├── pull_request_template.md │ └── workflows/ │ ├── changesets.yml │ ├── issue-labeled.yml │ ├── lock-issue.yml │ ├── pull-request.yml │ ├── scorecard.yml │ └── verify.yml ├── .gitignore ├── .vscode/ │ ├── extensions.json │ ├── settings.json │ └── workspace.code-workspace ├── FUNDING.json ├── LICENSE ├── biome.json ├── package.json ├── packages/ │ ├── cli/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── cli.ts │ │ │ ├── commands/ │ │ │ │ ├── generate.test.ts │ │ │ │ ├── generate.ts │ │ │ │ ├── init.test.ts │ │ │ │ └── init.ts │ │ │ ├── config.test.ts │ │ │ ├── config.ts │ │ │ ├── errors.ts │ │ │ ├── exports/ │ │ │ │ ├── config.test.ts │ │ │ │ ├── config.ts │ │ │ │ ├── index.test-d.ts │ │ │ │ ├── index.test.ts │ │ │ │ ├── index.ts │ │ │ │ ├── plugins.test.ts │ │ │ │ └── plugins.ts │ │ │ ├── logger.test.ts │ │ │ ├── logger.ts │ │ │ ├── plugins/ │ │ │ │ ├── __fixtures__/ │ │ │ │ │ ├── foundry/ │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── foundry.toml │ │ │ │ │ │ └── src/ │ │ │ │ │ │ ├── Counter.sol │ │ │ │ │ │ └── Foo.sol │ │ │ │ │ └── hardhat/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── contracts/ │ │ │ │ │ │ ├── Counter.sol │ │ │ │ │ │ └── Foo.sol │ │ │ │ │ ├── hardhat.config.js │ │ │ │ │ └── package.json │ │ │ │ ├── __snapshots__/ │ │ │ │ │ ├── blockExplorer.test.ts.snap │ │ │ │ │ ├── etherscan.test.ts.snap │ │ │ │ │ ├── fetch.test.ts.snap │ │ │ │ │ ├── routescan.test.ts.snap │ │ │ │ │ └── sourcify.test.ts.snap │ │ │ │ ├── actions.test.ts │ │ │ │ ├── actions.ts │ │ │ │ ├── blockExplorer.test.ts │ │ │ │ ├── blockExplorer.ts │ │ │ │ ├── etherscan.test.ts │ │ │ │ ├── etherscan.ts │ │ │ │ ├── fetch.test.ts │ │ │ │ ├── fetch.ts │ │ │ │ ├── foundry.test.ts │ │ │ │ ├── foundry.ts │ │ │ │ ├── hardhat.test.ts │ │ │ │ ├── hardhat.ts │ │ │ │ ├── react.test.ts │ │ │ │ ├── react.ts │ │ │ │ ├── sourcify.test.ts │ │ │ │ └── sourcify.ts │ │ │ ├── types.ts │ │ │ ├── utils/ │ │ │ │ ├── findConfig.test.ts │ │ │ │ ├── findConfig.ts │ │ │ │ ├── format.test.ts │ │ │ │ ├── format.ts │ │ │ │ ├── getAddressDocString.test.ts │ │ │ │ ├── getAddressDocString.ts │ │ │ │ ├── getIsUsingTypeScript.test.ts │ │ │ │ ├── getIsUsingTypeScript.ts │ │ │ │ ├── loadEnv.test.ts │ │ │ │ ├── loadEnv.ts │ │ │ │ ├── packages.test.ts │ │ │ │ ├── packages.ts │ │ │ │ ├── resolveConfig.test.ts │ │ │ │ └── resolveConfig.ts │ │ │ └── version.ts │ │ ├── test/ │ │ │ ├── constants.ts │ │ │ ├── setup.ts │ │ │ └── utils.ts │ │ ├── tsconfig.build.json │ │ ├── tsconfig.json │ │ └── types/ │ │ └── fixturez.d.ts │ ├── connectors/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── baseAccount.test.ts │ │ │ ├── baseAccount.ts │ │ │ ├── coinbaseWallet.test.ts │ │ │ ├── coinbaseWallet.ts │ │ │ ├── exports/ │ │ │ │ ├── index.test.ts │ │ │ │ └── index.ts │ │ │ ├── metaMask.test.ts │ │ │ ├── metaMask.ts │ │ │ ├── porto.test.ts │ │ │ ├── porto.ts │ │ │ ├── safe.test.ts │ │ │ ├── safe.ts │ │ │ ├── version.ts │ │ │ ├── walletConnect.test.ts │ │ │ └── walletConnect.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── core/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── actions/ │ │ │ │ ├── call.test.ts │ │ │ │ ├── call.ts │ │ │ │ ├── codegen/ │ │ │ │ │ ├── createReadContract.test-d.ts │ │ │ │ │ ├── createReadContract.test.ts │ │ │ │ │ ├── createReadContract.ts │ │ │ │ │ ├── createSimulateContract.test-d.ts │ │ │ │ │ ├── createSimulateContract.test.ts │ │ │ │ │ ├── createSimulateContract.ts │ │ │ │ │ ├── createWatchContractEvent.test-d.ts │ │ │ │ │ ├── createWatchContractEvent.test.ts │ │ │ │ │ ├── createWatchContractEvent.ts │ │ │ │ │ ├── createWriteContract.test-d.ts │ │ │ │ │ ├── createWriteContract.test.ts │ │ │ │ │ └── createWriteContract.ts │ │ │ │ ├── connect.test-d.ts │ │ │ │ ├── connect.test.ts │ │ │ │ ├── connect.ts │ │ │ │ ├── deployContract.test-d.ts │ │ │ │ ├── deployContract.test.ts │ │ │ │ ├── deployContract.ts │ │ │ │ ├── disconnect.test.ts │ │ │ │ ├── disconnect.ts │ │ │ │ ├── estimateFeesPerGas.test-d.ts │ │ │ │ ├── estimateFeesPerGas.test.ts │ │ │ │ ├── estimateFeesPerGas.ts │ │ │ │ ├── estimateGas.test-d.ts │ │ │ │ ├── estimateGas.test.ts │ │ │ │ ├── estimateGas.ts │ │ │ │ ├── estimateMaxPriorityFeePerGas.test.ts │ │ │ │ ├── estimateMaxPriorityFeePerGas.ts │ │ │ │ ├── getBalance.test.ts │ │ │ │ ├── getBalance.ts │ │ │ │ ├── getBlobBaseFee.test.ts │ │ │ │ ├── getBlobBaseFee.ts │ │ │ │ ├── getBlock.test-d.ts │ │ │ │ ├── getBlock.test.ts │ │ │ │ ├── getBlock.ts │ │ │ │ ├── getBlockNumber.test.ts │ │ │ │ ├── getBlockNumber.ts │ │ │ │ ├── getBlockTransactionCount.test.ts │ │ │ │ ├── getBlockTransactionCount.ts │ │ │ │ ├── getBytecode.test.ts │ │ │ │ ├── getBytecode.ts │ │ │ │ ├── getCallsStatus.test.ts │ │ │ │ ├── getCallsStatus.ts │ │ │ │ ├── getCapabilities.test.ts │ │ │ │ ├── getCapabilities.ts │ │ │ │ ├── getChainId.test.ts │ │ │ │ ├── getChainId.ts │ │ │ │ ├── getChains.test-d.ts │ │ │ │ ├── getChains.test.ts │ │ │ │ ├── getChains.ts │ │ │ │ ├── getClient.test-d.ts │ │ │ │ ├── getClient.test.ts │ │ │ │ ├── getClient.ts │ │ │ │ ├── getConnection.test-d.ts │ │ │ │ ├── getConnection.test.ts │ │ │ │ ├── getConnection.ts │ │ │ │ ├── getConnections.test.ts │ │ │ │ ├── getConnections.ts │ │ │ │ ├── getConnectorClient.test-d.ts │ │ │ │ ├── getConnectorClient.test.ts │ │ │ │ ├── getConnectorClient.ts │ │ │ │ ├── getConnectors.test.ts │ │ │ │ ├── getConnectors.ts │ │ │ │ ├── getContractEvents.test-d.ts │ │ │ │ ├── getContractEvents.test.ts │ │ │ │ ├── getContractEvents.ts │ │ │ │ ├── getEnsAddress.test.ts │ │ │ │ ├── getEnsAddress.ts │ │ │ │ ├── getEnsAvatar.test.ts │ │ │ │ ├── getEnsAvatar.ts │ │ │ │ ├── getEnsName.test.ts │ │ │ │ ├── getEnsName.ts │ │ │ │ ├── getEnsResolver.test.ts │ │ │ │ ├── getEnsResolver.ts │ │ │ │ ├── getEnsText.test.ts │ │ │ │ ├── getEnsText.ts │ │ │ │ ├── getFeeHistory.test.ts │ │ │ │ ├── getFeeHistory.ts │ │ │ │ ├── getGasPrice.test.ts │ │ │ │ ├── getGasPrice.ts │ │ │ │ ├── getProof.test.ts │ │ │ │ ├── getProof.ts │ │ │ │ ├── getPublicClient.test-d.ts │ │ │ │ ├── getPublicClient.test.ts │ │ │ │ ├── getPublicClient.ts │ │ │ │ ├── getStorageAt.test.ts │ │ │ │ ├── getStorageAt.ts │ │ │ │ ├── getTransaction.test-d.ts │ │ │ │ ├── getTransaction.test.ts │ │ │ │ ├── getTransaction.ts │ │ │ │ ├── getTransactionConfirmations.test-d.ts │ │ │ │ ├── getTransactionConfirmations.test.ts │ │ │ │ ├── getTransactionConfirmations.ts │ │ │ │ ├── getTransactionCount.test.ts │ │ │ │ ├── getTransactionCount.ts │ │ │ │ ├── getTransactionReceipt.test-d.ts │ │ │ │ ├── getTransactionReceipt.test.ts │ │ │ │ ├── getTransactionReceipt.ts │ │ │ │ ├── getWalletClient.test-d.ts │ │ │ │ ├── getWalletClient.test.ts │ │ │ │ ├── getWalletClient.ts │ │ │ │ ├── multicall.bench-d.ts │ │ │ │ ├── multicall.test-d.ts │ │ │ │ ├── multicall.test.ts │ │ │ │ ├── multicall.ts │ │ │ │ ├── prepareTransactionRequest.test-d.ts │ │ │ │ ├── prepareTransactionRequest.test.ts │ │ │ │ ├── prepareTransactionRequest.ts │ │ │ │ ├── readContract.bench-d.ts │ │ │ │ ├── readContract.test-d.ts │ │ │ │ ├── readContract.test.ts │ │ │ │ ├── readContract.ts │ │ │ │ ├── readContracts.test-d.ts │ │ │ │ ├── readContracts.test.ts │ │ │ │ ├── readContracts.ts │ │ │ │ ├── reconnect.test.ts │ │ │ │ ├── reconnect.ts │ │ │ │ ├── sendCalls.test.ts │ │ │ │ ├── sendCalls.ts │ │ │ │ ├── sendCallsSync.test.ts │ │ │ │ ├── sendCallsSync.ts │ │ │ │ ├── sendTransaction.test-d.ts │ │ │ │ ├── sendTransaction.test.ts │ │ │ │ ├── sendTransaction.ts │ │ │ │ ├── sendTransactionSync.test.ts │ │ │ │ ├── sendTransactionSync.ts │ │ │ │ ├── showCallsStatus.test.ts │ │ │ │ ├── showCallsStatus.ts │ │ │ │ ├── signMessage.test.ts │ │ │ │ ├── signMessage.ts │ │ │ │ ├── signTransaction.test-d.ts │ │ │ │ ├── signTransaction.test.ts │ │ │ │ ├── signTransaction.ts │ │ │ │ ├── signTypedData.test-d.ts │ │ │ │ ├── signTypedData.test.ts │ │ │ │ ├── signTypedData.ts │ │ │ │ ├── simulateContract.test-d.ts │ │ │ │ ├── simulateContract.test.ts │ │ │ │ ├── simulateContract.ts │ │ │ │ ├── switchChain.test.ts │ │ │ │ ├── switchChain.ts │ │ │ │ ├── switchConnection.test.ts │ │ │ │ ├── switchConnection.ts │ │ │ │ ├── verifyMessage.test.ts │ │ │ │ ├── verifyMessage.ts │ │ │ │ ├── verifyTypedData.test-d.ts │ │ │ │ ├── verifyTypedData.test.ts │ │ │ │ ├── verifyTypedData.ts │ │ │ │ ├── waitForCallsStatus.test.ts │ │ │ │ ├── waitForCallsStatus.ts │ │ │ │ ├── waitForTransactionReceipt.test-d.ts │ │ │ │ ├── waitForTransactionReceipt.test.ts │ │ │ │ ├── waitForTransactionReceipt.ts │ │ │ │ ├── watchAsset.test.ts │ │ │ │ ├── watchAsset.ts │ │ │ │ ├── watchBlockNumber.test-d.ts │ │ │ │ ├── watchBlockNumber.test.ts │ │ │ │ ├── watchBlockNumber.ts │ │ │ │ ├── watchBlocks.test-d.ts │ │ │ │ ├── watchBlocks.test.ts │ │ │ │ ├── watchBlocks.ts │ │ │ │ ├── watchChainId.test.ts │ │ │ │ ├── watchChainId.ts │ │ │ │ ├── watchChains.test.ts │ │ │ │ ├── watchChains.ts │ │ │ │ ├── watchClient.test-d.ts │ │ │ │ ├── watchClient.test.ts │ │ │ │ ├── watchClient.ts │ │ │ │ ├── watchConnection.test.ts │ │ │ │ ├── watchConnection.ts │ │ │ │ ├── watchConnections.test.ts │ │ │ │ ├── watchConnections.ts │ │ │ │ ├── watchConnectors.test.ts │ │ │ │ ├── watchConnectors.ts │ │ │ │ ├── watchContractEvent.test-d.ts │ │ │ │ ├── watchContractEvent.test.ts │ │ │ │ ├── watchContractEvent.ts │ │ │ │ ├── watchPendingTransactions.test-d.ts │ │ │ │ ├── watchPendingTransactions.test.ts │ │ │ │ ├── watchPendingTransactions.ts │ │ │ │ ├── watchPublicClient.test-d.ts │ │ │ │ ├── watchPublicClient.test.ts │ │ │ │ ├── watchPublicClient.ts │ │ │ │ ├── writeContract.bench-d.ts │ │ │ │ ├── writeContract.test-d.ts │ │ │ │ ├── writeContract.ts │ │ │ │ ├── writeContractSync.test.ts │ │ │ │ └── writeContractSync.ts │ │ │ ├── connectors/ │ │ │ │ ├── createConnector.test.ts │ │ │ │ ├── createConnector.ts │ │ │ │ ├── injected.test.ts │ │ │ │ ├── injected.ts │ │ │ │ ├── mock.test.ts │ │ │ │ └── mock.ts │ │ │ ├── createConfig.test-d.ts │ │ │ ├── createConfig.test.ts │ │ │ ├── createConfig.ts │ │ │ ├── createEmitter.test.ts │ │ │ ├── createEmitter.ts │ │ │ ├── createStorage.test-d.ts │ │ │ ├── createStorage.test.ts │ │ │ ├── createStorage.ts │ │ │ ├── errors/ │ │ │ │ ├── base.test.ts │ │ │ │ ├── base.ts │ │ │ │ ├── config.test.ts │ │ │ │ ├── config.ts │ │ │ │ ├── connector.test.ts │ │ │ │ └── connector.ts │ │ │ ├── exports/ │ │ │ │ ├── actions.test.ts │ │ │ │ ├── actions.ts │ │ │ │ ├── chains.ts │ │ │ │ ├── codegen.test.ts │ │ │ │ ├── codegen.ts │ │ │ │ ├── index.test.ts │ │ │ │ ├── index.ts │ │ │ │ ├── internal.test.ts │ │ │ │ ├── internal.ts │ │ │ │ ├── query.test.ts │ │ │ │ ├── query.ts │ │ │ │ └── tempo.ts │ │ │ ├── hydrate.test.ts │ │ │ ├── hydrate.ts │ │ │ ├── query/ │ │ │ │ ├── AGENTS.md │ │ │ │ ├── call.test.ts │ │ │ │ ├── call.ts │ │ │ │ ├── connect.test-d.ts │ │ │ │ ├── connect.test.ts │ │ │ │ ├── connect.ts │ │ │ │ ├── deployContract.test.ts │ │ │ │ ├── deployContract.ts │ │ │ │ ├── disconnect.test.ts │ │ │ │ ├── disconnect.ts │ │ │ │ ├── estimateFeesPerGas.test-d.ts │ │ │ │ ├── estimateFeesPerGas.test.ts │ │ │ │ ├── estimateFeesPerGas.ts │ │ │ │ ├── estimateGas.test-d.ts │ │ │ │ ├── estimateGas.test.ts │ │ │ │ ├── estimateGas.ts │ │ │ │ ├── estimateMaxPriorityFeePerGas.test.ts │ │ │ │ ├── estimateMaxPriorityFeePerGas.ts │ │ │ │ ├── getBalance.test.ts │ │ │ │ ├── getBalance.ts │ │ │ │ ├── getBlobBaseFee.test.ts │ │ │ │ ├── getBlobBaseFee.ts │ │ │ │ ├── getBlock.test-d.ts │ │ │ │ ├── getBlock.test.ts │ │ │ │ ├── getBlock.ts │ │ │ │ ├── getBlockNumber.test.ts │ │ │ │ ├── getBlockNumber.ts │ │ │ │ ├── getBlockTransactionCount.test.ts │ │ │ │ ├── getBlockTransactionCount.ts │ │ │ │ ├── getBytecode.test.ts │ │ │ │ ├── getBytecode.ts │ │ │ │ ├── getCallsStatus.test.ts │ │ │ │ ├── getCallsStatus.ts │ │ │ │ ├── getCapabilities.test.ts │ │ │ │ ├── getCapabilities.ts │ │ │ │ ├── getConnectorClient.test-d.ts │ │ │ │ ├── getConnectorClient.test.ts │ │ │ │ ├── getConnectorClient.ts │ │ │ │ ├── getContractEvents.test-d.ts │ │ │ │ ├── getContractEvents.test.ts │ │ │ │ ├── getContractEvents.ts │ │ │ │ ├── getEnsAddress.test.ts │ │ │ │ ├── getEnsAddress.ts │ │ │ │ ├── getEnsAvatar.test.ts │ │ │ │ ├── getEnsAvatar.ts │ │ │ │ ├── getEnsName.test.ts │ │ │ │ ├── getEnsName.ts │ │ │ │ ├── getEnsResolver.test.ts │ │ │ │ ├── getEnsResolver.ts │ │ │ │ ├── getEnsText.test.ts │ │ │ │ ├── getEnsText.ts │ │ │ │ ├── getFeeHistory.test.ts │ │ │ │ ├── getFeeHistory.ts │ │ │ │ ├── getGasPrice.test.ts │ │ │ │ ├── getGasPrice.ts │ │ │ │ ├── getProof.test.ts │ │ │ │ ├── getProof.ts │ │ │ │ ├── getStorageAt.test.ts │ │ │ │ ├── getStorageAt.ts │ │ │ │ ├── getTransaction.test-d.ts │ │ │ │ ├── getTransaction.test.ts │ │ │ │ ├── getTransaction.ts │ │ │ │ ├── getTransactionConfirmations.test-d.ts │ │ │ │ ├── getTransactionConfirmations.test.ts │ │ │ │ ├── getTransactionConfirmations.ts │ │ │ │ ├── getTransactionCount.test.ts │ │ │ │ ├── getTransactionCount.ts │ │ │ │ ├── getTransactionReceipt.test-d.ts │ │ │ │ ├── getTransactionReceipt.test.ts │ │ │ │ ├── getTransactionReceipt.ts │ │ │ │ ├── getWalletClient.test-d.ts │ │ │ │ ├── getWalletClient.test.ts │ │ │ │ ├── getWalletClient.ts │ │ │ │ ├── infiniteReadContracts.test-d.ts │ │ │ │ ├── infiniteReadContracts.test.ts │ │ │ │ ├── infiniteReadContracts.ts │ │ │ │ ├── prepareTransactionRequest.test-d.ts │ │ │ │ ├── prepareTransactionRequest.test.ts │ │ │ │ ├── prepareTransactionRequest.ts │ │ │ │ ├── readContract.test-d.ts │ │ │ │ ├── readContract.test.ts │ │ │ │ ├── readContract.ts │ │ │ │ ├── readContracts.test-d.ts │ │ │ │ ├── readContracts.test.ts │ │ │ │ ├── readContracts.ts │ │ │ │ ├── reconnect.test.ts │ │ │ │ ├── reconnect.ts │ │ │ │ ├── sendCalls.test.ts │ │ │ │ ├── sendCalls.ts │ │ │ │ ├── sendCallsSync.test.ts │ │ │ │ ├── sendCallsSync.ts │ │ │ │ ├── sendTransaction.test.ts │ │ │ │ ├── sendTransaction.ts │ │ │ │ ├── sendTransactionSync.test.ts │ │ │ │ ├── sendTransactionSync.ts │ │ │ │ ├── showCallsStatus.test.ts │ │ │ │ ├── showCallsStatus.ts │ │ │ │ ├── signMessage.test.ts │ │ │ │ ├── signMessage.ts │ │ │ │ ├── signTransaction.test.ts │ │ │ │ ├── signTransaction.ts │ │ │ │ ├── signTypedData.test.ts │ │ │ │ ├── signTypedData.ts │ │ │ │ ├── simulateContract.test-d.ts │ │ │ │ ├── simulateContract.test.ts │ │ │ │ ├── simulateContract.ts │ │ │ │ ├── switchChain.test.ts │ │ │ │ ├── switchChain.ts │ │ │ │ ├── switchConnection.test.ts │ │ │ │ ├── switchConnection.ts │ │ │ │ ├── types.ts │ │ │ │ ├── utils.test.ts │ │ │ │ ├── utils.ts │ │ │ │ ├── verifyMessage.test.ts │ │ │ │ ├── verifyMessage.ts │ │ │ │ ├── verifyTypedData.test-d.ts │ │ │ │ ├── verifyTypedData.test.ts │ │ │ │ ├── verifyTypedData.ts │ │ │ │ ├── waitForCallsStatus.test.ts │ │ │ │ ├── waitForCallsStatus.ts │ │ │ │ ├── waitForTransactionReceipt.test-d.ts │ │ │ │ ├── waitForTransactionReceipt.test.ts │ │ │ │ ├── waitForTransactionReceipt.ts │ │ │ │ ├── watchAsset.test.ts │ │ │ │ ├── watchAsset.ts │ │ │ │ ├── writeContract.test-d.ts │ │ │ │ ├── writeContract.test.ts │ │ │ │ ├── writeContract.ts │ │ │ │ └── writeContractSync.ts │ │ │ ├── tempo/ │ │ │ │ ├── AGENTS.md │ │ │ │ ├── Connectors.test.ts │ │ │ │ ├── Connectors.ts │ │ │ │ ├── KeyManager.ts │ │ │ │ └── actions/ │ │ │ │ ├── amm.test.ts │ │ │ │ ├── amm.ts │ │ │ │ ├── dex.test.ts │ │ │ │ ├── dex.ts │ │ │ │ ├── faucet.ts │ │ │ │ ├── fee.test.ts │ │ │ │ ├── fee.ts │ │ │ │ ├── index.ts │ │ │ │ ├── nonce.test.ts │ │ │ │ ├── nonce.ts │ │ │ │ ├── policy.test.ts │ │ │ │ ├── policy.ts │ │ │ │ ├── reward.test.ts │ │ │ │ ├── reward.ts │ │ │ │ ├── token.test.ts │ │ │ │ ├── token.ts │ │ │ │ └── utils.ts │ │ │ ├── transports/ │ │ │ │ ├── connector.test.ts │ │ │ │ ├── connector.ts │ │ │ │ ├── fallback.test.ts │ │ │ │ └── fallback.ts │ │ │ ├── types/ │ │ │ │ ├── chain.test-d.ts │ │ │ │ ├── chain.ts │ │ │ │ ├── properties.ts │ │ │ │ ├── query.ts │ │ │ │ ├── register.ts │ │ │ │ ├── utils.test-d.ts │ │ │ │ └── utils.ts │ │ │ ├── utils/ │ │ │ │ ├── cookie.test.ts │ │ │ │ ├── cookie.ts │ │ │ │ ├── deepEqual.test.ts │ │ │ │ ├── deepEqual.ts │ │ │ │ ├── deserialize.test.ts │ │ │ │ ├── deserialize.ts │ │ │ │ ├── extractRpcUrls.test.ts │ │ │ │ ├── extractRpcUrls.ts │ │ │ │ ├── getAction.test.ts │ │ │ │ ├── getAction.ts │ │ │ │ ├── getVersion.test.ts │ │ │ │ ├── getVersion.ts │ │ │ │ ├── serialize.test.ts │ │ │ │ ├── serialize.ts │ │ │ │ └── uid.ts │ │ │ └── version.ts │ │ ├── test/ │ │ │ └── setup.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── create-wagmi/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── cli.test.ts │ │ │ ├── cli.ts │ │ │ ├── frameworks.ts │ │ │ ├── index.test-d.ts │ │ │ ├── utils.ts │ │ │ └── version.ts │ │ ├── templates/ │ │ │ ├── next/ │ │ │ │ ├── README.md │ │ │ │ ├── _env.local │ │ │ │ ├── _gitignore │ │ │ │ ├── _npmrc │ │ │ │ ├── next-env.d.ts │ │ │ │ ├── next.config.ts │ │ │ │ ├── package.json │ │ │ │ ├── src/ │ │ │ │ │ ├── app/ │ │ │ │ │ │ ├── globals.css │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── providers.tsx │ │ │ │ │ └── wagmi.ts │ │ │ │ └── tsconfig.json │ │ │ ├── nuxt/ │ │ │ │ ├── _env.local │ │ │ │ ├── _gitignore │ │ │ │ ├── _npmrc │ │ │ │ ├── app.vue │ │ │ │ ├── components/ │ │ │ │ │ ├── Connect.vue │ │ │ │ │ └── Connection.vue │ │ │ │ ├── nuxt.config.ts │ │ │ │ ├── package.json │ │ │ │ ├── plugins/ │ │ │ │ │ └── wagmi.ts │ │ │ │ ├── server/ │ │ │ │ │ └── tsconfig.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── wagmi.ts │ │ │ ├── vite-react/ │ │ │ │ ├── README.md │ │ │ │ ├── _gitignore │ │ │ │ ├── _npmrc │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src/ │ │ │ │ │ ├── App.tsx │ │ │ │ │ ├── index.css │ │ │ │ │ ├── main.tsx │ │ │ │ │ ├── vite-env.d.ts │ │ │ │ │ └── wagmi.ts │ │ │ │ ├── tsconfig.json │ │ │ │ ├── tsconfig.node.json │ │ │ │ └── vite.config.ts │ │ │ ├── vite-vanilla/ │ │ │ │ ├── _gitignore │ │ │ │ ├── _npmrc │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src/ │ │ │ │ │ ├── main.ts │ │ │ │ │ ├── style.css │ │ │ │ │ ├── vite-env.d.ts │ │ │ │ │ └── wagmi.ts │ │ │ │ └── tsconfig.json │ │ │ └── vite-vue/ │ │ │ ├── README.md │ │ │ ├── _gitignore │ │ │ ├── _npmrc │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── src/ │ │ │ │ ├── App.vue │ │ │ │ ├── components/ │ │ │ │ │ ├── Connect.vue │ │ │ │ │ └── Connection.vue │ │ │ │ ├── main.ts │ │ │ │ ├── style.css │ │ │ │ ├── vite-env.d.ts │ │ │ │ └── wagmi.ts │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.node.json │ │ │ └── vite.config.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── react/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── context.test.tsx │ │ │ ├── context.ts │ │ │ ├── errors/ │ │ │ │ ├── base.test.ts │ │ │ │ ├── base.ts │ │ │ │ ├── context.test.ts │ │ │ │ └── context.ts │ │ │ ├── exports/ │ │ │ │ ├── actions.test.ts │ │ │ │ ├── actions.ts │ │ │ │ ├── chains.ts │ │ │ │ ├── codegen.test.ts │ │ │ │ ├── codegen.ts │ │ │ │ ├── connectors.test.ts │ │ │ │ ├── connectors.ts │ │ │ │ ├── index.test.ts │ │ │ │ ├── index.ts │ │ │ │ ├── query.test.ts │ │ │ │ ├── query.ts │ │ │ │ ├── tempo.test.ts │ │ │ │ └── tempo.ts │ │ │ ├── hooks/ │ │ │ │ ├── AGENTS.md │ │ │ │ ├── codegen/ │ │ │ │ │ ├── createUseReadContract.test-d.ts │ │ │ │ │ ├── createUseReadContract.test.ts │ │ │ │ │ ├── createUseReadContract.ts │ │ │ │ │ ├── createUseSimulateContract.test-d.ts │ │ │ │ │ ├── createUseSimulateContract.test.ts │ │ │ │ │ ├── createUseSimulateContract.ts │ │ │ │ │ ├── createUseWatchContractEvent.test-d.ts │ │ │ │ │ ├── createUseWatchContractEvent.test.ts │ │ │ │ │ ├── createUseWatchContractEvent.ts │ │ │ │ │ ├── createUseWriteContract.test-d.ts │ │ │ │ │ ├── createUseWriteContract.test.ts │ │ │ │ │ └── createUseWriteContract.ts │ │ │ │ ├── useBalance.test-d.ts │ │ │ │ ├── useBalance.test.ts │ │ │ │ ├── useBalance.ts │ │ │ │ ├── useBlobBaseFee.test.ts │ │ │ │ ├── useBlobBaseFee.ts │ │ │ │ ├── useBlock.test-d.ts │ │ │ │ ├── useBlock.test.ts │ │ │ │ ├── useBlock.ts │ │ │ │ ├── useBlockNumber.test-d.ts │ │ │ │ ├── useBlockNumber.test.ts │ │ │ │ ├── useBlockNumber.ts │ │ │ │ ├── useBlockTransactionCount.test-d.ts │ │ │ │ ├── useBlockTransactionCount.test.ts │ │ │ │ ├── useBlockTransactionCount.ts │ │ │ │ ├── useBytecode.test-d.ts │ │ │ │ ├── useBytecode.test.ts │ │ │ │ ├── useBytecode.ts │ │ │ │ ├── useCall.test-d.ts │ │ │ │ ├── useCall.test.ts │ │ │ │ ├── useCall.ts │ │ │ │ ├── useCallsStatus.test.ts │ │ │ │ ├── useCallsStatus.ts │ │ │ │ ├── useCapabilities.test.ts │ │ │ │ ├── useCapabilities.ts │ │ │ │ ├── useChainId.test-d.ts │ │ │ │ ├── useChainId.test.ts │ │ │ │ ├── useChainId.ts │ │ │ │ ├── useChains.test.ts │ │ │ │ ├── useChains.ts │ │ │ │ ├── useClient.test-d.ts │ │ │ │ ├── useClient.test.ts │ │ │ │ ├── useClient.ts │ │ │ │ ├── useConfig.test-d.ts │ │ │ │ ├── useConfig.test.ts │ │ │ │ ├── useConfig.ts │ │ │ │ ├── useConnect.test-d.ts │ │ │ │ ├── useConnect.test.ts │ │ │ │ ├── useConnect.ts │ │ │ │ ├── useConnection.test-d.ts │ │ │ │ ├── useConnection.test.ts │ │ │ │ ├── useConnection.ts │ │ │ │ ├── useConnectionEffect.test.ts │ │ │ │ ├── useConnectionEffect.ts │ │ │ │ ├── useConnections.test.ts │ │ │ │ ├── useConnections.ts │ │ │ │ ├── useConnectorClient.test-d.ts │ │ │ │ ├── useConnectorClient.test.tsx │ │ │ │ ├── useConnectorClient.ts │ │ │ │ ├── useConnectors.test.ts │ │ │ │ ├── useConnectors.ts │ │ │ │ ├── useContractEvents.test-d.ts │ │ │ │ ├── useContractEvents.test.ts │ │ │ │ ├── useContractEvents.ts │ │ │ │ ├── useDeployContract.test-d.ts │ │ │ │ ├── useDeployContract.test.ts │ │ │ │ ├── useDeployContract.ts │ │ │ │ ├── useDisconnect.test-d.ts │ │ │ │ ├── useDisconnect.test.ts │ │ │ │ ├── useDisconnect.ts │ │ │ │ ├── useEnsAddress.test.ts │ │ │ │ ├── useEnsAddress.ts │ │ │ │ ├── useEnsAvatar.test.ts │ │ │ │ ├── useEnsAvatar.ts │ │ │ │ ├── useEnsName.test.ts │ │ │ │ ├── useEnsName.ts │ │ │ │ ├── useEnsResolver.test.ts │ │ │ │ ├── useEnsResolver.ts │ │ │ │ ├── useEnsText.test.ts │ │ │ │ ├── useEnsText.ts │ │ │ │ ├── useEstimateFeesPerGas.test-d.ts │ │ │ │ ├── useEstimateFeesPerGas.test.ts │ │ │ │ ├── useEstimateFeesPerGas.ts │ │ │ │ ├── useEstimateGas.test-d.ts │ │ │ │ ├── useEstimateGas.test.ts │ │ │ │ ├── useEstimateGas.ts │ │ │ │ ├── useEstimateMaxPriorityFeePerGas.test-d.ts │ │ │ │ ├── useEstimateMaxPriorityFeePerGas.test.ts │ │ │ │ ├── useEstimateMaxPriorityFeePerGas.ts │ │ │ │ ├── useFeeHistory.test-d.ts │ │ │ │ ├── useFeeHistory.test.ts │ │ │ │ ├── useFeeHistory.ts │ │ │ │ ├── useGasPrice.test-d.ts │ │ │ │ ├── useGasPrice.test.ts │ │ │ │ ├── useGasPrice.ts │ │ │ │ ├── useInfiniteReadContracts.test-d.ts │ │ │ │ ├── useInfiniteReadContracts.test.ts │ │ │ │ ├── useInfiniteReadContracts.ts │ │ │ │ ├── usePrepareTransactionRequest.test-d.ts │ │ │ │ ├── usePrepareTransactionRequest.test.ts │ │ │ │ ├── usePrepareTransactionRequest.ts │ │ │ │ ├── useProof.test-d.ts │ │ │ │ ├── useProof.test.ts │ │ │ │ ├── useProof.ts │ │ │ │ ├── usePublicClient.test-d.ts │ │ │ │ ├── usePublicClient.test.ts │ │ │ │ ├── usePublicClient.ts │ │ │ │ ├── useReadContract.test-d.ts │ │ │ │ ├── useReadContract.test.ts │ │ │ │ ├── useReadContract.ts │ │ │ │ ├── useReadContracts.test-d.ts │ │ │ │ ├── useReadContracts.test.ts │ │ │ │ ├── useReadContracts.ts │ │ │ │ ├── useReconnect.test-d.ts │ │ │ │ ├── useReconnect.test.ts │ │ │ │ ├── useReconnect.ts │ │ │ │ ├── useSendCalls.test.ts │ │ │ │ ├── useSendCalls.ts │ │ │ │ ├── useSendCallsSync.test.ts │ │ │ │ ├── useSendCallsSync.ts │ │ │ │ ├── useSendTransaction.test-d.ts │ │ │ │ ├── useSendTransaction.test.ts │ │ │ │ ├── useSendTransaction.ts │ │ │ │ ├── useSendTransactionSync.test.ts │ │ │ │ ├── useSendTransactionSync.ts │ │ │ │ ├── useShowCallsStatus.test.ts │ │ │ │ ├── useShowCallsStatus.ts │ │ │ │ ├── useSignMessage.test-d.ts │ │ │ │ ├── useSignMessage.test.ts │ │ │ │ ├── useSignMessage.ts │ │ │ │ ├── useSignTransaction.test-d.ts │ │ │ │ ├── useSignTransaction.test.ts │ │ │ │ ├── useSignTransaction.ts │ │ │ │ ├── useSignTypedData.test-d.ts │ │ │ │ ├── useSignTypedData.test.ts │ │ │ │ ├── useSignTypedData.ts │ │ │ │ ├── useSimulateContract.test-d.ts │ │ │ │ ├── useSimulateContract.test.ts │ │ │ │ ├── useSimulateContract.ts │ │ │ │ ├── useStorageAt.test-d.ts │ │ │ │ ├── useStorageAt.test.ts │ │ │ │ ├── useStorageAt.ts │ │ │ │ ├── useSwitchChain.test-d.ts │ │ │ │ ├── useSwitchChain.test.ts │ │ │ │ ├── useSwitchChain.ts │ │ │ │ ├── useSwitchConnection.test-d.ts │ │ │ │ ├── useSwitchConnection.test.ts │ │ │ │ ├── useSwitchConnection.ts │ │ │ │ ├── useSyncExternalStoreWithTracked.test.tsx │ │ │ │ ├── useSyncExternalStoreWithTracked.ts │ │ │ │ ├── useTransaction.test-d.ts │ │ │ │ ├── useTransaction.test.ts │ │ │ │ ├── useTransaction.ts │ │ │ │ ├── useTransactionConfirmations.test-d.ts │ │ │ │ ├── useTransactionConfirmations.test.ts │ │ │ │ ├── useTransactionConfirmations.ts │ │ │ │ ├── useTransactionCount.test-d.ts │ │ │ │ ├── useTransactionCount.test.ts │ │ │ │ ├── useTransactionCount.ts │ │ │ │ ├── useTransactionReceipt.test-d.ts │ │ │ │ ├── useTransactionReceipt.test.ts │ │ │ │ ├── useTransactionReceipt.ts │ │ │ │ ├── useVerifyMessage.test-d.ts │ │ │ │ ├── useVerifyMessage.test.ts │ │ │ │ ├── useVerifyMessage.ts │ │ │ │ ├── useVerifyTypedData.test-d.ts │ │ │ │ ├── useVerifyTypedData.test.ts │ │ │ │ ├── useVerifyTypedData.ts │ │ │ │ ├── useWaitForCallsStatus.test.ts │ │ │ │ ├── useWaitForCallsStatus.ts │ │ │ │ ├── useWaitForTransactionReceipt.test-d.ts │ │ │ │ ├── useWaitForTransactionReceipt.test.ts │ │ │ │ ├── useWaitForTransactionReceipt.ts │ │ │ │ ├── useWalletClient.test-d.ts │ │ │ │ ├── useWalletClient.test.tsx │ │ │ │ ├── useWalletClient.ts │ │ │ │ ├── useWatchAsset.test-d.ts │ │ │ │ ├── useWatchAsset.test.ts │ │ │ │ ├── useWatchAsset.ts │ │ │ │ ├── useWatchBlockNumber.test-d.ts │ │ │ │ ├── useWatchBlockNumber.test.ts │ │ │ │ ├── useWatchBlockNumber.ts │ │ │ │ ├── useWatchBlocks.test-d.ts │ │ │ │ ├── useWatchBlocks.test.ts │ │ │ │ ├── useWatchBlocks.ts │ │ │ │ ├── useWatchContractEvent.test-d.ts │ │ │ │ ├── useWatchContractEvent.test.ts │ │ │ │ ├── useWatchContractEvent.ts │ │ │ │ ├── useWatchPendingTransactions.test-d.ts │ │ │ │ ├── useWatchPendingTransactions.test.ts │ │ │ │ ├── useWatchPendingTransactions.ts │ │ │ │ ├── useWriteContract.test-d.ts │ │ │ │ ├── useWriteContract.test.ts │ │ │ │ ├── useWriteContract.ts │ │ │ │ ├── useWriteContractSync.test-d.ts │ │ │ │ ├── useWriteContractSync.test.ts │ │ │ │ └── useWriteContractSync.ts │ │ │ ├── hydrate.ts │ │ │ ├── tempo/ │ │ │ │ ├── AGENTS.md │ │ │ │ ├── Connectors.test.ts │ │ │ │ ├── hooks/ │ │ │ │ │ ├── amm.test.ts │ │ │ │ │ ├── amm.ts │ │ │ │ │ ├── dex.test.ts │ │ │ │ │ ├── dex.ts │ │ │ │ │ ├── faucet.ts │ │ │ │ │ ├── fee.test.ts │ │ │ │ │ ├── fee.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── nonce.test.ts │ │ │ │ │ ├── nonce.ts │ │ │ │ │ ├── policy.test.ts │ │ │ │ │ ├── policy.ts │ │ │ │ │ ├── reward.test.ts │ │ │ │ │ ├── reward.ts │ │ │ │ │ ├── token.test.ts │ │ │ │ │ └── token.ts │ │ │ │ └── utils.ts │ │ │ ├── types/ │ │ │ │ └── properties.ts │ │ │ ├── utils/ │ │ │ │ ├── getVersion.test.ts │ │ │ │ ├── getVersion.ts │ │ │ │ └── query.ts │ │ │ └── version.ts │ │ ├── test/ │ │ │ └── setup.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── register-tests/ │ │ ├── react/ │ │ │ ├── package.json │ │ │ ├── src/ │ │ │ │ ├── config.ts │ │ │ │ ├── createUseSimulateContract.test-d.ts │ │ │ │ ├── createUseWriteContract.test-d.ts │ │ │ │ ├── useBlock.test-d.ts │ │ │ │ ├── useChainId.test-d.ts │ │ │ │ ├── useChains.test-d.ts │ │ │ │ ├── useClient.test-d.ts │ │ │ │ ├── useConfig.test-d.ts │ │ │ │ ├── useConnect.test-d.ts │ │ │ │ ├── useConnection.test-d.ts │ │ │ │ ├── usePrepareTransactionRequest.test-d.ts │ │ │ │ ├── usePublicClient.ts │ │ │ │ ├── useReadContract.test-d.ts │ │ │ │ ├── useReadContracts.test-d.ts │ │ │ │ ├── useSendTransaction.test-d.ts │ │ │ │ ├── useSimulateContract.test-d.ts │ │ │ │ ├── useSwitchChain.test-d.ts │ │ │ │ ├── useTransaction.test-d.ts │ │ │ │ ├── useTransactionConfirmations.test-d.ts │ │ │ │ ├── useTransactionReceipt.test-d.ts │ │ │ │ ├── useWaitForTransactionReceipt.test-d.ts │ │ │ │ └── useWriteContract.test-d.ts │ │ │ └── tsconfig.json │ │ ├── solid/ │ │ │ ├── package.json │ │ │ ├── src/ │ │ │ │ ├── config.ts │ │ │ │ ├── useChainId.test-d.ts │ │ │ │ ├── useChains.test-d.ts │ │ │ │ ├── useClient.test-d.ts │ │ │ │ ├── useConfig.test-d.ts │ │ │ │ ├── useConnect.test-d.ts │ │ │ │ ├── useConnection.test-d.ts │ │ │ │ └── useSwitchChain.test-d.ts │ │ │ └── tsconfig.json │ │ └── vue/ │ │ ├── package.json │ │ ├── src/ │ │ │ ├── config.ts │ │ │ ├── useChainId.test-d.ts │ │ │ ├── useChains.test-d.ts │ │ │ ├── useClient.test-d.ts │ │ │ ├── useConfig.test-d.ts │ │ │ ├── useConnect.test-d.ts │ │ │ ├── useConnection.test-d.ts │ │ │ ├── useReadContract.test-d.ts │ │ │ ├── useSendTransaction.test-d.ts │ │ │ ├── useSimulateContract.test-d.ts │ │ │ ├── useSwitchChain.test-d.ts │ │ │ ├── useTransaction.test-d.ts │ │ │ ├── useTransactionReceipt.test-d.ts │ │ │ ├── useWaitForTransaction.test-d.ts │ │ │ └── useWriteContract.test-d.ts │ │ └── tsconfig.json │ ├── solid/ │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── context.ts │ │ │ ├── errors/ │ │ │ │ ├── base.test.ts │ │ │ │ ├── base.ts │ │ │ │ ├── context.test.ts │ │ │ │ └── context.ts │ │ │ ├── exports/ │ │ │ │ ├── actions.test.ts │ │ │ │ ├── actions.ts │ │ │ │ ├── chains.ts │ │ │ │ ├── connectors.test.ts │ │ │ │ ├── connectors.ts │ │ │ │ ├── index.ts │ │ │ │ ├── query.test.ts │ │ │ │ └── query.ts │ │ │ ├── hydrate.ts │ │ │ ├── primitives/ │ │ │ │ ├── useBalance.test-d.ts │ │ │ │ ├── useBalance.test.ts │ │ │ │ ├── useBalance.ts │ │ │ │ ├── useBlockNumber.test-d.ts │ │ │ │ ├── useBlockNumber.test.ts │ │ │ │ ├── useBlockNumber.ts │ │ │ │ ├── useChainId.test-d.ts │ │ │ │ ├── useChainId.test.ts │ │ │ │ ├── useChainId.ts │ │ │ │ ├── useChains.test.ts │ │ │ │ ├── useChains.ts │ │ │ │ ├── useClient.test-d.ts │ │ │ │ ├── useClient.test.ts │ │ │ │ ├── useClient.ts │ │ │ │ ├── useConfig.test-d.ts │ │ │ │ ├── useConfig.test.ts │ │ │ │ ├── useConfig.ts │ │ │ │ ├── useConnect.test-d.ts │ │ │ │ ├── useConnect.test.ts │ │ │ │ ├── useConnect.ts │ │ │ │ ├── useConnection.test-d.ts │ │ │ │ ├── useConnection.test.ts │ │ │ │ ├── useConnection.ts │ │ │ │ ├── useConnectionEffect.test.ts │ │ │ │ ├── useConnectionEffect.ts │ │ │ │ ├── useConnections.test.ts │ │ │ │ ├── useConnections.ts │ │ │ │ ├── useConnectorClient.test-d.ts │ │ │ │ ├── useConnectorClient.test.ts │ │ │ │ ├── useConnectorClient.ts │ │ │ │ ├── useConnectors.test.ts │ │ │ │ ├── useConnectors.ts │ │ │ │ ├── useDisconnect.test-d.ts │ │ │ │ ├── useDisconnect.test.ts │ │ │ │ ├── useDisconnect.ts │ │ │ │ ├── useReconnect.test-d.ts │ │ │ │ ├── useReconnect.test.ts │ │ │ │ ├── useReconnect.ts │ │ │ │ ├── useSwitchChain.test-d.ts │ │ │ │ ├── useSwitchChain.test.ts │ │ │ │ ├── useSwitchChain.ts │ │ │ │ ├── useSwitchConnection.test-d.ts │ │ │ │ ├── useSwitchConnection.test.ts │ │ │ │ ├── useSwitchConnection.ts │ │ │ │ ├── useWatchBlockNumber.test-d.ts │ │ │ │ ├── useWatchBlockNumber.test.ts │ │ │ │ └── useWatchBlockNumber.ts │ │ │ ├── utils/ │ │ │ │ ├── getVersion.test.ts │ │ │ │ ├── getVersion.ts │ │ │ │ └── query.ts │ │ │ └── version.ts │ │ ├── test/ │ │ │ └── setup.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── test/ │ │ ├── package.json │ │ ├── src/ │ │ │ ├── chains.ts │ │ │ ├── clients.ts │ │ │ ├── config.ts │ │ │ ├── constants.ts │ │ │ ├── exports/ │ │ │ │ ├── index.test-d.ts │ │ │ │ ├── index.test.ts │ │ │ │ ├── index.ts │ │ │ │ ├── react.ts │ │ │ │ ├── solid.ts │ │ │ │ ├── tempo.ts │ │ │ │ └── vue.ts │ │ │ ├── regex.ts │ │ │ ├── setup.global.ts │ │ │ ├── setup.global.types.ts │ │ │ ├── setup.ts │ │ │ ├── tempo/ │ │ │ │ ├── config.ts │ │ │ │ ├── setup.global.ts │ │ │ │ └── setup.ts │ │ │ ├── utils.ts │ │ │ └── vite-env.d.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ └── vue/ │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src/ │ │ ├── composables/ │ │ │ ├── useBalance.test-d.ts │ │ │ ├── useBalance.test.ts │ │ │ ├── useBalance.ts │ │ │ ├── useBlockNumber.test-d.ts │ │ │ ├── useBlockNumber.test.ts │ │ │ ├── useBlockNumber.ts │ │ │ ├── useBytecode.test-d.ts │ │ │ ├── useBytecode.test.ts │ │ │ ├── useBytecode.ts │ │ │ ├── useChainId.test-d.ts │ │ │ ├── useChainId.test.ts │ │ │ ├── useChainId.ts │ │ │ ├── useChains.test.ts │ │ │ ├── useChains.ts │ │ │ ├── useClient.test-d.ts │ │ │ ├── useClient.test.ts │ │ │ ├── useClient.ts │ │ │ ├── useConfig.test-d.ts │ │ │ ├── useConfig.test.ts │ │ │ ├── useConfig.ts │ │ │ ├── useConnect.test-d.ts │ │ │ ├── useConnect.test.ts │ │ │ ├── useConnect.ts │ │ │ ├── useConnection.test-d.ts │ │ │ ├── useConnection.test.ts │ │ │ ├── useConnection.ts │ │ │ ├── useConnectionEffect.test.ts │ │ │ ├── useConnectionEffect.ts │ │ │ ├── useConnections.test.ts │ │ │ ├── useConnections.ts │ │ │ ├── useConnectorClient.test-d.ts │ │ │ ├── useConnectorClient.test.ts │ │ │ ├── useConnectorClient.ts │ │ │ ├── useConnectors.test.ts │ │ │ ├── useConnectors.ts │ │ │ ├── useDisconnect.test-d.ts │ │ │ ├── useDisconnect.test.ts │ │ │ ├── useDisconnect.ts │ │ │ ├── useEnsAddress.test.ts │ │ │ ├── useEnsAddress.ts │ │ │ ├── useEnsAvatar.test.ts │ │ │ ├── useEnsAvatar.ts │ │ │ ├── useEnsName.test.ts │ │ │ ├── useEnsName.ts │ │ │ ├── useEstimateGas.test-d.ts │ │ │ ├── useEstimateGas.test.ts │ │ │ ├── useEstimateGas.ts │ │ │ ├── useReadContract.test-d.ts │ │ │ ├── useReadContract.test.ts │ │ │ ├── useReadContract.ts │ │ │ ├── useReconnect.test-d.ts │ │ │ ├── useReconnect.test.ts │ │ │ ├── useReconnect.ts │ │ │ ├── useSendTransaction.test-d.ts │ │ │ ├── useSendTransaction.test.ts │ │ │ ├── useSendTransaction.ts │ │ │ ├── useSignMessage.test-d.ts │ │ │ ├── useSignMessage.test.ts │ │ │ ├── useSignMessage.ts │ │ │ ├── useSignTransaction.test-d.ts │ │ │ ├── useSignTransaction.test.ts │ │ │ ├── useSignTransaction.ts │ │ │ ├── useSignTypedData.test-d.ts │ │ │ ├── useSignTypedData.test.ts │ │ │ ├── useSignTypedData.ts │ │ │ ├── useSimulateContract.test-d.ts │ │ │ ├── useSimulateContract.test.ts │ │ │ ├── useSimulateContract.ts │ │ │ ├── useSwitchChain.test-d.ts │ │ │ ├── useSwitchChain.test.ts │ │ │ ├── useSwitchChain.ts │ │ │ ├── useSwitchConnection.test-d.ts │ │ │ ├── useSwitchConnection.test.ts │ │ │ ├── useSwitchConnection.ts │ │ │ ├── useTransaction.test-d.ts │ │ │ ├── useTransaction.test.ts │ │ │ ├── useTransaction.ts │ │ │ ├── useTransactionReceipt.test-d.ts │ │ │ ├── useTransactionReceipt.test.ts │ │ │ ├── useTransactionReceipt.ts │ │ │ ├── useWaitForTransactionReceipt.test-d.ts │ │ │ ├── useWaitForTransactionReceipt.test.ts │ │ │ ├── useWaitForTransactionReceipt.ts │ │ │ ├── useWatchBlockNumber.test-d.ts │ │ │ ├── useWatchBlockNumber.test.ts │ │ │ ├── useWatchBlockNumber.ts │ │ │ ├── useWatchContractEvent.test-d.ts │ │ │ ├── useWatchContractEvent.test.ts │ │ │ ├── useWatchContractEvent.ts │ │ │ ├── useWriteContract.test-d.ts │ │ │ ├── useWriteContract.test.ts │ │ │ └── useWriteContract.ts │ │ ├── errors/ │ │ │ ├── base.test.ts │ │ │ ├── base.ts │ │ │ ├── plugin.test.ts │ │ │ └── plugin.ts │ │ ├── exports/ │ │ │ ├── actions.test.ts │ │ │ ├── actions.ts │ │ │ ├── chains.ts │ │ │ ├── connectors.test.ts │ │ │ ├── connectors.ts │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ ├── nuxt.test.ts │ │ │ ├── nuxt.ts │ │ │ ├── query.test.ts │ │ │ └── query.ts │ │ ├── nuxt/ │ │ │ ├── module.ts │ │ │ └── runtime/ │ │ │ └── composables.ts │ │ ├── plugin.ts │ │ ├── types/ │ │ │ ├── properties.ts │ │ │ └── ref.ts │ │ ├── utils/ │ │ │ ├── cloneDeep.ts │ │ │ ├── getVersion.test.ts │ │ │ ├── getVersion.ts │ │ │ ├── query.ts │ │ │ └── updateState.ts │ │ └── version.ts │ ├── test/ │ │ └── setup.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── playgrounds/ │ ├── next/ │ │ ├── .gitignore │ │ ├── next.config.ts │ │ ├── package.json │ │ ├── src/ │ │ │ ├── app/ │ │ │ │ ├── contracts.ts │ │ │ │ ├── globals.css │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── providers.tsx │ │ │ └── wagmi.ts │ │ └── tsconfig.json │ ├── nuxt/ │ │ ├── .gitignore │ │ ├── app.vue │ │ ├── components/ │ │ │ ├── Connect.vue │ │ │ └── Connection.vue │ │ ├── nuxt.config.ts │ │ ├── package.json │ │ ├── plugins/ │ │ │ └── wagmi.ts │ │ ├── server/ │ │ │ └── tsconfig.json │ │ ├── tsconfig.json │ │ └── wagmi.ts │ ├── solid-start/ │ │ ├── .gitignore │ │ ├── app.config.ts │ │ ├── package.json │ │ ├── src/ │ │ │ ├── app.css │ │ │ ├── app.tsx │ │ │ ├── contracts.ts │ │ │ ├── entry-client.tsx │ │ │ ├── entry-server.tsx │ │ │ ├── global.d.ts │ │ │ └── wagmi.ts │ │ └── tsconfig.json │ ├── tanstack-start/ │ │ ├── package.json │ │ ├── src/ │ │ │ ├── contracts.ts │ │ │ ├── index.css │ │ │ ├── routeTree.gen.ts │ │ │ ├── router.tsx │ │ │ ├── routes/ │ │ │ │ ├── __root.tsx │ │ │ │ └── index.tsx │ │ │ └── wagmi.ts │ │ ├── tsconfig.json │ │ ├── vite.config.ts │ │ ├── worker-configuration.d.ts │ │ └── wrangler.jsonc │ ├── vite-core/ │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package.json │ │ ├── src/ │ │ │ ├── App.tsx │ │ │ ├── index.css │ │ │ ├── main.tsx │ │ │ ├── vite-env.d.ts │ │ │ └── wagmi.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts │ ├── vite-react/ │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package.json │ │ ├── public/ │ │ │ └── manifest.json │ │ ├── src/ │ │ │ ├── App.tsx │ │ │ ├── contracts.ts │ │ │ ├── index.css │ │ │ ├── main.tsx │ │ │ ├── vite-env.d.ts │ │ │ └── wagmi.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ ├── vite.config.ts │ │ └── wagmi.config.ts │ ├── vite-solid/ │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package.json │ │ ├── src/ │ │ │ ├── App.tsx │ │ │ ├── contracts.ts │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── vite-env.d.ts │ │ │ └── wagmi.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts │ └── vite-vue/ │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── src/ │ │ ├── App.vue │ │ ├── components/ │ │ │ ├── Balance.vue │ │ │ ├── BlockNumber.vue │ │ │ ├── Client.vue │ │ │ ├── Connect.vue │ │ │ ├── Connection.vue │ │ │ ├── Connections.vue │ │ │ ├── ConnectorClient.vue │ │ │ ├── ReadContract.vue │ │ │ ├── SendTransaction.vue │ │ │ ├── SwitchChain.vue │ │ │ ├── SwitchConnection.vue │ │ │ └── WriteContract.vue │ │ ├── contracts.ts │ │ ├── main.ts │ │ ├── style.css │ │ ├── vite-env.d.ts │ │ └── wagmi.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── pnpm-workspace.yaml ├── scripts/ │ ├── formatPackageJson.ts │ ├── generateProxyPackages.ts │ ├── preconstruct.ts │ ├── restorePackageJson.ts │ ├── updateBlockExplorerPluginChains.ts │ ├── updateVersion.ts │ └── updateViemVersion.ts ├── site/ │ ├── .gitignore │ ├── .vitepress/ │ │ ├── config.ts │ │ ├── sidebar.ts │ │ └── theme/ │ │ ├── components/ │ │ │ ├── AsideSponsors.vue │ │ │ ├── Banner.vue │ │ │ ├── HomeBanner.vue │ │ │ └── HomePage.vue │ │ ├── composables/ │ │ │ └── useSponsors.ts │ │ ├── index.ts │ │ └── style.css │ ├── AGENTS.md │ ├── cli/ │ │ ├── api/ │ │ │ ├── commands/ │ │ │ │ ├── generate.md │ │ │ │ └── init.md │ │ │ ├── commands.md │ │ │ ├── plugins/ │ │ │ │ ├── actions.md │ │ │ │ ├── blockExplorer.md │ │ │ │ ├── etherscan.md │ │ │ │ ├── fetch.md │ │ │ │ ├── foundry.md │ │ │ │ ├── hardhat.md │ │ │ │ ├── react.md │ │ │ │ └── sourcify.md │ │ │ └── plugins.md │ │ ├── config/ │ │ │ ├── configuring-cli.md │ │ │ └── options.md │ │ ├── create-wagmi.md │ │ ├── getting-started.md │ │ ├── guides/ │ │ │ └── migrate-from-v1-to-v2.md │ │ ├── installation.md │ │ └── why.md │ ├── components/ │ │ ├── Browsers.vue │ │ ├── PackageMetadata.vue │ │ └── SearchChains.vue │ ├── core/ │ │ ├── api/ │ │ │ ├── actions/ │ │ │ │ ├── call.md │ │ │ │ ├── connect.md │ │ │ │ ├── deployContract.md │ │ │ │ ├── disconnect.md │ │ │ │ ├── estimateFeesPerGas.md │ │ │ │ ├── estimateGas.md │ │ │ │ ├── estimateMaxPriorityFeePerGas.md │ │ │ │ ├── getBalance.md │ │ │ │ ├── getBlobBaseFee.md │ │ │ │ ├── getBlock.md │ │ │ │ ├── getBlockNumber.md │ │ │ │ ├── getBlockTransactionCount.md │ │ │ │ ├── getBytecode.md │ │ │ │ ├── getCallsStatus.md │ │ │ │ ├── getCapabilities.md │ │ │ │ ├── getChainId.md │ │ │ │ ├── getChains.md │ │ │ │ ├── getClient.md │ │ │ │ ├── getConnection.md │ │ │ │ ├── getConnections.md │ │ │ │ ├── getConnectorClient.md │ │ │ │ ├── getConnectors.md │ │ │ │ ├── getContractEvents.md │ │ │ │ ├── getEnsAddress.md │ │ │ │ ├── getEnsAvatar.md │ │ │ │ ├── getEnsName.md │ │ │ │ ├── getEnsResolver.md │ │ │ │ ├── getEnsText.md │ │ │ │ ├── getFeeHistory.md │ │ │ │ ├── getGasPrice.md │ │ │ │ ├── getProof.md │ │ │ │ ├── getPublicClient.md │ │ │ │ ├── getStorageAt.md │ │ │ │ ├── getTransaction.md │ │ │ │ ├── getTransactionConfirmations.md │ │ │ │ ├── getTransactionCount.md │ │ │ │ ├── getTransactionReceipt.md │ │ │ │ ├── getWalletClient.md │ │ │ │ ├── multicall.md │ │ │ │ ├── prepareTransactionRequest.md │ │ │ │ ├── readContract.md │ │ │ │ ├── readContracts.md │ │ │ │ ├── reconnect.md │ │ │ │ ├── sendCalls.md │ │ │ │ ├── sendTransaction.md │ │ │ │ ├── showCallsStatus.md │ │ │ │ ├── signMessage.md │ │ │ │ ├── signTransaction.md │ │ │ │ ├── signTypedData.md │ │ │ │ ├── simulateContract.md │ │ │ │ ├── switchChain.md │ │ │ │ ├── switchConnection.md │ │ │ │ ├── verifyMessage.md │ │ │ │ ├── verifyTypedData.md │ │ │ │ ├── waitForCallsStatus.md │ │ │ │ ├── waitForTransactionReceipt.md │ │ │ │ ├── watchAsset.md │ │ │ │ ├── watchBlockNumber.md │ │ │ │ ├── watchBlocks.md │ │ │ │ ├── watchChainId.md │ │ │ │ ├── watchClient.md │ │ │ │ ├── watchConnection.md │ │ │ │ ├── watchConnections.md │ │ │ │ ├── watchConnectors.md │ │ │ │ ├── watchContractEvent.md │ │ │ │ ├── watchPendingTransactions.md │ │ │ │ ├── watchPublicClient.md │ │ │ │ ├── writeContract.md │ │ │ │ └── writeContracts.md │ │ │ ├── actions.md │ │ │ ├── chains.md │ │ │ ├── connectors/ │ │ │ │ ├── baseAccount.md │ │ │ │ ├── coinbaseWallet.md │ │ │ │ ├── injected.md │ │ │ │ ├── metaMask.md │ │ │ │ ├── mock.md │ │ │ │ ├── porto.md │ │ │ │ ├── safe.md │ │ │ │ └── walletConnect.md │ │ │ ├── connectors.md │ │ │ ├── createConfig.md │ │ │ ├── createConnector.md │ │ │ ├── createStorage.md │ │ │ ├── errors.md │ │ │ ├── transports/ │ │ │ │ ├── custom.md │ │ │ │ ├── fallback.md │ │ │ │ ├── http.md │ │ │ │ ├── unstable_connector.md │ │ │ │ └── webSocket.md │ │ │ ├── transports.md │ │ │ └── utilities/ │ │ │ ├── cookieToInitialState.md │ │ │ ├── deserialize.md │ │ │ └── serialize.md │ │ ├── getting-started.md │ │ ├── guides/ │ │ │ ├── chain-properties.md │ │ │ ├── error-handling.md │ │ │ ├── ethers.md │ │ │ ├── faq.md │ │ │ ├── framework-adapters.md │ │ │ ├── migrate-from-v1-to-v2.md │ │ │ ├── migrate-from-v2-to-v3.md │ │ │ ├── testing.md │ │ │ └── viem.md │ │ ├── installation.md │ │ ├── typescript.md │ │ └── why.md │ ├── dev/ │ │ ├── contributing.md │ │ └── creating-connectors.md │ ├── index.md │ ├── package.json │ ├── react/ │ │ ├── api/ │ │ │ ├── WagmiProvider.md │ │ │ ├── actions.md │ │ │ ├── chains.md │ │ │ ├── connectors/ │ │ │ │ ├── baseAccount.md │ │ │ │ ├── coinbaseWallet.md │ │ │ │ ├── injected.md │ │ │ │ ├── metaMask.md │ │ │ │ ├── mock.md │ │ │ │ ├── porto.md │ │ │ │ ├── safe.md │ │ │ │ └── walletConnect.md │ │ │ ├── connectors.md │ │ │ ├── createConfig.md │ │ │ ├── createStorage.md │ │ │ ├── errors.md │ │ │ ├── hooks/ │ │ │ │ ├── useBalance.md │ │ │ │ ├── useBlobBaseFee.md │ │ │ │ ├── useBlock.md │ │ │ │ ├── useBlockNumber.md │ │ │ │ ├── useBlockTransactionCount.md │ │ │ │ ├── useBytecode.md │ │ │ │ ├── useCall.md │ │ │ │ ├── useCallsStatus.md │ │ │ │ ├── useCapabilities.md │ │ │ │ ├── useChainId.md │ │ │ │ ├── useChains.md │ │ │ │ ├── useClient.md │ │ │ │ ├── useConfig.md │ │ │ │ ├── useConnect.md │ │ │ │ ├── useConnection.md │ │ │ │ ├── useConnectionEffect.md │ │ │ │ ├── useConnections.md │ │ │ │ ├── useConnectorClient.md │ │ │ │ ├── useConnectors.md │ │ │ │ ├── useContractEvents.md │ │ │ │ ├── useDeployContract.md │ │ │ │ ├── useDisconnect.md │ │ │ │ ├── useEnsAddress.md │ │ │ │ ├── useEnsAvatar.md │ │ │ │ ├── useEnsName.md │ │ │ │ ├── useEnsResolver.md │ │ │ │ ├── useEnsText.md │ │ │ │ ├── useEstimateFeesPerGas.md │ │ │ │ ├── useEstimateGas.md │ │ │ │ ├── useEstimateMaxPriorityFeePerGas.md │ │ │ │ ├── useFeeHistory.md │ │ │ │ ├── useGasPrice.md │ │ │ │ ├── useInfiniteReadContracts.md │ │ │ │ ├── usePrepareTransactionRequest.md │ │ │ │ ├── useProof.md │ │ │ │ ├── usePublicClient.md │ │ │ │ ├── useReadContract.md │ │ │ │ ├── useReadContracts.md │ │ │ │ ├── useReconnect.md │ │ │ │ ├── useSendCalls.md │ │ │ │ ├── useSendTransaction.md │ │ │ │ ├── useShowCallsStatus.md │ │ │ │ ├── useSignMessage.md │ │ │ │ ├── useSignTransaction.md │ │ │ │ ├── useSignTypedData.md │ │ │ │ ├── useSimulateContract.md │ │ │ │ ├── useStorageAt.md │ │ │ │ ├── useSwitchChain.md │ │ │ │ ├── useSwitchConnection.md │ │ │ │ ├── useTransaction.md │ │ │ │ ├── useTransactionConfirmations.md │ │ │ │ ├── useTransactionCount.md │ │ │ │ ├── useTransactionReceipt.md │ │ │ │ ├── useVerifyMessage.md │ │ │ │ ├── useVerifyTypedData.md │ │ │ │ ├── useWaitForCallsStatus.md │ │ │ │ ├── useWaitForTransactionReceipt.md │ │ │ │ ├── useWalletClient.md │ │ │ │ ├── useWatchAsset.md │ │ │ │ ├── useWatchBlockNumber.md │ │ │ │ ├── useWatchBlocks.md │ │ │ │ ├── useWatchContractEvent.md │ │ │ │ ├── useWatchPendingTransactions.md │ │ │ │ ├── useWriteContract.md │ │ │ │ └── useWriteContracts.md │ │ │ ├── hooks.md │ │ │ ├── transports/ │ │ │ │ ├── custom.md │ │ │ │ ├── fallback.md │ │ │ │ ├── http.md │ │ │ │ ├── unstable_connector.md │ │ │ │ └── webSocket.md │ │ │ ├── transports.md │ │ │ └── utilities/ │ │ │ ├── cookieToInitialState.md │ │ │ ├── deserialize.md │ │ │ └── serialize.md │ │ ├── comparisons.md │ │ ├── getting-started.md │ │ ├── guides/ │ │ │ ├── chain-properties.md │ │ │ ├── connect-wallet.md │ │ │ ├── error-handling.md │ │ │ ├── ethers.md │ │ │ ├── faq.md │ │ │ ├── migrate-from-v1-to-v2.md │ │ │ ├── migrate-from-v2-to-v3.md │ │ │ ├── read-from-contract.md │ │ │ ├── send-transaction.md │ │ │ ├── ssr.md │ │ │ ├── tanstack-query.md │ │ │ ├── testing.md │ │ │ ├── viem.md │ │ │ └── write-to-contract.md │ │ ├── installation.md │ │ ├── typescript.md │ │ └── why.md │ ├── shared/ │ │ ├── connectors/ │ │ │ ├── baseAccount.md │ │ │ ├── coinbaseWallet.md │ │ │ ├── injected.md │ │ │ ├── metaMask.md │ │ │ ├── mock.md │ │ │ ├── porto.md │ │ │ ├── safe.md │ │ │ └── walletConnect.md │ │ ├── create-chain.md │ │ ├── createConfig.md │ │ ├── createStorage.md │ │ ├── errors.md │ │ ├── faq.md │ │ ├── getConnection-return-type.md │ │ ├── installation.md │ │ ├── migrate-from-v2-to-v3.md │ │ ├── mutation-imports.md │ │ ├── mutation-options.md │ │ ├── mutation-result.md │ │ ├── query-imports.md │ │ ├── query-options.md │ │ ├── query-result.md │ │ ├── tempo-write-parameters.md │ │ ├── transports/ │ │ │ ├── custom.md │ │ │ ├── fallback.md │ │ │ ├── http.md │ │ │ ├── unstable_connector.md │ │ │ └── webSocket.md │ │ └── utilities/ │ │ ├── cookieToInitialState.md │ │ ├── deserialize.md │ │ └── serialize.md │ ├── snippets/ │ │ ├── abi-event.ts │ │ ├── abi-infinite-read.ts │ │ ├── abi-read.ts │ │ ├── abi-write.ts │ │ ├── core/ │ │ │ ├── config-chain-properties.ts │ │ │ ├── config-tempo.ts │ │ │ └── config.ts │ │ ├── react/ │ │ │ ├── app.tsx │ │ │ ├── config-chain-properties.ts │ │ │ ├── config-tempo.ts │ │ │ └── config.ts │ │ ├── solid/ │ │ │ └── config.ts │ │ ├── typedData.ts │ │ └── vue/ │ │ ├── App.vue │ │ ├── config-chain-properties.ts │ │ ├── config.ts │ │ └── main.ts │ ├── solid/ │ │ ├── api/ │ │ │ ├── WagmiProvider.md │ │ │ ├── actions.md │ │ │ ├── chains.md │ │ │ ├── connectors/ │ │ │ │ ├── baseAccount.md │ │ │ │ ├── injected.md │ │ │ │ ├── metaMask.md │ │ │ │ ├── mock.md │ │ │ │ ├── porto.md │ │ │ │ ├── safe.md │ │ │ │ └── walletConnect.md │ │ │ ├── connectors.md │ │ │ ├── createConfig.md │ │ │ ├── createStorage.md │ │ │ ├── errors.md │ │ │ ├── primitives/ │ │ │ │ ├── useBalance.md │ │ │ │ ├── useBlockNumber.md │ │ │ │ ├── useChainId.md │ │ │ │ ├── useChains.md │ │ │ │ ├── useClient.md │ │ │ │ ├── useConfig.md │ │ │ │ ├── useConnect.md │ │ │ │ ├── useConnection.md │ │ │ │ ├── useConnectionEffect.md │ │ │ │ ├── useConnections.md │ │ │ │ ├── useConnectorClient.md │ │ │ │ ├── useConnectors.md │ │ │ │ ├── useDisconnect.md │ │ │ │ ├── useReconnect.md │ │ │ │ ├── useSwitchChain.md │ │ │ │ ├── useSwitchConnection.md │ │ │ │ └── useWatchBlockNumber.md │ │ │ ├── primitives.md │ │ │ ├── transports/ │ │ │ │ ├── custom.md │ │ │ │ ├── fallback.md │ │ │ │ ├── http.md │ │ │ │ └── webSocket.md │ │ │ └── transports.md │ │ ├── getting-started.md │ │ ├── guides/ │ │ │ ├── connect-wallet.md │ │ │ ├── error-handling.md │ │ │ ├── tanstack-query.md │ │ │ └── viem.md │ │ ├── installation.md │ │ ├── typescript.md │ │ └── why.md │ ├── tempo/ │ │ ├── actions/ │ │ │ ├── amm.burn.md │ │ │ ├── amm.getLiquidityBalance.md │ │ │ ├── amm.getPool.md │ │ │ ├── amm.mint.md │ │ │ ├── amm.rebalanceSwap.md │ │ │ ├── amm.watchBurn.md │ │ │ ├── amm.watchMint.md │ │ │ ├── amm.watchRebalanceSwap.md │ │ │ ├── dex.buy.md │ │ │ ├── dex.cancel.md │ │ │ ├── dex.createPair.md │ │ │ ├── dex.getBalance.md │ │ │ ├── dex.getBuyQuote.md │ │ │ ├── dex.getOrder.md │ │ │ ├── dex.getSellQuote.md │ │ │ ├── dex.getTickLevel.md │ │ │ ├── dex.place.md │ │ │ ├── dex.placeFlip.md │ │ │ ├── dex.sell.md │ │ │ ├── dex.watchFlipOrderPlaced.md │ │ │ ├── dex.watchOrderCancelled.md │ │ │ ├── dex.watchOrderFilled.md │ │ │ ├── dex.watchOrderPlaced.md │ │ │ ├── dex.withdraw.md │ │ │ ├── faucet.fund.md │ │ │ ├── fee.getUserToken.md │ │ │ ├── fee.setUserToken.md │ │ │ ├── fee.watchSetUserToken.md │ │ │ ├── index.md │ │ │ ├── nonce.getNonce.md │ │ │ ├── nonce.watchNonceIncremented.md │ │ │ ├── policy.create.md │ │ │ ├── policy.getData.md │ │ │ ├── policy.isAuthorized.md │ │ │ ├── policy.modifyBlacklist.md │ │ │ ├── policy.modifyWhitelist.md │ │ │ ├── policy.setAdmin.md │ │ │ ├── policy.watchAdminUpdated.md │ │ │ ├── policy.watchBlacklistUpdated.md │ │ │ ├── policy.watchCreate.md │ │ │ ├── policy.watchWhitelistUpdated.md │ │ │ ├── reward.claim.md │ │ │ ├── reward.distribute.md │ │ │ ├── reward.getUserRewardInfo.md │ │ │ ├── reward.setRecipient.md │ │ │ ├── reward.watchRewardDistributed.md │ │ │ ├── reward.watchRewardRecipientSet.md │ │ │ ├── token.approve.md │ │ │ ├── token.burn.md │ │ │ ├── token.burnBlocked.md │ │ │ ├── token.changeTransferPolicy.md │ │ │ ├── token.create.md │ │ │ ├── token.getAllowance.md │ │ │ ├── token.getBalance.md │ │ │ ├── token.getMetadata.md │ │ │ ├── token.grantRoles.md │ │ │ ├── token.hasRole.md │ │ │ ├── token.mint.md │ │ │ ├── token.pause.md │ │ │ ├── token.renounceRoles.md │ │ │ ├── token.revokeRoles.md │ │ │ ├── token.setRoleAdmin.md │ │ │ ├── token.setSupplyCap.md │ │ │ ├── token.transfer.md │ │ │ ├── token.unpause.md │ │ │ ├── token.watchAdminRole.md │ │ │ ├── token.watchApprove.md │ │ │ ├── token.watchBurn.md │ │ │ ├── token.watchCreate.md │ │ │ ├── token.watchMint.md │ │ │ ├── token.watchRole.md │ │ │ └── token.watchTransfer.md │ │ ├── chains.md │ │ ├── connectors/ │ │ │ ├── dangerous_secp256k1.md │ │ │ ├── index.md │ │ │ └── webAuthn.md │ │ ├── getting-started.md │ │ ├── hooks/ │ │ │ ├── amm.useBurn.md │ │ │ ├── amm.useLiquidityBalance.md │ │ │ ├── amm.useMint.md │ │ │ ├── amm.usePool.md │ │ │ ├── amm.useRebalanceSwap.md │ │ │ ├── amm.useWatchBurn.md │ │ │ ├── amm.useWatchMint.md │ │ │ ├── amm.useWatchRebalanceSwap.md │ │ │ ├── dex.useBalance.md │ │ │ ├── dex.useBuy.md │ │ │ ├── dex.useBuyQuote.md │ │ │ ├── dex.useCancel.md │ │ │ ├── dex.useCreatePair.md │ │ │ ├── dex.useOrder.md │ │ │ ├── dex.usePlace.md │ │ │ ├── dex.usePlaceFlip.md │ │ │ ├── dex.useSell.md │ │ │ ├── dex.useSellQuote.md │ │ │ ├── dex.useTickLevel.md │ │ │ ├── dex.useWatchFlipOrderPlaced.md │ │ │ ├── dex.useWatchOrderCancelled.md │ │ │ ├── dex.useWatchOrderFilled.md │ │ │ ├── dex.useWatchOrderPlaced.md │ │ │ ├── dex.useWithdraw.md │ │ │ ├── faucet.useFund.md │ │ │ ├── fee.useSetUserToken.md │ │ │ ├── fee.useUserToken.md │ │ │ ├── fee.useWatchSetUserToken.md │ │ │ ├── index.md │ │ │ ├── nonce.useNonce.md │ │ │ ├── nonce.useWatchNonceIncremented.md │ │ │ ├── policy.useCreate.md │ │ │ ├── policy.useData.md │ │ │ ├── policy.useIsAuthorized.md │ │ │ ├── policy.useModifyBlacklist.md │ │ │ ├── policy.useModifyWhitelist.md │ │ │ ├── policy.useSetAdmin.md │ │ │ ├── policy.useWatchAdminUpdated.md │ │ │ ├── policy.useWatchBlacklistUpdated.md │ │ │ ├── policy.useWatchCreate.md │ │ │ ├── policy.useWatchWhitelistUpdated.md │ │ │ ├── reward.useClaim.md │ │ │ ├── reward.useDistribute.md │ │ │ ├── reward.useSetRecipient.md │ │ │ ├── reward.useUserRewardInfo.md │ │ │ ├── reward.useWatchRewardDistributed.md │ │ │ ├── reward.useWatchRewardRecipientSet.md │ │ │ ├── token.useApprove.md │ │ │ ├── token.useBurn.md │ │ │ ├── token.useBurnBlocked.md │ │ │ ├── token.useChangeTransferPolicy.md │ │ │ ├── token.useCreate.md │ │ │ ├── token.useGetAllowance.md │ │ │ ├── token.useGetBalance.md │ │ │ ├── token.useGetMetadata.md │ │ │ ├── token.useGrantRoles.md │ │ │ ├── token.useHasRole.md │ │ │ ├── token.useMint.md │ │ │ ├── token.usePause.md │ │ │ ├── token.useRenounceRoles.md │ │ │ ├── token.useRevokeRoles.md │ │ │ ├── token.useSetRoleAdmin.md │ │ │ ├── token.useSetSupplyCap.md │ │ │ ├── token.useTransfer.md │ │ │ ├── token.useUnpause.md │ │ │ ├── token.useWatchAdminRole.md │ │ │ ├── token.useWatchApprove.md │ │ │ ├── token.useWatchBurn.md │ │ │ ├── token.useWatchCreate.md │ │ │ ├── token.useWatchMint.md │ │ │ ├── token.useWatchRole.md │ │ │ └── token.useWatchTransfer.md │ │ └── keyManagers/ │ │ ├── http.md │ │ ├── index.md │ │ └── localStorage.md │ ├── tsconfig.json │ ├── uno.config.ts │ ├── vercel.json │ └── vue/ │ ├── api/ │ │ ├── Nuxt.md │ │ ├── WagmiPlugin.md │ │ ├── actions.md │ │ ├── chains.md │ │ ├── composables/ │ │ │ ├── useBalance.md │ │ │ ├── useBlockNumber.md │ │ │ ├── useBytecode.md │ │ │ ├── useChainId.md │ │ │ ├── useChains.md │ │ │ ├── useClient.md │ │ │ ├── useConfig.md │ │ │ ├── useConnect.md │ │ │ ├── useConnection.md │ │ │ ├── useConnectionEffect.md │ │ │ ├── useConnections.md │ │ │ ├── useConnectorClient.md │ │ │ ├── useConnectors.md │ │ │ ├── useDisconnect.md │ │ │ ├── useEnsAddress.md │ │ │ ├── useEnsAvatar.md │ │ │ ├── useEnsName.md │ │ │ ├── useEstimateGas.md │ │ │ ├── useReadContract.md │ │ │ ├── useReconnect.md │ │ │ ├── useSendTransaction.md │ │ │ ├── useSignMessage.md │ │ │ ├── useSignTransaction.md │ │ │ ├── useSignTypedData.md │ │ │ ├── useSimulateContract.md │ │ │ ├── useSwitchChain.md │ │ │ ├── useSwitchConnection.md │ │ │ ├── useTransaction.md │ │ │ ├── useTransactionReceipt.md │ │ │ ├── useWaitForTransactionReceipt.md │ │ │ ├── useWatchBlockNumber.md │ │ │ ├── useWatchContractEvent.md │ │ │ └── useWriteContract.md │ │ ├── composables.md │ │ ├── connectors/ │ │ │ ├── baseAccount.md │ │ │ ├── coinbaseWallet.md │ │ │ ├── injected.md │ │ │ ├── metaMask.md │ │ │ ├── mock.md │ │ │ ├── porto.md │ │ │ ├── safe.md │ │ │ └── walletConnect.md │ │ ├── connectors.md │ │ ├── createConfig.md │ │ ├── createStorage.md │ │ ├── errors.md │ │ ├── transports/ │ │ │ ├── custom.md │ │ │ ├── fallback.md │ │ │ ├── http.md │ │ │ ├── unstable_connector.md │ │ │ └── webSocket.md │ │ ├── transports.md │ │ └── utilities/ │ │ ├── deserialize.md │ │ └── serialize.md │ ├── getting-started.md │ ├── guides/ │ │ ├── chain-properties.md │ │ ├── connect-wallet.md │ │ ├── error-handling.md │ │ ├── faq.md │ │ ├── read-from-contract.md │ │ ├── send-transaction.md │ │ ├── ssr.md │ │ ├── tanstack-query.md │ │ ├── viem.md │ │ └── write-to-contract.md │ ├── installation.md │ ├── typescript.md │ └── why.md ├── tsconfig.base.json ├── tsconfig.json └── vitest.config.ts
Showing preview only (311K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3615 symbols across 576 files)
FILE: packages/cli/src/commands/generate.ts
type Generate (line 29) | type Generate = z.infer<typeof Generate>
function generate (line 31) | async function generate(options: Generate = {}) {
function getContract (line 285) | async function getContract({
function writeContracts (line 363) | async function writeContracts({
function getBannerContent (line 403) | function getBannerContent({ name }: { name: string }) {
FILE: packages/cli/src/commands/init.ts
type Init (line 14) | type Init = {
function init (line 29) | async function init(options: Init = {}) {
FILE: packages/cli/src/config.ts
type ContractConfig (line 5) | type ContractConfig<
type Contract (line 39) | type Contract = Compute<
type Watch (line 52) | type Watch = {
type Plugin (line 69) | type Plugin = {
type Config (line 102) | type Config = {
function defineConfig (line 111) | function defineConfig(
FILE: packages/cli/src/errors.ts
class ValidationError (line 3) | class ValidationError extends Error {
method constructor (line 6) | constructor(
function fromZodError (line 18) | function fromZodError(
FILE: packages/cli/src/logger.ts
function format (line 5) | function format(args: any[]) {
function success (line 11) | function success(...args: any[]) {
function info (line 15) | function info(...args: any[]) {
function log (line 20) | function log(...args: any[]) {
function warn (line 24) | function warn(...args: any[]) {
function error (line 29) | function error(...args: any[]) {
function spinner (line 34) | function spinner(text: string) {
FILE: packages/cli/src/plugins/actions.ts
type ActionsConfig (line 8) | type ActionsConfig = {
type ActionsResult (line 19) | type ActionsResult = Compute<RequiredBy<Plugin, 'run'>>
function actions (line 21) | function actions(config: ActionsConfig = {}): ActionsResult {
function genDocString (line 269) | function genDocString(
function getActionName (line 290) | function getActionName(
FILE: packages/cli/src/plugins/blockExplorer.ts
type BlockExplorerConfig (line 10) | type BlockExplorerConfig = {
function blockExplorer (line 63) | function blockExplorer(config: BlockExplorerConfig) {
FILE: packages/cli/src/plugins/etherscan.ts
type EtherscanConfig (line 13) | type EtherscanConfig<chainId extends number> = {
function etherscan (line 49) | function etherscan<chainId extends ChainId>(
function buildUrl (line 145) | function buildUrl(options: {
type ChainId (line 197) | type ChainId =
FILE: packages/cli/src/plugins/fetch.test.ts
type Fetch (line 22) | type Fetch = Parameters<typeof fetch>[0]
FILE: packages/cli/src/plugins/fetch.ts
type FetchConfig (line 9) | type FetchConfig = {
type FetchResult (line 57) | type FetchResult = Compute<RequiredBy<Plugin, 'contracts'>>
function fetch (line 60) | function fetch(config: FetchConfig): FetchResult {
function getCacheDir (line 122) | function getCacheDir() {
FILE: packages/cli/src/plugins/foundry.ts
type FoundryConfig (line 46) | type FoundryConfig = {
type FoundryResult (line 104) | type FoundryResult = Compute<
function foundry (line 114) | function foundry(config: FoundryConfig = {}): FoundryResult {
FILE: packages/cli/src/plugins/hardhat.ts
type HardhatConfig (line 15) | type HardhatConfig = {
type HardhatResult (line 67) | type HardhatResult = Compute<
function hardhat (line 72) | function hardhat(config: HardhatConfig): HardhatResult {
FILE: packages/cli/src/plugins/react.ts
type ReactConfig (line 7) | type ReactConfig = Compute<
type ReactResult (line 25) | type ReactResult = Compute<RequiredBy<Plugin, 'run'>>
function react (line 27) | function react(config: ReactConfig = {}): ReactResult {
function genDocString (line 273) | function genDocString(
function getHookName (line 294) | function getHookName(
FILE: packages/cli/src/plugins/sourcify.ts
type SourcifyConfig (line 10) | type SourcifyConfig<chainId extends number> = {
function sourcify (line 36) | function sourcify<chainId extends ChainId>(
type ChainId (line 82) | type ChainId =
FILE: packages/cli/src/types.ts
type Compute (line 1) | type Compute<type> = { [key in keyof type]: type[key] } & unknown
type MaybeArray (line 3) | type MaybeArray<T> = T | T[]
type MaybePromise (line 5) | type MaybePromise<T> = T | Promise<T>
type RequiredBy (line 7) | type RequiredBy<TType, TKeys extends keyof TType> = Required<
FILE: packages/cli/src/utils/findConfig.ts
type FindConfigParameters (line 14) | type FindConfigParameters = {
function findConfig (line 24) | async function findConfig(parameters: FindConfigParameters = {}) {
FILE: packages/cli/src/utils/format.ts
function format (line 3) | async function format(content: string) {
FILE: packages/cli/src/utils/getAddressDocString.ts
function getAddressDocString (line 14) | function getAddressDocString(parameters: {
function getLink (line 45) | function getLink({ address, chainId }: { address: string; chainId: numbe...
FILE: packages/cli/src/utils/getIsUsingTypeScript.ts
function getIsUsingTypeScript (line 3) | async function getIsUsingTypeScript() {
FILE: packages/cli/src/utils/loadEnv.ts
function loadEnv (line 7) | function loadEnv(
function lookupFile (line 57) | function lookupFile(
FILE: packages/cli/src/utils/packages.ts
function getIsPackageInstalled (line 5) | async function getIsPackageInstalled(parameters: {
function getPackageManager (line 38) | async function getPackageManager(executable?: boolean | undefined) {
type PackageManager (line 53) | type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun'
function detect (line 55) | async function detect(
function hasGlobalInstallation (line 76) | function hasGlobalInstallation(pm: PackageManager): boolean {
function getTypeofLockFile (line 93) | function getTypeofLockFile(cwd = '.'): Promise<PackageManager | null> {
function pathExists (line 117) | async function pathExists(p: string) {
FILE: packages/cli/src/utils/resolveConfig.ts
type ResolveConfigParameters (line 6) | type ResolveConfigParameters = {
function resolveConfig (line 12) | async function resolveConfig(
FILE: packages/cli/test/setup.ts
function createSpinner (line 15) | function createSpinner(
function pass (line 43) | function pass(input: string | number | null | undefined) {
FILE: packages/cli/test/utils.ts
type Json (line 10) | type Json =
function createFixture (line 18) | async function createFixture<
type TsConfig (line 68) | type TsConfig = {
function getTsConfig (line 73) | function getTsConfig(baseUrl: string) {
function watchConsole (line 111) | function watchConsole() {
function typecheck (line 140) | async function typecheck(project: string) {
function getHandlers (line 175) | function getHandlers(baseUrl = 'https://api.etherscan.io/v2/api') {
FILE: packages/cli/types/fixturez.d.ts
type FixturezOpts (line 2) | interface FixturezOpts {
type Fixturez (line 8) | interface Fixturez {
FILE: packages/connectors/src/baseAccount.ts
type BaseAccountParameters (line 19) | type BaseAccountParameters = Mutable<
function baseAccount (line 26) | function baseAccount(parameters: BaseAccountParameters = {}) {
FILE: packages/connectors/src/coinbaseWallet.test.ts
type ConnectFnParameters (line 11) | type ConnectFnParameters = NonNullable<
FILE: packages/connectors/src/coinbaseWallet.ts
type CoinbaseWalletParameters (line 22) | type CoinbaseWalletParameters<
function coinbaseWallet (line 33) | function coinbaseWallet(
FILE: packages/connectors/src/metaMask.ts
type MetaMaskParameters (line 21) | type MetaMaskParameters = UnionCompute<
type CreateEVMClientParameters (line 50) | type CreateEVMClientParameters = Parameters<typeof createEVMClient>[0]
function metaMask (line 53) | function metaMask(parameters: MetaMaskParameters = {}) {
FILE: packages/connectors/src/porto.ts
type PortoParameters (line 19) | type PortoParameters = ExactPartial<Porto.Config>
function porto (line 21) | function porto(parameters: PortoParameters = {}) {
FILE: packages/connectors/src/safe.ts
type SafeParameters (line 11) | type SafeParameters = Compute<
function safe (line 33) | function safe(parameters: SafeParameters = {}) {
FILE: packages/connectors/src/walletConnect.test.ts
type ConnectFnParameters (line 61) | type ConnectFnParameters = NonNullable<
FILE: packages/connectors/src/walletConnect.ts
type WalletConnectConnector (line 22) | type WalletConnectConnector = Connector & {
type EthereumProviderOptions (line 27) | type EthereumProviderOptions = Parameters<(typeof EthereumProvider)['ini...
type WalletConnectParameters (line 29) | type WalletConnectParameters = Compute<
function walletConnect (line 76) | function walletConnect(parameters: WalletConnectParameters) {
FILE: packages/core/src/actions/call.ts
type CallParameters (line 12) | type CallParameters<config extends Config = Config> =
type CallReturnType (line 15) | type CallReturnType = viem_CallReturnType
type CallErrorType (line 17) | type CallErrorType = viem_CallErrorType
function call (line 19) | async function call<config extends Config>(
FILE: packages/core/src/actions/codegen/createReadContract.ts
type stateMutability (line 17) | type stateMutability = 'pure' | 'view'
type CreateReadContractParameters (line 19) | type CreateReadContractParameters<
type CreateReadContractReturnType (line 34) | type CreateReadContractReturnType<
function createReadContract (line 63) | function createReadContract<
FILE: packages/core/src/actions/codegen/createSimulateContract.ts
type stateMutability (line 24) | type stateMutability = 'nonpayable' | 'payable'
type CreateSimulateContractParameters (line 26) | type CreateSimulateContractParameters<
type CreateSimulateContractReturnType (line 41) | type CreateSimulateContractReturnType<
function createSimulateContract (line 85) | function createSimulateContract<
FILE: packages/core/src/actions/codegen/createWatchContractEvent.test-d.ts
method onLogs (line 16) | onLogs(logs) {
method onLogs (line 40) | onLogs() {}
method onLogs (line 47) | onLogs() {}
method onLogs (line 54) | onLogs() {}
method onLogs (line 74) | onLogs() {}
method onLogs (line 81) | onLogs() {}
method onLogs (line 89) | onLogs() {}
method onLogs (line 96) | onLogs() {}
method onLogs (line 102) | onLogs() {}
method onLogs (line 114) | onLogs(logs) {
FILE: packages/core/src/actions/codegen/createWatchContractEvent.test.ts
method onLogs (line 16) | onLogs(next) {
method onLogs (line 38) | onLogs(next) {
FILE: packages/core/src/actions/codegen/createWatchContractEvent.ts
type CreateWatchContractEventParameters (line 12) | type CreateWatchContractEventParameters<
type CreateWatchContractEventReturnType (line 22) | type CreateWatchContractEventReturnType<
function createWatchContractEvent (line 53) | function createWatchContractEvent<
FILE: packages/core/src/actions/codegen/createWriteContract.ts
type stateMutability (line 28) | type stateMutability = 'nonpayable' | 'payable'
type CreateWriteContractParameters (line 30) | type CreateWriteContractParameters<
type CreateWriteContractReturnType (line 45) | type CreateWriteContractReturnType<
function createWriteContract (line 92) | function createWriteContract<
FILE: packages/core/src/actions/connect.test-d.ts
type Result (line 27) | type Result = NonNullable<
type Result (line 44) | type Result = NonNullable<
FILE: packages/core/src/actions/connect.ts
type ConnectParameters (line 17) | type ConnectParameters<
type ConnectReturnType (line 45) | type ConnectReturnType<
type ConnectErrorType (line 85) | type ConnectErrorType =
function connect (line 95) | async function connect<
FILE: packages/core/src/actions/deployContract.test-d.ts
type Result (line 27) | type Result = DeployContractParameters<typeof abi.bayc, typeof config>
type Result2 (line 39) | type Result2 = DeployContractParameters<
type Result3 (line 55) | type Result3 = DeployContractParameters<
FILE: packages/core/src/actions/deployContract.ts
type DeployContractParameters (line 22) | type DeployContractParameters<
type DeployContractReturnType (line 47) | type DeployContractReturnType = viem_DeployContractReturnType
type DeployContractErrorType (line 49) | type DeployContractErrorType =
function deployContract (line 59) | async function deployContract<
FILE: packages/core/src/actions/disconnect.ts
type DisconnectParameters (line 9) | type DisconnectParameters = ConnectorParameter
type DisconnectReturnType (line 11) | type DisconnectReturnType = void
type DisconnectErrorType (line 13) | type DisconnectErrorType =
function disconnect (line 21) | async function disconnect(
FILE: packages/core/src/actions/estimateFeesPerGas.ts
type EstimateFeesPerGasParameters (line 14) | type EstimateFeesPerGasParameters<
type EstimateFeesPerGasReturnType (line 25) | type EstimateFeesPerGasReturnType<
type EstimateFeesPerGasErrorType (line 29) | type EstimateFeesPerGasErrorType = viem_EstimateFeesPerGasErrorType
function estimateFeesPerGas (line 31) | async function estimateFeesPerGas<
FILE: packages/core/src/actions/estimateGas.test-d.ts
type Result (line 14) | type Result = EstimateGasParameters<typeof config>
type Result2 (line 25) | type Result2 = EstimateGasParameters<typeof config, typeof celo.id>
type Result3 (line 36) | type Result3 = EstimateGasParameters<typeof config, typeof mainnet.id>
FILE: packages/core/src/actions/estimateGas.ts
type EstimateGasParameters (line 23) | type EstimateGasParameters<
type EstimateGasReturnType (line 38) | type EstimateGasReturnType = viem_EstimateGasReturnType
type EstimateGasErrorType (line 40) | type EstimateGasErrorType =
function estimateGas (line 50) | async function estimateGas<
FILE: packages/core/src/actions/estimateMaxPriorityFeePerGas.ts
type EstimateMaxPriorityFeePerGasParameters (line 14) | type EstimateMaxPriorityFeePerGasParameters<
type EstimateMaxPriorityFeePerGasReturnType (line 26) | type EstimateMaxPriorityFeePerGasReturnType =
type EstimateMaxPriorityFeePerGasErrorType (line 29) | type EstimateMaxPriorityFeePerGasErrorType =
function estimateMaxPriorityFeePerGas (line 33) | async function estimateMaxPriorityFeePerGas<
FILE: packages/core/src/actions/getBalance.ts
type GetBalanceParameters (line 12) | type GetBalanceParameters<config extends Config = Config> = Compute<
type GetBalanceReturnType (line 16) | type GetBalanceReturnType = {
type GetBalanceErrorType (line 22) | type GetBalanceErrorType = viem_GetBalanceErrorType
function getBalance (line 25) | async function getBalance<config extends Config>(
FILE: packages/core/src/actions/getBlobBaseFee.ts
type GetBlobBaseFeeParameters (line 12) | type GetBlobBaseFeeParameters<
type GetBlobBaseFeeReturnType (line 18) | type GetBlobBaseFeeReturnType = viem_GetBlobBaseFeeReturnType
type GetBlobBaseFeeErrorType (line 20) | type GetBlobBaseFeeErrorType = viem_GetBlobBaseFeeErrorType
function getBlobBaseFee (line 23) | function getBlobBaseFee<
FILE: packages/core/src/actions/getBlock.ts
type GetBlockParameters (line 15) | type GetBlockParameters<
type GetBlockReturnType (line 26) | type GetBlockReturnType<
type GetBlockErrorType (line 44) | type GetBlockErrorType = viem_GetBlockErrorType
function getBlock (line 47) | async function getBlock<
FILE: packages/core/src/actions/getBlockNumber.ts
type GetBlockNumberParameters (line 13) | type GetBlockNumberParameters<
type GetBlockNumberReturnType (line 19) | type GetBlockNumberReturnType = viem_GetBlockNumberReturnType
type GetBlockNumberErrorType (line 21) | type GetBlockNumberErrorType = viem_GetBlockNumberErrorType
function getBlockNumber (line 24) | function getBlockNumber<
FILE: packages/core/src/actions/getBlockTransactionCount.ts
type GetBlockTransactionCountParameters (line 13) | type GetBlockTransactionCountParameters<
type GetBlockTransactionCountReturnType (line 21) | type GetBlockTransactionCountReturnType =
type GetBlockTransactionCountErrorType (line 24) | type GetBlockTransactionCountErrorType =
function getBlockTransactionCount (line 28) | function getBlockTransactionCount<
FILE: packages/core/src/actions/getBytecode.ts
type GetBytecodeParameters (line 13) | type GetBytecodeParameters<config extends Config = Config> = Compute<
type GetBytecodeReturnType (line 17) | type GetBytecodeReturnType = viem_GetBytecodeReturnType
type GetBytecodeErrorType (line 19) | type GetBytecodeErrorType = viem_GetBytecodeErrorType
function getBytecode (line 22) | async function getBytecode<config extends Config>(
FILE: packages/core/src/actions/getCallsStatus.ts
type GetCallsStatusParameters (line 13) | type GetCallsStatusParameters = viem_GetCallsStatusParameters &
type GetCallsStatusReturnType (line 16) | type GetCallsStatusReturnType = viem_GetCallsStatusReturnType
type GetCallsStatusErrorType (line 18) | type GetCallsStatusErrorType = viem_GetCallsStatusErrorType
function getCallsStatus (line 21) | async function getCallsStatus<config extends Config>(
FILE: packages/core/src/actions/getCapabilities.ts
type GetCapabilitiesParameters (line 13) | type GetCapabilitiesParameters<
type GetCapabilitiesReturnType (line 18) | type GetCapabilitiesReturnType<
type GetCapabilitiesErrorType (line 23) | type GetCapabilitiesErrorType = viem_GetCapabilitiesErrorType
function getCapabilities (line 26) | async function getCapabilities<
FILE: packages/core/src/actions/getChainId.ts
type GetChainIdReturnType (line 3) | type GetChainIdReturnType<config extends Config = Config> =
function getChainId (line 7) | function getChainId<config extends Config>(
FILE: packages/core/src/actions/getChains.ts
type GetChainsReturnType (line 5) | type GetChainsReturnType<config extends Config = Config> =
function getChains (line 11) | function getChains<config extends Config>(
FILE: packages/core/src/actions/getClient.ts
type GetClientParameters (line 7) | type GetClientParameters<
type GetClientReturnType (line 15) | type GetClientReturnType<
function getClient (line 40) | function getClient<
FILE: packages/core/src/actions/getConnection.ts
type GetConnectionReturnType (line 5) | type GetConnectionReturnType<
function getConnection (line 60) | function getConnection<config extends Config>(
FILE: packages/core/src/actions/getConnections.ts
type GetConnectionsReturnType (line 5) | type GetConnectionsReturnType = Compute<Connection>[]
function getConnections (line 10) | function getConnections(config: Config): GetConnectionsReturnType {
FILE: packages/core/src/actions/getConnectorClient.ts
type GetConnectorClientParameters (line 29) | type GetConnectorClientParameters<
type GetConnectorClientReturnType (line 53) | type GetConnectorClientReturnType<
type GetConnectorClientErrorType (line 65) | type GetConnectorClientErrorType =
function getConnectorClient (line 75) | async function getConnectorClient<
FILE: packages/core/src/actions/getConnectors.ts
type GetConnectorsReturnType (line 3) | type GetConnectorsReturnType<config extends Config = Config> =
function getConnectors (line 9) | function getConnectors<config extends Config>(
FILE: packages/core/src/actions/getContractEvents.test-d.ts
type Result (line 75) | type Result = GetContractEventsParameters<
FILE: packages/core/src/actions/getContractEvents.ts
type GetContractEventsParameters (line 13) | type GetContractEventsParameters<
type GetContractEventsReturnType (line 29) | type GetContractEventsReturnType<
type GetContractEventsErrorType (line 39) | type GetContractEventsErrorType = viem_GetContractEventsErrorType
function getContractEvents (line 42) | async function getContractEvents<
FILE: packages/core/src/actions/getEnsAddress.ts
type GetEnsAddressParameters (line 13) | type GetEnsAddressParameters<config extends Config = Config> = Compute<
type GetEnsAddressReturnType (line 17) | type GetEnsAddressReturnType = viem_GetEnsAddressReturnType
type GetEnsAddressErrorType (line 19) | type GetEnsAddressErrorType = viem_GetEnsAddressErrorType
function getEnsAddress (line 22) | function getEnsAddress<config extends Config>(
FILE: packages/core/src/actions/getEnsAvatar.ts
type GetEnsAvatarParameters (line 13) | type GetEnsAvatarParameters<config extends Config = Config> = Compute<
type GetEnsAvatarReturnType (line 17) | type GetEnsAvatarReturnType = viem_GetEnsAvatarReturnType
type GetEnsAvatarErrorType (line 19) | type GetEnsAvatarErrorType = viem_GetEnsAvatarErrorType
function getEnsAvatar (line 22) | function getEnsAvatar<config extends Config>(
FILE: packages/core/src/actions/getEnsName.ts
type GetEnsNameParameters (line 13) | type GetEnsNameParameters<config extends Config = Config> = Compute<
type GetEnsNameReturnType (line 17) | type GetEnsNameReturnType = viem_GetEnsNameReturnType
type GetEnsNameErrorType (line 19) | type GetEnsNameErrorType = viem_GetEnsNameErrorType
function getEnsName (line 22) | function getEnsName<config extends Config>(
FILE: packages/core/src/actions/getEnsResolver.ts
type GetEnsResolverParameters (line 13) | type GetEnsResolverParameters<config extends Config = Config> = Compute<
type GetEnsResolverReturnType (line 17) | type GetEnsResolverReturnType = viem_GetEnsResolverReturnType
type GetEnsResolverErrorType (line 19) | type GetEnsResolverErrorType = viem_GetEnsResolverErrorType
function getEnsResolver (line 22) | function getEnsResolver<config extends Config>(
FILE: packages/core/src/actions/getEnsText.ts
type GetEnsTextParameters (line 13) | type GetEnsTextParameters<config extends Config = Config> = Compute<
type GetEnsTextReturnType (line 17) | type GetEnsTextReturnType = viem_GetEnsTextReturnType
type GetEnsTextErrorType (line 19) | type GetEnsTextErrorType = viem_GetEnsTextErrorType
function getEnsText (line 22) | function getEnsText<config extends Config>(
FILE: packages/core/src/actions/getFeeHistory.ts
type GetFeeHistoryParameters (line 13) | type GetFeeHistoryParameters<
type GetFeeHistoryReturnType (line 19) | type GetFeeHistoryReturnType = viem_GetFeeHistoryReturnType
type GetFeeHistoryErrorType (line 21) | type GetFeeHistoryErrorType = viem_GetFeeHistoryErrorType
function getFeeHistory (line 24) | function getFeeHistory<
FILE: packages/core/src/actions/getGasPrice.ts
type GetGasPriceParameters (line 12) | type GetGasPriceParameters<
type GetGasPriceReturnType (line 18) | type GetGasPriceReturnType = viem_GetGasPriceReturnType
type GetGasPriceErrorType (line 20) | type GetGasPriceErrorType = viem_GetGasPriceErrorType
function getGasPrice (line 23) | function getGasPrice<
FILE: packages/core/src/actions/getProof.ts
type GetProofParameters (line 13) | type GetProofParameters<config extends Config = Config> = Compute<
type GetProofReturnType (line 17) | type GetProofReturnType = viem_GetProofReturnType
type GetProofErrorType (line 19) | type GetProofErrorType = viem_GetProofErrorType
function getProof (line 22) | async function getProof<config extends Config>(
FILE: packages/core/src/actions/getPublicClient.ts
type GetPublicClientParameters (line 8) | type GetPublicClientParameters<
type GetPublicClientReturnType (line 15) | type GetPublicClientReturnType<
function getPublicClient (line 40) | function getPublicClient<
FILE: packages/core/src/actions/getStorageAt.ts
type GetStorageAtParameters (line 13) | type GetStorageAtParameters<config extends Config = Config> = Compute<
type GetStorageAtReturnType (line 17) | type GetStorageAtReturnType = viem_GetStorageAtReturnType
type GetStorageAtErrorType (line 19) | type GetStorageAtErrorType = viem_GetStorageAtErrorType
function getStorageAt (line 22) | async function getStorageAt<config extends Config>(
FILE: packages/core/src/actions/getTransaction.ts
type GetTransactionParameters (line 15) | type GetTransactionParameters<
type GetTransactionReturnType (line 21) | type GetTransactionReturnType<
type GetTransactionErrorType (line 35) | type GetTransactionErrorType = viem_GetTransactionErrorType
function getTransaction (line 38) | function getTransaction<
FILE: packages/core/src/actions/getTransactionConfirmations.ts
type GetTransactionConfirmationsParameters (line 14) | type GetTransactionConfirmationsParameters<
type GetTransactionConfirmationsReturnType (line 28) | type GetTransactionConfirmationsReturnType =
type GetTransactionConfirmationsErrorType (line 31) | type GetTransactionConfirmationsErrorType =
function getTransactionConfirmations (line 35) | function getTransactionConfirmations<
FILE: packages/core/src/actions/getTransactionCount.ts
type GetTransactionCountParameters (line 13) | type GetTransactionCountParameters<config extends Config = Config> =
type GetTransactionCountReturnType (line 16) | type GetTransactionCountReturnType = viem_GetTransactionCountReturnType
type GetTransactionCountErrorType (line 18) | type GetTransactionCountErrorType = viem_GetTransactionCountErrorType
function getTransactionCount (line 21) | async function getTransactionCount<config extends Config>(
FILE: packages/core/src/actions/getTransactionReceipt.ts
type GetTransactionReceiptParameters (line 15) | type GetTransactionReceiptParameters<
type GetTransactionReceiptReturnType (line 23) | type GetTransactionReceiptReturnType<
type GetTransactionReceiptErrorType (line 37) | type GetTransactionReceiptErrorType = viem_GetTransactionReceiptErrorType
function getTransactionReceipt (line 40) | async function getTransactionReceipt<
FILE: packages/core/src/actions/getWalletClient.ts
type GetWalletClientParameters (line 12) | type GetWalletClientParameters<
type GetWalletClientReturnType (line 18) | type GetWalletClientReturnType<
type GetWalletClientErrorType (line 30) | type GetWalletClientErrorType =
function getWalletClient (line 37) | async function getWalletClient<
FILE: packages/core/src/actions/multicall.test-d.ts
type Result (line 61) | type Result = Parameters<
FILE: packages/core/src/actions/multicall.ts
type MulticallParameters (line 13) | type MulticallParameters<
type MulticallReturnType (line 19) | type MulticallReturnType<
type MulticallErrorType (line 24) | type MulticallErrorType = viem_MulticallErrorType
function multicall (line 26) | async function multicall<
FILE: packages/core/src/actions/prepareTransactionRequest.test-d.ts
type Result (line 35) | type Result = PrepareTransactionRequestParameters<typeof config>
type Result2 (line 50) | type Result2 = PrepareTransactionRequestParameters<
type Result3 (line 66) | type Result3 = PrepareTransactionRequestParameters<
FILE: packages/core/src/actions/prepareTransactionRequest.ts
type PrepareTransactionRequestParameters (line 23) | type PrepareTransactionRequestParameters<
type PrepareTransactionRequestReturnType (line 60) | type PrepareTransactionRequestReturnType<
type PrepareTransactionRequestErrorType (line 91) | type PrepareTransactionRequestErrorType =
function prepareTransactionRequest (line 95) | async function prepareTransactionRequest<
FILE: packages/core/src/actions/readContract.bench-d.ts
type Result (line 9) | type Result = ReadContractParameters<(typeof abi)['erc20'], 'balanceOf'>
type Result (line 27) | type Result = ReadContractParameters<typeof abiOverload, 'foo'>
FILE: packages/core/src/actions/readContract.ts
type ReadContractParameters (line 13) | type ReadContractParameters<
type ReadContractReturnType (line 28) | type ReadContractReturnType<
type ReadContractErrorType (line 41) | type ReadContractErrorType = viem_ReadContractErrorType
function readContract (line 44) | function readContract<
FILE: packages/core/src/actions/readContracts.ts
type ReadContractsParameters (line 13) | type ReadContractsParameters<
type ReadContractsReturnType (line 23) | type ReadContractsReturnType<
type ReadContractsErrorType (line 28) | type ReadContractsErrorType = MulticallErrorType | ReadContractErrorType
function readContracts (line 30) | async function readContracts<
FILE: packages/core/src/actions/reconnect.ts
type ReconnectParameters (line 8) | type ReconnectParameters = {
type ReconnectReturnType (line 13) | type ReconnectReturnType = Compute<Connection>[]
type ReconnectErrorType (line 15) | type ReconnectErrorType = ErrorType
function reconnect (line 20) | async function reconnect(
FILE: packages/core/src/actions/sendCalls.ts
type SendCallsParameters (line 23) | type SendCallsParameters<
type SendCallsReturnType (line 41) | type SendCallsReturnType = viem_SendCallsReturnType
type SendCallsErrorType (line 43) | type SendCallsErrorType =
function sendCalls (line 53) | async function sendCalls<
FILE: packages/core/src/actions/sendCallsSync.ts
type SendCallsSyncParameters (line 23) | type SendCallsSyncParameters<
type SendCallsSyncReturnType (line 41) | type SendCallsSyncReturnType = viem_SendCallsSyncReturnType
type SendCallsSyncErrorType (line 43) | type SendCallsSyncErrorType =
function sendCallsSync (line 53) | async function sendCallsSync<
FILE: packages/core/src/actions/sendTransaction.test-d.ts
type Result (line 17) | type Result = SendTransactionParameters<typeof config>
type Result2 (line 28) | type Result2 = SendTransactionParameters<typeof config, typeof celo.id>
type Result3 (line 39) | type Result3 = SendTransactionParameters<typeof config, typeof mainnet.id>
FILE: packages/core/src/actions/sendTransaction.ts
type SendTransactionParameters (line 26) | type SendTransactionParameters<
type SendTransactionReturnType (line 46) | type SendTransactionReturnType = viem_SendTransactionReturnType
type SendTransactionErrorType (line 48) | type SendTransactionErrorType =
function sendTransaction (line 58) | async function sendTransaction<
FILE: packages/core/src/actions/sendTransactionSync.ts
type SendTransactionSyncParameters (line 26) | type SendTransactionSyncParameters<
type SendTransactionSyncReturnType (line 46) | type SendTransactionSyncReturnType = viem_SendTransactionSyncReturnType
type SendTransactionSyncErrorType (line 48) | type SendTransactionSyncErrorType =
function sendTransactionSync (line 58) | async function sendTransactionSync<
FILE: packages/core/src/actions/showCallsStatus.ts
type ShowCallsStatusParameters (line 12) | type ShowCallsStatusParameters = viem_ShowCallsStatusParameters &
type ShowCallsStatusReturnType (line 15) | type ShowCallsStatusReturnType = viem_ShowCallsStatusReturnType
type ShowCallsStatusErrorType (line 17) | type ShowCallsStatusErrorType = viem_ShowCallsStatusErrorType
function showCallsStatus (line 20) | async function showCallsStatus<config extends Config>(
FILE: packages/core/src/actions/signMessage.ts
type SignMessageParameters (line 19) | type SignMessageParameters = Compute<
type SignMessageReturnType (line 23) | type SignMessageReturnType = viem_SignMessageReturnType
type SignMessageErrorType (line 25) | type SignMessageErrorType =
function signMessage (line 35) | async function signMessage(
FILE: packages/core/src/actions/signTransaction.test-d.ts
type Result (line 25) | type Result = SignTransactionParameters<typeof config>
type Result2 (line 35) | type Result2 = SignTransactionParameters<typeof config, typeof celo.id>
type Result3 (line 46) | type Result3 = SignTransactionParameters<typeof config, typeof mainnet.id>
FILE: packages/core/src/actions/signTransaction.ts
type SignTransactionParameters (line 26) | type SignTransactionParameters<
type SignTransactionReturnType (line 60) | type SignTransactionReturnType<
type SignTransactionErrorType (line 73) | type SignTransactionErrorType =
function signTransaction (line 83) | async function signTransaction<
FILE: packages/core/src/actions/signTypedData.ts
type SignTypedDataParameters (line 19) | type SignTypedDataParameters<
type SignTypedDataReturnType (line 29) | type SignTypedDataReturnType = viem_SignTypedDataReturnType
type SignTypedDataErrorType (line 31) | type SignTypedDataErrorType =
function signTypedData (line 41) | async function signTypedData<
FILE: packages/core/src/actions/simulateContract.test-d.ts
type Result (line 51) | type Result = SimulateContractParameters<
type Result2 (line 77) | type Result2 = SimulateContractParameters<
type Result3 (line 103) | type Result3 = SimulateContractParameters<
type Result (line 130) | type Result = SimulateContractParameters<
type Result (line 145) | type Result = SimulateContractReturnType<
FILE: packages/core/src/actions/simulateContract.ts
type SimulateContractParameters (line 30) | type SimulateContractParameters<
type SimulateContractReturnType (line 62) | type SimulateContractReturnType<
type SimulateContractErrorType (line 98) | type SimulateContractErrorType =
function simulateContract (line 108) | async function simulateContract<
FILE: packages/core/src/actions/switchChain.ts
type SwitchChainParameters (line 21) | type SwitchChainParameters<
type SwitchChainReturnType (line 34) | type SwitchChainReturnType<
type SwitchChainErrorType (line 43) | type SwitchChainErrorType =
function switchChain (line 56) | async function switchChain<
FILE: packages/core/src/actions/switchConnection.ts
type SwitchConnectionParameters (line 10) | type SwitchConnectionParameters = {
type SwitchConnectionReturnType (line 14) | type SwitchConnectionReturnType<config extends Config = Config> = {
type SwitchConnectionErrorType (line 21) | type SwitchConnectionErrorType =
function switchConnection (line 27) | async function switchConnection<config extends Config>(
FILE: packages/core/src/actions/verifyMessage.ts
type VerifyMessageParameters (line 13) | type VerifyMessageParameters<config extends Config = Config> = Compute<
type VerifyMessageReturnType (line 17) | type VerifyMessageReturnType = viem_VerifyMessageReturnType
type VerifyMessageErrorType (line 19) | type VerifyMessageErrorType = viem_VerifyMessageErrorType
function verifyMessage (line 22) | async function verifyMessage<config extends Config>(
FILE: packages/core/src/actions/verifyTypedData.ts
type VerifyTypedDataParameters (line 14) | type VerifyTypedDataParameters<
type VerifyTypedDataReturnType (line 23) | type VerifyTypedDataReturnType = viem_VerifyTypedDataReturnType
type VerifyTypedDataErrorType (line 25) | type VerifyTypedDataErrorType = viem_VerifyTypedDataErrorType
function verifyTypedData (line 28) | async function verifyTypedData<
FILE: packages/core/src/actions/waitForCallsStatus.ts
type WaitForCallsStatusParameters (line 12) | type WaitForCallsStatusParameters = viem_WaitForCallsStatusParameters &
type WaitForCallsStatusReturnType (line 15) | type WaitForCallsStatusReturnType = viem_WaitForCallsStatusReturnType
type WaitForCallsStatusErrorType (line 17) | type WaitForCallsStatusErrorType = viem_WaitForCallsStatusErrorType
function waitForCallsStatus (line 20) | async function waitForCallsStatus<config extends Config>(
FILE: packages/core/src/actions/waitForTransactionReceipt.ts
type WaitForTransactionReceiptParameters (line 18) | type WaitForTransactionReceiptParameters<
type WaitForTransactionReceiptReturnType (line 26) | type WaitForTransactionReceiptReturnType<
type WaitForTransactionReceiptErrorType (line 40) | type WaitForTransactionReceiptErrorType =
function waitForTransactionReceipt (line 43) | async function waitForTransactionReceipt<
FILE: packages/core/src/actions/watchAsset.ts
type WatchAssetParameters (line 18) | type WatchAssetParameters = Compute<
type WatchAssetReturnType (line 22) | type WatchAssetReturnType = viem_WatchAssetReturnType
type WatchAssetErrorType (line 24) | type WatchAssetErrorType =
function watchAsset (line 34) | async function watchAsset(
FILE: packages/core/src/actions/watchBlockNumber.test-d.ts
type Result (line 20) | type Result = WatchBlockNumberParameters<
method onBlockNumber (line 27) | onBlockNumber() {}
type Result2 (line 30) | type Result2 = WatchBlockNumberParameters<typeof config, typeof mainnet.id>
method onBlockNumber (line 35) | onBlockNumber() {}
method onBlockNumber (line 41) | onBlockNumber() {}
type Result3 (line 44) | type Result3 = WatchBlockNumberParameters<typeof config, typeof optimism...
method onBlockNumber (line 49) | onBlockNumber() {}
method onBlockNumber (line 54) | onBlockNumber() {}
FILE: packages/core/src/actions/watchBlockNumber.test.ts
method onBlockNumber (line 9) | onBlockNumber(blockNumber) {
FILE: packages/core/src/actions/watchBlockNumber.ts
type WatchBlockNumberParameters (line 16) | type WatchBlockNumberParameters<
type WatchBlockNumberReturnType (line 37) | type WatchBlockNumberReturnType = viem_WatchBlockNumberReturnType
function watchBlockNumber (line 41) | function watchBlockNumber<
FILE: packages/core/src/actions/watchBlocks.test-d.ts
type Result (line 17) | type Result = WatchBlocksParameters<
method onBlock (line 26) | onBlock() {}
type Result2 (line 29) | type Result2 = WatchBlocksParameters<
method onBlock (line 39) | onBlock() {}
type Result3 (line 42) | type Result3 = WatchBlocksParameters<
method onBlock (line 52) | onBlock() {}
method onBlock (line 57) | onBlock() {}
FILE: packages/core/src/actions/watchBlocks.test.ts
method onBlock (line 9) | onBlock(block) {
FILE: packages/core/src/actions/watchBlocks.ts
type WatchBlocksParameters (line 16) | type WatchBlocksParameters<
type WatchBlocksReturnType (line 42) | type WatchBlocksReturnType = viem_WatchBlocksReturnType
function watchBlocks (line 46) | function watchBlocks<
FILE: packages/core/src/actions/watchChainId.test.ts
method onChange (line 9) | onChange(chainId) {
FILE: packages/core/src/actions/watchChainId.ts
type WatchChainIdParameters (line 4) | type WatchChainIdParameters<config extends Config = Config> = {
type WatchChainIdReturnType (line 11) | type WatchChainIdReturnType = () => void
function watchChainId (line 14) | function watchChainId<config extends Config>(
FILE: packages/core/src/actions/watchChains.test.ts
method onChange (line 10) | onChange(nextChains) {
FILE: packages/core/src/actions/watchChains.ts
type WatchChainsParameters (line 4) | type WatchChainsParameters<config extends Config = Config> = {
type WatchChainsReturnType (line 11) | type WatchChainsReturnType = () => void
function watchChains (line 18) | function watchChains<config extends Config>(
FILE: packages/core/src/actions/watchClient.test-d.ts
method onChange (line 8) | onChange(client) {
FILE: packages/core/src/actions/watchClient.test.ts
method onChange (line 11) | onChange(client) {
FILE: packages/core/src/actions/watchClient.ts
type WatchClientParameters (line 4) | type WatchClientParameters<
type WatchClientReturnType (line 15) | type WatchClientReturnType = () => void
function watchClient (line 18) | function watchClient<
FILE: packages/core/src/actions/watchConnection.test.ts
method onChange (line 12) | onChange(data) {
FILE: packages/core/src/actions/watchConnection.ts
type WatchConnectionParameters (line 5) | type WatchConnectionParameters<config extends Config = Config> = {
type WatchConnectionReturnType (line 12) | type WatchConnectionReturnType = () => void
function watchConnection (line 15) | function watchConnection<config extends Config>(
FILE: packages/core/src/actions/watchConnections.test.ts
method onChange (line 12) | onChange(connection) {
FILE: packages/core/src/actions/watchConnections.ts
type WatchConnectionsParameters (line 8) | type WatchConnectionsParameters = {
type WatchConnectionsReturnType (line 15) | type WatchConnectionsReturnType = () => void
function watchConnections (line 18) | function watchConnections(
FILE: packages/core/src/actions/watchConnectors.test.ts
method onChange (line 11) | onChange(connector) {
FILE: packages/core/src/actions/watchConnectors.ts
type WatchConnectorsParameters (line 4) | type WatchConnectorsParameters<config extends Config = Config> = {
type WatchConnectorsReturnType (line 11) | type WatchConnectorsReturnType = () => void
function watchConnectors (line 14) | function watchConnectors<config extends Config>(
FILE: packages/core/src/actions/watchContractEvent.test-d.ts
method onLogs (line 21) | onLogs(logs) {
type Result (line 33) | type Result = WatchContractEventParameters<
method onLogs (line 60) | onLogs(logs) {
type Result (line 87) | type Result = WatchContractEventParameters<
method onLogs (line 99) | onLogs() {}
type Result2 (line 102) | type Result2 = WatchContractEventParameters<
method onLogs (line 115) | onLogs() {}
type Result3 (line 118) | type Result3 = WatchContractEventParameters<
method onLogs (line 131) | onLogs() {}
method onLogs (line 138) | onLogs() {}
FILE: packages/core/src/actions/watchContractEvent.test.ts
method onLogs (line 70) | onLogs(next) {
FILE: packages/core/src/actions/watchContractEvent.ts
type WatchContractEventParameters (line 23) | type WatchContractEventParameters<
type WatchContractEventReturnType (line 50) | type WatchContractEventReturnType = viem_WatchContractEventReturnType
function watchContractEvent (line 54) | function watchContractEvent<
FILE: packages/core/src/actions/watchPendingTransactions.test-d.ts
type Result (line 20) | type Result = WatchPendingTransactionsParameters<
method onTransactions (line 27) | onTransactions() {}
type Result2 (line 30) | type Result2 = WatchPendingTransactionsParameters<
method onTransactions (line 38) | onTransactions() {}
type Result3 (line 41) | type Result3 = WatchPendingTransactionsParameters<
method onTransactions (line 49) | onTransactions() {}
method onTransactions (line 54) | onTransactions() {}
FILE: packages/core/src/actions/watchPendingTransactions.test.ts
method onTransactions (line 24) | onTransactions(next) {
FILE: packages/core/src/actions/watchPendingTransactions.ts
type WatchPendingTransactionsParameters (line 17) | type WatchPendingTransactionsParameters<
type WatchPendingTransactionsReturnType (line 38) | type WatchPendingTransactionsReturnType =
function watchPendingTransactions (line 43) | function watchPendingTransactions<
FILE: packages/core/src/actions/watchPublicClient.test-d.ts
method onChange (line 8) | onChange(client) {
FILE: packages/core/src/actions/watchPublicClient.test.ts
method onChange (line 11) | onChange(client) {
FILE: packages/core/src/actions/watchPublicClient.ts
type WatchPublicClientParameters (line 7) | type WatchPublicClientParameters<
type WatchPublicClientReturnType (line 18) | type WatchPublicClientReturnType = () => void
function watchPublicClient (line 21) | function watchPublicClient<
FILE: packages/core/src/actions/writeContract.bench-d.ts
type Result (line 9) | type Result = WriteContractParameters<(typeof abi)['erc20'], 'approve'>
type Result (line 27) | type Result = WriteContractParameters<typeof abiOverload, 'foo'>
FILE: packages/core/src/actions/writeContract.test-d.ts
type Result (line 44) | type Result = WriteContractParameters<
type Result2 (line 62) | type Result2 = WriteContractParameters<
type Result3 (line 83) | type Result3 = WriteContractParameters<
type Result (line 116) | type Result = WriteContractParameters<typeof abi, 'foo'>
type Result2 (line 149) | type Result2 = WriteContractParameters<typeof abi, 'bar'>
FILE: packages/core/src/actions/writeContract.ts
type WriteContractParameters (line 30) | type WriteContractParameters<
type WriteContractReturnType (line 65) | type WriteContractReturnType = viem_WriteContractReturnType
type WriteContractErrorType (line 67) | type WriteContractErrorType =
function writeContract (line 77) | async function writeContract<
FILE: packages/core/src/actions/writeContractSync.ts
type WriteContractSyncParameters (line 30) | type WriteContractSyncParameters<
type WriteContractSyncReturnType (line 61) | type WriteContractSyncReturnType = viem_WriteContractSyncReturnType
type WriteContractSyncErrorType (line 63) | type WriteContractSyncErrorType =
function writeContractSync (line 73) | async function writeContractSync<
FILE: packages/core/src/connectors/createConnector.test.ts
method setup (line 10) | async setup() {}
method connect (line 11) | async connect() {
method disconnect (line 14) | async disconnect() {}
method getAccounts (line 15) | async getAccounts() {
method getChainId (line 18) | async getChainId() {
method isAuthorized (line 21) | async isAuthorized() {
method onAccountsChanged (line 24) | onAccountsChanged() {}
method onChainChanged (line 25) | onChainChanged() {}
method onDisconnect (line 26) | async onDisconnect(_error) {}
method getProvider (line 27) | async getProvider() {}
FILE: packages/core/src/connectors/createConnector.ts
type ConnectorEventMap (line 15) | type ConnectorEventMap = {
type CreateConnectorFn (line 26) | type CreateConnectorFn<
function createConnector (line 87) | function createConnector<
FILE: packages/core/src/connectors/injected.ts
type InjectedParameters (line 23) | type InjectedParameters = {
function injected (line 38) | function injected(parameters: InjectedParameters = {}) {
method provider (line 544) | provider(window) {
method provider (line 552) | provider(window) {
method provider (line 588) | provider(window) {
type TargetMap (line 595) | type TargetMap = { [_ in TargetId]?: Target | undefined }
type Target (line 597) | type Target = {
type TargetId (line 608) | type TargetId = Compute<WalletProviderFlags> extends `is${infer name}`
type WalletProviderFlags (line 617) | type WalletProviderFlags =
type WalletProvider (line 657) | type WalletProvider = Compute<
type Window (line 677) | type Window = {
function findProvider (line 683) | function findProvider(
FILE: packages/core/src/connectors/mock.test.ts
type ConnectFnParameters (line 20) | type ConnectFnParameters = NonNullable<
type ConnectFnReturnType (line 25) | type ConnectFnReturnType = Awaited<ReturnType<(typeof connector)['connec...
FILE: packages/core/src/connectors/mock.ts
type MockParameters (line 27) | type MockParameters = {
function mock (line 43) | function mock(parameters: MockParameters) {
FILE: packages/core/src/createConfig.test-d.ts
method client (line 32) | client({ chain }) {
type Result (line 82) | type Result = keyof CreateConfigParameters
type ConnectFnParameters (line 106) | type ConnectFnParameters = NonNullable<
FILE: packages/core/src/createConfig.test.ts
method createStore (line 28) | createStore() {
function getProviderDetail (line 486) | function getProviderDetail(
FILE: packages/core/src/createConfig.ts
function createConfig (line 40) | function createConfig<
type CreateConfigParameters (line 516) | type CreateConfigParameters<
type Config (line 547) | type Config<
type Internal (line 588) | type Internal<
type State (line 636) | type State<
type PartializedState (line 645) | type PartializedState = Compute<
type Connection (line 649) | type Connection = {
type Connector (line 655) | type Connector<
type Transport (line 662) | type Transport<
type ClientConfig (line 674) | type ClientConfig = LooseOmit<
FILE: packages/core/src/createEmitter.ts
type EventMap (line 3) | type EventMap = Record<string, object | never>
type EventKey (line 4) | type EventKey<eventMap extends EventMap> = string & keyof eventMap
type EventFn (line 5) | type EventFn<parameters extends unknown[] = any[]> = (
type EventData (line 8) | type EventData<
class Emitter (line 15) | class Emitter<eventMap extends EventMap> {
method constructor (line 18) | constructor(public uid: string) {}
method on (line 20) | on<key extends EventKey<eventMap>>(
method once (line 31) | once<key extends EventKey<eventMap>>(
method off (line 42) | off<key extends EventKey<eventMap>>(
method emit (line 53) | emit<key extends EventKey<eventMap>>(
method listenerCount (line 61) | listenerCount<key extends EventKey<eventMap>>(eventName: key) {
function createEmitter (line 66) | function createEmitter<eventMap extends EventMap>(uid: string) {
FILE: packages/core/src/createStorage.test-d.ts
method deserialize (line 65) | deserialize(value) {
method serialize (line 68) | serialize(value) {
FILE: packages/core/src/createStorage.ts
type StorageItemMap (line 7) | type StorageItemMap = {
type Storage (line 12) | type Storage<
type BaseStorage (line 35) | type BaseStorage = {
type CreateStorageParameters (line 43) | type CreateStorageParameters = {
function createStorage (line 50) | function createStorage<
function getDefaultStorage (line 92) | function getDefaultStorage() {
FILE: packages/core/src/errors/base.test.ts
class FooError (line 130) | class FooError extends BaseError {}
class BarError (line 131) | class BarError extends BaseError {}
class FooError (line 144) | class FooError extends BaseError {}
class BarError (line 145) | class BarError extends BaseError {}
FILE: packages/core/src/errors/base.ts
type ErrorType (line 4) | type ErrorType<name extends string = 'Error'> = Error & { name: name }
type BaseErrorOptions (line 6) | type BaseErrorOptions = Compute<
type BaseErrorType (line 14) | type BaseErrorType = BaseError & { name: 'WagmiCoreError' }
class BaseError (line 15) | class BaseError extends Error {
method docsBaseUrl (line 22) | get docsBaseUrl() {
method version (line 25) | get version() {
method constructor (line 29) | constructor(shortMessage: string, options: BaseErrorOptions = {}) {
method walk (line 65) | walk(fn?: (err: unknown) => boolean) {
method #walk (line 69) | #walk(err: unknown, fn?: (err: unknown) => boolean): unknown {
FILE: packages/core/src/errors/config.ts
type ChainNotConfiguredErrorType (line 6) | type ChainNotConfiguredErrorType = ChainNotConfiguredError & {
class ChainNotConfiguredError (line 9) | class ChainNotConfiguredError extends BaseError {
method constructor (line 11) | constructor() {
type ConnectorAlreadyConnectedErrorType (line 16) | type ConnectorAlreadyConnectedErrorType =
class ConnectorAlreadyConnectedError (line 20) | class ConnectorAlreadyConnectedError extends BaseError {
method constructor (line 22) | constructor() {
type ConnectorNotConnectedErrorType (line 27) | type ConnectorNotConnectedErrorType = ConnectorNotConnectedError & {
class ConnectorNotConnectedError (line 30) | class ConnectorNotConnectedError extends BaseError {
method constructor (line 32) | constructor() {
type ConnectorNotFoundErrorType (line 37) | type ConnectorNotFoundErrorType = ConnectorNotFoundError & {
class ConnectorNotFoundError (line 40) | class ConnectorNotFoundError extends BaseError {
method constructor (line 42) | constructor() {
type ConnectorAccountNotFoundErrorType (line 47) | type ConnectorAccountNotFoundErrorType =
class ConnectorAccountNotFoundError (line 51) | class ConnectorAccountNotFoundError extends BaseError {
method constructor (line 53) | constructor({
type ConnectorChainMismatchErrorType (line 64) | type ConnectorChainMismatchErrorType = ConnectorAccountNotFoundError & {
class ConnectorChainMismatchError (line 67) | class ConnectorChainMismatchError extends BaseError {
method constructor (line 69) | constructor({
type ConnectorUnavailableReconnectingErrorType (line 88) | type ConnectorUnavailableReconnectingErrorType =
class ConnectorUnavailableReconnectingError (line 92) | class ConnectorUnavailableReconnectingError extends BaseError {
method constructor (line 94) | constructor({ connector }: { connector: { name: string } }) {
FILE: packages/core/src/errors/connector.ts
type ProviderNotFoundErrorType (line 4) | type ProviderNotFoundErrorType = ProviderNotFoundError & {
class ProviderNotFoundError (line 7) | class ProviderNotFoundError extends BaseError {
method constructor (line 9) | constructor() {
type SwitchChainNotSupportedErrorType (line 14) | type SwitchChainNotSupportedErrorType = SwitchChainNotSupportedError & {
class SwitchChainNotSupportedError (line 17) | class SwitchChainNotSupportedError extends BaseError {
method constructor (line 20) | constructor({ connector }: { connector: Connector }) {
FILE: packages/core/src/hydrate.test.ts
method createStore (line 21) | createStore() {
FILE: packages/core/src/hydrate.ts
type HydrateParameters (line 4) | type HydrateParameters = {
function hydrate (line 9) | function hydrate(config: Config, parameters: HydrateParameters) {
FILE: packages/core/src/query/call.ts
type CallOptions (line 13) | type CallOptions<config extends Config, selectData = CallData> = Compute<
function callQueryOptions (line 23) | function callQueryOptions<config extends Config, selectData = CallData>(
type CallQueryFnData (line 40) | type CallQueryFnData = CallReturnType
type CallData (line 42) | type CallData = CallQueryFnData
function callQueryKey (line 44) | function callQueryKey<config extends Config>(
type CallQueryKey (line 52) | type CallQueryKey<config extends Config> = ReturnType<
type CallQueryOptions (line 56) | type CallQueryOptions<
FILE: packages/core/src/query/connect.test-d.ts
type Result (line 28) | type Result = NonNullable<Parameters<typeof mutate<typeof connectorFn>>[0]>
type Result (line 44) | type Result = NonNullable<Parameters<typeof mutate<typeof connector>>[0]>
FILE: packages/core/src/query/connect.ts
type ConnectOptions (line 13) | type ConnectOptions<
function connectMutationOptions (line 23) | function connectMutationOptions<config extends Config, context>(
type ConnectMutationOptions (line 36) | type ConnectMutationOptions<config extends Config> = MutationOptions<
type ConnectData (line 42) | type ConnectData<
type ConnectVariables (line 48) | type ConnectVariables<
type ConnectMutate (line 54) | type ConnectMutate<config extends Config, context = unknown> = <
type ConnectMutateAsync (line 74) | type ConnectMutateAsync<config extends Config, context = unknown> = <
FILE: packages/core/src/query/deployContract.ts
type DeployContractOptions (line 13) | type DeployContractOptions<
function deployContractMutationOptions (line 23) | function deployContractMutationOptions<config extends Config, context>(
type DeployContractMutationOptions (line 36) | type DeployContractMutationOptions<config extends Config> =
type DeployContractData (line 43) | type DeployContractData = Compute<DeployContractReturnType>
type DeployContractVariables (line 45) | type DeployContractVariables<
type DeployContractMutate (line 53) | type DeployContractMutate<config extends Config, context = unknown> = <
type DeployContractMutateAsync (line 70) | type DeployContractMutateAsync<
FILE: packages/core/src/query/disconnect.ts
type DisconnectOptions (line 12) | type DisconnectOptions<context = unknown> = MutationParameter<
function disconnectMutationOptions (line 19) | function disconnectMutationOptions<config extends Config, context>(
type DisconnectMutationOptions (line 32) | type DisconnectMutationOptions = MutationOptions<
type DisconnectData (line 38) | type DisconnectData = DisconnectReturnType
type DisconnectVariables (line 40) | type DisconnectVariables = DisconnectParameters | undefined
type DisconnectMutate (line 42) | type DisconnectMutate<context = unknown> = Mutate<
type DisconnectMutateAsync (line 49) | type DisconnectMutateAsync<context = unknown> = MutateAsync<
FILE: packages/core/src/query/estimateFeesPerGas.ts
type EstimateFeesPerGasOptions (line 15) | type EstimateFeesPerGasOptions<
function estimateFeesPerGasQueryOptions (line 29) | function estimateFeesPerGasQueryOptions<
type EstimateFeesPerGasQueryFnData (line 47) | type EstimateFeesPerGasQueryFnData<type extends FeeValuesType> =
type EstimateFeesPerGasData (line 50) | type EstimateFeesPerGasData<type extends FeeValuesType> =
function estimateFeesPerGasQueryKey (line 53) | function estimateFeesPerGasQueryKey<
type EstimateFeesPerGasQueryKey (line 64) | type EstimateFeesPerGasQueryKey<
type EstimateFeesPerGasQueryOptions (line 69) | type EstimateFeesPerGasQueryOptions<
FILE: packages/core/src/query/estimateGas.test-d.ts
type Result (line 17) | type Result = EstimateGasOptions<
type Result2 (line 31) | type Result2 = EstimateGasOptions<typeof config, typeof celo.id>
type Result3 (line 44) | type Result3 = EstimateGasOptions<typeof config, typeof mainnet.id>
FILE: packages/core/src/query/estimateGas.ts
type EstimateGasOptions (line 13) | type EstimateGasOptions<
function estimateGasQueryOptions (line 27) | function estimateGasQueryOptions<
type EstimateGasQueryFnData (line 55) | type EstimateGasQueryFnData = EstimateGasReturnType
type EstimateGasData (line 57) | type EstimateGasData = EstimateGasQueryFnData
function estimateGasQueryKey (line 59) | function estimateGasQueryKey<
type EstimateGasQueryKey (line 71) | type EstimateGasQueryKey<
type EstimateGasQueryOptions (line 76) | type EstimateGasQueryOptions<
FILE: packages/core/src/query/estimateMaxPriorityFeePerGas.ts
type EstimateMaxPriorityFeePerGasOptions (line 13) | type EstimateMaxPriorityFeePerGasOptions<
function estimateMaxPriorityFeePerGasQueryOptions (line 27) | function estimateMaxPriorityFeePerGasQueryOptions<
type EstimateMaxPriorityFeePerGasQueryFnData (line 44) | type EstimateMaxPriorityFeePerGasQueryFnData =
type EstimateMaxPriorityFeePerGasData (line 47) | type EstimateMaxPriorityFeePerGasData =
function estimateMaxPriorityFeePerGasQueryKey (line 50) | function estimateMaxPriorityFeePerGasQueryKey<config extends Config>(
type EstimateMaxPriorityFeePerGasQueryKey (line 59) | type EstimateMaxPriorityFeePerGasQueryKey<config extends Config> =
type EstimateMaxPriorityFeePerGasQueryOptions (line 62) | type EstimateMaxPriorityFeePerGasQueryOptions<
FILE: packages/core/src/query/getBalance.ts
type GetBalanceOptions (line 13) | type GetBalanceOptions<
function getBalanceQueryOptions (line 24) | function getBalanceQueryOptions<
type GetBalanceQueryFnData (line 47) | type GetBalanceQueryFnData = Compute<GetBalanceReturnType>
type GetBalanceData (line 49) | type GetBalanceData = GetBalanceQueryFnData
function getBalanceQueryKey (line 51) | function getBalanceQueryKey<config extends Config>(
type GetBalanceQueryKey (line 59) | type GetBalanceQueryKey<config extends Config> = ReturnType<
type GetBalanceQueryOptions (line 63) | type GetBalanceQueryOptions<
FILE: packages/core/src/query/getBlobBaseFee.ts
type GetBlobBaseFeeOptions (line 13) | type GetBlobBaseFeeOptions<
function getBlobBaseFeeQueryOptions (line 27) | function getBlobBaseFeeQueryOptions<
type GetBlobBaseFeeQueryFnData (line 46) | type GetBlobBaseFeeQueryFnData = GetBlobBaseFeeReturnType
type GetBlobBaseFeeData (line 48) | type GetBlobBaseFeeData = GetBlobBaseFeeQueryFnData
function getBlobBaseFeeQueryKey (line 50) | function getBlobBaseFeeQueryKey<
type GetBlobBaseFeeQueryKey (line 61) | type GetBlobBaseFeeQueryKey<
type GetBlobBaseFeeQueryOptions (line 66) | type GetBlobBaseFeeQueryOptions<
FILE: packages/core/src/query/getBlock.ts
type GetBlockOptions (line 15) | type GetBlockOptions<
function getBlockQueryOptions (line 35) | function getBlockQueryOptions<
type GetBlockQueryFnData (line 68) | type GetBlockQueryFnData<
type GetBlockData (line 75) | type GetBlockData<
function getBlockQueryKey (line 82) | function getBlockQueryKey<
type GetBlockQueryKey (line 98) | type GetBlockQueryKey<
type GetBlockQueryOptions (line 107) | type GetBlockQueryOptions<
FILE: packages/core/src/query/getBlockNumber.ts
type GetBlockNumberOptions (line 13) | type GetBlockNumberOptions<
function getBlockNumberQueryOptions (line 27) | function getBlockNumberQueryOptions<
type GetBlockNumberQueryFnData (line 47) | type GetBlockNumberQueryFnData = GetBlockNumberReturnType
type GetBlockNumberData (line 49) | type GetBlockNumberData = GetBlockNumberQueryFnData
function getBlockNumberQueryKey (line 51) | function getBlockNumberQueryKey<
type GetBlockNumberQueryKey (line 62) | type GetBlockNumberQueryKey<
type GetBlockNumberQueryOptions (line 67) | type GetBlockNumberQueryOptions<
FILE: packages/core/src/query/getBlockTransactionCount.ts
type GetBlockTransactionCountOptions (line 13) | type GetBlockTransactionCountOptions<
function getBlockTransactionCountQueryOptions (line 28) | function getBlockTransactionCountQueryOptions<
type GetBlockTransactionCountQueryFnData (line 50) | type GetBlockTransactionCountQueryFnData =
type GetBlockTransactionCountData (line 53) | type GetBlockTransactionCountData = GetBlockTransactionCountQueryFnData
function getBlockTransactionCountQueryKey (line 55) | function getBlockTransactionCountQueryKey<
type GetBlockTransactionCountQueryKey (line 67) | type GetBlockTransactionCountQueryKey<
type GetBlockTransactionCountQueryOptions (line 72) | type GetBlockTransactionCountQueryOptions<
FILE: packages/core/src/query/getBytecode.ts
type GetBytecodeOptions (line 13) | type GetBytecodeOptions<
function getBytecodeQueryOptions (line 24) | function getBytecodeQueryOptions<
type GetBytecodeQueryFnData (line 47) | type GetBytecodeQueryFnData = GetBytecodeReturnType
type GetBytecodeData (line 49) | type GetBytecodeData = GetBytecodeQueryFnData
function getBytecodeQueryKey (line 51) | function getBytecodeQueryKey<config extends Config>(
type GetBytecodeQueryKey (line 59) | type GetBytecodeQueryKey<config extends Config> = ReturnType<
type GetBytecodeQueryOptions (line 63) | type GetBytecodeQueryOptions<
FILE: packages/core/src/query/getCallsStatus.ts
type GetCallsStatusOptions (line 13) | type GetCallsStatusOptions<selectData = GetCallsStatusData> = Compute<
function getCallsStatusQueryOptions (line 23) | function getCallsStatusQueryOptions<
type GetCallsStatusQueryFnData (line 47) | type GetCallsStatusQueryFnData = GetCallsStatusReturnType
type GetCallsStatusData (line 49) | type GetCallsStatusData = GetCallsStatusQueryFnData
function getCallsStatusQueryKey (line 51) | function getCallsStatusQueryKey(
type GetCallsStatusQueryKey (line 57) | type GetCallsStatusQueryKey = ReturnType<typeof getCallsStatusQueryKey>
type GetCallsStatusQueryOptions (line 59) | type GetCallsStatusQueryOptions<selectData = GetCallsStatusData> =
FILE: packages/core/src/query/getCapabilities.ts
type GetCapabilitiesOptions (line 13) | type GetCapabilitiesOptions<
function getCapabilitiesQueryOptions (line 27) | function getCapabilitiesQueryOptions<
type GetCapabilitiesQueryFnData (line 52) | type GetCapabilitiesQueryFnData<
type GetCapabilitiesData (line 57) | type GetCapabilitiesData<
function getCapabilitiesQueryKey (line 62) | function getCapabilitiesQueryKey<
type GetCapabilitiesQueryKey (line 73) | type GetCapabilitiesQueryKey<
type GetCapabilitiesQueryOptions (line 78) | type GetCapabilitiesQueryOptions<
FILE: packages/core/src/query/getConnectorClient.ts
type GetConnectorClientOptions (line 13) | type GetConnectorClientOptions<
function getConnectorClientQueryOptions (line 31) | function getConnectorClientQueryOptions<
type GetConnectorClientQueryFnData (line 58) | type GetConnectorClientQueryFnData<
type GetConnectorClientData (line 63) | type GetConnectorClientData<
function getConnectorClientQueryKey (line 68) | function getConnectorClientQueryKey<
type GetConnectorClientQueryKey (line 80) | type GetConnectorClientQueryKey<
type GetConnectorClientQueryOptions (line 85) | type GetConnectorClientQueryOptions<
FILE: packages/core/src/query/getContractEvents.ts
type GetContractEventsOptions (line 14) | type GetContractEventsOptions<
function getContractEventsQueryOptions (line 56) | function getContractEventsQueryOptions<
type GetContractEventsQueryFnData (line 125) | type GetContractEventsQueryFnData<
type GetContractEventsData (line 133) | type GetContractEventsData<
function getContractEventsQueryKey (line 141) | function getContractEventsQueryKey<
type GetContractEventsQueryKey (line 166) | type GetContractEventsQueryKey<
type GetContractEventsQueryOptions (line 186) | type GetContractEventsQueryOptions<
FILE: packages/core/src/query/getEnsAddress.ts
type GetEnsAddressOptions (line 13) | type GetEnsAddressOptions<
function getEnsAddressQueryOptions (line 24) | function getEnsAddressQueryOptions<
type GetEnsAddressQueryFnData (line 43) | type GetEnsAddressQueryFnData = GetEnsAddressReturnType
type GetEnsAddressData (line 45) | type GetEnsAddressData = GetEnsAddressQueryFnData
function getEnsAddressQueryKey (line 47) | function getEnsAddressQueryKey<config extends Config>(
type GetEnsAddressQueryKey (line 55) | type GetEnsAddressQueryKey<config extends Config> = ReturnType<
type GetEnsAddressQueryOptions (line 59) | type GetEnsAddressQueryOptions<
FILE: packages/core/src/query/getEnsAvatar.ts
type GetEnsAvatarOptions (line 13) | type GetEnsAvatarOptions<
function getEnsAvatarQueryOptions (line 24) | function getEnsAvatarQueryOptions<
type GetEnsAvatarQueryFnData (line 43) | type GetEnsAvatarQueryFnData = GetEnsAvatarReturnType
type GetEnsAvatarData (line 45) | type GetEnsAvatarData = GetEnsAvatarQueryFnData
function getEnsAvatarQueryKey (line 47) | function getEnsAvatarQueryKey<config extends Config>(
type GetEnsAvatarQueryKey (line 55) | type GetEnsAvatarQueryKey<config extends Config> = ReturnType<
type GetEnsAvatarQueryOptions (line 59) | type GetEnsAvatarQueryOptions<
FILE: packages/core/src/query/getEnsName.ts
type GetEnsNameOptions (line 13) | type GetEnsNameOptions<
function getEnsNameQueryOptions (line 24) | function getEnsNameQueryOptions<
type GetEnsNameQueryFnData (line 43) | type GetEnsNameQueryFnData = GetEnsNameReturnType
type GetEnsNameData (line 45) | type GetEnsNameData = GetEnsNameQueryFnData
function getEnsNameQueryKey (line 47) | function getEnsNameQueryKey<config extends Config>(
type GetEnsNameQueryKey (line 55) | type GetEnsNameQueryKey<config extends Config> = ReturnType<
type GetEnsNameQueryOptions (line 59) | type GetEnsNameQueryOptions<
FILE: packages/core/src/query/getEnsResolver.ts
type GetEnsResolverOptions (line 13) | type GetEnsResolverOptions<
function getEnsResolverQueryOptions (line 26) | function getEnsResolverQueryOptions<
type GetEnsResolverQueryFnData (line 45) | type GetEnsResolverQueryFnData = GetEnsResolverReturnType
type GetEnsResolverData (line 47) | type GetEnsResolverData = GetEnsResolverQueryFnData
function getEnsResolverQueryKey (line 49) | function getEnsResolverQueryKey<config extends Config>(
type GetEnsResolverQueryKey (line 57) | type GetEnsResolverQueryKey<config extends Config> = ReturnType<
type GetEnsResolverQueryOptions (line 61) | type GetEnsResolverQueryOptions<
FILE: packages/core/src/query/getEnsText.ts
type GetEnsTextOptions (line 13) | type GetEnsTextOptions<
function getEnsTextQueryOptions (line 24) | function getEnsTextQueryOptions<
type GetEnsTextQueryFnData (line 50) | type GetEnsTextQueryFnData = GetEnsTextReturnType
type GetEnsTextData (line 52) | type GetEnsTextData = GetEnsTextQueryFnData
function getEnsTextQueryKey (line 54) | function getEnsTextQueryKey<config extends Config>(
type GetEnsTextQueryKey (line 62) | type GetEnsTextQueryKey<config extends Config> = ReturnType<
type GetEnsTextQueryOptions (line 66) | type GetEnsTextQueryOptions<
FILE: packages/core/src/query/getFeeHistory.ts
type GetFeeHistoryOptions (line 13) | type GetFeeHistoryOptions<
function getFeeHistoryQueryOptions (line 27) | function getFeeHistoryQueryOptions<
type GetFeeHistoryQueryFnData (line 58) | type GetFeeHistoryQueryFnData = GetFeeHistoryReturnType
type GetFeeHistoryData (line 60) | type GetFeeHistoryData = GetFeeHistoryQueryFnData
function getFeeHistoryQueryKey (line 62) | function getFeeHistoryQueryKey<
type GetFeeHistoryQueryKey (line 73) | type GetFeeHistoryQueryKey<
type GetFeeHistoryQueryOptions (line 78) | type GetFeeHistoryQueryOptions<
FILE: packages/core/src/query/getGasPrice.ts
type GetGasPriceOptions (line 13) | type GetGasPriceOptions<
function getGasPriceQueryOptions (line 27) | function getGasPriceQueryOptions<
type GetGasPriceQueryFnData (line 46) | type GetGasPriceQueryFnData = GetGasPriceReturnType
type GetGasPriceData (line 48) | type GetGasPriceData = GetGasPriceQueryFnData
function getGasPriceQueryKey (line 50) | function getGasPriceQueryKey<
type GetGasPriceQueryKey (line 61) | type GetGasPriceQueryKey<
type GetGasPriceQueryOptions (line 66) | type GetGasPriceQueryOptions<
FILE: packages/core/src/query/getProof.ts
type GetProofOptions (line 13) | type GetProofOptions<
function getProofQueryOptions (line 24) | function getProofQueryOptions<
type GetProofQueryFnData (line 52) | type GetProofQueryFnData = GetProofReturnType
type GetProofData (line 54) | type GetProofData = GetProofQueryFnData
function getProofQueryKey (line 56) | function getProofQueryKey<config extends Config>(
type GetProofQueryKey (line 64) | type GetProofQueryKey<config extends Config> = ReturnType<
type GetProofQueryOptions (line 68) | type GetProofQueryOptions<
FILE: packages/core/src/query/getStorageAt.ts
type GetStorageAtOptions (line 13) | type GetStorageAtOptions<
function getStorageAtQueryOptions (line 24) | function getStorageAtQueryOptions<
type GetStorageAtQueryFnData (line 50) | type GetStorageAtQueryFnData = GetStorageAtReturnType
type GetStorageAtData (line 52) | type GetStorageAtData = GetStorageAtQueryFnData
function getStorageAtQueryKey (line 54) | function getStorageAtQueryKey<config extends Config>(
type GetStorageAtQueryKey (line 62) | type GetStorageAtQueryKey<config extends Config> = ReturnType<
type GetStorageAtQueryOptions (line 66) | type GetStorageAtQueryOptions<
FILE: packages/core/src/query/getTransaction.ts
type GetTransactionOptions (line 13) | type GetTransactionOptions<
function getTransactionQueryOptions (line 27) | function getTransactionQueryOptions<
type GetTransactionQueryFnData (line 66) | type GetTransactionQueryFnData<
type GetTransactionData (line 71) | type GetTransactionData<
function getTransactionQueryKey (line 76) | function getTransactionQueryKey<
type GetTransactionQueryKey (line 87) | type GetTransactionQueryKey<
type GetTransactionQueryOptions (line 92) | type GetTransactionQueryOptions<
FILE: packages/core/src/query/getTransactionConfirmations.ts
type GetTransactionConfirmationsOptions (line 13) | type GetTransactionConfirmationsOptions<
function getTransactionConfirmationsQueryOptions (line 28) | function getTransactionConfirmationsQueryOptions<
type GetTransactionConfirmationsQueryFnData (line 63) | type GetTransactionConfirmationsQueryFnData =
type GetTransactionConfirmationsData (line 66) | type GetTransactionConfirmationsData =
function getTransactionConfirmationsQueryKey (line 69) | function getTransactionConfirmationsQueryKey<
type GetTransactionConfirmationsQueryKey (line 83) | type GetTransactionConfirmationsQueryKey<
type GetTransactionConfirmationsQueryOptions (line 90) | type GetTransactionConfirmationsQueryOptions<
FILE: packages/core/src/query/getTransactionCount.ts
type GetTransactionCountOptions (line 13) | type GetTransactionCountOptions<
function getTransactionCountQueryOptions (line 26) | function getTransactionCountQueryOptions<
type GetTransactionCountQueryFnData (line 49) | type GetTransactionCountQueryFnData =
type GetTransactionCountData (line 52) | type GetTransactionCountData = GetTransactionCountQueryFnData
function getTransactionCountQueryKey (line 54) | function getTransactionCountQueryKey<config extends Config>(
type GetTransactionCountQueryKey (line 62) | type GetTransactionCountQueryKey<config extends Config> = ReturnType<
type GetTransactionCountQueryOptions (line 66) | type GetTransactionCountQueryOptions<
FILE: packages/core/src/query/getTransactionReceipt.ts
type GetTransactionReceiptOptions (line 13) | type GetTransactionReceiptOptions<
function getTransactionReceiptQueryOptions (line 28) | function getTransactionReceiptQueryOptions<
type GetTransactionReceiptQueryFnData (line 51) | type GetTransactionReceiptQueryFnData<
type GetTransactionReceiptData (line 56) | type GetTransactionReceiptData<
function getTransactionReceiptQueryKey (line 61) | function getTransactionReceiptQueryKey<
type GetTransactionReceiptQueryKey (line 73) | type GetTransactionReceiptQueryKey<
type GetTransactionReceiptQueryOptions (line 78) | type GetTransactionReceiptQueryOptions<
FILE: packages/core/src/query/getWalletClient.ts
type GetWalletClientOptions (line 13) | type GetWalletClientOptions<
function getWalletClientQueryOptions (line 27) | function getWalletClientQueryOptions<
type GetWalletClientQueryFnData (line 56) | type GetWalletClientQueryFnData<
type GetWalletClientData (line 61) | type GetWalletClientData<
function getWalletClientQueryKey (line 66) | function getWalletClientQueryKey<
type GetWalletClientQueryKey (line 77) | type GetWalletClientQueryKey<
type GetWalletClientQueryOptions (line 82) | type GetWalletClientQueryOptions<
FILE: packages/core/src/query/infiniteReadContracts.test-d.ts
method contracts (line 10) | contracts(pageParam) {
method getNextPageParam (line 29) | getNextPageParam(lastPage, allPages, lastPageParam, allPageParams) {
method contracts (line 52) | contracts(pageParam) {
method getNextPageParam (line 71) | getNextPageParam(lastPage, allPages, lastPageParam, allPageParams) {
method contracts (line 88) | contracts(pageParam) {
method getNextPageParam (line 107) | getNextPageParam(lastPage, allPages, lastPageParam, allPageParams) {
method getNextPageParam (line 126) | getNextPageParam(lastPage, allPages, lastPageParam, allPageParams) {
method contracts (line 134) | contracts(pageParam) {
method contracts (line 160) | contracts(pageParam) {
method getNextPageParam (line 184) | getNextPageParam(_, allPages) {
FILE: packages/core/src/query/infiniteReadContracts.test.ts
method contracts (line 17) | contracts(_pageParam) {
method getNextPageParam (line 35) | getNextPageParam(_lastPage, _allPages, lastPageParam, _allPageParams) {
FILE: packages/core/src/query/infiniteReadContracts.ts
type InfiniteReadContractsOptions (line 17) | type InfiniteReadContractsOptions<
function infiniteReadContractsQueryOptions (line 33) | function infiniteReadContractsQueryOptions<
type RequiredPageParamsParameters (line 70) | type RequiredPageParamsParameters<
type InfiniteReadContractsQueryFnData (line 86) | type InfiniteReadContractsQueryFnData<
type InfiniteReadContractsData (line 91) | type InfiniteReadContractsData<
function infiniteReadContractsQueryKey (line 96) | function infiniteReadContractsQueryKey<
type InfiniteReadContractsQueryKey (line 115) | type InfiniteReadContractsQueryKey<
FILE: packages/core/src/query/prepareTransactionRequest.ts
type PrepareTransactionRequestOptions (line 16) | type PrepareTransactionRequestOptions<
function prepareTransactionRequestQueryOptions (line 35) | function prepareTransactionRequestQueryOptions<
type PrepareTransactionRequestQueryFnData (line 71) | type PrepareTransactionRequestQueryFnData<
type PrepareTransactionRequestData (line 80) | type PrepareTransactionRequestData<
function prepareTransactionRequestQueryKey (line 89) | function prepareTransactionRequestQueryKey<
type PrepareTransactionRequestQueryKey (line 105) | type PrepareTransactionRequestQueryKey<
type PrepareTransactionRequestQueryOptions (line 116) | type PrepareTransactionRequestQueryOptions<
FILE: packages/core/src/query/readContract.ts
type ReadContractOptions (line 14) | type ReadContractOptions<
function readContractQueryOptions (line 29) | function readContractQueryOptions<
type ReadContractQueryFnData (line 68) | type ReadContractQueryFnData<
type ReadContractData (line 74) | type ReadContractData<
function readContractQueryKey (line 80) | function readContractQueryKey<
type ReadContractQueryKey (line 94) | type ReadContractQueryKey<
type ReadContractQueryOptions (line 101) | type ReadContractQueryOptions<
FILE: packages/core/src/query/readContracts.ts
type ReadContractsOptions (line 19) | type ReadContractsOptions<
function readContractsQueryOptions (line 39) | function readContractsQueryOptions<
type ReadContractsQueryFnData (line 69) | type ReadContractsQueryFnData<
type ReadContractsData (line 74) | type ReadContractsData<
function readContractsQueryKey (line 79) | function readContractsQueryKey<
type ReadContractsQueryKey (line 116) | type ReadContractsQueryKey<
type ReadContractsQueryOptions (line 122) | type ReadContractsQueryOptions<
FILE: packages/core/src/query/reconnect.ts
type ReconnectOptions (line 13) | type ReconnectOptions<context = unknown> = MutationParameter<
function reconnectMutationOptions (line 20) | function reconnectMutationOptions<context>(
type ReconnectMutationOptions (line 33) | type ReconnectMutationOptions = MutationOptions<
type ReconnectData (line 39) | type ReconnectData = Compute<ReconnectReturnType>
type ReconnectVariables (line 41) | type ReconnectVariables = ReconnectParameters | undefined
type ReconnectMutate (line 43) | type ReconnectMutate<context = unknown> = Mutate<
type ReconnectMutateAsync (line 50) | type ReconnectMutateAsync<context = unknown> = MutateAsync<
FILE: packages/core/src/query/sendCalls.ts
type SendCallsOptions (line 12) | type SendCallsOptions<
function sendCallsMutationOptions (line 22) | function sendCallsMutationOptions<config extends Config, context>(
type SendCallsMutationOptions (line 35) | type SendCallsMutationOptions<config extends Config> = MutationOptions<
type SendCallsData (line 41) | type SendCallsData = Compute<SendCallsReturnType>
type SendCallsVariables (line 43) | type SendCallsVariables<
type SendCallsMutate (line 49) | type SendCallsMutate<config extends Config, context = unknown> = <
type SendCallsMutateAsync (line 66) | type SendCallsMutateAsync<config extends Config, context = unknown> = <
FILE: packages/core/src/query/sendCallsSync.ts
type SendCallsSyncOptions (line 12) | type SendCallsSyncOptions<
function sendCallsSyncMutationOptions (line 22) | function sendCallsSyncMutationOptions<config extends Config, context>(
type SendCallsSyncMutationOptions (line 35) | type SendCallsSyncMutationOptions<config extends Config> =
type SendCallsSyncData (line 42) | type SendCallsSyncData = Compute<SendCallsSyncReturnType>
type SendCallsSyncVariables (line 44) | type SendCallsSyncVariables<
type SendCallsSyncMutate (line 50) | type SendCallsSyncMutate<config extends Config, context = unknown> = <
type SendCallsSyncMutateAsync (line 67) | type SendCallsSyncMutateAsync<
FILE: packages/core/src/query/sendTransaction.ts
type SendTransactionOptions (line 12) | type SendTransactionOptions<
function sendTransactionMutationOptions (line 22) | function sendTransactionMutationOptions<config extends Config, context>(
type SendTransactionMutationOptions (line 35) | type SendTransactionMutationOptions<config extends Config> =
type SendTransactionData (line 42) | type SendTransactionData = Compute<SendTransactionReturnType>
type SendTransactionVariables (line 44) | type SendTransactionVariables<
type SendTransactionMutate (line 49) | type SendTransactionMutate<config extends Config, context = unknown> = <
type SendTransactionMutateAsync (line 65) | type SendTransactionMutateAsync<
FILE: packages/core/src/query/sendTransactionSync.ts
type SendTransactionSyncOptions (line 12) | type SendTransactionSyncOptions<
function sendTransactionSyncMutationOptions (line 22) | function sendTransactionSyncMutationOptions<
type SendTransactionSyncMutationOptions (line 38) | type SendTransactionSyncMutationOptions<config extends Config> =
type SendTransactionSyncData (line 45) | type SendTransactionSyncData = Compute<SendTransactionSyncReturnType>
type SendTransactionSyncVariables (line 47) | type SendTransactionSyncVariables<
type SendTransactionSyncMutate (line 52) | type SendTransactionSyncMutate<
type SendTransactionSyncMutateAsync (line 69) | type SendTransactionSyncMutateAsync<
FILE: packages/core/src/query/showCallsStatus.ts
type ShowCallsStatusOptions (line 12) | type ShowCallsStatusOptions<context = unknown> = MutationParameter<
function showCallsStatusMutationOptions (line 19) | function showCallsStatusMutationOptions<config extends Config, context>(
type ShowCallsStatusMutationOptions (line 32) | type ShowCallsStatusMutationOptions = MutationOptions<
type ShowCallsStatusData (line 38) | type ShowCallsStatusData = Compute<ShowCallsStatusReturnType>
type ShowCallsStatusVariables (line 40) | type ShowCallsStatusVariables = ShowCallsStatusParameters
type ShowCallsStatusMutate (line 42) | type ShowCallsStatusMutate<context = unknown> = (
type ShowCallsStatusMutateAsync (line 56) | type ShowCallsStatusMutateAsync<context = unknown> = (
FILE: packages/core/src/query/signMessage.ts
type SignMessageOptions (line 13) | type SignMessageOptions<context = unknown> = MutationParameter<
function signMessageMutationOptions (line 20) | function signMessageMutationOptions<context>(
type SignMessageMutationOptions (line 33) | type SignMessageMutationOptions = MutationOptions<
type SignMessageData (line 39) | type SignMessageData = SignMessageReturnType
type SignMessageVariables (line 41) | type SignMessageVariables = Compute<SignMessageParameters>
type SignMessageMutate (line 43) | type SignMessageMutate<context = unknown> = Mutate<
type SignMessageMutateAsync (line 50) | type SignMessageMutateAsync<context = unknown> = MutateAsync<
FILE: packages/core/src/query/signTransaction.ts
type SignTransactionOptions (line 14) | type SignTransactionOptions<
function signTransactionMutationOptions (line 29) | function signTransactionMutationOptions<
type SignTransactionMutationOptions (line 50) | type SignTransactionMutationOptions<
type SignTransactionData (line 63) | type SignTransactionData<
type SignTransactionVariables (line 73) | type SignTransactionVariables<
type SignTransactionMutate (line 82) | type SignTransactionMutate<config extends Config, context = unknown> = <
type SignTransactionMutateAsync (line 102) | type SignTransactionMutateAsync<
FILE: packages/core/src/query/signTypedData.ts
type SignTypedDataOptions (line 13) | type SignTypedDataOptions<context = unknown> = MutationParameter<
function signTypedDataMutationOptions (line 20) | function signTypedDataMutationOptions<config extends Config, context>(
type SignTypedDataMutationOptions (line 33) | type SignTypedDataMutationOptions = MutationOptions<
type SignTypedDataData (line 39) | type SignTypedDataData = Compute<SignTypedDataReturnType>
type SignTypedDataVariables (line 41) | type SignTypedDataVariables<
type SignTypedDataMutate (line 48) | type SignTypedDataMutate<context = unknown> = <
type SignTypedDataMutateAsync (line 68) | type SignTypedDataMutateAsync<context = unknown> = <
FILE: packages/core/src/query/simulateContract.test-d.ts
type Result (line 52) | type Result = SimulateContractOptions<
type Result2 (line 71) | type Result2 = SimulateContractOptions<
type Result3 (line 92) | type Result3 = SimulateContractOptions<
FILE: packages/core/src/query/simulateContract.ts
type SimulateContractOptions (line 15) | type SimulateContractOptions<
function simulateContractQueryOptions (line 37) | function simulateContractQueryOptions<
type SimulateContractQueryFnData (line 93) | type SimulateContractQueryFnData<
type SimulateContractData (line 105) | type SimulateContractData<
function simulateContractQueryKey (line 117) | function simulateContractQueryKey<
type SimulateContractQueryKey (line 137) | type SimulateContractQueryKey<
type SimulateContractQueryOptions (line 151) | type SimulateContractQueryOptions<
FILE: packages/core/src/query/switchChain.ts
type SwitchChainOptions (line 12) | type SwitchChainOptions<
function switchChainMutationOptions (line 22) | function switchChainMutationOptions<config extends Config, context>(
type SwitchChainMutationOptions (line 35) | type SwitchChainMutationOptions<config extends Config> = MutationOptions<
type SwitchChainData (line 41) | type SwitchChainData<
type SwitchChainVariables (line 46) | type SwitchChainVariables<
type SwitchChainMutate (line 51) | type SwitchChainMutate<config extends Config, context = unknown> = <
type SwitchChainMutateAsync (line 67) | type SwitchChainMutateAsync<config extends Config, context = unknown> = <
FILE: packages/core/src/query/switchConnection.ts
type SwitchConnectionOptions (line 13) | type SwitchConnectionOptions<
function switchConnectionMutationOptions (line 23) | function switchConnectionMutationOptions<config extends Config, context>(
type SwitchConnectionMutationOptions (line 36) | type SwitchConnectionMutationOptions<config extends Config> =
type SwitchConnectionData (line 43) | type SwitchConnectionData<config extends Config> = Compute<
type SwitchConnectionVariables (line 47) | type SwitchConnectionVariables = Compute<SwitchConnectionParameters>
type SwitchConnectionMutate (line 49) | type SwitchConnectionMutate<
type SwitchConnectionMutateAsync (line 59) | type SwitchConnectionMutateAsync<
FILE: packages/core/src/query/types.ts
type InfiniteQueryOptions (line 11) | type InfiniteQueryOptions<
type QueryFunctionContext (line 46) | type QueryFunctionContext<
type Mutate (line 51) | type Mutate<
type MutateAsync (line 60) | type MutateAsync<
type MutateFn (line 67) | type MutateFn<
FILE: packages/core/src/query/utils.ts
function structuralSharing (line 5) | function structuralSharing<data>(
function hashFn (line 12) | function hashFn(queryKey: QueryKey): string {
function isPlainObject (line 27) | function isPlainObject(value: any): value is Object {
function hasObjectPrototype (line 48) | function hasObjectPrototype(o: any): boolean {
function filterQueryOptions (line 52) | function filterQueryOptions<
FILE: packages/core/src/query/verifyMessage.ts
type VerifyMessageOptions (line 13) | type VerifyMessageOptions<
function verifyMessageQueryOptions (line 24) | function verifyMessageQueryOptions<
type VerifyMessageQueryFnData (line 56) | type VerifyMessageQueryFnData = VerifyMessageReturnType
type VerifyMessageData (line 58) | type VerifyMessageData = VerifyMessageQueryFnData
function verifyMessageQueryKey (line 60) | function verifyMessageQueryKey<config extends Config>(
type VerifyMessageQueryKey (line 68) | type VerifyMessageQueryKey<config extends Config> = ReturnType<
type VerifyMessageQueryOptions (line 72) | type VerifyMessageQueryOptions<
FILE: packages/core/src/query/verifyTypedData.ts
type VerifyTypedDataOptions (line 14) | type VerifyTypedDataOptions<
function verifyTypedDataQueryOptions (line 30) | function verifyTypedDataQueryOptions<
type VerifyTypedDataQueryFnData (line 75) | type VerifyTypedDataQueryFnData = VerifyTypedDataReturnType
type VerifyTypedDataData (line 77) | type VerifyTypedDataData = VerifyTypedDataQueryFnData
function verifyTypedDataQueryKey (line 79) | function verifyTypedDataQueryKey<
type VerifyTypedDataQueryKey (line 92) | type VerifyTypedDataQueryKey<
type VerifyTypedDataQueryOptions (line 98) | type VerifyTypedDataQueryOptions<
FILE: packages/core/src/query/waitForCallsStatus.ts
type WaitForCallsStatusOptions (line 13) | type WaitForCallsStatusOptions<selectData = WaitForCallsStatusData> =
function waitForCallsStatusQueryOptions (line 22) | function waitForCallsStatusQueryOptions<
type WaitForCallsStatusQueryFnData (line 52) | type WaitForCallsStatusQueryFnData = WaitForCallsStatusReturnType
type WaitForCallsStatusData (line 54) | type WaitForCallsStatusData = WaitForCallsStatusQueryFnData
function waitForCallsStatusQueryKey (line 56) | function waitForCallsStatusQueryKey(
type WaitForCallsStatusQueryKey (line 64) | type WaitForCallsStatusQueryKey = ReturnType<
type WaitForCallsStatusQueryOptions (line 68) | type WaitForCallsStatusQueryOptions<
FILE: packages/core/src/query/waitForTransactionReceipt.ts
type WaitForTransactionReceiptOptions (line 13) | type WaitForTransactionReceiptOptions<
function waitForTransactionReceiptQueryOptions (line 28) | function waitForTransactionReceiptQueryOptions<
type WaitForTransactionReceiptQueryFnData (line 54) | type WaitForTransactionReceiptQueryFnData<
type WaitForTransactionReceiptData (line 59) | type WaitForTransactionReceiptData<
function waitForTransactionReceiptQueryKey (line 64) | function waitForTransactionReceiptQueryKey<
type WaitForTransactionReceiptQueryKey (line 77) | type WaitForTransactionReceiptQueryKey<
type WaitForTransactionReceiptQueryOptions (line 82) | type WaitForTransactionReceiptQueryOptions<
FILE: packages/core/src/query/watchAsset.ts
type WatchAssetOptions (line 13) | type WatchAssetOptions<context = unknown> = MutationParameter<
function watchAssetMutationOptions (line 20) | function watchAssetMutationOptions<context>(
type WatchAssetMutationOptions (line 33) | type WatchAssetMutationOptions = MutationOptions<
type WatchAssetData (line 39) | type WatchAssetData = WatchAssetReturnType
type WatchAssetVariables (line 41) | type WatchAssetVariables = Compute<WatchAssetParameters>
type WatchAssetMutate (line 43) | type WatchAssetMutate<context = unknown> = Mutate<
type WatchAssetMutateAsync (line 50) | type WatchAssetMutateAsync<context = unknown> = MutateAsync<
FILE: packages/core/src/query/writeContract.ts
type WriteContractOptions (line 13) | type WriteContractOptions<
function writeContractMutationOptions (line 29) | function writeContractMutationOptions<config extends Config, context>(
type WriteContractMutationOptions (line 42) | type WriteContractMutationOptions<config extends Config> =
type WriteContractData (line 55) | type WriteContractData = Compute<WriteContractReturnType>
type WriteContractVariables (line 57) | type WriteContractVariables<
type WriteContractMutate (line 78) | type WriteContractMutate<config extends Config, context = unknown> = <
type WriteContractMutateAsync (line 107) | type WriteContractMutateAsync<
FILE: packages/core/src/query/writeContractSync.ts
type WriteContractSyncOptions (line 13) | type WriteContractSyncOptions<
function writeContractSyncMutationOptions (line 29) | function writeContractSyncMutationOptions<
type WriteContractSyncMutationOptions (line 45) | type WriteContractSyncMutationOptions<config extends Config> =
type WriteContractSyncData (line 58) | type WriteContractSyncData = Compute<WriteContractSyncReturnType>
type WriteContractSyncVariables (line 60) | type WriteContractSyncVariables<
type WriteContractSyncMutate (line 72) | type WriteContractSyncMutate<
type WriteContractSyncMutateAsync (line 102) | type WriteContractSyncMutateAsync<
FILE: packages/core/src/tempo/Connectors.test.ts
function setupWebAuthn (line 9) | async function setupWebAuthn() {
FILE: packages/core/src/tempo/Connectors.ts
type WebAuthnParameters (line 29) | type WebAuthnParameters = webAuthn.Parameters
function webAuthn (line 36) | function webAuthn(options: webAuthn.Parameters) {
type Parameters (line 549) | type Parameters = {
function normalizeValue (line 582) | function normalizeValue<type>(value: type): type {
method get (line 614) | get<type = any>(key: IDBValidKey): Promise<type | undefined> {
method set (line 626) | set(key: IDBValidKey, value: any): Promise<void> {
method defaultGetStore (line 632) | defaultGetStore() {
method createStore (line 637) | createStore(
method promisifyRequest (line 668) | promisifyRequest<type = undefined>(
type Dangerous_Secp256k1Parameters (line 681) | type Dangerous_Secp256k1Parameters = dangerous_secp256k1.Parameters
function dangerous_secp256k1 (line 692) | function dangerous_secp256k1(
type Parameters (line 853) | type Parameters = {
FILE: packages/core/src/tempo/KeyManager.ts
type KeyManager (line 11) | type KeyManager = {
function from (line 31) | function from<manager extends KeyManager>(manager: manager): manager {
function fromStorage (line 36) | function fromStorage(storage: Storage): KeyManager {
function localStorage (line 64) | function localStorage(options: localStorage.Options = {}) {
type Options (line 75) | type Options = Omit<CreateStorageParameters, 'storage'>
function http (line 92) | function http(
type Options (line 176) | type Options = {
function serializeCredential (line 186) | function serializeCredential(
FILE: packages/core/src/tempo/actions/amm.ts
function getPool (line 39) | function getPool<config extends Config>(
type Parameters (line 49) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 52) | type ReturnValue = Actions.amm.getPool.ReturnValue
type ErrorType (line 54) | type ErrorType = BaseErrorType
function queryKey (line 56) | function queryKey<config extends Config>(
type QueryKey (line 62) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 66) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 85) | type Parameters<
type ReturnValue (line 96) | type ReturnValue<
function getLiquidityBalance (line 139) | function getLiquidityBalance<config extends Config>(
type Parameters (line 149) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 152) | type ReturnValue = Actions.amm.getLiquidityBalance.ReturnValue
type ErrorType (line 154) | type ErrorType = BaseErrorType
function queryKey (line 156) | function queryKey<config extends Config>(
type QueryKey (line 162) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 166) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 189) | type Parameters<
type ReturnValue (line 200) | type ReturnValue<
function rebalanceSwap (line 240) | async function rebalanceSwap<config extends Config>(
type Parameters (line 257) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 264) | type ReturnValue = Actions.amm.rebalanceSwap.ReturnValue
type ErrorType (line 266) | type ErrorType = BaseErrorType
function rebalanceSwapSync (line 297) | async function rebalanceSwapSync<config extends Config>(
type Parameters (line 314) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 324) | type ReturnValue = Actions.amm.rebalanceSwapSync.ReturnValue
type ErrorType (line 326) | type ErrorType = BaseErrorType
function mint (line 357) | async function mint<config extends Config>(
type Parameters (line 374) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 381) | type ReturnValue = Actions.amm.mint.ReturnValue
type ErrorType (line 383) | type ErrorType = BaseErrorType
function mintSync (line 414) | async function mintSync<config extends Config>(
type Parameters (line 431) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 438) | type ReturnValue = Actions.amm.mintSync.ReturnValue
type ErrorType (line 440) | type ErrorType = BaseErrorType
function burn (line 471) | async function burn<config extends Config>(
type Parameters (line 488) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 495) | type ReturnValue = Actions.amm.burn.ReturnValue
type ErrorType (line 497) | type ErrorType = BaseErrorType
function burnSync (line 528) | async function burnSync<config extends Config>(
type Parameters (line 545) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 552) | type ReturnValue = Actions.amm.burnSync.ReturnValue
type ErrorType (line 554) | type ErrorType = BaseErrorType
function watchRebalanceSwap (line 584) | function watchRebalanceSwap<config extends Config>(
type Parameters (line 594) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchMint (line 625) | function watchMint<config extends Config>(
type Parameters (line 635) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchBurn (line 666) | function watchBurn<config extends Config>(
type Parameters (line 676) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/dex.ts
function buy (line 40) | async function buy<config extends Config>(
type Parameters (line 57) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 64) | type ReturnValue = Actions.dex.buy.ReturnValue
type ErrorType (line 66) | type ErrorType = BaseErrorType // TODO: Actions.dex.buy.ErrorType
function buySync (line 100) | async function buySync<config extends Config>(
type Parameters (line 117) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 124) | type ReturnValue = Actions.dex.buySync.ReturnValue
type ErrorType (line 126) | type ErrorType = BaseErrorType // TODO: Actions.dex.buySync.ErrorType
function cancel (line 154) | async function cancel<config extends Config>(
type Parameters (line 171) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 178) | type ReturnValue = Actions.dex.cancel.ReturnValue
type ErrorType (line 180) | type ErrorType = BaseErrorType // TODO: Actions.dex.cancel.ErrorType
function cancelSync (line 211) | async function cancelSync<config extends Config>(
type Parameters (line 228) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 235) | type ReturnValue = Actions.dex.cancelSync.ReturnValue
type ErrorType (line 237) | type ErrorType = BaseErrorType // TODO: Actions.dex.cancelSync.ErrorType
function cancelStale (line 268) | async function cancelStale<config extends Config>(
type Parameters (line 285) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 292) | type ReturnValue = Actions.dex.cancelStale.ReturnValue
type ErrorType (line 294) | type ErrorType = BaseErrorType // TODO: Actions.dex.cancelStale.ErrorType
function cancelStaleSync (line 325) | async function cancelStaleSync<config extends Config>(
type Parameters (line 342) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 349) | type ReturnValue = Actions.dex.cancelStaleSync.ReturnValue
type ErrorType (line 351) | type ErrorType = BaseErrorType // TODO: Actions.dex.cancelStaleSync.Erro...
function createPair (line 379) | async function createPair<config extends Config>(
type Parameters (line 396) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 403) | type ReturnValue = Actions.dex.createPair.ReturnValue
type ErrorType (line 405) | type ErrorType = BaseErrorType // TODO: Actions.dex.createPair.ErrorType
function createPairSync (line 436) | async function createPairSync<config extends Config>(
type Parameters (line 453) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 460) | type ReturnValue = Actions.dex.createPairSync.ReturnValue
type ErrorType (line 462) | type ErrorType = BaseErrorType // TODO: Actions.dex.createPairSync.Error...
function getBalance (line 491) | function getBalance<config extends Config>(
type Parameters (line 501) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 504) | type ReturnValue = Actions.dex.getBalance.ReturnValue
type ErrorType (line 506) | type ErrorType = BaseErrorType
function queryKey (line 508) | function queryKey<config extends Config>(
type QueryKey (line 514) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 518) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 536) | type Parameters<
type ReturnValue (line 547) | type ReturnValue<
function getBuyQuote (line 586) | function getBuyQuote<config extends Config>(
type Parameters (line 596) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 599) | type ReturnValue = Actions.dex.getBuyQuote.ReturnValue
type ErrorType (line 601) | type ErrorType = BaseErrorType
function queryKey (line 603) | function queryKey<config extends Config>(
type QueryKey (line 609) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 613) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 635) | type Parameters<
type ReturnValue (line 646) | type ReturnValue<
function getOrder (line 683) | function getOrder<config extends Config>(
type Parameters (line 693) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 696) | type ReturnValue = Actions.dex.getOrder.ReturnValue
type ErrorType (line 698) | type ErrorType = BaseErrorType
function queryKey (line 700) | function queryKey<config extends Config>(
type QueryKey (line 706) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 710) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 727) | type Parameters<
type ReturnValue (line 738) | type ReturnValue<
function getOrderbook (line 776) | function getOrderbook<config extends Config>(
type Parameters (line 786) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 789) | type ReturnValue = Actions.dex.getOrderbook.ReturnValue
type ErrorType (line 791) | type ErrorType = BaseErrorType
function queryKey (line 793) | function queryKey<config extends Config>(
type QueryKey (line 799) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 803) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 820) | type Parameters<
type ReturnValue (line 831) | type ReturnValue<
function getTickLevel (line 870) | function getTickLevel<config extends Config>(
type Parameters (line 880) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 883) | type ReturnValue = Actions.dex.getTickLevel.ReturnValue
type ErrorType (line 885) | type ErrorType = BaseErrorType
function queryKey (line 887) | function queryKey<config extends Config>(
type QueryKey (line 893) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 897) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 919) | type Parameters<
type ReturnValue (line 930) | type ReturnValue<
function getSellQuote (line 969) | function getSellQuote<config extends Config>(
type Parameters (line 979) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 982) | type ReturnValue = Actions.dex.getSellQuote.ReturnValue
type ErrorType (line 984) | type ErrorType = BaseErrorType
function queryKey (line 986) | function queryKey<config extends Config>(
type QueryKey (line 992) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 996) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 1018) | type Parameters<
type ReturnValue (line 1029) | type ReturnValue<
function place (line 1069) | async function place<config extends Config>(
type Parameters (line 1086) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1093) | type ReturnValue = Actions.dex.place.ReturnValue
type ErrorType (line 1095) | type ErrorType = BaseErrorType // TODO: Actions.dex.place.ErrorType
function placeFlip (line 1127) | async function placeFlip<config extends Config>(
type Parameters (line 1144) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1151) | type ReturnValue = Actions.dex.placeFlip.ReturnValue
type ErrorType (line 1153) | type ErrorType = BaseErrorType // TODO: Actions.dex.placeFlip.ErrorType
function placeFlipSync (line 1188) | async function placeFlipSync<config extends Config>(
type Parameters (line 1205) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1212) | type ReturnValue = Actions.dex.placeFlipSync.ReturnValue
type ErrorType (line 1214) | type ErrorType = BaseErrorType // TODO: Actions.dex.placeFlipSync.ErrorType
function placeSync (line 1248) | async function placeSync<config extends Config>(
type Parameters (line 1265) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1272) | type ReturnValue = Actions.dex.placeSync.ReturnValue
type ErrorType (line 1274) | type ErrorType = BaseErrorType // TODO: Actions.dex.placeSync.ErrorType
function sell (line 1305) | async function sell<config extends Config>(
type Parameters (line 1322) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1329) | type ReturnValue = Actions.dex.sell.ReturnValue
type ErrorType (line 1331) | type ErrorType = BaseErrorType // TODO: Actions.dex.sell.ErrorType
function sellSync (line 1365) | async function sellSync<config extends Config>(
type Parameters (line 1382) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1389) | type ReturnValue = Actions.dex.sellSync.ReturnValue
type ErrorType (line 1391) | type ErrorType = BaseErrorType // TODO: Actions.dex.sellSync.ErrorType
function watchFlipOrderPlaced (line 1421) | function watchFlipOrderPlaced<config extends Config>(
type Parameters (line 1431) | type Parameters<config extends Config> = ChainIdParameter<config> &
type Args (line 1434) | type Args = Actions.dex.watchFlipOrderPlaced.Args
type Log (line 1436) | type Log = Actions.dex.watchFlipOrderPlaced.Log
function watchOrderCancelled (line 1466) | function watchOrderCancelled<config extends Config>(
type Parameters (line 1476) | type Parameters<config extends Config> = ChainIdParameter<config> &
type Args (line 1479) | type Args = Actions.dex.watchOrderCancelled.Args
type Log (line 1481) | type Log = Actions.dex.watchOrderCancelled.Log
function watchOrderFilled (line 1511) | function watchOrderFilled<config extends Config>(
type Parameters (line 1521) | type Parameters<config extends Config> = ChainIdParameter<config> &
type Args (line 1524) | type Args = Actions.dex.watchOrderFilled.Args
type Log (line 1526) | type Log = Actions.dex.watchOrderFilled.Log
function watchOrderPlaced (line 1556) | function watchOrderPlaced<config extends Config>(
type Parameters (line 1566) | type Parameters<config extends Config> = ChainIdParameter<config> &
type Args (line 1569) | type Args = Actions.dex.watchOrderPlaced.Args
type Log (line 1571) | type Log = Actions.dex.watchOrderPlaced.Log
function withdraw (line 1600) | async function withdraw<config extends Config>(
type Parameters (line 1617) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1624) | type ReturnValue = Actions.dex.withdraw.ReturnValue
type ErrorType (line 1626) | type ErrorType = BaseErrorType // TODO: Actions.dex.withdraw.ErrorType
function withdrawSync (line 1658) | async function withdrawSync<config extends Config>(
type Parameters (line 1675) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1682) | type ReturnValue = Actions.dex.withdrawSync.ReturnValue
type ErrorType (line 1684) | type ErrorType = BaseErrorType // TODO: Actions.dex.withdrawSync.ErrorType
FILE: packages/core/src/tempo/actions/faucet.ts
function fund (line 33) | async function fund<config extends Config>(
type Parameters (line 43) | type Parameters<config extends Config> = UnionCompute<
type ReturnValue (line 47) | type ReturnValue = Actions.faucet.fund.ReturnValue
type ErrorType (line 49) | type ErrorType = BaseErrorType // TODO: Actions.faucet.fund.ErrorType
function fundSync (line 78) | async function fundSync<config extends Config>(
type Parameters (line 88) | type Parameters<config extends Config> = UnionCompute<
type ReturnValue (line 92) | type ReturnValue = Actions.faucet.fundSync.ReturnValue
type ErrorType (line 94) | type ErrorType = BaseErrorType // TODO: Actions.faucet.fundSync.ErrorType
FILE: packages/core/src/tempo/actions/fee.ts
function getUserToken (line 38) | function getUserToken<config extends Config>(
type Parameters (line 48) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 51) | type ReturnValue = Actions.fee.getUserToken.ReturnValue
type ErrorType (line 53) | type ErrorType = BaseErrorType
function queryKey (line 55) | function queryKey<config extends Config>(
type QueryKey (line 61) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 65) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 83) | type Parameters<
type ReturnValue (line 94) | type ReturnValue<
function setUserToken (line 131) | async function setUserToken<config extends Config>(
type Parameters (line 148) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 155) | type ReturnValue = Actions.fee.setUserToken.ReturnValue
type ErrorType (line 157) | type ErrorType = BaseErrorType // TODO: Actions.fee.setUserToken.ErrorType
function setUserTokenSync (line 188) | async function setUserTokenSync<config extends Config>(
type Parameters (line 205) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 215) | type ReturnValue = Actions.fee.setUserTokenSync.ReturnValue
type ErrorType (line 217) | type ErrorType = BaseErrorType // TODO: Actions.fee.setUserTokenSync.Err...
function watchSetUserToken (line 247) | function watchSetUserToken<config extends Config>(
type Parameters (line 257) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/nonce.ts
function getNonce (line 35) | function getNonce<config extends Config>(
type Parameters (line 45) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 48) | type ReturnValue = Actions.nonce.getNonce.ReturnValue
type ErrorType (line 50) | type ErrorType = BaseErrorType
function queryKey (line 52) | function queryKey<config extends Config>(
type QueryKey (line 58) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 62) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 83) | type Parameters<
type ReturnValue (line 94) | type ReturnValue<
function watchNonceIncremented (line 135) | function watchNonceIncremented<config extends Config>(
type Parameters (line 145) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/policy.ts
function create (line 37) | async function create<config extends Config>(
type Parameters (line 54) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 61) | type ReturnValue = Actions.policy.create.ReturnValue
type ErrorType (line 63) | type ErrorType = BaseErrorType // TODO: Actions.policy.create.ErrorType
function createSync (line 94) | async function createSync<config extends Config>(
type Parameters (line 111) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 118) | type ReturnValue = Actions.policy.createSync.ReturnValue
type ErrorType (line 120) | type ErrorType = BaseErrorType // TODO: Actions.policy.createSync.ErrorType
function setAdmin (line 149) | async function setAdmin<config extends Config>(
type Parameters (line 166) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 173) | type ReturnValue = Actions.policy.setAdmin.ReturnValue
type ErrorType (line 175) | type ErrorType = BaseErrorType // TODO: Actions.policy.setAdmin.ErrorType
function setAdminSync (line 207) | async function setAdminSync<config extends Config>(
type Parameters (line 224) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 231) | type ReturnValue = Actions.policy.setAdminSync.ReturnValue
type ErrorType (line 233) | type ErrorType = BaseErrorType // TODO: Actions.policy.setAdminSync.Erro...
function modifyWhitelist (line 263) | async function modifyWhitelist<config extends Config>(
type Parameters (line 280) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 290) | type ReturnValue = Actions.policy.modifyWhitelist.ReturnValue
type ErrorType (line 292) | type ErrorType = BaseErrorType // TODO: Actions.policy.modifyWhitelist.E...
function modifyWhitelistSync (line 325) | async function modifyWhitelistSync<config extends Config>(
type Parameters (line 342) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 352) | type ReturnValue = Actions.policy.modifyWhitelistSync.ReturnValue
type ErrorType (line 354) | type ErrorType = BaseErrorType // TODO: Actions.policy.modifyWhitelistSy...
function modifyBlacklist (line 384) | async function modifyBlacklist<config extends Config>(
type Parameters (line 401) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 411) | type ReturnValue = Actions.policy.modifyBlacklist.ReturnValue
type ErrorType (line 413) | type ErrorType = BaseErrorType // TODO: Actions.policy.modifyBlacklist.E...
function modifyBlacklistSync (line 446) | async function modifyBlacklistSync<config extends Config>(
type Parameters (line 463) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 473) | type ReturnValue = Actions.policy.modifyBlacklistSync.ReturnValue
type ErrorType (line 475) | type ErrorType = BaseErrorType // TODO: Actions.policy.modifyBlacklistSy...
function getData (line 503) | function getData<config extends Config>(
type Parameters (line 513) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 516) | type ReturnValue = Actions.policy.getData.ReturnValue
type ErrorType (line 518) | type ErrorType = BaseErrorType
function queryKey (line 520) | function queryKey<config extends Config>(
type QueryKey (line 526) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 530) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 547) | type Parameters<
type ReturnValue (line 558) | type ReturnValue<
function isAuthorized (line 596) | function isAuthorized<config extends Config>(
type Parameters (line 606) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 609) | type ReturnValue = Actions.policy.isAuthorized.ReturnValue
type ErrorType (line 611) | type ErrorType = BaseErrorType
function queryKey (line 613) | function queryKey<config extends Config>(
type QueryKey (line 619) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 623) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 642) | type Parameters<
type ReturnValue (line 653) | type ReturnValue<
function watchCreate (line 692) | function watchCreate<config extends Config>(
type Parameters (line 702) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchAdminUpdated (line 733) | function watchAdminUpdated<config extends Config>(
type Parameters (line 743) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchWhitelistUpdated (line 774) | function watchWhitelistUpdated<config extends Config>(
type Parameters (line 784) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchBlacklistUpdated (line 815) | function watchBlacklistUpdated<config extends Config>(
type Parameters (line 825) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/reward.ts
function claim (line 37) | async function claim<config extends Config>(
type Parameters (line 54) | type Parameters<config extends Config = Config> =
type ReturnValue (line 62) | type ReturnValue = Actions.reward.claim.ReturnValue
type ErrorType (line 64) | type ErrorType = BaseErrorType // TODO: Actions.reward.claim.ErrorType
function claimSync (line 92) | async function claimSync<config extends Config>(
type Parameters (line 109) | type Parameters<config extends Config = Config> =
type ReturnValue (line 117) | type ReturnValue = Actions.reward.claimSync.ReturnValue
type ErrorType (line 119) | type ErrorType = BaseErrorType // TODO: Actions.reward.claimSync.ErrorType
function getGlobalRewardPerToken (line 147) | function getGlobalRewardPerToken<config extends Config>(
type Parameters (line 157) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 160) | type ReturnValue = Actions.reward.getGlobalRewardPerToken.ReturnValue
type ErrorType (line 162) | type ErrorType = BaseErrorType
function queryKey (line 164) | function queryKey<config extends Config>(
type QueryKey (line 170) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 174) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 191) | type Parameters<
type ReturnValue (line 202) | type ReturnValue<
function getUserRewardInfo (line 240) | function getUserRewardInfo<config extends Config>(
type Parameters (line 250) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 253) | type ReturnValue = Actions.reward.getUserRewardInfo.ReturnValue
type ErrorType (line 255) | type ErrorType = BaseErrorType
function queryKey (line 257) | function queryKey<config extends Config>(
type QueryKey (line 263) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 267) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 284) | type Parameters<
type ReturnValue (line 295) | type ReturnValue<
function setRecipient (line 333) | async function setRecipient<config extends Config>(
type Parameters (line 350) | type Parameters<config extends Config = Config> =
type ReturnValue (line 361) | type ReturnValue = Actions.reward.setRecipient.ReturnValue
type ErrorType (line 363) | type ErrorType = BaseErrorType // TODO: Actions.reward.setRecipient.Erro...
function setRecipientSync (line 392) | async function setRecipientSync<config extends Config>(
type Parameters (line 409) | type Parameters<config extends Config = Config> =
type ReturnValue (line 420) | type ReturnValue = Actions.reward.setRecipientSync.ReturnValue
type ErrorType (line 422) | type ErrorType = BaseErrorType // TODO: Actions.reward.setRecipientSync....
function distribute (line 452) | async function distribute<config extends Config>(
type Parameters (line 469) | type Parameters<config extends Config = Config> =
type ReturnValue (line 477) | type ReturnValue = Actions.reward.distribute.ReturnValue
type ErrorType (line 479) | type ErrorType = BaseErrorType // TODO: Actions.reward.distribute.ErrorType
function distributeSync (line 509) | async function distributeSync<config extends Config>(
type Parameters (line 526) | type Parameters<config extends Config = Config> =
type ReturnValue (line 537) | type ReturnValue = Actions.reward.distributeSync.ReturnValue
type ErrorType (line 539) | type ErrorType = BaseErrorType // TODO: Actions.reward.distributeSync.Er...
function watchRewardDistributed (line 570) | function watchRewardDistributed<config extends Config>(
type Parameters (line 580) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchRewardRecipientSet (line 612) | function watchRewardRecipientSet<config extends Config>(
type Parameters (line 622) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/token.ts
function approve (line 38) | async function approve<config extends Config>(
type Parameters (line 53) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 60) | type ReturnValue = Actions.token.approve.ReturnValue
type ErrorType (line 62) | type ErrorType = BaseErrorType // TODO: Actions.token.approve.ErrorType
function approveSync (line 94) | async function approveSync<config extends Config>(
type Parameters (line 109) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 116) | type ReturnValue = Actions.token.approveSync.ReturnValue
type ErrorType (line 118) | type ErrorType = BaseErrorType // TODO: Actions.token.approveSync.ErrorType
function burn (line 147) | async function burn<config extends Config>(
type Parameters (line 162) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 169) | type ReturnValue = Actions.token.burn.ReturnValue
type ErrorType (line 171) | type ErrorType = BaseErrorType // TODO: Actions.token.burn.ErrorType
function burnBlocked (line 201) | async function burnBlocked<config extends Config>(
type Parameters (line 216) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 223) | type ReturnValue = Actions.token.burnBlocked.ReturnValue
type ErrorType (line 225) | type ErrorType = BaseErrorType // TODO: Actions.token.burnBlocked.ErrorType
function burnBlockedSync (line 258) | async function burnBlockedSync<config extends Config>(
type Parameters (line 273) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 283) | type ReturnValue = Actions.token.burnBlockedSync.ReturnValue
type ErrorType (line 285) | type ErrorType = BaseErrorType // TODO: Actions.token.burnBlockedSync.Er...
function burnSync (line 317) | async function burnSync<config extends Config>(
type Parameters (line 332) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 339) | type ReturnValue = Actions.token.burnSync.ReturnValue
type ErrorType (line 341) | type ErrorType = BaseErrorType // TODO: Actions.token.burnSync.ErrorType
function changeTransferPolicy (line 370) | async function changeTransferPolicy<config extends Config>(
type Parameters (line 385) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 395) | type ReturnValue = Actions.token.changeTransferPolicy.ReturnValue
type ErrorType (line 397) | type ErrorType = BaseErrorType // TODO: Actions.token.changeTransferPoli...
function changeTransferPolicySync (line 429) | async function changeTransferPolicySync<config extends Config>(
type Parameters (line 444) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 454) | type ReturnValue = Actions.token.changeTransferPolicySync.ReturnValue
type ErrorType (line 456) | type ErrorType = BaseErrorType // TODO: Actions.token.changeTransferPoli...
function create (line 486) | async function create<config extends Config>(
type Parameters (line 501) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 508) | type ReturnValue = Actions.token.create.ReturnValue
type ErrorType (line 510) | type ErrorType = BaseErrorType // TODO: Actions.token.create.ErrorType
function createSync (line 543) | async function createSync<config extends Config>(
type Parameters (line 558) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 565) | type ReturnValue = Actions.token.createSync.ReturnValue
type ErrorType (line 567) | type ErrorType = BaseErrorType // TODO: Actions.token.createSync.ErrorType
function updateQuoteToken (line 595) | async function updateQuoteToken<config extends Config>(
type Parameters (line 610) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 620) | type ReturnValue = Actions.token.updateQuoteToken.ReturnValue
type ErrorType (line 622) | type ErrorType = BaseErrorType // TODO: Actions.token.updateQuoteToken.E...
function updateQuoteTokenSync (line 653) | async function updateQuoteTokenSync<config extends Config>(
type Parameters (line 668) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 678) | type ReturnValue = Actions.token.updateQuoteTokenSync.ReturnValue
type ErrorType (line 680) | type ErrorType = BaseErrorType // TODO: Actions.token.updateQuoteTokenSy...
function getAllowance (line 709) | function getAllowance<config extends Config>(
type Parameters (line 719) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 722) | type ReturnValue = Actions.token.getAllowance.ReturnValue
type ErrorType (line 724) | type ErrorType = BaseErrorType
function queryKey (line 726) | function queryKey<config extends Config>(
type QueryKey (line 732) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 736) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 755) | type Parameters<
type ReturnValue (line 766) | type ReturnValue<
function getBalance (line 803) | function getBalance<config extends Config>(
type Parameters (line 813) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 816) | type ReturnValue = Actions.token.getBalance.ReturnValue
type ErrorType (line 818) | type ErrorType = BaseErrorType
function queryKey (line 820) | function queryKey<config extends Config>(
type QueryKey (line 826) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 830) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 847) | type Parameters<
type ReturnValue (line 858) | type ReturnValue<
function getMetadata (line 895) | function getMetadata<config extends Config>(
type Parameters (line 905) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 908) | type ReturnValue = Actions.token.getMetadata.ReturnValue
type ErrorType (line 910) | type ErrorType = BaseErrorType
function queryKey (line 912) | function queryKey<config extends Config>(
type QueryKey (line 918) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 922) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 939) | type Parameters<
type ReturnValue (line 950) | type ReturnValue<
function getRoleAdmin (line 988) | function getRoleAdmin<config extends Config>(
type Parameters (line 998) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1001) | type ReturnValue = Actions.token.getRoleAdmin.ReturnValue
type ErrorType (line 1003) | type ErrorType = BaseErrorType
function queryKey (line 1005) | function queryKey<config extends Config>(
type QueryKey (line 1011) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 1015) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 1032) | type Parameters<
type ReturnValue (line 1043) | type ReturnValue<
function grantRoles (line 1082) | async function grantRoles<config extends Config>(
type Parameters (line 1097) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1104) | type ReturnValue = Actions.token.grantRoles.ReturnValue
type ErrorType (line 1106) | type ErrorType = BaseErrorType // TODO: Actions.token.grantRoles.ErrorType
function grantRolesSync (line 1139) | async function grantRolesSync<config extends Config>(
type Parameters (line 1154) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1164) | type ReturnValue = Actions.token.grantRolesSync.ReturnValue
type ErrorType (line 1166) | type ErrorType = BaseErrorType // TODO: Actions.token.grantRolesSync.Err...
function hasRole (line 1196) | function hasRole<config extends Config>(
type Parameters (line 1206) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1209) | type ReturnValue = Actions.token.hasRole.ReturnValue
type ErrorType (line 1211) | type ErrorType = BaseErrorType
function queryKey (line 1213) | function queryKey<config extends Config>(
type QueryKey (line 1219) | type QueryKey<config extends Config> = ReturnType<
function queryOptions (line 1223) | function queryOptions<config extends Config, selectData = ReturnValue>(
type Parameters (line 1242) | type Parameters<
type ReturnValue (line 1253) | type ReturnValue<
function mint (line 1292) | async function mint<config extends Config>(
type Parameters (line 1307) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1314) | type ReturnValue = Actions.token.mint.ReturnValue
type ErrorType (line 1316) | type ErrorType = BaseErrorType // TODO: Actions.token.mint.ErrorType
function mintSync (line 1349) | async function mintSync<config extends Config>(
type Parameters (line 1364) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1371) | type ReturnValue = Actions.token.mintSync.ReturnValue
type ErrorType (line 1373) | type ErrorType = BaseErrorType // TODO: Actions.token.mintSync.ErrorType
function pause (line 1401) | async function pause<config extends Config>(
type Parameters (line 1416) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1423) | type ReturnValue = Actions.token.pause.ReturnValue
type ErrorType (line 1425) | type ErrorType = BaseErrorType // TODO: Actions.token.pause.ErrorType
function pauseSync (line 1456) | async function pauseSync<config extends Config>(
type Parameters (line 1471) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1478) | type ReturnValue = Actions.token.pauseSync.ReturnValue
type ErrorType (line 1480) | type ErrorType = BaseErrorType // TODO: Actions.token.pauseSync.ErrorType
function renounceRoles (line 1509) | async function renounceRoles<config extends Config>(
type Parameters (line 1524) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1531) | type ReturnValue = Actions.token.renounceRoles.ReturnValue
type ErrorType (line 1533) | type ErrorType = BaseErrorType // TODO: Actions.token.renounceRoles.Erro...
function renounceRolesSync (line 1565) | async function renounceRolesSync<config extends Config>(
type Parameters (line 1580) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1590) | type ReturnValue = Actions.token.renounceRolesSync.ReturnValue
type ErrorType (line 1592) | type ErrorType = BaseErrorType // TODO: Actions.token.renounceRolesSync....
function revokeRoles (line 1622) | async function revokeRoles<config extends Config>(
type Parameters (line 1637) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1644) | type ReturnValue = Actions.token.revokeRoles.ReturnValue
type ErrorType (line 1646) | type ErrorType = BaseErrorType // TODO: Actions.token.revokeRoles.ErrorType
function revokeRolesSync (line 1679) | async function revokeRolesSync<config extends Config>(
type Parameters (line 1694) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1704) | type ReturnValue = Actions.token.revokeRolesSync.ReturnValue
type ErrorType (line 1706) | type ErrorType = BaseErrorType // TODO: Actions.token.revokeRolesSync.Er...
function setRoleAdmin (line 1736) | async function setRoleAdmin<config extends Config>(
type Parameters (line 1751) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1758) | type ReturnValue = Actions.token.setRoleAdmin.ReturnValue
type ErrorType (line 1760) | type ErrorType = BaseErrorType // TODO: Actions.token.setRoleAdmin.Error...
function setRoleAdminSync (line 1793) | async function setRoleAdminSync<config extends Config>(
type Parameters (line 1808) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1818) | type ReturnValue = Actions.token.setRoleAdminSync.ReturnValue
type ErrorType (line 1820) | type ErrorType = BaseErrorType // TODO: Actions.token.setRoleAdminSync.E...
function setSupplyCap (line 1849) | async function setSupplyCap<config extends Config>(
type Parameters (line 1864) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1871) | type ReturnValue = Actions.token.setSupplyCap.ReturnValue
type ErrorType (line 1873) | type ErrorType = BaseErrorType // TODO: Actions.token.setSupplyCap.Error...
function setSupplyCapSync (line 1905) | async function setSupplyCapSync<config extends Config>(
type Parameters (line 1920) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1930) | type ReturnValue = Actions.token.setSupplyCapSync.ReturnValue
type ErrorType (line 1932) | type ErrorType = BaseErrorType // TODO: Actions.token.setSupplyCapSync.E...
function transfer (line 1961) | async function transfer<config extends Config>(
type Parameters (line 1976) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 1983) | type ReturnValue = Actions.token.transfer.ReturnValue
type ErrorType (line 1985) | type ErrorType = BaseErrorType // TODO: Actions.token.transfer.ErrorType
function transferSync (line 2017) | async function transferSync<config extends Config>(
type Parameters (line 2032) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2039) | type ReturnValue = Actions.token.transferSync.ReturnValue
type ErrorType (line 2041) | type ErrorType = BaseErrorType // TODO: Actions.token.transferSync.Error...
function unpause (line 2069) | async function unpause<config extends Config>(
type Parameters (line 2084) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2091) | type ReturnValue = Actions.token.unpause.ReturnValue
type ErrorType (line 2093) | type ErrorType = BaseErrorType // TODO: Actions.token.unpause.ErrorType
function unpauseSync (line 2124) | async function unpauseSync<config extends Config>(
type Parameters (line 2139) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2146) | type ReturnValue = Actions.token.unpauseSync.ReturnValue
type ErrorType (line 2148) | type ErrorType = BaseErrorType // TODO: Actions.token.unpauseSync.ErrorType
function prepareUpdateQuoteToken (line 2177) | async function prepareUpdateQuoteToken<config extends Config>(
type Parameters (line 2192) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2202) | type ReturnValue = Actions.token.prepareUpdateQuoteToken.ReturnValue
type ErrorType (line 2204) | type ErrorType = BaseErrorType // TODO: Actions.token.prepareUpdateQuote...
function prepareUpdateQuoteTokenSync (line 2236) | async function prepareUpdateQuoteTokenSync<config extends Config>(
type Parameters (line 2251) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2261) | type ReturnValue =
type ErrorType (line 2264) | type ErrorType = BaseErrorType // TODO: Actions.token.prepareUpdateQuote...
function watchAdminRole (line 2294) | function watchAdminRole<config extends Config>(
type Parameters (line 2304) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchApprove (line 2335) | function watchApprove<config extends Config>(
type Parameters (line 2345) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchBurn (line 2376) | function watchBurn<config extends Config>(
type Parameters (line 2386) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchCreate (line 2417) | function watchCreate<config extends Config>(
type Parameters (line 2427) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchMint (line 2458) | function watchMint<config extends Config>(
type Parameters (line 2468) | type Parameters<config extends Config> = ChainIdParameter<config> &
type ReturnValue (line 2471) | type ReturnValue = Actions.token.watchMint.ReturnValue
function watchRole (line 2501) | function watchRole<config extends Config>(
type Parameters (line 2511) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchTransfer (line 2542) | function watchTransfer<config extends Config>(
type Parameters (line 2552) | type Parameters<config extends Config> = ChainIdParameter<config> &
function watchUpdateQuoteToken (line 2586) | function watchUpdateQuoteToken<config extends Config>(
type Parameters (line 2596) | type Parameters<config extends Config> = ChainIdParameter<config> &
FILE: packages/core/src/tempo/actions/utils.ts
type QueryParameter (line 4) | type QueryParameter<
type QueryOptions (line 18) | type QueryOptions<
function filterQueryOptions (line 28) | function filterQueryOptions<type extends Record<string, unknown>>(
FILE: packages/core/src/transports/connector.test.ts
method getProvider (line 48) | async getProvider() {
method getProvider (line 71) | async getProvider(options = {}) {
FILE: packages/core/src/transports/connector.ts
type ConnectorTransportConfig (line 17) | type ConnectorTransportConfig = {
type ConnectorTransport (line 28) | type ConnectorTransport = Transport
function unstable_connector (line 30) | function unstable_connector(
FILE: packages/core/src/transports/fallback.ts
function fallback (line 5) | function fallback(
FILE: packages/core/src/types/chain.test-d.ts
type Result (line 9) | type Result = SelectChains<Config, number>
type Result (line 14) | type Result = SelectChains<
type Result (line 22) | type Result = SelectChains<Config<readonly [typeof mainnet, typeof optim...
type Result (line 29) | type Result = SelectChains<Config<readonly [typeof mainnet, typeof sepol...
FILE: packages/core/src/types/chain.ts
type SelectChains (line 7) | type SelectChains<
type HasFormatter (line 19) | type HasFormatter<chains extends readonly Chain[]> = chains extends read...
FILE: packages/core/src/types/properties.ts
type ChainIdParameter (line 3) | type ChainIdParameter<
type ConfigParameter (line 15) | type ConfigParameter<config extends Config = Config> = {
type ConnectorParameter (line 19) | type ConnectorParameter = {
type EnabledParameter (line 23) | type EnabledParameter = {
type ScopeKeyParameter (line 27) | type ScopeKeyParameter = { scopeKey?: string | undefined }
type SyncConnectedChainParameter (line 29) | type SyncConnectedChainParameter = {
FILE: packages/core/src/types/query.ts
type MutationParameter (line 4) | type MutationParameter<
type QueryParameter (line 18) | type QueryParameter<
type QueryOptions (line 32) | type QueryOptions<
FILE: packages/core/src/types/register.ts
type Register (line 4) | interface Register {}
type ResolvedRegister (line 5) | type ResolvedRegister = {
FILE: packages/core/src/types/utils.test-d.ts
type Result (line 35) | type Result = Compute<PartialBy<{ foo: string; bar: number }, 'foo'>>
FILE: packages/core/src/types/utils.ts
type Compute (line 3) | type Compute<type> = { [key in keyof type]: type[key] } & unknown
type ExactPartial (line 10) | type ExactPartial<type> = {
type FixedArray (line 23) | type FixedArray<
FILE: packages/core/src/utils/cookie.ts
method getItem (line 6) | getItem(key) {
method setItem (line 11) | setItem(key, value) {
method removeItem (line 16) | removeItem(key) {
function cookieToInitialState (line 23) | function cookieToInitialState(config: Config, cookie?: string | null) {
function parseCookie (line 31) | function parseCookie(cookie: string, key: string) {
FILE: packages/core/src/utils/deepEqual.ts
function deepEqual (line 3) | function deepEqual(a: any, b: any) {
FILE: packages/core/src/utils/deserialize.ts
type Reviver (line 1) | type Reviver = (key: string, value: any) => any
function deserialize (line 3) | function deserialize<type>(value: string, reviver?: Reviver): type {
FILE: packages/core/src/utils/extractRpcUrls.ts
type ExtractRpcUrlsParameters (line 3) | type ExtractRpcUrlsParameters = {
function extractRpcUrls (line 8) | function extractRpcUrls(parameters: ExtractRpcUrlsParameters) {
FILE: packages/core/src/utils/getAction.test.ts
method call (line 34) | async call() {
FILE: packages/core/src/utils/getAction.ts
function getAction (line 18) | function getAction<
FILE: packages/core/src/utils/serialize.test.ts
class Foo (line 5) | class Foo {
method constructor (line 8) | constructor(value: string) {
method fn (line 15) | fn() {
FILE: packages/core/src/utils/serialize.ts
function getReferenceKey (line 8) | function getReferenceKey(keys: string[], cutoff: number) {
function getCutoff (line 19) | function getCutoff(array: any[], value: any) {
type StandardReplacer (line 31) | type StandardReplacer = (key: string, value: any) => any
type CircularReplacer (line 32) | type CircularReplacer = (key: string, value: any, referenceKey: string) ...
function createReplacer (line 41) | function createReplacer(
function serialize (line 98) | function serialize(
FILE: packages/core/src/utils/uid.ts
function uid (line 5) | function uid(length = 11) {
FILE: packages/create-wagmi/src/cli.test.ts
function run (line 18) | function run(
function createNonEmptyDir (line 25) | function createNonEmptyDir() {
FILE: packages/create-wagmi/src/cli.ts
function init (line 55) | async function init() {
FILE: packages/create-wagmi/src/frameworks.ts
type ColorFunc (line 3) | type ColorFunc = (str: string | number) => string
type FrameworkVariant (line 5) | type FrameworkVariant = {
type Framework (line 12) | type Framework = {
FILE: packages/create-wagmi/src/utils.ts
function formatTargetDir (line 4) | function formatTargetDir(targetDir: string | undefined) {
function copy (line 8) | function copy(src: string, dest: string) {
function copyDir (line 14) | function copyDir(srcDir: string, destDir: string) {
function isValidPackageName (line 23) | function isValidPackageName(projectName: string) {
function toValidPackageName (line 29) | function toValidPackageName(projectName: string) {
function isEmpty (line 38) | function isEmpty(path: string) {
function emptyDir (line 43) | function emptyDir(dir: string) {
function pkgFromUserAgent (line 51) | function pkgFromUserAgent(userAgent: string | undefined) {
FILE: packages/create-wagmi/templates/next/src/app/layout.tsx
function RootLayout (line 18) | async function RootLayout(props: { children: ReactNode }) {
FILE: packages/create-wagmi/templates/next/src/app/page.tsx
function App (line 5) | function App() {
FILE: packages/create-wagmi/templates/next/src/app/providers.tsx
function Providers (line 9) | function Providers(props: {
FILE: packages/create-wagmi/templates/next/src/wagmi.ts
function getConfig (line 4) | function getConfig() {
type Register (line 19) | interface Register {
FILE: packages/create-wagmi/templates/nuxt/wagmi.ts
type Register (line 18) | interface Register {
FILE: packages/create-wagmi/templates/vite-react/src/App.tsx
function App (line 3) | function App() {
FILE: packages/create-wagmi/templates/vite-react/src/wagmi.ts
type Register (line 13) | interface Register {
FILE: packages/create-wagmi/templates/vite-vanilla/src/main.ts
function setupApp (line 37) | function setupApp(element: HTMLDivElement) {
FILE: packages/create-wagmi/templates/vite-vue/src/wagmi.ts
type Register (line 15) | interface Register {
FILE: packages/react/src/context.test.tsx
function Component (line 15) | function Component() {
function Component (line 62) | function Component() {
FILE: packages/react/src/context.ts
type WagmiProviderProps (line 11) | type WagmiProviderProps = {
function WagmiProvider (line 17) | function WagmiProvider(
FILE: packages/react/src/errors/base.test.ts
class FooError (line 130) | class FooError extends BaseError {}
class BarError (line 131) | class BarError extends BaseError {}
class FooError (line 144) | class FooError extends BaseError {}
class BarError (line 145) | class BarError extends BaseError {}
FILE: packages/react/src/errors/base.ts
type BaseErrorType (line 5) | type BaseErrorType = BaseError & { name: 'WagmiError' }
class BaseError (line 6) | class BaseError extends CoreError {
method docsBaseUrl (line 8) | override get docsBaseUrl() {
method version (line 11) | override get version() {
FILE: packages/react/src/errors/context.ts
type WagmiProviderNotFoundErrorType (line 3) | type WagmiProviderNotFoundErrorType = WagmiProviderNotFoundError & {
class WagmiProviderNotFoundError (line 6) | class WagmiProviderNotFoundError extends BaseError {
method constructor (line 8) | constructor() {
FILE: packages/react/src/hooks/codegen/createUseReadContract.test-d.ts
method select (line 29) | select(data) {
FILE: packages/react/src/hooks/codegen/createUseReadContract.ts
type stateMutability (line 33) | type stateMutability = 'pure' | 'view'
type CreateUseReadContractParameters (line 35) | type CreateUseReadContractParameters<
type CreateUseReadContractReturnType (line 50) | type CreateUseReadContractReturnType<
function createUseReadContract (line 87) | function createUseReadContract<
FILE: packages/react/src/hooks/codegen/createUseSimulateContract.test-d.ts
method select (line 54) | select(data) {
FILE: packages/react/src/hooks/codegen/createUseSimulateContract.ts
type stateMutability (line 30) | type stateMutability = 'nonpayable' | 'payable'
type CreateUseSimulateContractParameters (line 32) | type CreateUseSimulateContractParameters<
type CreateUseSimulateContractReturnType (line 47) | type CreateUseSimulateContractReturnType<
function createUseSimulateContract (line 84) | function createUseSimulateContract<
FILE: packages/react/src/hooks/codegen/createUseWatchContractEvent.test-d.ts
method onLogs (line 15) | onLogs(logs) {
method onLogs (line 71) | onLogs() {}
method onLogs (line 79) | onLogs() {}
method onLogs (line 87) | onLogs() {}
method onLogs (line 95) | onLogs() {}
method onLogs (line 102) | onLogs() {}
method onLogs (line 114) | onLogs(logs) {
FILE: packages/react/src/hooks/codegen/createUseWatchContractEvent.test.ts
method onLogs (line 18) | onLogs(next) {
method onLogs (line 40) | onLogs(next) {
FILE: packages/react/src/hooks/codegen/createUseWatchContractEvent.ts
type CreateUseWatchContractEventParameters (line 18) | type CreateUseWatchContractEventParameters<
type CreateUseWatchContractEventReturnType (line 28) | type CreateUseWatchContractEventReturnType<
function createUseWatchContractEvent (line 62) | function createUseWatchContractEvent<
FILE: packages/react/src/hooks/codegen/createUseWriteContract.test-d.ts
method onMutate (line 31) | onMutate() {
method onSuccess (line 34) | onSuccess(data, variables, context) {
method onSuccess (line 52) | onSuccess(data, variables, context) {
FILE: packages/react/src/hooks/codegen/createUseWriteContract.ts
type stateMutability (line 38) | type stateMutability = 'nonpayable' | 'payable'
type CreateUseWriteContractParameters (line 40) | type CreateUseWriteContractParameters<
type CreateUseWriteContractReturnType (line 55) | type CreateUseWriteContractReturnType<
function createUseWriteContract (line 219) | function createUseWriteContract<
type Variables (line 315) | type Variables<
FILE: packages/react/src/hooks/useBalance.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useBalance.ts
type UseBalanceParameters (line 13) | type UseBalanceParameters<
type UseBalanceReturnType (line 18) | type UseBalanceReturnType<selectData = GetBalanceData> =
function useBalance (line 22) | function useBalance<
FILE: packages/react/src/hooks/useBlobBaseFee.ts
type UseBlobBaseFeeParameters (line 17) | type UseBlobBaseFeeParameters<
type UseBlobBaseFeeReturnType (line 26) | type UseBlobBaseFeeReturnType<selectData = GetBlobBaseFeeData> =
function useBlobBaseFee (line 30) | function useBlobBaseFee<
FILE: packages/react/src/hooks/useBlock.test-d.ts
method select (line 10) | select(data) {
FILE: packages/react/src/hooks/useBlock.ts
type UseBlockParameters (line 24) | type UseBlockParameters<
type UseBlockReturnType (line 51) | type UseBlockReturnType<
function useBlock (line 61) | function useBlock<
FILE: packages/react/src/hooks/useBlockNumber.test-d.ts
method select (line 10) | select(data) {
FILE: packages/react/src/hooks/useBlockNumber.ts
type UseBlockNumberParameters (line 27) | type UseBlockNumberParameters<
type UseBlockNumberReturnType (line 47) | type UseBlockNumberReturnType<selectData = GetBlockNumberData> =
function useBlockNumber (line 51) | function useBlockNumber<
FILE: packages/react/src/hooks/useBlockTransactionCount.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useBlockTransactionCount.ts
type UseBlockTransactionCountParameters (line 17) | type UseBlockTransactionCountParameters<
type UseBlockTransactionCountReturnType (line 27) | type UseBlockTransactionCountReturnType<
function useBlockTransactionCount (line 32) | function useBlockTransactionCount<
FILE: packages/react/src/hooks/useBytecode.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useBytecode.ts
type UseBytecodeParameters (line 17) | type UseBytecodeParameters<
type UseBytecodeReturnType (line 22) | type UseBytecodeReturnType<selectData = GetBytecodeData> =
function useBytecode (line 26) | function useBytecode<
FILE: packages/react/src/hooks/useCall.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useCall.ts
type UseCallParameters (line 13) | type UseCallParameters<
type UseCallReturnType (line 18) | type UseCallReturnType<selectData = CallData> = UseQueryReturnType<
function useCall (line 24) | function useCall<
FILE: packages/react/src/hooks/useCallsStatus.ts
type UseCallsStatusParameters (line 17) | type UseCallsStatusParameters<
type UseCallsStatusReturnType (line 22) | type UseCallsStatusReturnType<selectData = GetCallsStatusData> =
function useCallsStatus (line 26) | function useCallsStatus<
FILE: packages/react/src/hooks/useCapabilities.ts
type UseCapabilitiesParameters (line 17) | type UseCapabilitiesParameters<
type UseCapabilitiesReturnType (line 25) | type UseCapabilitiesReturnType<
function useCapabilities (line 32) | function useCapabilities<
FILE: packages/react/src/hooks/useChainId.ts
type UseChainIdParameters (line 14) | type UseChainIdParameters<config extends Config = Config> =
type UseChainIdReturnType (line 17) | type UseChainIdReturnType<config extends Config = Config> =
function useChainId (line 21) | function useChainId<config extends Config = ResolvedRegister['config']>(
FILE: packages/react/src/hooks/useChains.ts
type UseChainsParameters (line 14) | type UseChainsParameters<config extends Config = Config> =
type UseChainsReturnType (line 17) | type UseChainsReturnType<config extends Config = Config> =
function useChains (line 21) | function useChains<config extends Config = ResolvedRegister['config']>(
FILE: packages/react/src/hooks/useClient.ts
type UseClientParameters (line 15) | type UseClientParameters<
type UseClientReturnType (line 22) | type UseClientReturnType<
function useClient (line 30) | function useClient<
FILE: packages/react/src/hooks/useConfig.ts
type UseConfigParameters (line 9) | type UseConfigParameters<config extends Config = Config> =
type UseConfigReturnType (line 12) | type UseConfigReturnType<config extends Config = Config> = config
function useConfig (line 15) | function useConfig<config extends Config = ResolvedRegister['config']>(
FILE: packages/react/src/hooks/useConnect.test-d.ts
method onMutate (line 17) | onMutate(variables) {
method onError (line 25) | onError(error, variables, context) {
method onSuccess (line 34) | onSuccess(data, variables, context) {
method onSettled (line 54) | onSettled(data, error, variables, context) {
method onError (line 112) | onError(error, variables, context) {
method onSuccess (line 122) | onSuccess(data, variables, context) {
method onSettled (line 135) | onSettled(data, error, variables, context) {
method onSuccess (line 162) | onSuccess(data, _variables, _context) {
method onSettled (line 181) | onSettled(data, _error, _variables, _context) {
FILE: packages/react/src/hooks/useConnect.ts
type UseConnectParameters (line 18) | type UseConnectParameters<
type UseConnectReturnType (line 23) | type UseConnectReturnType<
function useConnect (line 45) | function useConnect<
FILE: packages/react/src/hooks/useConnection.ts
type UseConnectionParameters (line 15) | type UseConnectionParameters<config extends Config = Config> =
type UseConnectionReturnType (line 18) | type UseConnectionReturnType<config extends Config = Config> =
function useConnection (line 22) | function useConnection<
FILE: packages/react/src/hooks/useConnectionEffect.ts
type UseConnectionEffectParameters (line 8) | type UseConnectionEffectParameters = Compute<
function useConnectionEffect (line 25) | function useConnectionEffect(
FILE: packages/react/src/hooks/useConnections.ts
type UseConnectionsParameters (line 12) | type UseConnectionsParameters = ConfigParameter
type UseConnectionsReturnType (line 14) | type UseConnectionsReturnType = GetConnectionsReturnType
function useConnections (line 17) | function useConnections(
FILE: packages/react/src/hooks/useConnectorClient.test.tsx
function Parent (line 241) | function Parent() {
function Child (line 273) | function Child(props: { renderCount: number }) {
FILE: packages/react/src/hooks/useConnectorClient.ts
type UseConnectorClientParameters (line 21) | type UseConnectorClientParameters<
type UseConnectorClientReturnType (line 31) | type UseConnectorClientReturnType<
function useConnectorClient (line 39) | function useConnectorClient<
FILE: packages/react/src/hooks/useConnectors.ts
type UseConnectorsParameters (line 14) | type UseConnectorsParameters<config extends Config = Config> =
type UseConnectorsReturnType (line 17) | type UseConnectorsReturnType<config extends Config = Config> =
function useConnectors (line 21) | function useConnectors<
FILE: packages/react/src/hooks/useContractEvents.test-d.ts
type Result (line 76) | type Result = UseContractEventsParameters<
FILE: packages/react/src/hooks/useContractEvents.ts
type UseContractEventsParameters (line 18) | type UseContractEventsParameters<
type UseContractEventsReturnType (line 50) | type UseContractEventsReturnType<
function useContractEvents (line 68) | function useContractEvents<
FILE: packages/react/src/hooks/useDeployContract.test-d.ts
method onMutate (line 13) | onMutate(variables) {
method onError (line 21) | onError(error, variables, context) {
method onSuccess (line 31) | onSuccess(data, variables, context) {
method onSettled (line 41) | onSettled(data, error, variables, context) {
method onError (line 74) | onError(error, variables, context) {
method onSuccess (line 84) | onSuccess(data, variables, context) {
method onSettled (line 94) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useDeployContract.ts
type UseDeployContractParameters (line 21) | type UseDeployContractParameters<
type UseDeployContractReturnType (line 26) | type UseDeployContractReturnType<
function useDeployContract (line 44) | function useDeployContract<
FILE: packages/react/src/hooks/useDisconnect.test-d.ts
method onMutate (line 22) | onMutate(variables) {
method onError (line 28) | onError(error, variables, context) {
method onSuccess (line 35) | onSuccess(data, variables, context) {
method onSettled (line 42) | onSettled(data, error, variables, context) {
method onError (line 63) | onError(error, variables, context) {
method onSuccess (line 70) | onSuccess(data, variables, context) {
method onSettled (line 77) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useDisconnect.ts
type UseDisconnectParameters (line 17) | type UseDisconnectParameters<context = unknown> = Compute<
type UseDisconnectReturnType (line 21) | type UseDisconnectReturnType<context = unknown> = Compute<
function useDisconnect (line 40) | function useDisconnect<context = unknown>(
FILE: packages/react/src/hooks/useEnsAddress.ts
type UseEnsAddressParameters (line 17) | type UseEnsAddressParameters<
type UseEnsAddressReturnType (line 22) | type UseEnsAddressReturnType<selectData = GetEnsAddressData> =
function useEnsAddress (line 26) | function useEnsAddress<
FILE: packages/react/src/hooks/useEnsAvatar.ts
type UseEnsAvatarParameters (line 17) | type UseEnsAvatarParameters<
type UseEnsAvatarReturnType (line 22) | type UseEnsAvatarReturnType<selectData = GetEnsAvatarData> =
function useEnsAvatar (line 26) | function useEnsAvatar<
FILE: packages/react/src/hooks/useEnsName.ts
type UseEnsNameParameters (line 13) | type UseEnsNameParameters<
type UseEnsNameReturnType (line 18) | type UseEnsNameReturnType<selectData = GetEnsNameData> =
function useEnsName (line 22) | function useEnsName<
FILE: packages/react/src/hooks/useEnsResolver.ts
type UseEnsResolverParameters (line 17) | type UseEnsResolverParameters<
type UseEnsResolverReturnType (line 22) | type UseEnsResolverReturnType<selectData = GetEnsResolverData> =
function useEnsResolver (line 26) | function useEnsResolver<
FILE: packages/react/src/hooks/useEnsText.ts
type UseEnsTextParameters (line 13) | type UseEnsTextParameters<
type UseEnsTextReturnType (line 18) | type UseEnsTextReturnType<selectData = GetEnsTextData> =
function useEnsText (line 22) | function useEnsText<
FILE: packages/react/src/hooks/useEstimateFeesPerGas.ts
type UseEstimateFeesPerGasParameters (line 18) | type UseEstimateFeesPerGasParameters<
type UseEstimateFeesPerGasReturnType (line 26) | type UseEstimateFeesPerGasReturnType<
function useEstimateFeesPerGas (line 32) | function useEstimateFeesPerGas<
FILE: packages/react/src/hooks/useEstimateGas.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useEstimateGas.ts
type UseEstimateGasParameters (line 18) | type UseEstimateGasParameters<
type UseEstimateGasReturnType (line 24) | type UseEstimateGasReturnType<selectData = EstimateGasData> =
function useEstimateGas (line 36) | function useEstimateGas(
FILE: packages/react/src/hooks/useEstimateMaxPriorityFeePerGas.test-d.ts
method select (line 7) | select(data) {
FILE: packages/react/src/hooks/useEstimateMaxPriorityFeePerGas.ts
type UseEstimateMaxPriorityFeePerGasParameters (line 17) | type UseEstimateMaxPriorityFeePerGasParameters<
type UseEstimateMaxPriorityFeePerGasReturnType (line 25) | type UseEstimateMaxPriorityFeePerGasReturnType<
function useEstimateMaxPriorityFeePerGas (line 30) | function useEstimateMaxPriorityFeePerGas<
FILE: packages/react/src/hooks/useFeeHistory.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useFeeHistory.ts
type UseFeeHistoryParameters (line 17) | type UseFeeHistoryParameters<
type UseFeeHistoryReturnType (line 26) | type UseFeeHistoryReturnType<selectData = GetFeeHistoryData> =
function useFeeHistory (line 30) | function useFeeHistory<
FILE: packages/react/src/hooks/useGasPrice.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useGasPrice.ts
type UseGasPriceParameters (line 17) | type UseGasPriceParameters<
type UseGasPriceReturnType (line 26) | type UseGasPriceReturnType<selectData = GetGasPriceData> =
function useGasPrice (line 30) | function useGasPrice<
FILE: packages/react/src/hooks/useInfiniteReadContracts.test-d.ts
method contracts (line 10) | contracts(pageParam) {
method getNextPageParam (line 29) | getNextPageParam(lastPage, allPages, lastPageParam, allPageParams) {
method select (line 36) | select(data) {
FILE: packages/react/src/hooks/useInfiniteReadContracts.test.ts
method contracts (line 13) | contracts(pageParam) {
method getNextPageParam (line 26) | getNextPageParam(_lastPage, _allPages, lastPageParam) {
method select (line 29) | select(data) {
FILE: packages/react/src/hooks/useInfiniteReadContracts.ts
type UseInfiniteContractReadsParameters (line 28) | type UseInfiniteContractReadsParameters<
type UseInfiniteContractReadsReturnType (line 45) | type UseInfiniteContractReadsReturnType<
function useInfiniteReadContracts (line 52) | function useInfiniteReadContracts<
FILE: packages/react/src/hooks/usePrepareTransactionRequest.test-d.ts
method select (line 10) | select(data) {
FILE: packages/react/src/hooks/usePrepareTransactionRequest.ts
type UsePrepareTransactionRequestParameters (line 19) | type UsePrepareTransactionRequestParameters<
type UsePrepareTransactionRequestReturnType (line 33) | type UsePrepareTransactionRequestReturnType<
function usePrepareTransactionRequest (line 47) | function usePrepareTransactionRequest<
FILE: packages/react/src/hooks/useProof.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useProof.ts
type UseProofParameters (line 13) | type UseProofParameters<
type UseProofReturnType (line 18) | type UseProofReturnType<selectData = GetProofData> = UseQueryReturnType<
function useProof (line 24) | function useProof<
FILE: packages/react/src/hooks/usePublicClient.ts
type UsePublicClientParameters (line 15) | type UsePublicClientParameters<
type UsePublicClientReturnType (line 24) | type UsePublicClientReturnType<
function usePublicClient (line 32) | function usePublicClient<
FILE: packages/react/src/hooks/useReadContract.test-d.ts
method select (line 18) | select(data) {
type Result (line 28) | type Result = UseReadContractParameters<typeof abi.erc20, 'balanceOf'>
type Result (line 43) | type Result = UseReadContractReturnType<typeof abi.erc20, 'balanceOf'>
FILE: packages/react/src/hooks/useReadContract.ts
type UseReadContractParameters (line 18) | type UseReadContractParameters<
type UseReadContractReturnType (line 36) | type UseReadContractReturnType<
function useReadContract (line 51) | function useReadContract<
FILE: packages/react/src/hooks/useReadContracts.test-d.ts
method select (line 25) | select(data) {
FILE: packages/react/src/hooks/useReadContracts.ts
type UseReadContractsParameters (line 19) | type UseReadContractsParameters<
type UseReadContractsReturnType (line 29) | type UseReadContractsReturnType<
function useReadContracts (line 36) | function useReadContracts<
FILE: packages/react/src/hooks/useReconnect.test-d.ts
method onMutate (line 17) | onMutate(variables) {
method onError (line 28) | onError(error, variables, context) {
method onSuccess (line 40) | onSuccess(data, variables, context) {
method onSettled (line 58) | onSettled(data, error, variables, context) {
method onError (line 103) | onError(error, variables, context) {
method onSuccess (line 115) | onSuccess(data, variables, context) {
method onSettled (line 133) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useReconnect.ts
type UseReconnectParameters (line 16) | type UseReconnectParameters<context = unknown> = Compute<
type UseReconnectReturnType (line 20) | type UseReconnectReturnType<context = unknown> = Compute<
function useReconnect (line 39) | function useReconnect<context = unknown>(
FILE: packages/react/src/hooks/useSendCalls.ts
type UseSendCallsParameters (line 16) | type UseSendCallsParameters<
type UseSendCallsReturnType (line 21) | type UseSendCallsReturnType<
function useSendCalls (line 41) | function useSendCalls<
FILE: packages/react/src/hooks/useSendCallsSync.ts
type UseSendCallsSyncParameters (line 20) | type UseSendCallsSyncParameters<
type UseSendCallsSyncReturnType (line 25) | type UseSendCallsSyncReturnType<
function useSendCallsSync (line 45) | function useSendCallsSync<
FILE: packages/react/src/hooks/useSendTransaction.test-d.ts
method onMutate (line 12) | onMutate(variables) {
method onError (line 18) | onError(error, variables, context) {
method onSuccess (line 25) | onSuccess(data, variables, context) {
method onSettled (line 32) | onSettled(data, error, variables, context) {
method onError (line 57) | onError(error, variables, context) {
method onSuccess (line 64) | onSuccess(data, variables, context) {
method onSettled (line 71) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSendTransaction.ts
type UseSendTransactionParameters (line 20) | type UseSendTransactionParameters<
type UseSendTransactionReturnType (line 25) | type UseSendTransactionReturnType<
function useSendTransaction (line 45) | function useSendTransaction<
FILE: packages/react/src/hooks/useSendTransactionSync.ts
type UseSendTransactionSyncParameters (line 20) | type UseSendTransactionSyncParameters<
type UseSendTransactionSyncReturnType (line 27) | type UseSendTransactionSyncReturnType<
function useSendTransactionSync (line 47) | function useSendTransactionSync<
FILE: packages/react/src/hooks/useShowCallsStatus.ts
type UseShowCallsStatusParameters (line 20) | type UseShowCallsStatusParameters<
type UseShowCallsStatusReturnType (line 25) | type UseShowCallsStatusReturnType<context = unknown> = Compute<
function useShowCallsStatus (line 42) | function useShowCallsStatus<
FILE: packages/react/src/hooks/useSignMessage.test-d.ts
method onMutate (line 13) | onMutate(variables) {
method onError (line 17) | onError(error, variables, context) {
method onSuccess (line 22) | onSuccess(data, variables, context) {
method onSettled (line 27) | onSettled(data, error, variables, context) {
method onError (line 48) | onError(error, variables, context) {
method onSuccess (line 53) | onSuccess(data, variables, context) {
method onSettled (line 58) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSignMessage.ts
type UseSignMessageParameters (line 16) | type UseSignMessageParameters<context = unknown> = Compute<
type UseSignMessageReturnType (line 20) | type UseSignMessageReturnType<context = unknown> = Compute<
function useSignMessage (line 37) | function useSignMessage<context = unknown>(
FILE: packages/react/src/hooks/useSignTransaction.test-d.ts
method onMutate (line 18) | onMutate(variables) {
method onError (line 24) | onError(error, variables, context) {
method onSuccess (line 31) | onSuccess(data, variables, context) {
method onSettled (line 38) | onSettled(data, error, variables, context) {
method onError (line 63) | onError(error, variables, context) {
method onSuccess (line 70) | onSuccess(data, variables, context) {
method onSettled (line 77) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSignTransaction.ts
type UseSignTransactionParameters (line 22) | type UseSignTransactionParameters<
type UseSignTransactionReturnType (line 42) | type UseSignTransactionReturnType<
function useSignTransaction (line 69) | function useSignTransaction<
FILE: packages/react/src/hooks/useSignTypedData.test-d.ts
method onMutate (line 16) | onMutate(variables) {
method onError (line 20) | onError(error, variables, context) {
method onSuccess (line 25) | onSuccess(data, variables, context) {
method onSettled (line 30) | onSettled(data, error, variables, context) {
method onError (line 62) | onError(error, variables, context) {
method onSuccess (line 74) | onSuccess(data, variables, context) {
method onSettled (line 86) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSignTypedData.ts
type UseSignTypedDataParameters (line 16) | type UseSignTypedDataParameters<context = unknown> = Compute<
type UseSignTypedDataReturnType (line 20) | type UseSignTypedDataReturnType<context = unknown> = Compute<
function useSignTypedData (line 37) | function useSignTypedData<context = unknown>(
FILE: packages/react/src/hooks/useSimulateContract.test-d.ts
method select (line 53) | select(data) {
type Result (line 65) | type Result = UseSimulateContractParameters<typeof abi.erc20, 'transferF...
type Result (line 73) | type Result = UseSimulateContractReturnType<
FILE: packages/react/src/hooks/useSimulateContract.ts
type UseSimulateContractParameters (line 19) | type UseSimulateContractParameters<
type UseSimulateContractReturnType (line 43) | type UseSimulateContractReturnType<
function useSimulateContract (line 60) | function useSimulateContract<
FILE: packages/react/src/hooks/useStorageAt.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useStorageAt.ts
type UseStorageAtParameters (line 17) | type UseStorageAtParameters<
type UseStorageAtReturnType (line 22) | type UseStorageAtReturnType<selectData = GetStorageAtData> =
function useStorageAt (line 26) | function useStorageAt<
FILE: packages/react/src/hooks/useSwitchChain.test-d.ts
method onMutate (line 15) | onMutate(variables) {
method onError (line 25) | onError(error, variables, context) {
method onSuccess (line 36) | onSuccess(data, variables, context) {
method onSettled (line 47) | onSettled(data, error, variables, context) {
method onError (line 81) | onError(error, variables, context) {
method onSuccess (line 92) | onSuccess(data, variables, context) {
method onSettled (line 103) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSwitchChain.ts
type UseSwitchChainParameters (line 21) | type UseSwitchChainParameters<
type UseSwitchChainReturnType (line 26) | type UseSwitchChainReturnType<
function useSwitchChain (line 48) | function useSwitchChain<
FILE: packages/react/src/hooks/useSwitchConnection.test-d.ts
method onMutate (line 13) | onMutate(variables) {
method onError (line 17) | onError(error, variables, context) {
method onSuccess (line 22) | onSuccess(data, variables, context) {
method onSettled (line 30) | onSettled(data, error, variables, context) {
method onError (line 65) | onError(error, variables, context) {
method onSuccess (line 70) | onSuccess(data, variables, context) {
method onSettled (line 78) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useSwitchConnection.ts
type UseSwitchConnectionParameters (line 22) | type UseSwitchConnectionParameters<
type UseSwitchConnectionReturnType (line 27) | type UseSwitchConnectionReturnType<
function useSwitchConnection (line 53) | function useSwitchConnection<
FILE: packages/react/src/hooks/useSyncExternalStoreWithTracked.test.tsx
function createExternalStore (line 8) | function createExternalStore<state>(initialState: state) {
function useExternalStore (line 30) | function useExternalStore(
function Test (line 187) | function Test() {
FILE: packages/react/src/hooks/useSyncExternalStoreWithTracked.ts
function useSyncExternalStoreWithTracked (line 10) | function useSyncExternalStoreWithTracked<
FILE: packages/react/src/hooks/useTransaction.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useTransaction.ts
type UseTransactionParameters (line 17) | type UseTransactionParameters<
type UseTransactionReturnType (line 26) | type UseTransactionReturnType<
function useTransaction (line 34) | function useTransaction<
FILE: packages/react/src/hooks/useTransactionConfirmations.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useTransactionConfirmations.ts
type UseTransactionConfirmationsParameters (line 17) | type UseTransactionConfirmationsParameters<
type UseTransactionConfirmationsReturnType (line 24) | type UseTransactionConfirmationsReturnType<
function useTransactionConfirmations (line 29) | function useTransactionConfirmations<
FILE: packages/react/src/hooks/useTransactionCount.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useTransactionCount.ts
type UseTransactionCountParameters (line 17) | type UseTransactionCountParameters<
type UseTransactionCountReturnType (line 24) | type UseTransactionCountReturnType<
function useTransactionCount (line 29) | function useTransactionCount<
FILE: packages/react/src/hooks/useTransactionReceipt.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useTransactionReceipt.ts
type UseTransactionReceiptParameters (line 17) | type UseTransactionReceiptParameters<
type UseTransactionReceiptReturnType (line 27) | type UseTransactionReceiptReturnType<
function useTransactionReceipt (line 35) | function useTransactionReceipt<
FILE: packages/react/src/hooks/useVerifyMessage.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useVerifyMessage.ts
type UseVerifyMessageParameters (line 17) | type UseVerifyMessageParameters<
type UseVerifyMessageReturnType (line 22) | type UseVerifyMessageReturnType<selectData = VerifyMessageData> =
function useVerifyMessage (line 26) | function useVerifyMessage<
FILE: packages/react/src/hooks/useVerifyTypedData.test-d.ts
method select (line 12) | select(data) {
type Result (line 21) | type Result = UseVerifyTypedDataParameters<
FILE: packages/react/src/hooks/useVerifyTypedData.ts
type UseVerifyTypedDataParameters (line 18) | type UseVerifyTypedDataParameters<
type UseVerifyTypedDataReturnType (line 26) | type UseVerifyTypedDataReturnType<selectData = VerifyTypedDataData> =
function useVerifyTypedData (line 30) | function useVerifyTypedData<
FILE: packages/react/src/hooks/useWaitForCallsStatus.ts
type UseWaitForCallsStatusParameters (line 17) | type UseWaitForCallsStatusParameters<
type UseWaitForCallsStatusReturnType (line 22) | type UseWaitForCallsStatusReturnType<
function useWaitForCallsStatus (line 27) | function useWaitForCallsStatus<
FILE: packages/react/src/hooks/useWaitForTransactionReceipt.test-d.ts
method select (line 8) | select(data) {
FILE: packages/react/src/hooks/useWaitForTransactionReceipt.ts
type UseWaitForTransactionReceiptParameters (line 17) | type UseWaitForTransactionReceiptParameters<
type UseWaitForTransactionReceiptReturnType (line 27) | type UseWaitForTransactionReceiptReturnType<
function useWaitForTransactionReceipt (line 35) | function useWaitForTransactionReceipt<
FILE: packages/react/src/hooks/useWalletClient.test.tsx
function Parent (line 194) | function Parent() {
function Child (line 226) | function Child(props: { renderCount: number }) {
FILE: packages/react/src/hooks/useWalletClient.ts
type UseWalletClientParameters (line 22) | type UseWalletClientParameters<
type UseWalletClientReturnType (line 31) | type UseWalletClientReturnType<
function useWalletClient (line 39) | function useWalletClient<
FILE: packages/react/src/hooks/useWatchAsset.test-d.ts
method onMutate (line 17) | onMutate(variables) {
method onError (line 21) | onError(error, variables, context) {
method onSuccess (line 26) | onSuccess(data, variables, context) {
method onSettled (line 31) | onSettled(data, error, variables, context) {
method onError (line 52) | onError(error, variables, context) {
method onSuccess (line 57) | onSuccess(data, variables, context) {
method onSettled (line 62) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useWatchAsset.ts
type UseWatchAssetParameters (line 16) | type UseWatchAssetParameters<context = unknown> = Compute<
type UseWatchAssetReturnType (line 20) | type UseWatchAssetReturnType<context = unknown> = Compute<
function useWatchAsset (line 37) | function useWatchAsset<context = unknown>(
FILE: packages/react/src/hooks/useWatchBlockNumber.test-d.ts
method onBlockNumber (line 14) | onBlockNumber() {}
type Result (line 27) | type Result = UseWatchBlockNumberParameters<
method onBlockNumber (line 35) | onBlockNumber() {}
type Result2 (line 38) | type Result2 = UseWatchBlockNumberParameters<typeof config, typeof mainn...
method onBlockNumber (line 44) | onBlockNumber() {}
method onBlockNumber (line 51) | onBlockNumber() {}
type Result3 (line 54) | type Result3 = UseWatchBlockNumberParameters<
method onBlockNumber (line 63) | onBlockNumber() {}
method onBlockNumber (line 69) | onBlockNumber() {}
FILE: packages/react/src/hooks/useWatchBlockNumber.test.ts
method onBlockNumber (line 11) | onBlockNumber(blockNumber) {
FILE: packages/react/src/hooks/useWatchBlockNumber.ts
type UseWatchBlockNumberParameters (line 18) | type UseWatchBlockNumberParameters<
type UseWatchBlockNumberReturnType (line 28) | type UseWatchBlockNumberReturnType = void
function useWatchBlockNumber (line 31) | function useWatchBlockNumber<
FILE: packages/react/src/hooks/useWatchBlocks.test-d.ts
method onBlock (line 14) | onBlock() {}
type Result (line 27) | type Result = UseWatchBlocksParameters<
method onBlock (line 37) | onBlock() {}
type Result2 (line 40) | type Result2 = UseWatchBlocksParameters<
method onBlock (line 51) | onBlock() {}
type Result3 (line 54) | type Result3 = UseWatchBlocksParameters<
method onBlock (line 65) | onBlock() {}
method onBlock (line 71) | onBlock() {}
FILE: packages/react/src/hooks/useWatchBlocks.test.ts
method onBlock (line 12) | onBlock(block) {
FILE: packages/react/src/hooks/useWatchBlocks.ts
type UseWatchBlocksParameters (line 19) | type UseWatchBlocksParameters<
type UseWatchBlocksReturnType (line 33) | type UseWatchBlocksReturnType = void
function useWatchBlocks (line 36) | function useWatchBlocks<
FILE: packages/react/src/hooks/useWatchContractEvent.test-d.ts
method onLogs (line 21) | onLogs(logs) {
method onLogs (line 42) | onLogs(logs) {
type Result (line 69) | type Result = UseWatchContractEventParameters<
method onLogs (line 82) | onLogs() {}
type Result2 (line 85) | type Result2 = UseWatchContractEventParameters<
method onLogs (line 99) | onLogs() {}
type Result3 (line 102) | type Result3 = UseWatchContractEventParameters<
method onLogs (line 116) | onLogs() {}
method onLogs (line 124) | onLogs() {}
FILE: packages/react/src/hooks/useWatchContractEvent.test.ts
method onLogs (line 60) | onLogs(next) {
FILE: packages/react/src/hooks/useWatchContractEvent.ts
type UseWatchContractEventParameters (line 20) | type UseWatchContractEventParameters<
type UseWatchContractEventReturnType (line 35) | type UseWatchContractEventReturnType = void
function useWatchContractEvent (line 38) | function useWatchContractEvent<
FILE: packages/react/src/hooks/useWatchPendingTransactions.test-d.ts
method onTransactions (line 14) | onTransactions() {}
type Result (line 27) | type Result = UseWatchPendingTransactionsParameters<
method onTransactions (line 35) | onTransactions() {}
type Result2 (line 38) | type Result2 = UseWatchPendingTransactionsParameters<
method onTransactions (line 47) | onTransactions() {}
type Result3 (line 50) | type Result3 = UseWatchPendingTransactionsParameters<
method onTransactions (line 59) | onTransactions() {}
method onTransactions (line 65) | onTransactions() {}
FILE: packages/react/src/hooks/useWatchPendingTransactions.test.ts
method onTransactions (line 24) | onTransactions(next) {
FILE: packages/react/src/hooks/useWatchPendingTransactions.ts
type UseWatchPendingTransactionsParameters (line 18) | type UseWatchPendingTransactionsParameters<
type UseWatchPendingTransactionsReturnType (line 28) | type UseWatchPendingTransactionsReturnType = void
function useWatchPendingTransactions (line 31) | function useWatchPendingTransactions<
FILE: packages/react/src/hooks/useWriteContract.test-d.ts
method onMutate (line 15) | onMutate(variables) {
method onError (line 24) | onError(error, variables, context) {
method onSuccess (line 35) | onSuccess(data, variables, context) {
method onSettled (line 46) | onSettled(data, error, variables, context) {
method onError (line 81) | onError(error, variables, context) {
method onSuccess (line 92) | onSuccess(data, variables, context) {
method onSettled (line 107) | onSettled(data, error, variables, context) {
FILE: packages/react/src/hooks/useWriteContract.ts
type UseWriteContractParameters (line 21) | type UseWriteContractParameters<
type UseWriteContractReturnType (line 26) | type UseWriteContractReturnType<
function useWriteContract (line 50) | function useWriteContract<
FILE: packages/react/src/hooks/useWriteContractSync.test-d.ts
method onMutate (line 13) | onMutate(variables) {
method onError (line 22) | onError(error, _variables, context) {
method onSuccess (line 26) | onSuccess(data, _variables, context) {
method onSettled (line 30) | onSettled(data, error, _variables, context) {
FILE: packages/react/src/hooks/useWriteContractSync.ts
type UseWriteContractSyncParameters (line 21) | type UseWriteContractSyncParameters<
type UseWriteContractSyncReturnType (line 26) | type UseWriteContractSyncReturnType<
function useWriteContractSync (line 50) | function useWriteContractSync<
FILE: packages/react/src/hydrate.ts
type HydrateProps (line 6) | type HydrateProps = {
function Hydrate (line 12) | function Hydrate(parameters: React.PropsWithChildren<HydrateProps>) {
FILE: packages/react/src/tempo/Connectors.test.ts
function setupWebAuthn (line 7) | async function setupWebAuthn() {
FILE: packages/react/src/tempo/hooks/amm.test.ts
method onRebalanceSwap (line 390) | onRebalanceSwap(args) {
method onMint (line 455) | onMint(args) {
method onBurn (line 550) | onBurn(args) {
FILE: packages/react/src/tempo/hooks/amm.ts
function usePool (line 46) | function usePool<
type Parameters (line 62) | type Parameters<
type ReturnValue (line 74) | type ReturnValue<selectData = Actions.amm.getPool.ReturnValue> =
function useLiquidityBalance (line 104) | function useLiquidityBalance<
type Parameters (line 120) | type Parameters<
type ReturnValue (line 132) | type ReturnValue<
function useRebalanceSwap (line 168) | function useRebalanceSwap<
type Parameters (line 186) | type Parameters<
type ReturnType (line 200) | type ReturnType<
function useRebalanceSwapSync (line 245) | function useRebalanceSwapSync<
type Parameters (line 263) | type Parameters<
type ReturnType (line 277) | type ReturnType<
function useMint (line 319) | function useMint<
type Parameters (line 337) | type Parameters<
type ReturnType (line 351) | type ReturnType<
function useMintSync (line 396) | function useMintSync<
type Parameters (line 414) | type Parameters<
type ReturnType (line 428) | type ReturnType<
function useBurn (line 470) | function useBurn<
type Parameters (line 488) | type Parameters<
type ReturnType (line 502) | type ReturnType<
function useBurnSync (line 547) | function useBurnSync<
type Parameters (line 565) | type Parameters<
type ReturnType (line 579) | type ReturnType<
function useWatchRebalanceSwap (line 610) | function useWatchRebalanceSwap<
type Parameters (line 643) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchMint (line 669) | function useWatchMint<
type Parameters (line 703) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchBurn (line 729) | function useWatchBurn<
type Parameters (line 762) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/dex.test.ts
method onFlipOrderPlaced (line 757) | onFlipOrderPlaced(args) {
method onOrderCancelled (line 797) | onOrderCancelled(args) {
method onOrderCancelled (line 836) | onOrderCancelled(args) {
method onOrderFilled (line 875) | onOrderFilled(args) {
method onOrderFilled (line 920) | onOrderFilled(args) {
method onOrderPlaced (line 952) | onOrderPlaced(args) {
method onOrderPlaced (line 991) | onOrderPlaced(args) {
FILE: packages/react/src/tempo/hooks/dex.ts
function useBuy (line 49) | function useBuy<
type Parameters (line 67) | type Parameters<
type ReturnType (line 81) | type ReturnType<
function useBuySync (line 124) | function useBuySync<
type Parameters (line 142) | type Parameters<
type ReturnType (line 156) | type ReturnType<
function useCancel (line 191) | function useCancel<
type Parameters (line 209) | type Parameters<
type ReturnType (line 223) | type ReturnType<
function useCancelSync (line 261) | function useCancelSync<
type Parameters (line 279) | type Parameters<
type ReturnType (line 293) | type ReturnType<
function useCancelStale (line 331) | function useCancelStale<
type Parameters (line 349) | type Parameters<
type ReturnType (line 363) | type ReturnType<
function useCancelStaleSync (line 401) | function useCancelStaleSync<
type Parameters (line 419) | type Parameters<
type ReturnType (line 433) | type ReturnType<
function useCreatePair (line 468) | function useCreatePair<
type Parameters (line 486) | type Parameters<
type ReturnType (line 500) | type ReturnType<
function useCreatePairSync (line 538) | function useCreatePairSync<
type Parameters (line 556) | type Parameters<
type ReturnType (line 570) | type ReturnType<
function useBalance (line 602) | function useBalance<
type Parameters (line 618) | type Parameters<
type ReturnValue (line 630) | type ReturnValue<selectData = Actions.dex.getBalance.ReturnValue> =
function useBuyQuote (line 656) | function useBuyQuote<
type Parameters (line 672) | type Parameters<
type ReturnValue (line 684) | type ReturnValue<selectData = Actions.dex.getBuyQuote.ReturnValue> =
function useOrder (line 708) | function useOrder<
type Parameters (line 724) | type Parameters<
type ReturnValue (line 736) | type ReturnValue<selectData = Actions.dex.getOrder.ReturnValue> =
function useOrderbook (line 761) | function useOrderbook<
type Parameters (line 777) | type Parameters<
type ReturnValue (line 789) | type ReturnValue<selectData = Actions.dex.getOrderbook.ReturnValue> =
function useTickLevel (line 816) | function useTickLevel<
type Parameters (line 832) | type Parameters<
type ReturnValue (line 844) | type ReturnValue<selectData = Actions.dex.getTickLevel.ReturnValue> =
function useSellQuote (line 870) | function useSellQuote<
type Parameters (line 886) | type Parameters<
type ReturnValue (line 898) | type ReturnValue<selectData = Actions.dex.getSellQuote.ReturnValue> =
function usePlace (line 931) | function usePlace<
type Parameters (line 949) | type Parameters<
type ReturnType (line 963) | type ReturnType<
function usePlaceFlip (line 1004) | function usePlaceFlip<
type Parameters (line 1022) | type Parameters<
type ReturnType (line 1036) | type ReturnType<
function usePlaceFlipSync (line 1080) | function usePlaceFlipSync<
type Parameters (line 1098) | type Parameters<
type ReturnType (line 1112) | type ReturnType<
function usePlaceSync (line 1155) | function usePlaceSync<
type Parameters (line 1173) | type Parameters<
type ReturnType (line 1187) | type ReturnType<
function useSell (line 1227) | function useSell<
type Parameters (line 1245) | type Parameters<
type ReturnType (line 1259) | type ReturnType<
function useSellSync (line 1302) | function useSellSync<
type Parameters (line 1320) | type Parameters<
type ReturnType (line 1334) | type ReturnType<
function useWithdraw (line 1372) | function useWithdraw<
type Parameters (line 1390) | type Parameters<
type ReturnType (line 1404) | type ReturnType<
function useWithdrawSync (line 1445) | function useWithdrawSync<
type Parameters (line 1463) | type Parameters<
type ReturnType (line 1477) | type ReturnType<
function useWatchFlipOrderPlaced (line 1508) | function useWatchFlipOrderPlaced<
type Parameters (line 1541) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchOrderCancelled (line 1567) | function useWatchOrderCancelled<
type Parameters (line 1599) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchOrderFilled (line 1625) | function useWatchOrderFilled<
type Parameters (line 1659) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchOrderPlaced (line 1685) | function useWatchOrderPlaced<
type Parameters (line 1718) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/faucet.ts
function useFund (line 33) | function useFund<
type Parameters (line 51) | type Parameters<
type ReturnType (line 65) | type ReturnType<
function useFundSync (line 101) | function useFundSync<
type Parameters (line 119) | type Parameters<
type ReturnType (line 133) | type ReturnType<
FILE: packages/react/src/tempo/hooks/fee.ts
function useUserToken (line 40) | function useUserToken<
type Parameters (line 56) | type Parameters<
type ReturnValue (line 68) | type ReturnValue<selectData = Actions.fee.getUserToken.ReturnValue> =
function useSetUserToken (line 96) | function useSetUserToken<
type Parameters (line 114) | type Parameters<
type ReturnType (line 128) | type ReturnType<
function useSetUserTokenSync (line 166) | function useSetUserTokenSync<
type Parameters (line 184) | type Parameters<
type ReturnType (line 198) | type ReturnType<
function useWatchSetUserToken (line 229) | function useWatchSetUserToken<
type Parameters (line 260) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/nonce.test.ts
method onNonceIncremented (line 108) | onNonceIncremented(args) {
FILE: packages/react/src/tempo/hooks/nonce.ts
function useNonce (line 35) | function useNonce<
type Parameters (line 51) | type Parameters<
type ReturnValue (line 63) | type ReturnValue<selectData = Actions.nonce.getNonce.ReturnValue> =
function useWatchNonceIncremented (line 89) | function useWatchNonceIncremented<
type Parameters (line 120) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/policy.test.ts
method onPolicyCreated (line 504) | onPolicyCreated(args) {
method onAdminUpdated (line 544) | onAdminUpdated(args) {
method onWhitelistUpdated (line 585) | onWhitelistUpdated(args) {
method onBlacklistUpdated (line 636) | onBlacklistUpdated(args) {
FILE: packages/react/src/tempo/hooks/policy.ts
function useCreate (line 44) | function useCreate<
type Parameters (line 62) | type Parameters<
type ReturnType (line 76) | type ReturnType<
function useCreateSync (line 114) | function useCreateSync<
type Parameters (line 132) | type Parameters<
type ReturnType (line 146) | type ReturnType<
function useSetAdmin (line 181) | function useSetAdmin<
type Parameters (line 199) | type Parameters<
type ReturnType (line 213) | type ReturnType<
function useSetAdminSync (line 251) | function useSetAdminSync<
type Parameters (line 269) | type Parameters<
type ReturnType (line 283) | type ReturnType<
function useModifyWhitelist (line 318) | function useModifyWhitelist<
type Parameters (line 336) | type Parameters<
type ReturnType (line 350) | type ReturnType<
function useModifyWhitelistSync (line 388) | function useModifyWhitelistSync<
type Parameters (line 406) | type Parameters<
type ReturnType (line 420) | type ReturnType<
function useModifyBlacklist (line 455) | function useModifyBlacklist<
type Parameters (line 473) | type Parameters<
type ReturnType (line 487) | type ReturnType<
function useModifyBlacklistSync (line 525) | function useModifyBlacklistSync<
type Parameters (line 543) | type Parameters<
type ReturnType (line 557) | type ReturnType<
function useData (line 588) | function useData<
type Parameters (line 604) | type Parameters<
type ReturnValue (line 616) | type ReturnValue<selectData = Actions.policy.getData.ReturnValue> =
function useIsAuthorized (line 641) | function useIsAuthorized<
type Parameters (line 657) | type Parameters<
type ReturnValue (line 669) | type ReturnValue<
function useWatchCreate (line 694) | function useWatchCreate<
type Parameters (line 725) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchAdminUpdated (line 751) | function useWatchAdminUpdated<
type Parameters (line 782) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchWhitelistUpdated (line 808) | function useWatchWhitelistUpdated<
type Parameters (line 839) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchBlacklistUpdated (line 865) | function useWatchBlacklistUpdated<
type Parameters (line 896) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/reward.test.ts
method onRewardDistributed (line 195) | onRewardDistributed(args) {
method onRewardRecipientSet (line 233) | onRewardRecipientSet(args) {
FILE: packages/react/src/tempo/hooks/reward.ts
function useClaim (line 43) | function useClaim<
type Parameters (line 61) | type Parameters<
type ReturnType (line 75) | type ReturnType<
function useClaimSync (line 109) | function useClaimSync<
type Parameters (line 127) | type Parameters<
type ReturnType (line 141) | type ReturnType<
function useGetGlobalRewardPerToken (line 172) | function useGetGlobalRewardPerToken<
type Parameters (line 188) | type Parameters<
type ReturnValue (line 200) | type ReturnValue<
function useUserRewardInfo (line 232) | function useUserRewardInfo<
type Parameters (line 248) | type Parameters<
type ReturnValue (line 260) | type ReturnValue<
function useSetRecipient (line 289) | function useSetRecipient<
type Parameters (line 307) | type Parameters<
type ReturnType (line 321) | type ReturnType<
function useSetRecipientSync (line 356) | function useSetRecipientSync<
type Parameters (line 374) | type Parameters<
type ReturnType (line 388) | type ReturnType<
function useDistribute (line 424) | function useDistribute<
type Parameters (line 442) | type Parameters<
type ReturnType (line 456) | type ReturnType<
function useDistributeSync (line 492) | function useDistributeSync<
type Parameters (line 510) | type Parameters<
type ReturnType (line 524) | type ReturnType<
function useWatchRewardDistributed (line 556) | function useWatchRewardDistributed<
type Parameters (line 590) | type Parameters<config extends Config = Config> = UnionCompute<
function useWatchRewardRecipientSet (line 617) | function useWatchRewardRecipientSet<
type Parameters (line 651) | type Parameters<config extends Config = Config> = UnionCompute<
FILE: packages/react/src/tempo/hooks/token.test.ts
method onRoleAdminUpdated (line 847) | onRoleAdminUpdated(args) {
method onApproval (line 881) | onApproval(args) {
method onBurn (line 942) | onBurn(args) {
method onTokenCreated (line 976) | onTokenCreated(args) {
method onMint (line 1031) | onMint(args) {
method onRoleUpdated (line 1076) | onRoleUpdated(args) {
method onTransfer (line 1112) | onTransfer(args) {
method onUpdateQuoteToken (line 1167) | onUpdateQuoteToken(args) {
FILE: packages/react/src/tempo/hooks/token.ts
function useApprove (line 44) | function useApprove<
type Parameters (line 62) | type Parameters<
type ReturnType (line 76) | type ReturnType<
function useApproveSync (line 114) | function useApproveSync<
type Parameters (line 132) | type Parameters<
type ReturnType (line 146) | type ReturnType<
function useBurn (line 181) | function useBurn<
type Parameters (line 199) | type Parameters<
type ReturnType (line 213) | type ReturnType<
function useBurnSync (line 251) | function useBurnSync<
type Parameters (line 269) | type Parameters<
type ReturnType (line 283) | type ReturnType<
function useBurnBlocked (line 318) | function useBurnBlocked<
type Parameters (line 336) | type Parameters<
type ReturnType (line 350) | type ReturnType<
function useBurnBlockedSync (line 388) | function useBurnBlockedSync<
type Parameters (line 406) | type Parameters<
type ReturnType (line 420) | type ReturnType<
function useChangeTransferPolicy (line 455) | function useChangeTransferPolicy<
type Parameters (line 473) | type Parameters<
type ReturnType (line 487) | type ReturnType<
function useChangeTransferPolicySync (line 525) | function useChangeTransferPolicySync<
type Parameters (line 543) | type Parameters<
type ReturnType (line 557) | type ReturnType<
function useCreate (line 592) | function useCreate<
type Parameters (line 610) | type Parameters<
type ReturnType (line 624) | type ReturnType<
function useCreateSync (line 662) | function useCreateSync<
type Parameters (line 680) | type Parameters<
type ReturnType (line 694) | type ReturnType<
function useUpdateQuoteToken (line 729) | function useUpdateQuoteToken<
type Parameters (line 747) | type Parameters<
type ReturnType (line 761) | type ReturnType<
function useUpdateQuoteTokenSync (line 799) | function useUpdateQuoteTokenSync<
type Parameters (line 817) | type Parameters<
type ReturnType (line 831) | type ReturnType<
function useGetAllowance (line 863) | function useGetAllowance<
type Parameters (line 879) | type Parameters<
type ReturnValue (line 891) | type ReturnValue<selectData = Actions.token.getAllowance.ReturnValue> =
function useGetBalance (line 915) | function useGetBalance<
type Parameters (line 931) | type Parameters<
type ReturnValue (line 943) | type ReturnValue<selectData = Actions.token.getBalance.ReturnValue> =
function useGetMetadata (line 967) | function useGetMetadata<
type Parameters (line 983) | type Parameters<
type ReturnValue (line 995) | type ReturnValue<selectData = Actions.token.getMetadata.ReturnValue> =
function useGetRoleAdmin (line 1020) | function useGetRoleAdmin<
type Parameters (line 1036) | type P
Condensed preview — 1808 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (7,039K chars).
[
{
"path": ".agents/README.md",
"chars": 4,
"preview": "@_@\n"
},
{
"path": ".agents/skills/wagmi-development/SKILL.md",
"chars": 15392,
"preview": "---\nname: wagmi-development\ndescription: Creates Wagmi features across all layers - core actions, query options, framewo"
},
{
"path": ".changeset/README.md",
"chars": 510,
"preview": "# Changesets\n\nHello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that wo"
},
{
"path": ".changeset/brave-hens-rare.md",
"chars": 224,
"preview": "---\n\"wagmi\": minor\n\"@wagmi/vue\": patch\n\"@wagmi/solid\": patch\n---\n\nUpdate MetaMask connector from `@metamask/sdk` to the "
},
{
"path": ".changeset/config.json",
"chars": 427,
"preview": "{\n \"$schema\": \"https://unpkg.com/@changesets/config@3.0.5/schema.json\",\n \"changelog\": [\n \"@svitejs/changesets-chang"
},
{
"path": ".changeset/fix-tempo-webauthn-chain-id.md",
"chars": 97,
"preview": "---\n\"@wagmi/core\": patch\n---\n\nFixed chainId not being passed to Tempo webAuthn key authorization\n"
},
{
"path": ".changeset/upset-trains-lick.md",
"chars": 2229,
"preview": "---\n\"@wagmi/connectors\": major\n---\n\nMigrated MetaMask connector from `@metamask/sdk` to the new `@metamask/connect-evm` "
},
{
"path": ".github/CODEOWNERS",
"chars": 297,
"preview": "@tmm @jxom\n\n/packages/connectors/src/gemini @mikelxc\n/packages/connectors/src/metaMask @wenfix @ffmcgee725 @jiexi @adone"
},
{
"path": ".github/CONTRIBUTING.md",
"chars": 72,
"preview": "[View Contributing Guide on wagmi.sh](https://wagmi.sh/dev/contributing)"
},
{
"path": ".github/DISCUSSION_TEMPLATE/connector-request.yml",
"chars": 3464,
"preview": "title: '[Connector Request] '\nbody:\n - type: markdown\n attributes:\n value: |\n Thanks for your interest i"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yml",
"chars": 3298,
"preview": "name: Bug Report\ndescription: Report bugs or issues.\nbody:\n - type: markdown\n attributes:\n value: |\n Tha"
},
{
"path": ".github/ISSUE_TEMPLATE/config.yml",
"chars": 528,
"preview": "blank_issues_enabled: false\ncontact_links:\n - name: Get Help\n url: https://github.com/wevm/wagmi/discussions/new?cat"
},
{
"path": ".github/ISSUE_TEMPLATE/docs_issue.yml",
"chars": 966,
"preview": "name: Documentation Issue\ndescription: Tell us about missing or incorrect documentation.\nlabels: ['Area: Docs']\nbody:\n "
},
{
"path": ".github/README.md",
"chars": 10246,
"preview": "<!-- > [!IMPORTANT] -->\n<!-- > Wagmi is participating in Gitcoin Grants round 21. Consider <a href=\"https://explorer.git"
},
{
"path": ".github/SECURITY.md",
"chars": 95,
"preview": "# Security Policy\n\n## Reporting a Vulnerability\n\nContact [dev@wevm.dev](mailto:dev@wevm.dev).\n\n"
},
{
"path": ".github/dependabot.yml",
"chars": 119,
"preview": "version: 2\nupdates:\n - package-ecosystem: 'github-actions'\n directory: '/'\n schedule:\n interval: 'monthly'\n"
},
{
"path": ".github/pull_request_template.md",
"chars": 807,
"preview": "<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What othe"
},
{
"path": ".github/workflows/changesets.yml",
"chars": 2014,
"preview": "name: Changesets\non:\n push:\n branches: [main]\npermissions:\n contents: read\n\nconcurrency:\n group: ${{ github.workfl"
},
{
"path": ".github/workflows/issue-labeled.yml",
"chars": 947,
"preview": "name: Issue Labeled\npermissions:\n issues: write\n\non:\n issues:\n types: [labeled]\n\njobs:\n issue-labeled:\n if: ${{"
},
{
"path": ".github/workflows/lock-issue.yml",
"chars": 713,
"preview": "name: Lock Issue\npermissions:\n issues: write\n\non:\n schedule:\n - cron: '0 0 * * *'\n\njobs:\n lock-issue:\n if: ${{ "
},
{
"path": ".github/workflows/pull-request.yml",
"chars": 1727,
"preview": "name: Pull Request\non:\n pull_request:\n types: [opened, reopened, synchronize, ready_for_review]\npermissions:\n conte"
},
{
"path": ".github/workflows/scorecard.yml",
"chars": 1814,
"preview": "name: Scorecard\non:\n # For Branch-Protection check. Only the default branch is supported. See\n # https://github.com/os"
},
{
"path": ".github/workflows/verify.yml",
"chars": 4666,
"preview": "name: Verify\non:\n workflow_call:\n workflow_dispatch:\npermissions:\n contents: read\n\njobs:\n check:\n name: Check\n "
},
{
"path": ".gitignore",
"chars": 907,
"preview": "*.vitest-temp.json\n.DS_Store\n.attest\n.next\n.nuxt\n.pnpm-debug.log*\n.tanstack\n.wrangler\n_\ncache\ncoverage\ndist\nnode_modules"
},
{
"path": ".vscode/extensions.json",
"chars": 104,
"preview": "{\n \"recommendations\": [\n \"biomejs.biome\",\n \"orta.vscode-twoslash-queries\",\n \"Vue.volar\"\n ]\n}\n"
},
{
"path": ".vscode/settings.json",
"chars": 505,
"preview": "{\n \"editor.defaultFormatter\": \"biomejs.biome\",\n \"editor.formatOnSave\": true,\n \"typescript.enablePromptUseWorkspaceTsd"
},
{
"path": ".vscode/workspace.code-workspace",
"chars": 221,
"preview": "{\n \"folders\": [\n {\n \"name\": \"docs\",\n \"path\": \"../docs\"\n },\n {\n \"name\": \"packages\",\n \"path\""
},
{
"path": "FUNDING.json",
"chars": 213,
"preview": "{\n \"drips\": {\n \"ethereum\": {\n \"ownedBy\": \"0xd2135CfB216b74109775236E36d4b433F1DF507B\"\n }\n },\n \"opRetro\": {"
},
{
"path": "LICENSE",
"chars": 1074,
"preview": "MIT License\n\nCopyright (c) 2022-present weth, LLC\n\nPermission is hereby granted, free of charge, to any person obtaining"
},
{
"path": "biome.json",
"chars": 3067,
"preview": "{\n \"$schema\": \"./node_modules/@biomejs/biome/configuration_schema.json\",\n \"files\": {\n \"includes\": [\n \"**\",\n "
},
{
"path": "package.json",
"chars": 5687,
"preview": "{\n \"name\": \"workspace\",\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"build\": \"pnpm run --filter @wagmi/co"
},
{
"path": "packages/cli/CHANGELOG.md",
"chars": 22186,
"preview": "# @wagmi/cli\n\n## 2.10.0\n\n### Minor Changes\n\n- **Breaking:** Removed `routescan` plugin (former sponsor). If you still ne"
},
{
"path": "packages/cli/README.md",
"chars": 193,
"preview": "# @wagmi/cli\n\nManage and generate code from Ethereum ABIs\n\n## Installation\n\n```bash\npnpm add @wagmi/cli\n```\n\n## Document"
},
{
"path": "packages/cli/package.json",
"chars": 2675,
"preview": "{\n \"name\": \"@wagmi/cli\",\n \"description\": \"Manage and generate code from Ethereum ABIs\",\n \"version\": \"2.10.0\",\n \"lice"
},
{
"path": "packages/cli/src/cli.ts",
"chars": 1562,
"preview": "#!/usr/bin/env node\nimport { cac } from 'cac'\n\nimport { type Generate, generate } from './commands/generate.js'\nimport {"
},
{
"path": "packages/cli/src/commands/generate.test.ts",
"chars": 10951,
"preview": "import { readFile } from 'node:fs/promises'\nimport dedent from 'dedent'\nimport { resolve } from 'pathe'\nimport { afterEa"
},
{
"path": "packages/cli/src/commands/generate.ts",
"chars": 12794,
"preview": "import { mkdir, writeFile } from 'node:fs/promises'\nimport { Abi as AbiSchema } from 'abitype/zod'\nimport { camelCase } "
},
{
"path": "packages/cli/src/commands/init.test.ts",
"chars": 4703,
"preview": "import { existsSync } from 'node:fs'\nimport { mkdir, readFile } from 'node:fs/promises'\nimport { resolve } from 'pathe'\n"
},
{
"path": "packages/cli/src/commands/init.ts",
"chars": 2586,
"preview": "import { writeFile } from 'node:fs/promises'\nimport dedent from 'dedent'\nimport { relative, resolve } from 'pathe'\nimpor"
},
{
"path": "packages/cli/src/config.test.ts",
"chars": 838,
"preview": "import { expect, test, vi } from 'vitest'\n\nimport { type Config, defineConfig } from './config.js'\n\ntest('object', () =>"
},
{
"path": "packages/cli/src/config.ts",
"chars": 3214,
"preview": "import type { Abi, Address } from 'viem'\n\nimport type { Compute, MaybeArray, MaybePromise } from './types.js'\n\nexport ty"
},
{
"path": "packages/cli/src/errors.ts",
"chars": 1447,
"preview": "import type * as z from 'zod'\n\nclass ValidationError extends Error {\n details: z.core.$ZodIssue[]\n\n constructor(\n m"
},
{
"path": "packages/cli/src/exports/config.test.ts",
"chars": 223,
"preview": "import { expect, test } from 'vitest'\n\nimport * as Exports from './config.js'\n\ntest('exports', () => {\n expect(Object.k"
},
{
"path": "packages/cli/src/exports/config.ts",
"chars": 213,
"preview": "// biome-ignore lint/performance/noBarrelFile: entrypoint module\nexport {\n type Config,\n type Contract,\n type Contrac"
},
{
"path": "packages/cli/src/exports/index.test-d.ts",
"chars": 167,
"preview": "import { expectTypeOf } from 'vitest'\n\n// noop test because vitest typecheck fails unless each workspace project has typ"
},
{
"path": "packages/cli/src/exports/index.test.ts",
"chars": 249,
"preview": "import { expect, test } from 'vitest'\n\nimport * as Exports from './index.js'\n\ntest('exports', () => {\n expect(Object.ke"
},
{
"path": "packages/cli/src/exports/index.ts",
"chars": 359,
"preview": "// biome-ignore lint/performance/noBarrelFile: entrypoint module\nexport {\n type Config,\n type ContractConfig,\n define"
},
{
"path": "packages/cli/src/exports/plugins.test.ts",
"chars": 384,
"preview": "import { expect, test } from 'vitest'\n\nimport * as Exports from './plugins.js'\n\ntest('exports', () => {\n expect(Object."
},
{
"path": "packages/cli/src/exports/plugins.ts",
"chars": 698,
"preview": "// biome-ignore lint/performance/noBarrelFile: entrypoint module\nexport { type ActionsConfig, actions } from '../plugins"
},
{
"path": "packages/cli/src/logger.test.ts",
"chars": 744,
"preview": "import { afterEach, expect, test, vi } from 'vitest'\n\nimport { watchConsole } from '../test/utils.js'\n\nimport * as logge"
},
{
"path": "packages/cli/src/logger.ts",
"chars": 878,
"preview": "import { format as utilFormat } from 'node:util'\nimport { createSpinner } from 'nanospinner'\nimport pc from 'picocolors'"
},
{
"path": "packages/cli/src/plugins/__fixtures__/foundry/.gitignore",
"chars": 142,
"preview": "# Compiler files\ncache/\nout/\n\n# Ignores development broadcast logs\n!/broadcast\n/broadcast/*/31337/\n/broadcast/**/dry-run"
},
{
"path": "packages/cli/src/plugins/__fixtures__/foundry/foundry.toml",
"chars": 186,
"preview": "[profile.default]\nlibs = ['lib']\nout = 'out'\nsolc = '0.8.13'\nsrc = 'src'\n\n# See more config options https://github.com/f"
},
{
"path": "packages/cli/src/plugins/__fixtures__/foundry/src/Counter.sol",
"chars": 240,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.13;\n\ncontract Counter {\n uint256 public number;\n\n function"
},
{
"path": "packages/cli/src/plugins/__fixtures__/foundry/src/Foo.sol",
"chars": 170,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.13;\n\ncontract Foo {\n string public bar;\n\n function setFoo("
},
{
"path": "packages/cli/src/plugins/__fixtures__/hardhat/.gitignore",
"chars": 99,
"preview": "node_modules\n.env\ncoverage\ncoverage.json\ntypechain\ntypechain-types\n\n# Hardhat files\ncache\nartifacts"
},
{
"path": "packages/cli/src/plugins/__fixtures__/hardhat/contracts/Counter.sol",
"chars": 240,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.13;\n\ncontract Counter {\n uint256 public number;\n\n function"
},
{
"path": "packages/cli/src/plugins/__fixtures__/hardhat/contracts/Foo.sol",
"chars": 169,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.13;\n\ncontract Foo {\n string public bar;\n\n function setFoo("
},
{
"path": "packages/cli/src/plugins/__fixtures__/hardhat/hardhat.config.js",
"chars": 102,
"preview": "import { defineConfig } from 'hardhat/config'\n\nexport default defineConfig({\n solidity: '0.8.17',\n})\n"
},
{
"path": "packages/cli/src/plugins/__fixtures__/hardhat/package.json",
"chars": 123,
"preview": "{\n \"name\": \"hardhat-fixture\",\n \"private\": true,\n \"type\": \"module\",\n \"devDependencies\": {\n \"hardhat\": \"^3.0.0\"\n }"
},
{
"path": "packages/cli/src/plugins/__snapshots__/blockExplorer.test.ts.snap",
"chars": 16677,
"preview": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`fetches ABI 1`] = `\n[\n {\n \"abi\": [\n {\n "
},
{
"path": "packages/cli/src/plugins/__snapshots__/etherscan.test.ts.snap",
"chars": 27819,
"preview": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`fetches ABI 1`] = `\n[\n {\n \"abi\": [\n {\n "
},
{
"path": "packages/cli/src/plugins/__snapshots__/fetch.test.ts.snap",
"chars": 8317,
"preview": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`fetches ABI 1`] = `\n[\n {\n \"abi\": [\n {\n "
},
{
"path": "packages/cli/src/plugins/__snapshots__/routescan.test.ts.snap",
"chars": 27819,
"preview": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`fetches ABI 1`] = `\n[\n {\n \"abi\": [\n {\n "
},
{
"path": "packages/cli/src/plugins/__snapshots__/sourcify.test.ts.snap",
"chars": 4420,
"preview": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`fetches ABI 1`] = `\n[\n {\n \"abi\": [\n {\n "
},
{
"path": "packages/cli/src/plugins/actions.test.ts",
"chars": 15960,
"preview": "import { erc20Abi } from 'viem'\nimport { expect, test } from 'vitest'\n\nimport { actions } from './actions.js'\n\ntest('def"
},
{
"path": "packages/cli/src/plugins/actions.ts",
"chars": 10085,
"preview": "import { pascalCase } from 'change-case'\n\nimport type { Contract, Plugin } from '../config.js'\nimport type { Compute, Re"
},
{
"path": "packages/cli/src/plugins/blockExplorer.test.ts",
"chars": 1328,
"preview": "import { setupServer } from 'msw/node'\nimport { afterAll, afterEach, beforeAll, expect, test } from 'vitest'\n\nimport {\n "
},
{
"path": "packages/cli/src/plugins/blockExplorer.ts",
"chars": 2889,
"preview": "import { camelCase } from 'change-case'\nimport type { Address } from 'viem'\nimport { z } from 'zod'\n\nimport type { Contr"
},
{
"path": "packages/cli/src/plugins/etherscan.test.ts",
"chars": 2973,
"preview": "import { mkdir, rm } from 'node:fs/promises'\nimport { setupServer } from 'msw/node'\nimport { afterAll, afterEach, before"
},
{
"path": "packages/cli/src/plugins/etherscan.ts",
"chars": 7971,
"preview": "import { mkdir, writeFile } from 'node:fs/promises'\nimport { Address as AddressSchema } from 'abitype/zod'\nimport { came"
},
{
"path": "packages/cli/src/plugins/fetch.test.ts",
"chars": 4469,
"preview": "import { mkdir, rm, writeFile } from 'node:fs/promises'\nimport { homedir } from 'node:os'\nimport { setupServer } from 'm"
},
{
"path": "packages/cli/src/plugins/fetch.ts",
"chars": 3732,
"preview": "import { mkdir, readFile, writeFile } from 'node:fs/promises'\nimport { homedir } from 'node:os'\nimport { join } from 'pa"
},
{
"path": "packages/cli/src/plugins/foundry.test.ts",
"chars": 10323,
"preview": "import fs from 'node:fs/promises'\nimport fixtures from 'fixturez'\nimport { dirname, resolve } from 'pathe'\nimport { afte"
},
{
"path": "packages/cli/src/plugins/foundry.ts",
"chars": 10381,
"preview": "import { execSync, spawn, spawnSync } from 'node:child_process'\nimport { existsSync } from 'node:fs'\nimport { readFile }"
},
{
"path": "packages/cli/src/plugins/hardhat.test.ts",
"chars": 2171,
"preview": "import fixtures from 'fixturez'\nimport { dirname, resolve } from 'pathe'\nimport { afterEach, expect, test, vi } from 'vi"
},
{
"path": "packages/cli/src/plugins/hardhat.ts",
"chars": 7712,
"preview": "import { execSync, spawn } from 'node:child_process'\nimport { existsSync } from 'node:fs'\nimport { readFile } from 'node"
},
{
"path": "packages/cli/src/plugins/react.test.ts",
"chars": 17207,
"preview": "import { erc20Abi } from 'viem'\nimport { expect, test } from 'vitest'\n\nimport { react } from './react.js'\n\ntest('default"
},
{
"path": "packages/cli/src/plugins/react.ts",
"chars": 10352,
"preview": "import { pascalCase } from 'change-case'\n\nimport type { Contract, Plugin } from '../config.js'\nimport type { Compute, Re"
},
{
"path": "packages/cli/src/plugins/sourcify.test.ts",
"chars": 2428,
"preview": "import { HttpResponse, http } from 'msw'\nimport { setupServer } from 'msw/node'\nimport { afterAll, afterEach, beforeAll,"
},
{
"path": "packages/cli/src/plugins/sourcify.ts",
"chars": 9564,
"preview": "import { Abi as AbiSchema } from 'abitype/zod'\nimport type { Address } from 'viem'\nimport { z } from 'zod'\n\nimport type "
},
{
"path": "packages/cli/src/types.ts",
"chars": 272,
"preview": "export type Compute<type> = { [key in keyof type]: type[key] } & unknown\n\nexport type MaybeArray<T> = T | T[]\n\nexport ty"
},
{
"path": "packages/cli/src/utils/findConfig.test.ts",
"chars": 1120,
"preview": "import { afterEach, expect, test, vi } from 'vitest'\n\nimport { createFixture } from '../../test/utils.js'\nimport { findC"
},
{
"path": "packages/cli/src/utils/findConfig.ts",
"chars": 946,
"preview": "import { existsSync } from 'node:fs'\nimport escalade from 'escalade'\nimport { resolve } from 'pathe'\n\n// Do not reorder\n"
},
{
"path": "packages/cli/src/utils/format.test.ts",
"chars": 245,
"preview": "import { expect, test } from 'vitest'\n\nimport { format } from './format.js'\n\ntest('formats code', async () => {\n await "
},
{
"path": "packages/cli/src/utils/format.ts",
"chars": 394,
"preview": "import prettier from 'prettier'\n\nexport async function format(content: string) {\n const config = await prettier.resolve"
},
{
"path": "packages/cli/src/utils/getAddressDocString.test.ts",
"chars": 1575,
"preview": "import { expect, test } from 'vitest'\n\nimport { getAddressDocString } from './getAddressDocString.js'\n\ntest('address', a"
},
{
"path": "packages/cli/src/utils/getAddressDocString.ts",
"chars": 1671,
"preview": "import { capitalCase } from 'change-case'\nimport dedent from 'dedent'\nimport * as allChains from 'viem/chains'\n\nimport t"
},
{
"path": "packages/cli/src/utils/getIsUsingTypeScript.test.ts",
"chars": 981,
"preview": "import { afterEach, expect, test, vi } from 'vitest'\n\nimport { createFixture } from '../../test/utils.js'\nimport { getIs"
},
{
"path": "packages/cli/src/utils/getIsUsingTypeScript.ts",
"chars": 798,
"preview": "import escalade from 'escalade'\n\nexport async function getIsUsingTypeScript() {\n try {\n const cwd = process.cwd()\n "
},
{
"path": "packages/cli/src/utils/loadEnv.test.ts",
"chars": 1617,
"preview": "import { afterEach, expect, test, vi } from 'vitest'\n\nimport { createFixture } from '../../test/utils.js'\nimport { loadE"
},
{
"path": "packages/cli/src/utils/loadEnv.ts",
"chars": 2347,
"preview": "import { existsSync, readFileSync, statSync } from 'node:fs'\nimport { dirname, join } from 'node:path'\nimport { parse } "
},
{
"path": "packages/cli/src/utils/packages.test.ts",
"chars": 539,
"preview": "import { expect, test } from 'vitest'\n\nimport { getIsPackageInstalled, getPackageManager } from './packages.js'\n\ntest('g"
},
{
"path": "packages/cli/src/utils/packages.ts",
"chars": 3292,
"preview": "import { execSync } from 'node:child_process'\nimport { promises as fs } from 'node:fs'\nimport { resolve } from 'node:pat"
},
{
"path": "packages/cli/src/utils/resolveConfig.test.ts",
"chars": 1976,
"preview": "import { expect, test } from 'vitest'\n\nimport { createFixture } from '../../test/utils.js'\nimport { defaultConfig } from"
},
{
"path": "packages/cli/src/utils/resolveConfig.ts",
"chars": 640,
"preview": "import { bundleRequire } from 'bundle-require'\n\nimport type { Config } from '../config.js'\nimport type { MaybeArray } fr"
},
{
"path": "packages/cli/src/version.ts",
"chars": 32,
"preview": "export const version = '2.10.0'\n"
},
{
"path": "packages/cli/test/constants.ts",
"chars": 1749,
"preview": "import { parseAbi } from 'viem'\n\nexport const wagmiAbi = parseAbi([\n 'constructor()',\n 'event Approval(address indexed"
},
{
"path": "packages/cli/test/setup.ts",
"chars": 1419,
"preview": "import { mkdir } from 'node:fs/promises'\nimport { homedir } from 'node:os'\nimport type { createSpinner as nanospinner_cr"
},
{
"path": "packages/cli/test/utils.ts",
"chars": 19040,
"preview": "import { spawnSync } from 'node:child_process'\nimport { cp, mkdir, symlink, writeFile } from 'node:fs/promises'\nimport f"
},
{
"path": "packages/cli/tsconfig.build.json",
"chars": 189,
"preview": "{\n \"extends\": \"../../tsconfig.base.json\",\n \"include\": [\"src/**/*.ts\"],\n \"exclude\": [\"src/**/*.test.ts\"],\n \"compilerO"
},
{
"path": "packages/cli/tsconfig.json",
"chars": 123,
"preview": "{\n \"extends\": \"./tsconfig.build.json\",\n \"include\": [\"src/**/*.ts\", \"test/**/*.ts\", \"types/**/*.d.ts\"],\n \"exclude\": []"
},
{
"path": "packages/cli/types/fixturez.d.ts",
"chars": 346,
"preview": "declare module 'fixturez' {\n interface FixturezOpts {\n glob?: string\n cleanup?: boolean\n root?: string\n }\n\n "
},
{
"path": "packages/connectors/CHANGELOG.md",
"chars": 75177,
"preview": "# @wagmi/connectors\n\n## 7.2.1\n\n### Patch Changes\n\n- Updated dependencies [[`8b96e2f`](https://github.com/wevm/wagmi/comm"
},
{
"path": "packages/connectors/README.md",
"chars": 215,
"preview": "# @wagmi/connectors\n\nCollection of connectors for Wagmi\n\n## Installation\n\n```bash\npnpm add @wagmi/connectors @wagmi/core"
},
{
"path": "packages/connectors/package.json",
"chars": 2654,
"preview": "{\n \"name\": \"@wagmi/connectors\",\n \"description\": \"Collection of connectors for Wagmi\",\n \"version\": \"7.2.1\",\n \"license"
},
{
"path": "packages/connectors/src/baseAccount.test.ts",
"chars": 321,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { baseAccount } from './baseAccount.j"
},
{
"path": "packages/connectors/src/baseAccount.ts",
"chars": 10647,
"preview": "import type { createBaseAccountSDK, ProviderInterface } from '@base-org/account'\nimport {\n ChainNotConfiguredError,\n t"
},
{
"path": "packages/connectors/src/coinbaseWallet.test.ts",
"chars": 547,
"preview": "import { config } from '@wagmi/test'\nimport { expect, expectTypeOf, test } from 'vitest'\n\nimport { coinbaseWallet } from"
},
{
"path": "packages/connectors/src/coinbaseWallet.ts",
"chars": 8286,
"preview": "import type {\n createCoinbaseWalletSDK,\n ProviderInterface,\n} from '@coinbase/wallet-sdk'\nimport {\n ChainNotConfigure"
},
{
"path": "packages/connectors/src/exports/index.test.ts",
"chars": 347,
"preview": "import { expect, test } from 'vitest'\n\nimport * as connectors from './index.js'\n\ntest('exports', () => {\n expect(Object"
},
{
"path": "packages/connectors/src/exports/index.ts",
"chars": 638,
"preview": "// biome-ignore lint/performance/noBarrelFile: entrypoint module\nexport {\n type InjectedParameters,\n injected,\n type "
},
{
"path": "packages/connectors/src/metaMask.test.ts",
"chars": 288,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { metaMask } from './metaMask.js'\n\nte"
},
{
"path": "packages/connectors/src/metaMask.ts",
"chars": 10738,
"preview": "import type {\n createEVMClient,\n EIP1193Provider,\n MetamaskConnectEVM,\n} from '@metamask/connect-evm'\nimport { ChainN"
},
{
"path": "packages/connectors/src/porto.test.ts",
"chars": 276,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { porto } from './porto.js'\n\ntest('se"
},
{
"path": "packages/connectors/src/porto.ts",
"chars": 16031,
"preview": "import {\n ChainNotConfiguredError,\n type Connector,\n createConnector,\n} from '@wagmi/core'\nimport type { ExactPartial"
},
{
"path": "packages/connectors/src/safe.test.ts",
"chars": 853,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { safe } from './safe.js'\n\n/*\n * To m"
},
{
"path": "packages/connectors/src/safe.ts",
"chars": 5611,
"preview": "import type { SafeAppProvider } from '@safe-global/safe-apps-provider'\nimport type { Opts } from '@safe-global/safe-apps"
},
{
"path": "packages/connectors/src/version.ts",
"chars": 31,
"preview": "export const version = '7.2.1'\n"
},
{
"path": "packages/connectors/src/walletConnect.test.ts",
"chars": 1551,
"preview": "import { config, walletConnectProjectId } from '@wagmi/test'\nimport { HttpResponse, http } from 'msw'\nimport { setupServ"
},
{
"path": "packages/connectors/src/walletConnect.ts",
"chars": 18210,
"preview": "import {\n ChainNotConfiguredError,\n type Connector,\n createConnector,\n extractRpcUrls,\n ProviderNotFoundError,\n} fr"
},
{
"path": "packages/connectors/tsconfig.build.json",
"chars": 181,
"preview": "{\n \"extends\": \"../../tsconfig.base.json\",\n \"include\": [\"src/**/*.ts\"],\n \"exclude\": [\"src/**/*.test.ts\", \"src/**/*.tes"
},
{
"path": "packages/connectors/tsconfig.json",
"chars": 88,
"preview": "{\n \"extends\": \"./tsconfig.build.json\",\n \"include\": [\"src/**/*.ts\"],\n \"exclude\": []\n}\n"
},
{
"path": "packages/core/CHANGELOG.md",
"chars": 154254,
"preview": "# @wagmi/core\n\n## 3.4.0\n\n### Minor Changes\n\n- Added `signTransaction` action ([#4995](https://github.com/wevm/wagmi/pull"
},
{
"path": "packages/core/README.md",
"chars": 187,
"preview": "# @wagmi/core\n\nVanillaJS library for Ethereum\n\n## Installation\n\n```bash\npnpm add @wagmi/core viem\n```\n\n## Documentation\n"
},
{
"path": "packages/core/package.json",
"chars": 3180,
"preview": "{\n \"name\": \"@wagmi/core\",\n \"description\": \"VanillaJS library for Ethereum\",\n \"version\": \"3.4.0\",\n \"license\": \"MIT\",\n"
},
{
"path": "packages/core/src/actions/call.test.ts",
"chars": 4468,
"preview": "import { accounts, address, config } from '@wagmi/test'\nimport { parseEther, parseGwei } from 'viem'\nimport { expect, te"
},
{
"path": "packages/core/src/actions/call.ts",
"chars": 874,
"preview": "import type {\n CallErrorType as viem_CallErrorType,\n CallParameters as viem_CallParameters,\n CallReturnType as viem_C"
},
{
"path": "packages/core/src/actions/codegen/createReadContract.test-d.ts",
"chars": 3002,
"preview": "import { abi, config, mainnet, optimism } from '@wagmi/test'\nimport { assertType, expectTypeOf, test } from 'vitest'\n\nim"
},
{
"path": "packages/core/src/actions/codegen/createReadContract.test.ts",
"chars": 1372,
"preview": "import { abi, address, chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { createReadCont"
},
{
"path": "packages/core/src/actions/codegen/createReadContract.ts",
"chars": 3088,
"preview": "import type {\n Abi,\n Address,\n ContractFunctionArgs,\n ContractFunctionName,\n} from 'viem'\n\nimport type { Config } fr"
},
{
"path": "packages/core/src/actions/codegen/createSimulateContract.test-d.ts",
"chars": 5542,
"preview": "import { abi, config, mainnet, optimism } from '@wagmi/test'\nimport { type Address, http } from 'viem'\nimport { celo } f"
},
{
"path": "packages/core/src/actions/codegen/createSimulateContract.test.ts",
"chars": 3721,
"preview": "import { abi, address, chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { connect } from"
},
{
"path": "packages/core/src/actions/codegen/createSimulateContract.ts",
"chars": 3728,
"preview": "import type {\n Abi,\n Account,\n Address,\n Chain,\n ContractFunctionArgs,\n ContractFunctionName,\n SimulateContractPa"
},
{
"path": "packages/core/src/actions/codegen/createWatchContractEvent.test-d.ts",
"chars": 2670,
"preview": "import { abi, config, mainnet, optimism } from '@wagmi/test'\nimport { http, webSocket } from 'viem'\nimport { expectTypeO"
},
{
"path": "packages/core/src/actions/codegen/createWatchContractEvent.test.ts",
"chars": 1083,
"preview": "import { abi, address, chain, config, wait } from '@wagmi/test'\nimport type { WatchEventOnLogsParameter } from 'viem'\nim"
},
{
"path": "packages/core/src/actions/codegen/createWatchContractEvent.ts",
"chars": 2941,
"preview": "import type { Abi, Address, ContractEventName } from 'viem'\n\nimport type { Config } from '../../createConfig.js'\nimport "
},
{
"path": "packages/core/src/actions/codegen/createWriteContract.test-d.ts",
"chars": 2437,
"preview": "import { abi, config, mainnet, optimism } from '@wagmi/test'\nimport { test } from 'vitest'\n\nimport { simulateContract } "
},
{
"path": "packages/core/src/actions/codegen/createWriteContract.test.ts",
"chars": 267,
"preview": "import { abi } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { createWriteContract } from './createWr"
},
{
"path": "packages/core/src/actions/codegen/createWriteContract.ts",
"chars": 3808,
"preview": "import type {\n Abi,\n Account,\n Address,\n Chain,\n ContractFunctionArgs,\n ContractFunctionName,\n WriteContractParam"
},
{
"path": "packages/core/src/actions/connect.test-d.ts",
"chars": 2401,
"preview": "import { accounts, config as testConfig } from '@wagmi/test'\nimport { type Address, type Hex, http } from 'viem'\nimport "
},
{
"path": "packages/core/src/actions/connect.test.ts",
"chars": 2522,
"preview": "import { accounts, chain, config } from '@wagmi/test'\nimport { beforeEach, expect, test } from 'vitest'\n\nimport { mock }"
},
{
"path": "packages/core/src/actions/connect.ts",
"chars": 5239,
"preview": "import type {\n Address,\n ResourceUnavailableRpcErrorType,\n UserRejectedRequestErrorType,\n} from 'viem'\n\nimport type {"
},
{
"path": "packages/core/src/actions/deployContract.test-d.ts",
"chars": 1855,
"preview": "import { abi, bytecode, config } from '@wagmi/test'\nimport { http } from 'viem'\nimport { celo, mainnet } from 'viem/chai"
},
{
"path": "packages/core/src/actions/deployContract.test.ts",
"chars": 39259,
"preview": "import {\n abi,\n bytecode,\n config,\n testClient,\n transactionHashRegex,\n} from '@wagmi/test'\nimport { parseEther } f"
},
{
"path": "packages/core/src/actions/deployContract.ts",
"chars": 2710,
"preview": "import type { Abi, Account, Chain, Client, ContractConstructorArgs } from 'viem'\nimport {\n type DeployContractErrorType"
},
{
"path": "packages/core/src/actions/disconnect.test.ts",
"chars": 1161,
"preview": "import { accounts, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { mock } from '../connector"
},
{
"path": "packages/core/src/actions/disconnect.ts",
"chars": 2099,
"preview": "import type { Config, Connection, Connector } from '../createConfig.js'\nimport type { BaseErrorType, ErrorType } from '."
},
{
"path": "packages/core/src/actions/estimateFeesPerGas.test-d.ts",
"chars": 965,
"preview": "import { config } from '@wagmi/test'\nimport { expectTypeOf, test } from 'vitest'\nimport { estimateFeesPerGas } from './e"
},
{
"path": "packages/core/src/actions/estimateFeesPerGas.test.ts",
"chars": 362,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { estimateFeesPerGas } from './estima"
},
{
"path": "packages/core/src/actions/estimateFeesPerGas.ts",
"chars": 1740,
"preview": "import type { Chain, FeeValuesType } from 'viem'\nimport {\n type EstimateFeesPerGasErrorType as viem_EstimateFeesPerGasE"
},
{
"path": "packages/core/src/actions/estimateGas.test-d.ts",
"chars": 1442,
"preview": "import { http, parseEther } from 'viem'\nimport { celo, mainnet } from 'viem/chains'\nimport { expectTypeOf, test } from '"
},
{
"path": "packages/core/src/actions/estimateGas.test.ts",
"chars": 1308,
"preview": "import { accounts, config } from '@wagmi/test'\nimport { parseEther } from 'viem'\nimport { expect, test } from 'vitest'\n\n"
},
{
"path": "packages/core/src/actions/estimateGas.ts",
"chars": 2304,
"preview": "import type { Account, Address, Chain } from 'viem'\nimport {\n type EstimateGasErrorType as viem_EstimateGasErrorType,\n "
},
{
"path": "packages/core/src/actions/estimateMaxPriorityFeePerGas.test.ts",
"chars": 448,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { estimateMaxPriorityFeePerGas"
},
{
"path": "packages/core/src/actions/estimateMaxPriorityFeePerGas.ts",
"chars": 1795,
"preview": "import type { Chain } from 'viem'\nimport {\n type EstimateMaxPriorityFeePerGasErrorType as viem_EstimateMaxPriorityFeePe"
},
{
"path": "packages/core/src/actions/getBalance.test.ts",
"chars": 1296,
"preview": "import { accounts, chain, config, testClient } from '@wagmi/test'\nimport { parseEther } from 'viem'\nimport { beforeEach,"
},
{
"path": "packages/core/src/actions/getBalance.ts",
"chars": 1355,
"preview": "import {\n type GetBalanceErrorType as viem_GetBalanceErrorType,\n type GetBalanceParameters as viem_GetBalanceParameter"
},
{
"path": "packages/core/src/actions/getBlobBaseFee.test.ts",
"chars": 390,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getBlobBaseFee } from './getBlobBas"
},
{
"path": "packages/core/src/actions/getBlobBaseFee.ts",
"chars": 1258,
"preview": "import {\n type GetBlobBaseFeeErrorType as viem_GetBlobBaseFeeErrorType,\n type GetBlobBaseFeeReturnType as viem_GetBlob"
},
{
"path": "packages/core/src/actions/getBlock.test-d.ts",
"chars": 1213,
"preview": "import { type Hex, http } from 'viem'\nimport { celo, mainnet } from 'viem/chains'\nimport { expectTypeOf, test } from 'vi"
},
{
"path": "packages/core/src/actions/getBlock.test.ts",
"chars": 5848,
"preview": "import { config, mainnet } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getBlock } from './getBloc"
},
{
"path": "packages/core/src/actions/getBlock.ts",
"chars": 2320,
"preview": "import type { BlockTag, Chain } from 'viem'\nimport {\n type GetBlockErrorType as viem_GetBlockErrorType,\n type GetBlock"
},
{
"path": "packages/core/src/actions/getBlockNumber.test.ts",
"chars": 225,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getBlockNumber } from './getBlockNu"
},
{
"path": "packages/core/src/actions/getBlockNumber.ts",
"chars": 1367,
"preview": "import {\n type GetBlockNumberErrorType as viem_GetBlockNumberErrorType,\n type GetBlockNumberParameters as viem_GetBloc"
},
{
"path": "packages/core/src/actions/getBlockTransactionCount.test.ts",
"chars": 1511,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getBlockTransactionCount } f"
},
{
"path": "packages/core/src/actions/getBlockTransactionCount.ts",
"chars": 1602,
"preview": "import {\n type GetBlockTransactionCountErrorType as viem_GetBlockTransactionCountErrorType,\n type GetBlockTransactionC"
},
{
"path": "packages/core/src/actions/getBytecode.test.ts",
"chars": 1030,
"preview": "import { address, chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getBytecode } from "
},
{
"path": "packages/core/src/actions/getBytecode.ts",
"chars": 1110,
"preview": "import {\n type GetBytecodeErrorType as viem_GetBytecodeErrorType,\n type GetBytecodeParameters as viem_GetBytecodeParam"
},
{
"path": "packages/core/src/actions/getCallsStatus.test.ts",
"chars": 1708,
"preview": "import { accounts, config, testClient } from '@wagmi/test'\nimport { parseEther } from 'viem'\nimport { expect, test } fro"
},
{
"path": "packages/core/src/actions/getCallsStatus.ts",
"chars": 1144,
"preview": "import {\n type GetCallsStatusErrorType as viem_GetCallsStatusErrorType,\n type GetCallsStatusParameters as viem_GetCall"
},
{
"path": "packages/core/src/actions/getCapabilities.test.ts",
"chars": 1501,
"preview": "import { accounts, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { connect } from './connect"
},
{
"path": "packages/core/src/actions/getCapabilities.ts",
"chars": 1527,
"preview": "import type { Account } from 'viem'\nimport {\n type GetCapabilitiesErrorType as viem_GetCapabilitiesErrorType,\n type Ge"
},
{
"path": "packages/core/src/actions/getChainId.test.ts",
"chars": 338,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getChainId } from './getChai"
},
{
"path": "packages/core/src/actions/getChainId.ts",
"chars": 338,
"preview": "import type { Config } from '../createConfig.js'\n\nexport type GetChainIdReturnType<config extends Config = Config> =\n c"
},
{
"path": "packages/core/src/actions/getChains.test-d.ts",
"chars": 335,
"preview": "import { type chain, config } from '@wagmi/test'\nimport { expectTypeOf, test } from 'vitest'\n\nimport { getChains } from "
},
{
"path": "packages/core/src/actions/getChains.test.ts",
"chars": 399,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getChains } from './getChain"
},
{
"path": "packages/core/src/actions/getChains.ts",
"chars": 630,
"preview": "import type { Chain } from 'viem'\nimport type { Config } from '../createConfig.js'\nimport { deepEqual } from '../utils/d"
},
{
"path": "packages/core/src/actions/getClient.test-d.ts",
"chars": 837,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expectTypeOf, test } from 'vitest'\n\nimport { getClient } from './ge"
},
{
"path": "packages/core/src/actions/getClient.test.ts",
"chars": 349,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getClient } from './getClient.js'\n\n"
},
{
"path": "packages/core/src/actions/getClient.ts",
"chars": 1548,
"preview": "import type { Client } from 'viem'\n\nimport type { Config } from '../createConfig.js'\nimport type { ChainIdParameter } fr"
},
{
"path": "packages/core/src/actions/getConnection.test-d.ts",
"chars": 1884,
"preview": "import { config } from '@wagmi/test'\nimport type { Address } from 'viem'\nimport { expectTypeOf, test } from 'vitest'\n\nim"
},
{
"path": "packages/core/src/actions/getConnection.test.ts",
"chars": 1024,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { connect } from './connect.js'\nimpor"
},
{
"path": "packages/core/src/actions/getConnection.ts",
"chars": 3306,
"preview": "import type { Address, Chain } from 'viem'\n\nimport type { Config, Connector } from '../createConfig.js'\n\nexport type Get"
},
{
"path": "packages/core/src/actions/getConnections.test.ts",
"chars": 511,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { connect } from './connect.js'\nimpor"
},
{
"path": "packages/core/src/actions/getConnections.ts",
"chars": 669,
"preview": "import type { Config, Connection } from '../createConfig.js'\nimport type { Compute } from '../types/utils.js'\nimport { d"
},
{
"path": "packages/core/src/actions/getConnectorClient.test-d.ts",
"chars": 711,
"preview": "import { chain, config } from '@wagmi/test'\nimport { expectTypeOf, test } from 'vitest'\n\nimport { getConnectorClient } f"
},
{
"path": "packages/core/src/actions/getConnectorClient.test.ts",
"chars": 3817,
"preview": "import { address, config } from '@wagmi/test'\nimport type { Address } from 'viem'\nimport { expect, test } from 'vitest'\n"
},
{
"path": "packages/core/src/actions/getConnectorClient.ts",
"chars": 4829,
"preview": "import {\n type Account,\n type Address,\n type BaseErrorType,\n type Client,\n createClient,\n custom,\n} from 'viem'\nim"
},
{
"path": "packages/core/src/actions/getConnectors.test.ts",
"chars": 273,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getConnectors } from './getConnecto"
},
{
"path": "packages/core/src/actions/getConnectors.ts",
"chars": 658,
"preview": "import type { Config, Connector } from '../createConfig.js'\n\nexport type GetConnectorsReturnType<config extends Config ="
},
{
"path": "packages/core/src/actions/getContractEvents.test-d.ts",
"chars": 2644,
"preview": "import { abi, config } from '@wagmi/test'\nimport { expectTypeOf, test } from 'vitest'\n\nimport {\n type GetContractEvents"
},
{
"path": "packages/core/src/actions/getContractEvents.test.ts",
"chars": 2724,
"preview": "import { abi, address, config, testClient } from '@wagmi/test'\nimport {\n createWalletClient,\n erc20Abi,\n getAddress,\n"
},
{
"path": "packages/core/src/actions/getContractEvents.ts",
"chars": 2635,
"preview": "import type { Abi, BlockNumber, BlockTag, ContractEventName } from 'viem'\nimport {\n type GetContractEventsErrorType as "
},
{
"path": "packages/core/src/actions/getEnsAddress.test.ts",
"chars": 318,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getEnsAddress } from './getEnsAddre"
},
{
"path": "packages/core/src/actions/getEnsAddress.ts",
"chars": 1144,
"preview": "import {\n type GetEnsAddressErrorType as viem_GetEnsAddressErrorType,\n type GetEnsAddressParameters as viem_GetEnsAddr"
},
{
"path": "packages/core/src/actions/getEnsAvatar.test.ts",
"chars": 303,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getEnsAvatar } from './getEnsAvatar"
},
{
"path": "packages/core/src/actions/getEnsAvatar.ts",
"chars": 1124,
"preview": "import {\n type GetEnsAvatarErrorType as viem_GetEnsAvatarErrorType,\n type GetEnsAvatarParameters as viem_GetEnsAvatarP"
},
{
"path": "packages/core/src/actions/getEnsName.test.ts",
"chars": 314,
"preview": "import { config } from '@wagmi/test'\nimport { expect, test } from 'vitest'\n\nimport { getEnsName } from './getEnsName.js'"
},
{
"path": "packages/core/src/actions/getEnsName.ts",
"chars": 1084,
"preview": "import {\n type GetEnsNameErrorType as viem_GetEnsNameErrorType,\n type GetEnsNameParameters as viem_GetEnsNameParameter"
}
]
// ... and 1608 more files (download for full content)
About this extraction
This page contains the full source code of the wevm/wagmi GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1808 files (6.4 MB), approximately 1.8M tokens, and a symbol index with 3615 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.