Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CompileError where
- type Compiler a = RWST NixServiceOptions (DList Action) Int (Except CompileError) a
- throwCompileError :: CompileError -> Compiler a
- maxOutputsPerTx :: Int
- type SrcWallet = String
- type DstWallet = String
- compileOptions :: NixServiceOptions -> Either CompileError [Action]
- runCompiler :: NixServiceOptions -> Compiler () -> Either CompileError [Action]
- testCompiler :: NixServiceOptions -> Compiler a -> Either CompileError (a, Int, [Action])
- compileToScript :: Compiler ()
- initConstants :: Compiler ()
- importGenesisFunds :: Compiler String
- addCollaterals :: SrcWallet -> Compiler (Maybe String)
- splittingPhase :: SrcWallet -> Compiler DstWallet
- data Split
- splitSequenceWalletNames :: SrcWallet -> DstWallet -> [Split] -> Compiler [(SrcWallet, DstWallet, Split)]
- unfoldSplitSequence :: Lovelace -> Lovelace -> Int -> [Split]
- benchmarkingPhase :: String -> Maybe String -> Compiler String
- data Fees = Fees {}
- evilFeeMagic :: Compiler Fees
- emit :: Action -> Compiler ()
- logMsg :: Text -> Compiler ()
- cmd1 :: (v -> Action) -> (NixServiceOptions -> v) -> Compiler ()
- askNixOption :: (NixServiceOptions -> v) -> Compiler v
- delay :: Compiler ()
- isPlutusType :: TxGenPlutusType -> Compiler Bool
- isAnyPlutusMode :: Compiler Bool
- newIdentifier :: String -> Compiler String
- newWallet :: String -> Compiler String
- parseKey :: ByteString -> SigningKey PaymentKey
- keyNameGenesisInputFund :: String
- keyNameTxGenFunds :: String
- keyTxGenFunds :: SigningKey PaymentKey
- keyNameSplitPhase :: String
- keySplitPhase :: SigningKey PaymentKey
- keyNameBenchmarkInputs :: String
- keyBenchmarkInputs :: SigningKey PaymentKey
- keyNameBenchmarkDone :: String
- keyBenchmarkDone :: SigningKey PaymentKey
- keyNameCollaterals :: String
- keyCollaterals :: SigningKey PaymentKey
Documentation
data CompileError where Source #
Instances
Show CompileError Source # | |
Defined in Cardano.Benchmarking.Compiler |
type Compiler a = RWST NixServiceOptions (DList Action) Int (Except CompileError) a Source #
throwCompileError :: CompileError -> Compiler a Source #
runCompiler :: NixServiceOptions -> Compiler () -> Either CompileError [Action] Source #
testCompiler :: NixServiceOptions -> Compiler a -> Either CompileError (a, Int, [Action]) Source #
compileToScript :: Compiler () Source #
initConstants :: Compiler () Source #
splitSequenceWalletNames :: SrcWallet -> DstWallet -> [Split] -> Compiler [(SrcWallet, DstWallet, Split)] Source #
askNixOption :: (NixServiceOptions -> v) -> Compiler v Source #
keyTxGenFunds :: SigningKey PaymentKey Source #
The key that is used for the very first transaction, i.e. the secure Genesis transaction. addr_test1vzd3muund27y5nw83vymqj3a83pcuzkkejej6s75e5lfjcc85nc3p is the actual address (in Testnet 42). It is also used as change addresse in the first splitting-step.
keySplitPhase :: SigningKey PaymentKey Source #
UTxOs that are generated in intermediate splitting steps use: addr_test1vz45dtkyzk6s3245qw8hmaddaatcx8td3pvmntl8ty7q99c22eahm
keyNameBenchmarkInputs :: String Source #
UTxOs of the final splitting steps, i.e. the inputs of the benchmarking phase, use: addr_test1vzj7zv9msmdasvy5nc9jhnn2gqvrvu33v5rlg332zdfrkugklxkau (Plutus script addresses are ofc different.)
keyBenchmarkDone :: SigningKey PaymentKey Source #
The output of the actual benchmarking transactions use: addr_test1vz4qz2ayucp7xvnthrx93uhha7e04gvxttpnuq4e6mx2n5gzfw23z Query the progress of the benchmarking phase: `cardano-node query utxo --testnet-magic 42 --address addr_test1vz4qz2ayucp7xvnthrx93uhha7e04gvxttpnuq4e6mx2n5gzfw23z`
keyCollaterals :: SigningKey PaymentKey Source #
Collateral inputs for Plutus transactions: addr_test1vpckd9muw3l4f8ne4uzumy28p0k84rvx48q46kssjkta5ng4v6sfs