Skip to content

Test

Entrypoint for test utilities and constants

ABIType exports some test utilities and constants to make playing around and testing your code easier via the 'abitype/abis' entrypoint.

ABIs

import {
  customSolidityErrorsAbi,
  ensAbi,
  ensRegistryWithFallbackAbi,
  erc20Abi,
  nestedTupleArrayAbi,
  nounsAuctionHouseAbi,
  seaportAbi,
  wagmiMintExampleAbi,
  wethAbi,
  writingEditionsFactoryAbi,
  eip165Abi,
} from 'abitype/abis'
## Errors were thrown in the sample, but not included in an errors tag These errors were not marked as being expected: 2307. Expected: // @errors: 2307 Compiler Errors: index.ts [2307] 232 - Cannot find module 'abitype/abis' or its corresponding type declarations.

Human-Readable ABIs

import {
  customSolidityErrorsHumanReadableAbi,
  ensHumanReadableAbi,
  ensRegistryWithFallbackHumanReadableAbi,
  erc20HumanReadableAbi,
  nestedTupleArrayHumanReadableAbi,
  nounsAuctionHouseHumanReadableAbi,
  seaportHumanReadableAbi,
  wagmiMintExampleHumanReadableAbi,
  wethHumanReadableAbi,
  writingEditionsFactoryHumanReadableAbi,
} from 'abitype/abis'
## Errors were thrown in the sample, but not included in an errors tag These errors were not marked as being expected: 2307. Expected: // @errors: 2307 Compiler Errors: index.ts [2307] 349 - Cannot find module 'abitype/abis' or its corresponding type declarations.