plutus-contract-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Trace.Effects.ContractInstanceId

Contents

Synopsis

Documentation

nextId :: forall effs. Member ContractInstanceIdEff effs => Eff effs ContractInstanceId Source #

Handlers

handleDeterministicIds :: Eff (ContractInstanceIdEff ': effs) ~> Eff effs Source #

Handle ContractInstanceIdEff using the list of IDs contractInstanceIDs.

handleRandomIds :: (LastMember m effs, MonadIO m) => Eff (ContractInstanceIdEff ': effs) ~> Eff effs Source #

Handle ContractInstanceIdEff using a random number generator