Repository navigation
Description
Summary
Team decision: drop the separate multi-token PaymentChannel contract entirely and make the existing StablePaymentChannel accept multiple governance-allowlisted stablecoins from day 1 — no PoC/production split for payments.
- Launch with USDC. Governance can add more stablecoins to the allowlist later.
- Anyone wanting a non-stablecoin token swaps it themselves off-protocol when sending/receiving. The contract never prices across tokens, so no oracles are needed — that was the source of unacceptable contract complexity.
StablePaymentChannelis the one payment contract, multi-stablecoin from launch. The good parts of ADR 010 (governance allowlist, per-token rate bounds, token-in-channel-ID,forceCloseChannelon token removal, token vetting, wire/gossip/incentive plumbing) move into ADR 003, scoped to stablecoins (no arbitrary ERC-20, no price normalization).- ADR 010 is rewritten to a short Dropped record. Every
PaymentChannelreference and PoC/production payment seam across the corpus is removed.
This reshapes scope: a previously post-PoC feature is partially adopted (multi-stablecoin) and partially rejected (arbitrary multi-token + separate contract).
Decision detail
| Before | After | |
|---|---|---|
| Payment contract | StablePaymentChannel (PoC, USDC-only) → superseded by PaymentChannel (prod, any ERC-20) |
StablePaymentChannel only — multi-stablecoin allowlist from day 1 |
| Token scope | Arbitrary governance-approved ERC-20 (prod) | Governance-allowlisted stablecoins (USDC at launch) |
| Cross-token pricing | Implicit oracle/price-normalization problem (open) | None — single-token channels; users swap off-protocol |
| PoC/prod seam | StablePaymentChannelClient vs MultiTokenPaymentChannelClient |
Single client, no seam |
| ADR 010 | Proposed (Post-PoC) |
Dropped (short record; surface lives in ADR 003) |
ADR 003 — fold in the multi-stablecoin surface (primary edits)
Rewrite "PoC USDC-only / superseded by ADR 010" framing → "multi-stablecoin allowlist from day 1, USDC at launch":
- Decision/Context/Consequences prose: USDC-only → governance-allowlisted stablecoin (USDC at launch); the Circle-freeze line no longer "deferred to ADR 010" (mitigation is available day 1 by allowlisting a non-Circle stablecoin).
### StablePaymentChannelintro: drop "PoC payment channel … superseded by multi-tokenPaymentChannel".Channel.token: "hardcoded to USDC for PoC; any ERC-20 in production" → "any allowlisted stablecoin; set at open, immutable".- Channel ID:
keccak256(client, provider, channelNonce)→keccak256(client, provider, token, channelNonce)(concurrent channels per stablecoin); update the ordering note and drop the "ADR 010 extends this" terminology aside. - Function table + lifecycle: add
addToken(token, deliveryFloor, deliveryCeiling),removeToken(token),forceCloseChannel(channelId);openChannel(provider, deposit)→openChannel(provider, token, deposit);getRateBounds()→getRateBounds(token);setRateBounds(floor, ceiling)→setRateBounds(token, floor, ceiling). - Constructor
(usdc, feeRouter, disputeWindow)→(initialStablecoin, feeRouter, disputeWindow)withaddToken(initialStablecoin, 1, 1000)at deploy. - Events:
ChannelOpened.tokencomment → "allowlisted stablecoin"; addTokenAdded/TokenRemoved;ChannelForceClosedByTokenRemovalis native (drop "production PaymentChannel only"). - Rate bounds become per-token (each in its own base units); rewrite "deferred to ADR 010" + the "Multi-token extension" subsection so
RateBoundsUpdated(address indexed token, …)is the day-1 event; relabel "Initial rate bounds (PoC)" → "(USDC at launch)"; drop "governable post-PoC" → "governable". - Decimal Handling: amounts in the channel token's base units; fold ADR 010's
TokenInfo+ on-chaindecimals()cross-check (fatal mismatch at startup); drop "Currency enum deferred to ADR 010". - Move ADR 010's Token Vetting Checklist here, scoped to stablecoins: add an explicit "must be a fiat-pegged stablecoin (~1:1 with the reference unit)" requirement; keep items 1–7; the new anchor becomes the inbound link target (see below).
- Slashing-interaction line: "governance-approved tokens (ADR 010)" → "allowlisted stablecoin".
ADR 005 / 013 — wire protocol native from v1
- ADR 005
StreamRequest: addpayment_token: Addressto the base schema (it ships before first implementation, so no compat issue); add theUnsupportedToken { accepted: Vec<Address> }response (folded from ADR 010 "Wire Protocol").getRateBounds()→getRateBounds(token)at line ~81. - ADR 013 line ~258: rewrite the note —
payment_tokenis in baseStreamRequestfrom v1, so the postcard positional-append hazard / "post-PoC" framing no longer applies.
ADR 008 — reputation cross-token normalization
Line ~65 open question references ADR 010's lack of price normalization. With a stablecoin-only allowlist, settlement values normalize by decimals to a common USD-cent unit (peg ≈ 1:1, no oracle). Fix: rewrite to state decimal-normalization across allowlisted stablecoins; remove the speculative "future amendment to ADR 010 / isStablecoinEquivalent flag". (See open question O1.)
Plain rename / repoint (PaymentChannel → StablePaymentChannel, drop ADR 010 link)
- ADR 009 L79–82, L109: drop "PaymentChannel (production)"; per-token floor is native (not "in production, ADR 010").
- ADR 014 L242, L56: verify StablePaymentChannel wording carries no USDC-only/PoC framing.
- ADR 016: inventory row L24 (Token Types
USDC→ allowlisted stablecoins; drop "multi-token PaymentChannel … deferred"); L8 reference list (drop ADR 010); L606 funds table; L624 ("/ PaymentChannel"); L773–783 "Multi-Token Reentrancy Considerations (deferred per ADR 010)" → native to StablePaymentChannel; L781/L789/L820; References L839/L841. - ADR 018 L61, ADR 026 L59:
PaymentChannel.settleChannel→StablePaymentChannel.settleChannel. - ADR 019 L121:
getRateBounds(token), drop PoC/prod split. - ADR 024 L38/L89: USDC → allowlisted stablecoin.
- adr/README.md L3/L10/L22, architecture.md L73/L76/L149/L193, glossary.md L22.
- appendix-operator-key-rotation.md L54/L113, appendix-operator-upgrade-path.md L62/L114/L125/L127/L138 (no contract-swap migration;
forceCloseChannelnow applies to a removed stablecoin, not a PoC→prod replacement), appendix-poc-production-seams.md L17/L29/L78–91/L147/L164/L293–295/L345–348 (remove the payment-contract andtoken_ratesseam rows; collapse the dualPaymentChannelClientimpls into one).
ADR 010 — rewrite to Dropped
**Status:** Proposed (Post-PoC) → **Status:** Dropped. Short, self-contained body: the separate arbitrary-ERC-20 PaymentChannel contract (and the PoC→prod swap/migration) is dropped because correct cross-token settlement pricing would require oracles → unacceptable contract complexity; multi-stablecoin support is instead handled by ADR 003's StablePaymentChannel governance allowlist from day 1; non-stablecoins are swapped off-protocol by users. No issue/PR refs, no _history breadcrumb (per the self-contained + no-breadcrumb conventions).
Convention guardrails
decdn/adr/stays self-contained: no issue/PR/self-repo refs introduced in any ADR/appendix/README; ADR 010 link removals must not leave dangling[ADR 010]/anchors.- Repoint inbound anchors:
010-multi-token.md#token-vetting-checklist→ ADR 003's new vetting anchor;010-multi-token.md#migration-from-adr-003references retired (no migration exists). - Heading levels: no skips when restructuring ADR 003 / ADR 010.
- Statuses of other ADRs unchanged (only ADR 010 flips).
Open questions — need your call
- O1 — FeeRouter / six-bucket split is USDC-denominated. ADR 026's
FeeRouter.routeSettlementand the six buckets assume USDC. With non-USDC stablecoin channels, settlement forwards e.g. DAI toFeeRouter. Recommended: keep the gate at the allowlist — governance does notaddTokena second stablecoin until per-tokenFeeRouteraccounting is wired, mirroring ADR 016 §Tunable Economics ("ship full surface, governance activates when ready"). Launch is USDC-only in practice. Your call: accept this gating model, or specify per-tokenFeeRouteraccumulators now? - O2 — ADR 008 open question. Recommended fix closes it (stablecoin peg makes normalization trivial). OK to close it, or keep it flagged as an explicit open item?
- O3 — Dropped ADR in the canonical book. ADR 010 stays a file (per your instruction) and remains in the reading-order book + numeric PDF as a 1-page Dropped record. Alternative: move the rejected-design detail to
adr/_history/alternatives-pre-launch.mdand make ADR 010 a pure pointer (closer to the "ADRs are not an iteration log" README convention). Recommended: concise Dropped ADR 010, no_historychange (matches your explicit instruction; minimal scope). - O4 — Status vocabulary. Using bare
Dropped(no corpus precedent; matches your "set its status to drop" phrasing and the bare-word sign-off convention). Confirm vs.Superseded by ADR 003.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
github-actions commentedon May 18, 2026
🎯 Triage report
This is a well-specified team decision to collapse the two-contract payment model (
StablePaymentChannelPoC +PaymentChannelpost-PoC) into a singleStablePaymentChannelwith a governance-managed stablecoin allowlist from day one, eliminating the need for oracles. The scope is large — it touches ADR 003, 005, 008, 009, 010, 013, 014, 016, 018, 019, 024, 026, and multiple appendices — but each edit site is precisely called out. Four open questions need author sign-off before the work can be considered complete.📊 Assessment
adr-review,consistency,economics,scope,ADR— already applied🔗 Similar issues
StakingRegistry+PaymentChannelintegration; will need to be re-scoped or updated once thePaymentChannelcontract is formally droppedPaymentChannelchanges the contract inventory and may need a follow-up scope correction in that issue💡 Notes and suggestions
Open questions that must be resolved before merging:
addTokena second stablecoin until per-tokenFeeRouteraccounting exists) is pragmatic and consistent with the "full surface, governance activates" principle in ADR 016. Accepting it avoids spec work now; the alternative (per-tokenFeeRouteraccumulators in this PR) would be a significant addition. Recommend accepting gating._historychange" option is cleanest and matches the stated convention. Recommend accepting.Dropped(bare word) is unambiguous and matches the author's own phrasing.Superseded by ADR 003is also defensible but implies ADR 003 replaces ADR 010 wholesale rather than absorbing a subset. RecommendDropped.Suggested sub-task checklist for the implementing PR:
payment_tokenin baseStreamRequestfrom v1;UnsupportedTokenresponse; update compat notePaymentChannelClientimpl fromappendix-poc-production-seams.md; updateappendix-operator-upgrade-path.mdmigration proseDroppedrecordadr/README.md,architecture.md,glossary.md: update all affected references[ADR 010]anchors remain after link removalsPaymentChannelis formally droppedRisk note:
appendix-poc-production-seams.mdlines 78–91 and 293–295 / 345–348 remove the entire payment-contract seam section — reviewers should confirm no Rust code incrates/incentive/still imports aPaymentChanneltype before merging.docs(adr): drop multi-token PaymentChannel; StablePaymentChannel mult…
docs(adr): drop multi-token PaymentChannel; StablePaymentChannel mult…
alpergundogdu commentedon May 19, 2026
Closing — superseded by #591 (single-token USDC).
This issue proposed a multi-stablecoin allowlist from day 1. The team subsequently reversed direction: #591 ("Single-token launch: USDC-only, address fixed at deployment") explicitly rejected this approach, and its ADR changes are merged. The implementation PR for this issue (#585) was closed unmerged.
The four open questions are all resolved by the single-USDC decision:
effective_settled_valuenow states single-USDC, no normalization.adr/_history/alternatives-pre-launch.md; "do not reuse 010" recorded in CLAUDE.md.No further ADR work required; the corpus is consistent with the single-USDC model. Closing as superseded.