TypeChain icon indicating copy to clipboard operation
TypeChain copied to clipboard

🔌 TypeScript bindings for Ethereum smart contracts

Results 147 TypeChain issues
Sort by recently updated
recently updated
newest added

Hey all, this PR adds a [GitPOAP Badge](https://docs.gitpoap.io/api#get-v1repoownernamebadge) to the README that displays the number of minted GitPOAPs for this repository by contributors to this repo. You can see an...

This PR adds initial support for handling [custom errors](https://blog.soliditylang.org/2021/04/21/custom-errors/) with Typechain. Still WIP but opening a draft PR to be able to get input from others on the approach (currently...

For a bit of context, [queryFilter()](https://docs.ethers.io/v5/api/contract/contract/#Contract-queryFilter) results are typed, I believe by this code: https://github.com/dethcrypto/TypeChain/blob/47ab6513aaf960ce2a0425fdf6e0561ca482b182/packages/target-ethers-v5/src/codegen/events.ts#L92 For example, in my use case of interacting with the AaveV3 Pool contract, I can...

This PR fixes: 1. importing types without 'import type' was problematic with svelte vite 2. importing not type object with 'import type' was problematic with svelte vite I faced a...

This PR allows the user to override the default glob pattern to limit the artifacts / contracts for which to generate types. Also includes additional documentation on existing config parameters....

Currently the glob to match build artifacts for which to generate types is hardcoded [here](https://github.com/dethcrypto/TypeChain/blob/92faf28a91fa17a6cb9c34bd29ea9b2cae5d57b3/packages/hardhat/src/index.ts#L69). While the user can specify additional globs for "externalArtifacts" there is no way to disable...

I'm using https://docs.openzeppelin.com/contracts/4.x/api/finance#VestingWallet that have some functions like release() and release(address token) and the types are coming like: ![image](https://user-images.githubusercontent.com/16262455/173086776-932d787f-610a-4796-98bc-adbf51a0b509.png) How would be a good solution for this?

Not sure if this belongs to hardhat or typechain repo, or even if it is a 'bug' as it involves incorrectly importing a hardhat plugin, but might be noteworthy. TLDR:...

When trying to use the generated code for contract factories, in combination with SvelteKit, the following error appears: 'Overrides' is a type and must be imported using a type-only import...