

Reads onchain state
Reads the most leverage a gTrade pair opens a trade at, as a multiple. The diamond's pairMaxLeverage is the pair's own ceiling where gTrade sets one and its group's otherwise; openTrade refuses anything above it. Reach for it to clamp an order's leverage so it lands, or to hold off opening while the bound sits below a strategy's leverage.
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 gTrade · 15















On other protocols · 1