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.
The shape
SET_TRUST_LINE_FLAGS clears every authorization on mm's XPF trustline. Core removes mm's three XPF offers, redeems mm's pool shares into two claimable balances for mm (no CREATE_CLAIMABLE_BALANCE), removes the pool-share trustline and, mm being the last shareholder, the pool itself. Readers that only create balances and pools from their own operations miss all of it.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 20 orderings in 20 runs | 4,672 B | 02f5b6e95f43… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 4,672 B | 4875825271f2… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| Two claimable balances are created, each for mm. | some change where 1 fields match | snapshotcorewalker |
| The pool is removed. | some change where 1 fields match | snapshotcorewalker |
| Offer 3 of mm is removed. | some change where 1 fields match | snapshotcorewalker |
| mm's XPF trustline keeps only the clawback bit (flags 4). | some change where 2 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 revoke.cascade-offers-pool-shares · compiled from catalog/revoke.cascade-offers-pool-shares.json · entry.json
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.
A pre-authorized transaction that fails still removes its signer
The payment fails (no trustline), yet core removes the T… signer in tx_changes_before: a failed transaction changed state.