hardhat-deploy
Advanced tools
Comparing version 0.11.31 to 0.11.32
import * as path from 'path'; | ||
import { Artifact, HardhatRuntimeEnvironment, Network } from 'hardhat/types'; | ||
import { ExtendedArtifact, MultiExport } from '../types'; | ||
import { ABI, ExtendedArtifact, MultiExport } from '../types'; | ||
import { Transaction } from '@ethersproject/transactions'; | ||
@@ -36,2 +36,3 @@ export declare function getArtifactFromFolders(name: string, folderPaths: string[]): Promise<Artifact | ExtendedArtifact | undefined>; | ||
export declare function getDeployPaths(network: Network): string[]; | ||
export declare function filterABI(abi: ABI, excludeSighashes: Set<string>): any[]; | ||
export declare function mergeABIs(abis: any[][], options: { | ||
@@ -38,0 +39,0 @@ check: boolean; |
@@ -25,3 +25,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.recode = exports.mergeABIs = exports.getDeployPaths = exports.getNetworkName = exports.traverse = exports.traverseMultipleDirectory = exports.processNamedAccounts = exports.addDeployments = exports.deleteDeployments = exports.loadAllDeployments = exports.getExtendedArtifactFromFolders = exports.getArtifactFromFolders = void 0; | ||
exports.recode = exports.mergeABIs = exports.filterABI = exports.getDeployPaths = exports.getNetworkName = exports.traverse = exports.traverseMultipleDirectory = exports.processNamedAccounts = exports.addDeployments = exports.deleteDeployments = exports.loadAllDeployments = exports.getExtendedArtifactFromFolders = exports.getArtifactFromFolders = void 0; | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
@@ -473,2 +473,6 @@ const fs = __importStar(require("fs-extra")); | ||
exports.getDeployPaths = getDeployPaths; | ||
function filterABI(abi, excludeSighashes) { | ||
return abi.filter(fragment => fragment.type !== 'function' || !excludeSighashes.has(abi_1.Interface.getSighash(abi_1.Fragment.from(fragment)))); | ||
} | ||
exports.filterABI = filterABI; | ||
function mergeABIs(abis, options) { | ||
@@ -475,0 +479,0 @@ if (abis.length === 0) { |
@@ -87,2 +87,5 @@ import 'hardhat/types/runtime'; | ||
}; | ||
excludeSelectors?: { | ||
[facetName: string]: string[]; | ||
}; | ||
deterministicSalt?: string; | ||
@@ -89,0 +92,0 @@ facetsArgs?: any[]; |
{ | ||
"name": "hardhat-deploy", | ||
"version": "0.11.31", | ||
"version": "0.11.32", | ||
"description": "Hardhat Plugin For Replicable Deployments And Tests", | ||
@@ -5,0 +5,0 @@ "repository": "github:wighawag/hardhat-deploy", |
@@ -9,3 +9,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
import {BigNumber} from '@ethersproject/bignumber'; | ||
import {Export, ExtendedArtifact, MultiExport} from '../types'; | ||
import {ABI, Export, ExtendedArtifact, MultiExport} from '../types'; | ||
import {Artifacts} from 'hardhat/internal/artifacts'; | ||
@@ -567,2 +567,9 @@ import murmur128 from 'murmur-128'; | ||
export function filterABI( | ||
abi: ABI, | ||
excludeSighashes: Set<string>, | ||
): any[] { | ||
return abi.filter(fragment => fragment.type !== 'function' || !excludeSighashes.has(Interface.getSighash(Fragment.from(fragment) as FunctionFragment))); | ||
} | ||
export function mergeABIs( | ||
@@ -569,0 +576,0 @@ abis: any[][], |
@@ -99,2 +99,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
}; | ||
excludeSelectors?: { | ||
[facetName: string]: string[] | ||
}; | ||
deterministicSalt?: string; | ||
@@ -101,0 +104,0 @@ facetsArgs?: any[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11877165
164197