Copyright | (c) 2023 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- data GYTxWdrl v = GYTxWdrl {}
- data GYTxWdrlWitness v
- txWdrlToApi ∷ GYTxWdrl v → (StakeAddress, Coin, BuildTxWith BuildTx (Witness WitCtxStake ApiEra))
Documentation
Transaction withdrawal.
The parameter v
indicates the minimum version of scripts allowed as withdrawals
in the transaction.
data GYTxWdrlWitness v #
Represents witness type and associated information for tx withdrawals.
GYTxWdrlWitnessKey | Key witness. |
GYTxWdrlWitnessScript !(GYStakeValScript v) !GYRedeemer | Script witness with associated script and redeemer. |
Instances
Show (GYTxWdrlWitness v) # | |
Defined in GeniusYield.Types.TxWdrl showsPrec ∷ Int → GYTxWdrlWitness v → ShowS # show ∷ GYTxWdrlWitness v → String # showList ∷ [GYTxWdrlWitness v] → ShowS # | |
Eq (GYTxWdrlWitness v) # | |
Defined in GeniusYield.Types.TxWdrl (==) ∷ GYTxWdrlWitness v → GYTxWdrlWitness v → Bool # (/=) ∷ GYTxWdrlWitness v → GYTxWdrlWitness v → Bool # |
txWdrlToApi ∷ GYTxWdrl v → (StakeAddress, Coin, BuildTxWith BuildTx (Witness WitCtxStake ApiEra)) #