clplug-0.1.0.0: Create Core Lightning Plugins
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Lightning.Notifications

Documentation

data ChannelOpened Source #

Instances

Instances details
FromJSON ChannelOpened Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic ChannelOpened Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep ChannelOpened :: Type -> Type #

type Rep ChannelOpened Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep ChannelOpened = D1 ('MetaData "ChannelOpened" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "ChannelOpened" 'PrefixI 'True) ((S1 ('MetaSel ('Just "___id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "funding_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "funding_txid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "channel_ready") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))

data ChannelOpenFailed Source #

Constructors

ChannelOpenFailed 

Fields

Instances

Instances details
FromJSON ChannelOpenFailed Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic ChannelOpenFailed Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep ChannelOpenFailed :: Type -> Type #

type Rep ChannelOpenFailed Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep ChannelOpenFailed = D1 ('MetaData "ChannelOpenFailed" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "ChannelOpenFailed" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data ChannelStateChanged Source #

Instances

Instances details
FromJSON ChannelStateChanged Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic ChannelStateChanged Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep ChannelStateChanged :: Type -> Type #

type Rep ChannelStateChanged Source # 
Instance details

Defined in Data.Lightning.Notifications

data Connect Source #

Constructors

Connect 

Fields

Instances

Instances details
FromJSON Connect Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic Connect Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep Connect :: Type -> Type #

Methods

from :: Connect -> Rep Connect x #

to :: Rep Connect x -> Connect #

type Rep Connect Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Connect = D1 ('MetaData "Connect" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Connect" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data Disconnect Source #

Constructors

Disconnect 

Fields

Instances

Instances details
FromJSON Disconnect Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic Disconnect Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep Disconnect :: Type -> Type #

type Rep Disconnect Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Disconnect = D1 ('MetaData "Disconnect" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Disconnect" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data InvoiceCreation Source #

Constructors

InvoiceCreation 

Fields

Instances

Instances details
FromJSON InvoiceCreation Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic InvoiceCreation Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep InvoiceCreation :: Type -> Type #

type Rep InvoiceCreation Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep InvoiceCreation = D1 ('MetaData "InvoiceCreation" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "InvoiceCreation" 'PrefixI 'True) (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "preimage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "amount_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat))))

data Warning Source #

Constructors

Warning 

Fields

Instances

Instances details
FromJSON Warning Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic Warning Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep Warning :: Type -> Type #

Methods

from :: Warning -> Rep Warning x #

to :: Rep Warning x -> Warning #

type Rep Warning Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Warning = D1 ('MetaData "Warning" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Warning" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "log") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data ForwardEvent Source #

Instances

Instances details
FromJSON ForwardEvent Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic ForwardEvent Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep ForwardEvent :: Type -> Type #

type Rep ForwardEvent Source # 
Instance details

Defined in Data.Lightning.Notifications

data SendPaySuccess Source #

Instances

Instances details
FromJSON SendPaySuccess Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic SendPaySuccess Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep SendPaySuccess :: Type -> Type #

type Rep SendPaySuccess Source # 
Instance details

Defined in Data.Lightning.Notifications

data SendPayFailure Source #

Constructors

SendPayFailure 

Fields

Instances

Instances details
FromJSON SendPayFailure Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic SendPayFailure Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep SendPayFailure :: Type -> Type #

type Rep SendPayFailure Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep SendPayFailure = D1 ('MetaData "SendPayFailure" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "SendPayFailure" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SPFData))))

data SPFData Source #

Instances

Instances details
FromJSON SPFData Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic SPFData Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep SPFData :: Type -> Type #

Methods

from :: SPFData -> Rep SPFData x #

to :: Rep SPFData x -> SPFData #

type Rep SPFData Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep SPFData = D1 ('MetaData "SPFData" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "SPFData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "payment_hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "amount_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: (S1 ('MetaSel ('Just "amount_sent_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: S1 ('MetaSel ('Just "created_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "erring_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "failcode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "failcodename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "erring_node") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "erring_channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "erring_direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))))

data CoinMovement Source #

Instances

Instances details
FromJSON CoinMovement Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic CoinMovement Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep CoinMovement :: Type -> Type #

Show CoinMovement Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep CoinMovement Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep CoinMovement = D1 ('MetaData "CoinMovement" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "CoinMovement" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "node_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "__type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "account_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "originating_account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "txid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "utxo_txid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "part_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "payment_hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "credit_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "debit_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "output_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "output_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "fees_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just "blockheight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "coin_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))))

data BalanceSnapshot Source #

Constructors

BalanceSnapshot 

Instances

Instances details
FromJSON BalanceSnapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic BalanceSnapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep BalanceSnapshot :: Type -> Type #

Show BalanceSnapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep BalanceSnapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep BalanceSnapshot = D1 ('MetaData "BalanceSnapshot" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "BalanceSnapshot" 'PrefixI 'True) (S1 ('MetaSel ('Just "balance_snapshots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Snapshot])))

data Snapshot Source #

Constructors

Snapshot 

Instances

Instances details
FromJSON Snapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic Snapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep Snapshot :: Type -> Type #

Methods

from :: Snapshot -> Rep Snapshot x #

to :: Rep Snapshot x -> Snapshot #

Show Snapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Snapshot Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Snapshot = D1 ('MetaData "Snapshot" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Snapshot" 'PrefixI 'True) ((S1 ('MetaSel ('Just "node_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "blockheight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Saccount))))

data Saccount Source #

Constructors

Saccount 

Instances

Instances details
FromJSON Saccount Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic Saccount Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep Saccount :: Type -> Type #

Methods

from :: Saccount -> Rep Saccount x #

to :: Rep Saccount x -> Saccount #

Show Saccount Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Saccount Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep Saccount = D1 ('MetaData "Saccount" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Saccount" 'PrefixI 'True) (S1 ('MetaSel ('Just "account_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "balance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "coin_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data BlockAdded Source #

Constructors

BlockAdded 

Fields

Instances

Instances details
FromJSON BlockAdded Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic BlockAdded Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep BlockAdded :: Type -> Type #

type Rep BlockAdded Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep BlockAdded = D1 ('MetaData "BlockAdded" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "BlockAdded" 'PrefixI 'True) (S1 ('MetaSel ('Just "hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data OpenChannelPeerSigs Source #

Constructors

OpenChannelPeerSigs 

Instances

Instances details
FromJSON OpenChannelPeerSigs Source # 
Instance details

Defined in Data.Lightning.Notifications

Generic OpenChannelPeerSigs Source # 
Instance details

Defined in Data.Lightning.Notifications

Associated Types

type Rep OpenChannelPeerSigs :: Type -> Type #

type Rep OpenChannelPeerSigs Source # 
Instance details

Defined in Data.Lightning.Notifications

type Rep OpenChannelPeerSigs = D1 ('MetaData "OpenChannelPeerSigs" "Data.Lightning.Notifications" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "OpenChannelPeerSigs" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "signed_psbt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))