Expand description

Swap calculations and curve invariant implementation

Structs

The StableSwap invariant calculator.

Encodes all results of swapping from a source token to a destination token.

Constants

Maximum amplification coefficient.

Maximum number of tokens to swap at once.

Minimum amplification coefficient.

Minimum ramp duration, in seconds.

Number of coins in a swap. The Saber StableSwap only supports 2 tokens.

Timestamp at 0