nash-protocol 0.3.0

state management and cryptography for interacting with nash exchange protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Retrieve current asset nonces from Nash server. Asset nonces
//! allow the smart contract to reason about whether a payload such
//! as a sync state or fill order request is valid in relation to
//! previous activity. Generally, only payloads with a higher nonce
//! than the last seen nonce for an asset are considered valid. For
//! fill order payloads, the nonce must equal the current nonce.
mod request;
mod response;
mod types;

pub use request::asset_nonces_canonical_string;
pub use types::{AssetNoncesRequest, AssetNoncesResponse};