Skip to content

Commit

Permalink
Merge pull request #72 from sourabhxyz/add-plutusv3-script-type
Browse files Browse the repository at this point in the history
feat: add `PlutusV3` to `ScriptType`
  • Loading branch information
Vardominator authored Aug 28, 2024
2 parents e4bd21d + aa8f78b commit 3638f80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Revision history for `maestro-sdk`

## [1.7.0](https://github.com/maestro-org/haskell-sdk/compare/v1.5.0..v1.6.0) -- 2024-08-17
## [1.7.2](https://github.com/maestro-org/haskell-sdk/compare/v1.7.1..v1.7.2) -- 2024-08-28

* Add `PlutusV3` to `ScriptType`.

## [1.7.0](https://github.com/maestro-org/haskell-sdk/compare/v1.6.0..v1.7.0) -- 2024-08-17

* Updated to newer `era-summaries` and `protocol-parameters` endpoint from earlier `era-history` and `protocol-params` respectively.
* `AssetInfo` type which corresponds to `/assets/:asset` is updated with more response fields.
Expand Down
2 changes: 1 addition & 1 deletion maestro-sdk.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: maestro-sdk
version: 1.7.1
version: 1.7.2
synopsis: Maestro Blockchain Indexer SDK
description:
Maestro provides blockchain indexers, APIs and event management systems for the Cardano blockchain.
Expand Down
2 changes: 1 addition & 1 deletion src/Maestro/Types/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ data DatumOption = DatumOption
via CustomJSON '[FieldLabelModifier '[StripPrefix "datumOption", LowerFirst]] DatumOption

-- | Type of script.
data ScriptType = Native | PlutusV1 | PlutusV2
data ScriptType = Native | PlutusV1 | PlutusV2 | PlutusV3
deriving stock (Show, Eq, Ord, Generic)
deriving
(FromJSON, ToJSON)
Expand Down

0 comments on commit 3638f80

Please sign in to comment.