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.Slot

Description

 
Synopsis

Documentation

data GYSlot #

Instances

Instances details
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 #

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

ToJSON GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

toJSONGYSlot → Value #

toEncodingGYSlot → Encoding #

toJSONList ∷ [GYSlot] → Value #

toEncodingList ∷ [GYSlot] → Encoding #

ToParamSchema GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy GYSlot → ParamSchema t

ToSchema GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

Methods

declareNamedSchemaProxy GYSlot → Declare (Definitions Schema) NamedSchema

slotToApiGYSlot → SlotNo #

slotFromApi ∷ SlotNo → GYSlot #

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.