02Sheet 02.03.077 · Entries
A trustline balance is clawed back
CLAWBACK burns 10 XPF from mm's trustline and emits a clawback event.
FIG. · Where it sits · inside LedgerCloseMetaCAP-0035 · H-C10
ClawbackOp on a trustline
The shape
CLAWBACK burns 10 XPF from mm's trustline and emits a clawback event.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,320 B | 8fe41be7a172… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,320 B | 1717d19cde91… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The clawback event names mm and XPF. | some change where 2 fields match | snapshotcorewalker |
| Operation 0 (clawback) succeeds. | success | 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 trustline.clawback · compiled from catalog/trustline.clawback.json · entry.json
ALLOW_TRUST authorizes a trustline
The deprecated but valid ALLOW_TRUST operation sets AUTHORIZED on bob's XPF trustline.
A trustline set to authorized-to-maintain-liabilities
SET_TRUST_LINE_FLAGS clears AUTHORIZED (1) and sets AUTHORIZED_TO_MAINTAIN_LIABILITIES (2) on bob's XPF trustline, which also carries TRUSTLINE_CLAWBACK_ENABLED (4) inherited from the issuer: flags go from 5 to 6.