atlas-0.1.0.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainersupport@geniusyield.co
Stabilitydevelop
Safe HaskellNone
LanguageHaskell2010

GeniusYield.Types.Ada

Description

 
Synopsis

Documentation

newtype Ada #

Ada represented with a Micro value.

Constructors

Ada Micro 

Instances

Instances details
Eq Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

(==)AdaAdaBool #

(/=)AdaAdaBool #

Num Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

(+)AdaAdaAda #

(-)AdaAdaAda #

(*)AdaAdaAda #

negateAdaAda #

absAdaAda #

signumAdaAda #

fromIntegerIntegerAda #

Ord Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

compareAdaAdaOrdering #

(<)AdaAdaBool #

(<=)AdaAdaBool #

(>)AdaAdaBool #

(>=)AdaAdaBool #

maxAdaAdaAda #

minAdaAdaAda #

Show Ada # 
Instance details

Defined in GeniusYield.Types.Ada

Methods

showsPrecIntAdaShowS #

showAdaString #

showList ∷ [Ada] → ShowS #

adaSymbol ∷ CurrencySymbol #

adaToken ∷ TokenName #

toLovelaceAdaInteger #

Convert Ada amount to its corresponding Lovelace unit.

toValueAda → Value #

Create a Value containing given amount of Ada.

fromValue ∷ Value → Ada #

Obtain the Ada amount contained within a Value.

lovelaceOfIntegerAda #

Create a Ada from given amount in lovelace.

lovelaceValueOfInteger → Value #

Obtain the lovelace amount contained within a Value.