Skip to content

Document the SAC and CAP-67 asset event schema #2593

Description

@kalepail

Finding

The generic token-interface event documentation does not call out the current
SAC/CAP-67 exception. A reader can reasonably conclude that a direct SAC
transfer has the same three topics as a custom SEP-41 transfer, but current
host source and tests append the SEP-11 asset string to direct SAC and Classic
unified events.

Evidence

Additional recorded evidence:

  • token-interface page presents generic SEP-41 transfer/mint topic shapes
  • CAP-0067 and released/current rs-soroban-env append sep0011_asset to direct SAC transfer/mint events
  • current host test_transfer_with_issuer passed and asserts the asset-appended shape

Recommendation

Add an event-schema table distinguishing custom SEP-41 from current SAC/CAP-67
transfer, mint, burn, and clawback events. Explain that direct SAC and Classic
unified events share the SAC schema and require transaction/operation metadata
to distinguish their path. Link the payment/event-indexing guidance and include
one tested fixture.

Source Record

This was found by the downstream Raven eval/improvements loop and recorded as sd-018 (stellar-docs, discovered 2026-07-11).

Public source record: improvements/stellar-docs/sd-018-sac-cap67-event-schema-gap.md

Immutable source snapshot: bbb0d4f55527

Resolution Handoff

When a fix is deployed, please link the resolving issue or PR to the source record above and notify Raven through:

https://github.com/kalepail/stellar-raven/issues/new?template=upstream-improvement-ready.yml&title=%5Bupstream-ready%5D%20sd-018%3A%20

Include the finding id, resolving issue/PR, deployed version or timestamp, and the smallest live recheck. Raven independently verifies the upstream surface before changing the finding to fixed-upstream; issue closure or a merged PR alone is not treated as proof. After a distinct reviewer repeats the live check, the active finding is retired to Raven's resolved ledger while the immutable snapshot remains available.

Metadata

Metadata

Assignees

Labels

ravenissues discovered by Stellar Raven QA passes

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions