Skip to content

Commit

Permalink
Export the new script witness and build vs view types from the API
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts authored and Jimbo4350 committed Apr 8, 2021
1 parent 881fe4d commit ee9be65
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cardano-api/src/Cardano/Api.hs
Expand Up @@ -176,6 +176,11 @@ module Cardano.Api (
TxUpdateProposal(..),
TxMintValue(..),

-- ** Building vs viewing transactions
BuildTxWith(..),
BuildTx,
ViewTx,

-- ** Era-dependent transaction body features
MultiAssetSupportedInEra(..),
OnlyAdaSupportedInEra(..),
Expand Down Expand Up @@ -295,6 +300,13 @@ module Cardano.Api (
toScriptInEra,
eraOfScriptInEra,

-- * Use of a script in an era as a witness
WitCtxTxIn, WitCtxMint, WitCtxStake,
ScriptWitness(..),
Witness(..),
KeyWitnessInCtx(..),
ScriptWitnessInCtx(..),

-- *** Languages supported in each era
ScriptLanguageInEra(..),
scriptLanguageSupportedInEra,
Expand Down
5 changes: 5 additions & 0 deletions cardano-api/src/Cardano/Api/TxBody.hs
Expand Up @@ -51,6 +51,11 @@ module Cardano.Api.TxBody (
TxUpdateProposal(..),
TxMintValue(..),

-- ** Building vs viewing transactions
BuildTxWith(..),
BuildTx,
ViewTx,

-- * Era-dependent transaction body features
MultiAssetSupportedInEra(..),
OnlyAdaSupportedInEra(..),
Expand Down

0 comments on commit ee9be65

Please sign in to comment.