Copyright | (c) 2025 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
data GYTxBuildWitness v #
Represents witness type.
GYTxBuildWitnessKey | Key witness. |
GYTxBuildWitnessPlutusScript !(GYBuildPlutusScript v) !GYRedeemer | Script witness with associated script and redeemer. |
GYTxBuildWitnessSimpleScript !(GYBuildSimpleScript v) | Simple script witness. |
Instances
Show (GYTxBuildWitness v) # | |
Defined in GeniusYield.Types.BuildWitness showsPrec ∷ Int → GYTxBuildWitness v → ShowS # show ∷ GYTxBuildWitness v → String # showList ∷ [GYTxBuildWitness v] → ShowS # | |
Eq (GYTxBuildWitness v) # | |
Defined in GeniusYield.Types.BuildWitness (==) ∷ GYTxBuildWitness v → GYTxBuildWitness v → Bool # (/=) ∷ GYTxBuildWitness v → GYTxBuildWitness v → Bool # |
unsafeBuildScriptWitnessToApi ∷ GYTxBuildWitness v → ScriptWitness WitCtxStake ApiEra #
Convert GYTxBuildWitness
to ScriptWitness
. Throws an error if the input is GYTxBuildWitnessKey
.
Would likely remove depending upon resolution of https://github.com/IntersectMBO/cardano-api/issues/722.