aave-protocol-v2/modules/tenderly/tenderly.d.ts

33 lines
858 B
TypeScript
Raw Normal View History

import 'hardhat/types/config';
import 'hardhat/types/runtime';
import {TenderlyConfig} from './types';
declare module 'hardhat/types/runtime' {
export interface HardhatRuntimeEnvironment {
tenderly: {
verify: (...contracts) => Promise<void>;
push: (...contracts) => Promise<void>;
persistArtifacts: (...contracts) => Promise<void>;
};
tenderlyRPC: {
verify: (...contracts) => Promise<void>;
resetFork: () => string | undefined;
getHead: () => string | undefined;
setHead: (head: string | undefined) => void;
getFork: () => string | undefined;
setFork: (fork: string | undefined) => void;
};
}
}
declare module 'hardhat/types/config' {
export interface HardhatUserConfig {
tenderly?: TenderlyConfig;
}
export interface HardhatConfig {
tenderly: TenderlyConfig;
}
}