OZSmartAccountAuthPayloadCodec

public enum OZSmartAccountAuthPayloadCodec

Codec for reading and writing OZSmartAccountAuthPayload to/from SCValXDR.

Handles the AuthPayload format accepted by the OpenZeppelin Smart Account contract, which is a named struct (Map-based) with fields context_rule_ids and signers. The outer struct map keys are inserted in alphabetical order (matching the Soroban Rust #[contracttype] derive convention); the inner dynamic-Map signer entries are sorted by lowercase-hex of their XDR-encoded keys so the encoding is deterministic.