atlas-cardano-0.6.3: 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.IO

Description

 
Synopsis

Documentation

data GYTxGameMonadIO a #

GYTxMonad interpretation run under IO.

Instances

Instances details
MonadRandom GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

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

getRandomRandom a ⇒ GYTxGameMonadIO a #

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

getRandomsRandom a ⇒ GYTxGameMonadIO [a] #

GYTxGameMonad GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Associated Types

type TxMonadOf GYTxGameMonadIO = (r ∷ TypeType) #

GYTxQueryMonad GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

networkIdGYTxGameMonadIO GYNetworkId #

lookupDatumGYDatumHashGYTxGameMonadIO (Maybe GYDatum) #

utxoAtTxOutRefGYTxOutRefGYTxGameMonadIO (Maybe GYUTxO) #

utxoAtTxOutRefWithDatumGYTxOutRefGYTxGameMonadIO (Maybe (GYUTxO, Maybe GYDatum)) #

utxosAtTxOutRefs ∷ [GYTxOutRef] → GYTxGameMonadIO GYUTxOs #

utxosAtTxOutRefsWithDatums ∷ [GYTxOutRef] → GYTxGameMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddressGYAddressMaybe GYAssetClassGYTxGameMonadIO GYUTxOs #

utxosAtAddressWithDatumsGYAddressMaybe GYAssetClassGYTxGameMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddresses ∷ [GYAddress] → GYTxGameMonadIO GYUTxOs #

utxosAtAddressesWithDatums ∷ [GYAddress] → GYTxGameMonadIO [(GYUTxO, Maybe GYDatum)] #

utxoRefsAtAddressGYAddressGYTxGameMonadIO [GYTxOutRef] #

utxosAtPaymentCredentialGYPaymentCredentialMaybe GYAssetClassGYTxGameMonadIO GYUTxOs #

utxosAtPaymentCredentialWithDatumsGYPaymentCredentialMaybe GYAssetClassGYTxGameMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtPaymentCredentials ∷ [GYPaymentCredential] → GYTxGameMonadIO GYUTxOs #

utxosAtPaymentCredentialsWithDatums ∷ [GYPaymentCredential] → GYTxGameMonadIO [(GYUTxO, Maybe GYDatum)] #

stakeAddressInfoGYStakeAddressGYTxGameMonadIO (Maybe GYStakeAddressInfo) #

slotConfigGYTxGameMonadIO GYSlotConfig #

slotOfCurrentBlockGYTxGameMonadIO GYSlot #

logMsgGYLogNamespaceGYLogSeverityStringGYTxGameMonadIO () #

waitUntilSlotGYSlotGYTxGameMonadIO GYSlot #

waitForNextBlockGYTxGameMonadIO GYSlot #

GYTxSpecialQueryMonad GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Applicative GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Functor GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

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

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

Monad GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

MonadError GYTxMonadException GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

type TxMonadOf GYTxGameMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

data GYTxMonadIO a #

GYTxMonad interpretation run under IO.

Instances

Instances details
MonadRandom GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

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

getRandomRandom a ⇒ GYTxMonadIO a #

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

getRandomsRandom a ⇒ GYTxMonadIO [a] #

GYTxBuilderMonad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Associated Types

type TxBuilderStrategy GYTxMonadIO #

GYTxMonad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

GYTxQueryMonad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

networkIdGYTxMonadIO GYNetworkId #

lookupDatumGYDatumHashGYTxMonadIO (Maybe GYDatum) #

utxoAtTxOutRefGYTxOutRefGYTxMonadIO (Maybe GYUTxO) #

utxoAtTxOutRefWithDatumGYTxOutRefGYTxMonadIO (Maybe (GYUTxO, Maybe GYDatum)) #

utxosAtTxOutRefs ∷ [GYTxOutRef] → GYTxMonadIO GYUTxOs #

utxosAtTxOutRefsWithDatums ∷ [GYTxOutRef] → GYTxMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddressGYAddressMaybe GYAssetClassGYTxMonadIO GYUTxOs #

utxosAtAddressWithDatumsGYAddressMaybe GYAssetClassGYTxMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddresses ∷ [GYAddress] → GYTxMonadIO GYUTxOs #

utxosAtAddressesWithDatums ∷ [GYAddress] → GYTxMonadIO [(GYUTxO, Maybe GYDatum)] #

utxoRefsAtAddressGYAddressGYTxMonadIO [GYTxOutRef] #

utxosAtPaymentCredentialGYPaymentCredentialMaybe GYAssetClassGYTxMonadIO GYUTxOs #

utxosAtPaymentCredentialWithDatumsGYPaymentCredentialMaybe GYAssetClassGYTxMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtPaymentCredentials ∷ [GYPaymentCredential] → GYTxMonadIO GYUTxOs #

utxosAtPaymentCredentialsWithDatums ∷ [GYPaymentCredential] → GYTxMonadIO [(GYUTxO, Maybe GYDatum)] #

stakeAddressInfoGYStakeAddressGYTxMonadIO (Maybe GYStakeAddressInfo) #

slotConfigGYTxMonadIO GYSlotConfig #

slotOfCurrentBlockGYTxMonadIO GYSlot #

logMsgGYLogNamespaceGYLogSeverityStringGYTxMonadIO () #

waitUntilSlotGYSlotGYTxMonadIO GYSlot #

waitForNextBlockGYTxMonadIO GYSlot #

GYTxSpecialQueryMonad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

GYTxUserQueryMonad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Applicative GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

pure ∷ a → GYTxMonadIO a #

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

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

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

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

Functor GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

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

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

Monad GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

Methods

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

(>>)GYTxMonadIO a → GYTxMonadIO b → GYTxMonadIO b #

return ∷ a → GYTxMonadIO a #

MonadError GYTxMonadException GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

type TxBuilderStrategy GYTxMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO

data GYTxQueryMonadIO a #

GYTxQueryMonad interpretation run under IO.

Instances

Instances details
MonadRandom GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

Methods

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

getRandomRandom a ⇒ GYTxQueryMonadIO a #

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

getRandomsRandom a ⇒ GYTxQueryMonadIO [a] #

GYTxQueryMonad GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

Methods

networkIdGYTxQueryMonadIO GYNetworkId #

lookupDatumGYDatumHashGYTxQueryMonadIO (Maybe GYDatum) #

utxoAtTxOutRefGYTxOutRefGYTxQueryMonadIO (Maybe GYUTxO) #

utxoAtTxOutRefWithDatumGYTxOutRefGYTxQueryMonadIO (Maybe (GYUTxO, Maybe GYDatum)) #

utxosAtTxOutRefs ∷ [GYTxOutRef] → GYTxQueryMonadIO GYUTxOs #

utxosAtTxOutRefsWithDatums ∷ [GYTxOutRef] → GYTxQueryMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddressGYAddressMaybe GYAssetClassGYTxQueryMonadIO GYUTxOs #

utxosAtAddressWithDatumsGYAddressMaybe GYAssetClassGYTxQueryMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddresses ∷ [GYAddress] → GYTxQueryMonadIO GYUTxOs #

utxosAtAddressesWithDatums ∷ [GYAddress] → GYTxQueryMonadIO [(GYUTxO, Maybe GYDatum)] #

utxoRefsAtAddressGYAddressGYTxQueryMonadIO [GYTxOutRef] #

utxosAtPaymentCredentialGYPaymentCredentialMaybe GYAssetClassGYTxQueryMonadIO GYUTxOs #

utxosAtPaymentCredentialWithDatumsGYPaymentCredentialMaybe GYAssetClassGYTxQueryMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtPaymentCredentials ∷ [GYPaymentCredential] → GYTxQueryMonadIO GYUTxOs #

utxosAtPaymentCredentialsWithDatums ∷ [GYPaymentCredential] → GYTxQueryMonadIO [(GYUTxO, Maybe GYDatum)] #

stakeAddressInfoGYStakeAddressGYTxQueryMonadIO (Maybe GYStakeAddressInfo) #

slotConfigGYTxQueryMonadIO GYSlotConfig #

slotOfCurrentBlockGYTxQueryMonadIO GYSlot #

logMsgGYLogNamespaceGYLogSeverityStringGYTxQueryMonadIO () #

waitUntilSlotGYSlotGYTxQueryMonadIO GYSlot #

waitForNextBlockGYTxQueryMonadIO GYSlot #

GYTxSpecialQueryMonad GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

Applicative GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

Functor GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

Methods

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

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

Monad GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

MonadError GYTxMonadException GYTxQueryMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Query

data GYTxBuilderMonadIO a #

GYTxUserQueryMonad interpretation run under IO.

Instances

Instances details
MonadRandom GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

GYTxBuilderMonad GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

GYTxQueryMonad GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

Methods

networkIdGYTxBuilderMonadIO GYNetworkId #

lookupDatumGYDatumHashGYTxBuilderMonadIO (Maybe GYDatum) #

utxoAtTxOutRefGYTxOutRefGYTxBuilderMonadIO (Maybe GYUTxO) #

utxoAtTxOutRefWithDatumGYTxOutRefGYTxBuilderMonadIO (Maybe (GYUTxO, Maybe GYDatum)) #

utxosAtTxOutRefs ∷ [GYTxOutRef] → GYTxBuilderMonadIO GYUTxOs #

utxosAtTxOutRefsWithDatums ∷ [GYTxOutRef] → GYTxBuilderMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddressGYAddressMaybe GYAssetClassGYTxBuilderMonadIO GYUTxOs #

utxosAtAddressWithDatumsGYAddressMaybe GYAssetClassGYTxBuilderMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtAddresses ∷ [GYAddress] → GYTxBuilderMonadIO GYUTxOs #

utxosAtAddressesWithDatums ∷ [GYAddress] → GYTxBuilderMonadIO [(GYUTxO, Maybe GYDatum)] #

utxoRefsAtAddressGYAddressGYTxBuilderMonadIO [GYTxOutRef] #

utxosAtPaymentCredentialGYPaymentCredentialMaybe GYAssetClassGYTxBuilderMonadIO GYUTxOs #

utxosAtPaymentCredentialWithDatumsGYPaymentCredentialMaybe GYAssetClassGYTxBuilderMonadIO [(GYUTxO, Maybe GYDatum)] #

utxosAtPaymentCredentials ∷ [GYPaymentCredential] → GYTxBuilderMonadIO GYUTxOs #

utxosAtPaymentCredentialsWithDatums ∷ [GYPaymentCredential] → GYTxBuilderMonadIO [(GYUTxO, Maybe GYDatum)] #

stakeAddressInfoGYStakeAddressGYTxBuilderMonadIO (Maybe GYStakeAddressInfo) #

slotConfigGYTxBuilderMonadIO GYSlotConfig #

slotOfCurrentBlockGYTxBuilderMonadIO GYSlot #

logMsgGYLogNamespaceGYLogSeverityStringGYTxBuilderMonadIO () #

waitUntilSlotGYSlotGYTxBuilderMonadIO GYSlot #

waitForNextBlockGYTxBuilderMonadIO GYSlot #

GYTxSpecialQueryMonad GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

GYTxUserQueryMonad GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

Applicative GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

Functor GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

Methods

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

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

Monad GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

MonadError GYTxMonadException GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

type TxBuilderStrategy GYTxBuilderMonadIO # 
Instance details

Defined in GeniusYield.TxBuilder.IO.Builder

runGYTxBuilderMonadIO #

Arguments

GYNetworkId

Network ID.

GYProviders

Provider.

→ [GYAddress]

Addresses belonging to wallet.

GYAddress

Change address.

Maybe (GYTxOutRef, Bool)

If Nothing is provided, framework would pick up a suitable UTxO as collateral and in such case is also free to spend it. If something is given with boolean being False then framework will use the given GYTxOutRef as collateral and would reserve it as well. But if boolean is True, framework would only use it as collateral and reserve it, if value in the given UTxO is exactly 5 ada.

GYTxBuilderMonadIO a 
IO a 

runGYTxMonadIO #

Arguments

GYNetworkId

Network ID.

GYProviders

Provider.

GYPaymentSigningKey

Payment signing key of the wallet

Maybe GYStakeSigningKey

Stake signing key of the wallet (optional)

→ [GYAddress]

Addresses belonging to wallet.

GYAddress

Change address.

Maybe (GYTxOutRef, Bool)

If Nothing is provided, framework would pick up a suitable UTxO as collateral and in such case is also free to spend it. If something is given with boolean being False then framework will use the given GYTxOutRef as collateral and would reserve it as well. But if boolean is True, framework would only use it as collateral and reserve it, if value in the given UTxO is exactly 5 ada.

GYTxMonadIO a 
IO a 

runGYTxGameMonadIO #

Arguments

GYNetworkId

Network ID.

GYProviders

Provider.

GYTxGameMonadIO a 
IO a