Module serialize_fixed

Module serialize_fixed 

Source
Expand description

Serialization shim for fixed point numbers that is consistent with polkadot-js’s implementation.

This is needed in particular for fixed point types that map to a i-/u128, as serde has problems with it: https://github.com/paritytech/substrate/issues/4641

Re-exports§

pub use deserialize_fixed as deserialize;
pub use serialize_fixed as serialize;

Functions§

deserialize_fixed
serialize_fixed