diff --git a/src/utils.ts b/src/utils.ts index c8ef10cd..4b73bea7 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -67,14 +67,14 @@ export const abiElementToSignature = (abiElement: JsonFragment): string => export type AbiIgnoreList = ReadonlyArray<[Readonly, Readonly]>; export const abiFilter = (ignoreList: AbiIgnoreList) => - (abiElement: any, index: number, abi: any, contractName: string) => - // Find the first filter that matches... - !ignoreList.some( - ([nameMatcher, sig]) => - // If the name matches the name matcher and the function signature, we can set it to "ignore". - contractName.match(nameMatcher) && - abiElementToSignature(abiElement) === sig - ); + (abiElement: any, index: number, abi: any, contractName: string) => + // Find the first filter that matches... + !ignoreList.some( + ([nameMatcher, sig]) => + // If the name matches the name matcher and the function signature, we can set it to "ignore". + contractName.match(nameMatcher) && + abiElementToSignature(abiElement) === sig + ); export const fromBaseUnit = ( amount: BigNumber | string | number, diff --git a/tasks/issuer.ts b/tasks/issuer.ts index 093c7e7a..3f3942b2 100644 --- a/tasks/issuer.ts +++ b/tasks/issuer.ts @@ -15,7 +15,7 @@ task("issuer-deploy", "Deploys the main Issuer contract") await deployIssuer(hre, member); }); -interface IssuerUpdateFacetsParams {} +interface IssuerUpdateFacetsParams { } task("issuer-update-facets", "Updates facets of our Issuer").setAction( async (_params: IssuerUpdateFacetsParams, hre) => { diff --git a/tasks/marketplace.ts b/tasks/marketplace.ts index 0fc7ec57..cb6f0836 100644 --- a/tasks/marketplace.ts +++ b/tasks/marketplace.ts @@ -6,7 +6,7 @@ import { Marketplace } from "../typechain/hardhat-diamond-abi/HardhatDiamondABI. // Tasks. -interface MarketplaceDeployParams {} +interface MarketplaceDeployParams { } task("marketplace-deploy", "Deploys the main Marketplace contract").setAction( async (_params: MarketplaceDeployParams, hre) => { @@ -15,7 +15,7 @@ task("marketplace-deploy", "Deploys the main Marketplace contract").setAction( } ); -interface MarketplaceUpdateFacetsParams {} +interface MarketplaceUpdateFacetsParams { } task( "marketplace-update-facets",