
Avantis · Reads onchain state
Reads the least leverage an Avantis pair opens a trade at. The program reads whether the pair trades as a PnL-fee pair from PairStorage and asks pairMinLeverage for the bound at that order type, as a multiple; openTrade refuses anything below it. Reach for it to raise an order's leverage to the floor so it lands.
On other protocols · 1