plutus-chain-index-core-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.ChainIndex.DbSchema

Synopsis

Documentation

data DatumRowT f Source #

Instances

Instances details
Table DatumRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey DatumRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). DatumRowT column -> PrimaryKey DatumRowT column Source #

Beamable DatumRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> DatumRowT f -> DatumRowT g -> m (DatumRowT h) Source #

tblSkeleton :: TableSkeleton DatumRowT Source #

Generic (DatumRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (DatumRowT f) :: Type -> Type Source #

Methods

from :: DatumRowT f -> Rep (DatumRowT f) x Source #

to :: Rep (DatumRowT f) x -> DatumRowT f Source #

Beamable (PrimaryKey DatumRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey DatumRowT f -> PrimaryKey DatumRowT g -> m (PrimaryKey DatumRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey DatumRowT) Source #

Generic (PrimaryKey DatumRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey DatumRowT f) :: Type -> Type Source #

data PrimaryKey DatumRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (DatumRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (DatumRowT f) = D1 ('MetaData "DatumRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "DatumRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_datumRowHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_datumRowDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey DatumRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey DatumRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "DatumRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data ScriptRowT f Source #

Instances

Instances details
Table ScriptRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey ScriptRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). ScriptRowT column -> PrimaryKey ScriptRowT column Source #

Beamable ScriptRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> ScriptRowT f -> ScriptRowT g -> m (ScriptRowT h) Source #

tblSkeleton :: TableSkeleton ScriptRowT Source #

Generic (ScriptRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (ScriptRowT f) :: Type -> Type Source #

Methods

from :: ScriptRowT f -> Rep (ScriptRowT f) x Source #

to :: Rep (ScriptRowT f) x -> ScriptRowT f Source #

Beamable (PrimaryKey ScriptRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey ScriptRowT f -> PrimaryKey ScriptRowT g -> m (PrimaryKey ScriptRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey ScriptRowT) Source #

Generic (PrimaryKey ScriptRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey ScriptRowT f) :: Type -> Type Source #

data PrimaryKey ScriptRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (ScriptRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (ScriptRowT f) = D1 ('MetaData "ScriptRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "ScriptRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptRowHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_scriptRowScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey ScriptRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey ScriptRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "ScriptRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data RedeemerRowT f Source #

Instances

Instances details
Table RedeemerRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey RedeemerRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). RedeemerRowT column -> PrimaryKey RedeemerRowT column Source #

Beamable RedeemerRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> RedeemerRowT f -> RedeemerRowT g -> m (RedeemerRowT h) Source #

tblSkeleton :: TableSkeleton RedeemerRowT Source #

Generic (RedeemerRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (RedeemerRowT f) :: Type -> Type Source #

Beamable (PrimaryKey RedeemerRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey RedeemerRowT f -> PrimaryKey RedeemerRowT g -> m (PrimaryKey RedeemerRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey RedeemerRowT) Source #

Generic (PrimaryKey RedeemerRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey RedeemerRowT f) :: Type -> Type Source #

data PrimaryKey RedeemerRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (RedeemerRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (RedeemerRowT f) = D1 ('MetaData "RedeemerRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "RedeemerRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_redeemerRowHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_redeemerRowRedeemer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey RedeemerRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey RedeemerRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "RedeemerRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data AddressRowT f Source #

Instances

Instances details
Table AddressRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey AddressRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). AddressRowT column -> PrimaryKey AddressRowT column Source #

Beamable AddressRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> AddressRowT f -> AddressRowT g -> m (AddressRowT h) Source #

tblSkeleton :: TableSkeleton AddressRowT Source #

Generic (AddressRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (AddressRowT f) :: Type -> Type Source #

Beamable (PrimaryKey AddressRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey AddressRowT f -> PrimaryKey AddressRowT g -> m (PrimaryKey AddressRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey AddressRowT) Source #

Generic (PrimaryKey AddressRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey AddressRowT f) :: Type -> Type Source #

data PrimaryKey AddressRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (AddressRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (AddressRowT f) = D1 ('MetaData "AddressRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "AddressRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_addressRowCred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_addressRowOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey AddressRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey AddressRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "AddressRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data AssetClassRowT f Source #

Instances

Instances details
Table AssetClassRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey AssetClassRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). AssetClassRowT column -> PrimaryKey AssetClassRowT column Source #

Beamable AssetClassRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> AssetClassRowT f -> AssetClassRowT g -> m (AssetClassRowT h) Source #

tblSkeleton :: TableSkeleton AssetClassRowT Source #

Generic (AssetClassRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (AssetClassRowT f) :: Type -> Type Source #

Beamable (PrimaryKey AssetClassRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Generic (PrimaryKey AssetClassRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey AssetClassRowT f) :: Type -> Type Source #

data PrimaryKey AssetClassRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (AssetClassRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (AssetClassRowT f) = D1 ('MetaData "AssetClassRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "AssetClassRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_assetClassRowAssetClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_assetClassRowOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey AssetClassRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey AssetClassRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "AssetClassRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data TipRowT f Source #

Instances

Instances details
Table TipRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey TipRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). TipRowT column -> PrimaryKey TipRowT column Source #

Beamable TipRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> TipRowT f -> TipRowT g -> m (TipRowT h) Source #

tblSkeleton :: TableSkeleton TipRowT Source #

Generic (TipRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (TipRowT f) :: Type -> Type Source #

Methods

from :: TipRowT f -> Rep (TipRowT f) x Source #

to :: Rep (TipRowT f) x -> TipRowT f Source #

Beamable (PrimaryKey TipRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey TipRowT f -> PrimaryKey TipRowT g -> m (PrimaryKey TipRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey TipRowT) Source #

Generic (PrimaryKey TipRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey TipRowT f) :: Type -> Type Source #

data PrimaryKey TipRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (TipRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (TipRowT f) = D1 ('MetaData "TipRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TipRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tipRowSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Word64)) :*: (S1 ('MetaSel ('Just "_tipRowBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_tipRowBlockNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Word64)))))
type Rep (PrimaryKey TipRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey TipRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TipRowId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTipRowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Word64))))

data UnspentOutputRowT f Source #

Instances

Instances details
Table UnspentOutputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UnspentOutputRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). UnspentOutputRowT column -> PrimaryKey UnspentOutputRowT column Source #

Beamable UnspentOutputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> UnspentOutputRowT f -> UnspentOutputRowT g -> m (UnspentOutputRowT h) Source #

tblSkeleton :: TableSkeleton UnspentOutputRowT Source #

Generic (UnspentOutputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (UnspentOutputRowT f) :: Type -> Type Source #

Beamable (PrimaryKey UnspentOutputRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Generic (PrimaryKey UnspentOutputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey UnspentOutputRowT f) :: Type -> Type Source #

data PrimaryKey UnspentOutputRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UnspentOutputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UnspentOutputRowT f) = D1 ('MetaData "UnspentOutputRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UnspentOutputRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unspentOutputRowTip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PrimaryKey TipRowT f)) :*: S1 ('MetaSel ('Just "_unspentOutputRowOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey UnspentOutputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey UnspentOutputRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UnspentOutputRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PrimaryKey TipRowT f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data UnmatchedInputRowT f Source #

Instances

Instances details
Table UnmatchedInputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UnmatchedInputRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). UnmatchedInputRowT column -> PrimaryKey UnmatchedInputRowT column Source #

Beamable UnmatchedInputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> UnmatchedInputRowT f -> UnmatchedInputRowT g -> m (UnmatchedInputRowT h) Source #

tblSkeleton :: TableSkeleton UnmatchedInputRowT Source #

Generic (UnmatchedInputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (UnmatchedInputRowT f) :: Type -> Type Source #

Beamable (PrimaryKey UnmatchedInputRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Generic (PrimaryKey UnmatchedInputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey UnmatchedInputRowT f) :: Type -> Type Source #

data PrimaryKey UnmatchedInputRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UnmatchedInputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UnmatchedInputRowT f) = D1 ('MetaData "UnmatchedInputRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UnmatchedInputRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unmatchedInputRowTip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PrimaryKey TipRowT f)) :*: S1 ('MetaSel ('Just "_unmatchedInputRowOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey UnmatchedInputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey UnmatchedInputRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UnmatchedInputRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PrimaryKey TipRowT f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data UtxoRowT f Source #

Instances

Instances details
Table UtxoRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UtxoRowT column Source #

Methods

primaryKey :: forall (column :: Type -> Type). UtxoRowT column -> PrimaryKey UtxoRowT column Source #

Beamable UtxoRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> UtxoRowT f -> UtxoRowT g -> m (UtxoRowT h) Source #

tblSkeleton :: TableSkeleton UtxoRowT Source #

Generic (UtxoRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (UtxoRowT f) :: Type -> Type Source #

Methods

from :: UtxoRowT f -> Rep (UtxoRowT f) x Source #

to :: Rep (UtxoRowT f) x -> UtxoRowT f Source #

Beamable (PrimaryKey UtxoRowT) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey UtxoRowT f -> PrimaryKey UtxoRowT g -> m (PrimaryKey UtxoRowT h) Source #

tblSkeleton :: TableSkeleton (PrimaryKey UtxoRowT) Source #

Generic (PrimaryKey UtxoRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (PrimaryKey UtxoRowT f) :: Type -> Type Source #

data PrimaryKey UtxoRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UtxoRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (UtxoRowT f) = D1 ('MetaData "UtxoRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UtxoRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_utxoRowOutRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_utxoRowTxOut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey UtxoRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (PrimaryKey UtxoRowT f) = D1 ('MetaData "PrimaryKey" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "UtxoRowOutRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data Db f Source #

Instances

Instances details
Database be Db Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

zipTables :: Applicative m => Proxy be -> (forall tbl. (IsDatabaseEntity be tbl, DatabaseEntityRegularRequirements be tbl) => f tbl -> g tbl -> m (h tbl)) -> Db f -> Db g -> m (Db h) Source #

Generic (Db f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type Rep (Db f) :: Type -> Type Source #

Methods

from :: Db f -> Rep (Db f) x Source #

to :: Rep (Db f) x -> Db f Source #

AllTables Semigroup f => Semigroup (Db f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

(<>) :: Db f -> Db f -> Db f Source #

sconcat :: NonEmpty (Db f) -> Db f Source #

stimes :: Integral b => b -> Db f -> Db f Source #

AllTables Monoid f => Monoid (Db f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Methods

mempty :: Db f Source #

mappend :: Db f -> Db f -> Db f Source #

mconcat :: [Db f] -> Db f Source #

type Rep (Db f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

class FromBackendRow Sqlite (DbType a) => HasDbType a where Source #

Instances of HasDbType can be converted to types that can be stored in the database. toDbValue and fromDbValue must be inverses of each other.

Associated Types

type DbType a Source #

Methods

toDbValue :: a -> DbType a Source #

fromDbValue :: DbType a -> a Source #

Instances

Instances details
HasDbType ByteString Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ByteString Source #

HasDbType BlockId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BlockId Source #

HasDbType ChainIndexTxOut Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ChainIndexTxOut Source #

HasDbType Slot Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Slot Source #

HasDbType TxId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType TxId Source #

HasDbType StakeValidatorHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType StakeValidatorHash Source #

HasDbType MintingPolicyHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType MintingPolicyHash Source #

HasDbType RedeemerHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType RedeemerHash Source #

HasDbType DatumHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType DatumHash Source #

HasDbType ValidatorHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ValidatorHash Source #

HasDbType ScriptHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ScriptHash Source #

HasDbType StakeValidator Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType StakeValidator Source #

HasDbType MintingPolicy Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType MintingPolicy Source #

HasDbType Redeemer Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Redeemer Source #

HasDbType Datum Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Datum Source #

HasDbType Validator Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Validator Source #

HasDbType Script Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Script Source #

HasDbType AssetClass Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType AssetClass Source #

HasDbType TxOut Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType TxOut Source #

HasDbType TxOutRef Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType TxOutRef Source #

HasDbType Credential Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Credential Source #

HasDbType ChainIndexTx Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ChainIndexTx Source #

HasDbType Tip Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Tip Source #

HasDbType BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BlockNumber Source #

Serialise a => HasDbType (Serialisable a) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Serialisable a) Source #

HasDbType (RedeemerHash, Redeemer) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (RedeemerHash, Redeemer) Source #

HasDbType (DatumHash, Datum) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (DatumHash, Datum) Source #

HasDbType (ScriptHash, Script) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (ScriptHash, Script) Source #

HasDbType (AssetClass, TxOutRef) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (AssetClass, TxOutRef) Source #

HasDbType (Credential, TxOutRef) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Credential, TxOutRef) Source #

newtype Serialisable a Source #

Constructors

Serialisable 

Fields

Instances

Instances details
Serialise a => HasDbType (Serialisable a) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Serialisable a) Source #

type DbType (Serialisable a) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema