🏦Intent Solvers (Makers)
For actors looking to solve Taker intents there are some things that must be considered when developing systems to do so.
Position Flipping
Due to an invariant on the protocol side, a wallet can't flip their position from Long to Short & visa versa without waiting for the protocol to settle in between. Given this, Makers looking to handle long & short flow should maintain two wallets and net the flow.
For example:
Action | Long Wallet (Maker) | Short Wallet (Short) |
---|---|---|
Short 1 BTC | +1 BTC | -0 BTC |
Short 1 BTC | +2 BTC | -0 BTC |
Long 1 BTC | +1 BTC | -0 BTC |
Long 2 BTC | +1 BTC | -2 BTC |
Maker Rebalance | +0 BTC | -1 BTC |
This is unwanted complexity for the Maker and we will look to fix this in a later version of the protocol.
Single Position per Market
An invariant of the protocol is that an account can't have multiple positions open in a market at the same time. Instead, a wallet can increase or decrease their position to modify their exposure.
This is an intended behaviour of the protocol & will continue to persist.
Last updated