utxorpc-0.0.14.0: Generated code for a gRPC interface for UTxO Blockchains
Safe HaskellSafe-Inferred
LanguageHaskell2010

Proto.Utxorpc.V1alpha.Watch.Watch

Synopsis

Documentation

data WatchService Source #

Constructors

WatchService 

Instances

Instances details
Service WatchService Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasMethodImpl WatchService "watchTx" Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Associated Types

type MethodName WatchService "watchTx" :: Symbol #

type MethodInput WatchService "watchTx" #

type MethodOutput WatchService "watchTx" #

type MethodStreamingType WatchService "watchTx" :: StreamingType #

type ServiceMethods WatchService Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type ServiceMethods WatchService = '["watchTx"]
type ServiceName WatchService Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type ServiceName WatchService = "WatchService"
type ServicePackage WatchService Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type ServicePackage WatchService = "utxorpc.v1alpha.watch"
type MethodInput WatchService "watchTx" Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type MethodName WatchService "watchTx" Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type MethodName WatchService "watchTx" = "WatchTx"
type MethodOutput WatchService "watchTx" Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

type MethodStreamingType WatchService "watchTx" Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

data AnyChainTx Source #

Fields :

  • maybe'chain :: Lens' AnyChainTx (Prelude.Maybe AnyChainTx'Chain)
  • maybe'cardano :: Lens' AnyChainTx (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.Tx)
  • cardano :: Lens' AnyChainTx Proto.Utxorpc.V1alpha.Cardano.Cardano.Tx

Instances

Instances details
Show AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: AnyChainTx -> () #

Eq AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField AnyChainTx "cardano" Tx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "cardano" -> (Tx -> f Tx) -> AnyChainTx -> f AnyChainTx #

HasField WatchTxResponse "apply" AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "apply" -> (AnyChainTx -> f AnyChainTx) -> WatchTxResponse -> f WatchTxResponse #

HasField WatchTxResponse "undo" AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField AnyChainTx "maybe'cardano" (Maybe Tx) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'cardano" -> (Maybe Tx -> f (Maybe Tx)) -> AnyChainTx -> f AnyChainTx #

HasField AnyChainTx "maybe'chain" (Maybe AnyChainTx'Chain) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'chain" -> (Maybe AnyChainTx'Chain -> f (Maybe AnyChainTx'Chain)) -> AnyChainTx -> f AnyChainTx #

HasField WatchTxResponse "maybe'apply" (Maybe AnyChainTx) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'apply" -> (Maybe AnyChainTx -> f (Maybe AnyChainTx)) -> WatchTxResponse -> f WatchTxResponse #

HasField WatchTxResponse "maybe'undo" (Maybe AnyChainTx) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'undo" -> (Maybe AnyChainTx -> f (Maybe AnyChainTx)) -> WatchTxResponse -> f WatchTxResponse #

data AnyChainTxPattern Source #

Fields :

  • maybe'chain :: Lens' AnyChainTxPattern (Prelude.Maybe AnyChainTxPattern'Chain)
  • maybe'cardano :: Lens' AnyChainTxPattern (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.TxPattern)
  • cardano :: Lens' AnyChainTxPattern Proto.Utxorpc.V1alpha.Cardano.Cardano.TxPattern

Instances

Instances details
Show AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: AnyChainTxPattern -> () #

Eq AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField AnyChainTxPattern "cardano" TxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "cardano" -> (TxPattern -> f TxPattern) -> AnyChainTxPattern -> f AnyChainTxPattern #

HasField TxPredicate "match" AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField AnyChainTxPattern "maybe'cardano" (Maybe TxPattern) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'cardano" -> (Maybe TxPattern -> f (Maybe TxPattern)) -> AnyChainTxPattern -> f AnyChainTxPattern #

HasField AnyChainTxPattern "maybe'chain" (Maybe AnyChainTxPattern'Chain) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField TxPredicate "maybe'match" (Maybe AnyChainTxPattern) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'match" -> (Maybe AnyChainTxPattern -> f (Maybe AnyChainTxPattern)) -> TxPredicate -> f TxPredicate #

data AnyChainTxPattern'Chain Source #

Instances

Instances details
Show AnyChainTxPattern'Chain Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData AnyChainTxPattern'Chain Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: AnyChainTxPattern'Chain -> () #

Eq AnyChainTxPattern'Chain Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord AnyChainTxPattern'Chain Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField AnyChainTxPattern "maybe'chain" (Maybe AnyChainTxPattern'Chain) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

data BlockRef Source #

Fields :

  • index :: Lens' BlockRef Data.Word.Word64
  • hash :: Lens' BlockRef Data.ByteString.ByteString

Instances

Instances details
Show BlockRef Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData BlockRef Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: BlockRef -> () #

Eq BlockRef Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord BlockRef Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message BlockRef Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField BlockRef "hash" ByteString Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "hash" -> (ByteString -> f ByteString) -> BlockRef -> f BlockRef #

HasField BlockRef "index" Word64 Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "index" -> (Word64 -> f Word64) -> BlockRef -> f BlockRef #

HasField WatchTxRequest "intersect" [BlockRef] Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "intersect" -> ([BlockRef] -> f [BlockRef]) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "vec'intersect" (Vector BlockRef) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "vec'intersect" -> (Vector BlockRef -> f (Vector BlockRef)) -> WatchTxRequest -> f WatchTxRequest #

data TxPredicate Source #

Fields :

  • match :: Lens' TxPredicate AnyChainTxPattern
  • maybe'match :: Lens' TxPredicate (Prelude.Maybe AnyChainTxPattern)
  • not :: Lens' TxPredicate [TxPredicate]
  • vec'not :: Lens' TxPredicate (Data.Vector.Vector TxPredicate)
  • allOf :: Lens' TxPredicate [TxPredicate]
  • vec'allOf :: Lens' TxPredicate (Data.Vector.Vector TxPredicate)
  • anyOf :: Lens' TxPredicate [TxPredicate]
  • vec'anyOf :: Lens' TxPredicate (Data.Vector.Vector TxPredicate)

Instances

Instances details
Show TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: TxPredicate -> () #

Eq TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField TxPredicate "match" AnyChainTxPattern Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxRequest "predicate" TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "predicate" -> (TxPredicate -> f TxPredicate) -> WatchTxRequest -> f WatchTxRequest #

HasField TxPredicate "allOf" [TxPredicate] Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "allOf" -> ([TxPredicate] -> f [TxPredicate]) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "anyOf" [TxPredicate] Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "anyOf" -> ([TxPredicate] -> f [TxPredicate]) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "maybe'match" (Maybe AnyChainTxPattern) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'match" -> (Maybe AnyChainTxPattern -> f (Maybe AnyChainTxPattern)) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "not" [TxPredicate] Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "not" -> ([TxPredicate] -> f [TxPredicate]) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "vec'allOf" (Vector TxPredicate) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "vec'allOf" -> (Vector TxPredicate -> f (Vector TxPredicate)) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "vec'anyOf" (Vector TxPredicate) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "vec'anyOf" -> (Vector TxPredicate -> f (Vector TxPredicate)) -> TxPredicate -> f TxPredicate #

HasField TxPredicate "vec'not" (Vector TxPredicate) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "vec'not" -> (Vector TxPredicate -> f (Vector TxPredicate)) -> TxPredicate -> f TxPredicate #

HasField WatchTxRequest "maybe'predicate" (Maybe TxPredicate) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'predicate" -> (Maybe TxPredicate -> f (Maybe TxPredicate)) -> WatchTxRequest -> f WatchTxRequest #

data WatchTxRequest Source #

Fields :

  • predicate :: Lens' WatchTxRequest TxPredicate
  • maybe'predicate :: Lens' WatchTxRequest (Prelude.Maybe TxPredicate)
  • fieldMask :: Lens' WatchTxRequest Proto.Google.Protobuf.FieldMask.FieldMask
  • maybe'fieldMask :: Lens' WatchTxRequest (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)
  • intersect :: Lens' WatchTxRequest [BlockRef]
  • vec'intersect :: Lens' WatchTxRequest (Data.Vector.Vector BlockRef)

Instances

Instances details
Show WatchTxRequest Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData WatchTxRequest Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: WatchTxRequest -> () #

Eq WatchTxRequest Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord WatchTxRequest Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message WatchTxRequest Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxRequest "fieldMask" FieldMask Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "fieldMask" -> (FieldMask -> f FieldMask) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "predicate" TxPredicate Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "predicate" -> (TxPredicate -> f TxPredicate) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "intersect" [BlockRef] Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "intersect" -> ([BlockRef] -> f [BlockRef]) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "maybe'fieldMask" (Maybe FieldMask) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'fieldMask" -> (Maybe FieldMask -> f (Maybe FieldMask)) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "maybe'predicate" (Maybe TxPredicate) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'predicate" -> (Maybe TxPredicate -> f (Maybe TxPredicate)) -> WatchTxRequest -> f WatchTxRequest #

HasField WatchTxRequest "vec'intersect" (Vector BlockRef) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "vec'intersect" -> (Vector BlockRef -> f (Vector BlockRef)) -> WatchTxRequest -> f WatchTxRequest #

data WatchTxResponse Source #

Fields :

  • maybe'action :: Lens' WatchTxResponse (Prelude.Maybe WatchTxResponse'Action)
  • maybe'apply :: Lens' WatchTxResponse (Prelude.Maybe AnyChainTx)
  • apply :: Lens' WatchTxResponse AnyChainTx
  • maybe'undo :: Lens' WatchTxResponse (Prelude.Maybe AnyChainTx)
  • undo :: Lens' WatchTxResponse AnyChainTx

Instances

Instances details
Show WatchTxResponse Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData WatchTxResponse Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: WatchTxResponse -> () #

Eq WatchTxResponse Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord WatchTxResponse Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Message WatchTxResponse Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxResponse "apply" AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "apply" -> (AnyChainTx -> f AnyChainTx) -> WatchTxResponse -> f WatchTxResponse #

HasField WatchTxResponse "undo" AnyChainTx Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxResponse "maybe'action" (Maybe WatchTxResponse'Action) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxResponse "maybe'apply" (Maybe AnyChainTx) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'apply" -> (Maybe AnyChainTx -> f (Maybe AnyChainTx)) -> WatchTxResponse -> f WatchTxResponse #

HasField WatchTxResponse "maybe'undo" (Maybe AnyChainTx) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

fieldOf :: Functor f => Proxy# "maybe'undo" -> (Maybe AnyChainTx -> f (Maybe AnyChainTx)) -> WatchTxResponse -> f WatchTxResponse #

data WatchTxResponse'Action Source #

Instances

Instances details
Show WatchTxResponse'Action Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

NFData WatchTxResponse'Action Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Methods

rnf :: WatchTxResponse'Action -> () #

Eq WatchTxResponse'Action Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

Ord WatchTxResponse'Action Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch

HasField WatchTxResponse "maybe'action" (Maybe WatchTxResponse'Action) Source # 
Instance details

Defined in Proto.Utxorpc.V1alpha.Watch.Watch