| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V3.MintValue
Synopsis
- newtype MintValue = UnsafeMintValue {}
- emptyMintValue :: MintValue
- mintValueToMap :: MintValue -> Map CurrencySymbol (Map TokenName Integer)
- mintValueMinted :: MintValue -> Value
- mintValueBurned :: MintValue -> Value
Documentation
A MintValue represents assets that are minted and burned in a transaction.
Constructors
| UnsafeMintValue | |
Fields | |
Instances
| Data MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MintValue -> c MintValue Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MintValue Source # toConstr :: MintValue -> Constr Source # dataTypeOf :: MintValue -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MintValue) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MintValue) Source # gmapT :: (forall b. Data b => b -> b) -> MintValue -> MintValue Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MintValue -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MintValue -> r Source # gmapQ :: (forall d. Data d => d -> u) -> MintValue -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> MintValue -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MintValue -> m MintValue Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MintValue -> m MintValue Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MintValue -> m MintValue Source # | |||||
| Generic MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Associated Types
| |||||
| Show MintValue Source # | |||||
| NFData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue | |||||
| Eq MintValue Source # | |||||
| HasBlueprintDefinition MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq MintValue Source # | Manual Eq instance: two MintValues are equal if they mint and burn the same assets, regardless of internal Map representation. Cannot use deriveEq for semantic equality. | ||||
Defined in PlutusLedgerApi.V3.MintValue | |||||
| FromData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Methods | |||||
| ToData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Methods toBuiltinData :: MintValue -> BuiltinData # | |||||
| UnsafeFromData MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Methods | |||||
| Pretty MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue | |||||
| HasBlueprintSchema MintValue referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue | |||||
| Typeable DefaultUni MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue | |||||
| type Rep MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue type Rep MintValue = D1 ('MetaData "MintValue" "PlutusLedgerApi.V3.MintValue" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'True) (C1 ('MetaCons "UnsafeMintValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMintValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CurrencySymbol (Map TokenName Integer))))) | |||||
| type Unroll MintValue Source # | |||||
Defined in PlutusLedgerApi.V3.MintValue | |||||