UNPKG

swapnet-sdk-test-4

Version:
18 lines (17 loc) 682 B
import type { EthCallOverride } from "./types.js"; export declare class AddressAsIf { readonly address: string; protected _field: "balance" | "nonce" | "code" | "stateDiff" | "state" | undefined; protected _slot: string | undefined; protected _value: string | undefined; protected _registeredPromises: Array<Promise<void>>; constructor(address: string); balance(): AddressAsIf; nonce(): AddressAsIf; code(): AddressAsIf; stateDiff(slot: string): AddressAsIf; state(slot: string): AddressAsIf; is(value: any): AddressAsIf; valueAsync(): Promise<EthCallOverride>; } export declare const addressAt: (address: string) => AddressAsIf;