atlas-cardano-0.6.2: 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.Slot

Description

 
Synopsis

Documentation

data GYSlot #

Instances

Instances details
FromJSON GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

ToJSON GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Read GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Show GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

showsPrecIntGYSlotShowS #

showGYSlotString #

showList ∷ [GYSlot] → ShowS #

PrintfArg GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Eq GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

(==)GYSlotGYSlotBool #

(/=)GYSlotGYSlotBool #

Ord GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

compareGYSlotGYSlotOrdering #

(<)GYSlotGYSlotBool #

(<=)GYSlotGYSlotBool #

(>)GYSlotGYSlotBool #

(>=)GYSlotGYSlotBool #

maxGYSlotGYSlotGYSlot #

minGYSlotGYSlotGYSlot #

FromHttpApiData GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

ToHttpApiData GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

ToParamSchema GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy GYSlotParamSchema t #

ToSchema GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

advanceSlotGYSlotNaturalMaybe GYSlot #

Advance GYSlot forward. If slot value overflows, return Nothing.

unsafeAdvanceSlotGYSlotNaturalGYSlot #

Unsafe advance GYSlot. Doesn't check for the overflow.

unsafeSlotFromIntegerIntegerGYSlot #

Convert from regular integer, which might under or overflow.