So I'll be more specific. How are shorts and longs stored in the blockchain state database?
The model that I thought it was, is that CFDs are a list of the form (assuming only bts and bitusd):
[
[short_party, long_party, strike_price, short_margin, long_margin, amount, expiry],
[short_party, long_party, strike_price, short_margin, long_margin, amount, expiry],
...
]
The model you seem to be suggesting is that accounts are stored in the form:
[
[bts holdings, usd holdings (+ or -)],
[bts holdings, usd holdings (+ or -)],
...
]
Which is how SchellingDollar works. What is the bitassets approach exactly?