plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Wallet.Mock.Types

Synopsis

effect type for the mock wallet

multiWallet :: forall a. forall effs. Member MultiWalletEffect effs => Wallet -> Eff ('(:) WalletEffect ('[] :: [Type -> Type])) a -> Eff effs a Source #

wallet log messages

data WalletMsg Source #

Instances

Instances details
Show WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Generic WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Associated Types

type Rep WalletMsg :: Type -> Type Source #

ToJSON WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

FromJSON WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Pretty WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Methods

pretty :: WalletMsg -> Doc ann Source #

prettyList :: [WalletMsg] -> Doc ann Source #

ToObject WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Methods

toObject :: TracingVerbosity -> WalletMsg -> Object

textTransformer :: WalletMsg -> Object -> Text

type Rep WalletMsg Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

type Rep WalletMsg = D1 ('MetaData "WalletMsg" "Cardano.Wallet.Mock.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "StartingWallet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Port)) :+: (C1 ('MetaCons "ChainClientMsg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Balancing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TxBalanceMsg))))

newtypes for convenience

newtype Port Source #

Constructors

Port Int 

Instances

Instances details
Eq Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Methods

(==) :: Port -> Port -> Bool Source #

(/=) :: Port -> Port -> Bool Source #

Num Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Show Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

ToJSON Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

FromJSON Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Pretty Port Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Methods

pretty :: Port -> Doc ann Source #

prettyList :: [Port] -> Doc ann Source #

newtype NodeClient Source #

Constructors

NodeClient ClientEnv 

Wallet info

data WalletInfo Source #

Information about an emulated wallet.

Constructors

WalletInfo 

Fields

Instances

Instances details
Show WalletInfo Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Generic WalletInfo Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

Associated Types

type Rep WalletInfo :: Type -> Type Source #

ToJSON WalletInfo Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

FromJSON WalletInfo Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

type Rep WalletInfo Source # 
Instance details

Defined in Cardano.Wallet.Mock.Types

type Rep WalletInfo = D1 ('MetaData "WalletInfo" "Cardano.Wallet.Mock.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "WalletInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "wiWallet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Wallet) :*: S1 ('MetaSel ('Just "wiPaymentPubKeyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PaymentPubKeyHash)))