import Contract from "../../contract" ; import TasitContracts from "@tasit/contracts" ; const { local } = TasitContracts ; const { MyERC20 } = local ; const { abi } = MyERC20 ; const abiString = JSON . stringify ( abi ) ; export default class ERC20 extends Contract { constructor ( address , account ? ) { super ( address , abiString , account ) ; } }