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ยง
Enumsยง
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
nonceis consumed bysigner_address. - record_
to_ signed_ directive - repair_
nonce_ tracker_ for_ signer - Repairs the persisted next nonce for
signer_addressfrom on-chain state. - verify_
rsm_ signature - verify_
rsm_ signature_ bytes