Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.CLI.Type.Common
Synopsis
- data AllOrOnly a
- data AllOutputFormats
- data AddressKeyType
- data AnchorScheme
- data AnyPlutusScriptVersion where
- AnyPlutusScriptVersion :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> AnyPlutusScriptVersion
- data BalanceTxExecUnits
- newtype BlockId = BlockId String
- data ByronKeyFormat
- data ByronKeyType
- data CardanoAddressKeyType
- data CBORObject
- newtype CertificateFile = CertificateFile {}
- data ConstitutionHashSource
- newtype ConstitutionText = ConstitutionText {}
- newtype ConstitutionUrl = ConstitutionUrl {}
- data CredentialGenerationMode
- newtype CurrentKesPeriod = CurrentKesPeriod {}
- data DRepCredentials = DRepCredentials {}
- data EpochLeadershipSchedule
- newtype File content (direction :: FileDirection) = File {}
- data FileDirection
- newtype GenesisDir = GenesisDir FilePath
- newtype GenesisFile = GenesisFile {}
- newtype GenesisKeyFile = GenesisKeyFile FilePath
- data IncludeStake
- data InputTxBodyOrTxFile
- = InputTxBodyFile (TxBodyFile 'In)
- | InputTxFile (TxFile 'In)
- data KeyOutputFormat
- data MetadataFile
- = MetadataFileJSON (File () 'In)
- | MetadataFileCBOR (File () 'In)
- data MustCheckHash a
- data OpCertCounter
- type OpCertCounterFile = File OpCertCounter
- newtype OpCertEndingKesPeriod = OpCertEndingKesPeriod {}
- data OpCertIntervalInformation
- = OpCertWithinInterval OpCertStartingKesPeriod OpCertEndingKesPeriod CurrentKesPeriod SlotsTillKesKeyExpiry
- | OpCertStartingKesPeriodIsInTheFuture OpCertStartingKesPeriod OpCertEndingKesPeriod CurrentKesPeriod
- | OpCertExpired OpCertStartingKesPeriod OpCertEndingKesPeriod CurrentKesPeriod
- | OpCertSomeOtherError OpCertStartingKesPeriod OpCertEndingKesPeriod CurrentKesPeriod
- data OpCertNodeAndOnDiskCounterInformation
- = OpCertOnDiskCounterEqualToNodeState OpCertOnDiskCounter OpCertNodeStateCounter
- | OpCertOnDiskCounterAheadOfNodeState OpCertOnDiskCounter OpCertNodeStateCounter
- | OpCertOnDiskCounterTooFarAheadOfNodeState OpCertOnDiskCounter OpCertNodeStateCounter
- | OpCertOnDiskCounterBehindNodeState OpCertOnDiskCounter OpCertNodeStateCounter
- | OpCertNoBlocksMintedYet OpCertOnDiskCounter
- newtype OpCertNodeStateCounter = OpCertNodeStateCounter {}
- newtype OpCertOnDiskCounter = OpCertOnDiskCounter {}
- newtype OpCertStartingKesPeriod = OpCertStartingKesPeriod {}
- data Params crypto = Params {
- poolParameters :: Maybe (PoolParams crypto)
- futurePoolParameters :: Maybe (PoolParams crypto)
- retiringEpoch :: Maybe EpochNo
- data ParserFileDirection
- data IdOutputFormat
- newtype PrivKeyFile = PrivKeyFile FilePath
- data ProposalBinary
- type ProposalFile = File ()
- data ProposalText
- newtype ProposalUrl = ProposalUrl {
- unProposalUrl :: Url
- newtype ProtocolParamsFile = ProtocolParamsFile FilePath
- data OutputFormatJsonOrText
- data ReferenceScriptAnyEra
- newtype ReferenceScriptSize = ReferenceScriptSize {}
- data RequiredSigner
- data ScriptDataOrFile
- type ScriptFile = File ScriptInAnyLang 'In
- type ScriptRedeemerOrFile = ScriptDataOrFile
- type SigningKeyFile = File (SigningKey ())
- newtype SlotsTillKesKeyExpiry = SlotsTillKesKeyExpiry {}
- data SomeKeyFile (direction :: FileDirection)
- = AVerificationKeyFile (VerificationKeyFile direction)
- | ASigningKeyFile (SigningKeyFile direction)
- data StakeDelegators = StakeDelegators {}
- type StakePoolMetadataFile = File StakePoolMetadata
- type SupportedSchemes = [AnchorScheme]
- data TransferDirection
- type TxBodyFile = File (TxBody ())
- data TxBuildOutputOptions
- = OutputScriptCostOnly (File () 'Out)
- | OutputTxBodyOnly (TxBodyFile 'Out)
- newtype TxByronWitnessCount = TxByronWitnessCount Int
- type TxFile = File (Tx ())
- newtype TxSubmissionResult = TxSubmissionResult {}
- newtype TxTreasuryDonation = TxTreasuryDonation {}
- newtype TxInCount = TxInCount Int
- data TxMempoolQuery
- data TxOutAnyEra = TxOutAnyEra AddressAny Value TxOutDatumAnyEra ReferenceScriptAnyEra
- data TxOutShelleyBasedEra = TxOutShelleyBasedEra !(Address ShelleyAddr) Value TxOutDatumAnyEra ReferenceScriptAnyEra
- newtype TxOutChangeAddress = TxOutChangeAddress AddressAny
- newtype TxOutCount = TxOutCount Int
- data TxOutDatumAnyEra
- newtype TxShelleyWitnessCount = TxShelleyWitnessCount Int
- newtype UpdateProposalFile = UpdateProposalFile {}
- newtype VerificationKeyBase64 = VerificationKeyBase64 String
- type VerificationKeyFile = File (VerificationKey ())
- data ViewOutputFormat
- newtype VoteUrl = VoteUrl {}
- newtype VoteText = VoteText {
- unVoteText :: Text
- data VoteHashSource
- newtype WitnessFile = WitnessFile FilePath
- data WitnessSigningData = KeyWitnessSigningData !(SigningKeyFile 'In) !(Maybe (Address ByronAddr))
- type DRepMetadataFile = File DRepMetadata
- data DRepMetadataUrl
- data ResignationMetadataUrl
- data PotentiallyCheckedAnchor anchorType anchor = PotentiallyCheckedAnchor {
- pcaAnchor :: anchor
- pcaMustCheck :: MustCheckHash anchorType
Documentation
data AllOutputFormats Source #
Constructors
FormatJson | |
FormatText | |
FormatCBOR |
Instances
Show AllOutputFormats Source # | |
Defined in Cardano.CLI.Type.Common |
data AddressKeyType Source #
Instances
Show AddressKeyType Source # | |
Defined in Cardano.CLI.Type.Common |
data AnchorScheme Source #
The different schemes that can be used to fetch anchor data.
Constructors
FileScheme | |
HttpScheme | |
HttpsScheme | |
IpfsScheme |
Instances
Show AnchorScheme Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq AnchorScheme Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: AnchorScheme -> AnchorScheme -> Bool Source # (/=) :: AnchorScheme -> AnchorScheme -> Bool Source # |
data AnyPlutusScriptVersion where Source #
Constructors
AnyPlutusScriptVersion :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> AnyPlutusScriptVersion |
Instances
data BalanceTxExecUnits Source #
A flag that differentiates between automatically and manually balancing a tx.
Constructors
AutoBalance | |
ManualBalance |
data ByronKeyFormat Source #
Constructors
NonLegacyByronKeyFormat | |
LegacyByronKeyFormat |
Instances
Show ByronKeyFormat Source # | |
Defined in Cardano.CLI.Type.Common |
data ByronKeyType Source #
Constructors
ByronPaymentKey ByronKeyFormat | |
ByronGenesisKey ByronKeyFormat | |
ByronDelegateKey ByronKeyFormat |
Instances
Show ByronKeyType Source # | |
Defined in Cardano.CLI.Type.Common |
data CardanoAddressKeyType Source #
The type of cardano-address
key.
Constructors
Instances
Show CardanoAddressKeyType Source # | |
Defined in Cardano.CLI.Type.Common |
data CBORObject Source #
Specify what the CBOR file is i.e a block, a tx, etc
Constructors
CBORBlockByron EpochSlots | |
CBORDelegationCertificateByron | |
CBORTxByron | |
CBORUpdateProposalByron | |
CBORVoteByron |
Instances
Show CBORObject Source # | |
Defined in Cardano.CLI.Type.Common |
newtype CertificateFile Source #
Constructors
CertificateFile | |
Fields |
Instances
Show CertificateFile Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq CertificateFile Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: CertificateFile -> CertificateFile -> Bool Source # (/=) :: CertificateFile -> CertificateFile -> Bool Source # |
data ConstitutionHashSource Source #
Constructors
ConstitutionHashSourceFile (File ConstitutionText 'In) | |
ConstitutionHashSourceText Text | |
ConstitutionHashSourceHash (SafeHash StandardCrypto AnchorData) |
Instances
Show ConstitutionHashSource Source # | |
Defined in Cardano.CLI.Type.Common |
newtype ConstitutionText Source #
Constructors
ConstitutionText | |
Fields |
Instances
Show ConstitutionText Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ConstitutionText Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ConstitutionText -> ConstitutionText -> Bool Source # (/=) :: ConstitutionText -> ConstitutionText -> Bool Source # |
newtype ConstitutionUrl Source #
Constructors
ConstitutionUrl | |
Fields |
Instances
Show ConstitutionUrl Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ConstitutionUrl Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ConstitutionUrl -> ConstitutionUrl -> Bool Source # (/=) :: ConstitutionUrl -> ConstitutionUrl -> Bool Source # |
data CredentialGenerationMode Source #
Constructors
OnDisk | Write credentials to disk |
Transient | Don't write them to disk (process them in memory) |
Instances
Show CredentialGenerationMode Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq CredentialGenerationMode Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: CredentialGenerationMode -> CredentialGenerationMode -> Bool Source # (/=) :: CredentialGenerationMode -> CredentialGenerationMode -> Bool Source # |
newtype CurrentKesPeriod Source #
Constructors
CurrentKesPeriod | |
Fields |
Instances
FromJSON CurrentKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser CurrentKesPeriod parseJSONList :: Value -> Parser [CurrentKesPeriod] | |
ToJSON CurrentKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: CurrentKesPeriod -> Value toEncoding :: CurrentKesPeriod -> Encoding toJSONList :: [CurrentKesPeriod] -> Value toEncodingList :: [CurrentKesPeriod] -> Encoding omitField :: CurrentKesPeriod -> Bool | |
Show CurrentKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq CurrentKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: CurrentKesPeriod -> CurrentKesPeriod -> Bool Source # (/=) :: CurrentKesPeriod -> CurrentKesPeriod -> Bool Source # |
data DRepCredentials Source #
Constructors
DRepCredentials | |
Fields
|
Instances
Show DRepCredentials Source # | |
Defined in Cardano.CLI.Type.Common |
data EpochLeadershipSchedule Source #
Which leadership schedule we are interested in. TODO: Implement Previous and Next epochs
Constructors
CurrentEpoch | |
NextEpoch |
Instances
Show EpochLeadershipSchedule Source # | |
Defined in Cardano.CLI.Type.Common |
newtype File content (direction :: FileDirection) Source #
A file path with additional type information to indicate what the file is meant to contain and whether it is to be used for reading or writing.
Instances
FromJSON (File content direction) | |
Defined in Cardano.Api.Internal.IO.Base Methods parseJSON :: Value -> Parser (File content direction) parseJSONList :: Value -> Parser [File content direction] omittedField :: Maybe (File content direction) | |
ToJSON (File content direction) | |
Defined in Cardano.Api.Internal.IO.Base Methods toJSON :: File content direction -> Value toEncoding :: File content direction -> Encoding toJSONList :: [File content direction] -> Value toEncodingList :: [File content direction] -> Encoding | |
IsString (File content direction) | |
Defined in Cardano.Api.Internal.IO.Base Methods fromString :: String -> File content direction Source # | |
Read (File content direction) | |
Show (File content direction) | |
Eq (File content direction) | |
Ord (File content direction) | |
Defined in Cardano.Api.Internal.IO.Base Methods compare :: File content direction -> File content direction -> Ordering Source # (<) :: File content direction -> File content direction -> Bool Source # (<=) :: File content direction -> File content direction -> Bool Source # (>) :: File content direction -> File content direction -> Bool Source # (>=) :: File content direction -> File content direction -> Bool Source # max :: File content direction -> File content direction -> File content direction Source # min :: File content direction -> File content direction -> File content direction Source # |
data FileDirection Source #
newtype GenesisDir Source #
Constructors
GenesisDir FilePath |
Instances
Show GenesisDir Source # | |
Defined in Cardano.CLI.Type.Common |
newtype GenesisFile Source #
Constructors
GenesisFile | |
Fields |
Instances
FromJSON GenesisFile Source # | |
Defined in Cardano.CLI.Type.Common | |
IsString GenesisFile Source # | |
Defined in Cardano.CLI.Type.Common Methods fromString :: String -> GenesisFile Source # | |
Show GenesisFile Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq GenesisFile Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: GenesisFile -> GenesisFile -> Bool Source # (/=) :: GenesisFile -> GenesisFile -> Bool Source # | |
Ord GenesisFile Source # | |
Defined in Cardano.CLI.Type.Common Methods compare :: GenesisFile -> GenesisFile -> Ordering Source # (<) :: GenesisFile -> GenesisFile -> Bool Source # (<=) :: GenesisFile -> GenesisFile -> Bool Source # (>) :: GenesisFile -> GenesisFile -> Bool Source # (>=) :: GenesisFile -> GenesisFile -> Bool Source # max :: GenesisFile -> GenesisFile -> GenesisFile Source # min :: GenesisFile -> GenesisFile -> GenesisFile Source # |
newtype GenesisKeyFile Source #
Constructors
GenesisKeyFile FilePath |
Instances
Show GenesisKeyFile Source # | |
Defined in Cardano.CLI.Type.Common |
data IncludeStake Source #
Whether to include the stake, as queried by drep-stake-distribution, in the output of drep-state. This is (computationally) expensive, but sometimes convenient.
Instances
Show IncludeStake Source # | |
Defined in Cardano.CLI.Type.Common |
data InputTxBodyOrTxFile Source #
Constructors
InputTxBodyFile (TxBodyFile 'In) | |
InputTxFile (TxFile 'In) |
Instances
Show InputTxBodyOrTxFile Source # | |
Defined in Cardano.CLI.Type.Common |
data KeyOutputFormat Source #
Constructors
KeyOutputFormatTextEnvelope | |
KeyOutputFormatBech32 |
Instances
Show KeyOutputFormat Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq KeyOutputFormat Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: KeyOutputFormat -> KeyOutputFormat -> Bool Source # (/=) :: KeyOutputFormat -> KeyOutputFormat -> Bool Source # |
data MetadataFile Source #
Constructors
MetadataFileJSON (File () 'In) | |
MetadataFileCBOR (File () 'In) |
Instances
Show MetadataFile Source # | |
Defined in Cardano.CLI.Type.Common |
data MustCheckHash a Source #
Instances
Show (MustCheckHash a) Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq (MustCheckHash a) Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: MustCheckHash a -> MustCheckHash a -> Bool Source # (/=) :: MustCheckHash a -> MustCheckHash a -> Bool Source # |
data OpCertCounter Source #
type OpCertCounterFile = File OpCertCounter Source #
newtype OpCertEndingKesPeriod Source #
Constructors
OpCertEndingKesPeriod | |
Fields |
Instances
FromJSON OpCertEndingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser OpCertEndingKesPeriod parseJSONList :: Value -> Parser [OpCertEndingKesPeriod] | |
ToJSON OpCertEndingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: OpCertEndingKesPeriod -> Value toEncoding :: OpCertEndingKesPeriod -> Encoding toJSONList :: [OpCertEndingKesPeriod] -> Value toEncodingList :: [OpCertEndingKesPeriod] -> Encoding | |
Show OpCertEndingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OpCertEndingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OpCertEndingKesPeriod -> OpCertEndingKesPeriod -> Bool Source # (/=) :: OpCertEndingKesPeriod -> OpCertEndingKesPeriod -> Bool Source # |
data OpCertIntervalInformation Source #
Constructors
Instances
Show OpCertIntervalInformation Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OpCertIntervalInformation Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OpCertIntervalInformation -> OpCertIntervalInformation -> Bool Source # (/=) :: OpCertIntervalInformation -> OpCertIntervalInformation -> Bool Source # |
data OpCertNodeAndOnDiskCounterInformation Source #
Constructors
OpCertOnDiskCounterEqualToNodeState OpCertOnDiskCounter OpCertNodeStateCounter | The on disk operational certificate has a counter that is equal to its corresponding counter in the node state. The on disk operational certificate therefore has a valid counter. |
OpCertOnDiskCounterAheadOfNodeState OpCertOnDiskCounter OpCertNodeStateCounter | The on disk operational certificate has a counter that is ahead of the counter in the node state by 1. The on disk operational certificate is invalid in this case. |
OpCertOnDiskCounterTooFarAheadOfNodeState OpCertOnDiskCounter OpCertNodeStateCounter | The on disk operational certificate has a counter that is less than the counter in the node state. The on disk operational certificate is invalid in this case. |
OpCertOnDiskCounterBehindNodeState OpCertOnDiskCounter OpCertNodeStateCounter | The corresponding counter for operational certificate was not found in the node state. This means the relevant stake pool has not minted a block yet. When the stake pool has minted a block the corresponding operational certificate's counter will be present in the node state. |
OpCertNoBlocksMintedYet OpCertOnDiskCounter | The on disk operational certificate has a counter that is ahead of the counter in the node state by more than 1. The on disk operational certificate is invalid in this case. |
newtype OpCertNodeStateCounter Source #
Constructors
OpCertNodeStateCounter | |
Fields |
Instances
FromJSON OpCertNodeStateCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser OpCertNodeStateCounter parseJSONList :: Value -> Parser [OpCertNodeStateCounter] | |
ToJSON OpCertNodeStateCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: OpCertNodeStateCounter -> Value toEncoding :: OpCertNodeStateCounter -> Encoding toJSONList :: [OpCertNodeStateCounter] -> Value toEncodingList :: [OpCertNodeStateCounter] -> Encoding | |
Show OpCertNodeStateCounter Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OpCertNodeStateCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OpCertNodeStateCounter -> OpCertNodeStateCounter -> Bool Source # (/=) :: OpCertNodeStateCounter -> OpCertNodeStateCounter -> Bool Source # |
newtype OpCertOnDiskCounter Source #
Constructors
OpCertOnDiskCounter | |
Fields |
Instances
FromJSON OpCertOnDiskCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser OpCertOnDiskCounter parseJSONList :: Value -> Parser [OpCertOnDiskCounter] | |
ToJSON OpCertOnDiskCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: OpCertOnDiskCounter -> Value toEncoding :: OpCertOnDiskCounter -> Encoding toJSONList :: [OpCertOnDiskCounter] -> Value toEncodingList :: [OpCertOnDiskCounter] -> Encoding omitField :: OpCertOnDiskCounter -> Bool | |
Show OpCertOnDiskCounter Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OpCertOnDiskCounter Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OpCertOnDiskCounter -> OpCertOnDiskCounter -> Bool Source # (/=) :: OpCertOnDiskCounter -> OpCertOnDiskCounter -> Bool Source # |
newtype OpCertStartingKesPeriod Source #
Constructors
OpCertStartingKesPeriod | |
Fields |
Instances
FromJSON OpCertStartingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser OpCertStartingKesPeriod parseJSONList :: Value -> Parser [OpCertStartingKesPeriod] | |
ToJSON OpCertStartingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: OpCertStartingKesPeriod -> Value toEncoding :: OpCertStartingKesPeriod -> Encoding toJSONList :: [OpCertStartingKesPeriod] -> Value toEncodingList :: [OpCertStartingKesPeriod] -> Encoding | |
Show OpCertStartingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OpCertStartingKesPeriod Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OpCertStartingKesPeriod -> OpCertStartingKesPeriod -> Bool Source # (/=) :: OpCertStartingKesPeriod -> OpCertStartingKesPeriod -> Bool Source # |
This data structure is used to allow nicely formatted output in the query pool-params command. params are the current pool parameter settings, futureparams are new parameters, retiringEpoch is the epoch that has been set for pool retirement. Any of these may be Nothing.
Constructors
Params | |
Fields
|
Instances
Crypto crypto => ToJSON (Params crypto) Source # | Pretty printing for pool parameters |
Defined in Cardano.CLI.Type.Common Methods toJSON :: Params crypto -> Value toEncoding :: Params crypto -> Encoding toJSONList :: [Params crypto] -> Value toEncodingList :: [Params crypto] -> Encoding | |
Show (Params crypto) Source # | |
data ParserFileDirection Source #
Instances
Show ParserFileDirection Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ParserFileDirection Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ParserFileDirection -> ParserFileDirection -> Bool Source # (/=) :: ParserFileDirection -> ParserFileDirection -> Bool Source # |
data IdOutputFormat Source #
Some entities such as stake pools and dreps have a notion of an ID and that id can be encoded as either a bech32 or hex string. This type is used to specify which encoding to use.
Constructors
IdOutputFormatHex | |
IdOutputFormatBech32 |
Instances
Show IdOutputFormat Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq IdOutputFormat Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: IdOutputFormat -> IdOutputFormat -> Bool Source # (/=) :: IdOutputFormat -> IdOutputFormat -> Bool Source # |
newtype PrivKeyFile Source #
Constructors
PrivKeyFile FilePath |
Instances
Show PrivKeyFile Source # | |
Defined in Cardano.CLI.Type.Common |
data ProposalBinary Source #
Tag for tracking proposals submitted as Bytestring
type ProposalFile = File () Source #
data ProposalText Source #
Tag for tracking proposals submitted as Text
newtype ProposalUrl Source #
Constructors
ProposalUrl | |
Fields
|
Instances
Show ProposalUrl Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ProposalUrl Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ProposalUrl -> ProposalUrl -> Bool Source # (/=) :: ProposalUrl -> ProposalUrl -> Bool Source # |
newtype ProtocolParamsFile Source #
Constructors
ProtocolParamsFile FilePath |
Instances
Show ProtocolParamsFile Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ProtocolParamsFile Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ProtocolParamsFile -> ProtocolParamsFile -> Bool Source # (/=) :: ProtocolParamsFile -> ProtocolParamsFile -> Bool Source # |
data OutputFormatJsonOrText Source #
Constructors
OutputFormatJson | |
OutputFormatText |
Instances
Show OutputFormatJsonOrText Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq OutputFormatJsonOrText Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: OutputFormatJsonOrText -> OutputFormatJsonOrText -> Bool Source # (/=) :: OutputFormatJsonOrText -> OutputFormatJsonOrText -> Bool Source # |
data ReferenceScriptAnyEra Source #
Constructors
ReferenceScriptAnyEraNone | |
ReferenceScriptAnyEra FilePath |
Instances
Show ReferenceScriptAnyEra Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ReferenceScriptAnyEra Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ReferenceScriptAnyEra -> ReferenceScriptAnyEra -> Bool Source # (/=) :: ReferenceScriptAnyEra -> ReferenceScriptAnyEra -> Bool Source # |
newtype ReferenceScriptSize Source #
Constructors
ReferenceScriptSize | |
Fields |
Instances
Show ReferenceScriptSize Source # | |
Defined in Cardano.CLI.Type.Common |
data RequiredSigner Source #
Plutus script required signers
Constructors
RequiredSignerSkeyFile (SigningKeyFile 'In) | |
RequiredSignerHash (Hash PaymentKey) |
Instances
Show RequiredSigner Source # | |
Defined in Cardano.CLI.Type.Common |
data ScriptDataOrFile Source #
Constructors
ScriptDataCborFile FilePath | By reference to a CBOR file |
ScriptDataJsonFile FilePath | By reference to a JSON file |
ScriptDataValue HashableScriptData | By value |
Instances
Show ScriptDataOrFile Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq ScriptDataOrFile Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: ScriptDataOrFile -> ScriptDataOrFile -> Bool Source # (/=) :: ScriptDataOrFile -> ScriptDataOrFile -> Bool Source # |
type ScriptFile = File ScriptInAnyLang 'In Source #
type SigningKeyFile = File (SigningKey ()) Source #
newtype SlotsTillKesKeyExpiry Source #
Constructors
SlotsTillKesKeyExpiry | |
Fields |
Instances
FromJSON SlotsTillKesKeyExpiry Source # | |
Defined in Cardano.CLI.Type.Common Methods parseJSON :: Value -> Parser SlotsTillKesKeyExpiry parseJSONList :: Value -> Parser [SlotsTillKesKeyExpiry] | |
ToJSON SlotsTillKesKeyExpiry Source # | |
Defined in Cardano.CLI.Type.Common Methods toJSON :: SlotsTillKesKeyExpiry -> Value toEncoding :: SlotsTillKesKeyExpiry -> Encoding toJSONList :: [SlotsTillKesKeyExpiry] -> Value toEncodingList :: [SlotsTillKesKeyExpiry] -> Encoding | |
Show SlotsTillKesKeyExpiry Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq SlotsTillKesKeyExpiry Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: SlotsTillKesKeyExpiry -> SlotsTillKesKeyExpiry -> Bool Source # (/=) :: SlotsTillKesKeyExpiry -> SlotsTillKesKeyExpiry -> Bool Source # |
data SomeKeyFile (direction :: FileDirection) Source #
Either a verification or signing key, used for conversions and other commands that make sense for both.
Constructors
AVerificationKeyFile (VerificationKeyFile direction) | |
ASigningKeyFile (SigningKeyFile direction) |
Instances
Show (SomeKeyFile direction) Source # | |
Defined in Cardano.CLI.Type.Common |
data StakeDelegators Source #
Constructors
StakeDelegators | |
Fields
|
Instances
Show StakeDelegators Source # | |
Defined in Cardano.CLI.Type.Common |
type SupportedSchemes = [AnchorScheme] Source #
Specifies the schemes that are allowed to fetch anchor data.
data TransferDirection Source #
Determines the direction in which the MIR certificate will transfer ADA.
Constructors
TransferToReserves | |
TransferToTreasury |
Instances
Show TransferDirection Source # | |
Defined in Cardano.CLI.Type.Common |
type TxBodyFile = File (TxBody ()) Source #
data TxBuildOutputOptions Source #
Specify whether to render the script cost as JSON in the cli's build command.
Constructors
OutputScriptCostOnly (File () 'Out) | |
OutputTxBodyOnly (TxBodyFile 'Out) |
Instances
Show TxBuildOutputOptions Source # | |
Defined in Cardano.CLI.Type.Common |
newtype TxByronWitnessCount Source #
Constructors
TxByronWitnessCount Int |
Instances
Show TxByronWitnessCount Source # | |
Defined in Cardano.CLI.Type.Common |
newtype TxSubmissionResult Source #
Type used for serialization when printing the hash of a transaction after having submitted it. Also used for printing JSON output of "transaction txid".
Constructors
TxSubmissionResult | |
Instances
newtype TxTreasuryDonation Source #
Constructors
TxTreasuryDonation | |
Fields |
Instances
Show TxTreasuryDonation Source # | |
Defined in Cardano.CLI.Type.Common |
data TxMempoolQuery Source #
Instances
Show TxMempoolQuery Source # | |
Defined in Cardano.CLI.Type.Common |
data TxOutAnyEra Source #
A TxOut value that is the superset of possibilities for any era: any
address type and allowing multi-asset values. This is used as the type for
values passed on the command line. It can be converted into the
era-dependent TxOutValue
type.
Constructors
TxOutAnyEra AddressAny Value TxOutDatumAnyEra ReferenceScriptAnyEra |
Instances
Show TxOutAnyEra Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq TxOutAnyEra Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: TxOutAnyEra -> TxOutAnyEra -> Bool Source # (/=) :: TxOutAnyEra -> TxOutAnyEra -> Bool Source # |
data TxOutShelleyBasedEra Source #
Constructors
TxOutShelleyBasedEra !(Address ShelleyAddr) Value TxOutDatumAnyEra ReferenceScriptAnyEra |
Instances
Show TxOutShelleyBasedEra Source # | |
Defined in Cardano.CLI.Type.Common |
newtype TxOutChangeAddress Source #
A partially-specified transaction output indented to use as a change output.
It does not specify a value, since this will be worked out automatically.
It does not use any script data hash, since that's generally not used for change outputs.
Constructors
TxOutChangeAddress AddressAny |
Instances
Show TxOutChangeAddress Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq TxOutChangeAddress Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: TxOutChangeAddress -> TxOutChangeAddress -> Bool Source # (/=) :: TxOutChangeAddress -> TxOutChangeAddress -> Bool Source # |
newtype TxOutCount Source #
Constructors
TxOutCount Int |
Instances
Show TxOutCount Source # | |
Defined in Cardano.CLI.Type.Common |
data TxOutDatumAnyEra Source #
Constructors
TxOutDatumByHashOnly (Hash ScriptData) | |
TxOutDatumByHashOf ScriptDataOrFile | |
TxOutDatumByValue ScriptDataOrFile | |
TxOutInlineDatumByValue ScriptDataOrFile | |
TxOutDatumByNone |
Instances
Show TxOutDatumAnyEra Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq TxOutDatumAnyEra Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: TxOutDatumAnyEra -> TxOutDatumAnyEra -> Bool Source # (/=) :: TxOutDatumAnyEra -> TxOutDatumAnyEra -> Bool Source # |
newtype TxShelleyWitnessCount Source #
Constructors
TxShelleyWitnessCount Int |
Instances
Show TxShelleyWitnessCount Source # | |
Defined in Cardano.CLI.Type.Common |
newtype UpdateProposalFile Source #
Constructors
UpdateProposalFile | |
Fields |
Instances
Show UpdateProposalFile Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq UpdateProposalFile Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: UpdateProposalFile -> UpdateProposalFile -> Bool Source # (/=) :: UpdateProposalFile -> UpdateProposalFile -> Bool Source # |
newtype VerificationKeyBase64 Source #
A raw verification key given in Base64, and decoded into a ByteString.
Constructors
VerificationKeyBase64 String |
Instances
Show VerificationKeyBase64 Source # | |
Defined in Cardano.CLI.Type.Common |
type VerificationKeyFile = File (VerificationKey ()) Source #
data ViewOutputFormat Source #
Constructors
ViewOutputFormatJson | |
ViewOutputFormatYaml |
Instances
Show ViewOutputFormat Source # | |
Defined in Cardano.CLI.Type.Common |
data VoteHashSource Source #
Constructors
VoteHashSourceFile (File VoteText 'In) | |
VoteHashSourceText Text | |
VoteHashSourceHash (SafeHash StandardCrypto AnchorData) |
Instances
Show VoteHashSource Source # | |
Defined in Cardano.CLI.Type.Common |
newtype WitnessFile Source #
Constructors
WitnessFile FilePath |
Instances
Show WitnessFile Source # | |
Defined in Cardano.CLI.Type.Common |
data WitnessSigningData Source #
Data required to construct a witness.
Constructors
KeyWitnessSigningData | |
Fields
|
Instances
Show WitnessSigningData Source # | |
Defined in Cardano.CLI.Type.Common |
type DRepMetadataFile = File DRepMetadata Source #
data DRepMetadataUrl Source #
Tag for differentiating between DRep metadata sources and sources for other types of anchor data
data ResignationMetadataUrl Source #
Tag for differentiating between resignation metadatata sources and sources for other types of anchor data
data PotentiallyCheckedAnchor anchorType anchor Source #
Constructors
PotentiallyCheckedAnchor | |
Fields
|
Instances
Show anchor => Show (PotentiallyCheckedAnchor anchorType anchor) Source # | |
Defined in Cardano.CLI.Type.Common | |
Eq anchor => Eq (PotentiallyCheckedAnchor anchorType anchor) Source # | |
Defined in Cardano.CLI.Type.Common Methods (==) :: PotentiallyCheckedAnchor anchorType anchor -> PotentiallyCheckedAnchor anchorType anchor -> Bool Source # (/=) :: PotentiallyCheckedAnchor anchorType anchor -> PotentiallyCheckedAnchor anchorType anchor -> Bool Source # |