tpkg

package
v1.0.0-alpha.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualOutput

func EqualOutput(t *testing.T, expected *utxoledger.Output, actual *utxoledger.Output)

func EqualOutputs

func EqualOutputs(t *testing.T, expected utxoledger.Outputs, actual utxoledger.Outputs)

func EqualSpent

func EqualSpent(t *testing.T, expected *utxoledger.Spent, actual *utxoledger.Spent)

func EqualSpents

func EqualSpents(t *testing.T, expected utxoledger.Spents, actual utxoledger.Spents)

func RandLedgerStateOutput

func RandLedgerStateOutput() *utxoledger.Output

func RandLedgerStateOutputOnAddress

func RandLedgerStateOutputOnAddress(outputType iotago.OutputType, address iotago.Address) *utxoledger.Output

func RandLedgerStateOutputOnAddressWithAmount

func RandLedgerStateOutputOnAddressWithAmount(outputType iotago.OutputType, address iotago.Address, amount iotago.BaseToken) *utxoledger.Output

func RandLedgerStateOutputWithOutput

func RandLedgerStateOutputWithOutput(output iotago.Output) *utxoledger.Output

func RandLedgerStateOutputWithType

func RandLedgerStateOutputWithType(outputType iotago.OutputType) *utxoledger.Output

func RandLedgerStateSpent

func RandLedgerStateSpent(indexSpent iotago.SlotIndex) *utxoledger.Spent

func RandLedgerStateSpentWithOutput

func RandLedgerStateSpentWithOutput(output *utxoledger.Output, indexSpent iotago.SlotIndex) *utxoledger.Spent

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL