Module

Cardano.Transaction.Balancer.Helpers

#pprintTagSet

#liftEither

liftEither :: forall (a :: Type) (e :: Type) (m :: Type -> Type). MonadThrow e m => Either e a -> m a

#liftM

liftM :: forall (e :: Type) (m :: Type -> Type) (a :: Type). MonadThrow e m => e -> Maybe a -> m a

Given an error and a Maybe value, lift the context via liftEither.

#liftedM

liftedM :: forall (e :: Type) (m :: Type -> Type) (a :: Type). MonadError e m => e -> m (Maybe a) -> m a

Given an error and a lifted Maybe value.

#unsafeFromJust

unsafeFromJust :: forall a. String -> Maybe a -> a

#fromMaybeFlipped

fromMaybeFlipped :: forall (a :: Type). Maybe a -> a -> a

#setScriptDataHash

setScriptDataHash :: Map Language CostModel -> Array Redeemer -> Array PlutusData -> Transaction -> Effect Transaction

Set the Transaction body's script data hash. NOTE: Must include all of the datums and redeemers for the given transaction

#(??)

Operator alias for Cardano.Transaction.Balancer.Helpers.fromMaybeFlipped (left-associative / precedence 5)

#transactionInputToTxOutRef

transactionInputToTxOutRef :: TransactionInput -> OgmiosTxOutRef

Converts an (internal) TransactionInput to an Ogmios transaction input

#transactionOutputToOgmiosTxOut

transactionOutputToOgmiosTxOut :: TransactionOutput -> OgmiosTxOut

Converts an internal transaction output to the Ogmios transaction output.

Modules