/
Body.hs
76 lines (68 loc) · 1.84 KB
/
Body.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Cardano.Ledger.Api.Tx.Body (
-- | Building and inspecting transaction outputs
module Cardano.Ledger.Api.Tx.Out,
-- | Working with Timelock scripts and Plutus scripts
module Cardano.Ledger.Api.Scripts,
EraTxBody (TxBody),
mkBasicTxBody,
inputsTxBodyL,
outputsTxBodyL,
feeTxBodyL,
withdrawalsTxBodyL,
Withdrawals (..),
auxDataHashTxBodyL,
AuxiliaryDataHash,
allInputsTxBodyF,
-- * Shelley Era
ShelleyEraTxBody,
ttlTxBodyL,
updateTxBodyL,
updateTxBodyG,
certsTxBodyL,
certsTxBodyG,
-- * Allegra Era
AllegraEraTxBody,
vldtTxBodyL,
ValidityInterval (..),
-- * Mary Era
MaryEraTxBody,
mintTxBodyL,
mintValueTxBodyF,
mintedTxBodyF,
-- * Alonzo Era
AlonzoEraTxBody,
collateralInputsTxBodyL,
reqSignerHashesTxBodyL,
scriptIntegrityHashTxBodyL,
networkIdTxBodyL,
-- * Babbage Era
BabbageEraTxBody,
sizedOutputsTxBodyL,
referenceInputsTxBodyL,
totalCollateralTxBodyL,
collateralReturnTxBodyL,
sizedCollateralReturnTxBodyL,
allSizedOutputsTxBodyF,
-- * Conway Era
ConwayEraTxBody,
votingProceduresTxBodyL,
proposalProceduresTxBodyL,
conwayCertsTxBodyL,
)
where
import Cardano.Ledger.Address (Withdrawals (..))
import Cardano.Ledger.Allegra.Core (AllegraEraTxBody (..))
import Cardano.Ledger.Alonzo.TxBody (AlonzoEraTxBody (..))
import Cardano.Ledger.Api.Era ()
import Cardano.Ledger.Api.Scripts
import Cardano.Ledger.Api.Tx.Out
import Cardano.Ledger.AuxiliaryData (AuxiliaryDataHash)
import Cardano.Ledger.Babbage.TxBody (BabbageEraTxBody (..))
import Cardano.Ledger.Conway.Core (ConwayEraTxBody (..))
import Cardano.Ledger.Core (EraTxBody (..))
import Cardano.Ledger.Mary.Core (MaryEraTxBody (..))
import Cardano.Ledger.Shelley.Core (ShelleyEraTxBody (..))