Function validateSignature

  • Evaluate if a given message, signature pair is a valid submission.

    Parameters

    • expectedAddress: string

      address the signature should originate from

    • message: string

      message that was signed

    • signature: string

      resultant signature

    Returns SignatureResult

    signature evaluation result based on nature of the given signature