

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.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on Avantis ยท 37





































On other protocols ยท 1