File tree Expand file tree Collapse file tree 12 files changed +29
-24
lines changed
Core/Specification/TokenAlgebra Expand file tree Collapse file tree 12 files changed +29
-24
lines changed Original file line number Diff line number Diff line change @@ -103,5 +103,5 @@ module Implementation where
103103 AuxiliaryData = ℕ
104104 DocHash = ℕ
105105 tokenAlgebra = Coin-TokenAlgebra
106- where open import Ledger.Conway .Specification.TokenAlgebra.Coin ScriptHash
106+ where open import Ledger.Core .Specification.TokenAlgebra.Coin ScriptHash
107107 using (Coin-TokenAlgebra)
Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ import Ledger.Conway.Specification.Test.StructuredContracts
134134## Token Algebras
135135
136136``` agda
137- import Ledger.Conway .Specification.TokenAlgebra.Base
138- import Ledger.Conway .Specification.TokenAlgebra.Coin
139- import Ledger.Conway .Specification.TokenAlgebra.ValueSet
140- import Ledger.Conway .Specification.TokenAlgebra.ValueVector
137+ import Ledger.Core .Specification.TokenAlgebra.Base
138+ import Ledger.Core .Specification.TokenAlgebra.Coin
139+ import Ledger.Core .Specification.TokenAlgebra.ValueSet
140+ import Ledger.Core .Specification.TokenAlgebra.ValueVector
141141```
142142
143143## Transactions
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ module Implementation where
8383 AuxiliaryData = ℕ
8484 DocHash = ℕ
8585 tokenAlgebra = Coin-TokenAlgebra
86- where open import Ledger.Conway .Specification.TokenAlgebra.Coin ScriptHash
86+ where open import Ledger.Core .Specification.TokenAlgebra.Coin ScriptHash
8787 using (Coin-TokenAlgebra)
8888
8989
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ open import Data.Nat.Properties using (+-0-monoid)
1515open import Ledger.Prelude; open Equivalence
1616open import Ledger.Conway.Specification.Transaction
1717open import Ledger.Conway.Specification.Abstract
18- open import Ledger.Conway .Specification.TokenAlgebra.Base
19- open import Ledger.Conway .Specification.TokenAlgebra.ValueSet
18+ open import Ledger.Core .Specification.TokenAlgebra.Base
19+ open import Ledger.Core .Specification.TokenAlgebra.ValueSet
2020
2121module Ledger.Conway.Specification.Test.StructuredContracts
2222 (txs : _) (open TransactionStructure txs)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import Ledger.Conway.Specification.PParams
2727import Ledger.Conway.Specification.Script.Base
2828import Ledger.Conway.Specification.Gov.Actions
2929import Ledger.Conway.Specification.Certs
30- import Ledger.Conway .Specification.TokenAlgebra.Base
30+ import Ledger.Core .Specification.TokenAlgebra.Base
3131import Ledger.Core.Specification.Address
3232
3333open import Relation.Nullary.Decidable using (⌊_⌋)
@@ -88,7 +88,7 @@ record TransactionStructure : Type₁ where
8888
8989 field cryptoStructure : _
9090 open CryptoStructure cryptoStructure public
91- open Ledger.Conway .Specification.TokenAlgebra.Base ScriptHash public
91+ open Ledger.Core .Specification.TokenAlgebra.Base ScriptHash public
9292 open Ledger.Core.Specification.Address Network KeyHash ScriptHash ⦃ it ⦄ ⦃ it ⦄ ⦃ it ⦄ public
9393
9494 field epochStructure : _
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ instance
137137```
138138-->
139139
140- * UTxO transitions*
140+ * UTxO transitions*
141141
142142``` agda
143143data _⊢_⇀⦇_,UTXO⦈_ : UTxOEnv → UTxOState → Tx → UTxOState → Type
Original file line number Diff line number Diff line change 11---
22source_branch : master
3- source_path : src/Ledger/Conway /Specification/TokenAlgebra/Base.lagda
3+ source_path : src/Ledger/Core /Specification/TokenAlgebra/Base.lagda
44---
55
66# Token Algebras {#sec: token-algebra }
@@ -11,7 +11,7 @@ Token algebras are used for multiple assets.
1111```agda
1212{-# OPTIONS --safe #-}
1313open import Prelude using (Type)
14- module Ledger.Conway .Specification.TokenAlgebra.Base (
14+ module Ledger.Core .Specification.TokenAlgebra.Base (
1515```
1616-->
1717 * Abstract types*
Original file line number Diff line number Diff line change 11---
22source_branch : master
3- source_path : src/Ledger/Conway /Specification/TokenAlgebra/Coin.lagda.md
3+ source_path : src/Ledger/Core /Specification/TokenAlgebra/Coin.lagda.md
44---
55
66``` agda
77{-# OPTIONS --safe #-}
88open import Ledger.Prelude
99
10- module Ledger.Conway .Specification.TokenAlgebra.Coin (X : Type) where
10+ module Ledger.Core .Specification.TokenAlgebra.Coin (X : Type) where
1111
1212open import Algebra.Morphism.Construct.Identity
1313 using (isMonoidHomomorphism)
1414
15- open import Ledger.Conway .Specification.TokenAlgebra.Base X
15+ open import Ledger.Core .Specification.TokenAlgebra.Base X
1616
1717open TokenAlgebra
1818
Original file line number Diff line number Diff line change 11---
22source_branch : master
3- source_path : src/Ledger/Conway /Specification/TokenAlgebra/ValueSet.lagda.md
3+ source_path : src/Ledger/Core /Specification/TokenAlgebra/ValueSet.lagda.md
44---
55
66## Value Set {#sec: value-set }
@@ -12,11 +12,11 @@ source_path: src/Ledger/Conway/Specification/TokenAlgebra/ValueSet.lagda.md
1212
1313open import Prelude using (Type)
1414
15- module Ledger.Conway .Specification.TokenAlgebra.ValueSet (PolicyId AssetName : Type) where
15+ module Ledger.Core .Specification.TokenAlgebra.ValueSet (PolicyId AssetName : Type) where
1616
1717open import Ledger.Prelude hiding (lookup ; update ; isMagma ; isEquivalence) renaming (TotalMap to _⇒_)
1818open _⇒_
19- open import Ledger.Conway .Specification.TokenAlgebra.Base PolicyId using (TokenAlgebra)
19+ open import Ledger.Core .Specification.TokenAlgebra.Base PolicyId using (TokenAlgebra)
2020
2121open import Algebra using (Op₂ ; IsSemigroup ; IsMonoid ; IsMagma ; IsCommutativeMonoid)
2222open import Algebra.Morphism using (IsMonoidHomomorphism ; IsMagmaHomomorphism)
Original file line number Diff line number Diff line change 11---
22source_branch : master
3- source_path : src/Ledger/Conway /Specification/TokenAlgebra/ValueVector.lagda.md
3+ source_path : src/Ledger/Core /Specification/TokenAlgebra/ValueVector.lagda.md
44---
55
66``` agda
77{-# OPTIONS --safe #-}
88open import Ledger.Prelude hiding (_∙_; ε)
99
10- module Ledger.Conway .Specification.TokenAlgebra.ValueVector (PolicyId : Type) (n : ℕ) where
10+ module Ledger.Core .Specification.TokenAlgebra.ValueVector (PolicyId : Type) (n : ℕ) where
1111
1212import Algebra as Alg
1313open import Algebra.Construct.DirectProduct
@@ -19,7 +19,7 @@ open import Data.Vec as Vec
1919import stdlib.Data.Vec.Instances as Vec
2020import Data.Vec.Relation.Binary.Pointwise.Inductive as Vec
2121
22- open import Ledger.Conway .Specification.TokenAlgebra.Base PolicyId
22+ open import Ledger.Core .Specification.TokenAlgebra.Base PolicyId
2323
2424Quantity = ℕ
2525
You can’t perform that action at this time.
0 commit comments