Skip to main content

Crate hypercall_signer

Crate hypercall_signer 

Source
Expand description

Shared RSM directive signer contract.

This crate owns the provider-agnostic signer trait, directive encoding, EIP-712 payload construction, signature verification, and nonce-repair helpers. Provider crates depend on it, but it does not depend on AWS or any concrete signing backend.

Modulesยง

action ๐Ÿ”’
encoding ๐Ÿ”’
error ๐Ÿ”’
exchange ๐Ÿ”’
signature ๐Ÿ”’
traits ๐Ÿ”’
typed_data ๐Ÿ”’
types ๐Ÿ”’

Structsยง

ParsedRsmAction
RsmSignerStatus
SignedDirective

Enumsยง

RsmSignerError

Traitsยง

RsmSigner
Provider-agnostic RSM directive signer.

Functionsยง

build_typed_data
decode_rsm_action
encode_action_bytes
encode_directive
is_nonce_used_for_signer
Checks the exchange contract for whether nonce is consumed by signer_address.
record_to_signed_directive
repair_nonce_tracker_for_signer
Repairs the persisted next nonce for signer_address from on-chain state.
verify_rsm_signature
verify_rsm_signature_bytes