UNPKG

sevm

Version:

A Symbolic Ethereum Virtual Machine (EVM) bytecode decompiler & analyzer library & CLI

18 lines (17 loc) 489 B
import type { Stmt } from './ast'; /** * Returns the Yul `string` representation of `nodes` that are either * `Expr`essions or `Inst`ructions. * * https://docs.soliditylang.org/en/v0.8.21/yul.html */ export declare function yul(strings: TemplateStringsArray, ...nodes: unknown[]): string; export declare function yulStmts(stmts: Stmt[], spaces?: number): string; declare module '.' { interface Contract { /** * @returns */ yul(): string; } }