Crate transmuter_math

Crate transmuter_math 

Source

Structs§

Decimal
A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0
Division
CompressedDivision is a compressed representation of a data points in sliding window. It is used to reduce the gas cost of storing, retriving & cleaning up data points in sliding window.
Timestamp
A point in time in nanosecond precision.
Uint64
A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.

Enums§

TransmuterMathError

Functions§

compressed_moving_average