| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.Test.ScriptContextBuilder.Lenses
Synopsis
- scriptContextTxInfoL ∷ Lens' ScriptContext TxInfo
- scriptContextRedeemerL ∷ Lens' ScriptContext Redeemer
- scriptContextScriptInfoL ∷ Lens' ScriptContext ScriptInfo
- txInfoInputsL ∷ Lens' TxInfo [TxInInfo]
- txInfoMintL ∷ Lens' TxInfo MintValue
- txInfoSignatoriesL ∷ Lens' TxInfo [PubKeyHash]
- txInfoOutputsL ∷ Lens' TxInfo [TxOut]
- txInfoValidRangeL ∷ Lens' TxInfo POSIXTimeRange
- txInfoRedeemersL ∷ Lens' TxInfo (Map ScriptPurpose Redeemer)
- txInfoRedeemersAssocL ∷ Lens' TxInfo (Map ScriptPurpose Redeemer)
- txInfoFeeL ∷ Lens' TxInfo Lovelace
- txInfoWdrlL ∷ Lens' TxInfo (Map Credential Lovelace)
- txInfoVotesL ∷ Lens' TxInfo (Map Voter (Map GovernanceActionId Vote))
- txInfoTxCertsL ∷ Lens' TxInfo [TxCert]
- txInfoTreasuryDonationL ∷ Lens' TxInfo (Maybe Lovelace)
- txInfoReferenceInputsL ∷ Lens' TxInfo [TxInInfo]
- txInfoProposalProceduresL ∷ Lens' TxInfo [ProposalProcedure]
- txInfoIdL ∷ Lens' TxInfo TxId
- txInfoDataL ∷ Lens' TxInfo (Map DatumHash Datum)
- txInfoCurrentTreasuryAmountL ∷ Lens' TxInfo (Maybe Lovelace)
- txInInfoOutRefL ∷ Lens' TxInInfo TxOutRef
- txInInfoResolvedL ∷ Lens' TxInInfo TxOut
- txOutRefIdL ∷ Lens' TxOutRef TxId
- txOutRefIdxL ∷ Lens' TxOutRef Integer
- txOutAddressL ∷ Lens' TxOut Address
- txOutValueL ∷ Lens' TxOut Value
- txOutDatumL ∷ Lens' TxOut OutputDatum
- txOutReferenceScriptL ∷ Lens' TxOut (Maybe ScriptHash)
- addressCredentialL ∷ Lens' Address Credential
- addressStakingCredentialL ∷ Lens' Address (Maybe StakingCredential)
- mintValueMapL ∷ Lens' MintValue (Map CurrencySymbol (Map TokenName Integer))
- valueMapL ∷ Lens' Value (Map CurrencySymbol (Map TokenName Integer))
- ivFromL ∷ ∀ a. Lens' (Interval a) (LowerBound a)
- ivToL ∷ ∀ a. Lens' (Interval a) (UpperBound a)
- lowerBoundExtendedL ∷ Lens' (LowerBound a) (Extended a)
- lowerBoundClosureL ∷ Lens' (LowerBound a) Closure
- upperBoundExtendedL ∷ Lens' (UpperBound a) (Extended a)
- upperBoundClosureL ∷ Lens' (UpperBound a) Closure
- _NegInf ∷ ∀ a. Prism' (Extended a) ()
- _Finite ∷ ∀ a a. Prism (Extended a) (Extended a) a a
- _PosInf ∷ ∀ a. Prism' (Extended a) ()
- _NoOutputDatum ∷ Prism' OutputDatum ()
- _OutputDatumHash ∷ Prism' OutputDatum DatumHash
- _OutputDatum ∷ Prism' OutputDatum Datum
- _Datum ∷ ∀ a. (FromData a, ToData a) ⇒ Prism' Datum a
- _Redeemer ∷ ∀ a. (FromData a, ToData a) ⇒ Prism' Redeemer a
Documentation
txInfoRedeemersAssocL ∷ Lens' TxInfo (Map ScriptPurpose Redeemer) Source #
Raw lens into redeemers preserving the AssocMap type (no Map conversion).
lowerBoundExtendedL ∷ Lens' (LowerBound a) (Extended a) Source #
upperBoundExtendedL ∷ Lens' (UpperBound a) (Extended a) Source #
_NoOutputDatum ∷ Prism' OutputDatum () Source #
_OutputDatumHash ∷ Prism' OutputDatum DatumHash Source #
_OutputDatum ∷ Prism' OutputDatum Datum Source #