Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BalanceTxExecUnits
- data CBORObject
- newtype CertificateFile = CertificateFile {}
- newtype GenesisFile = GenesisFile {}
- newtype VestedFile = VestedFile {}
- data OutputFormat
- newtype SigningKeyFile = SigningKeyFile {}
- newtype SocketPath = SocketPath {}
- newtype ScriptFile = ScriptFile {}
- data ScriptDataOrFile
- type ScriptRedeemerOrFile = ScriptDataOrFile
- data ScriptWitnessFiles witctx where
- SimpleScriptWitnessFile ∷ ScriptFile → ScriptWitnessFiles witctx
- ZerepochScriptWitnessFiles ∷ ScriptFile → ScriptDatumOrFile witctx → ScriptRedeemerOrFile → ExecutionUnits → ScriptWitnessFiles witctx
- data ScriptDatumOrFile witctx where
- data TransferDirection
- data TxOutAnyEra = TxOutAnyEra AddressAny Value (Maybe (Hash ScriptData))
- newtype TxOutChangeAddress = TxOutChangeAddress AddressAny
- newtype UpdateProposalFile = UpdateProposalFile {}
- newtype VerificationKeyFile = VerificationKeyFile {}
- data Stakes = Stakes {}
- data Params crypto = Params {
- poolParameters ∷ Maybe (PoolParams crypto)
- futurePoolParameters ∷ Maybe (PoolParams crypto)
- retiringEpoch ∷ Maybe EpochNo
Documentation
data BalanceTxExecUnits Source #
A flag that differentiates between automatically and manually balancing a tx.
data CBORObject Source #
Specify what the CBOR file is i.e a block, a tx, etc
CBORBlockCole EpochSlots | |
CBORDelegationCertificateCole | |
CBORTxCole | |
CBORUpdateProposalCole | |
CBORVoteCole |
Instances
Show CBORObject Source # | |
Defined in Bcc.CLI.Types |
newtype CertificateFile Source #
Instances
Eq CertificateFile Source # | |
Defined in Bcc.CLI.Types | |
Show CertificateFile Source # | |
Defined in Bcc.CLI.Types |
newtype GenesisFile Source #
Instances
Eq GenesisFile Source # | |
Defined in Bcc.CLI.Types (==) ∷ GenesisFile → GenesisFile → Bool Source # (/=) ∷ GenesisFile → GenesisFile → Bool Source # | |
Ord GenesisFile Source # | |
Defined in Bcc.CLI.Types 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 # | |
Show GenesisFile Source # | |
Defined in Bcc.CLI.Types | |
IsString GenesisFile Source # | |
Defined in Bcc.CLI.Types | |
FromJSON GenesisFile Source # | |
Defined in Bcc.CLI.Types parseJSON ∷ Value → Parser GenesisFile # parseJSONList ∷ Value → Parser [GenesisFile] # |
newtype VestedFile Source #
Instances
Eq VestedFile Source # | |
Defined in Bcc.CLI.Types (==) ∷ VestedFile → VestedFile → Bool Source # (/=) ∷ VestedFile → VestedFile → Bool Source # | |
Ord VestedFile Source # | |
Defined in Bcc.CLI.Types compare ∷ VestedFile → VestedFile → Ordering Source # (<) ∷ VestedFile → VestedFile → Bool Source # (<=) ∷ VestedFile → VestedFile → Bool Source # (>) ∷ VestedFile → VestedFile → Bool Source # (>=) ∷ VestedFile → VestedFile → Bool Source # max ∷ VestedFile → VestedFile → VestedFile Source # min ∷ VestedFile → VestedFile → VestedFile Source # | |
Show VestedFile Source # | |
Defined in Bcc.CLI.Types | |
IsString VestedFile Source # | |
Defined in Bcc.CLI.Types | |
FromJSON VestedFile Source # | |
Defined in Bcc.CLI.Types parseJSON ∷ Value → Parser VestedFile # parseJSONList ∷ Value → Parser [VestedFile] # |
data OutputFormat Source #
The desired output format.
Instances
Eq OutputFormat Source # | |
Defined in Bcc.CLI.Types (==) ∷ OutputFormat → OutputFormat → Bool Source # (/=) ∷ OutputFormat → OutputFormat → Bool Source # | |
Show OutputFormat Source # | |
Defined in Bcc.CLI.Types |
newtype SigningKeyFile Source #
Instances
Eq SigningKeyFile Source # | |
Defined in Bcc.CLI.Types (==) ∷ SigningKeyFile → SigningKeyFile → Bool Source # (/=) ∷ SigningKeyFile → SigningKeyFile → Bool Source # | |
Ord SigningKeyFile Source # | |
Defined in Bcc.CLI.Types compare ∷ SigningKeyFile → SigningKeyFile → Ordering Source # (<) ∷ SigningKeyFile → SigningKeyFile → Bool Source # (<=) ∷ SigningKeyFile → SigningKeyFile → Bool Source # (>) ∷ SigningKeyFile → SigningKeyFile → Bool Source # (>=) ∷ SigningKeyFile → SigningKeyFile → Bool Source # max ∷ SigningKeyFile → SigningKeyFile → SigningKeyFile Source # min ∷ SigningKeyFile → SigningKeyFile → SigningKeyFile Source # | |
Show SigningKeyFile Source # | |
Defined in Bcc.CLI.Types | |
IsString SigningKeyFile Source # | |
Defined in Bcc.CLI.Types |
newtype SocketPath Source #
newtype ScriptFile Source #
Instances
Eq ScriptFile Source # | |
Defined in Bcc.CLI.Types (==) ∷ ScriptFile → ScriptFile → Bool Source # (/=) ∷ ScriptFile → ScriptFile → Bool Source # | |
Show ScriptFile Source # | |
Defined in Bcc.CLI.Types |
data ScriptDataOrFile Source #
ScriptDataFile FilePath | By reference to a file |
ScriptDataValue ScriptData | By value |
Instances
Eq ScriptDataOrFile Source # | |
Defined in Bcc.CLI.Types | |
Show ScriptDataOrFile Source # | |
Defined in Bcc.CLI.Types |
data ScriptWitnessFiles witctx where Source #
This type is like ScriptWitness
, but the file paths from which to load
the script witness data representation.
It is era-independent, but witness context-dependent.
SimpleScriptWitnessFile ∷ ScriptFile → ScriptWitnessFiles witctx | |
ZerepochScriptWitnessFiles ∷ ScriptFile → ScriptDatumOrFile witctx → ScriptRedeemerOrFile → ExecutionUnits → ScriptWitnessFiles witctx |
Instances
Show (ScriptWitnessFiles witctx) Source # | |
Defined in Bcc.CLI.Types |
data ScriptDatumOrFile witctx where Source #
ScriptDatumOrFileForTxIn ∷ ScriptDataOrFile → ScriptDatumOrFile WitCtxTxIn | |
NoScriptDatumOrFileForMint ∷ ScriptDatumOrFile WitCtxMint | |
NoScriptDatumOrFileForStake ∷ ScriptDatumOrFile WitCtxStake |
Instances
Show (ScriptDatumOrFile witctx) Source # | |
Defined in Bcc.CLI.Types |
data TransferDirection Source #
Determines the direction in which the MIR certificate will transfer BCC.
Instances
Show TransferDirection Source # | |
Defined in Bcc.CLI.Types |
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.
Instances
Eq TxOutAnyEra Source # | |
Defined in Bcc.CLI.Types (==) ∷ TxOutAnyEra → TxOutAnyEra → Bool Source # (/=) ∷ TxOutAnyEra → TxOutAnyEra → Bool Source # | |
Show TxOutAnyEra Source # | |
Defined in Bcc.CLI.Types |
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.
Instances
Eq TxOutChangeAddress Source # | |
Defined in Bcc.CLI.Types | |
Show TxOutChangeAddress Source # | |
Defined in Bcc.CLI.Types |
newtype UpdateProposalFile Source #
Instances
Eq UpdateProposalFile Source # | |
Defined in Bcc.CLI.Types | |
Show UpdateProposalFile Source # | |
Defined in Bcc.CLI.Types |
newtype VerificationKeyFile Source #
Instances
Eq VerificationKeyFile Source # | |
Defined in Bcc.CLI.Types | |
Show VerificationKeyFile Source # | |
Defined in Bcc.CLI.Types |
This data structure is used to allow nicely formatted output within the query stake-snapshot command.
"markPool", "setPool", "goPool" are the three ledger state stake snapshots (from most recent to least recent) go is the snapshot that is used for the current epoch, set will be used in the next epoch, mark for the epoch after that. "markTotal", "setTotal", "goTotal" record the total active stake for each snapshot.
This information can be used by community tools to calculate upcoming leader schedules.
Instances
Show Stakes Source # | |
ToJSON Stakes Source # | Pretty printing for stake information |
Defined in Bcc.CLI.Types toEncoding ∷ Stakes → Encoding # toJSONList ∷ [Stakes] → Value # toEncodingList ∷ [Stakes] → Encoding # |
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.
Params | |
|