Docs.rs
astroport-pcl-common-2.1.1
astroport-pcl-common 2.1.1
Permalink
Docs.rs crate page
GPL-3.0-only
Links
Homepage
Repository
crates.io
Source
Owners
epanchee
Dependencies
astroport ^5.7.0
normal
astroport-factory ^1.9
normal
cosmwasm-schema ^1.5
normal
cosmwasm-std ^1.5
normal
cw-storage-plus ^1.2
normal
cw20 ^1
normal
itertools ^0.12
normal
thiserror ^1.0
normal
anyhow ^1
dev
Versions
71.68%
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
astroport_
pcl_
common
2.1.1
All Items
Crate Items
Modules
Functions
Crate
astroport_pcl_common
Copy item path
Source
Modules
§
consts
error
state
utils
Functions
§
calc_d
Calculate D invariant based on known pool volumes.
calc_y
Calculate unknown pool’s volume based on the other side of pools which is known and D.
get_xcp
Get current XCP.
half_
float_
pow
Calculates 0.5^power.