plutus-ledger-1.1.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Value

Synopsis

Documentation

noAdaValue :: Value -> Value Source #

Value without any Ada.

adaOnlyValue :: Value -> Value Source #

Value without any non-Ada.

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.