hardhat-tracer
Version:
Hardhat Tracer plugin
15 lines (11 loc) • 319 B
text/typescript
import { Item } from "../types";
import { colorLabel } from "../utils";
export interface SELFDESTRUCT {
beneficiary: string;
}
async function format(item: Item<SELFDESTRUCT>): Promise<string> {
return `${colorLabel("[SELFDESTRUCT]")} beneficiary=${
item.params.beneficiary
}`;
}
export default { format };