A contract deployed with constructor arguments
CREATE_CONTRACT_V2 with three constructor arguments (owner, tag, signers): the constructor runs inside the deploy and writes instance and persistent storage.
The shape
CREATE_CONTRACT_V2 with three constructor arguments (owner, tag, signers): the constructor runs inside the deploy and writes instance and persistent storage.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 12 orderings in 20 runs | 8,708 B | 7dff0c441cfe… |
p28-mainnet-generated | P28 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 8,700 B | 14bf8dd43219… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 8,708 B | 1fc91d12ef52… |
p28-testnet-generated | P28 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 8,700 B | 2899a3d44957… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The deploy passes three constructor arguments. p30-mainnet-generated | length 3 | constructionsnapshot |
| The deploy passes three constructor arguments. p28-mainnet-generated | length 3 | constructionsnapshot |
| The deploy passes three constructor arguments. p30-testnet-generated | length 3 | constructionsnapshot |
| The deploy passes three constructor arguments. p28-testnet-generated | length 3 | constructionsnapshot |
| The constructor writes the Signer(CA2) entry. p30-mainnet-generated | some change where 2 fields match | constructionsnapshotcorewalker |
| The constructor writes the Signer(CA2) entry. p28-mainnet-generated | some change where 2 fields match | constructionsnapshotcorewalker |
| The constructor writes the Signer(CA2) entry. p30-testnet-generated | some change where 2 fields match | constructionsnapshotcorewalker |
| The constructor writes the Signer(CA2) entry. p28-testnet-generated | some change where 2 fields match | constructionsnapshotcorewalker |
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 contract.constructor-args · compiled from catalog/contract.constructor-args.json · entry.json
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.
A contract deployed from an address and salt
CREATE_CONTRACT_V2 from alice with salt sha256("xdrproof:kit:0"): the contract ID is derived from the network ID, the deployer and the salt.