bcc-cli-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.CLI.Types

Synopsis

Documentation

data BalanceTxExecUnits Source #

A flag that differentiates between automatically and manually balancing a tx.

Constructors

AutoBalance 
ManualBalance 

data CBORObject Source #

Specify what the CBOR file is i.e a block, a tx, etc

Instances

Instances details
Show CBORObject Source # 
Instance details

Defined in Bcc.CLI.Types

newtype GenesisFile Source #

Constructors

GenesisFile 

Instances

Instances details
Eq GenesisFile Source # 
Instance details

Defined in Bcc.CLI.Types

Ord GenesisFile Source # 
Instance details

Defined in Bcc.CLI.Types

Show GenesisFile Source # 
Instance details

Defined in Bcc.CLI.Types

IsString GenesisFile Source # 
Instance details

Defined in Bcc.CLI.Types

FromJSON GenesisFile Source # 
Instance details

Defined in Bcc.CLI.Types

Methods

parseJSON ∷ Value → Parser GenesisFile #

parseJSONList ∷ Value → Parser [GenesisFile] #

newtype VestedFile Source #

Constructors

VestedFile 

Instances

Instances details
Eq VestedFile Source # 
Instance details

Defined in Bcc.CLI.Types

Ord VestedFile Source # 
Instance details

Defined in Bcc.CLI.Types

Show VestedFile Source # 
Instance details

Defined in Bcc.CLI.Types

IsString VestedFile Source # 
Instance details

Defined in Bcc.CLI.Types

FromJSON VestedFile Source # 
Instance details

Defined in Bcc.CLI.Types

Methods

parseJSON ∷ Value → Parser VestedFile #

parseJSONList ∷ Value → Parser [VestedFile] #

data OutputFormat Source #

The desired output format.

Instances

Instances details
Eq OutputFormat Source # 
Instance details

Defined in Bcc.CLI.Types

Show OutputFormat Source # 
Instance details

Defined in Bcc.CLI.Types

newtype SocketPath Source #

Constructors

SocketPath 

newtype ScriptFile Source #

Constructors

ScriptFile 

Instances

Instances details
Eq ScriptFile Source # 
Instance details

Defined in Bcc.CLI.Types

Show ScriptFile Source # 
Instance details

Defined in Bcc.CLI.Types

data ScriptDataOrFile Source #

Constructors

ScriptDataFile FilePath

By reference to a file

ScriptDataValue ScriptData

By value

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.

Instances

Instances details
Show (ScriptWitnessFiles witctx) Source # 
Instance details

Defined in Bcc.CLI.Types

data TransferDirection Source #

Determines the direction in which the MIR certificate will transfer BCC.

Instances

Instances details
Show TransferDirection Source # 
Instance details

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

Instances details
Eq TxOutAnyEra Source # 
Instance details

Defined in Bcc.CLI.Types

Show TxOutAnyEra Source # 
Instance details

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.

data Stakes Source #

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.

Constructors

Stakes 

Instances

Instances details
Show Stakes Source # 
Instance details

Defined in Bcc.CLI.Types

ToJSON Stakes Source #

Pretty printing for stake information

Instance details

Defined in Bcc.CLI.Types

Methods

toJSONStakes → Value #

toEncodingStakes → Encoding #

toJSONList ∷ [Stakes] → Value #

toEncodingList ∷ [Stakes] → Encoding #

data Params crypto 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

Instances details
Show (Params crypto) Source # 
Instance details

Defined in Bcc.CLI.Types

Methods

showsPrecIntParams crypto → ShowS Source #

showParams crypto → String Source #

showList ∷ [Params crypto] → ShowS Source #

Crypto crypto ⇒ ToJSON (Params crypto) Source #

Pretty printing for pool parameters

Instance details

Defined in Bcc.CLI.Types

Methods

toJSONParams crypto → Value #

toEncodingParams crypto → Encoding #

toJSONList ∷ [Params crypto] → Value #

toEncodingList ∷ [Params crypto] → Encoding #