Docs.rs
riptide-amm-math-0.2.7
riptide-amm-math 0.2.7
Docs.rs crate page
Links
crates.io
Source
Owners
riptidewill
Dependencies
borsh ^1.6
normal
ethnum ^1.1
normal
js-sys ^0.3
normal
optional
libm ^0.2
normal
optional
riptide-amm-macros ^0.2.7
normal
serde ^1.0
normal
serde-wasm-bindgen ^0.6
normal
optional
tsify ^0.5
normal
optional
wasm-bindgen ^0.2
normal
optional
rstest ^0.26
dev
Versions
11.63%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
All
riptide_
amm_
math
0.2.7
Crate Items
Structs
Enums
Constants
Functions
Type Aliases
List of all items
Structs
Quote
Enums
BookSpacingType
OracleData
QuoteType
Functions
a_to_b
amount_to_ui_amount
b_to_a
from_q64_64
inverse_q64_64
quote_exact_in
quote_exact_out
to_q64_64
ui_amount_to_amount
Type Aliases
CoreError
U128
Constants
AMOUNT_EXCEEDS_MAX_U128
AMOUNT_EXCEEDS_MAX_U32
AMOUNT_EXCEEDS_MAX_U64
ARITHMETIC_OVERFLOW
INVALID_ORACLE_DATA
PER_M_DENOMINATOR