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.Examples.Limbo

Contents

Description

 
Synopsis

Scripts

API

getRefInfosGYTxQueryMonad m ⇒ m (Map (Some GYScript) GYTxOutRef) #

Find reference scripts at limboValidatorV2 address.

addRefScriptGYTxMonad m ⇒ GYScript 'PlutusV2 → m (Either GYTxOutRef (GYTxSkeleton v)) #

Create UTxO with a reference script.

This is optimized version. First it checks whether there is an UTxO already with a script. Only if there aren't the new transaction skeleton is constructed.

addRefScript'GYTxMonad m ⇒ GYScript 'PlutusV2 → m (GYTxSkeleton v) #

Create UTxO with a reference script.

findRefScriptsInBodyGYTxBodyMap (Some GYScript) GYTxOutRef #

Find reference scripts in transaction body.