| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ledger.Value
Synopsis
- module Plutus.V1.Ledger.Value
- noAdaValue :: Value -> Value
- adaOnlyValue :: Value -> Value
- isAdaOnlyValue :: Value -> Bool
- currencyValueOf :: Value -> CurrencySymbol -> Value
Documentation
module Plutus.V1.Ledger.Value
noAdaValue :: Value -> Value Source #
Value without any Ada.
adaOnlyValue :: Value -> Value Source #
Value without any non-Ada.
isAdaOnlyValue :: Value -> Bool Source #
currencyValueOf :: Value -> CurrencySymbol -> Value Source #
Get the quantities of just the given CurrencySymbol in the Value. This
is useful when implementing minting policies as they are responsible for
checking all minted/burnt tokens of their own CurrencySymbol.