@ts-ignore is required for use of erc20 interface. tokenAmount = ethers.formatEther(token._count);