Project

abimate

Prebuilt ABIs and TypeScript types for popular smart contracts.

github.com/peetzweg/abimate8 GitHub stars

import { balanceOf } from '@abimate/solmate/ERC20';

const token = getContract({ address, abi: [balanceOf] });
const balance = await token.callStatic.balanceOf(owner);