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

Plutus.ChainIndex.Emulator.DiskState

Description

The disk state is the part of the chain index that is kept on disk. This module defines an in-memory implementation of the disk state which can be used in the emulator.

Synopsis

Documentation

data DiskState Source #

Data that we keep on disk. (This type is used for testing only - we need other structures for the disk-backed storage)

Instances

Instances details
Eq DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Show DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Generic DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Associated Types

type Rep DiskState :: Type -> Type Source #

Semigroup DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Monoid DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type Rep DiskState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

fromTx :: ChainIndexTx -> DiskState Source #

The data we store on disk for a given ChainIndexTx

data CredentialMap Source #

Set of transaction output references for each address.

Instances

Instances details
Eq CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Show CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Generic CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Associated Types

type Rep CredentialMap :: Type -> Type Source #

Semigroup CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Monoid CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Ixed CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

At CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type Rep CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type Rep CredentialMap = D1 ('MetaData "CredentialMap" "Plutus.ChainIndex.Emulator.DiskState" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'True) (C1 ('MetaCons "CredentialMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unCredentialMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Credential (Set TxOutRef)))))
type Index CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type IxValue CredentialMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

data AssetClassMap Source #

Set of transaction output references for each asset class.

Instances

Instances details
Eq AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Show AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Generic AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Associated Types

type Rep AssetClassMap :: Type -> Type Source #

Semigroup AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Monoid AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

Ixed AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

At AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type Rep AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type Rep AssetClassMap = D1 ('MetaData "AssetClassMap" "Plutus.ChainIndex.Emulator.DiskState" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'True) (C1 ('MetaCons "AssetClassMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unAssetClassMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AssetClass (Set TxOutRef)))))
type Index AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState

type IxValue AssetClassMap Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.DiskState