@shazow/whatsabi
    Preparing search index...

    Function abiToInterfaces

    • Given a list of selectors, return a mapping of interfaces it implements to a list of present function signatures that belong to it.

      Parameters

      Returns string[]

      A list of interfaces that the given selectors implement.

      const result = await whatsabi.autoload(address, { provider });
      const detectedInterfaces = whatsabi.interfaces.abiToInterfaces(result.abi);