Marmot-TS
    Preparing search index...

    Function decodeAuthorizationProof

    • Decodes exactly one 104-byte MarmotAuthorizationProof, rejecting truncation or trailing bytes. Follows the spec verifier's step order: length, then signer_pubkey validity, then the created_at range (checked as a bigint before converting to Number, so an out-of-range wire value can never silently become a smaller in-range number). Never checks the signature — that is verifyAuthorizationProof's job (Task 2).

      Parameters

      • data: Uint8Array

      Returns AuthorizationProof