atlas-cardano-0.5.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.Types.Ada

Description

 
Synopsis

Documentation

newtype Ada #

Ada represented with a Micro value.

Constructors

Ada Micro 

Instances

Instances details
Num Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

(+)AdaAdaAda Source #

(-)AdaAdaAda Source #

(*)AdaAdaAda Source #

negateAdaAda Source #

absAdaAda Source #

signumAdaAda Source #

fromIntegerIntegerAda Source #

Show Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

showsPrecIntAdaShowS Source #

showAdaString Source #

showList ∷ [Ada] → ShowS Source #

Eq Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

(==)AdaAdaBool Source #

(/=)AdaAdaBool Source #

Ord Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

compareAdaAdaOrdering Source #

(<)AdaAdaBool Source #

(<=)AdaAdaBool Source #

(>)AdaAdaBool Source #

(>=)AdaAdaBool Source #

maxAdaAdaAda Source #

minAdaAdaAda Source #

adaSymbolCurrencySymbol Source #

The CurrencySymbol of the Ada currency.

adaTokenTokenName Source #

The TokenName of the Ada currency.

toLovelaceAdaInteger #

Convert Ada amount to its corresponding Lovelace unit.

toValueAdaValue #

Create a Value containing given amount of Ada.

fromValueValueAda #

Obtain the Ada amount contained within a Value.

lovelaceOfIntegerAda #

Create a Ada from given amount in lovelace.

lovelaceValueOfIntegerValue #

Obtain the lovelace amount contained within a Value.