tests/fake_tx

This is for testing only.

Types

A Datadata type

Alias

DataType = Data

Constants

test_datum: ByteArray = #"acabbeeffacecafe"

A test datum.

Functions

test_out_ref() -> OutputReference

Creates an OutputReference

test_bad_out_ref() -> OutputReference

Creates an OutputReference

test_inputs(amt: Int) -> List<Input>

A fake input used for testing.

test_input() -> Input

A fake input used for testing.

test_script_input() -> Input

A fake input used for testing.

test_input_with_datum_hash() -> Input

A fake input with a datum hash.

test_bad_input() -> Input

A fake input without datum used for testing.

test_one_lovelace_input() -> Input

test_bad_inputs() -> List<Input>

test_output() -> Output

A fake output used for testing.

test_output_with_datum_hash() -> Output

test_bad_output() -> Output

A fake output without datum used for testing.

test_bad_outputs() -> List<Output>

test_signatories() -> List<ByteArray>

A fake list of tx signers

test_tx() -> Transaction

A fake transaction used for testing.

Search Document