Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 3 additions & 21 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ NEXT_PUBLIC_POOLED_LENDING_CONTRACT_ID=
NEXT_PUBLIC_GOVERNANCE_CONTRACT_ID=
# N-of-M multisig gating rare, high-impact admin config changes (issue #73):
# whitelisting collateral assets, fee tables, linking governance/oracle, and
# moving insurance-fund balances. See contracts/MULTISIG_ADMIN.md.
# moving insurance-fund balances. See docs/contracts/multisig-admin.md.
NEXT_PUBLIC_MULTISIG_ADMIN_CONTRACT_ID=

# TLEND governance token and its distribution contracts (issue #107). Optional —
Expand All @@ -98,24 +98,6 @@ NEXT_PUBLIC_TLEND_TOKEN_CONTRACT_ID=
NEXT_PUBLIC_TLEND_VESTING_CONTRACT_ID=
NEXT_PUBLIC_TLEND_AIRDROP_CONTRACT_ID=

# Soroban event indexer read models
# Point these at a Mercury, Ensorcel, or custom subgraph/indexer deployment.
# During migration the app tries the indexer first and falls back to Supabase.
# Set TRUSTLEND_INDEXER_READ_MODE=required only after the indexer is fully backfilled.
TRUSTLEND_INDEXER_READ_MODE=fallback
TRUSTLEND_INDEXER_GRAPHQL_URL=
TRUSTLEND_INDEXER_REST_URL=
TRUSTLEND_INDEXER_API_KEY=

# Optional: override the default GraphQL documents if your indexer schema uses
# different collection/filter names. The app falls back to REST when only
# TRUSTLEND_INDEXER_REST_URL is configured.
TRUSTLEND_INDEXER_BORROWER_LOANS_QUERY=
TRUSTLEND_INDEXER_LENDER_LOANS_QUERY=
TRUSTLEND_INDEXER_ADMIN_LOANS_QUERY=
TRUSTLEND_INDEXER_REPUTATION_EVENTS_QUERY=
TRUSTLEND_INDEXER_ESCROW_EVENTS_QUERY=

# ── Admin Stellar Address ─────────────────────────────────────────────────────
# This is the public G... address of the account that has administrative
# privileges on the contracts (e.g., freezing accounts, triggering payouts).
Expand Down Expand Up @@ -303,7 +285,7 @@ ORACLE_DISCORD_WEBHOOK_URL=
# Backup" GitHub Actions workflow (.github/workflows/db-backup.yml).
#
# In CI these are repository *secrets*, not values in this file. Restore
# instructions and bucket setup live in DISASTER_RECOVERY.md.
# instructions and bucket setup live in docs/disaster-recovery.md.
#
# Direct Postgres connection string. Use the DIRECT connection (port 5432), not
# the pooled/pgbouncer one — pg_dump needs session-level features the pooler
Expand All @@ -318,7 +300,7 @@ BACKUP_ENCRYPTION_KEY=
#
# Destination bucket name, without the s3:// prefix. Should live in a different
# account or at least a different region from the database, and have versioning
# plus a restrictive bucket policy. See DISASTER_RECOVERY.md.
# plus a restrictive bucket policy. See docs/disaster-recovery.md.
S3_BUCKET=
#
# Optional. Key prefix within the bucket (default: backups).
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
`Run: ${runUrl}`,
'',
'The database is running without a fresh off-site backup until this is fixed.',
'See DISASTER_RECOVERY.md for the runbook.',
'See docs/disaster-recovery.md for the runbook.',
].join('\n');

// Reuse an existing open report rather than filing one per night.
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ lib/contracts/generated/
# Per-network deployment state used by `npm run deploy:testnet -- --resume`
contracts/.deployments/

/docs

# playwright
playwright-report/
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
rejection, and pushed on-chain. Fallback chain is live → cached → on-chain
TWAP → refuse to publish. The liquidation keeper now values positions with the
live price instead of a hardcoded constant. See
[ORACLE_PRICE_FEEDS.md](ORACLE_PRICE_FEEDS.md).
[docs/oracle-price-feeds.md](docs/oracle-price-feeds.md).
- Referral programme (#266): every user gets a unique invite link, and when an
invited friend's first loan is funded the referrer's bonus is transferred
automatically by the new `referral_rewards` Soroban contract during
`activate_loan`. Includes a referral dashboard, attribution APIs, and
`sql/09_referral_program.sql`. See [REFERRAL_PROGRAM.md](REFERRAL_PROGRAM.md).
`sql/09_referral_program.sql`. See [docs/referral-program.md](docs/referral-program.md).
- Borrowing user guide and FAQ at `/docs/borrowing`, covering the step-by-step
borrowing process, how the liquidation threshold is calculated, Health Factor
bands, and 15 frequently asked questions. Linked from the borrower dashboard
Expand Down
22 changes: 0 additions & 22 deletions Dockerfile.dev

This file was deleted.

226 changes: 0 additions & 226 deletions OPTIMIZATION_SUMMARY.md

This file was deleted.

Loading
Loading