import { Contract, ContractFactory } from 'ethers'; export interface Smodify { put: (storage: any) => Promise; check: (storage: any) => Promise; } export interface Smodded { [hash: string]: string; } export interface ModifiableContract extends Contract { smodify: Smodify; _smodded: Smodded; } export interface ModifiableContractFactory extends ContractFactory { deploy: (...args: any[]) => Promise; }