

Reads onchain state
Reads the smallest leveraged position an Avantis pair opens, in stablecoin. PairStorage's pairMinLevPosUSDC is the floor its fee tier sets on collateral times leverage; openTrade and increasePositionSize refuse anything below it. Reach for it to size collateral and leverage so an order 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





































