CREATE_ACCOUNT: the new account appears as a CREATED entry and as a CAP-0067 transfer event
Two CREATE_ACCOUNT operations in one transaction, each funding a new account with 1000 XLM.
The shape
Two CREATE_ACCOUNT operations in one transaction, each funding a new account with 1000 XLM. Each operation's meta holds the funder's state and update and the new account as a created entry, and, since CAP-0067, a transfer event of native XLM from the funder to the new account. Readers that count transfer events as payments double-count account funding; readers that only watch payment operations miss it.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,740 B | d386894f0344… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,740 B | 6479efb2b018… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| Operation 0 succeeds. | success | snapshotcorewalker |
| The new account alice is created with 10000000000 stroops. | some change where 2 fields match | constructionsnapshotcorewalker |
| A transfer event moves the same 10000000000 stroops of native XLM from root to alice. p30-mainnet-generated | some change where 4 fields match | constructionsnapshotcorewalker |
| A transfer event moves the same 10000000000 stroops of native XLM from root to alice. p30-testnet-generated | some change where 4 fields match | constructionsnapshotcorewalker |
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.create-account-transfer · compiled from catalog/event.classic.create-account-transfer.json · entry.json
CREATE_PASSIVE_SELL_OFFER returns a MANAGE_SELL_OFFER result
The operation is create_passive_sell_offer, but core turns it into a manage-sell-offer internally (CreatePassiveSellOfferOpFrame.cpp:13), so the result arm is manage_sell_offer.
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).