Module format_magics_le

Source
Expand description

Constants containing first bytes (LE) of a price update.

Constantsยง

EVM_FORMAT_MAGIC
First bytes (LE) of an EVM-targeted price update (BE-encoded payload with an ECDSA signature).
JSON_FORMAT_MAGIC
First bytes (LE) of a JSON-encoded price update (JSON structure is represented by router::ParsedPayload type).
LE_ECDSA_FORMAT_MAGIC
First bytes (LE) of a price update with LE-encoded payload and an ECDSA signature (suitable for Solana).
LE_UNSIGNED_FORMAT_MAGIC
First bytes (LE) of a price update with LE-encoded payload without a signature (suitable for off-chain usage).
SOLANA_FORMAT_MAGIC
First bytes (LE) of a Solana-targeted price update with a native Solana signature (LE-encoded payload with a Ed25519 signature).