import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DRE } from './misc-utils'; export const usingTenderly = () => DRE && ((DRE as HardhatRuntimeEnvironment).network.name.includes('tenderly') || process.env.TENDERLY === 'true');