Function functionExists

  • Checks if the given function exists in a smart contract at the given address.

    Returns

    true if the function exists, false otherwise.

    Throws

    • if the given address is not a valid smart contract address.

    Parameters

    • address: Address

      The address of the contract to search in.

    • func: string

      The name of the function to search.

    Returns bool

Generated using TypeDoc