plutus-ledger-api-1.38.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusLedgerApi.V3.MintValue

Synopsis

Documentation

newtype MintValue Source #

A MintValue represents assets that are minted and burned in a transaction.

Instances

Instances details
Data MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → MintValue → c MintValue Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c MintValue Source #

toConstrMintValueConstr Source #

dataTypeOfMintValueDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c MintValue) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c MintValue) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → MintValueMintValue Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → MintValue → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → MintValue → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → MintValue → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → MintValue → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → MintValue → m MintValue Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → MintValue → m MintValue Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → MintValue → m MintValue Source #

Generic MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Associated Types

type Rep MintValueTypeType Source #

Show MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

NFData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Methods

rnfMintValue → () Source #

Eq MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

HasBlueprintDefinition MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Associated Types

type Unroll MintValue ∷ [Type] Source #

FromData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

ToData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

UnsafeFromData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Pretty MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Methods

prettyMintValueDoc ann Source #

prettyList ∷ [MintValue] → Doc ann Source #

HasBlueprintSchema MintValue referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Methods

schemaSchema referencedTypes Source #

Lift DefaultUni MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

Typeable DefaultUni MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

type Rep MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

type Rep MintValue = D1 ('MetaData "MintValue" "PlutusLedgerApi.V3.MintValue" "plutus-ledger-api-1.38.0.0-inplace" 'True) (C1 ('MetaCons "UnsafeMintValue" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CurrencySymbol (Map TokenName Integer)))))
type Unroll MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.MintValue

mintValueMintedMintValueValue Source #

Get the Value minted by the MintValue.

mintValueBurnedMintValueValue Source #

Get the Value burned by the MintValue. All the negative quantities in the MintValue become positive in the resulting Value.