Skip to content

feat: add map based sep-41 event definitions#1947

Draft
mootz12 wants to merge 2 commits into
stellar:masterfrom
mootz12:sep-41-event-update
Draft

feat: add map based sep-41 event definitions#1947
mootz12 wants to merge 2 commits into
stellar:masterfrom
mootz12:sep-41-event-update

Conversation

@mootz12

@mootz12 mootz12 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Implement a Map data format to all SEP-41 events. Any event may be extended with further keys by other token SEPs or implementations. Consumers must tolerate unknown keys on event data.

Discussion: https://github.com/orgs/stellar/discussions/1948

Copilot AI review requested due to automatic review settings June 8, 2026 21:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the SEP-41 (Soroban Token Interface) specification to explicitly define a map-based (Map<Symbol, ...>) event data format across all token events, while preserving the original pre-map formats for backward compatibility.

Changes:

  • Bumps SEP-41 version to 0.5.0 and updates the Updated date.
  • Adds a general rule that events support both an original data format and a map data format, and that unknown map keys must be tolerated.
  • Documents original vs map data formats for approve, transfer, burn, mint, and clawback events.

Comment thread ecosystem/sep-0041.md Outdated
Comment thread ecosystem/sep-0041.md
Comment thread ecosystem/sep-0041.md
Comment thread ecosystem/sep-0041.md
@stellar stellar locked as off-topic and limited conversation to collaborators Jun 8, 2026
@leighmcculloch leighmcculloch marked this pull request as draft June 9, 2026 02:28
@leighmcculloch

Copy link
Copy Markdown
Member

Changed this to a draft since it's in discussion and to take it out of the review-and-merge-now queue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants