cow-sdk-app-data 0.1.0-alpha.10

CoW Protocol app-data encoding, validation, and CID compatibility
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Typed sub-metadata shapes carried inside the app-data envelope.
//!
//! Every sub-module in this namespace narrows one of the reviewed metadata
//! sections from a free-form JSON object into a typed Rust value. The
//! typed values serialize byte-identically with the reviewed wire form and
//! carry construction-time validation so invalid hints are caught at the
//! client before a document would fail the reviewed schema.

/// Flash-loan hints consumed by the app-data metadata envelope.
pub mod flashloan;
/// Pre- and post-interaction hooks consumed by the app-data metadata envelope.
pub mod hooks;
/// Quote slippage hint consumed by the app-data metadata envelope.
pub mod quote;

pub use flashloan::FlashloanHints;
pub use hooks::{Hook, HookList};
pub use quote::QuoteMetadata;