# Stockline > Buy stocks. Borrow against them. Earn on dollars. - [Stockline Documentation](https://docs.mystockline.xyz/index.md): Buy stocks. Borrow against them. Earn on dollars. - [Stockline 101](https://docs.mystockline.xyz/introduction/stockline-101.md): The basics in five minutes: buy stocks, borrow dollars, earn on dollars. - [Getting started](https://docs.mystockline.xyz/using/getting-started.md): Sign in, add money, buy your first stock. - [Buy stocks](https://docs.mystockline.xyz/using/buy-stocks.md): Twelve stocks, real logos, one tap. - [Borrow](https://docs.mystockline.xyz/using/borrow.md): Dollars against your stocks. - [Repay and withdraw](https://docs.mystockline.xyz/using/repay-and-withdraw.md): Any amount, any time. - [Earn](https://docs.mystockline.xyz/using/earn.md): Your dollars, working. - [Cash and Earning](https://docs.mystockline.xyz/using/cash-and-earning.md): Where your money sits and how to move it. - [Market hours](https://docs.mystockline.xyz/using/market-hours.md): What changes when the market closes. - [If your stock falls](https://docs.mystockline.xyz/using/if-your-stock-falls.md): The line, the cushion, and what gets sold. - [Testnet](https://docs.mystockline.xyz/using/testnet.md): Free test money to try everything. - [Books and tiers](https://docs.mystockline.xyz/concepts/books-and-tiers.md): Every launch book with tier, LTV, LT, max discount, cap, oracle, and borrowingEnabled. - [The line and the cushion](https://docs.mystockline.xyz/concepts/the-line-and-the-cushion.md): How far a stock can fall before anything happens. - [Interest rates](https://docs.mystockline.xyz/concepts/interest-rates.md): How the rate moves with demand. - [Liquidations](https://docs.mystockline.xyz/concepts/liquidations.md): The auction, partial closes, and the allowlist. - [Reserve and fees](https://docs.mystockline.xyz/concepts/reserve-and-fees.md): Where every fee goes. - [Oracle](https://docs.mystockline.xyz/concepts/oracle.md): Prices, regimes, weekends, and corporate actions. - [Governance](https://docs.mystockline.xyz/concepts/governance.md): What the timelock controls and what nothing can change. - [Developer overview](https://docs.mystockline.xyz/developers/overview.md): Chain, addresses, and how the pieces fit. - [TypeScript](https://docs.mystockline.xyz/developers/getting-started/typescript.md): Read a position with viem. - [React](https://docs.mystockline.xyz/developers/getting-started/react.md): Hooks for the app surface. - [Solidity](https://docs.mystockline.xyz/developers/getting-started/solidity.md): Integrate from a contract. - [Read borrowing power](https://docs.mystockline.xyz/developers/positions/borrowing-power.md): RiskLens returns max borrow and the per-book liquidation price for an account. - [Open a loan](https://docs.mystockline.xyz/developers/positions/open-loan.md): PositionRouter.openPosition pulls stock, supplies it, and borrows USDG in one transaction. - [Repay and withdraw](https://docs.mystockline.xyz/developers/positions/repay-and-withdraw.md): Repay USDG and withdraw collateral through the core or the router. - [Zap in from USDC](https://docs.mystockline.xyz/developers/positions/zap.md): Zap.zapSupply swaps an allowlisted asset to USDG and deposits sUSDG to the caller. - [Market hours](https://docs.mystockline.xyz/developers/market-hours.md): Gate risk-up UI on EquityOracle.regime(). Only LIVE should enable borrow and withdraw. - [Liquidators](https://docs.mystockline.xyz/developers/liquidators.md): Watch health, quote the Dutch auction on LiquidationModule, and submit through Stockline.liquidate. - [Indexer](https://docs.mystockline.xyz/developers/indexer.md): Envio HyperIndex writes Stockline events to Postgres and serves GraphQL. - [Stockline](https://docs.mystockline.xyz/smart-contracts/stockline.md): Stockline is the immutable lending core. - [USDGPool](https://docs.mystockline.xyz/smart-contracts/usdg-pool.md): USDGPool is the shared ERC-4626 vault that funds every book. - [RiskRegistry](https://docs.mystockline.xyz/smart-contracts/risk-registry.md): RiskRegistry holds every governance-writable parameter: tiers, books, per-book overrides, interest-rate curves, caps, fees, liquidation settings, the DEX router - [InterestRateModel](https://docs.mystockline.xyz/smart-contracts/interest-rate-model.md): InterestRateModel is a pure library that turns pool utilization into a per-second borrow rate. - [LiquidationModule](https://docs.mystockline.xyz/smart-contracts/liquidation-module.md): LiquidationModule sizes and settles liquidations for Stockline. - [FeeCollector](https://docs.mystockline.xyz/smart-contracts/fee-collector.md): FeeCollector receives protocol revenue and splits it into a reserve and a treasury. - [EquityOracle](https://docs.mystockline.xyz/smart-contracts/equity-oracle.md): EquityOracle prices one stock token in USDG and reports the market regime that drives Stockline's action table. - [HolidayCalendar](https://docs.mystockline.xyz/smart-contracts/holiday-calendar.md): HolidayCalendar is an append-only list of market holidays keyed by UTC day index (timestamp divided by 86400). - [EquityOracleFactory](https://docs.mystockline.xyz/smart-contracts/equity-oracle-factory.md): EquityOracleFactory deploys EquityOracle instances with CREATE2. - [Timelock](https://docs.mystockline.xyz/smart-contracts/timelock.md): Timelock is the owner of RiskRegistry, FeeCollector, and other governed contracts. - [Guardian](https://docs.mystockline.xyz/smart-contracts/guardian.md): Guardian is the pause key. - [PositionRouter](https://docs.mystockline.xyz/smart-contracts/position-router.md): PositionRouter bundles common position flows into one transaction: open (permit, supply, borrow), close (repay, withdraw), and deleverage (sell collateral, repa - [Zap](https://docs.mystockline.xyz/smart-contracts/zap.md): Zap converts between USDG and allowlisted assets (USDC, USDT, ETH at launch) around the core. - [CreatorFeeRouter](https://docs.mystockline.xyz/smart-contracts/creator-fee-router.md): CreatorFeeRouter receives STK creator fees from Pons in ETH and turns them into supplier yield. - [Emissions](https://docs.mystockline.xyz/smart-contracts/emissions.md): Emissions streams a fixed amount of STK to sUSDG stakers over a fixed schedule. - [RiskLens](https://docs.mystockline.xyz/smart-contracts/risk-lens.md): RiskLens is a read-only helper for the app. - [UniswapV3Adapter](https://docs.mystockline.xyz/smart-contracts/uniswap-v3-adapter.md): UniswapV3Adapter implements ISwapRouter on top of Uniswap V3 SwapRouter02. - [STK](https://docs.mystockline.xyz/ecosystem/stk.md): What it does, how it launched, the burn. - [Stock tokens](https://docs.mystockline.xyz/ecosystem/stock-tokens.md): What Robinhood issues and what it means. - [Robinhood Chain](https://docs.mystockline.xyz/ecosystem/robinhood-chain.md): The network Stockline runs on. - [Pons](https://docs.mystockline.xyz/ecosystem/pons.md): Where STK trades. - [Security and audits](https://docs.mystockline.xyz/resources/security.md): Audits, bug bounty, and access controls. - [FAQ](https://docs.mystockline.xyz/resources/faq.md): Short answers to the questions people ask first. - [Addresses](https://docs.mystockline.xyz/resources/addresses.md): Every Stockline contract address, with explorer and verified-source links. - [Parameters](https://docs.mystockline.xyz/resources/parameters.md): Live table of every registry value, with the timelock queue when it is reachable. - [Access controls](https://docs.mystockline.xyz/resources/access-controls.md): Every privileged function and who can call it, scanned from the contracts. - [Code licensing](https://docs.mystockline.xyz/resources/licensing.md): How the contracts and these docs are licensed. - [Changelog](https://docs.mystockline.xyz/resources/changelog.md): Protocol releases from git tags in the contracts repo. - [Risks](https://docs.mystockline.xyz/resources/risks.md): Single issuer, weekend gaps, and thin exit depth. - [Glossary](https://docs.mystockline.xyz/resources/glossary.md): Internal words and the plain phrase the app uses. - [LLMs.txt](https://docs.mystockline.xyz/resources/llms.md): Every page as markdown for agents.