TransactionOutput

package
v0.0.0-...-ec97d81 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionOutput

type TransactionOutput struct {
	PostAlonzo   TransactionOutputAlonzo
	PreAlonzo    TransactionOutputShelley
	IsPostAlonzo bool
}

TODO

func SimpleTransactionOutput

func SimpleTransactionOutput(address Address.Address, value Value.Value) TransactionOutput

func (TransactionOutput) Clone

func (*TransactionOutput) EqualTo

func (to *TransactionOutput) EqualTo(other TransactionOutput) bool

func (*TransactionOutput) GetAddress

func (to *TransactionOutput) GetAddress() Address.Address

func (*TransactionOutput) GetAddressPointer

func (to *TransactionOutput) GetAddressPointer() *Address.Address

func (*TransactionOutput) GetAmount

func (to *TransactionOutput) GetAmount() Value.Value

func (*TransactionOutput) GetDatum

func (to *TransactionOutput) GetDatum() *PlutusData.PlutusData

func (*TransactionOutput) GetDatumHash

func (to *TransactionOutput) GetDatumHash() *serialization.DatumHash

func (*TransactionOutput) GetDatumOption

func (to *TransactionOutput) GetDatumOption() *PlutusData.DatumOption

func (*TransactionOutput) GetScriptRef

func (to *TransactionOutput) GetScriptRef() *PlutusData.ScriptRef

func (*TransactionOutput) GetValue

func (to *TransactionOutput) GetValue() Value.Value

func (*TransactionOutput) LessThan

func (to *TransactionOutput) LessThan(other TransactionOutput) bool

func (*TransactionOutput) Lovelace

func (to *TransactionOutput) Lovelace() int64

func (*TransactionOutput) MarshalCBOR

func (txo *TransactionOutput) MarshalCBOR() ([]byte, error)

func (*TransactionOutput) SetAmount

func (txo *TransactionOutput) SetAmount(amount Value.Value)

func (*TransactionOutput) SetDatum

func (to *TransactionOutput) SetDatum(datum *PlutusData.PlutusData)

func (TransactionOutput) String

func (txo TransactionOutput) String() string

func (*TransactionOutput) UnmarshalCBOR

func (txo *TransactionOutput) UnmarshalCBOR(value []byte) error

type TransactionOutputAlonzo

type TransactionOutputAlonzo struct {
	Address   Address.Address         `cbor:"0,keyasint"`
	Amount    Value.AlonzoValue       `cbor:"1,keyasint"`
	Datum     *PlutusData.DatumOption `cbor:"2,keyasint,omitempty"`
	ScriptRef *PlutusData.ScriptRef   `cbor:"3,keyasint,omitempty"`
}

func (TransactionOutputAlonzo) Clone

func (TransactionOutputAlonzo) String

func (txo TransactionOutputAlonzo) String() string

type TransactionOutputShelley

type TransactionOutputShelley struct {
	Address   Address.Address
	Amount    Value.Value
	DatumHash serialization.DatumHash
	HasDatum  bool
}

func (TransactionOutputShelley) Clone

func (*TransactionOutputShelley) MarshalCBOR

func (txo *TransactionOutputShelley) MarshalCBOR() ([]byte, error)

func (TransactionOutputShelley) String

func (txo TransactionOutputShelley) String() string

func (*TransactionOutputShelley) UnmarshalCBOR

func (txo *TransactionOutputShelley) UnmarshalCBOR(value []byte) error

type TxOWithDatum

type TxOWithDatum struct {
	Address   Address.Address
	Amount    Value.Value
	DatumHash []byte
	// contains filtered or unexported fields
}

type TxOWithoutDatum

type TxOWithoutDatum struct {
	Address Address.Address
	Amount  Value.Value
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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