A claimable balance with nested and/or/not predicates and a B… address event
CREATE_CLAIMABLE_BALANCE with predicate and(not(before_relative 60), or(before_absolute 2100-01-01, unconditional)).
The shape
CREATE_CLAIMABLE_BALANCE with predicate and(not(before_relative 60), or(before_absolute 2100-01-01, unconditional)). The result returns the balance ID as a B… strkey, and the event names it as the destination.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 20 runs | 4,068 B | 415a055aba81… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 4,068 B | ada08b7cb996… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The result returns the balance ID. | BAADXOS52AXMP4SWKB46PTNCCATHNNIMAUC7T4EPIACH5CZRN6HIK4BKR4 | constructionsnapshotcorewalker |
| The first claimant's predicate is an and whose first branch is a not. | some change where 1 fields match | snapshotcorewalker |
| The transfer event goes to the B… address. | 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 claimable-balance.nested-predicates · compiled from catalog/claimable-balance.nested-predicates.json · entry.json
A claimable balance created by operation 1 with a muxed operation source, inside a fee bump
The balance ID is the hash of (inner source base account, inner sequence number, operation index 1); the muxed operation source and the fee bump must not change it.
A mainnet path payment with a 5-asset path inside a fee bump
path<5> full on mainnet: a strict-send path payment through 5 assets, wrapped in a fee bump.