2.0.5 • Published 3 years ago

@coffee-beans/v2-pool-stable v2.0.5

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
3 years ago

Coffee V2 Stable Pools

NPM Package


This package contains the source code of Coffee V2 Stable Pools, that is, Pools for tokens that all have values very close to each other (typically stablecoins).

The flavors currently in existence are StablePool (basic five token version) and MetaStablePool (two token version for assets with externally-provided known exchange rates, plus a price oracle).

Another useful contract is StableMath, which implements the low level calculations required for swaps, joins and exits.