haskoin-store-1.5.14: Storage and index for Bitcoin and Bitcoin Cash
Safe HaskellSafe-Inferred
LanguageHaskell2010

Haskoin.Store.Database.Types

Synopsis

Documentation

data AddrTxKey Source #

Database key for an address transaction.

Constructors

AddrTxKey

key for a transaction affecting an address

Fields

AddrTxKeyA

short key that matches all entries

Fields

AddrTxKeyB 

Fields

AddrTxKeyS 

Instances

Instances details
Generic AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep AddrTxKey :: Type -> Type #

Show AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue AddrTxKey () Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep AddrTxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep AddrTxKey = D1 ('MetaData "AddrTxKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) ((C1 ('MetaCons "AddrTxKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "tx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxRef)) :+: C1 ('MetaCons "AddrTxKeyA" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address))) :+: (C1 ('MetaCons "AddrTxKeyB" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "block") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef)) :+: C1 ('MetaCons "AddrTxKeyS" 'PrefixI 'False) (U1 :: Type -> Type)))

data AddrOutKey Source #

Database key for an address output.

Constructors

AddrOutKey

full key

AddrOutKeyA

short key for all spent or unspent outputs

Fields

AddrOutKeyB 

Fields

AddrOutKeyS 

Instances

Instances details
Generic AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep AddrOutKey :: Type -> Type #

Read AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue AddrOutKey OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep AddrOutKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep AddrOutKey = D1 ('MetaData "AddrOutKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) ((C1 ('MetaCons "AddrOutKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: (S1 ('MetaSel ('Just "block") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: S1 ('MetaSel ('Just "outpoint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OutPoint))) :+: C1 ('MetaCons "AddrOutKeyA" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address))) :+: (C1 ('MetaCons "AddrOutKeyB" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "block") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef)) :+: C1 ('MetaCons "AddrOutKeyS" 'PrefixI 'False) (U1 :: Type -> Type)))

data BestKey Source #

Key for best block in database.

Constructors

BestKey 

Instances

Instances details
Generic BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep BestKey :: Type -> Type #

Methods

from :: BestKey -> Rep BestKey x #

to :: Rep BestKey x -> BestKey #

Read BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

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

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

Ord BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> BestKey -> Int #

hash :: BestKey -> Int #

Key BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue BestKey BlockHash Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BestKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BestKey = D1 ('MetaData "BestKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "BestKey" 'PrefixI 'False) (U1 :: Type -> Type))

newtype BlockKey Source #

Block entry database key.

Constructors

BlockKey 

Fields

Instances

Instances details
Generic BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep BlockKey :: Type -> Type #

Methods

from :: BlockKey -> Rep BlockKey x #

to :: Rep BlockKey x -> BlockKey #

Read BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> BlockKey -> Int #

hash :: BlockKey -> Int #

Key BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue BlockKey BlockData Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BlockKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BlockKey = D1 ('MetaData "BlockKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'True) (C1 ('MetaCons "BlockKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockHash)))

data BalKey Source #

Address balance database key.

Constructors

BalKey 

Fields

BalKeyS 

Instances

Instances details
Generic BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep BalKey :: Type -> Type #

Methods

from :: BalKey -> Rep BalKey x #

to :: Rep BalKey x -> BalKey #

Read BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

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

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

Ord BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> BalKey -> Int #

hash :: BalKey -> Int #

Key BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue BalKey BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BalKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BalKey = D1 ('MetaData "BalKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "BalKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address)) :+: C1 ('MetaCons "BalKeyS" 'PrefixI 'False) (U1 :: Type -> Type))

newtype HeightKey Source #

Block height database key.

Constructors

HeightKey 

Fields

Instances

Instances details
Generic HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep HeightKey :: Type -> Type #

Read HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue HeightKey [BlockHash] Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep HeightKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep HeightKey = D1 ('MetaData "HeightKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'True) (C1 ('MetaCons "HeightKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockHeight)))

data MemKey Source #

Mempool transaction database key.

Constructors

MemKey 

Instances

Instances details
Read MemKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show MemKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize MemKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key MemKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue MemKey [(UnixTime, TxHash)] Source # 
Instance details

Defined in Haskoin.Store.Database.Types

data TxKey Source #

Transaction database key.

Constructors

TxKey 

Fields

TxKeyS 

Fields

Instances

Instances details
Generic TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep TxKey :: Type -> Type #

Methods

from :: TxKey -> Rep TxKey x #

to :: Rep TxKey x -> TxKey #

Read TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

showsPrec :: Int -> TxKey -> ShowS #

show :: TxKey -> String #

showList :: [TxKey] -> ShowS #

Serialize TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

put :: Putter TxKey #

get :: Get TxKey #

Eq TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

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

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

Ord TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

compare :: TxKey -> TxKey -> Ordering #

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

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

(>) :: TxKey -> TxKey -> Bool #

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

max :: TxKey -> TxKey -> TxKey #

min :: TxKey -> TxKey -> TxKey #

Hashable TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> TxKey -> Int #

hash :: TxKey -> Int #

Key TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue TxKey TxData Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep TxKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep TxKey = D1 ('MetaData "TxKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "TxKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "txid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash)) :+: C1 ('MetaCons "TxKeyS" 'PrefixI 'True) (S1 ('MetaSel ('Just "short") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Word32, Word16))))

data UnspentKey Source #

Unspent output database key.

Constructors

UnspentKey 

Fields

UnspentKeyS 

Fields

UnspentKeyB 

Instances

Instances details
Generic UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep UnspentKey :: Type -> Type #

Read UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue UnspentKey UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep UnspentKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep UnspentKey = D1 ('MetaData "UnspentKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "UnspentKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "outpoint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OutPoint)) :+: (C1 ('MetaCons "UnspentKeyS" 'PrefixI 'True) (S1 ('MetaSel ('Just "txid") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash)) :+: C1 ('MetaCons "UnspentKeyB" 'PrefixI 'False) (U1 :: Type -> Type)))

data VersionKey Source #

Key for database version.

Constructors

VersionKey 

Instances

Instances details
Generic VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep VersionKey :: Type -> Type #

Read VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Key VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue VersionKey Word32 Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep VersionKey Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep VersionKey = D1 ('MetaData "VersionKey" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "VersionKey" 'PrefixI 'False) (U1 :: Type -> Type))

data BalVal Source #

Constructors

BalVal 

Instances

Instances details
Generic BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep BalVal :: Type -> Type #

Methods

from :: BalVal -> Rep BalVal x #

to :: Rep BalVal x -> BalVal #

Read BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Default BalVal Source #

Default balance for an address.

Instance details

Defined in Haskoin.Store.Database.Types

Methods

def :: BalVal #

NFData BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

rnf :: BalVal -> () #

Eq BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

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

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

Ord BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> BalVal -> Int #

hash :: BalVal -> Int #

KeyValue BalKey BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BalVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep BalVal = D1 ('MetaData "BalVal" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "BalVal" 'PrefixI 'True) ((S1 ('MetaSel ('Just "confirmed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "unconfirmed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "utxo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "txs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "received") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))))

data UnspentVal Source #

Constructors

UnspentVal 

Fields

Instances

Instances details
Generic UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep UnspentVal :: Type -> Type #

Read UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

NFData UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

rnf :: UnspentVal -> () #

Eq UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Ord UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

KeyValue UnspentKey UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep UnspentVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep UnspentVal = D1 ('MetaData "UnspentVal" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "UnspentVal" 'PrefixI 'True) (S1 ('MetaSel ('Just "block") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))

data OutVal Source #

Constructors

OutVal 

Fields

Instances

Instances details
Generic OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Associated Types

type Rep OutVal :: Type -> Type #

Methods

from :: OutVal -> Rep OutVal x #

to :: Rep OutVal x -> OutVal #

Read OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Show OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Serialize OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Eq OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

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

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

Ord OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Hashable OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

Methods

hashWithSalt :: Int -> OutVal -> Int #

hash :: OutVal -> Int #

KeyValue AddrOutKey OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep OutVal Source # 
Instance details

Defined in Haskoin.Store.Database.Types

type Rep OutVal = D1 ('MetaData "OutVal" "Haskoin.Store.Database.Types" "haskoin-store-1.5.14-FajwE6bbLJ1FVgw1ZfEXwb" 'False) (C1 ('MetaCons "OutVal" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))