Skip to content

Commit

Permalink
api: Add missing lenses
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Dec 28, 2023
1 parent 852ee67 commit dab1e87
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions blockfrost-api/src/Blockfrost/Lens.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ makeFields ''AccountDelegation
makeFields ''AccountRegistration
makeFields ''AccountWithdrawal
makeFields ''AccountMir
makeFields ''AddressAssociatedTotal

makeLensesWith blockfrostFieldRules ''AddressInfo
makeLensesWith blockfrostFieldRules ''AddressInfoExtended
makeFields ''AddressDetails
makeFields ''AddressUtxo
makeFields ''AddressTransaction
Expand All @@ -32,6 +34,7 @@ makeFields ''AssetMetadata
makeFields ''AssetHistory
makeFields ''AssetTransaction
makeFields ''AssetAddress
makeFields ''MetadataMediaFile

makeFields ''Block

Expand All @@ -53,6 +56,7 @@ makeFieldsNoPrefix ''NetworkEraSummary
makeFieldsNoPrefix ''NetworkEraBound
makeFieldsNoPrefix ''NetworkEraParameters

makeFields ''Pool
makeFields ''PoolEpoch
makeFields ''PoolInfo
makeFields ''PoolHistory
Expand All @@ -77,6 +81,12 @@ makeFields ''TransactionMetaJSON
makeFields ''TransactionMetaCBOR
makeFields ''TransactionRedeemer

makeFields ''DerivedAddress
makeFields ''TxEval
makeFields ''TxEvalBudget
makeFields ''TxEvalResult
makeFields ''TxEvalInput

makeLensesWith blockfrostFieldRules ''IPFSAdd
makeLensesWith blockfrostFieldRules ''IPFSPinChange
makeLensesWith blockfrostFieldRules ''IPFSPin
Expand All @@ -88,3 +98,4 @@ makeFields ''NutlinkTicker
-- * Shared
makeFields ''BlockIndex
makePrisms ''Amount
makePrisms ''AmountExtended

0 comments on commit dab1e87

Please sign in to comment.