Module constants

Module constants 

Source
Expand description

Mathematical constants used throughout the Balancer maths implementation

Structsยง

FOUR_WAD
FOUR_WAD (4e18) - used for power calculations
MAX_POW_RELATIVE_ERROR
MAX_POW_RELATIVE_ERROR - used for power calculations
RAY
TWO_WAD
TWO_WAD (2e18) - used for power calculations
WAD
WAD (1e18) - used for fixed-point arithmetic