Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data TransactionCmds era
- = TransactionBuildRawCmd !(TransactionBuildRawCmdArgs era)
- | TransactionBuildCmd !(TransactionBuildCmdArgs era)
- | TransactionBuildEstimateCmd !(TransactionBuildEstimateCmdArgs era)
- | TransactionSignCmd !TransactionSignCmdArgs
- | TransactionWitnessCmd !TransactionWitnessCmdArgs
- | TransactionSignWitnessCmd !TransactionSignWitnessCmdArgs
- | TransactionSubmitCmd !TransactionSubmitCmdArgs
- | TransactionPolicyIdCmd !TransactionPolicyIdCmdArgs
- | TransactionCalculateMinFeeCmd !TransactionCalculateMinFeeCmdArgs
- | TransactionCalculateMinValueCmd !(TransactionCalculateMinValueCmdArgs era)
- | TransactionHashScriptDataCmd !TransactionHashScriptDataCmdArgs
- | TransactionTxIdCmd !TransactionTxIdCmdArgs
- data TransactionBuildRawCmdArgs era = TransactionBuildRawCmdArgs {
- eon :: !(ShelleyBasedEra era)
- mScriptValidity :: !(Maybe ScriptValidity)
- txIns :: ![(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))]
- readOnlyRefIns :: ![TxIn]
- txInsCollateral :: ![TxIn]
- mReturnCollateral :: !(Maybe TxOutShelleyBasedEra)
- mTotalCollateral :: !(Maybe Coin)
- requiredSigners :: ![RequiredSigner]
- txouts :: ![TxOutAnyEra]
- mValue :: !(Maybe (Value, [ScriptWitnessFiles WitCtxMint]))
- mValidityLowerBound :: !(Maybe SlotNo)
- mValidityUpperBound :: !(TxValidityUpperBound era)
- fee :: !Coin
- certificates :: ![(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))]
- withdrawals :: ![(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))]
- metadataSchema :: !TxMetadataJsonSchema
- scriptFiles :: ![ScriptFile]
- metadataFiles :: ![MetadataFile]
- mProtocolParamsFile :: !(Maybe ProtocolParamsFile)
- mUpdateProprosalFile :: !(Maybe (Featured ShelleyToBabbageEra era (Maybe UpdateProposalFile)))
- voteFiles :: ![(VoteFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- proposalFiles :: ![(ProposalFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- currentTreasuryValueAndDonation :: !(Maybe (TxCurrentTreasuryValue, TxTreasuryDonation))
- txBodyOutFile :: !(TxBodyFile 'Out)
- data TransactionBuildCmdArgs era = TransactionBuildCmdArgs {
- currentEra :: !(Era era)
- nodeSocketPath :: !SocketPath
- consensusModeParams :: !ConsensusModeParams
- networkId :: !NetworkId
- mScriptValidity :: !(Maybe ScriptValidity)
- mOverrideWitnesses :: !(Maybe Word)
- txins :: ![(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))]
- readOnlyReferenceInputs :: ![TxIn]
- requiredSigners :: ![RequiredSigner]
- txinsc :: ![TxIn]
- mReturnCollateral :: !(Maybe TxOutShelleyBasedEra)
- mTotalCollateral :: !(Maybe Coin)
- txouts :: ![TxOutAnyEra]
- changeAddresses :: !TxOutChangeAddress
- mValue :: !(Maybe (Value, [ScriptWitnessFiles WitCtxMint]))
- mValidityLowerBound :: !(Maybe SlotNo)
- mValidityUpperBound :: !(TxValidityUpperBound era)
- certificates :: ![(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))]
- withdrawals :: ![(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))]
- metadataSchema :: !TxMetadataJsonSchema
- scriptFiles :: ![ScriptFile]
- metadataFiles :: ![MetadataFile]
- mUpdateProposalFile :: !(Maybe (Featured ShelleyToBabbageEra era (Maybe UpdateProposalFile)))
- voteFiles :: ![(VoteFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- proposalFiles :: ![(ProposalFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- treasuryDonation :: !(Maybe TxTreasuryDonation)
- buildOutputOptions :: !TxBuildOutputOptions
- data TransactionBuildEstimateCmdArgs era = TransactionBuildEstimateCmdArgs {
- currentEra :: !(Era era)
- mScriptValidity :: !(Maybe ScriptValidity)
- shelleyWitnesses :: !Int
- mByronWitnesses :: !(Maybe Int)
- protocolParamsFile :: !ProtocolParamsFile
- totalUTxOValue :: !Value
- txins :: ![(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))]
- readOnlyReferenceInputs :: ![TxIn]
- requiredSigners :: ![RequiredSigner]
- txinsc :: ![TxIn]
- mReturnCollateral :: !(Maybe TxOutShelleyBasedEra)
- txouts :: ![TxOutAnyEra]
- changeAddress :: !TxOutChangeAddress
- mValue :: !(Maybe (Value, [ScriptWitnessFiles WitCtxMint]))
- mValidityLowerBound :: !(Maybe SlotNo)
- mValidityUpperBound :: !(TxValidityUpperBound era)
- certificates :: ![(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))]
- withdrawals :: ![(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))]
- plutusCollateral :: !(Maybe Coin)
- totalReferenceScriptSize :: !(Maybe ReferenceScriptSize)
- metadataSchema :: !TxMetadataJsonSchema
- scriptFiles :: ![ScriptFile]
- metadataFiles :: ![MetadataFile]
- mUpdateProposalFile :: !(Maybe (Featured ShelleyToBabbageEra era (Maybe UpdateProposalFile)))
- voteFiles :: ![(VoteFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- proposalFiles :: ![(ProposalFile 'In, Maybe (ScriptWitnessFiles WitCtxStake))]
- currentTreasuryValueAndDonation :: !(Maybe (TxCurrentTreasuryValue, TxTreasuryDonation))
- txBodyOutFile :: !(TxBodyFile 'Out)
- data TransactionSignCmdArgs = TransactionSignCmdArgs {
- txOrTxBodyFile :: !InputTxBodyOrTxFile
- witnessSigningData :: ![WitnessSigningData]
- mNetworkId :: !(Maybe NetworkId)
- outTxFile :: !(TxFile 'Out)
- data TransactionWitnessCmdArgs = TransactionWitnessCmdArgs {
- txBodyFile :: !(TxBodyFile 'In)
- witnessSigningData :: !WitnessSigningData
- mNetworkId :: !(Maybe NetworkId)
- outFile :: !(File () 'Out)
- data TransactionSignWitnessCmdArgs = TransactionSignWitnessCmdArgs {
- txBodyFile :: !(TxBodyFile 'In)
- witnessFiles :: ![WitnessFile]
- outFile :: !(File () 'Out)
- data TransactionSubmitCmdArgs = TransactionSubmitCmdArgs {}
- newtype TransactionPolicyIdCmdArgs = TransactionPolicyIdCmdArgs {}
- data TransactionCalculateMinFeeCmdArgs = TransactionCalculateMinFeeCmdArgs {}
- data TransactionCalculateMinValueCmdArgs era = TransactionCalculateMinValueCmdArgs {
- eon :: !(ShelleyBasedEra era)
- protocolParamsFile :: !ProtocolParamsFile
- txOut :: !TxOutShelleyBasedEra
- newtype TransactionHashScriptDataCmdArgs = TransactionHashScriptDataCmdArgs {}
- newtype TransactionTxIdCmdArgs = TransactionTxIdCmdArgs {}
- data TransactionViewCmdArgs = TransactionViewCmdArgs
- renderTransactionCmds :: TransactionCmds era -> Text
Documentation
data TransactionCmds era Source #
data TransactionBuildRawCmdArgs era Source #
Instances
Show (TransactionBuildRawCmdArgs era) Source # | |
Defined in Cardano.CLI.EraBased.Commands.Transaction |
data TransactionBuildCmdArgs era Source #
Like TransactionBuildRaw
but without the fee, and with a change output.
Instances
Show (TransactionBuildCmdArgs era) Source # | |
Defined in Cardano.CLI.EraBased.Commands.Transaction |
data TransactionBuildEstimateCmdArgs era Source #
Like TransactionBuildCmd
but does not require explicit access to a running node
data TransactionSignCmdArgs Source #
TransactionSignCmdArgs | |
|
Instances
data TransactionWitnessCmdArgs Source #
TransactionWitnessCmdArgs | |
|
Instances
data TransactionSignWitnessCmdArgs Source #
TransactionSignWitnessCmdArgs | |
|
Instances
newtype TransactionPolicyIdCmdArgs Source #
Instances
data TransactionCalculateMinFeeCmdArgs Source #
TransactionCalculateMinFeeCmdArgs | |
|
Instances
data TransactionCalculateMinValueCmdArgs era Source #
TransactionCalculateMinValueCmdArgs | |
|
Instances
newtype TransactionHashScriptDataCmdArgs Source #
Instances
newtype TransactionTxIdCmdArgs Source #
Instances
data TransactionViewCmdArgs Source #
Instances
renderTransactionCmds :: TransactionCmds era -> Text Source #