Sifchain Specifications & Documents Book
===
For the moment, this is a one-stop shop for all documentation, specifications, and thought collection generated as part of BlockScience's work with the Sifchain protocol.
---
## Blockscience Specifications - Margin Trading
[P1: Concept Math Spec](https://hackmd.io/@shrutiappiah/S1GCtT7oD) Not maintained
[P2: Preliminary Math Spec](https://hackmd.io/@shrutiappiah/HyF3l8O-_) Maintained
[P2: Mechanisms Spec (part of Prelim Math Spec)](https://hackmd.io/@mbarlin/S1o48Vtm_) Maintained
[P2a: Short and Double Swap Notes](https://hackmd.io/uWVOJXrpSEiCuYDiTO_Q1A) Maintained
[P3: MEV Concept Review](https://hackmd.io/@shrutiappiah/rJrFFbKE_) Some content here was incorporated into other docs but it is no longer actively maintained
[Implementation Spec](https://hackmd.io/ium48PtxRU-fdx60wcwBPQ?view) To be updated
---
## Blockscience Specifications - Other
[Liquidity Pool Subsystem](/LJLJJjqFT1ic71jm6nb8GQ) To be updated
[Rebalancing Policy](https://hackmd.io/@shrutiappiah/r1itFRrPv) To be updated and rethought
[Rebalancing Policy Implementation Spec](https://hackmd.io/@mbarlin/H1AucYziw) To be updated and rethought
---
## Notes and Thought Collection
[Shorts and Margin](/d2nQNso1SV-lwgErScZB_A)
[Desiderata for Price Correction Mechanism, Rebalancing, and Liquidity Amplification](https://hackmd.io/2173nOYsQoqTdlj7jKGCug)
---
## Sifchain Team Specifications
[Sifchain Cryptoeconomics Margin Trading Paper](https://hackmd.io/YJTLw7vWSLSDBZoDQDkOKw?view#Sifchain-Margin-Trading-Cryptoeconomics-Paper)
- Maintained
- Source of truth for Margin Trading Implementation Spec
- Has dependencies on the BlockScience documentation
- Frequently updated to contain any updates from the Blockscience documentation
[Deep Margin Product Spec](https://docs.google.com/document/d/1Y-lvj4PO3EtA0e8Spe-UWOKZh4wHqfcu7AS3LVQ_0Fs/edit#heading=h.ohicyztzj152)
- To be updated
[Sifchain Tokenomics](https://hackmd.io/WWLO5kfSQtOr3WlJMXxkeA)
- To be updated
---
## References
[THORChain Documentation]()