| Copyright | 2022-2024 Vergara Technologies |
|---|---|
| License | MIT |
| Maintainer | pitmutt@vergara.tech |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
ZcashHaskell.Types
Description
The types used by the ZcashHaskell library to interact with the Zcash blockchain
Synopsis
- newtype Seed = Seed ByteString
- newtype Phrase = Phrase ByteString
- data Scope
- data RawData = RawData {
- hrp :: !ByteString
- bytes :: !ByteString
- data ZcashNet
- = MainNet
- | TestNet
- | RegTestNet
- type AccountId = Int
- getTransparentPrefix :: ZcashNet -> TransparentType -> (Word8, Word8)
- data CoinType
- getValue :: CoinType -> Word32
- data Transaction = Transaction {
- tx_id :: !HexString
- tx_height :: !Int
- tx_conf :: !Int
- tx_expiry :: !Int
- tx_transpBundle :: !(Maybe TransparentBundle)
- tx_saplingBundle :: !(Maybe SaplingBundle)
- tx_orchardBundle :: !(Maybe OrchardBundle)
- data TransparentBundle = TransparentBundle {}
- fromRawTBundle :: RawTBundle -> Maybe TransparentBundle
- fromRawTxIn :: RawTxIn -> TxIn
- fromRawTxOut :: RawTxOut -> TxOut
- sapExtSpendingKeyHrp :: String
- sapExtFullViewingKeyHrp :: String
- sapPaymentAddressHrp :: String
- sapTestExtSpendingKeyHrp :: String
- sapTestExtFullViewingKeyHrp :: String
- sapTestPaymentAddressHrp :: String
- uniPaymentAddressHrp :: Text
- uniFullViewingKeyHrp :: Text
- uniIncomingViewingKeyHrp :: Text
- uniTestPaymentAddressHrp :: Text
- uniTestFullViewingKeyHrp :: Text
- uniTestIncomingViewingKeyHrp :: Text
- data RpcCall = RpcCall {}
- data RpcResponse r = MakeRpcResponse {}
- data RpcError = RpcError {}
- data BlockResponse = BlockResponse {}
- data RawTxResponse = RawTxResponse {
- rt_id :: !HexString
- rt_hex :: !HexString
- rt_shieldedSpends :: ![ShieldedSpend]
- rt_shieldedOutputs :: ![ShieldedOutput]
- rt_orchardActions :: ![OrchardAction]
- rt_blockheight :: !Integer
- rt_confirmations :: !Integer
- rt_blocktime :: !Integer
- data ZebraTxResponse = ZebraTxResponse {
- ztr_blockheight :: !Int
- ztr_conf :: !Int
- ztr_hex :: !HexString
- data RawZebraTx = RawZebraTx {
- zt_id :: !HexString
- zt_locktime :: !Word32
- zt_expiry :: !Word32
- zt_tBundle :: !RawTBundle
- zt_sBundle :: !RawSBundle
- zt_oBundle :: !RawOBundle
- data RawTBundle = RawTBundle {}
- data RawSBundle = RawSBundle {
- zsb_empty :: !Bool
- zsb_spends :: ![ShieldedSpend]
- zsb_outputs :: ![ShieldedOutput]
- zsb_value :: !Int64
- zsb_sig :: !HexString
- data SaplingBundle = SaplingBundle {
- sbSpends :: ![ShieldedSpend]
- sbOutputs :: ![ShieldedOutput]
- sbValue :: !Int64
- sbSig :: !HexString
- fromRawSBundle :: RawSBundle -> Maybe SaplingBundle
- data RawOBundle = RawOBundle {
- zob_empty :: !Bool
- zob_actions :: ![OrchardAction]
- zob_flags :: !OrchardFlags
- zob_value :: !Int64
- zob_anchor :: !HexString
- zob_proof :: !HexString
- zob_sig :: !HexString
- data OrchardBundle = OrchardBundle {
- obActions :: ![OrchardAction]
- obFlags :: !OrchardFlags
- obValue :: !Int64
- obAnchor :: !HexString
- obProof :: !HexString
- obSig :: !HexString
- fromRawOBundle :: RawOBundle -> Maybe OrchardBundle
- data OrchardFlags = OrchardFlags {
- of_spends :: !Bool
- of_outputs :: !Bool
- data ZebraGetInfo = ZebraGetInfo {
- zgi_build :: !Text
- zgi_subversion :: !Text
- data ZebraGetBlockChainInfo = ZebraGetBlockChainInfo {
- zgb_best :: !HexString
- zgb_blocks :: !Int
- zgb_net :: !ZcashNet
- data TransparentType
- type TransparentSpendingKey = XPrvKey
- data TransparentReceiver = TransparentReceiver {
- tr_type :: !TransparentType
- tr_bytes :: !HexString
- data TransparentAddress = TransparentAddress {}
- data ExchangeAddress = ExchangeAddress {}
- data RawTxIn = RawTxIn {
- rti_outpoint :: !RawOutPoint
- rti_script :: !ByteString
- rti_seq :: !Word32
- data RawTxOut = RawTxOut {
- rto_amt :: !Word64
- rto_script :: !ByteString
- data RawOutPoint = RawOutPoint {
- rop_hash :: !ByteString
- rop_n :: !Word32
- newtype SaplingSpendingKey = SaplingSpendingKey ByteString
- newtype SaplingReceiver = SaplingReceiver ByteString
- data SaplingAddress = SaplingAddress {}
- data ShieldedSpend = ShieldedSpend {}
- data ShieldedOutput = ShieldedOutput {
- s_cv :: !HexString
- s_cmu :: !HexString
- s_ephKey :: !HexString
- s_encCipherText :: !HexString
- s_outCipherText :: !HexString
- s_proof :: !HexString
- newtype SaplingCommitmentTree = SaplingCommitmentTree {
- sapTree :: HexString
- data SaplingRawTree = SaplingRawTree {
- srt_left :: !HexString
- srt_right :: !HexString
- srt_parents :: ![HexString]
- data SaplingTree = SaplingTree {}
- data SaplingFrontier = SaplingFrontier {}
- newtype SaplingWitness = SaplingWitness {
- sapWit :: HexString
- newtype OrchardSpendingKey = OrchardSpendingKey ByteString
- newtype OrchardReceiver = OrchardReceiver ByteString
- data UnifiedAddress = UnifiedAddress {
- ua_net :: !ZcashNet
- o_rec :: !(Maybe OrchardReceiver)
- s_rec :: !(Maybe SaplingReceiver)
- t_rec :: !(Maybe TransparentReceiver)
- data RawUA = RawUA {
- raw_net :: !Word8
- raw_o :: !ByteString
- raw_s :: !ByteString
- raw_t :: !ByteString
- raw_to :: !ByteString
- data ValidAddress
- data ValidVk
- data UnifiedFullViewingKey = UnifiedFullViewingKey {
- net :: !Word8
- o_key :: !ByteString
- s_key :: !ByteString
- t_key :: !ByteString
- data UnifiedIncomingViewingKey = UnifiedIncomingViewingKey {
- i_net :: !Word8
- i_o_key :: !ByteString
- i_s_key :: !ByteString
- i_t_key :: !ByteString
- data OrchardAction = OrchardAction {
- nf :: !HexString
- rk :: !HexString
- cmx :: !HexString
- eph_key :: !HexString
- enc_ciphertext :: !HexString
- out_ciphertext :: !HexString
- cv :: !HexString
- auth :: !HexString
- data MerklePath = MerklePath {
- mp_position :: !Int32
- mp_path :: ![HexString]
- newtype OrchardCommitmentTree = OrchardCommitmentTree {
- orchTree :: HexString
- data OrchardRawTree = OrchardRawTree {
- ort_left :: !HexString
- ort_right :: !HexString
- ort_parents :: ![HexString]
- data OrchardTree = OrchardTree {}
- data OrchardFrontier = OrchardFrontier {}
- newtype OrchardWitness = OrchardWitness {
- orchWit :: HexString
- data DecodedNote = DecodedNote {
- a_value :: !Int64
- a_recipient :: !ByteString
- a_memo :: !ByteString
- a_nullifier :: !HexString
- a_rho :: !ByteString
- a_rseed :: !Rseed
- data Rseed = Rseed {
- rs_kind :: !Word8
- rs_bytes :: !ByteString
- data TransparentTxSpend = TransparentTxSpend {
- ts_sk :: !ByteString
- ts_utxo :: !RawOutPoint
- ts_coin :: !RawTxOut
- data SaplingTxSpend = SaplingTxSpend {
- ss_sk :: !ByteString
- ss_note :: !DecodedNote
- ss_iw :: !MerklePath
- data OrchardTxSpend = OrchardTxSpend {
- ss_sk :: !ByteString
- ss_note :: !DecodedNote
- ss_iw :: !MerklePath
- data OutgoingNote = OutgoingNote {
- on_kind :: !Word8
- on_key :: !ByteString
- on_recipient :: !ByteString
- on_amt :: !Word64
- on_memo :: !ByteString
- on_chg :: !Bool
- newtype SaplingSpendParams = SaplingSpendParams {}
- newtype SaplingOutputParams = SaplingOutputParams {}
- data TxError
- class ToBytes a where
- getBytes :: a -> ByteString
- decodeHexText :: String -> ByteString
General
A seed for generating private keys
Constructors
| Seed ByteString |
Instances
A mnemonic phrase used to derive seeds
Constructors
| Phrase ByteString |
Instances
| BorshSize Phrase # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh Phrase # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s Phrase # | |||||
| ToBorsh Phrase # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show Phrase # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic Phrase # | |||||
| HasDatatypeInfo Phrase # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy Phrase -> DatatypeInfo (Code Phrase) # | |||||
| Generic Phrase # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read Phrase # | |||||
| Show Phrase # | |||||
| Eq Phrase # | |||||
| ToBytes Phrase # | |||||
Defined in ZcashHaskell.Types Methods getBytes :: Phrase -> ByteString # | |||||
| type StaticBorshSize Phrase # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code Phrase # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf Phrase # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep Phrase # | |||||
Defined in ZcashHaskell.Types type Rep Phrase = D1 ('MetaData "Phrase" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'True) (C1 ('MetaCons "Phrase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
Scope for addresses/receivers
Constructors
| External | Addresses used publically to receive payments |
| Internal | Addresses used internally by wallets for change and shielding |
Type to represent data after Bech32 decoding
Constructors
| RawData | |
Fields
| |
Instances
| BorshSize RawData # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh RawData # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawData # | |||||
| ToBorsh RawData # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawData # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic RawData # | |||||
| HasDatatypeInfo RawData # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawData -> DatatypeInfo (Code RawData) # | |||||
| Generic RawData # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawData # | |||||
| type StaticBorshSize RawData # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawData # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawData # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawData # | |||||
Defined in ZcashHaskell.Types type Rep RawData = D1 ('MetaData "RawData" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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 for the different networks of the Zcash blockchain
Constructors
| MainNet | |
| TestNet | |
| RegTestNet |
Instances
| FromJSON ZcashNet # | |||||
Defined in ZcashHaskell.Types | |||||
| ToJSON ZcashNet # | |||||
| Generic ZcashNet # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read ZcashNet # | |||||
| Show ZcashNet # | |||||
| Eq ZcashNet # | |||||
| type Rep ZcashNet # | |||||
Defined in ZcashHaskell.Types type Rep ZcashNet = D1 ('MetaData "ZcashNet" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))) | |||||
getTransparentPrefix :: ZcashNet -> TransparentType -> (Word8, Word8) #
Function to get the Base58 prefix for encoding a TransparentReceiver
Constants
Type for coin types on the different networks
Constructors
| MainNetCoin | |
| TestNetCoin | |
| RegTestNetCoin |
data Transaction #
A Zcash transaction
Constructors
| Transaction | |
Fields
| |
Instances
| ToJSON Transaction # | |
Defined in ZcashHaskell.Types Methods toJSON :: Transaction -> Value # toEncoding :: Transaction -> Encoding # toJSONList :: [Transaction] -> Value # toEncodingList :: [Transaction] -> Encoding # omitField :: Transaction -> Bool # | |
| Read Transaction # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS Transaction # readList :: ReadS [Transaction] # readPrec :: ReadPrec Transaction # readListPrec :: ReadPrec [Transaction] # | |
| Show Transaction # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> Transaction -> ShowS # show :: Transaction -> String # showList :: [Transaction] -> ShowS # | |
| Eq Transaction # | |
Defined in ZcashHaskell.Types | |
data TransparentBundle #
The transparent portion of a Zcash transaction
Constructors
| TransparentBundle | |
Instances
| ToJSON TransparentBundle # | |
Defined in ZcashHaskell.Types Methods toJSON :: TransparentBundle -> Value # toEncoding :: TransparentBundle -> Encoding # toJSONList :: [TransparentBundle] -> Value # toEncodingList :: [TransparentBundle] -> Encoding # omitField :: TransparentBundle -> Bool # | |
| Read TransparentBundle # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS TransparentBundle # readList :: ReadS [TransparentBundle] # | |
| Show TransparentBundle # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> TransparentBundle -> ShowS # show :: TransparentBundle -> String # showList :: [TransparentBundle] -> ShowS # | |
| Eq TransparentBundle # | |
Defined in ZcashHaskell.Types Methods (==) :: TransparentBundle -> TransparentBundle -> Bool # (/=) :: TransparentBundle -> TransparentBundle -> Bool # | |
fromRawTBundle :: RawTBundle -> Maybe TransparentBundle #
Read a raw transparent bundle into the Haskell type
fromRawTxIn :: RawTxIn -> TxIn #
fromRawTxOut :: RawTxOut -> TxOut #
Constants for Sapling Human-readable part
Constants for Unified Human-readable part
RPC
A type to model Zcash RPC calls
Instances
| ToJSON RpcCall # | |||||
| Generic RpcCall # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RpcCall # | |||||
| type Rep RpcCall # | |||||
Defined in ZcashHaskell.Types type Rep RpcCall = D1 ('MetaData "RpcCall" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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
Instances
| FromJSON r => FromJSON (RpcResponse r) # | |||||
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser (RpcResponse r) # parseJSONList :: Value -> Parser [RpcResponse r] # omittedField :: Maybe (RpcResponse r) # | |||||
| ToJSON r => ToJSON (RpcResponse r) # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: RpcResponse r -> Value # toEncoding :: RpcResponse r -> Encoding # toJSONList :: [RpcResponse r] -> Value # toEncodingList :: [RpcResponse r] -> Encoding # omitField :: RpcResponse r -> Bool # | |||||
| Generic (RpcResponse r) # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: RpcResponse r -> Rep (RpcResponse r) x # to :: Rep (RpcResponse r) x -> RpcResponse r # | |||||
| Show r => Show (RpcResponse r) # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RpcResponse r -> ShowS # show :: RpcResponse r -> String # showList :: [RpcResponse r] -> ShowS # | |||||
| type Rep (RpcResponse r) # | |||||
Defined in ZcashHaskell.Types type Rep (RpcResponse r) = D1 ('MetaData "RpcResponse" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))))) | |||||
A type to model the errors from the Zcash RPC
Instances
| FromJSON RpcError # | |||||
Defined in ZcashHaskell.Types | |||||
| ToJSON RpcError # | |||||
| Generic RpcError # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RpcError # | |||||
| type Rep RpcError # | |||||
Defined in ZcashHaskell.Types type Rep RpcError = D1 ('MetaData "RpcError" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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 | |
Instances
| FromJSON BlockResponse # | |
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser BlockResponse # parseJSONList :: Value -> Parser [BlockResponse] # | |
| ToJSON BlockResponse # | |
Defined in ZcashHaskell.Types Methods toJSON :: BlockResponse -> Value # toEncoding :: BlockResponse -> Encoding # toJSONList :: [BlockResponse] -> Value # toEncodingList :: [BlockResponse] -> Encoding # omitField :: BlockResponse -> Bool # | |
| Show BlockResponse # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> BlockResponse -> ShowS # show :: BlockResponse -> String # showList :: [BlockResponse] -> ShowS # | |
| Eq BlockResponse # | |
Defined in ZcashHaskell.Types Methods (==) :: BlockResponse -> BlockResponse -> Bool # (/=) :: BlockResponse -> BlockResponse -> Bool # | |
data RawTxResponse #
Type to represent response from the zcashd RPC getrawtransaction
Constructors
| RawTxResponse | |
Fields
| |
Instances
| FromJSON RawTxResponse # | |
Defined in ZcashHaskell.Sapling Methods parseJSON :: Value -> Parser RawTxResponse # parseJSONList :: Value -> Parser [RawTxResponse] # | |
| Read RawTxResponse # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS RawTxResponse # readList :: ReadS [RawTxResponse] # | |
| Show RawTxResponse # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawTxResponse -> ShowS # show :: RawTxResponse -> String # showList :: [RawTxResponse] -> ShowS # | |
| Eq RawTxResponse # | |
Defined in ZcashHaskell.Types Methods (==) :: RawTxResponse -> RawTxResponse -> Bool # (/=) :: RawTxResponse -> RawTxResponse -> Bool # | |
zebrad
data ZebraTxResponse #
Constructors
| ZebraTxResponse | |
Fields
| |
Instances
| FromJSON ZebraTxResponse # | |
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser ZebraTxResponse # parseJSONList :: Value -> Parser [ZebraTxResponse] # | |
| Read ZebraTxResponse # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS ZebraTxResponse # readList :: ReadS [ZebraTxResponse] # | |
| Show ZebraTxResponse # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ZebraTxResponse -> ShowS # show :: ZebraTxResponse -> String # showList :: [ZebraTxResponse] -> ShowS # | |
| Eq ZebraTxResponse # | |
Defined in ZcashHaskell.Types Methods (==) :: ZebraTxResponse -> ZebraTxResponse -> Bool # (/=) :: ZebraTxResponse -> ZebraTxResponse -> Bool # | |
data RawZebraTx #
Type to represent a raw deserialized Zebra transaction
Constructors
| RawZebraTx | |
Fields
| |
Instances
| BorshSize RawZebraTx # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy RawZebraTx -> Size (StaticBorshSize RawZebraTx) # | |||||
| FromBorsh RawZebraTx # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawZebraTx # | |||||
| ToBorsh RawZebraTx # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawZebraTx # | |||||
Defined in ZcashHaskell.Types Methods toValue :: RawZebraTx -> Value | |||||
| Generic RawZebraTx # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo RawZebraTx # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawZebraTx -> DatatypeInfo (Code RawZebraTx) # | |||||
| Generic RawZebraTx # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawZebraTx # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawZebraTx -> ShowS # show :: RawZebraTx -> String # showList :: [RawZebraTx] -> ShowS # | |||||
| Eq RawZebraTx # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize RawZebraTx # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawZebraTx # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawZebraTx # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawZebraTx # | |||||
Defined in ZcashHaskell.Types type Rep RawZebraTx = D1 ('MetaData "RawZebraTx" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "RawZebraTx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "zt_id") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "zt_locktime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "zt_expiry") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))) :*: (S1 ('MetaSel ('Just "zt_tBundle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawTBundle) :*: (S1 ('MetaSel ('Just "zt_sBundle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawSBundle) :*: S1 ('MetaSel ('Just "zt_oBundle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RawOBundle))))) | |||||
data RawTBundle #
Type for a raw deserialized Zebra transparent bundle
Constructors
| RawTBundle | |
Instances
| BorshSize RawTBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy RawTBundle -> Size (StaticBorshSize RawTBundle) # | |||||
| FromBorsh RawTBundle # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawTBundle # | |||||
| ToBorsh RawTBundle # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawTBundle # | |||||
Defined in ZcashHaskell.Types Methods toValue :: RawTBundle -> Value | |||||
| Generic RawTBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo RawTBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawTBundle -> DatatypeInfo (Code RawTBundle) # | |||||
| Generic RawTBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawTBundle # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawTBundle -> ShowS # show :: RawTBundle -> String # showList :: [RawTBundle] -> ShowS # | |||||
| Eq RawTBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize RawTBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawTBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawTBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawTBundle # | |||||
Defined in ZcashHaskell.Types type Rep RawTBundle = D1 ('MetaData "RawTBundle" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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)))) | |||||
data RawSBundle #
Type for a raw deserialized Zebra Sapling bundle
Constructors
| RawSBundle | |
Fields
| |
Instances
| BorshSize RawSBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy RawSBundle -> Size (StaticBorshSize RawSBundle) # | |||||
| FromBorsh RawSBundle # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawSBundle # | |||||
| ToBorsh RawSBundle # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawSBundle # | |||||
Defined in ZcashHaskell.Types Methods toValue :: RawSBundle -> Value | |||||
| Generic RawSBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo RawSBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawSBundle -> DatatypeInfo (Code RawSBundle) # | |||||
| Generic RawSBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawSBundle # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawSBundle -> ShowS # show :: RawSBundle -> String # showList :: [RawSBundle] -> ShowS # | |||||
| Eq RawSBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize RawSBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawSBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawSBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawSBundle # | |||||
Defined in ZcashHaskell.Types type Rep RawSBundle = D1 ('MetaData "RawSBundle" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "RawSBundle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "zsb_empty") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "zsb_spends") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ShieldedSpend])) :*: (S1 ('MetaSel ('Just "zsb_outputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ShieldedOutput]) :*: (S1 ('MetaSel ('Just "zsb_value") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "zsb_sig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
data SaplingBundle #
Constructors
| SaplingBundle | |
Fields
| |
Instances
| ToJSON SaplingBundle # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: SaplingBundle -> Value # toEncoding :: SaplingBundle -> Encoding # toJSONList :: [SaplingBundle] -> Value # toEncodingList :: [SaplingBundle] -> Encoding # omitField :: SaplingBundle -> Bool # | |||||
| Generic SaplingBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read SaplingBundle # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingBundle # readList :: ReadS [SaplingBundle] # | |||||
| Show SaplingBundle # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingBundle -> ShowS # show :: SaplingBundle -> String # showList :: [SaplingBundle] -> ShowS # | |||||
| Eq SaplingBundle # | |||||
Defined in ZcashHaskell.Types Methods (==) :: SaplingBundle -> SaplingBundle -> Bool # (/=) :: SaplingBundle -> SaplingBundle -> Bool # | |||||
| type Rep SaplingBundle # | |||||
Defined in ZcashHaskell.Types type Rep SaplingBundle = D1 ('MetaData "SaplingBundle" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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
Constructors
| RawOBundle | |
Fields
| |
Instances
| BorshSize RawOBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy RawOBundle -> Size (StaticBorshSize RawOBundle) # | |||||
| FromBorsh RawOBundle # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawOBundle # | |||||
| ToBorsh RawOBundle # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawOBundle # | |||||
Defined in ZcashHaskell.Types Methods toValue :: RawOBundle -> Value | |||||
| Generic RawOBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo RawOBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawOBundle -> DatatypeInfo (Code RawOBundle) # | |||||
| Generic RawOBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawOBundle # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawOBundle -> ShowS # show :: RawOBundle -> String # showList :: [RawOBundle] -> ShowS # | |||||
| Eq RawOBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize RawOBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawOBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawOBundle # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawOBundle # | |||||
Defined in ZcashHaskell.Types type Rep RawOBundle = D1 ('MetaData "RawOBundle" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "RawOBundle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "zob_empty") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "zob_actions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [OrchardAction]) :*: S1 ('MetaSel ('Just "zob_flags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OrchardFlags))) :*: ((S1 ('MetaSel ('Just "zob_value") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "zob_anchor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString)) :*: (S1 ('MetaSel ('Just "zob_proof") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "zob_sig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
data OrchardBundle #
Type for an Orchard Bundle
Constructors
| OrchardBundle | |
Fields
| |
Instances
| ToJSON OrchardBundle # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: OrchardBundle -> Value # toEncoding :: OrchardBundle -> Encoding # toJSONList :: [OrchardBundle] -> Value # toEncodingList :: [OrchardBundle] -> Encoding # omitField :: OrchardBundle -> Bool # | |||||
| Generic OrchardBundle # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read OrchardBundle # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardBundle # readList :: ReadS [OrchardBundle] # | |||||
| Show OrchardBundle # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardBundle -> ShowS # show :: OrchardBundle -> String # showList :: [OrchardBundle] -> ShowS # | |||||
| Eq OrchardBundle # | |||||
Defined in ZcashHaskell.Types Methods (==) :: OrchardBundle -> OrchardBundle -> Bool # (/=) :: OrchardBundle -> OrchardBundle -> Bool # | |||||
| type Rep OrchardBundle # | |||||
Defined in ZcashHaskell.Types type Rep OrchardBundle = D1 ('MetaData "OrchardBundle" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "OrchardBundle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "obActions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [OrchardAction]) :*: (S1 ('MetaSel ('Just "obFlags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OrchardFlags) :*: S1 ('MetaSel ('Just "obValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64))) :*: (S1 ('MetaSel ('Just "obAnchor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "obProof") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "obSig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
data OrchardFlags #
Type for the Orchard bundle flags
Constructors
| OrchardFlags | |
Fields
| |
Instances
| ToJSON OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: OrchardFlags -> Value # toEncoding :: OrchardFlags -> Encoding # toJSONList :: [OrchardFlags] -> Value # toEncodingList :: [OrchardFlags] -> Encoding # omitField :: OrchardFlags -> Bool # | |||||
| BorshSize OrchardFlags # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OrchardFlags -> Size (StaticBorshSize OrchardFlags) # | |||||
| FromBorsh OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s OrchardFlags # | |||||
| ToBorsh OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OrchardFlags -> Value | |||||
| Generic OrchardFlags # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo OrchardFlags # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OrchardFlags -> DatatypeInfo (Code OrchardFlags) # | |||||
| Generic OrchardFlags # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardFlags # readList :: ReadS [OrchardFlags] # | |||||
| Show OrchardFlags # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardFlags -> ShowS # show :: OrchardFlags -> String # showList :: [OrchardFlags] -> ShowS # | |||||
| Eq OrchardFlags # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize OrchardFlags # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OrchardFlags # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OrchardFlags # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OrchardFlags # | |||||
Defined in ZcashHaskell.Types type Rep OrchardFlags = D1 ('MetaData "OrchardFlags" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))) | |||||
data ZebraGetInfo #
Type for the response from the zebrad RPC method getinfo
Constructors
| ZebraGetInfo | |
Fields
| |
Instances
| FromJSON ZebraGetInfo # | |
Defined in ZcashHaskell.Types | |
| Show ZebraGetInfo # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ZebraGetInfo -> ShowS # show :: ZebraGetInfo -> String # showList :: [ZebraGetInfo] -> ShowS # | |
| Eq ZebraGetInfo # | |
Defined in ZcashHaskell.Types | |
data ZebraGetBlockChainInfo #
Type for the response from the zebrad RPC method getblockchaininfo
Constructors
| ZebraGetBlockChainInfo | |
Fields
| |
Instances
| FromJSON ZebraGetBlockChainInfo # | |
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser ZebraGetBlockChainInfo # parseJSONList :: Value -> Parser [ZebraGetBlockChainInfo] # | |
| Show ZebraGetBlockChainInfo # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ZebraGetBlockChainInfo -> ShowS # show :: ZebraGetBlockChainInfo -> String # showList :: [ZebraGetBlockChainInfo] -> ShowS # | |
| Eq ZebraGetBlockChainInfo # | |
Defined in ZcashHaskell.Types Methods (==) :: ZebraGetBlockChainInfo -> ZebraGetBlockChainInfo -> Bool # (/=) :: ZebraGetBlockChainInfo -> ZebraGetBlockChainInfo -> Bool # | |
Transparent
data TransparentType #
Type to represent the two kinds of transparent addresses
Instances
| Read TransparentType # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS TransparentType # readList :: ReadS [TransparentType] # | |
| Show TransparentType # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> TransparentType -> ShowS # show :: TransparentType -> String # showList :: [TransparentType] -> ShowS # | |
| Eq TransparentType # | |
Defined in ZcashHaskell.Types Methods (==) :: TransparentType -> TransparentType -> Bool # (/=) :: TransparentType -> TransparentType -> Bool # | |
type TransparentSpendingKey = XPrvKey #
Type for transparent spending key
data TransparentReceiver #
Type to represent a transparent Zcash addresses
Constructors
| TransparentReceiver | |
Fields
| |
Instances
| Read TransparentReceiver # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS TransparentReceiver # readList :: ReadS [TransparentReceiver] # | |
| Show TransparentReceiver # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> TransparentReceiver -> ShowS # show :: TransparentReceiver -> String # showList :: [TransparentReceiver] -> ShowS # | |
| Eq TransparentReceiver # | |
Defined in ZcashHaskell.Types Methods (==) :: TransparentReceiver -> TransparentReceiver -> Bool # (/=) :: TransparentReceiver -> TransparentReceiver -> Bool # | |
data TransparentAddress #
Type to represent a transparent Zcash addresses
Constructors
| TransparentAddress | |
Fields | |
Instances
| Read TransparentAddress # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS TransparentAddress # readList :: ReadS [TransparentAddress] # | |
| Show TransparentAddress # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> TransparentAddress -> ShowS # show :: TransparentAddress -> String # showList :: [TransparentAddress] -> ShowS # | |
| Eq TransparentAddress # | |
Defined in ZcashHaskell.Types Methods (==) :: TransparentAddress -> TransparentAddress -> Bool # (/=) :: TransparentAddress -> TransparentAddress -> Bool # | |
data ExchangeAddress #
Type to represent a TEX Zcash addresses
Constructors
| ExchangeAddress | |
Fields | |
Instances
| Read ExchangeAddress # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS ExchangeAddress # readList :: ReadS [ExchangeAddress] # | |
| Show ExchangeAddress # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ExchangeAddress -> ShowS # show :: ExchangeAddress -> String # showList :: [ExchangeAddress] -> ShowS # | |
| Eq ExchangeAddress # | |
Defined in ZcashHaskell.Types Methods (==) :: ExchangeAddress -> ExchangeAddress -> Bool # (/=) :: ExchangeAddress -> ExchangeAddress -> Bool # | |
Wrapper types for transparent elements
Constructors
| RawTxIn | |
Fields
| |
Instances
| BorshSize RawTxIn # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh RawTxIn # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawTxIn # | |||||
| ToBorsh RawTxIn # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawTxIn # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic RawTxIn # | |||||
| HasDatatypeInfo RawTxIn # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawTxIn -> DatatypeInfo (Code RawTxIn) # | |||||
| Generic RawTxIn # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawTxIn # | |||||
| Eq RawTxIn # | |||||
| type StaticBorshSize RawTxIn # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawTxIn # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawTxIn # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawTxIn # | |||||
Defined in ZcashHaskell.Types type Rep RawTxIn = D1 ('MetaData "RawTxIn" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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)))) | |||||
Constructors
| RawTxOut | |
Fields
| |
Instances
| BorshSize RawTxOut # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh RawTxOut # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawTxOut # | |||||
| ToBorsh RawTxOut # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawTxOut # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic RawTxOut # | |||||
| HasDatatypeInfo RawTxOut # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawTxOut -> DatatypeInfo (Code RawTxOut) # | |||||
| Generic RawTxOut # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawTxOut # | |||||
| Eq RawTxOut # | |||||
| type StaticBorshSize RawTxOut # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawTxOut # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawTxOut # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawTxOut # | |||||
Defined in ZcashHaskell.Types type Rep RawTxOut = D1 ('MetaData "RawTxOut" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))) | |||||
data RawOutPoint #
Constructors
| RawOutPoint | |
Fields
| |
Instances
| BorshSize RawOutPoint # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy RawOutPoint -> Size (StaticBorshSize RawOutPoint) # | |||||
| FromBorsh RawOutPoint # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawOutPoint # | |||||
| ToBorsh RawOutPoint # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show RawOutPoint # | |||||
Defined in ZcashHaskell.Types Methods toValue :: RawOutPoint -> Value | |||||
| Generic RawOutPoint # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo RawOutPoint # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawOutPoint -> DatatypeInfo (Code RawOutPoint) # | |||||
| Generic RawOutPoint # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawOutPoint # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> RawOutPoint -> ShowS # show :: RawOutPoint -> String # showList :: [RawOutPoint] -> ShowS # | |||||
| Eq RawOutPoint # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize RawOutPoint # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawOutPoint # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawOutPoint # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawOutPoint # | |||||
Defined in ZcashHaskell.Types type Rep RawOutPoint = D1 ('MetaData "RawOutPoint" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))) | |||||
Sapling
newtype SaplingSpendingKey #
A spending key for Sapling
Constructors
| SaplingSpendingKey ByteString |
Instances
| Read SaplingSpendingKey # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingSpendingKey # readList :: ReadS [SaplingSpendingKey] # | |
| Show SaplingSpendingKey # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingSpendingKey -> ShowS # show :: SaplingSpendingKey -> String # showList :: [SaplingSpendingKey] -> ShowS # | |
| Eq SaplingSpendingKey # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingSpendingKey -> SaplingSpendingKey -> Bool # (/=) :: SaplingSpendingKey -> SaplingSpendingKey -> Bool # | |
| ToBytes SaplingSpendingKey # | |
Defined in ZcashHaskell.Types Methods | |
newtype SaplingReceiver #
A Sapling receiver
Constructors
| SaplingReceiver ByteString |
Instances
| Read SaplingReceiver # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingReceiver # readList :: ReadS [SaplingReceiver] # | |
| Show SaplingReceiver # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingReceiver -> ShowS # show :: SaplingReceiver -> String # showList :: [SaplingReceiver] -> ShowS # | |
| Eq SaplingReceiver # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingReceiver -> SaplingReceiver -> Bool # (/=) :: SaplingReceiver -> SaplingReceiver -> Bool # | |
| ToBytes SaplingReceiver # | |
Defined in ZcashHaskell.Types Methods getBytes :: SaplingReceiver -> ByteString # | |
data SaplingAddress #
Constructors
| SaplingAddress | |
Fields
| |
Instances
| Read SaplingAddress # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingAddress # readList :: ReadS [SaplingAddress] # | |
| Show SaplingAddress # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingAddress -> ShowS # show :: SaplingAddress -> String # showList :: [SaplingAddress] -> ShowS # | |
| Eq SaplingAddress # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingAddress -> SaplingAddress -> Bool # (/=) :: SaplingAddress -> SaplingAddress -> Bool # | |
data ShieldedSpend #
Type to represent a Sapling Shielded Spend as provided by the getrawtransaction RPC method
Constructors
| ShieldedSpend | |
Instances
| FromJSON ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser ShieldedSpend # parseJSONList :: Value -> Parser [ShieldedSpend] # | |||||
| ToJSON ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: ShieldedSpend -> Value # toEncoding :: ShieldedSpend -> Encoding # toJSONList :: [ShieldedSpend] -> Value # toEncodingList :: [ShieldedSpend] -> Encoding # omitField :: ShieldedSpend -> Bool # | |||||
| BorshSize ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy ShieldedSpend -> Size (StaticBorshSize ShieldedSpend) # | |||||
| FromBorsh ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s ShieldedSpend # | |||||
| ToBorsh ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods toValue :: ShieldedSpend -> Value | |||||
| Generic ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy ShieldedSpend -> DatatypeInfo (Code ShieldedSpend) # | |||||
| Generic ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS ShieldedSpend # readList :: ReadS [ShieldedSpend] # | |||||
| Show ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ShieldedSpend -> ShowS # show :: ShieldedSpend -> String # showList :: [ShieldedSpend] -> ShowS # | |||||
| Eq ShieldedSpend # | |||||
Defined in ZcashHaskell.Types Methods (==) :: ShieldedSpend -> ShieldedSpend -> Bool # (/=) :: ShieldedSpend -> ShieldedSpend -> Bool # | |||||
| type StaticBorshSize ShieldedSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code ShieldedSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf ShieldedSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep ShieldedSpend # | |||||
Defined in ZcashHaskell.Types type Rep ShieldedSpend = D1 ('MetaData "ShieldedSpend" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "ShieldedSpend" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sp_cv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "sp_anchor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "sp_nullifier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))) :*: (S1 ('MetaSel ('Just "sp_rk") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "sp_proof") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "sp_auth") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
data ShieldedOutput #
Type to represent a Sapling Shielded Output as provided by the getrawtransaction RPC method of zcashd.
Constructors
| ShieldedOutput | |
Fields
| |
Instances
| FromJSON ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser ShieldedOutput # parseJSONList :: Value -> Parser [ShieldedOutput] # | |||||
| ToJSON ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: ShieldedOutput -> Value # toEncoding :: ShieldedOutput -> Encoding # toJSONList :: [ShieldedOutput] -> Value # toEncodingList :: [ShieldedOutput] -> Encoding # omitField :: ShieldedOutput -> Bool # | |||||
| BorshSize ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy ShieldedOutput -> Size (StaticBorshSize ShieldedOutput) # | |||||
| FromBorsh ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods toValue :: ShieldedOutput -> Value | |||||
| Generic ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy ShieldedOutput -> DatatypeInfo (Code ShieldedOutput) # | |||||
| Generic ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: ShieldedOutput -> Rep ShieldedOutput x # to :: Rep ShieldedOutput x -> ShieldedOutput # | |||||
| Read ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS ShieldedOutput # readList :: ReadS [ShieldedOutput] # | |||||
| Show ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ShieldedOutput -> ShowS # show :: ShieldedOutput -> String # showList :: [ShieldedOutput] -> ShowS # | |||||
| Eq ShieldedOutput # | |||||
Defined in ZcashHaskell.Types Methods (==) :: ShieldedOutput -> ShieldedOutput -> Bool # (/=) :: ShieldedOutput -> ShieldedOutput -> Bool # | |||||
| type StaticBorshSize ShieldedOutput # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code ShieldedOutput # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf ShieldedOutput # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep ShieldedOutput # | |||||
Defined in ZcashHaskell.Types type Rep ShieldedOutput = D1 ('MetaData "ShieldedOutput" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "ShieldedOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s_cv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "s_cmu") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "s_ephKey") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))) :*: (S1 ('MetaSel ('Just "s_encCipherText") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "s_outCipherText") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "s_proof") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
newtype SaplingCommitmentTree #
Type for a Sapling note commitment tree
Constructors
| SaplingCommitmentTree | |
Fields
| |
Instances
| Read SaplingCommitmentTree # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingCommitmentTree # readList :: ReadS [SaplingCommitmentTree] # | |
| Show SaplingCommitmentTree # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingCommitmentTree -> ShowS # show :: SaplingCommitmentTree -> String # showList :: [SaplingCommitmentTree] -> ShowS # | |
| Eq SaplingCommitmentTree # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingCommitmentTree -> SaplingCommitmentTree -> Bool # (/=) :: SaplingCommitmentTree -> SaplingCommitmentTree -> Bool # | |
data SaplingRawTree #
Constructors
| SaplingRawTree | |
Fields
| |
Instances
| BorshSize SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy SaplingRawTree -> Size (StaticBorshSize SaplingRawTree) # | |||||
| FromBorsh SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Methods toValue :: SaplingRawTree -> Value | |||||
| Generic SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy SaplingRawTree -> DatatypeInfo (Code SaplingRawTree) # | |||||
| Generic SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: SaplingRawTree -> Rep SaplingRawTree x # to :: Rep SaplingRawTree x -> SaplingRawTree # | |||||
| Show SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingRawTree -> ShowS # show :: SaplingRawTree -> String # showList :: [SaplingRawTree] -> ShowS # | |||||
| Eq SaplingRawTree # | |||||
Defined in ZcashHaskell.Types Methods (==) :: SaplingRawTree -> SaplingRawTree -> Bool # (/=) :: SaplingRawTree -> SaplingRawTree -> Bool # | |||||
| type StaticBorshSize SaplingRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code SaplingRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf SaplingRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep SaplingRawTree # | |||||
Defined in ZcashHaskell.Types type Rep SaplingRawTree = D1 ('MetaData "SaplingRawTree" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "SaplingRawTree" 'PrefixI 'True) (S1 ('MetaSel ('Just "srt_left") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "srt_right") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "srt_parents") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HexString])))) | |||||
data SaplingTree #
Constructors
| SaplingTree | |
Instances
| Read SaplingTree # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingTree # readList :: ReadS [SaplingTree] # readPrec :: ReadPrec SaplingTree # readListPrec :: ReadPrec [SaplingTree] # | |
| Show SaplingTree # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingTree -> ShowS # show :: SaplingTree -> String # showList :: [SaplingTree] -> ShowS # | |
| Eq SaplingTree # | |
Defined in ZcashHaskell.Types | |
data SaplingFrontier #
Constructors
| SaplingFrontier | |
Instances
| BorshSize SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy SaplingFrontier -> Size (StaticBorshSize SaplingFrontier) # | |||||
| FromBorsh SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Methods toValue :: SaplingFrontier -> Value | |||||
| Generic SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: SaplingFrontier -> Rep SaplingFrontier # to :: Rep SaplingFrontier -> SaplingFrontier # | |||||
| HasDatatypeInfo SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy SaplingFrontier -> DatatypeInfo (Code SaplingFrontier) # | |||||
| Generic SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: SaplingFrontier -> Rep SaplingFrontier x # to :: Rep SaplingFrontier x -> SaplingFrontier # | |||||
| Show SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingFrontier -> ShowS # show :: SaplingFrontier -> String # showList :: [SaplingFrontier] -> ShowS # | |||||
| Eq SaplingFrontier # | |||||
Defined in ZcashHaskell.Types Methods (==) :: SaplingFrontier -> SaplingFrontier -> Bool # (/=) :: SaplingFrontier -> SaplingFrontier -> Bool # | |||||
| type StaticBorshSize SaplingFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code SaplingFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf SaplingFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep SaplingFrontier # | |||||
Defined in ZcashHaskell.Types type Rep SaplingFrontier = D1 ('MetaData "SaplingFrontier" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "SaplingFrontier" 'PrefixI 'True) (S1 ('MetaSel ('Just "sf_pos") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "sf_leaf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "sf_ommers") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HexString])))) | |||||
newtype SaplingWitness #
Type for a Sapling incremental witness
Constructors
| SaplingWitness | |
Fields
| |
Instances
| Read SaplingWitness # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingWitness # readList :: ReadS [SaplingWitness] # | |
| Show SaplingWitness # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingWitness -> ShowS # show :: SaplingWitness -> String # showList :: [SaplingWitness] -> ShowS # | |
| Eq SaplingWitness # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingWitness -> SaplingWitness -> Bool # (/=) :: SaplingWitness -> SaplingWitness -> Bool # | |
Orchard
newtype OrchardSpendingKey #
A spending key for Orchard
Constructors
| OrchardSpendingKey ByteString |
Instances
| Read OrchardSpendingKey # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardSpendingKey # readList :: ReadS [OrchardSpendingKey] # | |
| Show OrchardSpendingKey # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardSpendingKey -> ShowS # show :: OrchardSpendingKey -> String # showList :: [OrchardSpendingKey] -> ShowS # | |
| Eq OrchardSpendingKey # | |
Defined in ZcashHaskell.Types Methods (==) :: OrchardSpendingKey -> OrchardSpendingKey -> Bool # (/=) :: OrchardSpendingKey -> OrchardSpendingKey -> Bool # | |
| ToBytes OrchardSpendingKey # | |
Defined in ZcashHaskell.Types Methods | |
newtype OrchardReceiver #
An Orchard receiver
Constructors
| OrchardReceiver ByteString |
Instances
| Read OrchardReceiver # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardReceiver # readList :: ReadS [OrchardReceiver] # | |
| Show OrchardReceiver # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardReceiver -> ShowS # show :: OrchardReceiver -> String # showList :: [OrchardReceiver] -> ShowS # | |
| Eq OrchardReceiver # | |
Defined in ZcashHaskell.Types Methods (==) :: OrchardReceiver -> OrchardReceiver -> Bool # (/=) :: OrchardReceiver -> OrchardReceiver -> Bool # | |
| ToBytes OrchardReceiver # | |
Defined in ZcashHaskell.Types Methods getBytes :: OrchardReceiver -> ByteString # | |
data UnifiedAddress #
Type to represent a Unified Address
Constructors
| UnifiedAddress | |
Fields
| |
Instances
| Read UnifiedAddress # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS UnifiedAddress # readList :: ReadS [UnifiedAddress] # | |
| Show UnifiedAddress # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> UnifiedAddress -> ShowS # show :: UnifiedAddress -> String # showList :: [UnifiedAddress] -> ShowS # | |
| Eq UnifiedAddress # | |
Defined in ZcashHaskell.Types Methods (==) :: UnifiedAddress -> UnifiedAddress -> Bool # (/=) :: UnifiedAddress -> UnifiedAddress -> Bool # | |
Helper type for marshalling UAs
Constructors
| RawUA | |
Fields
| |
Instances
| BorshSize RawUA # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh RawUA # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s RawUA # | |||||
| ToBorsh RawUA # | |||||
Defined in ZcashHaskell.Types Methods encodeBorsh :: Encoder RawUA # | |||||
| Show RawUA # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic RawUA # | |||||
| HasDatatypeInfo RawUA # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy RawUA -> DatatypeInfo (Code RawUA) # | |||||
| Generic RawUA # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show RawUA # | |||||
| Eq RawUA # | |||||
| type StaticBorshSize RawUA # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code RawUA # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf RawUA # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep RawUA # | |||||
Defined in ZcashHaskell.Types type Rep RawUA = D1 ('MetaData "RawUA" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "RawUA" 'PrefixI 'True) ((S1 ('MetaSel ('Just "raw_net") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8) :*: S1 ('MetaSel ('Just "raw_o") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "raw_s") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "raw_t") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "raw_to") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))) | |||||
data ValidAddress #
A type to handle user-entered addresses
Constructors
| Unified !UnifiedAddress | |
| Sapling !SaplingAddress | |
| Transparent !TransparentAddress | |
| Exchange !ExchangeAddress |
Instances
| Show ValidAddress # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> ValidAddress -> ShowS # show :: ValidAddress -> String # showList :: [ValidAddress] -> ShowS # | |
| Eq ValidAddress # | |
Defined in ZcashHaskell.Types | |
A type to handle user-entered viewing keys
Constructors
| FullVk !UnifiedFullViewingKey | |
| IncomingVk !UnifiedIncomingViewingKey |
data UnifiedFullViewingKey #
Type to represent a Unified Full Viewing Key
Constructors
| UnifiedFullViewingKey | |
Fields
| |
Instances
| BorshSize UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy UnifiedFullViewingKey -> Size (StaticBorshSize UnifiedFullViewingKey) # | |||||
| FromBorsh UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods toValue :: UnifiedFullViewingKey -> Value | |||||
| Generic UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: UnifiedFullViewingKey -> Rep UnifiedFullViewingKey # | |||||
| HasDatatypeInfo UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy UnifiedFullViewingKey -> DatatypeInfo (Code UnifiedFullViewingKey) # | |||||
| Generic UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: UnifiedFullViewingKey -> Rep UnifiedFullViewingKey x # to :: Rep UnifiedFullViewingKey x -> UnifiedFullViewingKey # | |||||
| Read UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS UnifiedFullViewingKey # readList :: ReadS [UnifiedFullViewingKey] # | |||||
| Show UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> UnifiedFullViewingKey -> ShowS # show :: UnifiedFullViewingKey -> String # showList :: [UnifiedFullViewingKey] -> ShowS # | |||||
| Eq UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types Methods (==) :: UnifiedFullViewingKey -> UnifiedFullViewingKey -> Bool # (/=) :: UnifiedFullViewingKey -> UnifiedFullViewingKey -> Bool # | |||||
| type StaticBorshSize UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf UnifiedFullViewingKey # | |||||
| type Rep UnifiedFullViewingKey # | |||||
Defined in ZcashHaskell.Types type Rep UnifiedFullViewingKey = D1 ('MetaData "UnifiedFullViewingKey" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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)))) | |||||
data UnifiedIncomingViewingKey #
Type to represent a Unified Incoming Viewing Key
Constructors
| UnifiedIncomingViewingKey | |
Fields
| |
Instances
| BorshSize UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy UnifiedIncomingViewingKey -> Size (StaticBorshSize UnifiedIncomingViewingKey) # | |||||
| FromBorsh UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Methods toValue :: UnifiedIncomingViewingKey -> Value | |||||
| Generic UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy UnifiedIncomingViewingKey -> DatatypeInfo (Code UnifiedIncomingViewingKey) # | |||||
| Generic UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: UnifiedIncomingViewingKey -> Rep UnifiedIncomingViewingKey x # to :: Rep UnifiedIncomingViewingKey x -> UnifiedIncomingViewingKey # | |||||
| Read UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types | |||||
| Show UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> UnifiedIncomingViewingKey -> ShowS # show :: UnifiedIncomingViewingKey -> String # showList :: [UnifiedIncomingViewingKey] -> ShowS # | |||||
| Eq UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types Methods (==) :: UnifiedIncomingViewingKey -> UnifiedIncomingViewingKey -> Bool # (/=) :: UnifiedIncomingViewingKey -> UnifiedIncomingViewingKey -> Bool # | |||||
| type StaticBorshSize UnifiedIncomingViewingKey # | |||||
| type Code UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf UnifiedIncomingViewingKey # | |||||
| type Rep UnifiedIncomingViewingKey # | |||||
Defined in ZcashHaskell.Types type Rep UnifiedIncomingViewingKey = D1 ('MetaData "UnifiedIncomingViewingKey" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "UnifiedIncomingViewingKey" 'PrefixI 'True) ((S1 ('MetaSel ('Just "i_net") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8) :*: S1 ('MetaSel ('Just "i_o_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "i_s_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "i_t_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))) | |||||
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
| FromJSON OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods parseJSON :: Value -> Parser OrchardAction # parseJSONList :: Value -> Parser [OrchardAction] # | |||||
| ToJSON OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods toJSON :: OrchardAction -> Value # toEncoding :: OrchardAction -> Encoding # toJSONList :: [OrchardAction] -> Value # toEncodingList :: [OrchardAction] -> Encoding # omitField :: OrchardAction -> Bool # | |||||
| BorshSize OrchardAction # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OrchardAction -> Size (StaticBorshSize OrchardAction) # | |||||
| FromBorsh OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s OrchardAction # | |||||
| ToBorsh OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OrchardAction -> Value | |||||
| Generic OrchardAction # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo OrchardAction # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OrchardAction -> DatatypeInfo (Code OrchardAction) # | |||||
| Generic OrchardAction # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardAction # readList :: ReadS [OrchardAction] # | |||||
| Show OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardAction -> ShowS # show :: OrchardAction -> String # showList :: [OrchardAction] -> ShowS # | |||||
| Eq OrchardAction # | |||||
Defined in ZcashHaskell.Types Methods (==) :: OrchardAction -> OrchardAction -> Bool # (/=) :: OrchardAction -> OrchardAction -> Bool # | |||||
| type StaticBorshSize OrchardAction # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OrchardAction # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OrchardAction # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OrchardAction # | |||||
Defined in ZcashHaskell.Types type Rep OrchardAction = D1 ('MetaData "OrchardAction" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "OrchardAction" 'PrefixI 'True) (((S1 ('MetaSel ('Just "nf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "rk") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString)) :*: (S1 ('MetaSel ('Just "cmx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "eph_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))) :*: ((S1 ('MetaSel ('Just "enc_ciphertext") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "out_ciphertext") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString)) :*: (S1 ('MetaSel ('Just "cv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "auth") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString))))) | |||||
data MerklePath #
Constructors
| MerklePath | |
Fields
| |
Instances
| BorshSize MerklePath # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy MerklePath -> Size (StaticBorshSize MerklePath) # | |||||
| FromBorsh MerklePath # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s MerklePath # | |||||
| ToBorsh MerklePath # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show MerklePath # | |||||
Defined in ZcashHaskell.Types Methods toValue :: MerklePath -> Value | |||||
| Generic MerklePath # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo MerklePath # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy MerklePath -> DatatypeInfo (Code MerklePath) # | |||||
| Generic MerklePath # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show MerklePath # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> MerklePath -> ShowS # show :: MerklePath -> String # showList :: [MerklePath] -> ShowS # | |||||
| Eq MerklePath # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize MerklePath # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code MerklePath # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf MerklePath # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep MerklePath # | |||||
Defined in ZcashHaskell.Types type Rep MerklePath = D1 ('MetaData "MerklePath" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "MerklePath" 'PrefixI 'True) (S1 ('MetaSel ('Just "mp_position") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "mp_path") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HexString]))) | |||||
newtype OrchardCommitmentTree #
Type for a Orchard note commitment tree
Constructors
| OrchardCommitmentTree | |
Fields
| |
Instances
| Read OrchardCommitmentTree # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardCommitmentTree # readList :: ReadS [OrchardCommitmentTree] # | |
| Show OrchardCommitmentTree # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardCommitmentTree -> ShowS # show :: OrchardCommitmentTree -> String # showList :: [OrchardCommitmentTree] -> ShowS # | |
| Eq OrchardCommitmentTree # | |
Defined in ZcashHaskell.Types Methods (==) :: OrchardCommitmentTree -> OrchardCommitmentTree -> Bool # (/=) :: OrchardCommitmentTree -> OrchardCommitmentTree -> Bool # | |
data OrchardRawTree #
Constructors
| OrchardRawTree | |
Fields
| |
Instances
| BorshSize OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OrchardRawTree -> Size (StaticBorshSize OrchardRawTree) # | |||||
| FromBorsh OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OrchardRawTree -> Value | |||||
| Generic OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OrchardRawTree -> DatatypeInfo (Code OrchardRawTree) # | |||||
| Generic OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: OrchardRawTree -> Rep OrchardRawTree x # to :: Rep OrchardRawTree x -> OrchardRawTree # | |||||
| Show OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardRawTree -> ShowS # show :: OrchardRawTree -> String # showList :: [OrchardRawTree] -> ShowS # | |||||
| Eq OrchardRawTree # | |||||
Defined in ZcashHaskell.Types Methods (==) :: OrchardRawTree -> OrchardRawTree -> Bool # (/=) :: OrchardRawTree -> OrchardRawTree -> Bool # | |||||
| type StaticBorshSize OrchardRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OrchardRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OrchardRawTree # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OrchardRawTree # | |||||
Defined in ZcashHaskell.Types type Rep OrchardRawTree = D1 ('MetaData "OrchardRawTree" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "OrchardRawTree" 'PrefixI 'True) (S1 ('MetaSel ('Just "ort_left") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "ort_right") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "ort_parents") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HexString])))) | |||||
data OrchardTree #
Constructors
| OrchardTree | |
Instances
| Read OrchardTree # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardTree # readList :: ReadS [OrchardTree] # readPrec :: ReadPrec OrchardTree # readListPrec :: ReadPrec [OrchardTree] # | |
| Show OrchardTree # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardTree -> ShowS # show :: OrchardTree -> String # showList :: [OrchardTree] -> ShowS # | |
| Eq OrchardTree # | |
Defined in ZcashHaskell.Types | |
data OrchardFrontier #
Constructors
| OrchardFrontier | |
Instances
| BorshSize OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OrchardFrontier -> Size (StaticBorshSize OrchardFrontier) # | |||||
| FromBorsh OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OrchardFrontier -> Value | |||||
| Generic OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: OrchardFrontier -> Rep OrchardFrontier # to :: Rep OrchardFrontier -> OrchardFrontier # | |||||
| HasDatatypeInfo OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OrchardFrontier -> DatatypeInfo (Code OrchardFrontier) # | |||||
| Generic OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: OrchardFrontier -> Rep OrchardFrontier x # to :: Rep OrchardFrontier x -> OrchardFrontier # | |||||
| Show OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardFrontier -> ShowS # show :: OrchardFrontier -> String # showList :: [OrchardFrontier] -> ShowS # | |||||
| Eq OrchardFrontier # | |||||
Defined in ZcashHaskell.Types Methods (==) :: OrchardFrontier -> OrchardFrontier -> Bool # (/=) :: OrchardFrontier -> OrchardFrontier -> Bool # | |||||
| type StaticBorshSize OrchardFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OrchardFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OrchardFrontier # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OrchardFrontier # | |||||
Defined in ZcashHaskell.Types type Rep OrchardFrontier = D1 ('MetaData "OrchardFrontier" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "OrchardFrontier" 'PrefixI 'True) (S1 ('MetaSel ('Just "of_pos") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "of_leaf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: S1 ('MetaSel ('Just "of_ommers") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HexString])))) | |||||
newtype OrchardWitness #
Type for a Sapling incremental witness
Constructors
| OrchardWitness | |
Fields
| |
Instances
| Read OrchardWitness # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS OrchardWitness # readList :: ReadS [OrchardWitness] # | |
| Show OrchardWitness # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardWitness -> ShowS # show :: OrchardWitness -> String # showList :: [OrchardWitness] -> ShowS # | |
| Eq OrchardWitness # | |
Defined in ZcashHaskell.Types Methods (==) :: OrchardWitness -> OrchardWitness -> Bool # (/=) :: OrchardWitness -> OrchardWitness -> Bool # | |
data DecodedNote #
Type to represent a decoded note
Constructors
| DecodedNote | |
Fields
| |
Instances
| BorshSize DecodedNote # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy DecodedNote -> Size (StaticBorshSize DecodedNote) # | |||||
| FromBorsh DecodedNote # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s DecodedNote # | |||||
| ToBorsh DecodedNote # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show DecodedNote # | |||||
Defined in ZcashHaskell.Types Methods toValue :: DecodedNote -> Value | |||||
| Generic DecodedNote # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo DecodedNote # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy DecodedNote -> DatatypeInfo (Code DecodedNote) # | |||||
| Generic DecodedNote # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show DecodedNote # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> DecodedNote -> ShowS # show :: DecodedNote -> String # showList :: [DecodedNote] -> ShowS # | |||||
| Eq DecodedNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize DecodedNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code DecodedNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf DecodedNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep DecodedNote # | |||||
Defined in ZcashHaskell.Types type Rep DecodedNote = D1 ('MetaData "DecodedNote" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "DecodedNote" 'PrefixI 'True) ((S1 ('MetaSel ('Just "a_value") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "a_recipient") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "a_memo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))) :*: (S1 ('MetaSel ('Just "a_nullifier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "a_rho") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "a_rseed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rseed))))) | |||||
Constructors
| Rseed | |
Fields
| |
Instances
| BorshSize Rseed # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| FromBorsh Rseed # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s Rseed # | |||||
| ToBorsh Rseed # | |||||
Defined in ZcashHaskell.Types Methods encodeBorsh :: Encoder Rseed # | |||||
| Show Rseed # | |||||
Defined in ZcashHaskell.Types | |||||
| Generic Rseed # | |||||
| HasDatatypeInfo Rseed # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy Rseed -> DatatypeInfo (Code Rseed) # | |||||
| Generic Rseed # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Read Rseed # | |||||
| Show Rseed # | |||||
| Eq Rseed # | |||||
| type StaticBorshSize Rseed # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code Rseed # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf Rseed # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep Rseed # | |||||
Defined in ZcashHaskell.Types type Rep Rseed = D1 ('MetaData "Rseed" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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))) | |||||
data TransparentTxSpend #
Constructors
| TransparentTxSpend | |
Fields
| |
Instances
| BorshSize TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy TransparentTxSpend -> Size (StaticBorshSize TransparentTxSpend) # | |||||
| FromBorsh TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Methods toValue :: TransparentTxSpend -> Value | |||||
| Generic TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods | |||||
| HasDatatypeInfo TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy TransparentTxSpend -> DatatypeInfo (Code TransparentTxSpend) # | |||||
| Generic TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: TransparentTxSpend -> Rep TransparentTxSpend x # to :: Rep TransparentTxSpend x -> TransparentTxSpend # | |||||
| Show TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> TransparentTxSpend -> ShowS # show :: TransparentTxSpend -> String # showList :: [TransparentTxSpend] -> ShowS # | |||||
| Eq TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types Methods (==) :: TransparentTxSpend -> TransparentTxSpend -> Bool # (/=) :: TransparentTxSpend -> TransparentTxSpend -> Bool # | |||||
| type StaticBorshSize TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep TransparentTxSpend # | |||||
Defined in ZcashHaskell.Types type Rep TransparentTxSpend = D1 ('MetaData "TransparentTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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)))) | |||||
data SaplingTxSpend #
Constructors
| SaplingTxSpend | |
Fields
| |
Instances
| BorshSize SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy SaplingTxSpend -> Size (StaticBorshSize SaplingTxSpend) # | |||||
| FromBorsh SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Methods toValue :: SaplingTxSpend -> Value | |||||
| Generic SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy SaplingTxSpend -> DatatypeInfo (Code SaplingTxSpend) # | |||||
| Generic SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: SaplingTxSpend -> Rep SaplingTxSpend x # to :: Rep SaplingTxSpend x -> SaplingTxSpend # | |||||
| Show SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingTxSpend -> ShowS # show :: SaplingTxSpend -> String # showList :: [SaplingTxSpend] -> ShowS # | |||||
| Eq SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types Methods (==) :: SaplingTxSpend -> SaplingTxSpend -> Bool # (/=) :: SaplingTxSpend -> SaplingTxSpend -> Bool # | |||||
| type StaticBorshSize SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep SaplingTxSpend # | |||||
Defined in ZcashHaskell.Types type Rep SaplingTxSpend = D1 ('MetaData "SaplingTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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 MerklePath)))) | |||||
data OrchardTxSpend #
Constructors
| OrchardTxSpend | |
Fields
| |
Instances
| BorshSize OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OrchardTxSpend -> Size (StaticBorshSize OrchardTxSpend) # | |||||
| FromBorsh OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| ToBorsh OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OrchardTxSpend -> Value | |||||
| Generic OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OrchardTxSpend -> DatatypeInfo (Code OrchardTxSpend) # | |||||
| Generic OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods from :: OrchardTxSpend -> Rep OrchardTxSpend x # to :: Rep OrchardTxSpend x -> OrchardTxSpend # | |||||
| Show OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OrchardTxSpend -> ShowS # show :: OrchardTxSpend -> String # showList :: [OrchardTxSpend] -> ShowS # | |||||
| Eq OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types Methods (==) :: OrchardTxSpend -> OrchardTxSpend -> Bool # (/=) :: OrchardTxSpend -> OrchardTxSpend -> Bool # | |||||
| type StaticBorshSize OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OrchardTxSpend # | |||||
Defined in ZcashHaskell.Types type Rep OrchardTxSpend = D1 ('MetaData "OrchardTxSpend" "ZcashHaskell.Types" "zcash-haskell-0.9.2.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 MerklePath)))) | |||||
data OutgoingNote #
Constructors
| OutgoingNote | |
Fields
| |
Instances
| BorshSize OutgoingNote # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods borshSize :: Proxy OutgoingNote -> Size (StaticBorshSize OutgoingNote) # | |||||
| FromBorsh OutgoingNote # | |||||
Defined in ZcashHaskell.Types Methods decodeBorsh :: Decoder s OutgoingNote # | |||||
| ToBorsh OutgoingNote # | |||||
Defined in ZcashHaskell.Types Methods | |||||
| Show OutgoingNote # | |||||
Defined in ZcashHaskell.Types Methods toValue :: OutgoingNote -> Value | |||||
| Generic OutgoingNote # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| HasDatatypeInfo OutgoingNote # | |||||
Defined in ZcashHaskell.Types Associated Types
Methods datatypeInfo :: proxy OutgoingNote -> DatatypeInfo (Code OutgoingNote) # | |||||
| Generic OutgoingNote # | |||||
Defined in ZcashHaskell.Types Associated Types
| |||||
| Show OutgoingNote # | |||||
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> OutgoingNote -> ShowS # show :: OutgoingNote -> String # showList :: [OutgoingNote] -> ShowS # | |||||
| Eq OutgoingNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type StaticBorshSize OutgoingNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type Code OutgoingNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type DatatypeInfoOf OutgoingNote # | |||||
Defined in ZcashHaskell.Types | |||||
| type Rep OutgoingNote # | |||||
Defined in ZcashHaskell.Types type Rep OutgoingNote = D1 ('MetaData "OutgoingNote" "ZcashHaskell.Types" "zcash-haskell-0.9.2.1-inplace" 'False) (C1 ('MetaCons "OutgoingNote" 'PrefixI 'True) ((S1 ('MetaSel ('Just "on_kind") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8) :*: (S1 ('MetaSel ('Just "on_key") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "on_recipient") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))) :*: (S1 ('MetaSel ('Just "on_amt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "on_memo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "on_chg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))) | |||||
newtype SaplingSpendParams #
Constructors
| SaplingSpendParams | |
Fields | |
Instances
| Read SaplingSpendParams # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingSpendParams # readList :: ReadS [SaplingSpendParams] # | |
| Show SaplingSpendParams # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingSpendParams -> ShowS # show :: SaplingSpendParams -> String # showList :: [SaplingSpendParams] -> ShowS # | |
| Eq SaplingSpendParams # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingSpendParams -> SaplingSpendParams -> Bool # (/=) :: SaplingSpendParams -> SaplingSpendParams -> Bool # | |
newtype SaplingOutputParams #
Constructors
| SaplingOutputParams | |
Fields | |
Instances
| Read SaplingOutputParams # | |
Defined in ZcashHaskell.Types Methods readsPrec :: Int -> ReadS SaplingOutputParams # readList :: ReadS [SaplingOutputParams] # | |
| Show SaplingOutputParams # | |
Defined in ZcashHaskell.Types Methods showsPrec :: Int -> SaplingOutputParams -> ShowS # show :: SaplingOutputParams -> String # showList :: [SaplingOutputParams] -> ShowS # | |
| Eq SaplingOutputParams # | |
Defined in ZcashHaskell.Types Methods (==) :: SaplingOutputParams -> SaplingOutputParams -> Bool # (/=) :: SaplingOutputParams -> SaplingOutputParams -> Bool # | |
Constructors
| InsufficientFunds | |
| ChangeRequired | |
| Fee | |
| Balance | |
| TransparentBuild | |
| SaplingBuild | |
| OrchardBuild | |
| OrchardSpend | |
| OrchardRecipient | |
| SaplingBuilderNotAvailable | |
| OrchardBuilderNotAvailable | |
| PrivacyPolicyError !Text | |
| ZHError |
Classes
Class to represent types with a bytestring representation
Methods
getBytes :: a -> ByteString #
Instances
| ToBytes OrchardReceiver # | |
Defined in ZcashHaskell.Types Methods getBytes :: OrchardReceiver -> ByteString # | |
| ToBytes OrchardSpendingKey # | |
Defined in ZcashHaskell.Types Methods | |
| ToBytes Phrase # | |
Defined in ZcashHaskell.Types Methods getBytes :: Phrase -> ByteString # | |
| ToBytes SaplingReceiver # | |
Defined in ZcashHaskell.Types Methods getBytes :: SaplingReceiver -> ByteString # | |
| ToBytes SaplingSpendingKey # | |
Defined in ZcashHaskell.Types Methods | |
| ToBytes Seed # | |
Defined in ZcashHaskell.Types Methods getBytes :: Seed -> ByteString # | |
Helpers
decodeHexText :: String -> ByteString #
Helper function to turn a hex-encoded string to bytestring