02Sheet 02.03.095 · Entries
A sponsorship sandwich: entries created under another account's reserve
BEGIN_SPONSORING / manage_data and change_trust by eve / END_SPONSORING: the data entry and trustline are eve's, their reserve is sponsor's.
FIG. · Where it sits · inside LedgerCloseMetaCAP-0033 · H-C3
BeginSponsoringFutureReserves … EndSponsoringFutureReserves around two entries
The shape
BEGIN_SPONSORING / manage_data and change_trust by eve / END_SPONSORING: the data entry and trustline are eve's, their reserve is sponsor's.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 3 orderings in 20 runs | 3,216 B | cd573c9fc562… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 3,216 B | 942e4cab42a8… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| Operation 1 creates eve's data entry "sponsored". | some change where 2 fields match | snapshotcorewalker |
| The created data entry names sponsor as its sponsor. | 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 sponsorship.sandwich · compiled from catalog/sponsorship.sandwich.json · entry.json
Revoking the sponsorship of a signer
REVOKE_SPONSORSHIP of a sponsored signer: no entry changes type; the account's signer sponsorship list changes.
Deauthorizing a trustline removes offers, redeems pool shares into claimable balances and deletes the pool
SET_TRUST_LINE_FLAGS clears every authorization on mm's XPF trustline.