| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.Data.V3
Description
The interface to Plutus V3 for the ledger.
Synopsis
- type SerialisedScript = ShortByteString
- data ScriptForEvaluation
- serialisedScript :: ScriptForEvaluation -> SerialisedScript
- deserialisedScript :: ScriptForEvaluation -> ScriptNamedDeBruijn
- serialiseCompiledCode :: CompiledCode a -> SerialisedScript
- serialiseUPLC :: Program DeBruijn DefaultUni DefaultFun () -> SerialisedScript
- deserialiseScript :: MonadError ScriptDecodeError m => MajorProtocolVersion -> SerialisedScript -> m ScriptForEvaluation
- uncheckedDeserialiseUPLC :: SerialisedScript -> Program DeBruijn DefaultUni DefaultFun ()
- evaluateScriptRestricting :: MajorProtocolVersion -> VerboseMode -> EvaluationContext -> ExBudget -> ScriptForEvaluation -> Data -> (LogOutput, Either EvaluationError ExBudget)
- evaluateScriptCounting :: MajorProtocolVersion -> VerboseMode -> EvaluationContext -> ScriptForEvaluation -> Data -> (LogOutput, Either EvaluationError ExBudget)
- newtype ColdCommitteeCredential = ColdCommitteeCredential Credential
- newtype HotCommitteeCredential = HotCommitteeCredential Credential
- newtype DRepCredential = DRepCredential Credential
- data DRep
- pattern DRep :: DRepCredential -> DRep
- pattern DRepAlwaysAbstain :: DRep
- pattern DRepAlwaysNoConfidence :: DRep
- data Delegatee
- pattern DelegStake :: PubKeyHash -> Delegatee
- pattern DelegVote :: DRep -> Delegatee
- pattern DelegStakeVote :: PubKeyHash -> DRep -> Delegatee
- data TxCert
- pattern TxCertRegStaking :: Credential -> Maybe Lovelace -> TxCert
- pattern TxCertUnRegStaking :: Credential -> Maybe Lovelace -> TxCert
- pattern TxCertDelegStaking :: Credential -> Delegatee -> TxCert
- pattern TxCertRegDeleg :: Credential -> Delegatee -> Lovelace -> TxCert
- pattern TxCertRegDRep :: DRepCredential -> Lovelace -> TxCert
- pattern TxCertUpdateDRep :: DRepCredential -> TxCert
- pattern TxCertUnRegDRep :: DRepCredential -> Lovelace -> TxCert
- pattern TxCertPoolRegister :: PubKeyHash -> PubKeyHash -> TxCert
- pattern TxCertPoolRetire :: PubKeyHash -> Integer -> TxCert
- pattern TxCertAuthHotCommittee :: ColdCommitteeCredential -> HotCommitteeCredential -> TxCert
- pattern TxCertResignColdCommittee :: ColdCommitteeCredential -> TxCert
- data Voter
- pattern CommitteeVoter :: HotCommitteeCredential -> Voter
- pattern DRepVoter :: DRepCredential -> Voter
- pattern StakePoolVoter :: PubKeyHash -> Voter
- data Vote
- pattern VoteNo :: Vote
- pattern VoteYes :: Vote
- pattern Abstain :: Vote
- data GovernanceActionId
- gaidTxId :: GovernanceActionId -> TxId
- gaidGovActionIx :: GovernanceActionId -> Integer
- data Committee
- pattern Committee :: Map ColdCommitteeCredential Integer -> Rational -> Committee
- committeeMembers :: Committee -> Map ColdCommitteeCredential Integer
- committeeQuorum :: Committee -> Rational
- newtype Constitution = Constitution {}
- data ProtocolVersion
- pattern ProtocolVersion :: Integer -> Integer -> ProtocolVersion
- pvMajor :: ProtocolVersion -> Integer
- pvMinor :: ProtocolVersion -> Integer
- data GovernanceAction
- pattern ParameterChange :: Maybe GovernanceActionId -> ChangedParameters -> Maybe ScriptHash -> GovernanceAction
- pattern HardForkInitiation :: Maybe GovernanceActionId -> ProtocolVersion -> GovernanceAction
- pattern TreasuryWithdrawals :: Map Credential Lovelace -> Maybe ScriptHash -> GovernanceAction
- pattern NoConfidence :: Maybe GovernanceActionId -> GovernanceAction
- pattern UpdateCommittee :: Maybe GovernanceActionId -> List ColdCommitteeCredential -> Map ColdCommitteeCredential Integer -> Rational -> GovernanceAction
- pattern NewConstitution :: Maybe GovernanceActionId -> Constitution -> GovernanceAction
- pattern InfoAction :: GovernanceAction
- newtype ChangedParameters = ChangedParameters {}
- data ProposalProcedure
- pattern ProposalProcedure :: Lovelace -> Credential -> GovernanceAction -> ProposalProcedure
- ppDeposit :: ProposalProcedure -> Lovelace
- ppReturnAddr :: ProposalProcedure -> Credential
- ppGovernanceAction :: ProposalProcedure -> GovernanceAction
- newtype MajorProtocolVersion = MajorProtocolVersion {}
- data VerboseMode
- type LogOutput = [Text]
- data ExBudget = ExBudget {}
- newtype ExCPU = ExCPU CostingInteger
- newtype ExMemory = ExMemory CostingInteger
- data SatInt
- fromSatInt :: Num a => SatInt -> a
- data EvaluationContext
- mkEvaluationContext :: (MonadError CostModelApplyError m, MonadWriter [CostModelApplyWarn] m) => [Int64] -> m EvaluationContext
- data ParamName
- = AddInteger'cpu'arguments'intercept
- | AddInteger'cpu'arguments'slope
- | AddInteger'memory'arguments'intercept
- | AddInteger'memory'arguments'slope
- | AppendByteString'cpu'arguments'intercept
- | AppendByteString'cpu'arguments'slope
- | AppendByteString'memory'arguments'intercept
- | AppendByteString'memory'arguments'slope
- | AppendString'cpu'arguments'intercept
- | AppendString'cpu'arguments'slope
- | AppendString'memory'arguments'intercept
- | AppendString'memory'arguments'slope
- | BData'cpu'arguments
- | BData'memory'arguments
- | Blake2b_256'cpu'arguments'intercept
- | Blake2b_256'cpu'arguments'slope
- | Blake2b_256'memory'arguments
- | CekApplyCost'exBudgetCPU
- | CekApplyCost'exBudgetMemory
- | CekBuiltinCost'exBudgetCPU
- | CekBuiltinCost'exBudgetMemory
- | CekConstCost'exBudgetCPU
- | CekConstCost'exBudgetMemory
- | CekDelayCost'exBudgetCPU
- | CekDelayCost'exBudgetMemory
- | CekForceCost'exBudgetCPU
- | CekForceCost'exBudgetMemory
- | CekLamCost'exBudgetCPU
- | CekLamCost'exBudgetMemory
- | CekStartupCost'exBudgetCPU
- | CekStartupCost'exBudgetMemory
- | CekVarCost'exBudgetCPU
- | CekVarCost'exBudgetMemory
- | ChooseData'cpu'arguments
- | ChooseData'memory'arguments
- | ChooseList'cpu'arguments
- | ChooseList'memory'arguments
- | ChooseUnit'cpu'arguments
- | ChooseUnit'memory'arguments
- | ConsByteString'cpu'arguments'intercept
- | ConsByteString'cpu'arguments'slope
- | ConsByteString'memory'arguments'intercept
- | ConsByteString'memory'arguments'slope
- | ConstrData'cpu'arguments
- | ConstrData'memory'arguments
- | DecodeUtf8'cpu'arguments'intercept
- | DecodeUtf8'cpu'arguments'slope
- | DecodeUtf8'memory'arguments'intercept
- | DecodeUtf8'memory'arguments'slope
- | DivideInteger'cpu'arguments'constant
- | DivideInteger'cpu'arguments'model'arguments'c00
- | DivideInteger'cpu'arguments'model'arguments'c01
- | DivideInteger'cpu'arguments'model'arguments'c02
- | DivideInteger'cpu'arguments'model'arguments'c10
- | DivideInteger'cpu'arguments'model'arguments'c11
- | DivideInteger'cpu'arguments'model'arguments'c20
- | DivideInteger'cpu'arguments'model'arguments'minimum
- | DivideInteger'memory'arguments'intercept
- | DivideInteger'memory'arguments'minimum
- | DivideInteger'memory'arguments'slope
- | EncodeUtf8'cpu'arguments'intercept
- | EncodeUtf8'cpu'arguments'slope
- | EncodeUtf8'memory'arguments'intercept
- | EncodeUtf8'memory'arguments'slope
- | EqualsByteString'cpu'arguments'constant
- | EqualsByteString'cpu'arguments'intercept
- | EqualsByteString'cpu'arguments'slope
- | EqualsByteString'memory'arguments
- | EqualsData'cpu'arguments'intercept
- | EqualsData'cpu'arguments'slope
- | EqualsData'memory'arguments
- | EqualsInteger'cpu'arguments'intercept
- | EqualsInteger'cpu'arguments'slope
- | EqualsInteger'memory'arguments
- | EqualsString'cpu'arguments'constant
- | EqualsString'cpu'arguments'intercept
- | EqualsString'cpu'arguments'slope
- | EqualsString'memory'arguments
- | FstPair'cpu'arguments
- | FstPair'memory'arguments
- | HeadList'cpu'arguments
- | HeadList'memory'arguments
- | IData'cpu'arguments
- | IData'memory'arguments
- | IfThenElse'cpu'arguments
- | IfThenElse'memory'arguments
- | IndexByteString'cpu'arguments
- | IndexByteString'memory'arguments
- | LengthOfByteString'cpu'arguments
- | LengthOfByteString'memory'arguments
- | LessThanByteString'cpu'arguments'intercept
- | LessThanByteString'cpu'arguments'slope
- | LessThanByteString'memory'arguments
- | LessThanEqualsByteString'cpu'arguments'intercept
- | LessThanEqualsByteString'cpu'arguments'slope
- | LessThanEqualsByteString'memory'arguments
- | LessThanEqualsInteger'cpu'arguments'intercept
- | LessThanEqualsInteger'cpu'arguments'slope
- | LessThanEqualsInteger'memory'arguments
- | LessThanInteger'cpu'arguments'intercept
- | LessThanInteger'cpu'arguments'slope
- | LessThanInteger'memory'arguments
- | ListData'cpu'arguments
- | ListData'memory'arguments
- | MapData'cpu'arguments
- | MapData'memory'arguments
- | MkCons'cpu'arguments
- | MkCons'memory'arguments
- | MkNilData'cpu'arguments
- | MkNilData'memory'arguments
- | MkNilPairData'cpu'arguments
- | MkNilPairData'memory'arguments
- | MkPairData'cpu'arguments
- | MkPairData'memory'arguments
- | ModInteger'cpu'arguments'constant
- | ModInteger'cpu'arguments'model'arguments'c00
- | ModInteger'cpu'arguments'model'arguments'c01
- | ModInteger'cpu'arguments'model'arguments'c02
- | ModInteger'cpu'arguments'model'arguments'c10
- | ModInteger'cpu'arguments'model'arguments'c11
- | ModInteger'cpu'arguments'model'arguments'c20
- | ModInteger'cpu'arguments'model'arguments'minimum
- | ModInteger'memory'arguments'intercept
- | ModInteger'memory'arguments'slope
- | MultiplyInteger'cpu'arguments'intercept
- | MultiplyInteger'cpu'arguments'slope
- | MultiplyInteger'memory'arguments'intercept
- | MultiplyInteger'memory'arguments'slope
- | NullList'cpu'arguments
- | NullList'memory'arguments
- | QuotientInteger'cpu'arguments'constant
- | QuotientInteger'cpu'arguments'model'arguments'c00
- | QuotientInteger'cpu'arguments'model'arguments'c01
- | QuotientInteger'cpu'arguments'model'arguments'c02
- | QuotientInteger'cpu'arguments'model'arguments'c10
- | QuotientInteger'cpu'arguments'model'arguments'c11
- | QuotientInteger'cpu'arguments'model'arguments'c20
- | QuotientInteger'cpu'arguments'model'arguments'minimum
- | QuotientInteger'memory'arguments'intercept
- | QuotientInteger'memory'arguments'minimum
- | QuotientInteger'memory'arguments'slope
- | RemainderInteger'cpu'arguments'constant
- | RemainderInteger'cpu'arguments'model'arguments'c00
- | RemainderInteger'cpu'arguments'model'arguments'c01
- | RemainderInteger'cpu'arguments'model'arguments'c02
- | RemainderInteger'cpu'arguments'model'arguments'c10
- | RemainderInteger'cpu'arguments'model'arguments'c11
- | RemainderInteger'cpu'arguments'model'arguments'c20
- | RemainderInteger'cpu'arguments'model'arguments'minimum
- | RemainderInteger'memory'arguments'intercept
- | RemainderInteger'memory'arguments'slope
- | SerialiseData'cpu'arguments'intercept
- | SerialiseData'cpu'arguments'slope
- | SerialiseData'memory'arguments'intercept
- | SerialiseData'memory'arguments'slope
- | Sha2_256'cpu'arguments'intercept
- | Sha2_256'cpu'arguments'slope
- | Sha2_256'memory'arguments
- | Sha3_256'cpu'arguments'intercept
- | Sha3_256'cpu'arguments'slope
- | Sha3_256'memory'arguments
- | SliceByteString'cpu'arguments'intercept
- | SliceByteString'cpu'arguments'slope
- | SliceByteString'memory'arguments'intercept
- | SliceByteString'memory'arguments'slope
- | SndPair'cpu'arguments
- | SndPair'memory'arguments
- | SubtractInteger'cpu'arguments'intercept
- | SubtractInteger'cpu'arguments'slope
- | SubtractInteger'memory'arguments'intercept
- | SubtractInteger'memory'arguments'slope
- | TailList'cpu'arguments
- | TailList'memory'arguments
- | Trace'cpu'arguments
- | Trace'memory'arguments
- | UnBData'cpu'arguments
- | UnBData'memory'arguments
- | UnConstrData'cpu'arguments
- | UnConstrData'memory'arguments
- | UnIData'cpu'arguments
- | UnIData'memory'arguments
- | UnListData'cpu'arguments
- | UnListData'memory'arguments
- | UnMapData'cpu'arguments
- | UnMapData'memory'arguments
- | VerifyEcdsaSecp256k1Signature'cpu'arguments
- | VerifyEcdsaSecp256k1Signature'memory'arguments
- | VerifyEd25519Signature'cpu'arguments'intercept
- | VerifyEd25519Signature'cpu'arguments'slope
- | VerifyEd25519Signature'memory'arguments
- | VerifySchnorrSecp256k1Signature'cpu'arguments'intercept
- | VerifySchnorrSecp256k1Signature'cpu'arguments'slope
- | VerifySchnorrSecp256k1Signature'memory'arguments
- | CekConstrCost'exBudgetCPU
- | CekConstrCost'exBudgetMemory
- | CekCaseCost'exBudgetCPU
- | CekCaseCost'exBudgetMemory
- | Bls12_381_G1_add'cpu'arguments
- | Bls12_381_G1_add'memory'arguments
- | Bls12_381_G1_compress'cpu'arguments
- | Bls12_381_G1_compress'memory'arguments
- | Bls12_381_G1_equal'cpu'arguments
- | Bls12_381_G1_equal'memory'arguments
- | Bls12_381_G1_hashToGroup'cpu'arguments'intercept
- | Bls12_381_G1_hashToGroup'cpu'arguments'slope
- | Bls12_381_G1_hashToGroup'memory'arguments
- | Bls12_381_G1_neg'cpu'arguments
- | Bls12_381_G1_neg'memory'arguments
- | Bls12_381_G1_scalarMul'cpu'arguments'intercept
- | Bls12_381_G1_scalarMul'cpu'arguments'slope
- | Bls12_381_G1_scalarMul'memory'arguments
- | Bls12_381_G1_uncompress'cpu'arguments
- | Bls12_381_G1_uncompress'memory'arguments
- | Bls12_381_G2_add'cpu'arguments
- | Bls12_381_G2_add'memory'arguments
- | Bls12_381_G2_compress'cpu'arguments
- | Bls12_381_G2_compress'memory'arguments
- | Bls12_381_G2_equal'cpu'arguments
- | Bls12_381_G2_equal'memory'arguments
- | Bls12_381_G2_hashToGroup'cpu'arguments'intercept
- | Bls12_381_G2_hashToGroup'cpu'arguments'slope
- | Bls12_381_G2_hashToGroup'memory'arguments
- | Bls12_381_G2_neg'cpu'arguments
- | Bls12_381_G2_neg'memory'arguments
- | Bls12_381_G2_scalarMul'cpu'arguments'intercept
- | Bls12_381_G2_scalarMul'cpu'arguments'slope
- | Bls12_381_G2_scalarMul'memory'arguments
- | Bls12_381_G2_uncompress'cpu'arguments
- | Bls12_381_G2_uncompress'memory'arguments
- | Bls12_381_finalVerify'cpu'arguments
- | Bls12_381_finalVerify'memory'arguments
- | Bls12_381_millerLoop'cpu'arguments
- | Bls12_381_millerLoop'memory'arguments
- | Bls12_381_mulMlResult'cpu'arguments
- | Bls12_381_mulMlResult'memory'arguments
- | Keccak_256'cpu'arguments'intercept
- | Keccak_256'cpu'arguments'slope
- | Keccak_256'memory'arguments
- | Blake2b_224'cpu'arguments'intercept
- | Blake2b_224'cpu'arguments'slope
- | Blake2b_224'memory'arguments
- | IntegerToByteString'cpu'arguments'c0
- | IntegerToByteString'cpu'arguments'c1
- | IntegerToByteString'cpu'arguments'c2
- | IntegerToByteString'memory'arguments'intercept
- | IntegerToByteString'memory'arguments'slope
- | ByteStringToInteger'cpu'arguments'c0
- | ByteStringToInteger'cpu'arguments'c1
- | ByteStringToInteger'cpu'arguments'c2
- | ByteStringToInteger'memory'arguments'intercept
- | ByteStringToInteger'memory'arguments'slope
- | AndByteString'cpu'arguments'intercept
- | AndByteString'cpu'arguments'slope1
- | AndByteString'cpu'arguments'slope2
- | AndByteString'memory'arguments'intercept
- | AndByteString'memory'arguments'slope
- | OrByteString'cpu'arguments'intercept
- | OrByteString'cpu'arguments'slope1
- | OrByteString'cpu'arguments'slope2
- | OrByteString'memory'arguments'intercept
- | OrByteString'memory'arguments'slope
- | XorByteString'cpu'arguments'intercept
- | XorByteString'cpu'arguments'slope1
- | XorByteString'cpu'arguments'slope2
- | XorByteString'memory'arguments'intercept
- | XorByteString'memory'arguments'slope
- | ComplementByteString'cpu'arguments'intercept
- | ComplementByteString'cpu'arguments'slope
- | ComplementByteString'memory'arguments'intercept
- | ComplementByteString'memory'arguments'slope
- | ReadBit'cpu'arguments
- | ReadBit'memory'arguments
- | WriteBits'cpu'arguments'intercept
- | WriteBits'cpu'arguments'slope
- | WriteBits'memory'arguments'intercept
- | WriteBits'memory'arguments'slope
- | ReplicateByte'cpu'arguments'intercept
- | ReplicateByte'cpu'arguments'slope
- | ReplicateByte'memory'arguments'intercept
- | ReplicateByte'memory'arguments'slope
- | ShiftByteString'cpu'arguments'intercept
- | ShiftByteString'cpu'arguments'slope
- | ShiftByteString'memory'arguments'intercept
- | ShiftByteString'memory'arguments'slope
- | RotateByteString'cpu'arguments'intercept
- | RotateByteString'cpu'arguments'slope
- | RotateByteString'memory'arguments'intercept
- | RotateByteString'memory'arguments'slope
- | CountSetBits'cpu'arguments'intercept
- | CountSetBits'cpu'arguments'slope
- | CountSetBits'memory'arguments
- | FindFirstSetBit'cpu'arguments'intercept
- | FindFirstSetBit'cpu'arguments'slope
- | FindFirstSetBit'memory'arguments
- | Ripemd_160'cpu'arguments'intercept
- | Ripemd_160'cpu'arguments'slope
- | Ripemd_160'memory'arguments
- | ExpModInteger'cpu'arguments'coefficient00
- | ExpModInteger'cpu'arguments'coefficient11
- | ExpModInteger'cpu'arguments'coefficient12
- | ExpModInteger'memory'arguments'intercept
- | ExpModInteger'memory'arguments'slope
- | DropList'cpu'arguments'intercept
- | DropList'cpu'arguments'slope
- | DropList'memory'arguments
- | LengthOfArray'cpu'arguments
- | LengthOfArray'memory'arguments
- | ListToArray'cpu'arguments'intercept
- | ListToArray'cpu'arguments'slope
- | ListToArray'memory'arguments'intercept
- | ListToArray'memory'arguments'slope
- | IndexArray'cpu'arguments
- | IndexArray'memory'arguments
- | Bls12_381_G1_multiScalarMul'cpu'arguments'intercept
- | Bls12_381_G1_multiScalarMul'cpu'arguments'slope
- | Bls12_381_G1_multiScalarMul'memory'arguments
- | Bls12_381_G2_multiScalarMul'cpu'arguments'intercept
- | Bls12_381_G2_multiScalarMul'cpu'arguments'slope
- | Bls12_381_G2_multiScalarMul'memory'arguments
- | InsertCoin'cpu'arguments'intercept
- | InsertCoin'cpu'arguments'slope
- | InsertCoin'memory'arguments'intercept
- | InsertCoin'memory'arguments'slope
- | LookupCoin'cpu'arguments'intercept
- | LookupCoin'cpu'arguments'slope
- | LookupCoin'memory'arguments
- | UnionValue'cpu'arguments'c00
- | UnionValue'cpu'arguments'c10
- | UnionValue'cpu'arguments'c01
- | UnionValue'cpu'arguments'c11
- | UnionValue'memory'arguments'intercept
- | UnionValue'memory'arguments'slope
- | ValueContains'cpu'arguments'constant
- | ValueContains'cpu'arguments'model'arguments'intercept
- | ValueContains'cpu'arguments'model'arguments'slope1
- | ValueContains'cpu'arguments'model'arguments'slope2
- | ValueContains'memory'arguments
- | ValueData'cpu'arguments'intercept
- | ValueData'cpu'arguments'slope
- | ValueData'memory'arguments'intercept
- | ValueData'memory'arguments'slope
- | UnValueData'cpu'arguments'c0
- | UnValueData'cpu'arguments'c1
- | UnValueData'cpu'arguments'c2
- | UnValueData'memory'arguments'intercept
- | UnValueData'memory'arguments'slope
- | ScaleValue'cpu'arguments'intercept
- | ScaleValue'cpu'arguments'slope
- | ScaleValue'memory'arguments'intercept
- | ScaleValue'memory'arguments'slope
- data CostModelApplyError
- type CostModelParams = Map Text Int64
- assertWellFormedCostModelParams :: MonadError CostModelApplyError m => CostModelParams -> m ()
- data ScriptContext
- pattern ScriptContext :: TxInfo -> Redeemer -> ScriptInfo -> ScriptContext
- scriptContextTxInfo :: ScriptContext -> TxInfo
- scriptContextRedeemer :: ScriptContext -> Redeemer
- scriptContextScriptInfo :: ScriptContext -> ScriptInfo
- data ScriptPurpose
- pattern Minting :: CurrencySymbol -> ScriptPurpose
- pattern Spending :: TxOutRef -> ScriptPurpose
- pattern Rewarding :: Credential -> ScriptPurpose
- pattern Certifying :: Integer -> TxCert -> ScriptPurpose
- pattern Voting :: Voter -> ScriptPurpose
- pattern Proposing :: Integer -> ProposalProcedure -> ScriptPurpose
- data ScriptInfo
- pattern MintingScript :: CurrencySymbol -> ScriptInfo
- pattern SpendingScript :: TxOutRef -> Maybe Datum -> ScriptInfo
- pattern RewardingScript :: Credential -> ScriptInfo
- pattern CertifyingScript :: Integer -> TxCert -> ScriptInfo
- pattern VotingScript :: Voter -> ScriptInfo
- pattern ProposingScript :: Integer -> ProposalProcedure -> ScriptInfo
- data BuiltinByteString
- toBuiltin :: HasToBuiltin a => a -> ToBuiltin a
- fromBuiltin :: HasFromBuiltin arep => arep -> FromBuiltin arep
- toOpaque :: HasToOpaque a arep => a -> arep
- fromOpaque :: HasFromOpaque arep a => arep -> a
- newtype LedgerBytes = LedgerBytes {}
- fromBytes :: ByteString -> LedgerBytes
- data StakingCredential
- pattern StakingHash :: Credential -> StakingCredential
- pattern StakingPtr :: Integer -> Integer -> Integer -> StakingCredential
- data Credential
- pattern PubKeyCredential :: PubKeyHash -> Credential
- pattern ScriptCredential :: ScriptHash -> Credential
- newtype Value = Value {}
- newtype CurrencySymbol = CurrencySymbol {}
- newtype TokenName = TokenName {}
- singleton :: CurrencySymbol -> TokenName -> Integer -> Value
- unionWith :: (Integer -> Integer -> Integer) -> Value -> Value -> Value
- adaSymbol :: CurrencySymbol
- adaToken :: TokenName
- newtype Lovelace = Lovelace {}
- data MintValue
- emptyMintValue :: MintValue
- mintValueToMap :: MintValue -> Map CurrencySymbol (Map TokenName Integer)
- mintValueMinted :: MintValue -> Value
- mintValueBurned :: MintValue -> Value
- newtype POSIXTime = POSIXTime {}
- type POSIXTimeRange = Interval POSIXTime
- data Address
- pattern Address :: Credential -> Maybe StakingCredential -> Address
- addressCredential :: Address -> Credential
- addressStakingCredential :: Address -> Maybe StakingCredential
- newtype PubKeyHash = PubKeyHash {}
- newtype TxId = TxId {}
- data TxInfo
- pattern TxInfo :: List TxInInfo -> List TxInInfo -> List TxOut -> Lovelace -> MintValue -> List TxCert -> Map Credential Lovelace -> POSIXTimeRange -> List PubKeyHash -> Map ScriptPurpose Redeemer -> Map DatumHash Datum -> TxId -> Map Voter (Map GovernanceActionId Vote) -> List ProposalProcedure -> Maybe Lovelace -> Maybe Lovelace -> TxInfo
- txInfoInputs :: TxInfo -> List TxInInfo
- txInfoReferenceInputs :: TxInfo -> List TxInInfo
- txInfoOutputs :: TxInfo -> List TxOut
- txInfoFee :: TxInfo -> Lovelace
- txInfoMint :: TxInfo -> MintValue
- txInfoTxCerts :: TxInfo -> List TxCert
- txInfoWdrl :: TxInfo -> Map Credential Lovelace
- txInfoValidRange :: TxInfo -> POSIXTimeRange
- txInfoSignatories :: TxInfo -> List PubKeyHash
- txInfoRedeemers :: TxInfo -> Map ScriptPurpose Redeemer
- txInfoData :: TxInfo -> Map DatumHash Datum
- txInfoId :: TxInfo -> TxId
- txInfoVotes :: TxInfo -> Map Voter (Map GovernanceActionId Vote)
- txInfoProposalProcedures :: TxInfo -> List ProposalProcedure
- txInfoCurrentTreasuryAmount :: TxInfo -> Maybe Lovelace
- txInfoTreasuryDonation :: TxInfo -> Maybe Lovelace
- data TxOut
- pattern TxOut :: Address -> Value -> OutputDatum -> Maybe ScriptHash -> TxOut
- txOutAddress :: TxOut -> Address
- txOutValue :: TxOut -> Value
- txOutDatum :: TxOut -> OutputDatum
- txOutReferenceScript :: TxOut -> Maybe ScriptHash
- data TxOutRef
- pattern TxOutRef :: TxId -> Integer -> TxOutRef
- txOutRefId :: TxOutRef -> TxId
- txOutRefIdx :: TxOutRef -> Integer
- data TxInInfo
- pattern TxInInfo :: TxOutRef -> TxOut -> TxInInfo
- txInInfoOutRef :: TxInInfo -> TxOutRef
- txInInfoResolved :: TxInInfo -> TxOut
- data OutputDatum
- pattern NoOutputDatum :: OutputDatum
- pattern OutputDatum :: Datum -> OutputDatum
- pattern OutputDatumHash :: DatumHash -> OutputDatum
- data Interval a
- pattern Interval :: (ToData a, UnsafeFromData a) => LowerBound a -> UpperBound a -> Interval a
- ivFrom :: (ToData a, UnsafeFromData a) => Interval a -> LowerBound a
- ivTo :: (ToData a, UnsafeFromData a) => Interval a -> UpperBound a
- data Extended a
- pattern NegInf :: Extended a
- pattern PosInf :: Extended a
- pattern Finite :: (ToData a, UnsafeFromData a) => a -> Extended a
- type Closure = Bool
- data UpperBound a
- pattern UpperBound :: (ToData a, UnsafeFromData a) => Extended a -> Closure -> UpperBound a
- data LowerBound a
- pattern LowerBound :: (ToData a, UnsafeFromData a) => Extended a -> Closure -> LowerBound a
- always :: (ToData a, UnsafeFromData a) => Interval a
- from :: (ToData a, UnsafeFromData a) => a -> Interval a
- to :: (ToData a, UnsafeFromData a) => a -> Interval a
- lowerBound :: (ToData a, UnsafeFromData a) => a -> LowerBound a
- upperBound :: (ToData a, UnsafeFromData a) => a -> UpperBound a
- strictLowerBound :: (ToData a, UnsafeFromData a) => a -> LowerBound a
- strictUpperBound :: (ToData a, UnsafeFromData a) => a -> UpperBound a
- data Rational
- ratio :: Integer -> Integer -> Maybe Rational
- unsafeRatio :: Integer -> Integer -> Rational
- numerator :: Rational -> Integer
- denominator :: Rational -> Integer
- fromHaskellRatio :: Rational -> Rational
- toHaskellRatio :: Rational -> Rational
- fromGHC :: Rational -> Rational
- toGHC :: Rational -> Rational
- data Map k a
- unsafeFromSOPList :: (ToData k, ToData a) => [(k, a)] -> Map k a
- newtype ScriptHash = ScriptHash {}
- newtype Redeemer = Redeemer {}
- newtype RedeemerHash = RedeemerHash BuiltinByteString
- newtype Datum = Datum {}
- newtype DatumHash = DatumHash BuiltinByteString
- data Data
- data BuiltinData = BuiltinData ~Data
- class ToData a where
- toBuiltinData :: a -> BuiltinData
- class FromData a where
- fromBuiltinData :: BuiltinData -> Maybe a
- class UnsafeFromData a where
- unsafeFromBuiltinData :: BuiltinData -> a
- toData :: ToData a => a -> Data
- fromData :: FromData a => Data -> Maybe a
- unsafeFromData :: UnsafeFromData a => Data -> a
- dataToBuiltinData :: Data -> BuiltinData
- builtinDataToData :: BuiltinData -> Data
- class Monad m => MonadError e (m :: Type -> Type) | m -> e
- data EvaluationError
- = CekError !(CekEvaluationException NamedDeBruijn DefaultUni DefaultFun)
- | DeBruijnError !FreeVariableError
- | CodecError !ScriptDecodeError
- | CostModelParameterMismatch
- | InvalidReturnValue
- data ScriptDecodeError
- = CBORDeserialiseError !DeserialiseFailureInfo
- | RemainderError !ByteString
- | LedgerLanguageNotAvailableError { }
- | PlutusCoreLanguageNotAvailableError { }
Scripts
type SerialisedScript = ShortByteString Source #
Scripts to the ledger are serialised bytestrings.
data ScriptForEvaluation Source #
A Plutus script ready to be evaluated on-chain, via evaluateScriptRestricting.
Instances
serialisedScript :: ScriptForEvaluation -> SerialisedScript Source #
Get a SerialisedScript from a ScriptForEvaluation. O(1).
deserialisedScript :: ScriptForEvaluation -> ScriptNamedDeBruijn Source #
Get a ScriptNamedDeBruijn from a ScriptForEvaluation. O(1).
serialiseCompiledCode :: CompiledCode a -> SerialisedScript Source #
Turns a program which was compiled using the 'PlutusTx' toolchain into a binary format that is understood by the network and can be stored on-chain.
serialiseUPLC :: Program DeBruijn DefaultUni DefaultFun () -> SerialisedScript Source #
Turns a program's AST (most likely manually constructed) into a binary format that is understood by the network and can be stored on-chain.
Arguments
| :: MonadError ScriptDecodeError m | |
| => MajorProtocolVersion | which major protocol version the script was submitted in. |
| -> SerialisedScript | the script to deserialise. |
| -> m ScriptForEvaluation |
The deserialization from a serialised script into a ScriptForEvaluation,
ready to be evaluated on-chain.
Called inside phase-1 validation (i.e., deserialisation error is a phase-1 error).
uncheckedDeserialiseUPLC :: SerialisedScript -> Program DeBruijn DefaultUni DefaultFun () Source #
Deserialises a SerialisedScript back into an AST. Does *not* do
ledger-language-version-specific checks like for allowable builtins.
Running scripts
evaluateScriptRestricting Source #
Arguments
| :: MajorProtocolVersion | Which protocol version to run the operation in |
| -> VerboseMode | Whether to produce log output |
| -> EvaluationContext | Includes the cost model to use for tallying up the execution costs |
| -> ExBudget | The resource budget which must not be exceeded during evaluation |
| -> ScriptForEvaluation | The script to evaluate |
| -> Data | The |
| -> (LogOutput, Either EvaluationError ExBudget) |
Evaluates a script, with a cost model and a budget that restricts how many resources it can use according to the cost model. Also returns the budget that was actually used.
Can be used to calculate budgets for scripts, but even in this case you must give a limit to guard against scripts that run for a long time or loop.
evaluateScriptCounting Source #
Arguments
| :: MajorProtocolVersion | Which protocol version to run the operation in |
| -> VerboseMode | Whether to produce log output |
| -> EvaluationContext | Includes the cost model to use for tallying up the execution costs |
| -> ScriptForEvaluation | The script to evaluate |
| -> Data | The |
| -> (LogOutput, Either EvaluationError ExBudget) |
Evaluates a script, returning the minimum budget that the script would need
to evaluate successfully. This will take as long as the script takes, if you need to
limit the execution time of the script also, you can use evaluateScriptRestricting, which
also returns the used budget.
CIP-1694
newtype ColdCommitteeCredential Source #
Constructors
| ColdCommitteeCredential Credential |
Instances
| Generic ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ColdCommitteeCredential -> Rep ColdCommitteeCredential x Source # to :: Rep ColdCommitteeCredential x -> ColdCommitteeCredential Source # | |||||
| Show ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # (/=) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # | |||||
| Eq ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool | |||||
| FromData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe ColdCommitteeCredential # | |||||
| ToData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> ColdCommitteeCredential # | |||||
| Pretty ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann prettyList :: [ColdCommitteeCredential] -> Doc ann | |||||
| Lift DefaultUni ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ColdCommitteeCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ColdCommitteeCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ColdCommitteeCredential = D1 ('MetaData "ColdCommitteeCredential" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ColdCommitteeCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
newtype HotCommitteeCredential Source #
Constructors
| HotCommitteeCredential Credential |
Instances
| Generic HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: HotCommitteeCredential -> Rep HotCommitteeCredential x Source # to :: Rep HotCommitteeCredential x -> HotCommitteeCredential Source # | |||||
| Show HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # (/=) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # | |||||
| Eq HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool | |||||
| FromData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe HotCommitteeCredential # | |||||
| ToData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> HotCommitteeCredential # | |||||
| Pretty HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: HotCommitteeCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy HotCommitteeCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep HotCommitteeCredential = D1 ('MetaData "HotCommitteeCredential" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "HotCommitteeCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
newtype DRepCredential Source #
Constructors
| DRepCredential Credential |
Instances
| Generic DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: DRepCredential -> Rep DRepCredential x Source # to :: Rep DRepCredential x -> DRepCredential Source # | |||||
| Show DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: DRepCredential -> DRepCredential -> Bool Source # (/=) :: DRepCredential -> DRepCredential -> Bool Source # | |||||
| Eq DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: DRepCredential -> DRepCredential -> Bool | |||||
| FromData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: DRepCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy DRepCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep DRepCredential = D1 ('MetaData "DRepCredential" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "DRepCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
Instances
| Generic DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show DRep Source # | |||||
| Eq DRep Source # | |||||
| Eq DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe DRep # | |||||
| ToData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: DRep -> BuiltinData # | |||||
| UnsafeFromData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep DRep = D1 ('MetaData "DRep" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "DRep_6989586621681070042" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern DRep :: DRepCredential -> DRep Source #
pattern DRepAlwaysAbstain :: DRep Source #
pattern DRepAlwaysNoConfidence :: DRep Source #
Instances
| Generic Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show Delegatee Source # | |||||
| Eq Delegatee Source # | |||||
| Eq Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Delegatee -> BuiltinData # | |||||
| UnsafeFromData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep Delegatee = D1 ('MetaData "Delegatee" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Delegatee_6989586621681071311" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern DelegStake :: PubKeyHash -> Delegatee Source #
pattern DelegStakeVote :: PubKeyHash -> DRep -> Delegatee Source #
Instances
| Generic TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show TxCert Source # | |||||
| Eq TxCert Source # | |||||
| Eq TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxCert # | |||||
| ToData TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxCert -> BuiltinData # | |||||
| UnsafeFromData TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep TxCert Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep TxCert = D1 ('MetaData "TxCert" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxCert_6989586621681072905" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern TxCertRegStaking :: Credential -> Maybe Lovelace -> TxCert Source #
pattern TxCertUnRegStaking :: Credential -> Maybe Lovelace -> TxCert Source #
pattern TxCertDelegStaking :: Credential -> Delegatee -> TxCert Source #
pattern TxCertRegDeleg :: Credential -> Delegatee -> Lovelace -> TxCert Source #
pattern TxCertRegDRep :: DRepCredential -> Lovelace -> TxCert Source #
pattern TxCertUpdateDRep :: DRepCredential -> TxCert Source #
pattern TxCertUnRegDRep :: DRepCredential -> Lovelace -> TxCert Source #
pattern TxCertPoolRegister :: PubKeyHash -> PubKeyHash -> TxCert Source #
pattern TxCertPoolRetire :: PubKeyHash -> Integer -> TxCert Source #
pattern TxCertAuthHotCommittee :: ColdCommitteeCredential -> HotCommitteeCredential -> TxCert Source #
pattern TxCertResignColdCommittee :: ColdCommitteeCredential -> TxCert Source #
Instances
| Generic Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show Voter Source # | |||||
| Eq Voter Source # | |||||
| Eq Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Voter # | |||||
| ToData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Voter -> BuiltinData # | |||||
| UnsafeFromData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep Voter = D1 ('MetaData "Voter" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Voter_6989586621681075171" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern CommitteeVoter :: HotCommitteeCredential -> Voter Source #
pattern DRepVoter :: DRepCredential -> Voter Source #
pattern StakePoolVoter :: PubKeyHash -> Voter Source #
A vote. The optional anchor is omitted.
Instances
| Generic Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show Vote Source # | |||||
| Eq Vote Source # | |||||
| Eq Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Vote # | |||||
| ToData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Vote -> BuiltinData # | |||||
| UnsafeFromData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep Vote = D1 ('MetaData "Vote" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Vote_6989586621681076450" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
data GovernanceActionId Source #
Similar to TxOutRef, but for GovActions
Instances
| Generic GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: GovernanceActionId -> Rep GovernanceActionId x Source # to :: Rep GovernanceActionId x -> GovernanceActionId Source # | |||||
| Show GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: GovernanceActionId -> GovernanceActionId -> Bool Source # (/=) :: GovernanceActionId -> GovernanceActionId -> Bool Source # | |||||
| Eq GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: GovernanceActionId -> GovernanceActionId -> Bool | |||||
| FromData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe GovernanceActionId # | |||||
| ToData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> GovernanceActionId # | |||||
| Pretty GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: GovernanceActionId -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy GovernanceActionId -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep GovernanceActionId = D1 ('MetaData "GovernanceActionId" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "GovernanceActionId_6989586621681077654" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
gaidTxId :: GovernanceActionId -> TxId Source #
Instances
| Generic Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show Committee Source # | |||||
| FromData Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Committee -> BuiltinData # | |||||
| UnsafeFromData Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep Committee Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep Committee = D1 ('MetaData "Committee" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Committee_6989586621681078734" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
committeeQuorum :: Committee -> Rational Source #
newtype Constitution Source #
A constitution. The optional anchor is omitted.
Constructors
| Constitution | |
Fields | |
Instances
| Generic Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: Constitution -> Rep Constitution x Source # to :: Rep Constitution x -> Constitution Source # | |||||
| Show Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: Constitution -> Constitution -> Bool Source # (/=) :: Constitution -> Constitution -> Bool Source # | |||||
| Eq Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: Constitution -> Constitution -> Bool | |||||
| FromData Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: Constitution -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy Constitution -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep Constitution Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep Constitution = D1 ('MetaData "Constitution" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Constitution" 'PrefixI 'True) (S1 ('MetaSel ('Just "constitutionScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ScriptHash)))) | |||||
data ProtocolVersion Source #
Instances
| Generic ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ProtocolVersion -> Rep ProtocolVersion x Source # to :: Rep ProtocolVersion x -> ProtocolVersion Source # | |||||
| Show ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (/=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # | |||||
| Eq ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ProtocolVersion -> ProtocolVersion -> Bool | |||||
| FromData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ProtocolVersion -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ProtocolVersion -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ProtocolVersion_6989586621681080883" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern ProtocolVersion :: Integer -> Integer -> ProtocolVersion Source #
pvMajor :: ProtocolVersion -> Integer Source #
pvMinor :: ProtocolVersion -> Integer Source #
data GovernanceAction Source #
Instances
| Generic GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: GovernanceAction -> Rep GovernanceAction x Source # to :: Rep GovernanceAction x -> GovernanceAction Source # | |||||
| Show GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: GovernanceAction -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy GovernanceAction -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep GovernanceAction = D1 ('MetaData "GovernanceAction" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "GovernanceAction_6989586621681083356" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern ParameterChange :: Maybe GovernanceActionId -> ChangedParameters -> Maybe ScriptHash -> GovernanceAction Source #
pattern HardForkInitiation :: Maybe GovernanceActionId -> ProtocolVersion -> GovernanceAction Source #
pattern TreasuryWithdrawals :: Map Credential Lovelace -> Maybe ScriptHash -> GovernanceAction Source #
pattern NoConfidence :: Maybe GovernanceActionId -> GovernanceAction Source #
pattern UpdateCommittee :: Maybe GovernanceActionId -> List ColdCommitteeCredential -> Map ColdCommitteeCredential Integer -> Rational -> GovernanceAction Source #
pattern NewConstitution :: Maybe GovernanceActionId -> Constitution -> GovernanceAction Source #
pattern InfoAction :: GovernanceAction Source #
newtype ChangedParameters Source #
A Plutus Data object containing proposed parameter changes. The Data object contains
a Map with one entry per changed parameter, from the parameter ID to the new value.
Unchanged parameters are not included.
The mapping from parameter IDs to parameters can be found in conway.cddl. -- editorconfig-checker-disable-file
Invariant: This map is non-empty, and the keys are stored in ascending order.
Constructors
| ChangedParameters | |
Fields | |
Instances
| Generic ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ChangedParameters -> Rep ChangedParameters x Source # to :: Rep ChangedParameters x -> ChangedParameters Source # | |||||
| Show ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Eq ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ChangedParameters -> ChangedParameters -> Bool Source # (/=) :: ChangedParameters -> ChangedParameters -> Bool Source # | |||||
| Ord ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods compare :: ChangedParameters -> ChangedParameters -> Ordering Source # (<) :: ChangedParameters -> ChangedParameters -> Bool Source # (<=) :: ChangedParameters -> ChangedParameters -> Bool Source # (>) :: ChangedParameters -> ChangedParameters -> Bool Source # (>=) :: ChangedParameters -> ChangedParameters -> Bool Source # max :: ChangedParameters -> ChangedParameters -> ChangedParameters Source # min :: ChangedParameters -> ChangedParameters -> ChangedParameters Source # | |||||
| Eq ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods (==) :: ChangedParameters -> ChangedParameters -> Bool | |||||
| FromData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ChangedParameters -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ChangedParameters -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ChangedParameters = D1 ('MetaData "ChangedParameters" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ChangedParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "getChangedParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
data ProposalProcedure Source #
A proposal procedure. The optional anchor is omitted.
Instances
| Generic ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ProposalProcedure -> Rep ProposalProcedure x Source # to :: Rep ProposalProcedure x -> ProposalProcedure Source # | |||||
| Show ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ProposalProcedure -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ProposalProcedure -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ProposalProcedure = D1 ('MetaData "ProposalProcedure" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ProposalProcedure_6989586621681085130" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern ProposalProcedure :: Lovelace -> Credential -> GovernanceAction -> ProposalProcedure Source #
Protocol version
newtype MajorProtocolVersion Source #
This represents the major component of the Cardano protocol version. The ledger can only supply the major component of the protocol version, not the minor component, and Plutus should only need to care about the major component anyway. This relies on careful understanding between us and the ledger as to what this means.
Constructors
| MajorProtocolVersion | |
Fields | |
Instances
| Enum MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions Methods succ :: MajorProtocolVersion -> MajorProtocolVersion Source # pred :: MajorProtocolVersion -> MajorProtocolVersion Source # toEnum :: Int -> MajorProtocolVersion Source # fromEnum :: MajorProtocolVersion -> Int Source # enumFrom :: MajorProtocolVersion -> [MajorProtocolVersion] Source # enumFromThen :: MajorProtocolVersion -> MajorProtocolVersion -> [MajorProtocolVersion] Source # enumFromTo :: MajorProtocolVersion -> MajorProtocolVersion -> [MajorProtocolVersion] Source # enumFromThenTo :: MajorProtocolVersion -> MajorProtocolVersion -> MajorProtocolVersion -> [MajorProtocolVersion] Source # | |||||
| Generic MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions Associated Types
Methods from :: MajorProtocolVersion -> Rep MajorProtocolVersion x Source # to :: Rep MajorProtocolVersion x -> MajorProtocolVersion Source # | |||||
| Show MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions | |||||
| Eq MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions Methods (==) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # (/=) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # | |||||
| Ord MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions Methods compare :: MajorProtocolVersion -> MajorProtocolVersion -> Ordering Source # (<) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # (<=) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # (>) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # (>=) :: MajorProtocolVersion -> MajorProtocolVersion -> Bool Source # max :: MajorProtocolVersion -> MajorProtocolVersion -> MajorProtocolVersion Source # min :: MajorProtocolVersion -> MajorProtocolVersion -> MajorProtocolVersion Source # | |||||
| Pretty MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions | |||||
| Serialise MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions Methods encode :: MajorProtocolVersion -> Encoding decode :: Decoder s MajorProtocolVersion encodeList :: [MajorProtocolVersion] -> Encoding decodeList :: Decoder s [MajorProtocolVersion] | |||||
| type Rep MajorProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.Common.ProtocolVersions type Rep MajorProtocolVersion = D1 ('MetaData "MajorProtocolVersion" "PlutusLedgerApi.Common.ProtocolVersions" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "MajorProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMajorProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
Verbose mode and log output
data VerboseMode Source #
A simple toggle indicating whether or not we should accumulate logs during script execution.
Instances
| Eq VerboseMode Source # | |
Defined in PlutusLedgerApi.Common.Eval Methods (==) :: VerboseMode -> VerboseMode -> Bool Source # (/=) :: VerboseMode -> VerboseMode -> Bool Source # | |
type LogOutput = [Text] Source #
The type of the executed script's accumulated log output: a list of Text.
It will be an empty list if the VerboseMode is set to Quiet.
Costing-related types
Constructors
| ExBudget | |
Fields | |
Instances
| FromJSON ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget | |||||
| ToJSON ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget Methods toEncoding :: ExBudget -> Encoding toJSONList :: [ExBudget] -> Value toEncodingList :: [ExBudget] -> Encoding | |||||
| Monoid ExBudget | |||||
| Semigroup ExBudget | |||||
| Generic ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget Associated Types
| |||||
| Show ExBudget | |||||
| NFData ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget | |||||
| Eq ExBudget | |||||
| NoThunks ExBudget | |||||
| Pretty ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget | |||||
| Serialise ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget Methods encode :: ExBudget -> Encoding encodeList :: [ExBudget] -> Encoding decodeList :: Decoder s [ExBudget] | |||||
| PrettyBy config ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget | |||||
| Lift ExBudget | |||||
| type Rep ExBudget | |||||
Defined in PlutusCore.Evaluation.Machine.ExBudget type Rep ExBudget = D1 ('MetaData "ExBudget" "PlutusCore.Evaluation.Machine.ExBudget" "plutus-core-1.60.0.0-LXFqBsoUlXsJIEqLytHte7" 'False) (C1 ('MetaCons "ExBudget" 'PrefixI 'True) (S1 ('MetaSel ('Just "exBudgetCPU") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 ExCPU) :*: S1 ('MetaSel ('Just "exBudgetMemory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 ExMemory))) | |||||
Constructors
| ExCPU CostingInteger |
Instances
| FromJSON ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| ToJSON ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding :: ExCPU -> Encoding toJSONList :: [ExCPU] -> Value toEncodingList :: [ExCPU] -> Encoding | |||||
| Monoid ExCPU | |||||
| Semigroup ExCPU | |||||
| Bounded ExCPU | |||||
| Generic ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Associated Types
| |||||
| Num ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Read ExCPU | |||||
| Show ExCPU | |||||
| NFData ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Eq ExCPU | |||||
| Ord ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| NoThunks ExCPU | |||||
| Pretty ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Serialise ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| PrettyBy config ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Lift ExCPU | |||||
| type Rep ExCPU | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
Constructors
| ExMemory CostingInteger |
Instances
| FromJSON ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| ToJSON ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding :: ExMemory -> Encoding toJSONList :: [ExMemory] -> Value toEncodingList :: [ExMemory] -> Encoding | |||||
| Monoid ExMemory | |||||
| Semigroup ExMemory | |||||
| Bounded ExMemory | |||||
| Generic ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Associated Types
| |||||
| Num ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods (+) :: ExMemory -> ExMemory -> ExMemory Source # (-) :: ExMemory -> ExMemory -> ExMemory Source # (*) :: ExMemory -> ExMemory -> ExMemory Source # negate :: ExMemory -> ExMemory Source # abs :: ExMemory -> ExMemory Source # signum :: ExMemory -> ExMemory Source # fromInteger :: Integer -> ExMemory Source # | |||||
| Read ExMemory | |||||
| Show ExMemory | |||||
| NFData ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Eq ExMemory | |||||
| Ord ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| NoThunks ExMemory | |||||
| Pretty ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Serialise ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods encode :: ExMemory -> Encoding encodeList :: [ExMemory] -> Encoding decodeList :: Decoder s [ExMemory] | |||||
| PrettyBy config ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Lift ExMemory | |||||
| type Rep ExMemory | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory type Rep ExMemory = D1 ('MetaData "ExMemory" "PlutusCore.Evaluation.Machine.ExMemory" "plutus-core-1.60.0.0-LXFqBsoUlXsJIEqLytHte7" 'True) (C1 ('MetaCons "ExMemory" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CostingInteger))) | |||||
Instances
| FromJSON SatInt | |||||
Defined in Data.SatInt | |||||
| ToJSON SatInt | |||||
Defined in Data.SatInt Methods toEncoding :: SatInt -> Encoding toJSONList :: [SatInt] -> Value toEncodingList :: [SatInt] -> Encoding | |||||
| Bits SatInt | |||||
Defined in Data.SatInt Methods (.&.) :: SatInt -> SatInt -> SatInt Source # (.|.) :: SatInt -> SatInt -> SatInt Source # xor :: SatInt -> SatInt -> SatInt Source # complement :: SatInt -> SatInt Source # shift :: SatInt -> Int -> SatInt Source # rotate :: SatInt -> Int -> SatInt Source # setBit :: SatInt -> Int -> SatInt Source # clearBit :: SatInt -> Int -> SatInt Source # complementBit :: SatInt -> Int -> SatInt Source # testBit :: SatInt -> Int -> Bool Source # bitSizeMaybe :: SatInt -> Maybe Int Source # bitSize :: SatInt -> Int Source # isSigned :: SatInt -> Bool Source # shiftL :: SatInt -> Int -> SatInt Source # unsafeShiftL :: SatInt -> Int -> SatInt Source # shiftR :: SatInt -> Int -> SatInt Source # unsafeShiftR :: SatInt -> Int -> SatInt Source # rotateL :: SatInt -> Int -> SatInt Source # | |||||
| FiniteBits SatInt | |||||
Defined in Data.SatInt Methods finiteBitSize :: SatInt -> Int Source # countLeadingZeros :: SatInt -> Int Source # countTrailingZeros :: SatInt -> Int Source # | |||||
| Bounded SatInt | |||||
| Generic SatInt | |||||
Defined in Data.SatInt Associated Types
| |||||
| Num SatInt | |||||
| Read SatInt | |||||
| Show SatInt | |||||
| FromField SatInt | |||||
Defined in Data.SatInt Methods parseField :: Field -> Parser SatInt | |||||
| NFData SatInt | |||||
Defined in Data.SatInt | |||||
| Eq SatInt | |||||
| Ord SatInt | |||||
| NoThunks SatInt | |||||
| Prim SatInt | |||||
Defined in Data.SatInt Methods sizeOfType# :: Proxy SatInt -> Int# alignmentOfType# :: Proxy SatInt -> Int# alignment# :: SatInt -> Int# indexByteArray# :: ByteArray# -> Int# -> SatInt readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SatInt #) writeByteArray# :: MutableByteArray# s -> Int# -> SatInt -> State# s -> State# s setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SatInt -> State# s -> State# s indexOffAddr# :: Addr# -> Int# -> SatInt readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SatInt #) writeOffAddr# :: Addr# -> Int# -> SatInt -> State# s -> State# s setOffAddr# :: Addr# -> Int# -> Int# -> SatInt -> State# s -> State# s | |||||
| Serialise SatInt | |||||
Defined in Data.SatInt | |||||
| Lift SatInt | |||||
| type Rep SatInt | |||||
Defined in Data.SatInt | |||||
fromSatInt :: Num a => SatInt -> a #
Cost model
data EvaluationContext Source #
An opaque type that contains all the static parameters that the evaluator needs to evaluate a script. This is so that they can be computed once and cached, rather than being recomputed on every evaluation.
Different protocol versions may require different bundles of machine parameters, which allows us for
example to tweak the shape of the costing function of a builtin, so that the builtin costs less.
Currently this means that we have to create multiple DefaultMachineParameters per language
version, which we put into a cache (represented by an association list) in order to avoid costly
recomputation of machine parameters.
In order to get the appropriate DefaultMachineParameters at validation time we look it up in the
cache using a semantics variant as a key. We compute the semantics variant from the protocol
version using the stored function. Note that the semantics variant depends on the language version
too, but the latter is known statically (because each language version has its own evaluation
context), hence there's no reason to require it to be provided at runtime.
To say it differently, there's a matrix of semantics variants indexed by (LL, PV) pairs and we
cache its particular row corresponding to the statically given LL in an EvaluationContext.
The reason why we associate a DefaultMachineParameters with a semantics variant rather than a
protocol version are
- generally there are far more protocol versions than semantics variants supported by a specific language version, so we save on pointless duplication of bundles of machine parameters
- builtins don't know anything about protocol versions, only semantics variants. It is therefore more semantically precise to associate bundles of machine parameters with semantics variants than with protocol versions
Instances
| Generic EvaluationContext Source # | |||||
Defined in PlutusLedgerApi.Common.Eval Associated Types
Methods from :: EvaluationContext -> Rep EvaluationContext x Source # to :: Rep EvaluationContext x -> EvaluationContext Source # | |||||
| NFData EvaluationContext Source # | |||||
Defined in PlutusLedgerApi.Common.Eval Methods rnf :: EvaluationContext -> () Source # | |||||
| NoThunks EvaluationContext Source # | |||||
Defined in PlutusLedgerApi.Common.Eval Methods noThunks :: Context -> EvaluationContext -> IO (Maybe ThunkInfo) wNoThunks :: Context -> EvaluationContext -> IO (Maybe ThunkInfo) | |||||
| type Rep EvaluationContext Source # | |||||
Defined in PlutusLedgerApi.Common.Eval type Rep EvaluationContext = D1 ('MetaData "EvaluationContext" "PlutusLedgerApi.Common.Eval" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'False) (C1 ('MetaCons "EvaluationContext" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_evalCtxLedgerLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PlutusLedgerLanguage) :*: S1 ('MetaSel ('Just "_evalCtxCaserBuiltin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MajorProtocolVersion -> CaserBuiltin DefaultUni))) :*: (S1 ('MetaSel ('Just "_evalCtxToSemVar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MajorProtocolVersion -> BuiltinSemanticsVariant DefaultFun)) :*: S1 ('MetaSel ('Just "_evalCtxMachParsCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(BuiltinSemanticsVariant DefaultFun, DefaultMachineVariantParameters)])))) | |||||
Arguments
| :: (MonadError CostModelApplyError m, MonadWriter [CostModelApplyWarn] m) | |
| => [Int64] | the (updated) cost model parameters of the protocol |
| -> m EvaluationContext |
Build the EvaluationContext.
The input is a list of cost model parameters (which are integer values) passed from the ledger.
IMPORTANT: the cost model parameters MUST appear in the correct order,
matching the names in ParamName. If the parameters are
supplied in the wrong order then script cost calculations will be incorrect.
IMPORTANT: The evaluation context of every Plutus version must be recreated upon a protocol update with the updated cost model parameters.
The enumeration of all possible cost model parameter names for this language version.
IMPORTANT: The order of appearance of the data constructors here matters. DO NOT REORDER. See Note [Quotation marks in cost model parameter constructors] See Note [Cost model parameters from the ledger's point of view]
Constructors
| AddInteger'cpu'arguments'intercept | |
| AddInteger'cpu'arguments'slope | |
| AddInteger'memory'arguments'intercept | |
| AddInteger'memory'arguments'slope | |
| AppendByteString'cpu'arguments'intercept | |
| AppendByteString'cpu'arguments'slope | |
| AppendByteString'memory'arguments'intercept | |
| AppendByteString'memory'arguments'slope | |
| AppendString'cpu'arguments'intercept | |
| AppendString'cpu'arguments'slope | |
| AppendString'memory'arguments'intercept | |
| AppendString'memory'arguments'slope | |
| BData'cpu'arguments | |
| BData'memory'arguments | |
| Blake2b_256'cpu'arguments'intercept | |
| Blake2b_256'cpu'arguments'slope | |
| Blake2b_256'memory'arguments | |
| CekApplyCost'exBudgetCPU | |
| CekApplyCost'exBudgetMemory | |
| CekBuiltinCost'exBudgetCPU | |
| CekBuiltinCost'exBudgetMemory | |
| CekConstCost'exBudgetCPU | |
| CekConstCost'exBudgetMemory | |
| CekDelayCost'exBudgetCPU | |
| CekDelayCost'exBudgetMemory | |
| CekForceCost'exBudgetCPU | |
| CekForceCost'exBudgetMemory | |
| CekLamCost'exBudgetCPU | |
| CekLamCost'exBudgetMemory | |
| CekStartupCost'exBudgetCPU | |
| CekStartupCost'exBudgetMemory | |
| CekVarCost'exBudgetCPU | |
| CekVarCost'exBudgetMemory | |
| ChooseData'cpu'arguments | |
| ChooseData'memory'arguments | |
| ChooseList'cpu'arguments | |
| ChooseList'memory'arguments | |
| ChooseUnit'cpu'arguments | |
| ChooseUnit'memory'arguments | |
| ConsByteString'cpu'arguments'intercept | |
| ConsByteString'cpu'arguments'slope | |
| ConsByteString'memory'arguments'intercept | |
| ConsByteString'memory'arguments'slope | |
| ConstrData'cpu'arguments | |
| ConstrData'memory'arguments | |
| DecodeUtf8'cpu'arguments'intercept | |
| DecodeUtf8'cpu'arguments'slope | |
| DecodeUtf8'memory'arguments'intercept | |
| DecodeUtf8'memory'arguments'slope | |
| DivideInteger'cpu'arguments'constant | |
| DivideInteger'cpu'arguments'model'arguments'c00 | |
| DivideInteger'cpu'arguments'model'arguments'c01 | |
| DivideInteger'cpu'arguments'model'arguments'c02 | |
| DivideInteger'cpu'arguments'model'arguments'c10 | |
| DivideInteger'cpu'arguments'model'arguments'c11 | |
| DivideInteger'cpu'arguments'model'arguments'c20 | |
| DivideInteger'cpu'arguments'model'arguments'minimum | |
| DivideInteger'memory'arguments'intercept | |
| DivideInteger'memory'arguments'minimum | |
| DivideInteger'memory'arguments'slope | |
| EncodeUtf8'cpu'arguments'intercept | |
| EncodeUtf8'cpu'arguments'slope | |
| EncodeUtf8'memory'arguments'intercept | |
| EncodeUtf8'memory'arguments'slope | |
| EqualsByteString'cpu'arguments'constant | |
| EqualsByteString'cpu'arguments'intercept | |
| EqualsByteString'cpu'arguments'slope | |
| EqualsByteString'memory'arguments | |
| EqualsData'cpu'arguments'intercept | |
| EqualsData'cpu'arguments'slope | |
| EqualsData'memory'arguments | |
| EqualsInteger'cpu'arguments'intercept | |
| EqualsInteger'cpu'arguments'slope | |
| EqualsInteger'memory'arguments | |
| EqualsString'cpu'arguments'constant | |
| EqualsString'cpu'arguments'intercept | |
| EqualsString'cpu'arguments'slope | |
| EqualsString'memory'arguments | |
| FstPair'cpu'arguments | |
| FstPair'memory'arguments | |
| HeadList'cpu'arguments | |
| HeadList'memory'arguments | |
| IData'cpu'arguments | |
| IData'memory'arguments | |
| IfThenElse'cpu'arguments | |
| IfThenElse'memory'arguments | |
| IndexByteString'cpu'arguments | |
| IndexByteString'memory'arguments | |
| LengthOfByteString'cpu'arguments | |
| LengthOfByteString'memory'arguments | |
| LessThanByteString'cpu'arguments'intercept | |
| LessThanByteString'cpu'arguments'slope | |
| LessThanByteString'memory'arguments | |
| LessThanEqualsByteString'cpu'arguments'intercept | |
| LessThanEqualsByteString'cpu'arguments'slope | |
| LessThanEqualsByteString'memory'arguments | |
| LessThanEqualsInteger'cpu'arguments'intercept | |
| LessThanEqualsInteger'cpu'arguments'slope | |
| LessThanEqualsInteger'memory'arguments | |
| LessThanInteger'cpu'arguments'intercept | |
| LessThanInteger'cpu'arguments'slope | |
| LessThanInteger'memory'arguments | |
| ListData'cpu'arguments | |
| ListData'memory'arguments | |
| MapData'cpu'arguments | |
| MapData'memory'arguments | |
| MkCons'cpu'arguments | |
| MkCons'memory'arguments | |
| MkNilData'cpu'arguments | |
| MkNilData'memory'arguments | |
| MkNilPairData'cpu'arguments | |
| MkNilPairData'memory'arguments | |
| MkPairData'cpu'arguments | |
| MkPairData'memory'arguments | |
| ModInteger'cpu'arguments'constant | |
| ModInteger'cpu'arguments'model'arguments'c00 | |
| ModInteger'cpu'arguments'model'arguments'c01 | |
| ModInteger'cpu'arguments'model'arguments'c02 | |
| ModInteger'cpu'arguments'model'arguments'c10 | |
| ModInteger'cpu'arguments'model'arguments'c11 | |
| ModInteger'cpu'arguments'model'arguments'c20 | |
| ModInteger'cpu'arguments'model'arguments'minimum | |
| ModInteger'memory'arguments'intercept | |
| ModInteger'memory'arguments'slope | |
| MultiplyInteger'cpu'arguments'intercept | |
| MultiplyInteger'cpu'arguments'slope | |
| MultiplyInteger'memory'arguments'intercept | |
| MultiplyInteger'memory'arguments'slope | |
| NullList'cpu'arguments | |
| NullList'memory'arguments | |
| QuotientInteger'cpu'arguments'constant | |
| QuotientInteger'cpu'arguments'model'arguments'c00 | |
| QuotientInteger'cpu'arguments'model'arguments'c01 | |
| QuotientInteger'cpu'arguments'model'arguments'c02 | |
| QuotientInteger'cpu'arguments'model'arguments'c10 | |
| QuotientInteger'cpu'arguments'model'arguments'c11 | |
| QuotientInteger'cpu'arguments'model'arguments'c20 | |
| QuotientInteger'cpu'arguments'model'arguments'minimum | |
| QuotientInteger'memory'arguments'intercept | |
| QuotientInteger'memory'arguments'minimum | |
| QuotientInteger'memory'arguments'slope | |
| RemainderInteger'cpu'arguments'constant | |
| RemainderInteger'cpu'arguments'model'arguments'c00 | |
| RemainderInteger'cpu'arguments'model'arguments'c01 | |
| RemainderInteger'cpu'arguments'model'arguments'c02 | |
| RemainderInteger'cpu'arguments'model'arguments'c10 | |
| RemainderInteger'cpu'arguments'model'arguments'c11 | |
| RemainderInteger'cpu'arguments'model'arguments'c20 | |
| RemainderInteger'cpu'arguments'model'arguments'minimum | |
| RemainderInteger'memory'arguments'intercept | |
| RemainderInteger'memory'arguments'slope | |
| SerialiseData'cpu'arguments'intercept | |
| SerialiseData'cpu'arguments'slope | |
| SerialiseData'memory'arguments'intercept | |
| SerialiseData'memory'arguments'slope | |
| Sha2_256'cpu'arguments'intercept | |
| Sha2_256'cpu'arguments'slope | |
| Sha2_256'memory'arguments | |
| Sha3_256'cpu'arguments'intercept | |
| Sha3_256'cpu'arguments'slope | |
| Sha3_256'memory'arguments | |
| SliceByteString'cpu'arguments'intercept | |
| SliceByteString'cpu'arguments'slope | |
| SliceByteString'memory'arguments'intercept | |
| SliceByteString'memory'arguments'slope | |
| SndPair'cpu'arguments | |
| SndPair'memory'arguments | |
| SubtractInteger'cpu'arguments'intercept | |
| SubtractInteger'cpu'arguments'slope | |
| SubtractInteger'memory'arguments'intercept | |
| SubtractInteger'memory'arguments'slope | |
| TailList'cpu'arguments | |
| TailList'memory'arguments | |
| Trace'cpu'arguments | |
| Trace'memory'arguments | |
| UnBData'cpu'arguments | |
| UnBData'memory'arguments | |
| UnConstrData'cpu'arguments | |
| UnConstrData'memory'arguments | |
| UnIData'cpu'arguments | |
| UnIData'memory'arguments | |
| UnListData'cpu'arguments | |
| UnListData'memory'arguments | |
| UnMapData'cpu'arguments | |
| UnMapData'memory'arguments | |
| VerifyEcdsaSecp256k1Signature'cpu'arguments | |
| VerifyEcdsaSecp256k1Signature'memory'arguments | |
| VerifyEd25519Signature'cpu'arguments'intercept | |
| VerifyEd25519Signature'cpu'arguments'slope | |
| VerifyEd25519Signature'memory'arguments | |
| VerifySchnorrSecp256k1Signature'cpu'arguments'intercept | |
| VerifySchnorrSecp256k1Signature'cpu'arguments'slope | |
| VerifySchnorrSecp256k1Signature'memory'arguments | |
| CekConstrCost'exBudgetCPU | |
| CekConstrCost'exBudgetMemory | |
| CekCaseCost'exBudgetCPU | |
| CekCaseCost'exBudgetMemory | |
| Bls12_381_G1_add'cpu'arguments | |
| Bls12_381_G1_add'memory'arguments | |
| Bls12_381_G1_compress'cpu'arguments | |
| Bls12_381_G1_compress'memory'arguments | |
| Bls12_381_G1_equal'cpu'arguments | |
| Bls12_381_G1_equal'memory'arguments | |
| Bls12_381_G1_hashToGroup'cpu'arguments'intercept | |
| Bls12_381_G1_hashToGroup'cpu'arguments'slope | |
| Bls12_381_G1_hashToGroup'memory'arguments | |
| Bls12_381_G1_neg'cpu'arguments | |
| Bls12_381_G1_neg'memory'arguments | |
| Bls12_381_G1_scalarMul'cpu'arguments'intercept | |
| Bls12_381_G1_scalarMul'cpu'arguments'slope | |
| Bls12_381_G1_scalarMul'memory'arguments | |
| Bls12_381_G1_uncompress'cpu'arguments | |
| Bls12_381_G1_uncompress'memory'arguments | |
| Bls12_381_G2_add'cpu'arguments | |
| Bls12_381_G2_add'memory'arguments | |
| Bls12_381_G2_compress'cpu'arguments | |
| Bls12_381_G2_compress'memory'arguments | |
| Bls12_381_G2_equal'cpu'arguments | |
| Bls12_381_G2_equal'memory'arguments | |
| Bls12_381_G2_hashToGroup'cpu'arguments'intercept | |
| Bls12_381_G2_hashToGroup'cpu'arguments'slope | |
| Bls12_381_G2_hashToGroup'memory'arguments | |
| Bls12_381_G2_neg'cpu'arguments | |
| Bls12_381_G2_neg'memory'arguments | |
| Bls12_381_G2_scalarMul'cpu'arguments'intercept | |
| Bls12_381_G2_scalarMul'cpu'arguments'slope | |
| Bls12_381_G2_scalarMul'memory'arguments | |
| Bls12_381_G2_uncompress'cpu'arguments | |
| Bls12_381_G2_uncompress'memory'arguments | |
| Bls12_381_finalVerify'cpu'arguments | |
| Bls12_381_finalVerify'memory'arguments | |
| Bls12_381_millerLoop'cpu'arguments | |
| Bls12_381_millerLoop'memory'arguments | |
| Bls12_381_mulMlResult'cpu'arguments | |
| Bls12_381_mulMlResult'memory'arguments | |
| Keccak_256'cpu'arguments'intercept | |
| Keccak_256'cpu'arguments'slope | |
| Keccak_256'memory'arguments | |
| Blake2b_224'cpu'arguments'intercept | |
| Blake2b_224'cpu'arguments'slope | |
| Blake2b_224'memory'arguments | |
| IntegerToByteString'cpu'arguments'c0 | |
| IntegerToByteString'cpu'arguments'c1 | |
| IntegerToByteString'cpu'arguments'c2 | |
| IntegerToByteString'memory'arguments'intercept | |
| IntegerToByteString'memory'arguments'slope | |
| ByteStringToInteger'cpu'arguments'c0 | |
| ByteStringToInteger'cpu'arguments'c1 | |
| ByteStringToInteger'cpu'arguments'c2 | |
| ByteStringToInteger'memory'arguments'intercept | |
| ByteStringToInteger'memory'arguments'slope | |
| AndByteString'cpu'arguments'intercept | |
| AndByteString'cpu'arguments'slope1 | |
| AndByteString'cpu'arguments'slope2 | |
| AndByteString'memory'arguments'intercept | |
| AndByteString'memory'arguments'slope | |
| OrByteString'cpu'arguments'intercept | |
| OrByteString'cpu'arguments'slope1 | |
| OrByteString'cpu'arguments'slope2 | |
| OrByteString'memory'arguments'intercept | |
| OrByteString'memory'arguments'slope | |
| XorByteString'cpu'arguments'intercept | |
| XorByteString'cpu'arguments'slope1 | |
| XorByteString'cpu'arguments'slope2 | |
| XorByteString'memory'arguments'intercept | |
| XorByteString'memory'arguments'slope | |
| ComplementByteString'cpu'arguments'intercept | |
| ComplementByteString'cpu'arguments'slope | |
| ComplementByteString'memory'arguments'intercept | |
| ComplementByteString'memory'arguments'slope | |
| ReadBit'cpu'arguments | |
| ReadBit'memory'arguments | |
| WriteBits'cpu'arguments'intercept | |
| WriteBits'cpu'arguments'slope | |
| WriteBits'memory'arguments'intercept | |
| WriteBits'memory'arguments'slope | |
| ReplicateByte'cpu'arguments'intercept | |
| ReplicateByte'cpu'arguments'slope | |
| ReplicateByte'memory'arguments'intercept | |
| ReplicateByte'memory'arguments'slope | |
| ShiftByteString'cpu'arguments'intercept | |
| ShiftByteString'cpu'arguments'slope | |
| ShiftByteString'memory'arguments'intercept | |
| ShiftByteString'memory'arguments'slope | |
| RotateByteString'cpu'arguments'intercept | |
| RotateByteString'cpu'arguments'slope | |
| RotateByteString'memory'arguments'intercept | |
| RotateByteString'memory'arguments'slope | |
| CountSetBits'cpu'arguments'intercept | |
| CountSetBits'cpu'arguments'slope | |
| CountSetBits'memory'arguments | |
| FindFirstSetBit'cpu'arguments'intercept | |
| FindFirstSetBit'cpu'arguments'slope | |
| FindFirstSetBit'memory'arguments | |
| Ripemd_160'cpu'arguments'intercept | |
| Ripemd_160'cpu'arguments'slope | |
| Ripemd_160'memory'arguments | |
| ExpModInteger'cpu'arguments'coefficient00 | |
| ExpModInteger'cpu'arguments'coefficient11 | |
| ExpModInteger'cpu'arguments'coefficient12 | |
| ExpModInteger'memory'arguments'intercept | |
| ExpModInteger'memory'arguments'slope | |
| DropList'cpu'arguments'intercept | |
| DropList'cpu'arguments'slope | |
| DropList'memory'arguments | |
| LengthOfArray'cpu'arguments | |
| LengthOfArray'memory'arguments | |
| ListToArray'cpu'arguments'intercept | |
| ListToArray'cpu'arguments'slope | |
| ListToArray'memory'arguments'intercept | |
| ListToArray'memory'arguments'slope | |
| IndexArray'cpu'arguments | |
| IndexArray'memory'arguments | |
| Bls12_381_G1_multiScalarMul'cpu'arguments'intercept | |
| Bls12_381_G1_multiScalarMul'cpu'arguments'slope | |
| Bls12_381_G1_multiScalarMul'memory'arguments | |
| Bls12_381_G2_multiScalarMul'cpu'arguments'intercept | |
| Bls12_381_G2_multiScalarMul'cpu'arguments'slope | |
| Bls12_381_G2_multiScalarMul'memory'arguments | |
| InsertCoin'cpu'arguments'intercept | |
| InsertCoin'cpu'arguments'slope | |
| InsertCoin'memory'arguments'intercept | |
| InsertCoin'memory'arguments'slope | |
| LookupCoin'cpu'arguments'intercept | |
| LookupCoin'cpu'arguments'slope | |
| LookupCoin'memory'arguments | |
| UnionValue'cpu'arguments'c00 | |
| UnionValue'cpu'arguments'c10 | |
| UnionValue'cpu'arguments'c01 | |
| UnionValue'cpu'arguments'c11 | |
| UnionValue'memory'arguments'intercept | |
| UnionValue'memory'arguments'slope | |
| ValueContains'cpu'arguments'constant | |
| ValueContains'cpu'arguments'model'arguments'intercept | |
| ValueContains'cpu'arguments'model'arguments'slope1 | |
| ValueContains'cpu'arguments'model'arguments'slope2 | |
| ValueContains'memory'arguments | |
| ValueData'cpu'arguments'intercept | |
| ValueData'cpu'arguments'slope | |
| ValueData'memory'arguments'intercept | |
| ValueData'memory'arguments'slope | |
| UnValueData'cpu'arguments'c0 | |
| UnValueData'cpu'arguments'c1 | |
| UnValueData'cpu'arguments'c2 | |
| UnValueData'memory'arguments'intercept | |
| UnValueData'memory'arguments'slope | |
| ScaleValue'cpu'arguments'intercept | |
| ScaleValue'cpu'arguments'slope | |
| ScaleValue'memory'arguments'intercept | |
| ScaleValue'memory'arguments'slope |
Instances
| Bounded ParamName Source # | |||||
| Enum ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName Methods succ :: ParamName -> ParamName Source # pred :: ParamName -> ParamName Source # toEnum :: Int -> ParamName Source # fromEnum :: ParamName -> Int Source # enumFrom :: ParamName -> [ParamName] Source # enumFromThen :: ParamName -> ParamName -> [ParamName] Source # enumFromTo :: ParamName -> ParamName -> [ParamName] Source # enumFromThenTo :: ParamName -> ParamName -> ParamName -> [ParamName] Source # | |||||
| Generic ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName Associated Types
| |||||
| Ix ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName Methods range :: (ParamName, ParamName) -> [ParamName] Source # index :: (ParamName, ParamName) -> ParamName -> Int Source # unsafeIndex :: (ParamName, ParamName) -> ParamName -> Int Source # inRange :: (ParamName, ParamName) -> ParamName -> Bool Source # | |||||
| Eq ParamName Source # | |||||
| Ord ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName | |||||
| IsParamName ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName | |||||
| type Rep ParamName Source # | |||||
Defined in PlutusLedgerApi.V3.ParamName type Rep ParamName = D1 ('MetaData "ParamName" "PlutusLedgerApi.V3.ParamName" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'False) ((((((((C1 ('MetaCons "AddInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AddInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AddInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AddInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AppendByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "AppendByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AppendByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AppendByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AppendString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AppendString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "AppendString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AppendString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Blake2b_256'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Blake2b_256'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blake2b_256'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekApplyCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CekApplyCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CekBuiltinCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekBuiltinCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "CekConstCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekConstCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CekDelayCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CekDelayCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekForceCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CekForceCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CekLamCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekLamCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CekStartupCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CekStartupCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekVarCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CekVarCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChooseData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ChooseData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ChooseList'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChooseList'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ChooseUnit'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ChooseUnit'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ConsByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ConsByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ConsByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ConsByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "ConstrData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ConstrData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DecodeUtf8'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DecodeUtf8'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DecodeUtf8'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DecodeUtf8'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DivideInteger'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c00" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c01" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c02" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c10" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c11" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'c20" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DivideInteger'cpu'arguments'model'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DivideInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DivideInteger'memory'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DivideInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EncodeUtf8'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EncodeUtf8'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "EncodeUtf8'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EncodeUtf8'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsByteString'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "EqualsByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EqualsByteString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EqualsData'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsData'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "EqualsData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EqualsInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "EqualsInteger'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EqualsString'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "EqualsString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EqualsString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FstPair'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FstPair'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HeadList'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "HeadList'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "IfThenElse'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IfThenElse'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IndexByteString'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "IndexByteString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LengthOfByteString'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LengthOfByteString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LessThanByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LessThanByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "LessThanByteString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LessThanEqualsByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LessThanEqualsByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "LessThanEqualsByteString'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LessThanEqualsInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LessThanEqualsInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LessThanEqualsInteger'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LessThanInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LessThanInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LessThanInteger'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ListData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ListData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MapData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MapData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MkCons'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MkCons'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MkNilData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "MkNilData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MkNilPairData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MkNilPairData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MkPairData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MkPairData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ModInteger'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c00" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c01" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c02" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c10" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c11" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'c20" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ModInteger'cpu'arguments'model'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ModInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ModInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultiplyInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MultiplyInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MultiplyInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultiplyInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NullList'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NullList'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QuotientInteger'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c00" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c01" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c02" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c10" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c11" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'c20" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QuotientInteger'cpu'arguments'model'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QuotientInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "QuotientInteger'memory'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QuotientInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RemainderInteger'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c00" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c01" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c02" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c10" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c11" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'c20" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RemainderInteger'cpu'arguments'model'arguments'minimum" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RemainderInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "RemainderInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SerialiseData'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SerialiseData'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "SerialiseData'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SerialiseData'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Sha2_256'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Sha2_256'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sha2_256'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Sha3_256'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Sha3_256'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sha3_256'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SliceByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SliceByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SliceByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SliceByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SndPair'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SndPair'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SubtractInteger'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SubtractInteger'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SubtractInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SubtractInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TailList'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TailList'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Trace'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trace'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))))))) :+: (((((((C1 ('MetaCons "UnBData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnBData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnConstrData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnConstrData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnIData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "UnIData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnListData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnListData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnMapData'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnMapData'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "VerifyEcdsaSecp256k1Signature'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VerifyEcdsaSecp256k1Signature'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "VerifyEd25519Signature'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VerifyEd25519Signature'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VerifyEd25519Signature'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "VerifySchnorrSecp256k1Signature'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VerifySchnorrSecp256k1Signature'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VerifySchnorrSecp256k1Signature'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CekConstrCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CekConstrCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CekCaseCost'exBudgetCPU" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "CekCaseCost'exBudgetMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_add'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Bls12_381_G1_add'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G1_compress'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_compress'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Bls12_381_G1_equal'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G1_equal'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_hashToGroup'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Bls12_381_G1_hashToGroup'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G1_hashToGroup'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_neg'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Bls12_381_G1_neg'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_scalarMul'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Bls12_381_G1_scalarMul'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G1_scalarMul'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_uncompress'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Bls12_381_G1_uncompress'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G2_add'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_add'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Bls12_381_G2_compress'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G2_compress'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_equal'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "Bls12_381_G2_equal'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_hashToGroup'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Bls12_381_G2_hashToGroup'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G2_hashToGroup'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_neg'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Bls12_381_G2_neg'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G2_scalarMul'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_scalarMul'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Bls12_381_G2_scalarMul'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G2_uncompress'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_uncompress'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Bls12_381_finalVerify'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_finalVerify'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Bls12_381_millerLoop'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_millerLoop'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_mulMlResult'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Bls12_381_mulMlResult'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Keccak_256'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Keccak_256'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Keccak_256'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blake2b_224'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Blake2b_224'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "Blake2b_224'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IntegerToByteString'cpu'arguments'c0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IntegerToByteString'cpu'arguments'c1" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IntegerToByteString'cpu'arguments'c2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IntegerToByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "IntegerToByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ByteStringToInteger'cpu'arguments'c0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ByteStringToInteger'cpu'arguments'c1" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ByteStringToInteger'cpu'arguments'c2" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ByteStringToInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ByteStringToInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "AndByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AndByteString'cpu'arguments'slope1" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AndByteString'cpu'arguments'slope2" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AndByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AndByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OrByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrByteString'cpu'arguments'slope1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrByteString'cpu'arguments'slope2" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OrByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XorByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "XorByteString'cpu'arguments'slope1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XorByteString'cpu'arguments'slope2" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "XorByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XorByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ComplementByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ComplementByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ComplementByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ComplementByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ReadBit'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReadBit'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteBits'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "WriteBits'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteBits'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WriteBits'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReplicateByte'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReplicateByte'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ReplicateByte'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReplicateByte'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ShiftByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ShiftByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ShiftByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ShiftByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "RotateByteString'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RotateByteString'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RotateByteString'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RotateByteString'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CountSetBits'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CountSetBits'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CountSetBits'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FindFirstSetBit'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "FindFirstSetBit'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FindFirstSetBit'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ripemd_160'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Ripemd_160'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ripemd_160'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ExpModInteger'cpu'arguments'coefficient00" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ExpModInteger'cpu'arguments'coefficient11" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExpModInteger'cpu'arguments'coefficient12" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ExpModInteger'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ExpModInteger'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DropList'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DropList'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DropList'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LengthOfArray'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "LengthOfArray'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ListToArray'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ListToArray'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ListToArray'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ListToArray'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "IndexArray'cpu'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IndexArray'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G1_multiScalarMul'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Bls12_381_G1_multiScalarMul'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bls12_381_G1_multiScalarMul'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_multiScalarMul'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Bls12_381_G2_multiScalarMul'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bls12_381_G2_multiScalarMul'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InsertCoin'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InsertCoin'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertCoin'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "InsertCoin'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LookupCoin'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LookupCoin'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "LookupCoin'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnionValue'cpu'arguments'c00" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnionValue'cpu'arguments'c10" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "UnionValue'cpu'arguments'c01" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnionValue'cpu'arguments'c11" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnionValue'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnionValue'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueContains'cpu'arguments'constant" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ValueContains'cpu'arguments'model'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ValueContains'cpu'arguments'model'arguments'slope1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueContains'cpu'arguments'model'arguments'slope2" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ValueContains'memory'arguments" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ValueData'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueData'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "ValueData'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueData'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnValueData'cpu'arguments'c0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnValueData'cpu'arguments'c1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnValueData'cpu'arguments'c2" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "UnValueData'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnValueData'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScaleValue'cpu'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ScaleValue'cpu'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScaleValue'memory'arguments'intercept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScaleValue'memory'arguments'slope" 'PrefixI 'False) (U1 :: Type -> Type)))))))))) | |||||
data CostModelApplyError #
Constructors
| CMUnknownParamError !Text | |
| CMInternalReadError | |
| CMInternalWriteError !String |
Instances
| Data CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CostModelApplyError -> c CostModelApplyError Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CostModelApplyError Source # toConstr :: CostModelApplyError -> Constr Source # dataTypeOf :: CostModelApplyError -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CostModelApplyError) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CostModelApplyError) Source # gmapT :: (forall b. Data b => b -> b) -> CostModelApplyError -> CostModelApplyError Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CostModelApplyError -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CostModelApplyError -> r Source # gmapQ :: (forall d. Data d => d -> u) -> CostModelApplyError -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> CostModelApplyError -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CostModelApplyError -> m CostModelApplyError Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CostModelApplyError -> m CostModelApplyError Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CostModelApplyError -> m CostModelApplyError Source # | |||||
| Exception CostModelApplyError | |||||
| Generic CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface Associated Types
Methods from :: CostModelApplyError -> Rep CostModelApplyError x Source # to :: Rep CostModelApplyError x -> CostModelApplyError Source # | |||||
| Show CostModelApplyError | |||||
| NFData CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface Methods rnf :: CostModelApplyError -> () Source # | |||||
| Eq CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface Methods (==) :: CostModelApplyError -> CostModelApplyError -> Bool Source # (/=) :: CostModelApplyError -> CostModelApplyError -> Bool Source # | |||||
| NoThunks CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface Methods noThunks :: Context -> CostModelApplyError -> IO (Maybe ThunkInfo) wNoThunks :: Context -> CostModelApplyError -> IO (Maybe ThunkInfo) | |||||
| Pretty CostModelApplyError | |||||
| type Rep CostModelApplyError | |||||
Defined in PlutusCore.Evaluation.Machine.CostModelInterface type Rep CostModelApplyError = D1 ('MetaData "CostModelApplyError" "PlutusCore.Evaluation.Machine.CostModelInterface" "plutus-core-1.60.0.0-LXFqBsoUlXsJIEqLytHte7" 'False) (C1 ('MetaCons "CMUnknownParamError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "CMInternalReadError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CMInternalWriteError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)))) | |||||
type CostModelParams = Map Text Int64 #
assertWellFormedCostModelParams :: MonadError CostModelApplyError m => CostModelParams -> m () Source #
Context types
data ScriptContext Source #
The context that the currently-executing script can access.
Instances
| Generic ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ScriptContext -> Rep ScriptContext x Source # to :: Rep ScriptContext x -> ScriptContext Source # | |||||
| Show ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ScriptContext -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ScriptContext -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ScriptContext = D1 ('MetaData "ScriptContext" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ScriptContext_6989586621681092347" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern ScriptContext :: TxInfo -> Redeemer -> ScriptInfo -> ScriptContext Source #
data ScriptPurpose Source #
A ScriptPurpose uniquely identifies a Plutus script within a transaction.
Instances
| Generic ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
Methods from :: ScriptPurpose -> Rep ScriptPurpose x Source # to :: Rep ScriptPurpose x -> ScriptPurpose Source # | |||||
| Show ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| UnsafeFromData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ScriptPurpose -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ScriptPurpose -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ScriptPurpose = D1 ('MetaData "ScriptPurpose" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ScriptPurpose_6989586621681086281" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern Minting :: CurrencySymbol -> ScriptPurpose Source #
pattern Spending :: TxOutRef -> ScriptPurpose Source #
pattern Rewarding :: Credential -> ScriptPurpose Source #
pattern Certifying :: Integer -> TxCert -> ScriptPurpose Source #
pattern Voting :: Voter -> ScriptPurpose Source #
pattern Proposing :: Integer -> ProposalProcedure -> ScriptPurpose Source #
data ScriptInfo Source #
Like ScriptPurpose but with an optional datum for spending scripts.
Instances
| Generic ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| ToData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: ScriptInfo -> BuiltinData # | |||||
| UnsafeFromData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods lift :: ScriptInfo -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods typeRep :: Proxy ScriptInfo -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep ScriptInfo = D1 ('MetaData "ScriptInfo" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ScriptInfo_6989586621681087914" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern MintingScript :: CurrencySymbol -> ScriptInfo Source #
pattern SpendingScript :: TxOutRef -> Maybe Datum -> ScriptInfo Source #
pattern RewardingScript :: Credential -> ScriptInfo Source #
pattern CertifyingScript :: Integer -> TxCert -> ScriptInfo Source #
pattern VotingScript :: Voter -> ScriptInfo Source #
pattern ProposingScript :: Integer -> ProposalProcedure -> ScriptInfo Source #
Supporting types used in the context types
Builtins
data BuiltinByteString #
Instances
| Data BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BuiltinByteString -> c BuiltinByteString Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BuiltinByteString Source # toConstr :: BuiltinByteString -> Constr Source # dataTypeOf :: BuiltinByteString -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BuiltinByteString) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BuiltinByteString) Source # gmapT :: (forall b. Data b => b -> b) -> BuiltinByteString -> BuiltinByteString Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BuiltinByteString -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BuiltinByteString -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BuiltinByteString -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BuiltinByteString -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BuiltinByteString -> m BuiltinByteString Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BuiltinByteString -> m BuiltinByteString Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BuiltinByteString -> m BuiltinByteString Source # | |||||
| Monoid BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods mempty :: BuiltinByteString Source # mappend :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString Source # mconcat :: [BuiltinByteString] -> BuiltinByteString Source # | |||||
| Semigroup BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods (<>) :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString Source # sconcat :: NonEmpty BuiltinByteString -> BuiltinByteString Source # stimes :: Integral b => b -> BuiltinByteString -> BuiltinByteString Source # | |||||
| Show BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| NFData BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods rnf :: BuiltinByteString -> () Source # | |||||
| Eq BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods (==) :: BuiltinByteString -> BuiltinByteString -> Bool Source # (/=) :: BuiltinByteString -> BuiltinByteString -> Bool Source # | |||||
| Ord BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods compare :: BuiltinByteString -> BuiltinByteString -> Ordering Source # (<) :: BuiltinByteString -> BuiltinByteString -> Bool Source # (<=) :: BuiltinByteString -> BuiltinByteString -> Bool Source # (>) :: BuiltinByteString -> BuiltinByteString -> Bool Source # (>=) :: BuiltinByteString -> BuiltinByteString -> Bool Source # max :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString Source # min :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString Source # | |||||
| Hashable BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| ByteArray BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| ByteArrayAccess BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods length :: BuiltinByteString -> Int withByteArray :: BuiltinByteString -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: BuiltinByteString -> Ptr p -> IO () | |||||
| HasBlueprintDefinition BuiltinByteString | |||||
Defined in PlutusTx.Blueprint.Definition.Unroll Associated Types
Methods definitionId :: DefinitionId | |||||
| HasFromBuiltin BuiltinByteString | |||||
Defined in PlutusTx.Builtins.HasBuiltin Associated Types
Methods fromBuiltin :: BuiltinByteString -> FromBuiltin BuiltinByteString # | |||||
| MkNil BuiltinByteString | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods mkNil :: BuiltinList BuiltinByteString | |||||
| Eq BuiltinByteString | |||||
Defined in PlutusTx.Eq.Class Methods (==) :: BuiltinByteString -> BuiltinByteString -> Bool | |||||
| FromData BuiltinByteString | |||||
Defined in PlutusTx.IsData.Class Methods | |||||
| ToData BuiltinByteString | |||||
Defined in PlutusTx.IsData.Class Methods | |||||
| UnsafeFromData BuiltinByteString | |||||
Defined in PlutusTx.IsData.Class Methods | |||||
| Monoid BuiltinByteString | |||||
Defined in PlutusTx.Monoid Methods | |||||
| Ord BuiltinByteString | |||||
Defined in PlutusTx.Ord.Class Methods compare :: BuiltinByteString -> BuiltinByteString -> Ordering (<) :: BuiltinByteString -> BuiltinByteString -> Bool (<=) :: BuiltinByteString -> BuiltinByteString -> Bool (>) :: BuiltinByteString -> BuiltinByteString -> Bool (>=) :: BuiltinByteString -> BuiltinByteString -> Bool max :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString min :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString | |||||
| Semigroup BuiltinByteString | |||||
Defined in PlutusTx.Semigroup Methods (<>) :: BuiltinByteString -> BuiltinByteString -> BuiltinByteString | |||||
| Pretty BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| Serialise BuiltinByteString | |||||
Defined in PlutusTx.Builtins.Internal Methods encode :: BuiltinByteString -> Encoding decode :: Decoder s BuiltinByteString encodeList :: [BuiltinByteString] -> Encoding decodeList :: Decoder s [BuiltinByteString] | |||||
| HasBlueprintSchema BuiltinByteString referencedTypes | |||||
Defined in PlutusTx.Blueprint.Class Methods schema :: Schema referencedTypes | |||||
| HasFromOpaque BuiltinByteString BuiltinByteString | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods | |||||
| HasToOpaque BuiltinByteString BuiltinByteString | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods | |||||
| HasTermLevel uni ByteString => Lift uni BuiltinByteString | |||||
Defined in PlutusTx.Lift.Class Methods lift :: BuiltinByteString -> RTCompile uni fun (Term TyName Name uni fun ()) | |||||
| HasTypeLevel uni ByteString => Typeable uni BuiltinByteString | |||||
Defined in PlutusTx.Lift.Class Methods typeRep :: Proxy BuiltinByteString -> RTCompile uni fun (Type TyName uni ()) | |||||
| type Unroll BuiltinByteString | |||||
Defined in PlutusTx.Blueprint.Definition.Unroll | |||||
| type FromBuiltin BuiltinByteString | |||||
Defined in PlutusTx.Builtins.HasBuiltin | |||||
fromBuiltin :: HasFromBuiltin arep => arep -> FromBuiltin arep #
fromOpaque :: HasFromOpaque arep a => arep -> a #
Bytes
newtype LedgerBytes Source #
Constructors
| LedgerBytes | |
Fields | |
Instances
| IsString LedgerBytes Source # | Read in arbitrary This is mostly used together with GHC's OverloadedStrings extension
to specify at the source code any IMPORTANT: the | ||||
Defined in PlutusLedgerApi.V1.Bytes Methods fromString :: String -> LedgerBytes Source # | |||||
| Generic LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Associated Types
Methods from :: LedgerBytes -> Rep LedgerBytes x Source # to :: Rep LedgerBytes x -> LedgerBytes Source # | |||||
| Show LedgerBytes Source # | The | ||||
Defined in PlutusLedgerApi.V1.Bytes | |||||
| NFData LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods rnf :: LedgerBytes -> () Source # | |||||
| Eq LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods (==) :: LedgerBytes -> LedgerBytes -> Bool Source # (/=) :: LedgerBytes -> LedgerBytes -> Bool Source # | |||||
| Ord LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods compare :: LedgerBytes -> LedgerBytes -> Ordering Source # (<) :: LedgerBytes -> LedgerBytes -> Bool Source # (<=) :: LedgerBytes -> LedgerBytes -> Bool Source # (>) :: LedgerBytes -> LedgerBytes -> Bool Source # (>=) :: LedgerBytes -> LedgerBytes -> Bool Source # max :: LedgerBytes -> LedgerBytes -> LedgerBytes Source # min :: LedgerBytes -> LedgerBytes -> LedgerBytes Source # | |||||
| HasBlueprintDefinition LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods (==) :: LedgerBytes -> LedgerBytes -> Bool | |||||
| FromData LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods | |||||
| ToData LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods toBuiltinData :: LedgerBytes -> BuiltinData # | |||||
| UnsafeFromData LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods | |||||
| Ord LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods compare :: LedgerBytes -> LedgerBytes -> Ordering (<) :: LedgerBytes -> LedgerBytes -> Bool (<=) :: LedgerBytes -> LedgerBytes -> Bool (>) :: LedgerBytes -> LedgerBytes -> Bool (>=) :: LedgerBytes -> LedgerBytes -> Bool max :: LedgerBytes -> LedgerBytes -> LedgerBytes min :: LedgerBytes -> LedgerBytes -> LedgerBytes | |||||
| Pretty LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes | |||||
| HasBlueprintSchema LedgerBytes referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods lift :: LedgerBytes -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes Methods typeRep :: Proxy LedgerBytes -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes type Rep LedgerBytes = D1 ('MetaData "LedgerBytes" "PlutusLedgerApi.V1.Bytes" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "LedgerBytes" 'PrefixI 'True) (S1 ('MetaSel ('Just "getLedgerBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll LedgerBytes Source # | |||||
Defined in PlutusLedgerApi.V1.Bytes type Unroll LedgerBytes = Insert LedgerBytes (GUnroll (IfStuckRep (RepIsStuckError LedgerBytes :: Type -> Type) (Rep LedgerBytes))) | |||||
fromBytes :: ByteString -> LedgerBytes Source #
Lift a Haskell bytestring to the Plutus abstraction LedgerBytes
Credentials
data StakingCredential Source #
Staking credential used to assign rewards.
The staking hash constructor is the Credential required to unlock a
transaction output. Either a public key credential (PubKeyHash) or
a script credential (ScriptHash). Both are hashed with BLAKE2b-244. 28 byte.
The StakingPtr constructor is the certificate pointer, constructed by the given
slot number, transaction and certificate indices.
NB: The fields should really be all Word64, as they are implemented in Word64,
but Integer is our only integral type so we need to use it instead.
Instances
| Generic StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Associated Types
Methods from :: StakingCredential -> Rep StakingCredential x Source # to :: Rep StakingCredential x -> StakingCredential Source # | |||||
| Show StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| NFData StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods rnf :: StakingCredential -> () Source # | |||||
| Eq StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods (==) :: StakingCredential -> StakingCredential -> Bool Source # (/=) :: StakingCredential -> StakingCredential -> Bool Source # | |||||
| Ord StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods compare :: StakingCredential -> StakingCredential -> Ordering Source # (<) :: StakingCredential -> StakingCredential -> Bool Source # (<=) :: StakingCredential -> StakingCredential -> Bool Source # (>) :: StakingCredential -> StakingCredential -> Bool Source # (>=) :: StakingCredential -> StakingCredential -> Bool Source # max :: StakingCredential -> StakingCredential -> StakingCredential Source # min :: StakingCredential -> StakingCredential -> StakingCredential Source # | |||||
| HasBlueprintDefinition StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods (==) :: StakingCredential -> StakingCredential -> Bool | |||||
| FromData StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |||||
| ToData StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |||||
| UnsafeFromData StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |||||
| Show StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| Pretty StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| Lift DefaultUni StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods lift :: StakingCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods typeRep :: Proxy StakingCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential type Rep StakingCredential = D1 ('MetaData "StakingCredential" "PlutusLedgerApi.V1.Data.Credential" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "StakingCredential_6989586621680084560" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll StakingCredential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential type Unroll StakingCredential = Insert StakingCredential (GUnroll (IfStuckRep (RepIsStuckError StakingCredential :: Type -> Type) (Rep StakingCredential))) | |||||
pattern StakingHash :: Credential -> StakingCredential Source #
pattern StakingPtr :: Integer -> Integer -> Integer -> StakingCredential Source #
data Credential Source #
Credentials required to unlock a transaction output.
The PubKeyCredential constructor represents the transaction that
spends this output and must be signed by the private key.
See PubKeyHash.
The ScriptCredential constructor represents the transaction that spends
this output must include the validator script and
be accepted by the validator. See ScriptHash.
Instances
| Generic Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Associated Types
| |||||
| Show Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| NFData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods rnf :: Credential -> () Source # | |||||
| Eq Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods (==) :: Credential -> Credential -> Bool Source # (/=) :: Credential -> Credential -> Bool Source # | |||||
| Ord Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods compare :: Credential -> Credential -> Ordering Source # (<) :: Credential -> Credential -> Bool Source # (<=) :: Credential -> Credential -> Bool Source # (>) :: Credential -> Credential -> Bool Source # (>=) :: Credential -> Credential -> Bool Source # max :: Credential -> Credential -> Credential Source # min :: Credential -> Credential -> Credential Source # | |||||
| HasBlueprintDefinition Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods (==) :: Credential -> Credential -> Bool | |||||
| FromData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |||||
| ToData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods toBuiltinData :: Credential -> BuiltinData # | |||||
| UnsafeFromData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |||||
| Show Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| Pretty Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential | |||||
| Lift DefaultUni Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods lift :: Credential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential Methods typeRep :: Proxy Credential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential type Rep Credential = D1 ('MetaData "Credential" "PlutusLedgerApi.V1.Data.Credential" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Credential_6989586621680083652" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Credential type Unroll Credential = Insert Credential (GUnroll (IfStuckRep (RepIsStuckError Credential :: Type -> Type) (Rep Credential))) | |||||
pattern PubKeyCredential :: PubKeyHash -> Credential Source #
pattern ScriptCredential :: ScriptHash -> Credential Source #
Value
The Value type represents a collection of amounts of different currencies.
We can think of Value as a vector space whose dimensions are currencies.
Operations on currencies are usually implemented pointwise. That is,
we apply the operation to the quantities for each currency in turn. So
when we add two Values the resulting Value has, for each currency,
the sum of the quantities of that particular currency in the argument
Value. The effect of this is that the currencies in the Value are "independent",
and are operated on separately.
Whenever we need to get the quantity of a currency in a Value where there
is no explicit quantity of that currency in the Value, then the quantity is
taken to be zero.
There is no 'Ord Value' instance since Value is only a partial order, so compare can't
do the right thing in some cases.
Instances
| Monoid Value Source # | |||||
| Semigroup Value Source # | |||||
| Generic Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
| |||||
| Show Value Source # | |||||
| Eq Value Source # | |||||
| HasBlueprintDefinition Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| FromData Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods fromBuiltinData :: BuiltinData -> Maybe Value # | |||||
| ToData Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: Value -> BuiltinData # | |||||
| UnsafeFromData Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| JoinSemiLattice Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| MeetSemiLattice Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Group Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Monoid Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| AdditiveGroup Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| AdditiveMonoid Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| AdditiveSemigroup Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Semigroup Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Pretty Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| HasBlueprintSchema Value referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Module Integer Value Source # | |||||
| Typeable DefaultUni Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| type Rep Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value type Rep Value = D1 ('MetaData "Value" "PlutusLedgerApi.V1.Data.Value" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Value" 'PrefixI 'True) (S1 ('MetaSel ('Just "getValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CurrencySymbol (Map TokenName Integer))))) | |||||
| type Unroll Value Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
newtype CurrencySymbol Source #
ByteString representing the currency, hashed with BLAKE2b-224.
It is empty for Ada, 28 bytes for MintingPolicyHash.
Forms an AssetClass along with TokenName.
A Value is a map from CurrencySymbol's to a map from TokenName to an Integer.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification. -- editorconfig-checker-disable-file
Constructors
| CurrencySymbol | |
Fields | |
Instances
| Data CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CurrencySymbol -> c CurrencySymbol Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CurrencySymbol Source # toConstr :: CurrencySymbol -> Constr Source # dataTypeOf :: CurrencySymbol -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CurrencySymbol) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CurrencySymbol) Source # gmapT :: (forall b. Data b => b -> b) -> CurrencySymbol -> CurrencySymbol Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CurrencySymbol -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CurrencySymbol -> r Source # gmapQ :: (forall d. Data d => d -> u) -> CurrencySymbol -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> CurrencySymbol -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CurrencySymbol -> m CurrencySymbol Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CurrencySymbol -> m CurrencySymbol Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CurrencySymbol -> m CurrencySymbol Source # | |||||
| IsString CurrencySymbol Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V1.Data.Value Methods fromString :: String -> CurrencySymbol Source # | |||||
| Generic CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
Methods from :: CurrencySymbol -> Rep CurrencySymbol x Source # to :: Rep CurrencySymbol x -> CurrencySymbol Source # | |||||
| Show CurrencySymbol Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| NFData CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods rnf :: CurrencySymbol -> () Source # | |||||
| Eq CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods (==) :: CurrencySymbol -> CurrencySymbol -> Bool Source # (/=) :: CurrencySymbol -> CurrencySymbol -> Bool Source # | |||||
| Ord CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods compare :: CurrencySymbol -> CurrencySymbol -> Ordering Source # (<) :: CurrencySymbol -> CurrencySymbol -> Bool Source # (<=) :: CurrencySymbol -> CurrencySymbol -> Bool Source # (>) :: CurrencySymbol -> CurrencySymbol -> Bool Source # (>=) :: CurrencySymbol -> CurrencySymbol -> Bool Source # max :: CurrencySymbol -> CurrencySymbol -> CurrencySymbol Source # min :: CurrencySymbol -> CurrencySymbol -> CurrencySymbol Source # | |||||
| HasBlueprintDefinition CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods (==) :: CurrencySymbol -> CurrencySymbol -> Bool | |||||
| FromData CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| ToData CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| UnsafeFromData CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| Ord CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods compare :: CurrencySymbol -> CurrencySymbol -> Ordering (<) :: CurrencySymbol -> CurrencySymbol -> Bool (<=) :: CurrencySymbol -> CurrencySymbol -> Bool (>) :: CurrencySymbol -> CurrencySymbol -> Bool (>=) :: CurrencySymbol -> CurrencySymbol -> Bool max :: CurrencySymbol -> CurrencySymbol -> CurrencySymbol min :: CurrencySymbol -> CurrencySymbol -> CurrencySymbol | |||||
| Pretty CurrencySymbol Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| HasBlueprintSchema CurrencySymbol referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods lift :: CurrencySymbol -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods typeRep :: Proxy CurrencySymbol -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value type Rep CurrencySymbol = D1 ('MetaData "CurrencySymbol" "PlutusLedgerApi.V1.Data.Value" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "CurrencySymbol" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCurrencySymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll CurrencySymbol Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value type Unroll CurrencySymbol = Insert CurrencySymbol (GUnroll (IfStuckRep (RepIsStuckError CurrencySymbol :: Type -> Type) (Rep CurrencySymbol))) | |||||
ByteString of a name of a token.
Shown as hex-encoded bytes.
Should be no longer than 32 bytes, empty for Ada.
Forms an AssetClass along with a CurrencySymbol.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification. -- editorconfig-checker-disable-file
Constructors
| TokenName | |
Fields | |
Instances
| Data TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TokenName -> c TokenName Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TokenName Source # toConstr :: TokenName -> Constr Source # dataTypeOf :: TokenName -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TokenName) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TokenName) Source # gmapT :: (forall b. Data b => b -> b) -> TokenName -> TokenName Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TokenName -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TokenName -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TokenName -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TokenName -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TokenName -> m TokenName Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TokenName -> m TokenName Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TokenName -> m TokenName Source # | |||||
| IsString TokenName Source # | UTF-8 encoding. Doesn't verify length. | ||||
Defined in PlutusLedgerApi.V1.Data.Value Methods fromString :: String -> TokenName Source # | |||||
| Generic TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
| |||||
| Show TokenName Source # | |||||
| NFData TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Eq TokenName Source # | |||||
| Ord TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| HasBlueprintDefinition TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| FromData TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| ToData TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: TokenName -> BuiltinData # | |||||
| UnsafeFromData TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| Ord TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Pretty TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| HasBlueprintSchema TokenName referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Typeable DefaultUni TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| type Rep TokenName Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value type Rep TokenName = D1 ('MetaData "TokenName" "PlutusLedgerApi.V1.Data.Value" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TokenName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTokenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll TokenName Source # | |||||
singleton :: CurrencySymbol -> TokenName -> Integer -> Value Source #
Make a Value containing only the given quantity of the given currency.
unionWith :: (Integer -> Integer -> Integer) -> Value -> Value -> Value Source #
Combine two Value maps with the argument function.
Assumes the well-definedness of the two maps.
adaSymbol :: CurrencySymbol Source #
The CurrencySymbol of the Ada currency.
Constructors
| Lovelace | |
Fields | |
Instances
| Enum Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods succ :: Lovelace -> Lovelace Source # pred :: Lovelace -> Lovelace Source # toEnum :: Int -> Lovelace Source # fromEnum :: Lovelace -> Int Source # enumFrom :: Lovelace -> [Lovelace] Source # enumFromThen :: Lovelace -> Lovelace -> [Lovelace] Source # enumFromTo :: Lovelace -> Lovelace -> [Lovelace] Source # enumFromThenTo :: Lovelace -> Lovelace -> Lovelace -> [Lovelace] Source # | |||||
| Generic Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
| |||||
| Num Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods (+) :: Lovelace -> Lovelace -> Lovelace Source # (-) :: Lovelace -> Lovelace -> Lovelace Source # (*) :: Lovelace -> Lovelace -> Lovelace Source # negate :: Lovelace -> Lovelace Source # abs :: Lovelace -> Lovelace Source # signum :: Lovelace -> Lovelace Source # fromInteger :: Integer -> Lovelace Source # | |||||
| Real Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods toRational :: Lovelace -> Rational Source # | |||||
| Show Lovelace Source # | |||||
| Eq Lovelace Source # | |||||
| Ord Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| HasBlueprintDefinition Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| FromData Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods fromBuiltinData :: BuiltinData -> Maybe Lovelace # | |||||
| ToData Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: Lovelace -> BuiltinData # | |||||
| UnsafeFromData Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value Methods | |||||
| AdditiveGroup Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| AdditiveMonoid Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| AdditiveSemigroup Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Ord Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Show Lovelace Source # | |||||
| Pretty Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Lift DefaultUni Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| Typeable DefaultUni Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| type Rep Lovelace Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Value | |||||
| type Unroll Lovelace Source # | |||||
Mint Value
A MintValue represents assets that are minted and burned in a transaction.
Instances
| Generic MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Associated Types
| |||||
| Show MintValue Source # | |||||
| Eq MintValue Source # | |||||
| HasBlueprintDefinition MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq MintValue Source # | Manual Eq instance: two MintValues are equal if they mint and burn the same assets, regardless of internal Map representation. Cannot use deriveEq for semantic equality. | ||||
Defined in PlutusLedgerApi.V3.Data.MintValue | |||||
| FromData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Methods | |||||
| ToData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Methods toBuiltinData :: MintValue -> BuiltinData # | |||||
| UnsafeFromData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Methods | |||||
| Pretty MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue | |||||
| HasBlueprintSchema MintValue referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue | |||||
| Typeable DefaultUni MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue | |||||
| type Rep MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue type Rep MintValue = D1 ('MetaData "MintValue" "PlutusLedgerApi.V3.Data.MintValue" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "UnsafeMintValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CurrencySymbol (Map TokenName Integer))))) | |||||
| type Unroll MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.Data.MintValue | |||||
mintValueBurned :: MintValue -> Value Source #
Time
POSIX time is measured as the number of milliseconds since 1970-01-01T00:00:00Z.
This is not the same as Haskell's POSIXTime
Constructors
| POSIXTime | |
Fields | |
Instances
| Enum POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods succ :: POSIXTime -> POSIXTime Source # pred :: POSIXTime -> POSIXTime Source # toEnum :: Int -> POSIXTime Source # fromEnum :: POSIXTime -> Int Source # enumFrom :: POSIXTime -> [POSIXTime] Source # enumFromThen :: POSIXTime -> POSIXTime -> [POSIXTime] Source # enumFromTo :: POSIXTime -> POSIXTime -> [POSIXTime] Source # enumFromThenTo :: POSIXTime -> POSIXTime -> POSIXTime -> [POSIXTime] Source # | |||||
| Generic POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Associated Types
| |||||
| Num POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods (+) :: POSIXTime -> POSIXTime -> POSIXTime Source # (-) :: POSIXTime -> POSIXTime -> POSIXTime Source # (*) :: POSIXTime -> POSIXTime -> POSIXTime Source # negate :: POSIXTime -> POSIXTime Source # abs :: POSIXTime -> POSIXTime Source # signum :: POSIXTime -> POSIXTime Source # fromInteger :: Integer -> POSIXTime Source # | |||||
| Integral POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods quot :: POSIXTime -> POSIXTime -> POSIXTime Source # rem :: POSIXTime -> POSIXTime -> POSIXTime Source # div :: POSIXTime -> POSIXTime -> POSIXTime Source # mod :: POSIXTime -> POSIXTime -> POSIXTime Source # quotRem :: POSIXTime -> POSIXTime -> (POSIXTime, POSIXTime) Source # divMod :: POSIXTime -> POSIXTime -> (POSIXTime, POSIXTime) Source # | |||||
| Real POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods toRational :: POSIXTime -> Rational Source # | |||||
| Show POSIXTime Source # | |||||
| NFData POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| Eq POSIXTime Source # | |||||
| Ord POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| HasBlueprintDefinition POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Associated Types
Methods definitionId :: DefinitionId | |||||
| Enum POSIXTime Source # | |||||
| Eq POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| FromData POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods | |||||
| ToData POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods toBuiltinData :: POSIXTime -> BuiltinData # | |||||
| UnsafeFromData POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods | |||||
| AdditiveGroup POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| AdditiveMonoid POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| AdditiveSemigroup POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| Ord POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| Pretty POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| HasBlueprintSchema POSIXTime referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| Typeable DefaultUni POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| type Rep POSIXTime Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Time | |||||
| type Unroll POSIXTime Source # | |||||
Types for representing transactions
An address may contain two credentials,
the payment credential and optionally a StakingCredential.
Instances
| Generic Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address Associated Types
| |||||
| Show Address Source # | |||||
| NFData Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| Eq Address Source # | |||||
| Ord Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| HasBlueprintDefinition Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| FromData Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address Methods fromBuiltinData :: BuiltinData -> Maybe Address # | |||||
| ToData Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address Methods toBuiltinData :: Address -> BuiltinData # | |||||
| UnsafeFromData Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address Methods | |||||
| Pretty Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| Lift DefaultUni Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| Typeable DefaultUni Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address | |||||
| type Rep Address Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Address type Rep Address = D1 ('MetaData "Address" "PlutusLedgerApi.V1.Data.Address" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Address_6989586621680110691" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll Address Source # | |||||
pattern Address :: Credential -> Maybe StakingCredential -> Address Source #
newtype PubKeyHash Source #
The hash of a public key. This is frequently used to identify the public key, rather than the key itself. Hashed with BLAKE2b-224. 28 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| PubKeyHash | |
Fields | |
Instances
| IsString PubKeyHash Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V1.Crypto Methods fromString :: String -> PubKeyHash Source # | |||||
| Generic PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Associated Types
| |||||
| Show PubKeyHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Crypto | |||||
| NFData PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods rnf :: PubKeyHash -> () Source # | |||||
| Eq PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods (==) :: PubKeyHash -> PubKeyHash -> Bool Source # (/=) :: PubKeyHash -> PubKeyHash -> Bool Source # | |||||
| Ord PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods compare :: PubKeyHash -> PubKeyHash -> Ordering Source # (<) :: PubKeyHash -> PubKeyHash -> Bool Source # (<=) :: PubKeyHash -> PubKeyHash -> Bool Source # (>) :: PubKeyHash -> PubKeyHash -> Bool Source # (>=) :: PubKeyHash -> PubKeyHash -> Bool Source # max :: PubKeyHash -> PubKeyHash -> PubKeyHash Source # min :: PubKeyHash -> PubKeyHash -> PubKeyHash Source # | |||||
| HasBlueprintDefinition PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods (==) :: PubKeyHash -> PubKeyHash -> Bool | |||||
| FromData PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods | |||||
| ToData PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods toBuiltinData :: PubKeyHash -> BuiltinData # | |||||
| UnsafeFromData PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods | |||||
| Ord PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods compare :: PubKeyHash -> PubKeyHash -> Ordering (<) :: PubKeyHash -> PubKeyHash -> Bool (<=) :: PubKeyHash -> PubKeyHash -> Bool (>) :: PubKeyHash -> PubKeyHash -> Bool (>=) :: PubKeyHash -> PubKeyHash -> Bool max :: PubKeyHash -> PubKeyHash -> PubKeyHash min :: PubKeyHash -> PubKeyHash -> PubKeyHash | |||||
| Show PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto | |||||
| Pretty PubKeyHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Crypto | |||||
| HasBlueprintSchema PubKeyHash referenedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods schema :: Schema referenedTypes | |||||
| Lift DefaultUni PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods lift :: PubKeyHash -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto Methods typeRep :: Proxy PubKeyHash -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto type Rep PubKeyHash = D1 ('MetaData "PubKeyHash" "PlutusLedgerApi.V1.Crypto" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "PubKeyHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPubKeyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll PubKeyHash Source # | |||||
Defined in PlutusLedgerApi.V1.Crypto | |||||
A transaction ID, i.e. the hash of a transaction. Hashed with BLAKE2b-256. 32 byte.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| TxId | |
Fields | |
Instances
| IsString TxId Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods fromString :: String -> TxId Source # | |||||
| Generic TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Associated Types
| |||||
| Show TxId Source # | using hex encoding | ||||
| NFData TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| Eq TxId Source # | |||||
| Ord TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| HasBlueprintDefinition TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| FromData TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxId # | |||||
| ToData TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods toBuiltinData :: TxId -> BuiltinData # | |||||
| UnsafeFromData TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods | |||||
| Ord TxId Source # | |||||
| Pretty TxId Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| HasBlueprintSchema TxId referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| Typeable DefaultUni TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| type Rep TxId Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx type Rep TxId = D1 ('MetaData "TxId" "PlutusLedgerApi.V3.Data.Tx" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "getTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll TxId Source # | |||||
TxInfo for PlutusV3
Instances
| Generic TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show TxInfo Source # | |||||
| FromData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |||||
| ToData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |||||
| UnsafeFromData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep TxInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep TxInfo = D1 ('MetaData "TxInfo" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxInfo_6989586621681090875" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern TxInfo :: List TxInInfo -> List TxInInfo -> List TxOut -> Lovelace -> MintValue -> List TxCert -> Map Credential Lovelace -> POSIXTimeRange -> List PubKeyHash -> Map ScriptPurpose Redeemer -> Map DatumHash Datum -> TxId -> Map Voter (Map GovernanceActionId Vote) -> List ProposalProcedure -> Maybe Lovelace -> Maybe Lovelace -> TxInfo Source #
txInfoInputs :: TxInfo -> List TxInInfo Source #
txInfoReferenceInputs :: TxInfo -> List TxInInfo Source #
txInfoOutputs :: TxInfo -> List TxOut Source #
txInfoMint :: TxInfo -> MintValue Source #
txInfoTxCerts :: TxInfo -> List TxCert Source #
txInfoWdrl :: TxInfo -> Map Credential Lovelace Source #
txInfoSignatories :: TxInfo -> List PubKeyHash Source #
txInfoVotes :: TxInfo -> Map Voter (Map GovernanceActionId Vote) Source #
txInfoProposalProcedures :: TxInfo -> List ProposalProcedure Source #
A transaction output, consisting of a target address, a value, optionally a datum/datum hash, and optionally a reference script.
Instances
| Generic TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Associated Types
| |||||
| Show TxOut Source # | |||||
| Eq TxOut Source # | |||||
| Eq TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| FromData TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOut # | |||||
| ToData TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods toBuiltinData :: TxOut -> BuiltinData # | |||||
| UnsafeFromData TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |||||
| Pretty TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| Lift DefaultUni TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| Typeable DefaultUni TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| type Rep TxOut Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx type Rep TxOut = D1 ('MetaData "TxOut" "PlutusLedgerApi.V2.Data.Tx" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxOut_6989586621680147101" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern TxOut :: Address -> Value -> OutputDatum -> Maybe ScriptHash -> TxOut Source #
txOutAddress :: TxOut -> Address Source #
txOutValue :: TxOut -> Value Source #
txOutDatum :: TxOut -> OutputDatum Source #
A reference to a transaction output. This is a
pair of a transaction ID (TxId), and an index indicating which of the outputs
of that transaction we are referring to.
Instances
| Generic TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Associated Types
| |||||
| Show TxOutRef Source # | |||||
| NFData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| Eq TxOutRef Source # | |||||
| Ord TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| HasBlueprintDefinition TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| FromData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |||||
| ToData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |||||
| UnsafeFromData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx Methods | |||||
| Pretty TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| Lift DefaultUni TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| Typeable DefaultUni TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx | |||||
| type Rep TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Tx type Rep TxOutRef = D1 ('MetaData "TxOutRef" "PlutusLedgerApi.V3.Data.Tx" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxOutRef_6989586621679895325" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll TxOutRef Source # | |||||
txOutRefId :: TxOutRef -> TxId Source #
txOutRefIdx :: TxOutRef -> Integer Source #
An input of a pending transaction.
Instances
| Generic TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Associated Types
| |||||
| Show TxInInfo Source # | |||||
| Eq TxInInfo Source # | |||||
| Eq TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| FromData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |||||
| ToData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |||||
| UnsafeFromData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |||||
| Pretty TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Lift DefaultUni TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| Typeable DefaultUni TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts | |||||
| type Rep TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V3.Data.Contexts type Rep TxInInfo = D1 ('MetaData "TxInInfo" "PlutusLedgerApi.V3.Data.Contexts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "TxInInfo_6989586621681089466" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
txInInfoOutRef :: TxInInfo -> TxOutRef Source #
txInInfoResolved :: TxInInfo -> TxOut Source #
data OutputDatum Source #
The datum attached to an output: either nothing; a datum hash; or the datum itself (an "inline datum").
Instances
| Generic OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Associated Types
Methods from :: OutputDatum -> Rep OutputDatum x Source # to :: Rep OutputDatum x -> OutputDatum Source # | |||||
| Show OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| NFData OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods rnf :: OutputDatum -> () Source # | |||||
| Eq OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods (==) :: OutputDatum -> OutputDatum -> Bool Source # (/=) :: OutputDatum -> OutputDatum -> Bool Source # | |||||
| Eq OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods (==) :: OutputDatum -> OutputDatum -> Bool | |||||
| FromData OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |||||
| ToData OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods toBuiltinData :: OutputDatum -> BuiltinData # | |||||
| UnsafeFromData OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |||||
| Pretty OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx | |||||
| Lift DefaultUni OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods lift :: OutputDatum -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx Methods typeRep :: Proxy OutputDatum -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep OutputDatum Source # | |||||
Defined in PlutusLedgerApi.V2.Data.Tx type Rep OutputDatum = D1 ('MetaData "OutputDatum" "PlutusLedgerApi.V2.Data.Tx" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "OutputDatum_6989586621680146268" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
pattern NoOutputDatum :: OutputDatum Source #
pattern OutputDatum :: Datum -> OutputDatum Source #
pattern OutputDatumHash :: DatumHash -> OutputDatum Source #
Intervals
An interval of as.
The interval may be either closed or open at either end, meaning that the endpoints may or may not be included in the interval.
The interval can also be unbounded on either side.
The Eq instance gives equality of the intervals, not structural equality.
There is no Ord instance, but contains gives a partial order.
Note that some of the functions on Interval rely on Enum in order to
handle non-inclusive endpoints. For this reason, it may not be safe to
use Intervals with non-inclusive endpoints on types whose Enum
instances have partial methods.
Instances
| Lift DefaultUni (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| Generic (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
| |||||
| Show (Interval a) Source # | |||||
| NFData (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Eq (Interval a) Source # | |||||
| HasBlueprintDefinition a => HasBlueprintDefinition (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods definitionId :: DefinitionId | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Eq (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| FromData (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Interval a) # | |||||
| ToData (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: Interval a -> BuiltinData # | |||||
| UnsafeFromData (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Interval a # | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => BoundedJoinSemiLattice (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => BoundedMeetSemiLattice (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => JoinSemiLattice (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => MeetSemiLattice (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (HasBlueprintDefinition a, HasSchemaDefinition (LowerBound a) referencedTypes, HasSchemaDefinition (UpperBound a) referencedTypes) => HasBlueprintSchema (Interval a) referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods schema :: Schema referencedTypes | |||||
| Typeable DefaultUni Interval Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| type Rep (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval type Rep (Interval a) = D1 ('MetaData "Interval" "PlutusLedgerApi.V1.Data.Interval" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Interval_6989586621679175656" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll (Interval a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
pattern Interval :: (ToData a, UnsafeFromData a) => LowerBound a -> UpperBound a -> Interval a Source #
ivFrom :: (ToData a, UnsafeFromData a) => Interval a -> LowerBound a Source #
ivTo :: (ToData a, UnsafeFromData a) => Interval a -> UpperBound a Source #
A set extended with a positive and negative infinity.
Instances
| Lift DefaultUni (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| Generic (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
| |||||
| Show (Extended a) Source # | |||||
| NFData (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Eq a, ToData a, UnsafeFromData a) => Eq (Extended a) Source # | |||||
| (Ord a, ToData a, UnsafeFromData a) => Ord (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods compare :: Extended a -> Extended a -> Ordering Source # (<) :: Extended a -> Extended a -> Bool Source # (<=) :: Extended a -> Extended a -> Bool Source # (>) :: Extended a -> Extended a -> Bool Source # (>=) :: Extended a -> Extended a -> Bool Source # | |||||
| HasBlueprintDefinition a => HasBlueprintDefinition (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods definitionId :: DefinitionId | |||||
| (Eq a, ToData a, UnsafeFromData a) => Eq (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| FromData (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Extended a) # | |||||
| ToData (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: Extended a -> BuiltinData # | |||||
| UnsafeFromData (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Extended a # | |||||
| (Ord a, ToData a, UnsafeFromData a) => Ord (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| Typeable DefaultUni Extended Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| type Rep (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval type Rep (Extended a) = D1 ('MetaData "Extended" "PlutusLedgerApi.V1.Data.Interval" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Extended_6989586621679173605" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll (Extended a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
data UpperBound a Source #
The upper bound of an interval.
Instances
| Lift DefaultUni (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods lift :: UpperBound a -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Generic (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods from :: UpperBound a -> Rep (UpperBound a) x Source # to :: Rep (UpperBound a) x -> UpperBound a Source # | |||||
| Show (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| NFData (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods rnf :: UpperBound a -> () Source # | |||||
| (Enum a, Eq a, ToData a, UnsafeFromData a) => Eq (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods (==) :: UpperBound a -> UpperBound a -> Bool Source # (/=) :: UpperBound a -> UpperBound a -> Bool Source # | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Ord (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods compare :: UpperBound a -> UpperBound a -> Ordering Source # (<) :: UpperBound a -> UpperBound a -> Bool Source # (<=) :: UpperBound a -> UpperBound a -> Bool Source # (>) :: UpperBound a -> UpperBound a -> Bool Source # (>=) :: UpperBound a -> UpperBound a -> Bool Source # max :: UpperBound a -> UpperBound a -> UpperBound a Source # min :: UpperBound a -> UpperBound a -> UpperBound a Source # | |||||
| HasBlueprintDefinition (Extended a) => HasBlueprintDefinition (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods definitionId :: DefinitionId | |||||
| (Enum a, Eq a, ToData a, UnsafeFromData a) => Eq (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods (==) :: UpperBound a -> UpperBound a -> Bool | |||||
| FromData (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (UpperBound a) # | |||||
| ToData (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: UpperBound a -> BuiltinData # | |||||
| UnsafeFromData (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> UpperBound a # | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Ord (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods compare :: UpperBound a -> UpperBound a -> Ordering (<) :: UpperBound a -> UpperBound a -> Bool (<=) :: UpperBound a -> UpperBound a -> Bool (>) :: UpperBound a -> UpperBound a -> Bool (>=) :: UpperBound a -> UpperBound a -> Bool max :: UpperBound a -> UpperBound a -> UpperBound a min :: UpperBound a -> UpperBound a -> UpperBound a | |||||
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (HasSchemaDefinition a referencedTypes, HasBlueprintDefinition a, HasSchemaDefinition (Extended a) referencedTypes, HasSchemaDefinition Closure referencedTypes) => HasBlueprintSchema (UpperBound a) referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods schema :: Schema referencedTypes | |||||
| Typeable DefaultUni UpperBound Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods typeRep :: Proxy UpperBound -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval type Rep (UpperBound a) = D1 ('MetaData "UpperBound" "PlutusLedgerApi.V1.Data.Interval" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "UpperBound_6989586621679174429" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll (UpperBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
pattern UpperBound :: (ToData a, UnsafeFromData a) => Extended a -> Closure -> UpperBound a Source #
data LowerBound a Source #
The lower bound of an interval.
Instances
| Lift DefaultUni (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods lift :: LowerBound a -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Generic (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods from :: LowerBound a -> Rep (LowerBound a) x Source # to :: Rep (LowerBound a) x -> LowerBound a Source # | |||||
| Show (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| NFData (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods rnf :: LowerBound a -> () Source # | |||||
| (Enum a, Eq a, ToData a, UnsafeFromData a) => Eq (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods (==) :: LowerBound a -> LowerBound a -> Bool Source # (/=) :: LowerBound a -> LowerBound a -> Bool Source # | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Ord (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods compare :: LowerBound a -> LowerBound a -> Ordering Source # (<) :: LowerBound a -> LowerBound a -> Bool Source # (<=) :: LowerBound a -> LowerBound a -> Bool Source # (>) :: LowerBound a -> LowerBound a -> Bool Source # (>=) :: LowerBound a -> LowerBound a -> Bool Source # max :: LowerBound a -> LowerBound a -> LowerBound a Source # min :: LowerBound a -> LowerBound a -> LowerBound a Source # | |||||
| HasBlueprintDefinition (Extended a) => HasBlueprintDefinition (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Associated Types
Methods definitionId :: DefinitionId | |||||
| (Enum a, Eq a, ToData a, UnsafeFromData a) => Eq (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods (==) :: LowerBound a -> LowerBound a -> Bool | |||||
| FromData (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (LowerBound a) # | |||||
| ToData (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: LowerBound a -> BuiltinData # | |||||
| UnsafeFromData (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> LowerBound a # | |||||
| (Enum a, Ord a, ToData a, UnsafeFromData a) => Ord (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods compare :: LowerBound a -> LowerBound a -> Ordering (<) :: LowerBound a -> LowerBound a -> Bool (<=) :: LowerBound a -> LowerBound a -> Bool (>) :: LowerBound a -> LowerBound a -> Bool (>=) :: LowerBound a -> LowerBound a -> Bool max :: LowerBound a -> LowerBound a -> LowerBound a min :: LowerBound a -> LowerBound a -> LowerBound a | |||||
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
| (HasSchemaDefinition a referencedTypes, HasBlueprintDefinition a, HasSchemaDefinition (Extended a) referencedTypes, HasSchemaDefinition Closure referencedTypes) => HasBlueprintSchema (LowerBound a) referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods schema :: Schema referencedTypes | |||||
| Typeable DefaultUni LowerBound Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval Methods typeRep :: Proxy LowerBound -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval type Rep (LowerBound a) = D1 ('MetaData "LowerBound" "PlutusLedgerApi.V1.Data.Interval" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "LowerBound_6989586621679175036" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll (LowerBound a) Source # | |||||
Defined in PlutusLedgerApi.V1.Data.Interval | |||||
pattern LowerBound :: (ToData a, UnsafeFromData a) => Extended a -> Closure -> LowerBound a Source #
always :: (ToData a, UnsafeFromData a) => Interval a Source #
An Interval that covers every slot. In math. notation [-∞,+∞]
from :: (ToData a, UnsafeFromData a) => a -> Interval a Source #
from a is an Interval that includes all values that are
greater than or equal to a. In math. notation: [a,+∞]
to :: (ToData a, UnsafeFromData a) => a -> Interval a Source #
to a is an Interval that includes all values that are
smaller than or equal to a. In math. notation: [-∞,a]
lowerBound :: (ToData a, UnsafeFromData a) => a -> LowerBound a Source #
Construct a lower bound from a value. The resulting bound includes all values that are equal or greater than the input value.
upperBound :: (ToData a, UnsafeFromData a) => a -> UpperBound a Source #
Construct an upper bound from a value. The resulting bound includes all values that are equal or smaller than the input value.
strictLowerBound :: (ToData a, UnsafeFromData a) => a -> LowerBound a Source #
Construct a strict lower bound from a value. The resulting bound includes all values that are (strictly) greater than the input value.
strictUpperBound :: (ToData a, UnsafeFromData a) => a -> UpperBound a Source #
Construct a strict upper bound from a value. The resulting bound includes all values that are (strictly) smaller than the input value.
Ratio
Instances
| FromJSON Rational | |||||
Defined in PlutusTx.Ratio | |||||
| ToJSON Rational | |||||
Defined in PlutusTx.Ratio Methods toEncoding :: Rational -> Encoding toJSONList :: [Rational] -> Value toEncodingList :: [Rational] -> Encoding | |||||
| Generic Rational | |||||
Defined in PlutusTx.Ratio Associated Types
| |||||
| Show Rational | |||||
| Eq Rational | |||||
| Ord Rational | |||||
Defined in PlutusTx.Ratio | |||||
| HasBlueprintDefinition Rational | |||||
Defined in PlutusTx.Ratio Associated Types
Methods definitionId :: DefinitionId | |||||
| Enum Rational | |||||
| Eq Rational | |||||
Defined in PlutusTx.Ratio | |||||
| FromData Rational | |||||
Defined in PlutusTx.Ratio Methods fromBuiltinData :: BuiltinData -> Maybe Rational # | |||||
| ToData Rational | |||||
Defined in PlutusTx.Ratio Methods toBuiltinData :: Rational -> BuiltinData # | |||||
| UnsafeFromData Rational | |||||
Defined in PlutusTx.Ratio Methods | |||||
| AdditiveGroup Rational | |||||
Defined in PlutusTx.Ratio | |||||
| AdditiveMonoid Rational | |||||
Defined in PlutusTx.Ratio | |||||
| AdditiveSemigroup Rational | |||||
Defined in PlutusTx.Ratio | |||||
| MultiplicativeMonoid Rational | |||||
Defined in PlutusTx.Ratio | |||||
| MultiplicativeSemigroup Rational | |||||
Defined in PlutusTx.Ratio | |||||
| Ord Rational | |||||
| Pretty Rational | |||||
Defined in PlutusTx.Ratio | |||||
| HasSchemaDefinition Integer referencedTypes => HasBlueprintSchema Rational referencedTypes | |||||
Defined in PlutusTx.Ratio Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Rational | |||||
Defined in PlutusTx.Ratio | |||||
| Module Integer Rational | |||||
| Typeable DefaultUni Rational | |||||
Defined in PlutusTx.Ratio | |||||
| type Rep Rational | |||||
Defined in PlutusTx.Ratio type Rep Rational = D1 ('MetaData "Rational" "PlutusTx.Ratio" "plutus-tx-1.60.0.0-2VI8qZOpowK2Zo3DTnqORk" 'False) (C1 ('MetaCons "Rational" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))) | |||||
| type Unroll Rational | |||||
Defined in PlutusTx.Ratio | |||||
unsafeRatio :: Integer -> Integer -> Rational #
denominator :: Rational -> Integer #
fromHaskellRatio :: Rational -> Rational #
toHaskellRatio :: Rational -> Rational #
Association maps
Instances
| Lift DefaultUni (Map k a) | |
Defined in PlutusTx.Data.AssocMap | |
| Show (Map k a) | |
| FromData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods fromBuiltinData :: BuiltinData -> Maybe (Map k a) # | |
| ToData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods toBuiltinData :: Map k a -> BuiltinData # | |
| UnsafeFromData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods unsafeFromBuiltinData :: BuiltinData -> Map k a # | |
| (Pretty k, Pretty a, UnsafeFromData k, UnsafeFromData a) => Pretty (Map k a) | |
Defined in PlutusTx.Data.AssocMap | |
| Typeable DefaultUni Map | |
Defined in PlutusTx.Data.AssocMap | |
unsafeFromSOPList :: (ToData k, ToData a) => [(k, a)] -> Map k a #
Newtypes and hash types
newtype ScriptHash Source #
Type representing the BLAKE2b-224 hash of a script. 28 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| ScriptHash | |
Fields | |
Instances
| IsString ScriptHash Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts Methods fromString :: String -> ScriptHash Source # | |||||
| Generic ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
| |||||
| Show ScriptHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| NFData ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods rnf :: ScriptHash -> () Source # | |||||
| Eq ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods (==) :: ScriptHash -> ScriptHash -> Bool Source # (/=) :: ScriptHash -> ScriptHash -> Bool Source # | |||||
| Ord ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods compare :: ScriptHash -> ScriptHash -> Ordering Source # (<) :: ScriptHash -> ScriptHash -> Bool Source # (<=) :: ScriptHash -> ScriptHash -> Bool Source # (>) :: ScriptHash -> ScriptHash -> Bool Source # (>=) :: ScriptHash -> ScriptHash -> Bool Source # max :: ScriptHash -> ScriptHash -> ScriptHash Source # min :: ScriptHash -> ScriptHash -> ScriptHash Source # | |||||
| HasBlueprintDefinition ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods (==) :: ScriptHash -> ScriptHash -> Bool | |||||
| FromData ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| ToData ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: ScriptHash -> BuiltinData # | |||||
| UnsafeFromData ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| Ord ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods compare :: ScriptHash -> ScriptHash -> Ordering (<) :: ScriptHash -> ScriptHash -> Bool (<=) :: ScriptHash -> ScriptHash -> Bool (>) :: ScriptHash -> ScriptHash -> Bool (>=) :: ScriptHash -> ScriptHash -> Bool max :: ScriptHash -> ScriptHash -> ScriptHash min :: ScriptHash -> ScriptHash -> ScriptHash | |||||
| Show ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Pretty ScriptHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintSchema ScriptHash referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods lift :: ScriptHash -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods typeRep :: Proxy ScriptHash -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Rep ScriptHash = D1 ('MetaData "ScriptHash" "PlutusLedgerApi.V1.Scripts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "ScriptHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "getScriptHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll ScriptHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Unroll ScriptHash = Insert ScriptHash (GUnroll (IfStuckRep (RepIsStuckError ScriptHash :: Type -> Type) (Rep ScriptHash))) | |||||
Redeemer is a wrapper around Data values that are used as redeemers in transaction inputs.
Constructors
| Redeemer | |
Fields | |
Instances
| Generic Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
| |||||
| Show Redeemer Source # | |||||
| NFData Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Eq Redeemer Source # | |||||
| Ord Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintDefinition Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| FromData Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods fromBuiltinData :: BuiltinData -> Maybe Redeemer # | |||||
| ToData Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: Redeemer -> BuiltinData # | |||||
| UnsafeFromData Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| Show Redeemer Source # | |||||
| Pretty Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Serialise Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods encode :: Redeemer -> Encoding encodeList :: [Redeemer] -> Encoding decodeList :: Decoder s [Redeemer] | |||||
| HasBlueprintSchema Redeemer referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Typeable DefaultUni Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| type Rep Redeemer Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Rep Redeemer = D1 ('MetaData "Redeemer" "PlutusLedgerApi.V1.Scripts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Redeemer" 'PrefixI 'True) (S1 ('MetaSel ('Just "getRedeemer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll Redeemer Source # | |||||
newtype RedeemerHash Source #
Type representing the BLAKE2b-256 hash of a redeemer. 32 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| RedeemerHash BuiltinByteString |
Instances
| IsString RedeemerHash Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts Methods fromString :: String -> RedeemerHash Source # | |||||
| Generic RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods from :: RedeemerHash -> Rep RedeemerHash x Source # to :: Rep RedeemerHash x -> RedeemerHash Source # | |||||
| Show RedeemerHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| NFData RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods rnf :: RedeemerHash -> () Source # | |||||
| Eq RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods (==) :: RedeemerHash -> RedeemerHash -> Bool Source # (/=) :: RedeemerHash -> RedeemerHash -> Bool Source # | |||||
| Ord RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods compare :: RedeemerHash -> RedeemerHash -> Ordering Source # (<) :: RedeemerHash -> RedeemerHash -> Bool Source # (<=) :: RedeemerHash -> RedeemerHash -> Bool Source # (>) :: RedeemerHash -> RedeemerHash -> Bool Source # (>=) :: RedeemerHash -> RedeemerHash -> Bool Source # max :: RedeemerHash -> RedeemerHash -> RedeemerHash Source # min :: RedeemerHash -> RedeemerHash -> RedeemerHash Source # | |||||
| HasBlueprintDefinition RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods (==) :: RedeemerHash -> RedeemerHash -> Bool | |||||
| FromData RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| ToData RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| UnsafeFromData RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| Ord RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods compare :: RedeemerHash -> RedeemerHash -> Ordering (<) :: RedeemerHash -> RedeemerHash -> Bool (<=) :: RedeemerHash -> RedeemerHash -> Bool (>) :: RedeemerHash -> RedeemerHash -> Bool (>=) :: RedeemerHash -> RedeemerHash -> Bool max :: RedeemerHash -> RedeemerHash -> RedeemerHash min :: RedeemerHash -> RedeemerHash -> RedeemerHash | |||||
| Show RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Pretty RedeemerHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintSchema RedeemerHash referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods lift :: RedeemerHash -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods typeRep :: Proxy RedeemerHash -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Rep RedeemerHash = D1 ('MetaData "RedeemerHash" "PlutusLedgerApi.V1.Scripts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "RedeemerHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll RedeemerHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Unroll RedeemerHash = Insert RedeemerHash (GUnroll (IfStuckRep (RepIsStuckError RedeemerHash :: Type -> Type) (Rep RedeemerHash))) | |||||
Datum is a wrapper around Data values which are used as data in transaction outputs.
Constructors
| Datum | |
Fields | |
Instances
| Generic Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
| |||||
| Show Datum Source # | |||||
| NFData Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Eq Datum Source # | |||||
| Ord Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintDefinition Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| FromData Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods fromBuiltinData :: BuiltinData -> Maybe Datum # | |||||
| ToData Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: Datum -> BuiltinData # | |||||
| UnsafeFromData Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| Show Datum Source # | |||||
| Pretty Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Serialise Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintSchema Datum referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Typeable DefaultUni Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| type Rep Datum Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Rep Datum = D1 ('MetaData "Datum" "PlutusLedgerApi.V1.Scripts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "Datum" 'PrefixI 'True) (S1 ('MetaSel ('Just "getDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll Datum Source # | |||||
Type representing the BLAKE2b-256 hash of a datum. 32 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| DatumHash BuiltinByteString |
Instances
| IsString DatumHash Source # | from hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts Methods fromString :: String -> DatumHash Source # | |||||
| Generic DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
| |||||
| Show DatumHash Source # | using hex encoding | ||||
| NFData DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Eq DatumHash Source # | |||||
| Ord DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintDefinition DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| FromData DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| ToData DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: DatumHash -> BuiltinData # | |||||
| UnsafeFromData DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods | |||||
| Ord DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Show DatumHash Source # | |||||
| Pretty DatumHash Source # | using hex encoding | ||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| HasBlueprintSchema DatumHash referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| Typeable DefaultUni DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts | |||||
| type Rep DatumHash Source # | |||||
Defined in PlutusLedgerApi.V1.Scripts type Rep DatumHash = D1 ('MetaData "DatumHash" "PlutusLedgerApi.V1.Scripts" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "DatumHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinByteString))) | |||||
| type Unroll DatumHash Source # | |||||
Data
Instances
| Data Data | |||||||||||||
Defined in PlutusCore.Data Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Data -> c Data Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Data Source # toConstr :: Data -> Constr Source # dataTypeOf :: Data -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Data) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Data) Source # gmapT :: (forall b. Data b => b -> b) -> Data -> Data Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Data -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Data -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Data -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Data -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Data -> m Data Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Data -> m Data Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Data -> m Data Source # | |||||||||||||
| Generic Data | |||||||||||||
Defined in PlutusCore.Data Associated Types
| |||||||||||||
| Read Data | |||||||||||||
| Show Data | |||||||||||||
| NFData Data | |||||||||||||
Defined in PlutusCore.Data | |||||||||||||
| Eq Data | |||||||||||||
| Ord Data | |||||||||||||
| Hashable Data | |||||||||||||
Defined in PlutusCore.Data | |||||||||||||
| NoThunks Data | |||||||||||||
| ExMemoryUsage Data | |||||||||||||
Defined in PlutusCore.Evaluation.Machine.ExMemoryUsage Methods memoryUsage :: Data -> CostRose | |||||||||||||
| HasToBuiltin Data | |||||||||||||
Defined in PlutusTx.Builtins.HasBuiltin Associated Types
| |||||||||||||
| Pretty Data | |||||||||||||
Defined in PlutusCore.Data | |||||||||||||
| Serialise Data | |||||||||||||
Defined in PlutusCore.Data | |||||||||||||
| PrettyBy ConstConfig Data | |||||||||||||
Defined in PlutusCore.Pretty.PrettyConst | |||||||||||||
| KnownBuiltinTypeIn DefaultUni term Data => MakeKnownIn DefaultUni term Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| KnownBuiltinTypeIn DefaultUni term Data => ReadKnownIn DefaultUni term Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| Contains DefaultUni Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| KnownBuiltinTypeAst tyname DefaultUni Data => KnownTypeAst tyname DefaultUni Data | |||||||||||||
Defined in PlutusCore.Default.Universe Associated Types
Methods typeAst :: Type tyname DefaultUni () | |||||||||||||
| type Rep Data | |||||||||||||
Defined in PlutusCore.Data type Rep Data = D1 ('MetaData "Data" "PlutusCore.Data" "plutus-core-1.60.0.0-LXFqBsoUlXsJIEqLytHte7" 'False) ((C1 ('MetaCons "Constr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Data])) :+: C1 ('MetaCons "Map" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Data, Data)]))) :+: (C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Data])) :+: (C1 ('MetaCons "I" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :+: C1 ('MetaCons "B" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))) | |||||||||||||
| type ToBuiltin Data | |||||||||||||
Defined in PlutusTx.Builtins.HasBuiltin | |||||||||||||
| type IsBuiltin DefaultUni Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| type ToBinds DefaultUni acc Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| type ToHoles DefaultUni hole Data | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
data BuiltinData #
Constructors
| BuiltinData ~Data |
Instances
| Data BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BuiltinData -> c BuiltinData Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BuiltinData Source # toConstr :: BuiltinData -> Constr Source # dataTypeOf :: BuiltinData -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BuiltinData) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BuiltinData) Source # gmapT :: (forall b. Data b => b -> b) -> BuiltinData -> BuiltinData Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BuiltinData -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BuiltinData -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BuiltinData -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BuiltinData -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BuiltinData -> m BuiltinData Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BuiltinData -> m BuiltinData Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BuiltinData -> m BuiltinData Source # | |||||
| Generic BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal Associated Types
Methods from :: BuiltinData -> Rep BuiltinData x Source # to :: Rep BuiltinData x -> BuiltinData Source # | |||||
| Show BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| NFData BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal Methods rnf :: BuiltinData -> () Source # | |||||
| Eq BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal Methods (==) :: BuiltinData -> BuiltinData -> Bool Source # (/=) :: BuiltinData -> BuiltinData -> Bool Source # | |||||
| Ord BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal Methods compare :: BuiltinData -> BuiltinData -> Ordering Source # (<) :: BuiltinData -> BuiltinData -> Bool Source # (<=) :: BuiltinData -> BuiltinData -> Bool Source # (>) :: BuiltinData -> BuiltinData -> Bool Source # (>=) :: BuiltinData -> BuiltinData -> Bool Source # max :: BuiltinData -> BuiltinData -> BuiltinData Source # min :: BuiltinData -> BuiltinData -> BuiltinData Source # | |||||
| HasBlueprintDefinition BuiltinData | |||||
Defined in PlutusTx.Blueprint.Definition.Unroll Associated Types
Methods definitionId :: DefinitionId | |||||
| HasFromBuiltin BuiltinData | |||||
Defined in PlutusTx.Builtins.HasBuiltin Associated Types
Methods fromBuiltin :: BuiltinData -> FromBuiltin BuiltinData # | |||||
| MkNil BuiltinData | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods mkNil :: BuiltinList BuiltinData | |||||
| Eq BuiltinData | |||||
Defined in PlutusTx.Eq.Class Methods (==) :: BuiltinData -> BuiltinData -> Bool | |||||
| FromData BuiltinData | |||||
Defined in PlutusTx.IsData.Class Methods | |||||
| ToData BuiltinData | |||||
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: BuiltinData -> BuiltinData # | |||||
| UnsafeFromData BuiltinData | |||||
Defined in PlutusTx.IsData.Class Methods | |||||
| Pretty BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal | |||||
| HasBlueprintSchema BuiltinData referencedTypes | |||||
Defined in PlutusTx.Blueprint.Class Methods schema :: Schema referencedTypes | |||||
| HasFromOpaque BuiltinData BuiltinData | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods fromOpaque :: BuiltinData -> BuiltinData # | |||||
| HasToOpaque BuiltinData BuiltinData | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods toOpaque :: BuiltinData -> BuiltinData # | |||||
| HasTermLevel uni Data => Lift uni BuiltinData | |||||
Defined in PlutusTx.Lift.Class Methods lift :: BuiltinData -> RTCompile uni fun (Term TyName Name uni fun ()) | |||||
| HasTypeLevel uni Data => Typeable uni BuiltinData | |||||
Defined in PlutusTx.Lift.Class Methods typeRep :: Proxy BuiltinData -> RTCompile uni fun (Type TyName uni ()) | |||||
| HasToOpaque (BuiltinData, BuiltinData) (BuiltinPair BuiltinData BuiltinData) | |||||
Defined in PlutusTx.Builtins.HasOpaque Methods toOpaque :: (BuiltinData, BuiltinData) -> BuiltinPair BuiltinData BuiltinData # | |||||
| type Rep BuiltinData | |||||
Defined in PlutusTx.Builtins.Internal type Rep BuiltinData = D1 ('MetaData "BuiltinData" "PlutusTx.Builtins.Internal" "plutus-tx-1.60.0.0-2VI8qZOpowK2Zo3DTnqORk" 'False) (C1 ('MetaCons "BuiltinData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceLazy 'DecidedLazy) (Rec0 Data))) | |||||
| type Unroll BuiltinData | |||||
Defined in PlutusTx.Blueprint.Definition.Unroll | |||||
| type FromBuiltin BuiltinData | |||||
Defined in PlutusTx.Builtins.HasBuiltin | |||||
Methods
toBuiltinData :: a -> BuiltinData #
Instances
| ToData Void | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: Void -> BuiltinData # | |
| ToData Address Source # | |
Defined in PlutusLedgerApi.V1.Address Methods toBuiltinData :: Address -> BuiltinData # | |
| ToData LedgerBytes Source # | |
Defined in PlutusLedgerApi.V1.Bytes Methods toBuiltinData :: LedgerBytes -> BuiltinData # | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| ToData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData Credential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods toBuiltinData :: Credential -> BuiltinData # | |
| ToData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods | |
| ToData PubKeyHash Source # | |
Defined in PlutusLedgerApi.V1.Crypto Methods toBuiltinData :: PubKeyHash -> BuiltinData # | |
| ToData DCert Source # | |
Defined in PlutusLedgerApi.V1.DCert Methods toBuiltinData :: DCert -> BuiltinData # | |
| ToData Address Source # | |
Defined in PlutusLedgerApi.V1.Data.Address Methods toBuiltinData :: Address -> BuiltinData # | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| ToData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData Credential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods toBuiltinData :: Credential -> BuiltinData # | |
| ToData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |
| ToData DCert Source # | |
Defined in PlutusLedgerApi.V1.Data.DCert Methods toBuiltinData :: DCert -> BuiltinData # | |
| ToData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods | |
| ToData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods toBuiltinData :: POSIXTime -> BuiltinData # | |
| ToData TxId Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods toBuiltinData :: TxId -> BuiltinData # | |
| ToData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods toBuiltinData :: TxOut -> BuiltinData # | |
| ToData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |
| ToData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: AssetClass -> BuiltinData # | |
| ToData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| ToData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: Lovelace -> BuiltinData # | |
| ToData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: TokenName -> BuiltinData # | |
| ToData Value Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods toBuiltinData :: Value -> BuiltinData # | |
| ToData Datum Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: Datum -> BuiltinData # | |
| ToData DatumHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: DatumHash -> BuiltinData # | |
| ToData Redeemer Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: Redeemer -> BuiltinData # | |
| ToData RedeemerHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| ToData ScriptHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods toBuiltinData :: ScriptHash -> BuiltinData # | |
| ToData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Time Methods | |
| ToData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Time Methods toBuiltinData :: POSIXTime -> BuiltinData # | |
| ToData RedeemerPtr Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods toBuiltinData :: RedeemerPtr -> BuiltinData # | |
| ToData ScriptTag Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods toBuiltinData :: ScriptTag -> BuiltinData # | |
| ToData TxId Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods toBuiltinData :: TxId -> BuiltinData # | |
| ToData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods toBuiltinData :: TxOut -> BuiltinData # | |
| ToData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |
| ToData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Value Methods toBuiltinData :: AssetClass -> BuiltinData # | |
| ToData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| ToData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Value Methods toBuiltinData :: Lovelace -> BuiltinData # | |
| ToData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Value Methods toBuiltinData :: TokenName -> BuiltinData # | |
| ToData Value Source # | |
Defined in PlutusLedgerApi.V1.Value Methods toBuiltinData :: Value -> BuiltinData # | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods toBuiltinData :: OutputDatum -> BuiltinData # | |
| ToData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods toBuiltinData :: TxOut -> BuiltinData # | |
| ToData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods toBuiltinData :: OutputDatum -> BuiltinData # | |
| ToData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods toBuiltinData :: TxOut -> BuiltinData # | |
| ToData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData Committee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Committee -> BuiltinData # | |
| ToData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData DRep Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: DRep -> BuiltinData # | |
| ToData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Delegatee -> BuiltinData # | |
| ToData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: ScriptInfo -> BuiltinData # | |
| ToData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| ToData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: TxCert -> BuiltinData # | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData Vote Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Vote -> BuiltinData # | |
| ToData Voter Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Voter -> BuiltinData # | |
| ToData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData Committee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Committee -> BuiltinData # | |
| ToData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData DRep Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: DRep -> BuiltinData # | |
| ToData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Delegatee -> BuiltinData # | |
| ToData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: ScriptInfo -> BuiltinData # | |
| ToData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| ToData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxCert -> BuiltinData # | |
| ToData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |
| ToData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |
| ToData Vote Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Vote -> BuiltinData # | |
| ToData Voter Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods toBuiltinData :: Voter -> BuiltinData # | |
| ToData MintValue Source # | |
Defined in PlutusLedgerApi.V3.Data.MintValue Methods toBuiltinData :: MintValue -> BuiltinData # | |
| ToData TxId Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods toBuiltinData :: TxId -> BuiltinData # | |
| ToData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |
| ToData MintValue Source # | |
Defined in PlutusLedgerApi.V3.MintValue Methods toBuiltinData :: MintValue -> BuiltinData # | |
| ToData TxId Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods toBuiltinData :: TxId -> BuiltinData # | |
| ToData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |
| ToData BuiltinBLS12_381_G1_Element | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: BuiltinBLS12_381_G1_Element -> BuiltinData # | |
| ToData BuiltinBLS12_381_G2_Element | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: BuiltinBLS12_381_G2_Element -> BuiltinData # | |
| (TypeError ('Text "toBuiltinData is not supported for BuiltinBLS12_381_MlResult") :: Constraint) => ToData BuiltinBLS12_381_MlResult | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: BuiltinBLS12_381_MlResult -> BuiltinData # | |
| ToData BuiltinByteString | |
Defined in PlutusTx.IsData.Class Methods | |
| ToData BuiltinData | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: BuiltinData -> BuiltinData # | |
| ToData Rational | |
Defined in PlutusTx.Ratio Methods toBuiltinData :: Rational -> BuiltinData # | |
| ToData Sqrt | |
Defined in PlutusTx.Sqrt Methods toBuiltinData :: Sqrt -> BuiltinData # | |
| ToData Integer | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: Integer -> BuiltinData # | |
| (TypeError ('Text "Int is not supported, use Integer instead") :: Constraint) => ToData Int | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: Int -> BuiltinData # | |
| ToData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: Extended a -> BuiltinData # | |
| ToData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: Interval a -> BuiltinData # | |
| ToData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: LowerBound a -> BuiltinData # | |
| ToData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods toBuiltinData :: UpperBound a -> BuiltinData # | |
| ToData a => ToData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods toBuiltinData :: Extended a -> BuiltinData # | |
| ToData a => ToData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods toBuiltinData :: Interval a -> BuiltinData # | |
| ToData a => ToData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods toBuiltinData :: LowerBound a -> BuiltinData # | |
| ToData a => ToData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods toBuiltinData :: UpperBound a -> BuiltinData # | |
| ToData (List a) | |
Defined in PlutusTx.Data.List Methods toBuiltinData :: List a -> BuiltinData # | |
| ToData a => ToData [a] | |
Defined in PlutusTx.IsData.Class Methods toBuiltinData :: [a] -> BuiltinData # | |
| (ToData k, ToData v) => ToData (Map k v) | |
Defined in PlutusTx.AssocMap Methods toBuiltinData :: Map k v -> BuiltinData # | |
| ToData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods toBuiltinData :: Map k a -> BuiltinData # | |
| (ToData a, ToData b) => ToData (These a b) | |
Defined in PlutusTx.These Methods toBuiltinData :: These a b -> BuiltinData # | |
Methods
fromBuiltinData :: BuiltinData -> Maybe a #
Instances
| FromData Void | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe Void # | |
| FromData Address Source # | |
Defined in PlutusLedgerApi.V1.Address Methods fromBuiltinData :: BuiltinData -> Maybe Address # | |
| FromData LedgerBytes Source # | |
Defined in PlutusLedgerApi.V1.Bytes Methods | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| FromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData Credential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods | |
| FromData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods | |
| FromData PubKeyHash Source # | |
Defined in PlutusLedgerApi.V1.Crypto Methods | |
| FromData DCert Source # | |
Defined in PlutusLedgerApi.V1.DCert Methods fromBuiltinData :: BuiltinData -> Maybe DCert # | |
| FromData Address Source # | |
Defined in PlutusLedgerApi.V1.Data.Address Methods fromBuiltinData :: BuiltinData -> Maybe Address # | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| FromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData Credential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |
| FromData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |
| FromData DCert Source # | |
Defined in PlutusLedgerApi.V1.Data.DCert Methods fromBuiltinData :: BuiltinData -> Maybe DCert # | |
| FromData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods | |
| FromData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods | |
| FromData TxId Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxId # | |
| FromData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOut # | |
| FromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |
| FromData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| FromData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| FromData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods fromBuiltinData :: BuiltinData -> Maybe Lovelace # | |
| FromData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| FromData Value Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods fromBuiltinData :: BuiltinData -> Maybe Value # | |
| FromData Datum Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods fromBuiltinData :: BuiltinData -> Maybe Datum # | |
| FromData DatumHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| FromData Redeemer Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods fromBuiltinData :: BuiltinData -> Maybe Redeemer # | |
| FromData RedeemerHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| FromData ScriptHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| FromData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Time Methods | |
| FromData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Time Methods | |
| FromData RedeemerPtr Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| FromData ScriptTag Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| FromData TxId Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxId # | |
| FromData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOut # | |
| FromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |
| FromData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| FromData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| FromData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Value Methods fromBuiltinData :: BuiltinData -> Maybe Lovelace # | |
| FromData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| FromData Value Source # | |
Defined in PlutusLedgerApi.V1.Value Methods fromBuiltinData :: BuiltinData -> Maybe Value # | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |
| FromData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOut # | |
| FromData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods | |
| FromData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOut # | |
| FromData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe ColdCommitteeCredential # | |
| FromData Committee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData DRep Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe DRep # | |
| FromData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe GovernanceActionId # | |
| FromData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe HotCommitteeCredential # | |
| FromData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| FromData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxCert # | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData Vote Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Vote # | |
| FromData Voter Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Voter # | |
| FromData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe ColdCommitteeCredential # | |
| FromData Committee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData DRep Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe DRep # | |
| FromData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe GovernanceActionId # | |
| FromData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe HotCommitteeCredential # | |
| FromData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| FromData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxCert # | |
| FromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |
| FromData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |
| FromData Vote Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Vote # | |
| FromData Voter Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Voter # | |
| FromData MintValue Source # | |
Defined in PlutusLedgerApi.V3.Data.MintValue Methods | |
| FromData TxId Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxId # | |
| FromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |
| FromData MintValue Source # | |
Defined in PlutusLedgerApi.V3.MintValue Methods | |
| FromData TxId Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxId # | |
| FromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |
| FromData BuiltinBLS12_381_G1_Element | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe BuiltinBLS12_381_G1_Element # | |
| FromData BuiltinBLS12_381_G2_Element | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe BuiltinBLS12_381_G2_Element # | |
| (TypeError ('Text "fromBuiltinData is not supported for BuiltinBLS12_381_MlResult") :: Constraint) => FromData BuiltinBLS12_381_MlResult | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe BuiltinBLS12_381_MlResult # | |
| FromData BuiltinByteString | |
Defined in PlutusTx.IsData.Class Methods | |
| FromData BuiltinData | |
Defined in PlutusTx.IsData.Class Methods | |
| FromData Rational | |
Defined in PlutusTx.Ratio Methods fromBuiltinData :: BuiltinData -> Maybe Rational # | |
| FromData Sqrt | |
Defined in PlutusTx.Sqrt Methods fromBuiltinData :: BuiltinData -> Maybe Sqrt # | |
| FromData Integer | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe Integer # | |
| (TypeError ('Text "Int is not supported, use Integer instead") :: Constraint) => FromData Int | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe Int # | |
| FromData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Extended a) # | |
| FromData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Interval a) # | |
| FromData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (LowerBound a) # | |
| FromData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (UpperBound a) # | |
| FromData a => FromData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Extended a) # | |
| FromData a => FromData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (Interval a) # | |
| FromData a => FromData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (LowerBound a) # | |
| FromData a => FromData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods fromBuiltinData :: BuiltinData -> Maybe (UpperBound a) # | |
| FromData (List a) | |
Defined in PlutusTx.Data.List Methods fromBuiltinData :: BuiltinData -> Maybe (List a) # | |
| FromData a => FromData [a] | |
Defined in PlutusTx.IsData.Class Methods fromBuiltinData :: BuiltinData -> Maybe [a] # | |
| (FromData k, FromData v) => FromData (Map k v) | |
Defined in PlutusTx.AssocMap Methods fromBuiltinData :: BuiltinData -> Maybe (Map k v) # | |
| FromData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods fromBuiltinData :: BuiltinData -> Maybe (Map k a) # | |
| (FromData a, FromData b) => FromData (These a b) | |
Defined in PlutusTx.These Methods fromBuiltinData :: BuiltinData -> Maybe (These a b) # | |
class UnsafeFromData a where #
Methods
unsafeFromBuiltinData :: BuiltinData -> a #
Instances
| UnsafeFromData Void | |
Defined in PlutusTx.IsData.Class Methods | |
| UnsafeFromData Address Source # | |
Defined in PlutusLedgerApi.V1.Address Methods | |
| UnsafeFromData LedgerBytes Source # | |
Defined in PlutusLedgerApi.V1.Bytes Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| UnsafeFromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts Methods | |
| UnsafeFromData Credential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods | |
| UnsafeFromData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Credential Methods | |
| UnsafeFromData PubKeyHash Source # | |
Defined in PlutusLedgerApi.V1.Crypto Methods | |
| UnsafeFromData DCert Source # | |
Defined in PlutusLedgerApi.V1.DCert Methods | |
| UnsafeFromData Address Source # | |
Defined in PlutusLedgerApi.V1.Data.Address Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| UnsafeFromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts Methods | |
| UnsafeFromData Credential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |
| UnsafeFromData StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential Methods | |
| UnsafeFromData DCert Source # | |
Defined in PlutusLedgerApi.V1.Data.DCert Methods | |
| UnsafeFromData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods | |
| UnsafeFromData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Data.Time Methods | |
| UnsafeFromData TxId Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods | |
| UnsafeFromData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods | |
| UnsafeFromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx Methods | |
| UnsafeFromData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| UnsafeFromData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| UnsafeFromData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| UnsafeFromData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| UnsafeFromData Value Source # | |
Defined in PlutusLedgerApi.V1.Data.Value Methods | |
| UnsafeFromData Datum Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| UnsafeFromData DatumHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| UnsafeFromData Redeemer Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| UnsafeFromData RedeemerHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| UnsafeFromData ScriptHash Source # | |
Defined in PlutusLedgerApi.V1.Scripts Methods | |
| UnsafeFromData DiffMilliSeconds Source # | |
Defined in PlutusLedgerApi.V1.Time Methods | |
| UnsafeFromData POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Time Methods | |
| UnsafeFromData RedeemerPtr Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| UnsafeFromData ScriptTag Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| UnsafeFromData TxId Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| UnsafeFromData TxOut Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| UnsafeFromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Tx Methods | |
| UnsafeFromData AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| UnsafeFromData CurrencySymbol Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| UnsafeFromData Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| UnsafeFromData TokenName Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| UnsafeFromData Value Source # | |
Defined in PlutusLedgerApi.V1.Value Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts Methods | |
| UnsafeFromData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |
| UnsafeFromData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx Methods | |
| UnsafeFromData OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods | |
| UnsafeFromData TxOut Source # | |
Defined in PlutusLedgerApi.V2.Tx Methods | |
| UnsafeFromData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> ColdCommitteeCredential # | |
| UnsafeFromData Committee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData DRep Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> GovernanceActionId # | |
| UnsafeFromData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> HotCommitteeCredential # | |
| UnsafeFromData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData Vote Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData Voter Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods | |
| UnsafeFromData ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> ColdCommitteeCredential # | |
| UnsafeFromData Committee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData Constitution Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData DRep Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> GovernanceActionId # | |
| UnsafeFromData HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> HotCommitteeCredential # | |
| UnsafeFromData ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData TxCert Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData Vote Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData Voter Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods | |
| UnsafeFromData MintValue Source # | |
Defined in PlutusLedgerApi.V3.Data.MintValue Methods | |
| UnsafeFromData TxId Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods | |
| UnsafeFromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx Methods | |
| UnsafeFromData MintValue Source # | |
Defined in PlutusLedgerApi.V3.MintValue Methods | |
| UnsafeFromData TxId Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods | |
| UnsafeFromData TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Tx Methods | |
| UnsafeFromData BuiltinBLS12_381_G1_Element | |
Defined in PlutusTx.IsData.Class Methods unsafeFromBuiltinData :: BuiltinData -> BuiltinBLS12_381_G1_Element # | |
| UnsafeFromData BuiltinBLS12_381_G2_Element | |
Defined in PlutusTx.IsData.Class Methods unsafeFromBuiltinData :: BuiltinData -> BuiltinBLS12_381_G2_Element # | |
| (TypeError ('Text "unsafeFromBuiltinData is not supported for BuiltinBLS12_381_MlResult") :: Constraint) => UnsafeFromData BuiltinBLS12_381_MlResult | |
Defined in PlutusTx.IsData.Class Methods unsafeFromBuiltinData :: BuiltinData -> BuiltinBLS12_381_MlResult # | |
| UnsafeFromData BuiltinByteString | |
Defined in PlutusTx.IsData.Class Methods | |
| UnsafeFromData BuiltinData | |
Defined in PlutusTx.IsData.Class Methods | |
| UnsafeFromData Rational | |
Defined in PlutusTx.Ratio Methods | |
| UnsafeFromData Sqrt | |
Defined in PlutusTx.Sqrt Methods unsafeFromBuiltinData :: BuiltinData -> Sqrt # | |
| UnsafeFromData Integer | |
Defined in PlutusTx.IsData.Class Methods | |
| (TypeError ('Text "Int is not supported, use Integer instead") :: Constraint) => UnsafeFromData Int | |
Defined in PlutusTx.IsData.Class Methods unsafeFromBuiltinData :: BuiltinData -> Int # | |
| UnsafeFromData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Extended a # | |
| UnsafeFromData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Interval a # | |
| UnsafeFromData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> LowerBound a # | |
| UnsafeFromData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval Methods unsafeFromBuiltinData :: BuiltinData -> UpperBound a # | |
| UnsafeFromData a => UnsafeFromData (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Extended a # | |
| UnsafeFromData a => UnsafeFromData (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods unsafeFromBuiltinData :: BuiltinData -> Interval a # | |
| UnsafeFromData a => UnsafeFromData (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods unsafeFromBuiltinData :: BuiltinData -> LowerBound a # | |
| UnsafeFromData a => UnsafeFromData (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval Methods unsafeFromBuiltinData :: BuiltinData -> UpperBound a # | |
| UnsafeFromData (List a) | |
Defined in PlutusTx.Data.List Methods unsafeFromBuiltinData :: BuiltinData -> List a # | |
| UnsafeFromData a => UnsafeFromData [a] | |
Defined in PlutusTx.IsData.Class Methods unsafeFromBuiltinData :: BuiltinData -> [a] # | |
| (UnsafeFromData k, UnsafeFromData v) => UnsafeFromData (Map k v) | |
Defined in PlutusTx.AssocMap Methods unsafeFromBuiltinData :: BuiltinData -> Map k v # | |
| UnsafeFromData (Map k a) | |
Defined in PlutusTx.Data.AssocMap Methods unsafeFromBuiltinData :: BuiltinData -> Map k a # | |
| (UnsafeFromData a, UnsafeFromData b) => UnsafeFromData (These a b) | |
Defined in PlutusTx.These Methods unsafeFromBuiltinData :: BuiltinData -> These a b # | |
unsafeFromData :: UnsafeFromData a => Data -> a #
dataToBuiltinData :: Data -> BuiltinData #
builtinDataToData :: BuiltinData -> Data #
Errors
class Monad m => MonadError e (m :: Type -> Type) | m -> e Source #
The strategy of combining computations that can throw exceptions by bypassing bound functions from the point an exception is thrown to the point that it is handled.
Is parameterized over the type of error information and
the monad type constructor.
It is common to use as the monad type constructor
for an error monad in which error descriptions take the form of strings.
In that case and many other common cases the resulting monad is already defined
as an instance of the Either StringMonadError class.
You can also define your own error type and/or use a monad type constructor
other than or Either String.
In these cases you will have to explicitly define instances of the Either IOErrorMonadError
class.
(If you are using the deprecated Control.Monad.Error or
Control.Monad.Trans.Error, you may also have to define an Error instance.)
Minimal complete definition
Instances
| MonadError IOException IO | |
Defined in Control.Monad.Error.Class Methods throwError :: IOException -> IO a Source # catchError :: IO a -> (IOException -> IO a) -> IO a Source # | |
| MonadError BuiltinError BuiltinResult | |
Defined in PlutusCore.Builtin.Result Methods throwError :: BuiltinError -> BuiltinResult a Source # catchError :: BuiltinResult a -> (BuiltinError -> BuiltinResult a) -> BuiltinResult a Source # | |
| MonadError () EvaluationResult | |
Defined in PlutusCore.Evaluation.Result Methods throwError :: () -> EvaluationResult a Source # catchError :: EvaluationResult a -> (() -> EvaluationResult a) -> EvaluationResult a Source # | |
| MonadError () Maybe | Since: mtl-2.2.2 |
Defined in Control.Monad.Error.Class Methods throwError :: () -> Maybe a Source # catchError :: Maybe a -> (() -> Maybe a) -> Maybe a Source # | |
| MonadError e (Either e) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> Either e a Source # catchError :: Either e a -> (e -> Either e a) -> Either e a Source # | |
| MonadError e m => MonadError e (Free m) | |
Defined in Control.Monad.Free Methods throwError :: e -> Free m a Source # catchError :: Free m a -> (e -> Free m a) -> Free m a Source # | |
| MonadError e m => MonadError e (GenT m) | |
Defined in Hedgehog.Internal.Gen Methods throwError :: e -> GenT m a Source # catchError :: GenT m a -> (e -> GenT m a) -> GenT m a Source # | |
| MonadError e m => MonadError e (PropertyT m) | |
Defined in Hedgehog.Internal.Property Methods throwError :: e -> PropertyT m a Source # catchError :: PropertyT m a -> (e -> PropertyT m a) -> PropertyT m a Source # | |
| MonadError e m => MonadError e (TestT m) | |
Defined in Hedgehog.Internal.Property Methods throwError :: e -> TestT m a Source # catchError :: TestT m a -> (e -> TestT m a) -> TestT m a Source # | |
| MonadError e m => MonadError e (TreeT m) | |
Defined in Hedgehog.Internal.Tree Methods throwError :: e -> TreeT m a Source # catchError :: TreeT m a -> (e -> TreeT m a) -> TreeT m a Source # | |
| MonadError e m => MonadError e (ListT m) | |
Defined in ListT Methods throwError :: e -> ListT m a Source # catchError :: ListT m a -> (e -> ListT m a) -> ListT m a Source # | |
| MonadError e m => MonadError e (QuoteT m) | |
Defined in PlutusCore.Quote Methods throwError :: e -> QuoteT m a Source # catchError :: QuoteT m a -> (e -> QuoteT m a) -> QuoteT m a Source # | |
| MonadError e m => MonadError e (ResourceT m) | |
Defined in Control.Monad.Trans.Resource.Internal Methods throwError :: e -> ResourceT m a Source # catchError :: ResourceT m a -> (e -> ResourceT m a) -> ResourceT m a Source # | |
| MonadError e m => MonadError e (MaybeT m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> MaybeT m a Source # catchError :: MaybeT m a -> (e -> MaybeT m a) -> MaybeT m a Source # | |
| (Functor f, MonadError e m) => MonadError e (FreeT f m) | |
Defined in Control.Monad.Trans.Free Methods throwError :: e -> FreeT f m a Source # catchError :: FreeT f m a -> (e -> FreeT f m a) -> FreeT f m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (AccumT w m) | Since: mtl-2.3 |
Defined in Control.Monad.Error.Class Methods throwError :: e -> AccumT w m a Source # catchError :: AccumT w m a -> (e -> AccumT w m a) -> AccumT w m a Source # | |
| Monad m => MonadError e (ExceptT e m) | Since: mtl-2.2 |
Defined in Control.Monad.Error.Class Methods throwError :: e -> ExceptT e m a Source # catchError :: ExceptT e m a -> (e -> ExceptT e m a) -> ExceptT e m a Source # | |
| MonadError e m => MonadError e (IdentityT m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> IdentityT m a Source # catchError :: IdentityT m a -> (e -> IdentityT m a) -> IdentityT m a Source # | |
| MonadError e m => MonadError e (ReaderT r m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> ReaderT r m a Source # catchError :: ReaderT r m a -> (e -> ReaderT r m a) -> ReaderT r m a Source # | |
| MonadError e m => MonadError e (StateT s m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> StateT s m a Source # catchError :: StateT s m a -> (e -> StateT s m a) -> StateT s m a Source # | |
| MonadError e m => MonadError e (StateT s m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> StateT s m a Source # catchError :: StateT s m a -> (e -> StateT s m a) -> StateT s m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (WriterT w m) | Since: mtl-2.3 |
Defined in Control.Monad.Error.Class Methods throwError :: e -> WriterT w m a Source # catchError :: WriterT w m a -> (e -> WriterT w m a) -> WriterT w m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (WriterT w m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> WriterT w m a Source # catchError :: WriterT w m a -> (e -> WriterT w m a) -> WriterT w m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (WriterT w m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> WriterT w m a Source # catchError :: WriterT w m a -> (e -> WriterT w m a) -> WriterT w m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (RWST r w s m) | Since: mtl-2.3 |
Defined in Control.Monad.Error.Class Methods throwError :: e -> RWST r w s m a Source # catchError :: RWST r w s m a -> (e -> RWST r w s m a) -> RWST r w s m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (RWST r w s m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> RWST r w s m a Source # catchError :: RWST r w s m a -> (e -> RWST r w s m a) -> RWST r w s m a Source # | |
| (Monoid w, MonadError e m) => MonadError e (RWST r w s m) | |
Defined in Control.Monad.Error.Class Methods throwError :: e -> RWST r w s m a Source # catchError :: RWST r w s m a -> (e -> RWST r w s m a) -> RWST r w s m a Source # | |
| MonadError e m => MonadError e (DefT key uni fun ann m) | |
Defined in PlutusIR.Compiler.Definitions Methods throwError :: e -> DefT key uni fun ann m a Source # catchError :: DefT key uni fun ann m a -> (e -> DefT key uni fun ann m a) -> DefT key uni fun ann m a Source # | |
| ThrowableBuiltins uni fun => MonadError (CekEvaluationException NamedDeBruijn uni fun) (CekM uni fun s) | |
Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal Methods throwError :: CekEvaluationException NamedDeBruijn uni fun -> CekM uni fun s a Source # catchError :: CekM uni fun s a -> (CekEvaluationException NamedDeBruijn uni fun -> CekM uni fun s a) -> CekM uni fun s a Source # | |
data EvaluationError Source #
Errors that can be thrown when evaluating a Plutus script.
Constructors
| CekError !(CekEvaluationException NamedDeBruijn DefaultUni DefaultFun) | An error from the evaluator itself |
| DeBruijnError !FreeVariableError | An error in the pre-evaluation step of converting from de-Bruijn indices |
| CodecError !ScriptDecodeError | A deserialisation error TODO: make this error more informative when we have more information about what went wrong |
| CostModelParameterMismatch | An error indicating that the cost model parameters didn't match what we expected |
| InvalidReturnValue | The script evaluated to a value that is not a valid return value. |
Instances
| Show EvaluationError Source # | |
Defined in PlutusLedgerApi.Common.Eval | |
| Eq EvaluationError Source # | |
Defined in PlutusLedgerApi.Common.Eval Methods (==) :: EvaluationError -> EvaluationError -> Bool Source # (/=) :: EvaluationError -> EvaluationError -> Bool Source # | |
| AsScriptDecodeError EvaluationError Source # | |
Defined in PlutusLedgerApi.Common.Eval Methods _ScriptDecodeError :: Prism' EvaluationError ScriptDecodeError Source # _CBORDeserialiseError :: Prism' EvaluationError DeserialiseFailureInfo Source # _RemainderError :: Prism' EvaluationError ByteString Source # _LedgerLanguageNotAvailableError :: Prism' EvaluationError (PlutusLedgerLanguage, MajorProtocolVersion, MajorProtocolVersion) Source # _PlutusCoreLanguageNotAvailableError :: Prism' EvaluationError (Version, PlutusLedgerLanguage, MajorProtocolVersion) Source # | |
| Pretty EvaluationError Source # | |
Defined in PlutusLedgerApi.Common.Eval | |
data ScriptDecodeError Source #
An error that occurred during script deserialization.
Constructors
| CBORDeserialiseError !DeserialiseFailureInfo | an error from the underlying CBOR/serialise library |
| RemainderError !ByteString | Script was successfully parsed, but more (runaway) bytes encountered after script's position |
| LedgerLanguageNotAvailableError | the plutus version of the given script is not enabled yet |
Fields
| |
| PlutusCoreLanguageNotAvailableError | |
Fields
| |
Instances
| Exception ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript Methods toException :: ScriptDecodeError -> SomeException Source # fromException :: SomeException -> Maybe ScriptDecodeError Source # | |
| Show ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript | |
| Eq ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript Methods (==) :: ScriptDecodeError -> ScriptDecodeError -> Bool Source # (/=) :: ScriptDecodeError -> ScriptDecodeError -> Bool Source # | |
| AsScriptDecodeError ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript Methods _ScriptDecodeError :: Prism' ScriptDecodeError ScriptDecodeError Source # _CBORDeserialiseError :: Prism' ScriptDecodeError DeserialiseFailureInfo Source # _RemainderError :: Prism' ScriptDecodeError ByteString Source # _LedgerLanguageNotAvailableError :: Prism' ScriptDecodeError (PlutusLedgerLanguage, MajorProtocolVersion, MajorProtocolVersion) Source # _PlutusCoreLanguageNotAvailableError :: Prism' ScriptDecodeError (Version, PlutusLedgerLanguage, MajorProtocolVersion) Source # | |
| Pretty ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript | |