Skip to content

Commit 04e1c4c

Browse files
committed
more cleanup of prose
1 parent 149f21e commit 04e1c4c

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

src/Ledger/Conway/Specification/Transaction.lagda.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,35 +38,33 @@ unquoteDecl DecEq-Tag = derive-DecEq ((quote Tag , DecEq-Tag) ∷ [])
3838
```
3939
-->
4040

41-
Some key ingredients in the transaction body are:
41+
Here are some key components of the transaction body.
4242

43-
+ A set `txIns`{.AgdaField} of transaction inputs, each of which
44-
identifies an output from a previous transaction. A transaction input
45-
consists of a transaction id and an index to uniquely identify the
46-
output.
43+
+ `txIns`{.AgdaField} denotes a set of transaction inputs, each of which
44+
consists of a transaction id and an index that uniquely identifies
45+
an output from a previous transaction.
4746

48-
+ An indexed collection `txOuts`{.AgdaField} of transaction outputs. The
49-
`TxOut`{.AgdaFunction} type is an address paired with a coin value.
47+
+ `txOuts`{.AgdaField} denotes an indexed collection of transaction outputs;
48+
`TxOut`{.AgdaFunction} is the type of transaction output, which consists of an
49+
address paired with a coin value.
5050

51-
+ A transaction fee, `txFee`{.AgdaField}, which will be added to the fee pot.
51+
+ `txFee`{.AgdaField} denotes a transaction fee, to be added to the fee pot.
5252

53-
+ The hash of the serialized form of the transaction that was included
54-
in the block.
53+
+ `txId`{.AgdaField} denotes the hash of the serialized form of the
54+
transaction---the form in which the transaction is included in a block.
5555

56+
In addition to these, the Conway era introduces some new fields to the transaction
57+
body; these are the following.
5658

57-
Fields of the transaction body introduced in the Conway era are the
58-
following:
59+
+ `txGovVotes`{.AgdaField} denotes the list of votes for governance actions.
5960

60-
+ `txGovVotes`{.AgdaField}, the list of votes for governance actions;
61+
+ `txGovProposals`{.AgdaField} denotes the list of governance proposals.
6162

62-
+ `txGovProposals`{.AgdaField}, the list of governance proposals;
63+
+ `txDonation`{.AgdaField} denotes the amount of `Coin`{.AgdaFunction} to donate to
64+
treasury, e.g., to return funds to the treasury after a governance action.
6365

64-
+ `txDonation`{.AgdaField}, the amount of `Coin`{.AgdaFunction} to donate to
65-
treasury, e.g., to return funds to the treasury after a governance action;
66-
67-
+ `currentTreasury`{.AgdaField}, the current value of the treasury. This
68-
field serves as a precondition to executing Plutus scripts that access
69-
the value of the treasury.
66+
+ `currentTreasury`{.AgdaField} denotes the current value of the treasury and serves
67+
as a precondition to executing Plutus scripts that access the value of the treasury.
7068

7169

7270
## Transaction Types

0 commit comments

Comments
 (0)