Skip to content

Commit

Permalink
feat: Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMcL committed Aug 7, 2023
1 parent 3f69878 commit 4aaf611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/0002-STTL-settlement.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The [market lifecycle spec](./0043-MKTL-market_lifecycle.md) provides detail on
1. The market's insurance pool is [redistributed](./0015-INSR-market_insurance_pool_collateral.md) to the on-chain treasury for the settlement asset of the market and other insurance pools using the same asset.
1. Market status is now set to [SETTLED](./0043-MKTL-market_lifecycle.md).
1. Now the market can be deleted.
2. This mechanism does not incur fees to traders that have open positions that are settled at expiry. (<a name="0002-STTL-003" href="#0002-STTL-003">0002-STTL-003</a>)
1. This mechanism does not incur fees to traders that have open positions that are settled at expiry. (<a name="0002-STTL-003" href="#0002-STTL-003">0002-STTL-003</a>)

### Example 2 - A less typical path of such a futures market nearing expiry when market is suspended (<a name="0002-STTL-004" href="#0002-STTL-004">0002-STTL-004</a>)

Expand Down
2 changes: 1 addition & 1 deletion protocol/0043-MKTL-market_lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ The market state is `active`.
1. An oracle event arrives which triggers the perpetual market's interim settlement logic, causing cashflow transfers but the market remains open.
1. Further trades happen, with parties still having different positions to previously. The mark price is `p`.
1. A market state change proposal is created to terminate the market at a given price that is *not* equal to `p`.
When this is approved and enacted the market state is `closed`.
When this is approved and enacted the market state is `closed`.
Parties that had open positions see settlement cash-flows happen to settle positions.
Margin account balances are transferred to the general account.
After `market.liquidity.successorLaunchWindowLength` has passed since market settlement, any insurance pool balance is [redistributed](./0015-INSR-market_insurance_pool_collateral.md) to the on-chain treasury for the settlement asset of the market and other insurance pools using the same asset.
Expand Down

0 comments on commit 4aaf611

Please sign in to comment.