A classic payment emits a transfer event (CAP-0067)
Since CAP-0067, classic operations emit the same events as the Stellar Asset Contract: a native payment emits transfer with from, to and the asset.
The shape
Since CAP-0067, classic operations emit the same events as the Stellar Asset Contract: a native payment emits transfer with from, to and the asset. Readers that take payments only from operations, or only from Soroban events, double-count or miss them.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,180 B | 7436cc49fd42… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,180 B | c3e1a359435c… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The operation emits a transfer event from alice to bob in native. | some change where 4 fields match | snapshotcorewalker |
| The amount is 1 XLM (10,000,000 stroops) as an i128. | some change where 1 fields match | constructionsnapshotcorewalker |
| The transaction-level events carry the fee charge. | some change where 1 fields match | snapshotcorewalker |
Check it yourself
make verify # schema, hashes, the byte-for-byte round trip and every fact above
make oracle # the facts' values, re-read by stellar-core and the schema walkerEntry id event.classic.payment-transfer · compiled from catalog/event.classic.payment-transfer.json · entry.json
A payment from the issuer is a mint event, not a transfer
Under CAP-0067 a payment whose source is the asset issuer emits mint (not transfer).
A mainnet contract event whose data is a deeply nested ScVal
A DeFi vault event carries nested maps and vectors in its data: readers with shallow ScVal handling truncate it.