Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type NumberOfTxs = Int Source #
data TxGenError where Source #
ApiError :: Error e => !e -> TxGenError | |
ProtocolError :: Error e => !e -> TxGenError | |
PlutusError :: Show e => !e -> TxGenError | |
TxGenError :: !String -> TxGenError |
Instances
Semigroup TxGenError Source # | |
Defined in Cardano.TxGenerator.Types (<>) :: TxGenError -> TxGenError -> TxGenError Source # sconcat :: NonEmpty TxGenError -> TxGenError Source # stimes :: Integral b => b -> TxGenError -> TxGenError Source # | |
Show TxGenError Source # | |
Defined in Cardano.TxGenerator.Types | |
Error TxGenError Source # | |
Defined in Cardano.TxGenerator.Types prettyError :: TxGenError -> Doc ann # |
data TxEnvironment era Source #
TxEnvironment | |
|
type TxGenerator era = [Fund] -> [TxOut CtxTx era] -> Either TxGenError (Tx era, TxId) Source #
type NumberOfInputsPerTx = Int Source #
type NumberOfOutputsPerTx = Int Source #
type TxAdditionalSize = Int Source #
type FundSource m = m (Either TxGenError [Fund]) Source #
type FundToStore m = Fund -> m () Source #
type FundToStoreList m = [Fund] -> m () Source #
data TxGenTxParams Source #
TxGenTxParams | |
|
Instances
data TxGenConfig Source #
TxGenConfig | |
|
Instances
Show TxGenConfig Source # | |
Defined in Cardano.TxGenerator.Types | |
Eq TxGenConfig Source # | |
Defined in Cardano.TxGenerator.Types (==) :: TxGenConfig -> TxGenConfig -> Bool Source # (/=) :: TxGenConfig -> TxGenConfig -> Bool Source # |
data TxGenPlutusType Source #
LimitSaturationLoop | Generate Txs for a Plutus loop script, choosing settings to max out per Tx script budget |
LimitTxPerBlock_8 | Generate Txs for a Plutus loop script, choosing settings to best fit 8 Txs into block script budget |
BenchCustomCall | Built-in script for benchmarking various complexity of data passed via Plutus API |
CustomScript |
Instances
data TxGenPlutusParams Source #
PlutusOn | Generate Plutus Txs for given script |
| |
PlutusOff | Do not generate Plutus Txs |
Instances
FromJSON TxGenPlutusParams Source # | This deserialization is not a general one for that type, but custom-tailored to the service definition in: nixnixostx-generator-service.nix |
Defined in Cardano.TxGenerator.Setup.NixService | |
Show TxGenPlutusParams Source # | |
Defined in Cardano.TxGenerator.Types | |
Eq TxGenPlutusParams Source # | |
Defined in Cardano.TxGenerator.Types (==) :: TxGenPlutusParams -> TxGenPlutusParams -> Bool Source # (/=) :: TxGenPlutusParams -> TxGenPlutusParams -> Bool Source # |
data PlutusAutoBudget Source #
PlutusAutoBudget | Specifies a budget and parameters for a PlutusAuto loop script |
|
Instances
Show PlutusAutoBudget Source # | |
Defined in Cardano.TxGenerator.Types | |
Eq PlutusAutoBudget Source # | |
Defined in Cardano.TxGenerator.Types (==) :: PlutusAutoBudget -> PlutusAutoBudget -> Bool Source # (/=) :: PlutusAutoBudget -> PlutusAutoBudget -> Bool Source # |
isPlutusMode :: TxGenPlutusParams -> Bool Source #