UNPKG

@towns-protocol/generated

Version:

## How to generate contract types

29 lines (25 loc) 722 B
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { IDiamond, IDiamondInterface } from "../IDiamond"; const _abi = [ { type: "error", name: "Diamond_UnsupportedFunction", inputs: [], }, ] as const; export class IDiamond__factory { static readonly abi = _abi; static createInterface(): IDiamondInterface { return new utils.Interface(_abi) as IDiamondInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IDiamond { return new Contract(address, _abi, signerOrProvider) as IDiamond; } }