Docs.rs
hydra-dx-math-4.4.3
hydra-dx-math 4.4.3
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
enthusiastmartin
Dependencies
parity-scale-codec ^2.3.1
normal
fixed ^1.9.0
normal
num-traits ^0.2.14
normal
primitive-types ^0.8.0
normal
sp-arithmetic ^4.0.0
normal
approx ^0.3.0
dev
criterion ^0.3
dev
proptest ^1.0.0
dev
rand ^0.7
dev
rand_xoshiro ^0.4
dev
Versions
46.3%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
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
Crate hydra_dx_math
hydra_
dx_
math
4.4.3
All Items
Sections
HydraDX Math
Crate Items
Modules
Macros
Enums
Crate
hydra_
dx_
math
Copy item path
Source
Expand description
§
HydraDX Math
A collection of utilities to make performing liquidity pool calculations more convenient.
Modules
§
fee
lbp
liquidity_
mining
stableswap
transcendental
types
xyk
Macros
§
ensure
round_
up
to_
balance
to_
balance_
from_
fixed
to_
fixed_
balance
to_
lbp_
weight
to_u256
Enums
§
Math
Error