Skip to content

Commit bc2dac5

Browse files
committed
improvements
1 parent b74cfbc commit bc2dac5

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

src/Ledger/Crypto.lagda

Lines changed: 2 additions & 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}
@@ -35,6 +35,7 @@ record PKKScheme : Type₁ where
3535
sign : SKey → Ser → Sig
3636

3737
KeyPair = Σ[ sk ∈ SKey ] Σ[ vk ∈ VKey ] isKeyPair sk vk
38+
3839
\end{code}
3940
\begin{code}[hide]
4041
field

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)