plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Run.Command

Synopsis

Documentation

data ConfigCommand Source #

A command for which a config.yaml file is required

Constructors

Migrate 
StartNode

Run the mock node service

MockWallet

Run the mock wallet service

ChainIndex

Run the chain index service

ForkCommands [ConfigCommand]

Fork a list of commands

ContractState ContractInstanceId

Display the contract identified by ContractInstanceId

ReportContractHistory ContractInstanceId

Get the history of the contract identified by UUID

ReportAvailableContracts

Get all available contracts

ReportActiveContracts

Get active contracts

PABWebserver

Run the PAB webserver

Instances

Instances details
Eq ConfigCommand Source # 
Instance details

Defined in Plutus.PAB.Run.Command

Show ConfigCommand Source # 
Instance details

Defined in Plutus.PAB.Run.Command

Generic ConfigCommand Source # 
Instance details

Defined in Plutus.PAB.Run.Command

Associated Types

type Rep ConfigCommand :: Type -> Type Source #

ToJSON ConfigCommand Source # 
Instance details

Defined in Plutus.PAB.Run.Command

type Rep ConfigCommand Source # 
Instance details

Defined in Plutus.PAB.Run.Command

type Rep ConfigCommand = D1 ('MetaData "ConfigCommand" "Plutus.PAB.Run.Command" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (((C1 ('MetaCons "Migrate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StartNode" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MockWallet" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ChainIndex" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForkCommands" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ConfigCommand]))))) :+: ((C1 ('MetaCons "ContractState" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContractInstanceId)) :+: C1 ('MetaCons "ReportContractHistory" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContractInstanceId))) :+: (C1 ('MetaCons "ReportAvailableContracts" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReportActiveContracts" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PABWebserver" 'PrefixI 'False) (U1 :: Type -> Type)))))

allServices :: ConfigCommand Source #

A single command to the PAB that spins up all the necessary services.