@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Function equalUnderHexCasePolicy

    • Compare two encoded strings under the contract's hex-case policy: producers SHOULD emit uppercase hex (§2.1), but verifiers MUST accept either case within a %NN triplet. Bytes outside triplets compare case-sensitively — an attacker-controlled value differing by a letter case outside a triplet is a real divergence, not a hex-case variant.

      Parameters

      • observed: string
      • expected: string

      Returns boolean