plutus-chain-index-core-1.2.0.0
Safe Haskell None
Language Haskell2010

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

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

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-1.2.0.0-vEgAIGWZqMIuVHBPih2W5" ' 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

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-1.2.0.0-vEgAIGWZqMIuVHBPih2W5" ' True ) ( C1 (' MetaCons "AssetClassMap" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_unAssetClassMap") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map AssetId ( 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