plutus-contract-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Wallet.Rollup.Types

Documentation

data SequenceId Source #

Constructors

SequenceId 

Fields

Instances

Instances details
Eq SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Ord SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Show SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Generic SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Associated Types

type Rep SequenceId :: Type -> Type Source #

FromJSON SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

parseJSON :: Value -> Parser SequenceId

parseJSONList :: Value -> Parser [SequenceId]

ToJSON SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

toJSON :: SequenceId -> Value

toEncoding :: SequenceId -> Encoding

toJSONList :: [SequenceId] -> Value

toEncodingList :: [SequenceId] -> Encoding

type Rep SequenceId Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep SequenceId = D1 ('MetaData "SequenceId" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "SequenceId" 'PrefixI 'True) (S1 ('MetaSel ('Just "slotIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "txIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data DereferencedInput Source #

Constructors

DereferencedInput 

Fields

InputNotFound TxIn 

Instances

Instances details
Eq DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

Show DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

Generic DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

Associated Types

type Rep DereferencedInput :: Type -> Type Source #

FromJSON DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

parseJSON :: Value -> Parser DereferencedInput

parseJSONList :: Value -> Parser [DereferencedInput]

ToJSON DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep DereferencedInput Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep DereferencedInput = D1 ('MetaData "DereferencedInput" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "DereferencedInput" 'PrefixI 'True) (S1 ('MetaSel ('Just "originalInput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxIn) :*: S1 ('MetaSel ('Just "refersTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOut)) :+: C1 ('MetaCons "InputNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxIn)))

data BeneficialOwner Source #

Constructors

OwnedByPaymentPubKey PaymentPubKeyHash 
OwnedByScript ValidatorHash 

Instances

Instances details
Eq BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Ord BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Show BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Generic BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Associated Types

type Rep BeneficialOwner :: Type -> Type Source #

FromJSON BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

parseJSON :: Value -> Parser BeneficialOwner

parseJSONList :: Value -> Parser [BeneficialOwner]

FromJSONKey BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

fromJSONKey :: FromJSONKeyFunction BeneficialOwner

fromJSONKeyList :: FromJSONKeyFunction [BeneficialOwner]

ToJSON BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

toJSON :: BeneficialOwner -> Value

toEncoding :: BeneficialOwner -> Encoding

toJSONList :: [BeneficialOwner] -> Value

toEncodingList :: [BeneficialOwner] -> Encoding

ToJSONKey BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

toJSONKey :: ToJSONKeyFunction BeneficialOwner

toJSONKeyList :: ToJSONKeyFunction [BeneficialOwner]

type Rep BeneficialOwner Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep BeneficialOwner = D1 ('MetaData "BeneficialOwner" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "OwnedByPaymentPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PaymentPubKeyHash)) :+: C1 ('MetaCons "OwnedByScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidatorHash)))

data AnnotatedTx Source #

Constructors

AnnotatedTx 

Fields

Instances

Instances details
Eq AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

Show AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

Generic AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

Associated Types

type Rep AnnotatedTx :: Type -> Type Source #

FromJSON AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

parseJSON :: Value -> Parser AnnotatedTx

parseJSONList :: Value -> Parser [AnnotatedTx]

ToJSON AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

Methods

toJSON :: AnnotatedTx -> Value

toEncoding :: AnnotatedTx -> Encoding

toJSONList :: [AnnotatedTx] -> Value

toEncodingList :: [AnnotatedTx] -> Encoding

type Rep AnnotatedTx Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep AnnotatedTx = D1 ('MetaData "AnnotatedTx" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "AnnotatedTx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sequenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SequenceId) :*: (S1 ('MetaSel ('Just "txId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Just "tx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoTx))) :*: (S1 ('MetaSel ('Just "dereferencedInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DereferencedInput]) :*: (S1 ('MetaSel ('Just "balances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map BeneficialOwner Value)) :*: S1 ('MetaSel ('Just "valid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))

data Rollup Source #

Constructors

Rollup 

Fields

Instances

Instances details
Eq Rollup Source # 
Instance details

Defined in Wallet.Rollup.Types

Show Rollup Source # 
Instance details

Defined in Wallet.Rollup.Types

Generic Rollup Source # 
Instance details

Defined in Wallet.Rollup.Types

Associated Types

type Rep Rollup :: Type -> Type Source #

type Rep Rollup Source # 
Instance details

Defined in Wallet.Rollup.Types

type Rep Rollup = D1 ('MetaData "Rollup" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "Rollup" 'PrefixI 'True) (S1 ('MetaSel ('Just "_previousOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map TxIn TxOut)) :*: S1 ('MetaSel ('Just "_rollingBalances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map BeneficialOwner Value))))

previousOutputs :: Lens' Rollup (Map TxIn TxOut) Source #