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

Plutus.ChainIndex.DbSchema

Synopsis

Documentation

data DatumRowT f Source #

Constructors

DatumRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton DatumRowT

Table DatumRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey DatumRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey DatumRowT)

Generic (PrimaryKey DatumRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

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

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

data PrimaryKey DatumRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey DatumRowT f = DatumRowId (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "DatumRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data ScriptRowT f Source #

Constructors

ScriptRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton ScriptRowT

Table ScriptRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey ScriptRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey ScriptRowT)

Generic (PrimaryKey ScriptRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

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

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

data PrimaryKey ScriptRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey ScriptRowT f = ScriptRowId (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "ScriptRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data RedeemerRowT f Source #

Constructors

RedeemerRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton RedeemerRowT

Table RedeemerRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey RedeemerRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey RedeemerRowT)

Generic (PrimaryKey RedeemerRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey RedeemerRowT f -> Rep (PrimaryKey RedeemerRowT f) x Source #

to :: Rep (PrimaryKey RedeemerRowT f) x -> PrimaryKey RedeemerRowT f Source #

data PrimaryKey RedeemerRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey RedeemerRowT f = RedeemerRowId (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "RedeemerRowId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data TxRowT f Source #

Constructors

TxRow 

Fields

Instances

Instances details
Beamable TxRowT 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)) -> TxRowT f -> TxRowT g -> m (TxRowT h)

tblSkeleton :: TableSkeleton TxRowT

Table TxRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey TxRowT column

Methods

primaryKey :: forall (column :: Type -> Type). TxRowT column -> PrimaryKey TxRowT column

Generic (TxRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

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

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

Beamable (PrimaryKey TxRowT) 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 TxRowT f -> PrimaryKey TxRowT g -> m (PrimaryKey TxRowT h)

tblSkeleton :: TableSkeleton (PrimaryKey TxRowT)

Generic (PrimaryKey TxRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey TxRowT f -> Rep (PrimaryKey TxRowT f) x Source #

to :: Rep (PrimaryKey TxRowT f) x -> PrimaryKey TxRowT f Source #

data PrimaryKey TxRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey TxRowT f = TxRowId (Columnar f ByteString)
type Rep (TxRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

type Rep (TxRowT f) = D1 ('MetaData "TxRowT" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "TxRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txRowTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)) :*: S1 ('MetaSel ('Just "_txRowTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))
type Rep (PrimaryKey TxRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

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

data AddressRowT f Source #

Constructors

AddressRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton AddressRowT

Table AddressRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey AddressRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey AddressRowT)

Generic (PrimaryKey AddressRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey AddressRowT f -> Rep (PrimaryKey AddressRowT f) x Source #

to :: Rep (PrimaryKey AddressRowT f) x -> PrimaryKey AddressRowT f Source #

data PrimaryKey AddressRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey AddressRowT f = AddressRowId (Columnar f ByteString) (Columnar f ByteString) (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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)) :*: S1 ('MetaSel ('Just "_addressRowDatumHash") '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString)))))

data AssetClassRowT f Source #

Constructors

AssetClassRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton AssetClassRowT

Table AssetClassRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey AssetClassRowT column

Methods

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

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

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 AssetClassRowT f -> PrimaryKey AssetClassRowT g -> m (PrimaryKey AssetClassRowT h)

tblSkeleton :: TableSkeleton (PrimaryKey AssetClassRowT)

Generic (PrimaryKey AssetClassRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey AssetClassRowT f -> Rep (PrimaryKey AssetClassRowT f) x Source #

to :: Rep (PrimaryKey AssetClassRowT f) x -> PrimaryKey AssetClassRowT f Source #

data PrimaryKey AssetClassRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey AssetClassRowT f = AssetClassRowId (Columnar f ByteString) (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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 #

Constructors

TipRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton TipRowT

Table TipRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey TipRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey TipRowT)

Generic (PrimaryKey TipRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

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

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

data PrimaryKey TipRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey TipRowT f = TipRowId {}
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "TipRowId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTipRowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Word64))))

data UnspentOutputRowT f Source #

Constructors

UnspentOutputRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton UnspentOutputRowT

Table UnspentOutputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UnspentOutputRowT column

Methods

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

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

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 UnspentOutputRowT f -> PrimaryKey UnspentOutputRowT g -> m (PrimaryKey UnspentOutputRowT h)

tblSkeleton :: TableSkeleton (PrimaryKey UnspentOutputRowT)

Generic (PrimaryKey UnspentOutputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey UnspentOutputRowT f -> Rep (PrimaryKey UnspentOutputRowT f) x Source #

to :: Rep (PrimaryKey UnspentOutputRowT f) x -> PrimaryKey UnspentOutputRowT f Source #

data PrimaryKey UnspentOutputRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey UnspentOutputRowT f = UnspentOutputRowId (PrimaryKey TipRowT f) (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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 #

Constructors

UnmatchedInputRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton UnmatchedInputRowT

Table UnmatchedInputRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UnmatchedInputRowT column

Methods

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

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

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 UnmatchedInputRowT f -> PrimaryKey UnmatchedInputRowT g -> m (PrimaryKey UnmatchedInputRowT h)

tblSkeleton :: TableSkeleton (PrimaryKey UnmatchedInputRowT)

Generic (PrimaryKey UnmatchedInputRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

from :: PrimaryKey UnmatchedInputRowT f -> Rep (PrimaryKey UnmatchedInputRowT f) x Source #

to :: Rep (PrimaryKey UnmatchedInputRowT f) x -> PrimaryKey UnmatchedInputRowT f Source #

data PrimaryKey UnmatchedInputRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey UnmatchedInputRowT f = UnmatchedInputRowId (PrimaryKey TipRowT f) (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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 #

Constructors

UtxoRow 

Fields

Instances

Instances details
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)

tblSkeleton :: TableSkeleton UtxoRowT

Table UtxoRowT Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

data PrimaryKey UtxoRowT column

Methods

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

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)

tblSkeleton :: TableSkeleton (PrimaryKey UtxoRowT)

Generic (PrimaryKey UtxoRowT f) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

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

Methods

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

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

data PrimaryKey UtxoRowT f Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data PrimaryKey UtxoRowT f = UtxoRowOutRef (Columnar f ByteString)
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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" '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-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "UtxoRowOutRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f ByteString))))

data Db f Source #

Constructors

Db 

Fields

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)

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

type Rep (Db f) = D1 ('MetaData "Db" "Plutus.ChainIndex.DbSchema" "plutus-chain-index-core-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "Db" 'PrefixI 'True) (((S1 ('MetaSel ('Just "datumRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity DatumRowT))) :*: S1 ('MetaSel ('Just "scriptRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity ScriptRowT)))) :*: (S1 ('MetaSel ('Just "redeemerRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity RedeemerRowT))) :*: (S1 ('MetaSel ('Just "txRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity TxRowT))) :*: S1 ('MetaSel ('Just "utxoOutRefRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity UtxoRowT)))))) :*: ((S1 ('MetaSel ('Just "addressRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity AddressRowT))) :*: S1 ('MetaSel ('Just "assetClassRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity AssetClassRowT)))) :*: (S1 ('MetaSel ('Just "tipRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity TipRowT))) :*: (S1 ('MetaSel ('Just "unspentOutputRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity UnspentOutputRowT))) :*: S1 ('MetaSel ('Just "unmatchedInputRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity UnmatchedInputRowT))))))))

type AllTables (c :: * -> Constraint) f = (c (f (TableEntity DatumRowT)), c (f (TableEntity ScriptRowT)), c (f (TableEntity RedeemerRowT)), c (f (TableEntity TxRowT)), c (f (TableEntity UtxoRowT)), c (f (TableEntity AddressRowT)), c (f (TableEntity AssetClassRowT)), c (f (TableEntity TipRowT)), c (f (TableEntity UnspentOutputRowT)), c (f (TableEntity UnmatchedInputRowT))) Source #

db :: DatabaseSettings Sqlite Db Source #

checkedSqliteDb :: CheckedDatabaseSettings Sqlite Db Source #

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 #

Methods

toDbValue :: ByteString -> DbType ByteString Source #

fromDbValue :: DbType ByteString -> ByteString Source #

HasDbType BlockId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BlockId Source #

HasDbType Slot Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Slot Source #

Methods

toDbValue :: Slot -> DbType Slot Source #

fromDbValue :: DbType Slot -> Slot Source #

HasDbType DecoratedTxOut Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType DecoratedTxOut Source #

Methods

toDbValue :: DecoratedTxOut -> DbType DecoratedTxOut Source #

fromDbValue :: DbType DecoratedTxOut -> DecoratedTxOut Source #

HasDbType Credential Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Credential Source #

Methods

toDbValue :: Credential -> DbType Credential Source #

fromDbValue :: DbType Credential -> Credential Source #

HasDbType Datum Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Datum Source #

Methods

toDbValue :: Datum -> DbType Datum Source #

fromDbValue :: DbType Datum -> Datum Source #

HasDbType DatumHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType DatumHash Source #

Methods

toDbValue :: DatumHash -> DbType DatumHash Source #

fromDbValue :: DbType DatumHash -> DatumHash Source #

HasDbType MintingPolicyHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType MintingPolicyHash Source #

Methods

toDbValue :: MintingPolicyHash -> DbType MintingPolicyHash Source #

fromDbValue :: DbType MintingPolicyHash -> MintingPolicyHash Source #

HasDbType Redeemer Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Redeemer Source #

Methods

toDbValue :: Redeemer -> DbType Redeemer Source #

fromDbValue :: DbType Redeemer -> Redeemer Source #

HasDbType RedeemerHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType RedeemerHash Source #

Methods

toDbValue :: RedeemerHash -> DbType RedeemerHash Source #

fromDbValue :: DbType RedeemerHash -> RedeemerHash Source #

HasDbType ScriptHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ScriptHash Source #

Methods

toDbValue :: ScriptHash -> DbType ScriptHash Source #

fromDbValue :: DbType ScriptHash -> ScriptHash Source #

HasDbType StakeValidatorHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType StakeValidatorHash Source #

Methods

toDbValue :: StakeValidatorHash -> DbType StakeValidatorHash Source #

fromDbValue :: DbType StakeValidatorHash -> StakeValidatorHash Source #

HasDbType ValidatorHash Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ValidatorHash Source #

Methods

toDbValue :: ValidatorHash -> DbType ValidatorHash Source #

fromDbValue :: DbType ValidatorHash -> ValidatorHash Source #

HasDbType TxOutRef Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType TxOutRef Source #

Methods

toDbValue :: TxOutRef -> DbType TxOutRef Source #

fromDbValue :: DbType TxOutRef -> TxOutRef Source #

HasDbType BuiltinByteString Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BuiltinByteString Source #

Methods

toDbValue :: BuiltinByteString -> DbType BuiltinByteString Source #

fromDbValue :: DbType BuiltinByteString -> BuiltinByteString Source #

HasDbType TxId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType TxId Source #

Methods

toDbValue :: TxId -> DbType TxId Source #

fromDbValue :: DbType TxId -> TxId Source #

HasDbType AssetClass Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType AssetClass Source #

Methods

toDbValue :: AssetClass -> DbType AssetClass Source #

fromDbValue :: DbType AssetClass -> AssetClass Source #

HasDbType ChainIndexTxOut Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType ChainIndexTxOut 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 #

HasDbType (Versioned MintingPolicy) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Versioned MintingPolicy) Source #

Methods

toDbValue :: Versioned MintingPolicy -> DbType (Versioned MintingPolicy) Source #

fromDbValue :: DbType (Versioned MintingPolicy) -> Versioned MintingPolicy Source #

HasDbType (Versioned Script) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Versioned Script) Source #

Methods

toDbValue :: Versioned Script -> DbType (Versioned Script) Source #

fromDbValue :: DbType (Versioned Script) -> Versioned Script Source #

HasDbType (Versioned StakeValidator) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Versioned StakeValidator) Source #

Methods

toDbValue :: Versioned StakeValidator -> DbType (Versioned StakeValidator) Source #

fromDbValue :: DbType (Versioned StakeValidator) -> Versioned StakeValidator Source #

HasDbType (Versioned Validator) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Versioned Validator) Source #

Methods

toDbValue :: Versioned Validator -> DbType (Versioned Validator) Source #

fromDbValue :: DbType (Versioned Validator) -> Versioned Validator Source #

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

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Serialisable a) Source #

HasDbType (DatumHash, Datum) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (DatumHash, Datum) Source #

Methods

toDbValue :: (DatumHash, Datum) -> DbType (DatumHash, Datum) Source #

fromDbValue :: DbType (DatumHash, Datum) -> (DatumHash, Datum) Source #

HasDbType (RedeemerHash, Redeemer) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (RedeemerHash, Redeemer) Source #

Methods

toDbValue :: (RedeemerHash, Redeemer) -> DbType (RedeemerHash, Redeemer) Source #

fromDbValue :: DbType (RedeemerHash, Redeemer) -> (RedeemerHash, Redeemer) Source #

HasDbType (ScriptHash, Versioned Script) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (ScriptHash, Versioned Script) Source #

Methods

toDbValue :: (ScriptHash, Versioned Script) -> DbType (ScriptHash, Versioned Script) Source #

fromDbValue :: DbType (ScriptHash, Versioned Script) -> (ScriptHash, Versioned Script) Source #

HasDbType (TxId, ChainIndexTx) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (TxId, ChainIndexTx) Source #

HasDbType (AssetClass, TxOutRef) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (AssetClass, TxOutRef) Source #

Methods

toDbValue :: (AssetClass, TxOutRef) -> DbType (AssetClass, TxOutRef) Source #

fromDbValue :: DbType (AssetClass, TxOutRef) -> (AssetClass, TxOutRef) Source #

HasDbType (Credential, TxOutRef, Maybe DatumHash) Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType (Credential, TxOutRef, Maybe DatumHash) Source #

Methods

toDbValue :: (Credential, TxOutRef, Maybe DatumHash) -> DbType (Credential, TxOutRef, Maybe DatumHash) Source #

fromDbValue :: DbType (Credential, TxOutRef, Maybe DatumHash) -> (Credential, TxOutRef, Maybe DatumHash) 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

type DbType (Serialisable a) = ByteString