hardhat-deal
Version:
🎩🪄 Easily deal any amount of any ERC20 tokens to any account on the hardhat network
37 lines (36 loc) • 853 B
TypeScript
import "hardhat/types/config";
export declare enum StorageLayoutType {
SOLIDITY = "solidity",
VYPER = "vyper"
}
export type DealSlot = {
type: StorageLayoutType;
slot: number;
} | number;
declare module "hardhat/types/config" {
interface HardhatUserConfig {
dealSlots?: {
[address: string]: DealSlot;
};
}
interface HttpNetworkUserConfig {
rpcEndpoints?: {
setStorageAt?: string;
};
}
interface HardhatConfig {
dealSlots: {
[address: string]: DealSlot | undefined;
};
}
interface HardhatNetworkConfig {
rpcEndpoints?: Partial<{
setStorageAt: "hardhat_setStorageAt";
}>;
}
interface HttpNetworkConfig {
rpcEndpoints?: Partial<{
setStorageAt: string;
}>;
}
}