> For the complete documentation index, see [llms.txt](https://docs.spin.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spin.fi/tech-documentation.md).

# Tech Documentation

- [SC Methods & API](https://docs.spin.fi/tech-documentation/sc-methods-and-api.md): Developers' documentation of the Spin smart contract methods and API.
- [Perpetuals](https://docs.spin.fi/tech-documentation/futures.md): This part describes the fundamental components of Spin Perpetuals and their logic including Collateral, Liquidations, Margin Ratio, Funding, etc. Long story short, a nerdish read for techies.
- [Trading Modules](https://docs.spin.fi/tech-documentation/futures/trading-modules.md): This section describes Spin's trading architecture i.e. modules involved in perpetuals trading.
- [Collateral](https://docs.spin.fi/tech-documentation/futures/collateral.md)
- [Unrealized PnL](https://docs.spin.fi/tech-documentation/futures/unrealized-pnl.md)
- [Funding](https://docs.spin.fi/tech-documentation/futures/funding.md)
- [Margin ratio & Liquidation](https://docs.spin.fi/tech-documentation/futures/margin-ratio-and-liquidation.md)
