Skip to content

About

Soroban lending protocol on Stellar.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

XOXNO Lending

CI

XOXNO Lending is a collateralized lending protocol on Stellar Soroban. Suppliers earn interest on borrowed liquidity. Borrowers hold debt against collateral, with account risk enforced by a controller and tokens held in a central pool.

Documentation

Start with Architecture for markets, accounts, and contract responsibilities. Auditors can continue through the threat model, invariants, formulas, and design rationale in the order below. Integrators can then use the endpoint, event, and error references.

These documents describe this source tree. Deployed code, owners, and configuration require separate verification.

Question Reference
Components, authority, custody Architecture
Attacks, trust assumptions, residual risks Threat model
Safety properties and their limits Invariants
Units, rounding, interest, risk, numeric limits Formulas
Design rationale Decisions
Open decision: liquidator payoff at C = D (R-23) R-23 memo
Callable surface and authorization Endpoints
Event payloads and indexing Events
Failure codes and causes Errors
Governance bad-debt cleanup Force-socialize runbook
Listing a daily-NAV share with 0 decimals Liqvid listing parameters
Formal-model boundaries and prover diagnosis Certora tuning

Development

Install the Rust toolchain and targets in rust-toolchain.toml and the Stellar CLI, then build the WASM contracts before running tests.

git clone https://github.com/XOXNO/rs-lending-xlm.git
cd rs-lending-xlm
make build
make test
make help
Task Command
Workspace tests, including required testing features make build, then make test
Integration harness alone, after WASM build make test-harness
Contract WASM build make build
Formatting check / lint make fmt-check / make clippy
Documentation links and symbol names make docs-check

Contracts, shared logic, and client interfaces live in contracts/, common/, and interfaces/. Verification lives in tests/ and certora/. The keeper and exporter use separate service workspaces. See Contributing for change and review requirements.

Security and license

Report vulnerabilities through SECURITY.md, not public issues. Money movement, authorization, risk, and storage changes require verification of their affected invariants.

Licensed under PolyForm Noncommercial 1.0.0. Commercial use requires a written agreement with XOXNO.

About

Soroban lending protocol on Stellar.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages