plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Plutus.PAB.Webserver.Types

Synopsis

Documentation

data ContractReport t Source #

Instances

Instances details
Eq t => Eq ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show t => Show ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON t => ToJSON ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON t => FromJSON ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema t => ToSchema ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractReport t) = D1 (' MetaData "ContractReport" "Plutus.PAB.Webserver.Types" "plutus-pab-1.2.0.0-CtfsFiD4ohhEkbPm9mkCAB" ' False ) ( C1 (' MetaCons "ContractReport" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "crAvailableContracts") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 [ ContractSignatureResponse t]) :*: S1 (' MetaSel (' Just "crActiveContractStates") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 [( ContractInstanceId , PartiallyDecodedResponse PABReq)])))

data ChainReport Source #

Constructors

ChainReport

Fields

Instances

Instances details
Eq ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ChainReport Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ChainReport = D1 (' MetaData "ChainReport" "Plutus.PAB.Webserver.Types" "plutus-pab-1.2.0.0-CtfsFiD4ohhEkbPm9mkCAB" ' False ) ( C1 (' MetaCons "ChainReport" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "transactionMap") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ( Map TxId CardanoTx)) :*: ( S1 (' MetaSel (' Just "utxoIndex") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 UtxoIndex) :*: S1 (' MetaSel (' Just "annotatedBlockchain") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 [[AnnotatedTx]]))))

data FullReport t Source #

Instances

Instances details
Eq t => Eq ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show t => Show ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Associated Types

type Rep ( FullReport t) :: Type -> Type Source #

ToJSON t => ToJSON ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON t => FromJSON ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema t => ToSchema ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( FullReport t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( FullReport t) = D1 (' MetaData "FullReport" "Plutus.PAB.Webserver.Types" "plutus-pab-1.2.0.0-CtfsFiD4ohhEkbPm9mkCAB" ' False ) ( C1 (' MetaCons "FullReport" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "contractReport") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ( ContractReport t)) :*: S1 (' MetaSel (' Just "chainReport") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ChainReport )))

newtype ContractSignatureResponse t Source #

Instances

Instances details
Eq t => Eq ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show t => Show ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON t => ToJSON ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON t => FromJSON ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema t => ToSchema ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractSignatureResponse t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractSignatureResponse t) = D1 (' MetaData "ContractSignatureResponse" "Plutus.PAB.Webserver.Types" "plutus-pab-1.2.0.0-CtfsFiD4ohhEkbPm9mkCAB" ' True ) ( C1 (' MetaCons "ContractSignatureResponse" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "csrDefinition") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 t)))

data ContractActivationArgs t Source #

Data needed to start a new instance of a contract.

Constructors

ContractActivationArgs

Fields

  • caID :: t

    ID of the contract

  • caWallet :: Maybe Wallet

    Wallet that should be used for this instance, `knownWallet 1` is used in the Nothing case.

Instances

Instances details
Eq t => Eq ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show t => Show ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON t => ToJSON ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON t => FromJSON ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema t => ToSchema ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Pretty t => Pretty ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractActivationArgs t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractActivationArgs t) = D1 (' MetaData "ContractActivationArgs" "Plutus.PAB.Webserver.Types" "plutus-pab-1.2.0.0-CtfsFiD4ohhEkbPm9mkCAB" ' False ) ( C1 (' MetaCons "ContractActivationArgs" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "caID") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 t) :*: S1 (' MetaSel (' Just "caWallet") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ( Maybe Wallet))))

data ContractInstanceClientState t Source #

Current state of a contract instance (to be sent to external clients)

Instances

Instances details
Eq t => Eq ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show t => Show ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON t => ToJSON ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON t => FromJSON ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToSchema t => ToSchema ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ( ContractInstanceClientState t) Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

data InstanceStatusToClient Source #

Status updates for contract instances streamed to client

Constructors

NewObservableState Value

The observable state of the contract has changed.

NewActiveEndpoints [ActiveEndpoint]

The set of active endpoints has changed.

NewYieldedExportTxs [ ExportTx ]

Partial txs that need to be balanced, signed and submitted by an external client.

ContractFinished ( Maybe Value )

Contract instance is done with an optional error message.

Instances

Instances details
Eq InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep InstanceStatusToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

data CombinedWSStreamToClient Source #

Data sent to the client through the combined websocket API

Instances

Instances details
Eq CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep CombinedWSStreamToClient Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

data CombinedWSStreamToServer Source #

Instructions sent to the server through the combined websocket API

Instances

Instances details
Eq CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Show CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Generic CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

ToJSON CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

FromJSON CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep CombinedWSStreamToServer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

Orphan instances

ToSchema Lovelace Source #
Instance details

ToSchema Quantity Source #
Instance details

ToSchema PolicyId Source #
Instance details

ToSchema AssetName Source #
Instance details

ToSchema ScriptHash Source #
Instance details

ToSchema TxId Source #
Instance details

ToSchema TxIx Source #
Instance details

ToSchema POSIXTime Source #
Instance details

ToSchema WalletId Source #
Instance details

ToSchema CardanoBuildTx Source #
Instance details

ToSchema DCert Source #
Instance details

ToSchema LedgerBytes Source #
Instance details

ToSchema PaymentPubKeyHash Source #
Instance details

ToSchema UnbalancedTx Source #
Instance details

ToSchema UtxoIndex Source #
Instance details

ToSchema TxOut Source #
Instance details

ToSchema PubKey Source #
Instance details

ToSchema Signature Source #
Instance details

ToSchema Certificate Source #
Instance details

ToSchema TxInput Source #
Instance details

ToSchema TxInputType Source #
Instance details

ToSchema Withdrawal Source #
Instance details

ToSchema ExportTxInput Source #
Instance details

ToSchema ExportTx Source #
Instance details

ToSchema ExportTxRedeemer Source #
Instance details

ToSchema ActiveEndpoint Source #
Instance details

ToSchema ChainIndexQuery Source #
Instance details

ToSchema PABReq Source #
Instance details

ToSchema EndpointDescription Source #
Instance details

ToSchema ContractInstanceId Source #
Instance details

ToSchema ContractActivityStatus Source #
Instance details

ToSchema Wallet Source #
Instance details

ToSchema WalletId Source #
Instance details

ToSchema AnnotatedTx Source #
Instance details

ToSchema BeneficialOwner Source #
Instance details

ToSchema DereferencedInput Source #
Instance details

ToSchema SequenceId Source #
Instance details

ToSchema TxKey Source #
Instance details

ToSchema ( Hash ScriptData ) Source #
Instance details

ToSchema ( Digest Blake2b_160 ) Source #
Instance details

ToSchema ( Hash Blake2b_256 EraIndependentTxBody ) Source #
Instance details