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

BtcLsp.Math.OnChain

Documentation

newtype InQty Source #

Constructors

InQty 

Fields

Instances

Instances details
Out InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

docPrec :: Int -> InQty -> Doc #

doc :: InQty -> Doc #

docList :: [InQty] -> Doc #

Generic InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Associated Types

type Rep InQty :: Type -> Type #

Methods

from :: InQty -> Rep InQty x #

to :: Rep InQty x -> InQty #

Num InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Show InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

showsPrec :: Int -> InQty -> ShowS #

show :: InQty -> String #

showList :: [InQty] -> ShowS #

Eq InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

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

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

Ord InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

compare :: InQty -> InQty -> Ordering #

(<) :: InQty -> InQty -> Bool #

(<=) :: InQty -> InQty -> Bool #

(>) :: InQty -> InQty -> Bool #

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

max :: InQty -> InQty -> InQty #

min :: InQty -> InQty -> InQty #

From InQty Natural Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

from :: InQty -> Natural

From Natural InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

from :: Natural -> InQty

type Rep InQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

type Rep InQty = D1 ('MetaData "InQty" "BtcLsp.Math.OnChain" "btc-lsp-0.1.0.0-inplace" 'True) (C1 ('MetaCons "InQty" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInQty") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

newtype OutQty Source #

Constructors

OutQty 

Fields

Instances

Instances details
Out OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

docPrec :: Int -> OutQty -> Doc #

doc :: OutQty -> Doc #

docList :: [OutQty] -> Doc #

Generic OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Associated Types

type Rep OutQty :: Type -> Type #

Methods

from :: OutQty -> Rep OutQty x #

to :: Rep OutQty x -> OutQty #

Num OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Show OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Eq OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

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

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

Ord OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

From OutQty Natural Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

from :: OutQty -> Natural

From Natural OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Methods

from :: Natural -> OutQty

type Rep OutQty Source # 
Instance details

Defined in BtcLsp.Math.OnChain

type Rep OutQty = D1 ('MetaData "OutQty" "BtcLsp.Math.OnChain" "btc-lsp-0.1.0.0-inplace" 'True) (C1 ('MetaCons "OutQty" 'PrefixI 'True) (S1 ('MetaSel ('Just "unOutQty") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

newtype SatPerVbyte Source #

Constructors

SatPerVbyte 

Instances

Instances details
Out SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Generic SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Associated Types

type Rep SatPerVbyte :: Type -> Type #

Num SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Show SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Eq SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

Ord SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

From SatPerVbyte (Ratio Natural) Source # 
Instance details

Defined in BtcLsp.Math.OnChain

From (Ratio Natural) SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

type Rep SatPerVbyte Source # 
Instance details

Defined in BtcLsp.Math.OnChain

type Rep SatPerVbyte = D1 ('MetaData "SatPerVbyte" "BtcLsp.Math.OnChain" "btc-lsp-0.1.0.0-inplace" 'True) (C1 ('MetaCons "SatPerVbyte" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSatPerVbyte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ratio Natural))))