| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V4.Contexts
Synopsis
- newtype AccountId = AccountId Credential
- data AccountBalanceInterval
- newtype AccountBalanceIntervals = AccountBalanceIntervals (Map AccountId AccountBalanceInterval)
- newtype ColdCommitteeCredential = ColdCommitteeCredential Credential
- newtype HotCommitteeCredential = HotCommitteeCredential Credential
- newtype DRepCredential = DRepCredential Credential
- data DRep
- data Delegatee
- data TxCert
- = TxCertRegAccount AccountId Lovelace
- | TxCertUnRegAccount AccountId Lovelace
- | TxCertDelegAccount AccountId Delegatee
- | TxCertRegAccountDeleg AccountId Delegatee Lovelace
- | TxCertRegDRep DRepCredential Lovelace
- | TxCertUpdateDRep DRepCredential
- | TxCertUnRegDRep DRepCredential Lovelace
- | TxCertPoolRegister PubKeyHash PubKeyHash
- | TxCertPoolRetire PubKeyHash Integer
- | TxCertAuthHotCommittee ColdCommitteeCredential HotCommitteeCredential
- | TxCertResignColdCommittee ColdCommitteeCredential
- data Voter
- data Vote
- data GovernanceActionId where
- pattern GovernanceActionId :: TxId -> Integer -> GovernanceActionId
- data Committee where
- newtype Constitution = Constitution {}
- data ProtocolVersion where
- pattern ProtocolVersion :: Integer -> Integer -> ProtocolVersion
- newtype ChangedParameters = ChangedParameters {}
- data GovernanceAction
- = ParameterChange (Maybe GovernanceActionId) ChangedParameters (Maybe ScriptHash)
- | HardForkInitiation (Maybe GovernanceActionId) ProtocolVersion
- | TreasuryWithdrawals (Map Credential Lovelace) (Maybe ScriptHash)
- | NoConfidence (Maybe GovernanceActionId)
- | UpdateCommittee (Maybe GovernanceActionId) [ColdCommitteeCredential] (Map ColdCommitteeCredential Integer) Rational
- | NewConstitution (Maybe GovernanceActionId) Constitution
- | InfoAction
- data ProposalProcedure where
- pattern ProposalProcedure :: Lovelace -> Credential -> GovernanceAction -> ProposalProcedure
- data ScriptPurpose
- data ScriptInfo
- data TxInInfo = TxInInfo {}
- data TxInfo = TxInfo {
- txInfoId :: TxId
- txInfoSubTxIx :: Maybe Integer
- txInfoInputs :: [TxInInfo]
- txInfoReferenceInputs :: [TxInInfo]
- txInfoOutputs :: [TxOut]
- txInfoMint :: MintValue
- txInfoTxCerts :: [TxCert]
- txInfoWithdrawals :: Map Credential Lovelace
- txInfoDirectDeposits :: Map Credential Lovelace
- txInfoAccountBalanceIntervals :: AccountBalanceIntervals
- txInfoValidRange :: POSIXTimeRange
- txInfoGuards :: [Credential]
- txInfoRequiredTopLevelGuards :: Map Credential (Maybe Datum)
- txInfoRedeemers :: Map ScriptPurpose Redeemer
- txInfoData :: Map DatumHash Datum
- txInfoVotes :: Map Voter (Map GovernanceActionId Vote)
- txInfoProposalProcedures :: [ProposalProcedure]
- txInfoCurrentTreasuryAmount :: Maybe Lovelace
- txInfoTreasuryDonation :: Lovelace
- data TopTxInfoSimplified = TopTxInfoSimplified {
- ttisIds :: [TxId]
- ttisInputs :: [TxInInfo]
- ttisReferenceInputs :: [TxInInfo]
- ttisOutputs :: [TxOut]
- ttisMints :: MintValue
- ttisBurns :: MintValue
- ttisTxCerts :: [TxCert]
- ttisWithdrawals :: Map Credential Lovelace
- ttisDirectDeposits :: Map Credential Lovelace
- ttisValidRange :: POSIXTimeRange
- ttisGuards :: [Credential]
- ttisRequiredTopLevelGuards :: [Credential]
- ttisRedeemerHashes :: [ScriptHash]
- ttisData :: Map DatumHash Datum
- ttisVotes :: Map Voter (Map GovernanceActionId Vote)
- ttisProposalProcedures :: [ProposalProcedure]
- ttisCurrentTreasuryAmount :: Maybe Lovelace
- ttisTreasuryDonations :: Lovelace
- data TopTxInfo = TopTxInfo {}
- data ScriptContext = ScriptContext {}
- findOwnInput :: ScriptContext -> Maybe TxInInfo
- findDatum :: DatumHash -> TxInfo -> Maybe Datum
- findDatumHash :: Datum -> TxInfo -> Maybe DatumHash
- findTxInByTxOutRef :: TxOutRef -> TxInfo -> Maybe TxInInfo
- findContinuingOutputs :: ScriptContext -> [Integer]
- getContinuingOutputs :: ScriptContext -> [TxOut]
- txSignedBy :: TxInfo -> PubKeyHash -> Bool
- txGuardedBy :: TxInfo -> Credential -> Bool
- pubKeyOutputsAt :: PubKeyHash -> TxInfo -> [Value]
- valuePaidTo :: TxInfo -> PubKeyHash -> Value
- valueSpent :: TxInfo -> Value
- valueProduced :: TxInfo -> Value
- ownCurrencySymbol :: ScriptContext -> CurrencySymbol
- spendsOutput :: TxInfo -> TxId -> Integer -> Bool
- isTopLevelTx :: TxInfo -> Bool
- guardingTopTxInfo :: ScriptContext -> Maybe TopTxInfo
Documentation
Constructors
| AccountId Credential |
Instances
data AccountBalanceInterval Source #
Constructors
| AccountBalanceLowerBound Lovelace | |
| AccountBalanceUpperBound Lovelace | |
| AccountBalanceBothBounds Lovelace Lovelace | |
| AccountBalanceExact Lovelace |
Instances
| Generic AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: AccountBalanceInterval -> Rep AccountBalanceInterval x Source # to :: Rep AccountBalanceInterval x -> AccountBalanceInterval Source # | |||||
| Show AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # (/=) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # | |||||
| Ord AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: AccountBalanceInterval -> AccountBalanceInterval -> Ordering Source # (<) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # (<=) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # (>) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # (>=) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool Source # max :: AccountBalanceInterval -> AccountBalanceInterval -> AccountBalanceInterval Source # min :: AccountBalanceInterval -> AccountBalanceInterval -> AccountBalanceInterval Source # | |||||
| HasBlueprintDefinition AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: AccountBalanceInterval -> AccountBalanceInterval -> Bool | |||||
| FromData AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe AccountBalanceInterval # | |||||
| ToData AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> AccountBalanceInterval # | |||||
| Pretty AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasSchemaDefinition Lovelace referencedTypes => HasBlueprintSchema AccountBalanceInterval referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: AccountBalanceInterval -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy AccountBalanceInterval -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep AccountBalanceInterval = D1 ('MetaData "AccountBalanceInterval" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) ((C1 ('MetaCons "AccountBalanceLowerBound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)) :+: C1 ('MetaCons "AccountBalanceUpperBound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))) :+: (C1 ('MetaCons "AccountBalanceBothBounds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)) :+: C1 ('MetaCons "AccountBalanceExact" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)))) | |||||
| type Unroll AccountBalanceInterval Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll AccountBalanceInterval = Insert AccountBalanceInterval (GUnroll (IfStuckRep (RepIsStuckError AccountBalanceInterval :: Type -> Type) (Rep AccountBalanceInterval))) | |||||
newtype AccountBalanceIntervals Source #
Constructors
| AccountBalanceIntervals (Map AccountId AccountBalanceInterval) |
Instances
| Generic AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: AccountBalanceIntervals -> Rep AccountBalanceIntervals x Source # to :: Rep AccountBalanceIntervals x -> AccountBalanceIntervals Source # | |||||
| Show AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # (/=) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # | |||||
| Ord AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: AccountBalanceIntervals -> AccountBalanceIntervals -> Ordering Source # (<) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # (<=) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # (>) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # (>=) :: AccountBalanceIntervals -> AccountBalanceIntervals -> Bool Source # max :: AccountBalanceIntervals -> AccountBalanceIntervals -> AccountBalanceIntervals Source # min :: AccountBalanceIntervals -> AccountBalanceIntervals -> AccountBalanceIntervals Source # | |||||
| HasBlueprintDefinition AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe AccountBalanceIntervals # | |||||
| ToData AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> AccountBalanceIntervals # | |||||
| Pretty AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods pretty :: AccountBalanceIntervals -> Doc ann prettyList :: [AccountBalanceIntervals] -> Doc ann | |||||
| (HasBlueprintSchema AccountId referencedTypes, HasBlueprintSchema AccountBalanceInterval referencedTypes) => HasBlueprintSchema AccountBalanceIntervals referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: AccountBalanceIntervals -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy AccountBalanceIntervals -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep AccountBalanceIntervals = D1 ('MetaData "AccountBalanceIntervals" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "AccountBalanceIntervals" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AccountId AccountBalanceInterval)))) | |||||
| type Unroll AccountBalanceIntervals Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll AccountBalanceIntervals = Insert AccountBalanceIntervals (GUnroll (IfStuckRep (RepIsStuckError AccountBalanceIntervals :: Type -> Type) (Rep AccountBalanceIntervals))) | |||||
newtype ColdCommitteeCredential Source #
Constructors
| ColdCommitteeCredential Credential |
Instances
| Generic ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods from :: ColdCommitteeCredential -> Rep ColdCommitteeCredential x Source # to :: Rep ColdCommitteeCredential x -> ColdCommitteeCredential Source # | |||||
| Show ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Eq ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # (/=) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # | |||||
| Ord ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods compare :: ColdCommitteeCredential -> ColdCommitteeCredential -> Ordering Source # (<) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # (<=) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # (>) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # (>=) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool Source # max :: ColdCommitteeCredential -> ColdCommitteeCredential -> ColdCommitteeCredential Source # min :: ColdCommitteeCredential -> ColdCommitteeCredential -> ColdCommitteeCredential Source # | |||||
| HasBlueprintDefinition ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: ColdCommitteeCredential -> ColdCommitteeCredential -> Bool | |||||
| FromData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe ColdCommitteeCredential # | |||||
| ToData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| UnsafeFromData ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> ColdCommitteeCredential # | |||||
| Pretty ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann prettyList :: [ColdCommitteeCredential] -> Doc ann | |||||
| (HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition ScriptHash referencedTypes) => HasBlueprintSchema ColdCommitteeCredential referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods lift :: ColdCommitteeCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods typeRep :: Proxy ColdCommitteeCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep ColdCommitteeCredential = D1 ('MetaData "ColdCommitteeCredential" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "ColdCommitteeCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
| type Unroll ColdCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Unroll ColdCommitteeCredential = Insert ColdCommitteeCredential (GUnroll (IfStuckRep (RepIsStuckError ColdCommitteeCredential :: Type -> Type) (Rep ColdCommitteeCredential))) | |||||
newtype HotCommitteeCredential Source #
Constructors
| HotCommitteeCredential Credential |
Instances
| Generic HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods from :: HotCommitteeCredential -> Rep HotCommitteeCredential x Source # to :: Rep HotCommitteeCredential x -> HotCommitteeCredential Source # | |||||
| Show HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Eq HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # (/=) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # | |||||
| Ord HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods compare :: HotCommitteeCredential -> HotCommitteeCredential -> Ordering Source # (<) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # (<=) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # (>) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # (>=) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool Source # max :: HotCommitteeCredential -> HotCommitteeCredential -> HotCommitteeCredential Source # min :: HotCommitteeCredential -> HotCommitteeCredential -> HotCommitteeCredential Source # | |||||
| HasBlueprintDefinition HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: HotCommitteeCredential -> HotCommitteeCredential -> Bool | |||||
| FromData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe HotCommitteeCredential # | |||||
| ToData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| UnsafeFromData HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> HotCommitteeCredential # | |||||
| Pretty HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| (HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition ScriptHash referencedTypes) => HasBlueprintSchema HotCommitteeCredential referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods lift :: HotCommitteeCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods typeRep :: Proxy HotCommitteeCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep HotCommitteeCredential = D1 ('MetaData "HotCommitteeCredential" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "HotCommitteeCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
| type Unroll HotCommitteeCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Unroll HotCommitteeCredential = Insert HotCommitteeCredential (GUnroll (IfStuckRep (RepIsStuckError HotCommitteeCredential :: Type -> Type) (Rep HotCommitteeCredential))) | |||||
newtype DRepCredential Source #
Constructors
| DRepCredential Credential |
Instances
| Generic DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods from :: DRepCredential -> Rep DRepCredential x Source # to :: Rep DRepCredential x -> DRepCredential Source # | |||||
| Show DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Eq DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: DRepCredential -> DRepCredential -> Bool Source # (/=) :: DRepCredential -> DRepCredential -> Bool Source # | |||||
| Ord DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods compare :: DRepCredential -> DRepCredential -> Ordering Source # (<) :: DRepCredential -> DRepCredential -> Bool Source # (<=) :: DRepCredential -> DRepCredential -> Bool Source # (>) :: DRepCredential -> DRepCredential -> Bool Source # (>=) :: DRepCredential -> DRepCredential -> Bool Source # max :: DRepCredential -> DRepCredential -> DRepCredential Source # min :: DRepCredential -> DRepCredential -> DRepCredential Source # | |||||
| HasBlueprintDefinition DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: DRepCredential -> DRepCredential -> Bool | |||||
| FromData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| ToData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| UnsafeFromData DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| (HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition ScriptHash referencedTypes) => HasBlueprintSchema DRepCredential referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods lift :: DRepCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods typeRep :: Proxy DRepCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep DRepCredential = D1 ('MetaData "DRepCredential" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "DRepCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential))) | |||||
| type Unroll DRepCredential Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Unroll DRepCredential = Insert DRepCredential (GUnroll (IfStuckRep (RepIsStuckError DRepCredential :: Type -> Type) (Rep DRepCredential))) | |||||
Constructors
| DRep DRepCredential | |
| DRepAlwaysAbstain | |
| DRepAlwaysNoConfidence |
Instances
| Generic DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
| |||||
| Show DRep Source # | |||||
| Eq DRep Source # | |||||
| Ord DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasBlueprintDefinition DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| FromData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe DRep # | |||||
| ToData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: DRep -> BuiltinData # | |||||
| UnsafeFromData DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasSchemaDefinition DRepCredential referencedTypes => HasBlueprintSchema DRep referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Typeable DefaultUni DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| type Rep DRep Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep DRep = D1 ('MetaData "DRep" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "DRep" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepCredential)) :+: (C1 ('MetaCons "DRepAlwaysAbstain" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DRepAlwaysNoConfidence" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
| type Unroll DRep Source # | |||||
Constructors
| DelegStake PubKeyHash | |
| DelegVote DRep | |
| DelegStakeVote PubKeyHash DRep |
Instances
| Generic Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
| |||||
| Show Delegatee Source # | |||||
| Eq Delegatee Source # | |||||
| Ord Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasBlueprintDefinition Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| FromData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| ToData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Delegatee -> BuiltinData # | |||||
| UnsafeFromData Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| (HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition DRep referencedTypes) => HasBlueprintSchema Delegatee referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Typeable DefaultUni Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| type Rep Delegatee Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep Delegatee = D1 ('MetaData "Delegatee" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "DelegStake" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash)) :+: (C1 ('MetaCons "DelegVote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRep)) :+: C1 ('MetaCons "DelegStakeVote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRep)))) | |||||
| type Unroll Delegatee Source # | |||||
Constructors
| TxCertRegAccount AccountId Lovelace | |
| TxCertUnRegAccount AccountId Lovelace | |
| TxCertDelegAccount AccountId Delegatee | |
| TxCertRegAccountDeleg AccountId Delegatee Lovelace | |
| TxCertRegDRep DRepCredential Lovelace | |
| TxCertUpdateDRep DRepCredential | |
| TxCertUnRegDRep DRepCredential Lovelace | |
| TxCertPoolRegister PubKeyHash PubKeyHash | |
| TxCertPoolRetire PubKeyHash Integer | |
| TxCertAuthHotCommittee ColdCommitteeCredential HotCommitteeCredential | |
| TxCertResignColdCommittee ColdCommitteeCredential |
Instances
| Generic TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show TxCert Source # | |||||
| Eq TxCert Source # | |||||
| Ord TxCert Source # | |||||
| HasBlueprintDefinition TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| FromData TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxCert # | |||||
| ToData TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: TxCert -> BuiltinData # | |||||
| UnsafeFromData TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition AccountId referencedTypes, HasSchemaDefinition Lovelace referencedTypes, HasSchemaDefinition Delegatee referencedTypes, HasSchemaDefinition DRepCredential referencedTypes, HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition Integer referencedTypes, HasSchemaDefinition ColdCommitteeCredential referencedTypes, HasSchemaDefinition HotCommitteeCredential referencedTypes) => HasBlueprintSchema TxCert referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Typeable DefaultUni TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| type Rep TxCert Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep TxCert = D1 ('MetaData "TxCert" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (((C1 ('MetaCons "TxCertRegAccount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)) :+: C1 ('MetaCons "TxCertUnRegAccount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))) :+: (C1 ('MetaCons "TxCertDelegAccount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delegatee)) :+: (C1 ('MetaCons "TxCertRegAccountDeleg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountId) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delegatee) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))) :+: C1 ('MetaCons "TxCertRegDRep" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepCredential) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))))) :+: ((C1 ('MetaCons "TxCertUpdateDRep" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepCredential)) :+: (C1 ('MetaCons "TxCertUnRegDRep" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepCredential) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)) :+: C1 ('MetaCons "TxCertPoolRegister" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash)))) :+: (C1 ('MetaCons "TxCertPoolRetire" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :+: (C1 ('MetaCons "TxCertAuthHotCommittee" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ColdCommitteeCredential) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HotCommitteeCredential)) :+: C1 ('MetaCons "TxCertResignColdCommittee" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ColdCommitteeCredential)))))) | |||||
| type Unroll TxCert Source # | |||||
Constructors
| CommitteeVoter HotCommitteeCredential | |
| DRepVoter DRepCredential | |
| StakePoolVoter PubKeyHash |
Instances
| Generic Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
| |||||
| Show Voter Source # | |||||
| Eq Voter Source # | |||||
| Ord Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasBlueprintDefinition Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| FromData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Voter # | |||||
| ToData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Voter -> BuiltinData # | |||||
| UnsafeFromData Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| (HasSchemaDefinition HotCommitteeCredential referencedTypes, HasSchemaDefinition DRepCredential referencedTypes, HasSchemaDefinition PubKeyHash referencedTypes) => HasBlueprintSchema Voter referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Typeable DefaultUni Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| type Rep Voter Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep Voter = D1 ('MetaData "Voter" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "CommitteeVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HotCommitteeCredential)) :+: (C1 ('MetaCons "DRepVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepCredential)) :+: C1 ('MetaCons "StakePoolVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash)))) | |||||
| type Unroll Voter Source # | |||||
A vote. The optional anchor is omitted.
Instances
| Generic Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
| |||||
| Show Vote Source # | |||||
| Eq Vote Source # | |||||
| HasBlueprintDefinition Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| FromData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe Vote # | |||||
| ToData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods toBuiltinData :: Vote -> BuiltinData # | |||||
| UnsafeFromData Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasBlueprintSchema Vote referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Typeable DefaultUni Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| type Rep Vote Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep Vote = D1 ('MetaData "Vote" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "VoteNo" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VoteYes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Abstain" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
| type Unroll Vote Source # | |||||
data GovernanceActionId where Source #
Bundled Patterns
| pattern GovernanceActionId :: TxId -> Integer -> GovernanceActionId |
Instances
| Generic GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: GovernanceActionId -> Rep GovernanceActionId x Source # to :: Rep GovernanceActionId x -> GovernanceActionId Source # | |||||
| Show GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: GovernanceActionId -> GovernanceActionId -> Bool Source # (/=) :: GovernanceActionId -> GovernanceActionId -> Bool Source # | |||||
| Ord GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: GovernanceActionId -> GovernanceActionId -> Ordering Source # (<) :: GovernanceActionId -> GovernanceActionId -> Bool Source # (<=) :: GovernanceActionId -> GovernanceActionId -> Bool Source # (>) :: GovernanceActionId -> GovernanceActionId -> Bool Source # (>=) :: GovernanceActionId -> GovernanceActionId -> Bool Source # max :: GovernanceActionId -> GovernanceActionId -> GovernanceActionId Source # min :: GovernanceActionId -> GovernanceActionId -> GovernanceActionId Source # | |||||
| HasBlueprintDefinition GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: GovernanceActionId -> GovernanceActionId -> Bool | |||||
| FromData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe GovernanceActionId # | |||||
| ToData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> GovernanceActionId # | |||||
| Pretty GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintSchema GovernanceActionId referencedTypes => HasBlueprintSchema GovernanceActionId referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: GovernanceActionId -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy GovernanceActionId -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep GovernanceActionId = D1 ('MetaData "GovernanceActionId" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "GovernanceActionIdValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GovernanceActionId))) | |||||
| type Unroll GovernanceActionId Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
Instances
| Generic Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show Committee Source # | |||||
| Eq Committee Source # | |||||
| Ord Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintDefinition Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: Committee -> BuiltinData # | |||||
| UnsafeFromData Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintSchema (Map ColdCommitteeCredential Integer, Rational) referencedTypes => HasBlueprintSchema Committee referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Typeable DefaultUni Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| type Rep Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep Committee = D1 ('MetaData "Committee" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "CommitteeValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ColdCommitteeCredential Integer, Rational)))) | |||||
| type Unroll Committee Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
newtype Constitution Source #
Constructors
| Constitution | |
Fields | |
Instances
| Generic Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: Constitution -> Rep Constitution x Source # to :: Rep Constitution x -> Constitution Source # | |||||
| Show Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: Constitution -> Constitution -> Bool Source # (/=) :: Constitution -> Constitution -> Bool Source # | |||||
| Ord Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: Constitution -> Constitution -> Ordering Source # (<) :: Constitution -> Constitution -> Bool Source # (<=) :: Constitution -> Constitution -> Bool Source # (>) :: Constitution -> Constitution -> Bool Source # (>=) :: Constitution -> Constitution -> Bool Source # max :: Constitution -> Constitution -> Constitution Source # min :: Constitution -> Constitution -> Constitution Source # | |||||
| HasBlueprintDefinition Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: Constitution -> Constitution -> Bool | |||||
| FromData Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintSchema Constitution referencedTypes => HasBlueprintSchema Constitution referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: Constitution -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy Constitution -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep Constitution = D1 ('MetaData "Constitution" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "Constitution" 'PrefixI 'True) (S1 ('MetaSel ('Just "constitutionScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ScriptHash)))) | |||||
| type Unroll Constitution Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll Constitution = Insert Constitution (GUnroll (IfStuckRep (RepIsStuckError Constitution :: Type -> Type) (Rep Constitution))) | |||||
data ProtocolVersion where Source #
Bundled Patterns
| pattern ProtocolVersion :: Integer -> Integer -> ProtocolVersion |
Instances
| Generic ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: ProtocolVersion -> Rep ProtocolVersion x Source # to :: Rep ProtocolVersion x -> ProtocolVersion Source # | |||||
| Show ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (/=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # | |||||
| Ord ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: ProtocolVersion -> ProtocolVersion -> Ordering Source # (<) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (<=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (>) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (>=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # max :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion Source # min :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion Source # | |||||
| HasBlueprintDefinition ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ProtocolVersion -> ProtocolVersion -> Bool | |||||
| FromData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Ord ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: ProtocolVersion -> ProtocolVersion -> Ordering (<) :: ProtocolVersion -> ProtocolVersion -> Bool (<=) :: ProtocolVersion -> ProtocolVersion -> Bool (>) :: ProtocolVersion -> ProtocolVersion -> Bool (>=) :: ProtocolVersion -> ProtocolVersion -> Bool max :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion min :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion | |||||
| Pretty ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintSchema ProtocolVersion referencedTypes => HasBlueprintSchema ProtocolVersion referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: ProtocolVersion -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy ProtocolVersion -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "ProtocolVersionValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProtocolVersion))) | |||||
| type Unroll ProtocolVersion Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
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.
Invariant: This map is non-empty, and the keys are stored in ascending order.
This Data object has the following format (in pseudocode):
ChangedParametersData = Map ChangedIdData ChangedManyValueData ChangedIdData = I Integer ChangedManyValueData = ChangedSingleValueData | List[ChangedSingleValueData...] -- ^ an arbitrary-length, heterogeneous (integer or ratio) list of values (to support sub-parameters)
ChangedSingleValueData = I Integer -- a proposed integer value | List[I Integer, I Integer] -- a proposed numerator,denominator (ratio value) -- ^ a 2-exact element list; *BE CAREFUL* because this can be alternatively (ambiguously) interpreted -- as a many-value data (sub-parameter) of two integer single-value data.
, where Map,I,List are the constructors of Data
and Integer is the usual arbitrary-precision PlutusTx/Haskell Integer.
Constructors
| ChangedParameters | |
Fields | |
Instances
| Generic ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods from :: ChangedParameters -> Rep ChangedParameters x Source # to :: Rep ChangedParameters x -> ChangedParameters Source # | |||||
| Show ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| Eq ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: ChangedParameters -> ChangedParameters -> Bool Source # (/=) :: ChangedParameters -> ChangedParameters -> Bool Source # | |||||
| Ord ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.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 # | |||||
| HasBlueprintDefinition ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods (==) :: ChangedParameters -> ChangedParameters -> Bool | |||||
| FromData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| ToData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| UnsafeFromData ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods | |||||
| Pretty ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts | |||||
| HasBlueprintSchema ChangedParameters referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods lift :: ChangedParameters -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts Methods typeRep :: Proxy ChangedParameters -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Rep ChangedParameters = D1 ('MetaData "ChangedParameters" "PlutusLedgerApi.V3.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "ChangedParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "getChangedParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinData))) | |||||
| type Unroll ChangedParameters Source # | |||||
Defined in PlutusLedgerApi.V3.Contexts type Unroll ChangedParameters = Insert ChangedParameters (GUnroll (IfStuckRep (RepIsStuckError ChangedParameters :: Type -> Type) (Rep ChangedParameters))) | |||||
data GovernanceAction Source #
Constructors
| ParameterChange (Maybe GovernanceActionId) ChangedParameters (Maybe ScriptHash) | |
| HardForkInitiation (Maybe GovernanceActionId) ProtocolVersion | |
| TreasuryWithdrawals (Map Credential Lovelace) (Maybe ScriptHash) | |
| NoConfidence (Maybe GovernanceActionId) | |
| UpdateCommittee (Maybe GovernanceActionId) [ColdCommitteeCredential] (Map ColdCommitteeCredential Integer) Rational | |
| NewConstitution (Maybe GovernanceActionId) Constitution | |
| InfoAction |
Instances
| Generic GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: GovernanceAction -> Rep GovernanceAction x Source # to :: Rep GovernanceAction x -> GovernanceAction Source # | |||||
| Show GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: GovernanceAction -> GovernanceAction -> Bool Source # (/=) :: GovernanceAction -> GovernanceAction -> Bool Source # | |||||
| Ord GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: GovernanceAction -> GovernanceAction -> Ordering Source # (<) :: GovernanceAction -> GovernanceAction -> Bool Source # (<=) :: GovernanceAction -> GovernanceAction -> Bool Source # (>) :: GovernanceAction -> GovernanceAction -> Bool Source # (>=) :: GovernanceAction -> GovernanceAction -> Bool Source # max :: GovernanceAction -> GovernanceAction -> GovernanceAction Source # min :: GovernanceAction -> GovernanceAction -> GovernanceAction Source # | |||||
| HasBlueprintDefinition GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition (Maybe GovernanceActionId) referencedTypes, HasSchemaDefinition ChangedParameters referencedTypes, HasSchemaDefinition (Maybe ScriptHash) referencedTypes, HasSchemaDefinition ProtocolVersion referencedTypes, HasSchemaDefinition (Map Credential Lovelace) referencedTypes, HasSchemaDefinition [ColdCommitteeCredential] referencedTypes, HasSchemaDefinition (Map ColdCommitteeCredential Integer) referencedTypes, HasSchemaDefinition Rational referencedTypes, HasSchemaDefinition Constitution referencedTypes) => HasBlueprintSchema GovernanceAction referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: GovernanceAction -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy GovernanceAction -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep GovernanceAction = D1 ('MetaData "GovernanceAction" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) ((C1 ('MetaCons "ParameterChange" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GovernanceActionId)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChangedParameters) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ScriptHash)))) :+: (C1 ('MetaCons "HardForkInitiation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GovernanceActionId)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProtocolVersion)) :+: C1 ('MetaCons "TreasuryWithdrawals" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential Lovelace)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ScriptHash))))) :+: ((C1 ('MetaCons "NoConfidence" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GovernanceActionId))) :+: C1 ('MetaCons "UpdateCommittee" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GovernanceActionId)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ColdCommitteeCredential])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ColdCommitteeCredential Integer)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational)))) :+: (C1 ('MetaCons "NewConstitution" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GovernanceActionId)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Constitution)) :+: C1 ('MetaCons "InfoAction" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
| type Unroll GovernanceAction Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll GovernanceAction = Insert GovernanceAction (GUnroll (IfStuckRep (RepIsStuckError GovernanceAction :: Type -> Type) (Rep GovernanceAction))) | |||||
data ProposalProcedure where Source #
Bundled Patterns
| pattern ProposalProcedure :: Lovelace -> Credential -> GovernanceAction -> ProposalProcedure |
Instances
| Generic ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: ProposalProcedure -> Rep ProposalProcedure x Source # to :: Rep ProposalProcedure x -> ProposalProcedure Source # | |||||
| Show ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ProposalProcedure -> ProposalProcedure -> Bool Source # (/=) :: ProposalProcedure -> ProposalProcedure -> Bool Source # | |||||
| Ord ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: ProposalProcedure -> ProposalProcedure -> Ordering Source # (<) :: ProposalProcedure -> ProposalProcedure -> Bool Source # (<=) :: ProposalProcedure -> ProposalProcedure -> Bool Source # (>) :: ProposalProcedure -> ProposalProcedure -> Bool Source # (>=) :: ProposalProcedure -> ProposalProcedure -> Bool Source # max :: ProposalProcedure -> ProposalProcedure -> ProposalProcedure Source # min :: ProposalProcedure -> ProposalProcedure -> ProposalProcedure Source # | |||||
| HasBlueprintDefinition ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| HasBlueprintSchema (Lovelace, Credential, GovernanceAction) referencedTypes => HasBlueprintSchema ProposalProcedure referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: ProposalProcedure -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy ProposalProcedure -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep ProposalProcedure = D1 ('MetaData "ProposalProcedure" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'True) (C1 ('MetaCons "ProposalProcedureValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Lovelace, Credential, GovernanceAction)))) | |||||
| type Unroll ProposalProcedure Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll ProposalProcedure = ProposalProcedure ': UnrollAll '[Lovelace, Credential, GovernanceAction] | |||||
data ScriptPurpose Source #
Constructors
| Minting ScriptHash CurrencySymbol | |
| Spending ScriptHash TxOutRef | |
| Withdrawing ScriptHash Credential | |
| Certifying ScriptHash Integer TxCert | |
| Voting ScriptHash Voter | |
| Proposing ScriptHash Integer ProposalProcedure | |
| Guarding ScriptHash Integer |
Instances
| Generic ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: ScriptPurpose -> Rep ScriptPurpose x Source # to :: Rep ScriptPurpose x -> ScriptPurpose Source # | |||||
| Show ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ScriptPurpose -> ScriptPurpose -> Bool Source # (/=) :: ScriptPurpose -> ScriptPurpose -> Bool Source # | |||||
| Ord ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods compare :: ScriptPurpose -> ScriptPurpose -> Ordering Source # (<) :: ScriptPurpose -> ScriptPurpose -> Bool Source # (<=) :: ScriptPurpose -> ScriptPurpose -> Bool Source # (>) :: ScriptPurpose -> ScriptPurpose -> Bool Source # (>=) :: ScriptPurpose -> ScriptPurpose -> Bool Source # max :: ScriptPurpose -> ScriptPurpose -> ScriptPurpose Source # min :: ScriptPurpose -> ScriptPurpose -> ScriptPurpose Source # | |||||
| HasBlueprintDefinition ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition ScriptHash referencedTypes, HasSchemaDefinition CurrencySymbol referencedTypes, HasSchemaDefinition TxOutRef referencedTypes, HasSchemaDefinition Credential referencedTypes, HasSchemaDefinition Integer referencedTypes, HasSchemaDefinition TxCert referencedTypes, HasSchemaDefinition Voter referencedTypes, HasSchemaDefinition ProposalProcedure referencedTypes) => HasBlueprintSchema ScriptPurpose referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: ScriptPurpose -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy ScriptPurpose -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep ScriptPurpose = D1 ('MetaData "ScriptPurpose" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) ((C1 ('MetaCons "Minting" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CurrencySymbol)) :+: (C1 ('MetaCons "Spending" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOutRef)) :+: C1 ('MetaCons "Withdrawing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential)))) :+: ((C1 ('MetaCons "Certifying" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxCert))) :+: C1 ('MetaCons "Voting" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Voter))) :+: (C1 ('MetaCons "Proposing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProposalProcedure))) :+: C1 ('MetaCons "Guarding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))) | |||||
| type Unroll ScriptPurpose Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll ScriptPurpose = Insert ScriptPurpose (GUnroll (IfStuckRep (RepIsStuckError ScriptPurpose :: Type -> Type) (Rep ScriptPurpose))) | |||||
data ScriptInfo Source #
Constructors
| MintingScript CurrencySymbol | |
| SpendingScript TxOutRef (Maybe Datum) | |
| WithdrawingScript AccountId | |
| CertifyingScript | |
Fields
| |
| VotingScript Voter | |
| ProposingScript | |
Fields
| |
| GuardingScript Integer (Maybe TopTxInfo) | Whenever a |
Instances
| Generic ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ScriptInfo -> ScriptInfo -> Bool Source # (/=) :: ScriptInfo -> ScriptInfo -> Bool Source # | |||||
| HasBlueprintDefinition ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: ScriptInfo -> BuiltinData # | |||||
| UnsafeFromData ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition CurrencySymbol referencedTypes, HasSchemaDefinition TxOutRef referencedTypes, HasSchemaDefinition (Maybe Datum) referencedTypes, HasSchemaDefinition AccountId referencedTypes, HasSchemaDefinition Integer referencedTypes, HasSchemaDefinition TxCert referencedTypes, HasSchemaDefinition Voter referencedTypes, HasSchemaDefinition ProposalProcedure referencedTypes, HasSchemaDefinition (Maybe TopTxInfo) referencedTypes) => HasBlueprintSchema ScriptInfo referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: ScriptInfo -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy ScriptInfo -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep ScriptInfo = D1 ('MetaData "ScriptInfo" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) ((C1 ('MetaCons "MintingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CurrencySymbol)) :+: (C1 ('MetaCons "SpendingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOutRef) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Datum))) :+: C1 ('MetaCons "WithdrawingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountId)))) :+: ((C1 ('MetaCons "CertifyingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxCert)) :+: C1 ('MetaCons "VotingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Voter))) :+: (C1 ('MetaCons "ProposingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProposalProcedure)) :+: C1 ('MetaCons "GuardingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TopTxInfo)))))) | |||||
| type Unroll ScriptInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll ScriptInfo = Insert ScriptInfo (GUnroll (IfStuckRep (RepIsStuckError ScriptInfo :: Type -> Type) (Rep ScriptInfo))) | |||||
An input of a pending transaction.
Constructors
| TxInInfo | |
Fields | |
Instances
| Generic TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show TxInInfo Source # | |||||
| Eq TxInInfo Source # | |||||
| HasBlueprintDefinition TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| FromData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInInfo # | |||||
| ToData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: TxInInfo -> BuiltinData # | |||||
| UnsafeFromData TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition TxOutRef referencedTypes, HasSchemaDefinition TxOut referencedTypes) => HasBlueprintSchema TxInInfo referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Typeable DefaultUni TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| type Rep TxInInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep TxInInfo = D1 ('MetaData "TxInInfo" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "TxInInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "txInInfoOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOutRef) :*: S1 ('MetaSel ('Just "txInInfoResolved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOut))) | |||||
| type Unroll TxInInfo Source # | |||||
Constructors
| TxInfo | |
Fields
| |
Instances
| Generic TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show TxInfo Source # | |||||
| Eq TxInfo Source # | |||||
| HasBlueprintDefinition TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TxInfo # | |||||
| ToData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: TxInfo -> BuiltinData # | |||||
| UnsafeFromData TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition TxId referencedTypes, HasSchemaDefinition (Maybe Integer) referencedTypes, HasSchemaDefinition [TxInInfo] referencedTypes, HasSchemaDefinition [TxOut] referencedTypes, HasSchemaDefinition MintValue referencedTypes, HasSchemaDefinition [TxCert] referencedTypes, HasSchemaDefinition (Map Credential Lovelace) referencedTypes, HasSchemaDefinition AccountBalanceIntervals referencedTypes, HasSchemaDefinition POSIXTimeRange referencedTypes, HasSchemaDefinition [Credential] referencedTypes, HasSchemaDefinition (Map Credential (Maybe Datum)) referencedTypes, HasSchemaDefinition (Map ScriptPurpose Redeemer) referencedTypes, HasSchemaDefinition (Map DatumHash Datum) referencedTypes, HasSchemaDefinition (Map Voter (Map GovernanceActionId Vote)) referencedTypes, HasSchemaDefinition [ProposalProcedure] referencedTypes, HasSchemaDefinition (Maybe Lovelace) referencedTypes, HasSchemaDefinition Lovelace referencedTypes) => HasBlueprintSchema TxInfo referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Typeable DefaultUni TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| type Rep TxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep TxInfo = D1 ('MetaData "TxInfo" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "TxInfo" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "txInfoId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Just "txInfoSubTxIx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "txInfoInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxInInfo]) :*: S1 ('MetaSel ('Just "txInfoReferenceInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxInInfo]))) :*: ((S1 ('MetaSel ('Just "txInfoOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxOut]) :*: S1 ('MetaSel ('Just "txInfoMint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MintValue)) :*: (S1 ('MetaSel ('Just "txInfoTxCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxCert]) :*: (S1 ('MetaSel ('Just "txInfoWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential Lovelace)) :*: S1 ('MetaSel ('Just "txInfoDirectDeposits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential Lovelace)))))) :*: (((S1 ('MetaSel ('Just "txInfoAccountBalanceIntervals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountBalanceIntervals) :*: S1 ('MetaSel ('Just "txInfoValidRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTimeRange)) :*: (S1 ('MetaSel ('Just "txInfoGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Credential]) :*: (S1 ('MetaSel ('Just "txInfoRequiredTopLevelGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential (Maybe Datum))) :*: S1 ('MetaSel ('Just "txInfoRedeemers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ScriptPurpose Redeemer))))) :*: ((S1 ('MetaSel ('Just "txInfoData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map DatumHash Datum)) :*: S1 ('MetaSel ('Just "txInfoVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Voter (Map GovernanceActionId Vote)))) :*: (S1 ('MetaSel ('Just "txInfoProposalProcedures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProposalProcedure]) :*: (S1 ('MetaSel ('Just "txInfoCurrentTreasuryAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)) :*: S1 ('MetaSel ('Just "txInfoTreasuryDonation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))))))) | |||||
| type Unroll TxInfo Source # | |||||
data TopTxInfoSimplified Source #
Constructors
| TopTxInfoSimplified | |
Fields
| |
Instances
| Generic TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: TopTxInfoSimplified -> Rep TopTxInfoSimplified x Source # to :: Rep TopTxInfoSimplified x -> TopTxInfoSimplified Source # | |||||
| Show TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: TopTxInfoSimplified -> TopTxInfoSimplified -> Bool Source # (/=) :: TopTxInfoSimplified -> TopTxInfoSimplified -> Bool Source # | |||||
| HasBlueprintDefinition TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods fromBuiltinData :: BuiltinData -> Maybe TopTxInfoSimplified # | |||||
| ToData TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods unsafeFromBuiltinData :: BuiltinData -> TopTxInfoSimplified # | |||||
| Pretty TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition [TxId] referencedTypes, HasSchemaDefinition [TxInInfo] referencedTypes, HasSchemaDefinition [TxOut] referencedTypes, HasSchemaDefinition MintValue referencedTypes, HasSchemaDefinition [TxCert] referencedTypes, HasSchemaDefinition (Map Credential Lovelace) referencedTypes, HasSchemaDefinition POSIXTimeRange referencedTypes, HasSchemaDefinition [Credential] referencedTypes, HasSchemaDefinition [ScriptHash] referencedTypes, HasSchemaDefinition (Map DatumHash Datum) referencedTypes, HasSchemaDefinition (Map Voter (Map GovernanceActionId Vote)) referencedTypes, HasSchemaDefinition [ProposalProcedure] referencedTypes, HasSchemaDefinition (Maybe Lovelace) referencedTypes, HasSchemaDefinition Lovelace referencedTypes) => HasBlueprintSchema TopTxInfoSimplified referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: TopTxInfoSimplified -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy TopTxInfoSimplified -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep TopTxInfoSimplified = D1 ('MetaData "TopTxInfoSimplified" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "TopTxInfoSimplified" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "ttisIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxId]) :*: S1 ('MetaSel ('Just "ttisInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxInInfo])) :*: (S1 ('MetaSel ('Just "ttisReferenceInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxInInfo]) :*: S1 ('MetaSel ('Just "ttisOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxOut]))) :*: ((S1 ('MetaSel ('Just "ttisMints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MintValue) :*: S1 ('MetaSel ('Just "ttisBurns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MintValue)) :*: (S1 ('MetaSel ('Just "ttisTxCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxCert]) :*: (S1 ('MetaSel ('Just "ttisWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential Lovelace)) :*: S1 ('MetaSel ('Just "ttisDirectDeposits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential Lovelace)))))) :*: (((S1 ('MetaSel ('Just "ttisValidRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTimeRange) :*: S1 ('MetaSel ('Just "ttisGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Credential])) :*: (S1 ('MetaSel ('Just "ttisRequiredTopLevelGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Credential]) :*: S1 ('MetaSel ('Just "ttisRedeemerHashes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ScriptHash]))) :*: ((S1 ('MetaSel ('Just "ttisData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map DatumHash Datum)) :*: S1 ('MetaSel ('Just "ttisVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Voter (Map GovernanceActionId Vote)))) :*: (S1 ('MetaSel ('Just "ttisProposalProcedures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProposalProcedure]) :*: (S1 ('MetaSel ('Just "ttisCurrentTreasuryAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)) :*: S1 ('MetaSel ('Just "ttisTreasuryDonations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))))))) | |||||
| type Unroll TopTxInfoSimplified Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll TopTxInfoSimplified = Insert TopTxInfoSimplified (GUnroll (IfStuckRep (RepIsStuckError TopTxInfoSimplified :: Type -> Type) (Rep TopTxInfoSimplified))) | |||||
Constructors
| TopTxInfo | |
Fields
| |
Instances
| Generic TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
| |||||
| Show TopTxInfo Source # | |||||
| Eq TopTxInfo Source # | |||||
| HasBlueprintDefinition TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods toBuiltinData :: TopTxInfo -> BuiltinData # | |||||
| UnsafeFromData TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition [TxInfo] referencedTypes, HasSchemaDefinition (Map TxId Datum) referencedTypes, HasSchemaDefinition AccountBalanceIntervals referencedTypes, HasSchemaDefinition TopTxInfoSimplified referencedTypes) => HasBlueprintSchema TopTxInfo referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Typeable DefaultUni TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| type Rep TopTxInfo Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep TopTxInfo = D1 ('MetaData "TopTxInfo" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "TopTxInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "topTxInfoSubTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxInfo]) :*: S1 ('MetaSel ('Just "topTxInfoDatums") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map TxId Datum))) :*: (S1 ('MetaSel ('Just "topTxInfoStartingAccountBalanceIntervals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountBalanceIntervals) :*: S1 ('MetaSel ('Just "topTxInfoSimplified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopTxInfoSimplified)))) | |||||
| type Unroll TopTxInfo Source # | |||||
data ScriptContext Source #
Constructors
| ScriptContext | |
Fields
| |
Instances
| Generic ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods from :: ScriptContext -> Rep ScriptContext x Source # to :: Rep ScriptContext x -> ScriptContext Source # | |||||
| Show ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| Eq ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods (==) :: ScriptContext -> ScriptContext -> Bool Source # (/=) :: ScriptContext -> ScriptContext -> Bool Source # | |||||
| HasBlueprintDefinition ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Associated Types
Methods definitionId :: DefinitionId | |||||
| FromData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| ToData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| UnsafeFromData ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods | |||||
| Pretty ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts | |||||
| (HasSchemaDefinition TxInfo referencedTypes, HasSchemaDefinition Redeemer referencedTypes, HasSchemaDefinition ScriptInfo referencedTypes, HasSchemaDefinition ScriptHash referencedTypes) => HasBlueprintSchema ScriptContext referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods lift :: ScriptContext -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts Methods typeRep :: Proxy ScriptContext -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Rep ScriptContext = D1 ('MetaData "ScriptContext" "PlutusLedgerApi.V4.Contexts" "plutus-ledger-api-1.71.0.0-8V0G0zsPLKdLbGNzTsy4yL" 'False) (C1 ('MetaCons "ScriptContext" 'PrefixI 'True) ((S1 ('MetaSel ('Just "scriptContextTxInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxInfo) :*: S1 ('MetaSel ('Just "scriptContextRedeemer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Redeemer)) :*: (S1 ('MetaSel ('Just "scriptContextScriptInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptInfo) :*: S1 ('MetaSel ('Just "scriptContextScriptHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash)))) | |||||
| type Unroll ScriptContext Source # | |||||
Defined in PlutusLedgerApi.V4.Contexts type Unroll ScriptContext = Insert ScriptContext (GUnroll (IfStuckRep (RepIsStuckError ScriptContext :: Type -> Type) (Rep ScriptContext))) | |||||
findContinuingOutputs :: ScriptContext -> [Integer] Source #
Find the indices of outputs in the current sub-transaction or top-level transaction that pay to the same script address we are currently spending from. This does not search the outputs of the whole transaction.
getContinuingOutputs :: ScriptContext -> [TxOut] Source #
Get the outputs in the current sub-transaction or top-level transaction that pay to the same script address we are currently spending from. This does not search the outputs of the whole transaction.
txSignedBy :: TxInfo -> PubKeyHash -> Bool Source #
txGuardedBy :: TxInfo -> Credential -> Bool Source #
pubKeyOutputsAt :: PubKeyHash -> TxInfo -> [Value] Source #
valuePaidTo :: TxInfo -> PubKeyHash -> Value Source #
valueSpent :: TxInfo -> Value Source #
valueProduced :: TxInfo -> Value Source #
isTopLevelTx :: TxInfo -> Bool Source #