Tachyon Math Library
The exponential and logarithmic calculations required for the pool equations (since a power function can be achieved with x^a = e^(a*ln(x))
) are done with the Tachyon math library. Tachyon is an opensource library which uses lookup tables and interpolation for very fast on-chain math. It was built by the Dyson Swap team specifically for this purpose, and has been opensourced for benefit of the community.
Last updated