Skip to content

Commit 57c818a

Browse files
committed
improvements
1 parent b74cfbc commit 57c818a

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

src/Ledger/Crypto.lagda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ record HashableSet : Type₁ where
2323
We rely on a public key signing scheme for verification of spending.
2424
\begin{figure*}[h]
2525
\begin{AgdaMultiCode}
26-
\begin{code}
26+
\begin{code}[hide]
2727
record PKKScheme : Type₁ where
2828
field
2929
\end{code}

src/Ledger/PParams.lagda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ something) and if it preserves well-formedness.
436436

437437
\begin{figure*}[ht]
438438
\begin{AgdaMultiCode}
439-
\begin{code}
439+
\begin{code}[hide]
440440
record PParamsDiff : Type₁ where
441441
field
442442
\end{code}

src/Ledger/TokenAlgebra.lagda

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module Ledger.TokenAlgebra (
1010
\emph{Abstract types}
1111
\begin{code}
1212
PolicyId
13+
1314
\end{code}
1415
\begin{code}[hide]
1516
: Type) where
@@ -40,6 +41,8 @@ record TokenAlgebra : Type₁ where
4041

4142
open MonoidMorphisms (rawMonoid) (Monoid.rawMonoid +-0-monoid) public
4243
field
44+
\end{code}
45+
\begin{code}
4346
coin : Value → Coin
4447
inject : Coin → Value
4548
policies : Value → ℙ PolicyId

src/Ledger/Transaction.lagda

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ Ingredients of the transaction body introduced in the Conway era are the followi
6161
\begin{code}
6262
record TransactionStructure : Type₁ where
6363
field
64-
-- Abstract types
64+
\end{code}
65+
\emph{Abstract types}
66+
\begin{code}
6567
Ix TxId AuxiliaryData : Type
68+
6669
\end{code}
6770
\begin{code}[hide]
6871
⦃ DecEq-Ix ⦄ : DecEq Ix

0 commit comments

Comments
 (0)