Shared fixtures of the Singular state validator tests.
Every expected token name is obtained from state_token_name, the
producer, at run time. The seeds differ in the transaction id, in the
output index, and in the high byte of the output index, so no two of them
agree on any part a name could be taken from.
application_policy: ByteArray = #"a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9"
The datum genesis must write: the root of the empty trie.
An ordinary output that carries no state token.
other_policy: ByteArray = #"7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c"
other_script: ByteArray = #"6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b"
seeds: List<OutputReference> = [seed_a, seed_b, seed_c, seed_d]
Four seeds, pairwise different in every part.
state_policy: ByteArray = #"5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a"
root_datum(root: ByteArray) -> Datum
token_value(policy: PolicyId, name: AssetName, quantity: Int) -> Value
genuine_output(policy: PolicyId, seed: OutputReference) -> Output
The state output genesis writes for seed.
spent(reference: OutputReference) -> Input
An input that spends reference.
genesis_transaction(policy: PolicyId, seed: OutputReference) -> Transaction
The transaction that creates the registry state of seed under policy.
seed_fuzzer() -> Fuzzer<OutputReference>
Any seed: a 32-byte transaction id and any 16-bit output index.