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

Cardano.TxGenerator.Script.Types

Description

this module is currently experimental and serves as testing ground for a new script design for the generator.

Documentation

data RootNode Source #

Instances

Instances details
ToJSON RootNode Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

Methods

toJSON :: RootNode -> Value #

toEncoding :: RootNode -> Encoding #

toJSONList :: [RootNode] -> Value #

toEncodingList :: [RootNode] -> Encoding #

omitField :: RootNode -> Bool #

Generic RootNode Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

Associated Types

type Rep RootNode :: Type -> Type Source #

type Rep RootNode Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

type Rep RootNode = D1 ('MetaData "RootNode" "Cardano.TxGenerator.Script.Types" "tx-generator-2.11-inplace" 'False) ((C1 ('MetaCons "SigningKeys" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NamedKey])) :+: C1 ('MetaCons "Wallets" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Params" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxGenTxParams)) :+: C1 ('MetaCons "Script" 'PrefixI 'False) (U1 :: Type -> Type)))

data NamedKey Source #

Constructors

KeyLiteral 

Fields

KeyFile 

Fields

Instances

Instances details
ToJSON NamedKey Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

Methods

toJSON :: NamedKey -> Value #

toEncoding :: NamedKey -> Encoding #

toJSONList :: [NamedKey] -> Value #

toEncodingList :: [NamedKey] -> Encoding #

omitField :: NamedKey -> Bool #

Generic NamedKey Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

Associated Types

type Rep NamedKey :: Type -> Type Source #

type Rep NamedKey Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

type Rep NamedKey = D1 ('MetaData "NamedKey" "Cardano.TxGenerator.Script.Types" "tx-generator-2.11-inplace" 'False) (C1 ('MetaCons "KeyLiteral" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "base16Cbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "KeyFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))

jsonOptions :: Options Source #

Orphan instances