Module stable_swap::curve[][src]

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

Max amplification coefficient

Max number of tokens to swap at once.

Min amplification coefficient

Minimum ramp duration

Number of coins

Timestamp at 0