btc-lsp-0.1.0.0: Lightning service provider
Safe HaskellSafe-Inferred
LanguageHaskell2010

BtcLsp.Math.Swap

Documentation

data SwapCap Source #

Constructors

SwapCap 

Instances

Instances details
Out SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

Methods

docPrec :: Int -> SwapCap -> Doc #

doc :: SwapCap -> Doc #

docList :: [SwapCap] -> Doc #

Generic SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

Associated Types

type Rep SwapCap :: Type -> Type #

Methods

from :: SwapCap -> Rep SwapCap x #

to :: Rep SwapCap x -> SwapCap #

Show SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

Eq SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

Methods

(==) :: SwapCap -> SwapCap -> Bool #

(/=) :: SwapCap -> SwapCap -> Bool #

Ord SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

type Rep SwapCap Source # 
Instance details

Defined in BtcLsp.Math.Swap

type Rep SwapCap = D1 ('MetaData "SwapCap" "BtcLsp.Math.Swap" "btc-lsp-0.1.0.0-inplace" 'False) (C1 ('MetaCons "SwapCap" 'PrefixI 'True) (S1 ('MetaSel ('Just "swapCapUsr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Money 'Usr 'Ln 'Fund)) :*: (S1 ('MetaSel ('Just "swapCapLsp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Money 'Lsp 'Ln 'Fund)) :*: S1 ('MetaSel ('Just "swapCapFee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Money 'Lsp 'OnChain 'Gain)))))