zcash-haskell-0.7.0.1: Utilities to interact with the Zcash blockchain
Copyright2022-2024 Vergara Technologies
LicenseMIT
Maintainerpitmutt@vergara.tech
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZcashHaskell.Types

Description

The types used by the ZcashHaskell library to interact with the Zcash blockchain

Synopsis

General

newtype Seed #

A seed for generating private keys

Constructors

Seed ByteString 

Instances

Instances details
Generic Seed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep Seed :: Type -> Type #

Methods

from :: Seed -> Rep Seed x #

to :: Rep Seed x -> Seed #

Show Seed # 
Instance details

Defined in ZcashHaskell.Types

Methods

showsPrec :: Int -> Seed -> ShowS #

show :: Seed -> String #

showList :: [Seed] -> ShowS #

BorshSize Seed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize Seed :: KnownSize #

FromBorsh Seed # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh Seed # 
Instance details

Defined in ZcashHaskell.Types

Show Seed # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: Seed -> Value #

Generic Seed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code Seed :: [[Type]] #

Methods

from :: Seed -> Rep Seed #

to :: Rep Seed -> Seed #

HasDatatypeInfo Seed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf Seed :: DatatypeInfo #

Methods

datatypeInfo :: proxy Seed -> DatatypeInfo (Code Seed) #

Eq Seed # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

ToBytes Seed # 
Instance details

Defined in ZcashHaskell.Types

Methods

getBytes :: Seed -> ByteString #

type Rep Seed # 
Instance details

Defined in ZcashHaskell.Types

type Rep Seed = D1 ('MetaData "Seed" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'True) (C1 ('MetaCons "Seed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type StaticBorshSize Seed # 
Instance details

Defined in ZcashHaskell.Types

type Code Seed # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf Seed # 
Instance details

Defined in ZcashHaskell.Types

newtype Phrase #

A mnemonic phrase used to derive seeds

Constructors

Phrase ByteString 

Instances

Instances details
Generic Phrase # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep Phrase :: Type -> Type #

Methods

from :: Phrase -> Rep Phrase x #

to :: Rep Phrase x -> Phrase #

Read Phrase # 
Instance details

Defined in ZcashHaskell.Types

Show Phrase # 
Instance details

Defined in ZcashHaskell.Types

BorshSize Phrase # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize Phrase :: KnownSize #

FromBorsh Phrase # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh Phrase # 
Instance details

Defined in ZcashHaskell.Types

Show Phrase # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: Phrase -> Value #

Generic Phrase # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code Phrase :: [[Type]] #

Methods

from :: Phrase -> Rep Phrase #

to :: Rep Phrase -> Phrase #

HasDatatypeInfo Phrase # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf Phrase :: DatatypeInfo #

Eq Phrase # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

ToBytes Phrase # 
Instance details

Defined in ZcashHaskell.Types

type Rep Phrase # 
Instance details

Defined in ZcashHaskell.Types

type Rep Phrase = D1 ('MetaData "Phrase" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'True) (C1 ('MetaCons "Phrase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type StaticBorshSize Phrase # 
Instance details

Defined in ZcashHaskell.Types

type Code Phrase # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf Phrase # 
Instance details

Defined in ZcashHaskell.Types

data Scope #

Scope for addresses/receivers

Constructors

External

Addresses used publically to receive payments

Internal

Addresses used internally by wallets for change and shielding

Instances

Instances details
Read Scope # 
Instance details

Defined in ZcashHaskell.Types

Show Scope # 
Instance details

Defined in ZcashHaskell.Types

Methods

showsPrec :: Int -> Scope -> ShowS #

show :: Scope -> String #

showList :: [Scope] -> ShowS #

Eq Scope # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

data RawData #

Type to represent data after Bech32 decoding

Constructors

RawData 

Fields

Instances

Instances details
Generic RawData # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawData :: Type -> Type #

Methods

from :: RawData -> Rep RawData x #

to :: Rep RawData x -> RawData #

Show RawData # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawData # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawData :: KnownSize #

FromBorsh RawData # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawData # 
Instance details

Defined in ZcashHaskell.Types

Show RawData # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawData -> Value #

Generic RawData # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawData :: [[Type]] #

HasDatatypeInfo RawData # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawData :: DatatypeInfo #

type Rep RawData # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawData = D1 ('MetaData "RawData" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RawData" 'PrefixI 'True) (S1 ('MetaSel ('Just "hrp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "bytes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))
type StaticBorshSize RawData # 
Instance details

Defined in ZcashHaskell.Types

type Code RawData # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawData # 
Instance details

Defined in ZcashHaskell.Types

data ZcashNet #

Type for the different networks of the Zcash blockchain

Constructors

MainNet 
TestNet 
RegTestNet 

Instances

Instances details
FromJSON ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

ToJSON ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

Generic ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep ZcashNet :: Type -> Type #

Methods

from :: ZcashNet -> Rep ZcashNet x #

to :: Rep ZcashNet x -> ZcashNet #

Read ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

Show ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

Eq ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

type Rep ZcashNet # 
Instance details

Defined in ZcashHaskell.Types

type Rep ZcashNet = D1 ('MetaData "ZcashNet" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "MainNet" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TestNet" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RegTestNet" 'PrefixI 'False) (U1 :: Type -> Type)))

type AccountId = Int #

getTransparentPrefix :: ZcashNet -> TransparentType -> (Word8, Word8) #

Function to get the Base58 prefix for encoding a TransparentReceiver

Constants

data CoinType #

Type for coin types on the different networks

Instances

Instances details
Show CoinType # 
Instance details

Defined in ZcashHaskell.Types

Eq CoinType # 
Instance details

Defined in ZcashHaskell.Types

Ord CoinType # 
Instance details

Defined in ZcashHaskell.Types

fromRawTBundle :: RawTBundle -> Maybe TransparentBundle #

Read a raw transparent bundle into the Haskell type

Constants for Sapling Human-readable part

Constants for Unified Human-readable part

RPC

data RpcCall #

A type to model Zcash RPC calls

Constructors

RpcCall 

Fields

Instances

Instances details
ToJSON RpcCall # 
Instance details

Defined in ZcashHaskell.Types

Generic RpcCall # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RpcCall :: Type -> Type #

Methods

from :: RpcCall -> Rep RpcCall x #

to :: Rep RpcCall x -> RpcCall #

Show RpcCall # 
Instance details

Defined in ZcashHaskell.Types

type Rep RpcCall # 
Instance details

Defined in ZcashHaskell.Types

type Rep RpcCall = D1 ('MetaData "RpcCall" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RpcCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jsonrpc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "callId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Value]))))

data RpcResponse r #

A type to model the response of the Zcash RPC

Constructors

MakeRpcResponse 

Fields

Instances

Instances details
FromJSON r => FromJSON (RpcResponse r) # 
Instance details

Defined in ZcashHaskell.Types

ToJSON r => ToJSON (RpcResponse r) # 
Instance details

Defined in ZcashHaskell.Types

Generic (RpcResponse r) # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep (RpcResponse r) :: Type -> Type #

Methods

from :: RpcResponse r -> Rep (RpcResponse r) x #

to :: Rep (RpcResponse r) x -> RpcResponse r #

Show r => Show (RpcResponse r) # 
Instance details

Defined in ZcashHaskell.Types

type Rep (RpcResponse r) # 
Instance details

Defined in ZcashHaskell.Types

type Rep (RpcResponse r) = D1 ('MetaData "RpcResponse" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "MakeRpcResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "err") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe RpcError)) :*: (S1 ('MetaSel ('Just "respId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe r)))))

data RpcError #

A type to model the errors from the Zcash RPC

Constructors

RpcError 

Fields

Instances

Instances details
FromJSON RpcError # 
Instance details

Defined in ZcashHaskell.Types

ToJSON RpcError # 
Instance details

Defined in ZcashHaskell.Types

Generic RpcError # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RpcError :: Type -> Type #

Methods

from :: RpcError -> Rep RpcError x #

to :: Rep RpcError x -> RpcError #

Show RpcError # 
Instance details

Defined in ZcashHaskell.Types

type Rep RpcError # 
Instance details

Defined in ZcashHaskell.Types

type Rep RpcError = D1 ('MetaData "RpcError" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RpcError" 'PrefixI 'True) (S1 ('MetaSel ('Just "ecode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "emessage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

zcashd

data BlockResponse #

Type to represent response from the zcashd RPC getblock method

Constructors

BlockResponse 

Fields

zebrad

data RawZebraTx #

Type to represent a raw deserialized Zebra transaction

Instances

Instances details
Generic RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawZebraTx :: Type -> Type #

Show RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawZebraTx :: KnownSize #

FromBorsh RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Show RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawZebraTx -> Value #

Generic RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawZebraTx :: [[Type]] #

HasDatatypeInfo RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawZebraTx :: DatatypeInfo #

Eq RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

type Code RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawZebraTx # 
Instance details

Defined in ZcashHaskell.Types

data RawTBundle #

Type for a raw deserialized Zebra transparent bundle

Constructors

RawTBundle 

Instances

Instances details
Generic RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawTBundle :: Type -> Type #

Show RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawTBundle :: KnownSize #

FromBorsh RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Show RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawTBundle -> Value #

Generic RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawTBundle :: [[Type]] #

HasDatatypeInfo RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawTBundle :: DatatypeInfo #

Eq RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawTBundle = D1 ('MetaData "RawTBundle" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RawTBundle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ztb_empty") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "ztb_vin") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RawTxIn])) :*: (S1 ('MetaSel ('Just "ztb_vout") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RawTxOut]) :*: S1 ('MetaSel ('Just "ztb_coinbase") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))
type StaticBorshSize RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

type Code RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawTBundle # 
Instance details

Defined in ZcashHaskell.Types

data RawSBundle #

Type for a raw deserialized Zebra Sapling bundle

Instances

Instances details
Generic RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawSBundle :: Type -> Type #

Show RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawSBundle :: KnownSize #

FromBorsh RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Show RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawSBundle -> Value #

Generic RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawSBundle :: [[Type]] #

HasDatatypeInfo RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawSBundle :: DatatypeInfo #

Eq RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

type Code RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawSBundle # 
Instance details

Defined in ZcashHaskell.Types

data SaplingBundle #

Instances

Instances details
ToJSON SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

Generic SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep SaplingBundle :: Type -> Type #

Read SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

Show SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

Eq SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep SaplingBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep SaplingBundle = D1 ('MetaData "SaplingBundle" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "SaplingBundle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sbSpends") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ShieldedSpend]) :*: S1 ('MetaSel ('Just "sbOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ShieldedOutput])) :*: (S1 ('MetaSel ('Just "sbValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "sbSig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))

data RawOBundle #

Type for a raw deseralized Zebra Orchard bundle

Instances

Instances details
Generic RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawOBundle :: Type -> Type #

Show RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawOBundle :: KnownSize #

FromBorsh RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Show RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawOBundle -> Value #

Generic RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawOBundle :: [[Type]] #

HasDatatypeInfo RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawOBundle :: DatatypeInfo #

Eq RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

type Code RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawOBundle # 
Instance details

Defined in ZcashHaskell.Types

data OrchardBundle #

Type for an Orchard Bundle

Instances

Instances details
ToJSON OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep OrchardBundle :: Type -> Type #

Read OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

Eq OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardBundle # 
Instance details

Defined in ZcashHaskell.Types

data OrchardFlags #

Type for the Orchard bundle flags

Constructors

OrchardFlags 

Fields

Instances

Instances details
ToJSON OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep OrchardFlags :: Type -> Type #

Read OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

BorshSize OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize OrchardFlags :: KnownSize #

FromBorsh OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code OrchardFlags :: [[Type]] #

HasDatatypeInfo OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf OrchardFlags :: DatatypeInfo #

Eq OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardFlags = D1 ('MetaData "OrchardFlags" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "OrchardFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "of_spends") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "of_outputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))
type StaticBorshSize OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

type Code OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf OrchardFlags # 
Instance details

Defined in ZcashHaskell.Types

data ZebraGetInfo #

Type for the response from the zebrad RPC method getinfo

Constructors

ZebraGetInfo 

Transparent

data TransparentType #

Type to represent the two kinds of transparent addresses

Constructors

P2SH 
P2PKH 

type TransparentSpendingKey = XPrvKey #

Type for transparent spending key

data RawTxIn #

Wrapper types for transparent elements

Instances

Instances details
Generic RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawTxIn :: Type -> Type #

Methods

from :: RawTxIn -> Rep RawTxIn x #

to :: Rep RawTxIn x -> RawTxIn #

Show RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawTxIn :: KnownSize #

FromBorsh RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Show RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawTxIn -> Value #

Generic RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawTxIn :: [[Type]] #

HasDatatypeInfo RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawTxIn :: DatatypeInfo #

Eq RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

type Rep RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawTxIn = D1 ('MetaData "RawTxIn" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RawTxIn" 'PrefixI 'True) (S1 ('MetaSel ('Just "rti_outpoint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawOutPoint) :*: (S1 ('MetaSel ('Just "rti_script") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "rti_seq") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))))
type StaticBorshSize RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

type Code RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawTxIn # 
Instance details

Defined in ZcashHaskell.Types

data RawTxOut #

Constructors

RawTxOut 

Instances

Instances details
Generic RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawTxOut :: Type -> Type #

Methods

from :: RawTxOut -> Rep RawTxOut x #

to :: Rep RawTxOut x -> RawTxOut #

Show RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawTxOut :: KnownSize #

FromBorsh RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Show RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawTxOut -> Value #

Generic RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawTxOut :: [[Type]] #

HasDatatypeInfo RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawTxOut :: DatatypeInfo #

Eq RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawTxOut = D1 ('MetaData "RawTxOut" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RawTxOut" 'PrefixI 'True) (S1 ('MetaSel ('Just "rto_amt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "rto_script") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))
type StaticBorshSize RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

type Code RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawTxOut # 
Instance details

Defined in ZcashHaskell.Types

data RawOutPoint #

Constructors

RawOutPoint 

Fields

Instances

Instances details
Generic RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawOutPoint :: Type -> Type #

Show RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

BorshSize RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawOutPoint :: KnownSize #

FromBorsh RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Show RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawOutPoint -> Value #

Generic RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawOutPoint :: [[Type]] #

HasDatatypeInfo RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawOutPoint :: DatatypeInfo #

Eq RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

type Rep RawOutPoint = D1 ('MetaData "RawOutPoint" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "RawOutPoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "rop_hash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "rop_n") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))
type StaticBorshSize RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

type Code RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawOutPoint # 
Instance details

Defined in ZcashHaskell.Types

Sapling

data ShieldedSpend #

Type to represent a Sapling Shielded Spend as provided by the getrawtransaction RPC method

Instances

Instances details
FromJSON ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

ToJSON ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Generic ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep ShieldedSpend :: Type -> Type #

Read ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Show ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

BorshSize ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize ShieldedSpend :: KnownSize #

FromBorsh ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Show ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Generic ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code ShieldedSpend :: [[Type]] #

HasDatatypeInfo ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf ShieldedSpend :: DatatypeInfo #

Eq ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

type Code ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf ShieldedSpend # 
Instance details

Defined in ZcashHaskell.Types

data ShieldedOutput #

Type to represent a Sapling Shielded Output as provided by the getrawtransaction RPC method of zcashd.

Constructors

ShieldedOutput 

Fields

Instances

Instances details
FromJSON ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

ToJSON ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Generic ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep ShieldedOutput :: Type -> Type #

Read ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Show ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

BorshSize ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize ShieldedOutput :: KnownSize #

FromBorsh ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Show ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Generic ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code ShieldedOutput :: [[Type]] #

HasDatatypeInfo ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

Eq ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

type Rep ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

type Code ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf ShieldedOutput # 
Instance details

Defined in ZcashHaskell.Types

newtype SaplingWitness #

Type for a Sapling incremental witness

Constructors

SaplingWitness 

Fields

Orchard

data RawUA #

Helper type for marshalling UAs

Constructors

RawUA 

Instances

Instances details
Generic RawUA # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep RawUA :: Type -> Type #

Methods

from :: RawUA -> Rep RawUA x #

to :: Rep RawUA x -> RawUA #

Show RawUA # 
Instance details

Defined in ZcashHaskell.Types

Methods

showsPrec :: Int -> RawUA -> ShowS #

show :: RawUA -> String #

showList :: [RawUA] -> ShowS #

BorshSize RawUA # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize RawUA :: KnownSize #

FromBorsh RawUA # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh RawUA # 
Instance details

Defined in ZcashHaskell.Types

Show RawUA # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: RawUA -> Value #

Generic RawUA # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code RawUA :: [[Type]] #

Methods

from :: RawUA -> Rep RawUA #

to :: Rep RawUA -> RawUA #

HasDatatypeInfo RawUA # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf RawUA :: DatatypeInfo #

Methods

datatypeInfo :: proxy RawUA -> DatatypeInfo (Code RawUA) #

Eq RawUA # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

type Rep RawUA # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize RawUA # 
Instance details

Defined in ZcashHaskell.Types

type Code RawUA # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf RawUA # 
Instance details

Defined in ZcashHaskell.Types

data ValidAddress #

A type to handle user-entered addresses

Instances

Instances details
Show ValidAddress # 
Instance details

Defined in ZcashHaskell.Types

Eq ValidAddress # 
Instance details

Defined in ZcashHaskell.Types

data UnifiedFullViewingKey #

Type to represent a Unified Full Viewing Key

Constructors

UnifiedFullViewingKey 

Fields

  • net :: !Word8

    Number representing the network the key belongs to. 1 for mainnet, 2 for testnet and 3 for regtestnet.

  • o_key :: !ByteString

    Raw bytes of the Orchard Full Viewing Key as specified in ZIP-316

  • s_key :: !ByteString

    Raw bytes of the Sapling Full Viewing Key as specified in ZIP-316

  • t_key :: !ByteString

    Raw bytes of the P2PKH chain code and public key as specified in ZIP-316

Instances

Instances details
Generic UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep UnifiedFullViewingKey :: Type -> Type #

Show UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

BorshSize UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

FromBorsh UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

Show UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

Generic UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code UnifiedFullViewingKey :: [[Type]] #

HasDatatypeInfo UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

Eq UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

type Rep UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

type Rep UnifiedFullViewingKey = D1 ('MetaData "UnifiedFullViewingKey" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "UnifiedFullViewingKey" 'PrefixI 'True) ((S1 ('MetaSel ('Just "net") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8) :*: S1 ('MetaSel ('Just "o_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "s_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "t_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))
type StaticBorshSize UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

type Code UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf UnifiedFullViewingKey # 
Instance details

Defined in ZcashHaskell.Types

data OrchardAction #

Type to represent an Orchard Action as provided by the getrawtransaction RPC method of zcashd, and defined in the Zcash Protocol

Constructors

OrchardAction 

Fields

Instances

Instances details
FromJSON OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

ToJSON OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep OrchardAction :: Type -> Type #

Read OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

BorshSize OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize OrchardAction :: KnownSize #

FromBorsh OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code OrchardAction :: [[Type]] #

HasDatatypeInfo OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf OrchardAction :: DatatypeInfo #

Eq OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

type Code OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf OrchardAction # 
Instance details

Defined in ZcashHaskell.Types

newtype OrchardWitness #

Type for a Sapling incremental witness

Constructors

OrchardWitness 

Fields

data DecodedNote #

Type to represent a decoded note

Constructors

DecodedNote 

Fields

Instances

Instances details
Generic DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep DecodedNote :: Type -> Type #

Show DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

BorshSize DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize DecodedNote :: KnownSize #

FromBorsh DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Show DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: DecodedNote -> Value #

Generic DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code DecodedNote :: [[Type]] #

HasDatatypeInfo DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf DecodedNote :: DatatypeInfo #

Eq DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

type Rep DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

type Code DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf DecodedNote # 
Instance details

Defined in ZcashHaskell.Types

data Rseed #

Constructors

Rseed 

Fields

Instances

Instances details
Generic Rseed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep Rseed :: Type -> Type #

Methods

from :: Rseed -> Rep Rseed x #

to :: Rep Rseed x -> Rseed #

Read Rseed # 
Instance details

Defined in ZcashHaskell.Types

Show Rseed # 
Instance details

Defined in ZcashHaskell.Types

Methods

showsPrec :: Int -> Rseed -> ShowS #

show :: Rseed -> String #

showList :: [Rseed] -> ShowS #

BorshSize Rseed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize Rseed :: KnownSize #

FromBorsh Rseed # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh Rseed # 
Instance details

Defined in ZcashHaskell.Types

Show Rseed # 
Instance details

Defined in ZcashHaskell.Types

Methods

toValue :: Rseed -> Value #

Generic Rseed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code Rseed :: [[Type]] #

Methods

from :: Rseed -> Rep Rseed #

to :: Rep Rseed -> Rseed #

HasDatatypeInfo Rseed # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf Rseed :: DatatypeInfo #

Methods

datatypeInfo :: proxy Rseed -> DatatypeInfo (Code Rseed) #

Eq Rseed # 
Instance details

Defined in ZcashHaskell.Types

Methods

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

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

type Rep Rseed # 
Instance details

Defined in ZcashHaskell.Types

type Rep Rseed = D1 ('MetaData "Rseed" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "Rseed" 'PrefixI 'True) (S1 ('MetaSel ('Just "rs_kind") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8) :*: S1 ('MetaSel ('Just "rs_bytes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))
type StaticBorshSize Rseed # 
Instance details

Defined in ZcashHaskell.Types

type Code Rseed # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf Rseed # 
Instance details

Defined in ZcashHaskell.Types

data TransparentTxSpend #

Instances

Instances details
Generic TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep TransparentTxSpend :: Type -> Type #

Show TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

BorshSize TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

FromBorsh TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Show TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Generic TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code TransparentTxSpend :: [[Type]] #

HasDatatypeInfo TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Eq TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep TransparentTxSpend = D1 ('MetaData "TransparentTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "TransparentTxSpend" 'PrefixI 'True) (S1 ('MetaSel ('Just "ts_sk") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "ts_utxo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawOutPoint) :*: S1 ('MetaSel ('Just "ts_coin") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawTxOut))))
type StaticBorshSize TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Code TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf TransparentTxSpend # 
Instance details

Defined in ZcashHaskell.Types

data SaplingTxSpend #

Instances

Instances details
Generic SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep SaplingTxSpend :: Type -> Type #

Show SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

BorshSize SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize SaplingTxSpend :: KnownSize #

FromBorsh SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Show SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Generic SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code SaplingTxSpend :: [[Type]] #

HasDatatypeInfo SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Eq SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep SaplingTxSpend = D1 ('MetaData "SaplingTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "SaplingTxSpend" 'PrefixI 'True) (S1 ('MetaSel ('Just "ss_sk") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "ss_note") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DecodedNote) :*: S1 ('MetaSel ('Just "ss_iw") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))
type StaticBorshSize SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Code SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf SaplingTxSpend # 
Instance details

Defined in ZcashHaskell.Types

data OrchardTxSpend #

Instances

Instances details
Generic OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep OrchardTxSpend :: Type -> Type #

Show OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

BorshSize OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize OrchardTxSpend :: KnownSize #

FromBorsh OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Show OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Generic OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code OrchardTxSpend :: [[Type]] #

HasDatatypeInfo OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

Eq OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Rep OrchardTxSpend = D1 ('MetaData "OrchardTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.7.0.1-inplace" 'False) (C1 ('MetaCons "OrchardTxSpend" 'PrefixI 'True) (S1 ('MetaSel ('Just "ss_sk") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "ss_note") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DecodedNote) :*: S1 ('MetaSel ('Just "ss_iw") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))
type StaticBorshSize OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type Code OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf OrchardTxSpend # 
Instance details

Defined in ZcashHaskell.Types

data OutgoingNote #

Instances

Instances details
Generic OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Rep OutgoingNote :: Type -> Type #

Show OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

BorshSize OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type StaticBorshSize OutgoingNote :: KnownSize #

FromBorsh OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

ToBorsh OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Show OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Generic OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type Code OutgoingNote :: [[Type]] #

HasDatatypeInfo OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Associated Types

type DatatypeInfoOf OutgoingNote :: DatatypeInfo #

Eq OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

type Rep OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

type StaticBorshSize OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

type Code OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

type DatatypeInfoOf OutgoingNote # 
Instance details

Defined in ZcashHaskell.Types

Classes

class ToBytes a where #

Class to represent types with a bytestring representation

Methods

getBytes :: a -> ByteString #

Instances

Instances details
ToBytes OrchardReceiver # 
Instance details

Defined in ZcashHaskell.Types

ToBytes OrchardSpendingKey # 
Instance details

Defined in ZcashHaskell.Types

ToBytes Phrase # 
Instance details

Defined in ZcashHaskell.Types

ToBytes SaplingReceiver # 
Instance details

Defined in ZcashHaskell.Types

ToBytes SaplingSpendingKey # 
Instance details

Defined in ZcashHaskell.Types

ToBytes Seed # 
Instance details

Defined in ZcashHaskell.Types

Methods

getBytes :: Seed -> ByteString #

Helpers

decodeHexText :: String -> ByteString #

Helper function to turn a hex-encoded string to bytestring