atlas-cardano-0.5.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.TxBuilder.Clb

Description

 
Synopsis

Documentation

data Wallet #

Testing Wallet representation.

Instances

Instances details
HasAddress Wallet # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

toAddressWalletAddress #

Show Wallet # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

showsPrecIntWalletShowS #

showWalletString #

showList ∷ [Wallet] → ShowS #

Eq Wallet # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

(==)WalletWalletBool #

(/=)WalletWalletBool #

Ord Wallet # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

compareWalletWalletOrdering #

(<)WalletWalletBool #

(<=)WalletWalletBool #

(>)WalletWalletBool #

(>=)WalletWalletBool #

maxWalletWalletWallet #

minWalletWalletWallet #

newtype GYTxRunState #

Constructors

GYTxRunState 

Fields

Instances

Instances details
MonadState GYTxRunState GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

data GYTxMonadClb a #

Instances

Instances details
MonadRandom GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

getRandomRRandom a ⇒ (a, a) → GYTxMonadClb a #

getRandomRandom a ⇒ GYTxMonadClb a #

getRandomRsRandom a ⇒ (a, a) → GYTxMonadClb [a] #

getRandomsRandom a ⇒ GYTxMonadClb [a] #

GYTxMonad GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

GYTxQueryMonad GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

MonadFail GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

failStringGYTxMonadClb a #

Applicative GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

pure ∷ a → GYTxMonadClb a #

(<*>)GYTxMonadClb (a → b) → GYTxMonadClb a → GYTxMonadClb b #

liftA2 ∷ (a → b → c) → GYTxMonadClb a → GYTxMonadClb b → GYTxMonadClb c #

(*>)GYTxMonadClb a → GYTxMonadClb b → GYTxMonadClb b #

(<*)GYTxMonadClb a → GYTxMonadClb b → GYTxMonadClb a #

Functor GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

fmap ∷ (a → b) → GYTxMonadClb a → GYTxMonadClb b #

(<$) ∷ a → GYTxMonadClb b → GYTxMonadClb a #

Monad GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

Methods

(>>=)GYTxMonadClb a → (a → GYTxMonadClb b) → GYTxMonadClb b #

(>>)GYTxMonadClb a → GYTxMonadClb b → GYTxMonadClb b #

return ∷ a → GYTxMonadClb a #

MonadError GYTxMonadException GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

MonadState GYTxRunState GYTxMonadClb # 
Instance details

Defined in GeniusYield.TxBuilder.Clb

walletAddressWalletGYAddress #

Gets a GYAddress of a testing wallet.

asClbStdGenWalletGYTxMonadClb a → Clb (Maybe a) #

liftClb ∷ Clb a → GYTxMonadClb a #

mustFailGYTxMonadClb a → GYTxMonadClb () #

Try to execute an action, and if it fails, restore to the current state while preserving logs. If the action succeeds, logs an error as we expect it to fail. Use mustFailWith and mustFailWithBlock to provide custom error message or/and failure action name. FIXME: should we move it to CLB?