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

PlutusLedgerApi.V3.Data.MintValue

Synopsis

Documentation

newtype MintValue Source #

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

Instances

Instances details
Generic MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Associated Types

type Rep MintValue :: Type -> Type Source #

Show MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Eq MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

HasBlueprintDefinition MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Associated Types

type Unroll MintValue :: [Type]

Methods

definitionId :: DefinitionId

FromData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

ToData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

UnsafeFromData MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Pretty MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Methods

pretty :: MintValue -> Doc ann

prettyList :: [MintValue] -> Doc ann

HasBlueprintSchema MintValue referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Methods

schema :: Schema referencedTypes

Lift DefaultUni MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Methods

lift :: MintValue -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

Methods

typeRep :: Proxy MintValue -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

type Rep MintValue = D1 ('MetaData "MintValue" "PlutusLedgerApi.V3.Data.MintValue" "plutus-ledger-api-1.45.0.0-4sBiUM4DKlI2NgrKBx1zp5" 'True) (C1 ('MetaCons "UnsafeMintValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CurrencySymbol (Map TokenName Integer)))))
type Unroll MintValue Source # 
Instance details

Defined in PlutusLedgerApi.V3.Data.MintValue

mintValueMinted :: MintValue -> Value Source #

Get the Value minted by the MintValue.

mintValueBurned :: MintValue -> Value Source #

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