Dyson Swap
  • ☄️Dyson Swap
  • 📚How it works
  • 🚀Getting Started
    • 🌊Liquidity Providers
    • 🍞Arbitrage and Fees
    • 🪙Token (DYSWAP)
    • 🏷️Referrals
  • ⚙️Protocol Design
    • 📐Principles
    • ♻️Swaps
    • ⚡Internal Arbitrage
    • 👨‍🔬Pool Equations
    • ✨Tachyon Math Library
  • 💾Developers
    • 🔌SDK
    • 🤖Arbitrage
Powered by GitBook
On this page
  1. Protocol Design

Tachyon Math Library

PreviousPool EquationsNextSDK

Last updated 1 year ago

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.

⚙️
✨
https://gitlab.com/dysonswap/tachyon