bcc-cli-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.CLI.Cole.Tx

Synopsis

Documentation

newtype TxFile Source #

Constructors

TxFile FilePath 

Instances

Instances details
Eq TxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

Methods

(==)TxFileTxFileBool Source #

(/=)TxFileTxFileBool Source #

Ord TxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

Show TxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

IsString TxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

newtype NewTxFile Source #

Constructors

NewTxFile FilePath 

Instances

Instances details
Eq NewTxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

Ord NewTxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

Show NewTxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

IsString NewTxFile Source # 
Instance details

Defined in Bcc.CLI.Cole.Tx

prettyAddressAddress ColeAddrText Source #

Pretty-print an address in its Base58 form, and also its full structure.

normalColeTxToGenTx ∷ ATxAux ByteString → GenTx ColeBlock Source #

The GenTx is all the kinds of transactions that can be submitted and "normal" Cole transactions are just one of the kinds.

txSpendGenesisUTxOColePBFT ∷ Config → NetworkIdSomeColeSigningKeyAddress ColeAddr → [TxOut ColeEra] → Tx ColeEra Source #

Generate a transaction spending genesis UTxO at a given address, to given outputs, signed by the given key.

txSpendUTxOColePBFTNetworkIdSomeColeSigningKey → [TxIn] → [TxOut ColeEra] → Tx ColeEra Source #

Generate a transaction from given Tx inputs to outputs, signed by the given key.

nodeSubmitTxNetworkId → GenTx ColeBlock → ExceptT ColeTxError IO () Source #

Submit a transaction to a node specified by topology info.

fromCborTxAuxByteStringEither DecoderError (ATxAux ByteString) Source #

data ScriptValidity Source #

Indicates whether a script is expected to fail or pass validation.

Constructors

ScriptInvalid

Script is expected to fail validation. Transactions marked as such can include scripts that fail validation. Such transactions may be submitted to the chain, in which case the collateral will be taken upon on chain script validation failure.

ScriptValid

Script is expected to pass validation. Transactions marked as such cannot include scripts that fail validation.

Instances

Instances details
Eq ScriptValidity 
Instance details

Defined in Bcc.Api.TxBody

Show ScriptValidity 
Instance details

Defined in Bcc.Api.TxBody

ToCBOR ScriptValidity 
Instance details

Defined in Bcc.Api.TxBody

Methods

toCBORScriptValidity → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ScriptValidity → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ScriptValidity] → Size #

FromCBOR ScriptValidity 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromCBOR ∷ Decoder s ScriptValidity #

labelProxy ScriptValidityText #