package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev
# Functions
Divide divides two prices, returning the resulting price as a uint64 multiplied by the divisor price's exponent.
Invert inverts a price, returning the inverted price multiplied by 10^-exponent.
Multiply multiplies two prices, returning the resulting price as a uint64 multiplied by the first exponent.
PriceToFloat32ForLogging converts a price, exponent to a float32 for logging purposes.