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