tx-generator-2.11: A transaction workload generator for Cardano clusters
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.TxGenerator.Fund

Description

 
Synopsis

Types

Outputs that are available for spending. When building a new transaction, they provide the TxIn parts.

newtype Fund Source #

InAnyCardanoEra helps form heterogenous collections wrt. eras.

Constructors

Fund 

Instances

Instances details
Show Fund Source # 
Instance details

Defined in Cardano.TxGenerator.Fund

Eq Fund Source # 
Instance details

Defined in Cardano.TxGenerator.Fund

Methods

(==) :: Fund -> Fund -> Bool Source #

(/=) :: Fund -> Fund -> Bool Source #

Ord Fund Source # 
Instance details

Defined in Cardano.TxGenerator.Fund

data FundInEra era Source #

FundInEra has field naming conventions suggesting anticipated use of lenses.

Instances

Instances details
Show (FundInEra era) Source # 
Instance details

Defined in Cardano.TxGenerator.Fund

Accessors

Accessors for the various fields of FundInEra starting from a Fund.

getFundTxIn :: Fund -> TxIn Source #

The TxIn is only a TxId and TxIx pair, and so era-independent.

getFundKey :: Fund -> Maybe (SigningKey PaymentKey) Source #

Signing keys are optional as far as funds go.

getFundLovelace :: Fund -> Lovelace Source #

Converting a TxOutValue to Lovelace requires case analysis.

getFundWitness :: forall era. IsShelleyBasedEra era => Fund -> Witness WitCtxTxIn era Source #

The Fund alternative is checked against cardanoEra, but getFundWitness otherwise wraps _fundWitness.