timewave-computer / covenants

Apache License 2.0
17 stars 4 forks source link

Spot rate should specify denom in numerator and denominator #265

Open uditvira opened 1 month ago

uditvira commented 1 month ago

Currently we must specify the spot rate (e.g., NTRN/USD) exactly as in the pool. This can easily introduce errors if the user is not careful. Instead we should explicitly have the user pass in an ordered pair.