Skip to content

Test

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

ABIs

ts
ts
import {
customSolidityErrorsAbi,
ensAbi,
ensRegistryWithFallbackAbi,
erc20Abi,
nestedTupleArrayAbi,
nounsAuctionHouseAbi,
seaportAbi,
wagmiMintExampleAbi,
wethAbi,
writingEditionsFactoryAbi,
eip165Abi,
} from 'abitype/abis'
Try
ts
import {
customSolidityErrorsAbi,
ensAbi,
ensRegistryWithFallbackAbi,
erc20Abi,
nestedTupleArrayAbi,
nounsAuctionHouseAbi,
seaportAbi,
wagmiMintExampleAbi,
wethAbi,
writingEditionsFactoryAbi,
eip165Abi,
} from 'abitype/abis'
Try

Human-Readable ABIs

ts
ts
import {
customSolidityErrorsHumanReadableAbi,
ensHumanReadableAbi,
ensRegistryWithFallbackHumanReadableAbi,
erc20HumanReadableAbi,
nestedTupleArrayHumanReadableAbi,
nounsAuctionHouseHumanReadableAbi,
seaportHumanReadableAbi,
wagmiMintExampleHumanReadableAbi,
wethHumanReadableAbi,
writingEditionsFactoryHumanReadableAbi,
} from 'abitype/abis'
Try
ts
import {
customSolidityErrorsHumanReadableAbi,
ensHumanReadableAbi,
ensRegistryWithFallbackHumanReadableAbi,
erc20HumanReadableAbi,
nestedTupleArrayHumanReadableAbi,
nounsAuctionHouseHumanReadableAbi,
seaportHumanReadableAbi,
wagmiMintExampleHumanReadableAbi,
wethHumanReadableAbi,
writingEditionsFactoryHumanReadableAbi,
} from 'abitype/abis'
Try

Released under the MIT License.