mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-22 23:09:26 +00:00
Expose typed Rust request contracts and transport-independent operations for application clients. Keep the existing C ABI as a thin adapter so the AMM UI continues to use the same symbols.
13 lines
365 B
Rust
13 lines
365 B
Rust
#![deny(unsafe_op_in_unsafe_fn)]
|
|
|
|
mod account;
|
|
mod ffi;
|
|
|
|
pub mod api;
|
|
|
|
pub use api::{
|
|
config_id, context, pair_ids, plan, quote, token_ids, AccountRead, AmmApiError, AmmResponse,
|
|
AmmResult, ConfigIdRequest, ContextRequest, PairIdsRequest, PairSnapshot, PlanRequest,
|
|
PositionRequest, QuoteRequest, TokenIdsRequest, WalletAccount, NEW_POSITION_SCHEMA,
|
|
};
|