Hadron Quoting Pipeline
updateBaseSpread
Add a flat pool level fee to all swaps. This is added to any additional spread initialised later in the curve setup by default.Creating Price Curves
Write a price curve to a prefab slot.- Curves comprise of three key ideas
AmountIn: Stored in atoms(lowest unit of the token based on the token decimal) of the amount inputed by the taker. Stored internally asBigintPriceFactor: Distance from the midprice in BPS