An XLM SAC transfer to a muxed contract address (W…)
CAP-0084 muxed contract address: the argument is SC_ADDRESS_TYPE_MUXED_CONTRACT (a W… strkey); the event names the contract (C…) and carries to_muxed_id 84; the balance is the contract's.
The shape
CAP-0084 muxed contract address: the argument is SC_ADDRESS_TYPE_MUXED_CONTRACT (a W… strkey); the event names the contract (C…) and carries to_muxed_id 84; the balance is the contract's.
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 | 3,508 B | bff3b27c30e0… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 3,508 B | 3fa2da0b0f1d… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The destination argument is the kit contract muxed with ID 84, a W… strkey. p30-mainnet-generated | WBDMIB73D44GAETT5Q73GXU54Q54UOUMJG3ZTZUQPK2FVKGGEGJGCAAAAAAAAAAAKQA6C | constructionsnapshotcorewalker |
| The destination argument is the kit contract muxed with ID 84, a W… strkey. p30-testnet-generated | WCYYWFMANUG6OXBO3SCQGHBPIJDJQIINHQ6XHXZPHFBZXGIXABPG4AAAAAAAAAAAKQVBI | constructionsnapshotcorewalker |
| The event names the contract and carries to_muxed_id 84. p30-mainnet-generated | some change where 2 fields match | snapshotcorewalker |
| The event names the contract and carries to_muxed_id 84. p30-testnet-generated | 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 sac.xlm-transfer-muxed-contract · compiled from catalog/sac.xlm-transfer-muxed-contract.json · entry.json
An XLM SAC transfer creates a G account
Since CAP-0073 the native SAC can transfer to an account that does not exist: the transfer creates it with 25 XLM.
An XLM SAC transfer to a muxed address: the event splits it into to and to_muxed_id
The transfer argument is M(bob, 2^64-1). The event names bob's G address in topics and carries the ID as to_muxed_id (u64) in a data map instead of a bare i128.