UNPKG

@nomyx/hardhat-adminui

Version:

A comprehensive Hardhat plugin providing a web-based admin UI for deployed smart contracts with Diamond proxy support, contract interaction, event monitoring, and deployment dashboard.

23 lines (22 loc) 582 B
import { HardhatRuntimeEnvironment } from "hardhat/types"; import { Request, Response } from "express"; export interface AppRequest extends Request { hre?: HardhatRuntimeEnvironment; } export interface RouteHandler { (req: AppRequest, res: Response): Promise<void> | void; } export interface ContractCallRequest { method: string; args?: any[]; value?: string; } export interface ContractCallResponse { type: 'transaction' | 'view'; hash?: string; gasUsed?: string; blockNumber?: number; status?: number; logs?: any[]; result?: any; }