Skip to content

Update events#4

Merged
tmosleyIII merged 1 commit into
mainfrom
feature/tmosley/update-events
Dec 2, 2025
Merged

Update events#4
tmosleyIII merged 1 commit into
mainfrom
feature/tmosley/update-events

Conversation

@tmosleyIII

Copy link
Copy Markdown
Contributor

This pull request introduces a new protocol buffer definition for token transfer events and adds batching support for contract events in the Stellar API. The changes expand the event model to allow efficient grouping and representation of multiple events per ledger, and provide a comprehensive schema for token transfer events following SEP-41.

New event batching support:

  • Added a new ContractEventBatch message to both the protobuf definition (proto/stellar/v1/contract_events.proto) and the generated Go code (go/gen/stellar/v1/contract_events.pb.go). This message enables batching of multiple contract events from a single ledger. [1] [2]
  • Updated the Go protobuf implementation to support the new ContractEventBatch message, including message type registration and raw descriptor changes. [1] [2] [3]

New token transfer event schema:

  • Added a new protocol buffer file, proto/stellar/v1/token_transfers.proto, which defines messages for token transfer events, including metadata, asset types, transfer actions (transfer, mint, burn, clawback, fee), and batching of token transfer events.

@tmosleyIII tmosleyIII merged commit 173969d into main Dec 2, 2025
2 checks passed
@tmosleyIII tmosleyIII deleted the feature/tmosley/update-events branch December 2, 2025 11:03
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