Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Ledger Orphans: derive ToSchema for DiffMilliSeconds (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
kk-hainq authored and bwbush committed Mar 11, 2022
1 parent 80fb585 commit 9947f29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plutus-ledger/src/Ledger/Orphans.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import Plutus.V1.Ledger.Bytes (bytes)
import Plutus.V1.Ledger.Crypto (PrivateKey (PrivateKey, getPrivateKey), PubKey (PubKey), Signature (Signature))
import Plutus.V1.Ledger.Scripts (ScriptHash (..))
import Plutus.V1.Ledger.Slot (Slot (Slot))
import Plutus.V1.Ledger.Time (DiffMilliSeconds (DiffMilliSeconds))
import Plutus.V1.Ledger.Tx (RedeemerPtr, ScriptTag, Tx, TxIn, TxInType)
import Plutus.V1.Ledger.Value (AssetClass (AssetClass))
import PlutusCore (Kind, Some, Term, Type, ValueOf, Version)
Expand Down Expand Up @@ -156,6 +157,7 @@ deriving newtype instance OpenApi.ToSchema LedgerBytes
deriving newtype instance OpenApi.ToSchema ValidatorHash
deriving newtype instance OpenApi.ToSchema Signature
deriving newtype instance OpenApi.ToSchema POSIXTime
deriving newtype instance OpenApi.ToSchema DiffMilliSeconds
deriving newtype instance OpenApi.ToSchema BuiltinData
deriving newtype instance OpenApi.ToSchema AssetClass
deriving instance OpenApi.ToSchema a => OpenApi.ToSchema (Extended a)
Expand Down

0 comments on commit 9947f29

Please sign in to comment.