UNPKG

evm-blockchain-tools

Version:

This is a collection of resuseable tools to support development for EVM-powered blockchains

11 lines (8 loc) 288 B
import { Interface } from "ethers/lib/utils"; import { ContractModel } from "../models/contract-model"; export abstract class ContractService<T extends ContractModel> { constructor(protected contract: T) {} public get abiInterface(): Interface { return this.contract.abi; } }