Skip to content

docs: document the full contract surface + remove Meteora DAMM v1#296

Merged
anil-rome merged 1 commit into
masterfrom
remove-damm-and-document
Jul 20, 2026
Merged

docs: document the full contract surface + remove Meteora DAMM v1#296
anil-rome merged 1 commit into
masterfrom
remove-damm-and-document

Conversation

@anil-rome

Copy link
Copy Markdown
Contributor

Two changes

1. Remove Meteora DAMM v1 — it's a single narrow third-party liquidity-pool binding with no real use case, and it was the headline of the README while the core primitives weren't surfaced. Removed the 3 contracts + their tests + deploy scripts; verified self-contained (nothing else imports them). setup-local.ts and a few dangling comment references cleaned up.

2. Properly document the surface — the README badly under-represented what this repo is (the Solidity SDK for Rome). Now:

  • README rewritten, ordered by importance: precompile interfaces → CPI toolkit → SPL↔ERC-20 (both tracks) → bridge → oracle → primitives → examples.
  • New docs/ARCHITECTURE.md — the full catalog: every contract, what it is, why it exists, and where it's used across the ecosystem.
  • The two SPL wrapper tracks (SPL_ERC20_cached vs SPL_ERC20) documented with a clear when-to-use.
  • The bridge (RomeBridgeWithdraw + CCTP v2 + Wormhole) and oracle (Pyth/Switchboard via Chainlink AggregatorV3Interface) surfaced — the old README mentioned neither.
  • MIT LICENSE added (contracts already MIT-SPDX; no root file existed).

Validation

  • hardhat compile green — 86 files (was 89; the 3 DAMM contracts gone), no errors.
  • CI unit set (oracle + bridge + cpi) — 209 passing.
  • Docs: all internal links resolve; leak-scan clean (no internal/private repo names, hosts, or keys).

Remove the Meteora DAMM v1 integration (no real use case) — contracts,
tests, and scripts — and properly present what rome-solidity actually
exposes:

- Rewritten README, ordered by importance: precompile interfaces, CPI
  toolkit, SPL<->ERC-20 wrappers (both tracks), bridge, oracle, primitives.
- New docs/ARCHITECTURE.md — the full catalog: every contract, what it is,
  why it exists, and where it is used across the ecosystem.
- Document the two SPL wrapper tracks (cached vs CPI) and when to use which.
- Surface the bridge (RomeBridgeWithdraw + CCTP v2 + Wormhole) and oracle
  (Pyth/Switchboard via Chainlink AggregatorV3Interface), which the old
  README did not mention at all.
- Add MIT LICENSE (contracts are already MIT-SPDX; no root license file existed).
@anil-rome
anil-rome merged commit d3c8d78 into master Jul 20, 2026
9 checks passed
@anil-rome
anil-rome deleted the remove-damm-and-document branch July 20, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant