mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
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');
|