forked from AU-COBRA/ConCert
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes and formatting in README files
- Loading branch information
Showing
5 changed files
with
48 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
# Dexter 2 | ||
|
||
Formalization of the Dexter 2 decentralized exchange based on the informal spec https://gitlab.com/dexter2tz/dexter2tz/-/tree/1713941489e0e646b632b42017a041c59158b6fb/docs/informal-spec | ||
Formalization of the Dexter 2 decentralized exchange based on the informal spec | ||
https://gitlab.com/dexter2tz/dexter2tz/-/tree/1713941489e0e646b632b42017a041c59158b6fb/docs/informal-spec | ||
|
||
The development consists of the following parts. | ||
|
||
## Dexter 2 Liquidity Token | ||
|
||
This contract is an extension of a basic FA1.2 token contract with an extra entrypoint that allows an admin to mint and burn tokens. | ||
This contract is an extension of a basic FA1.2 token contract with an extra entrypoint | ||
that allows an admin to mint and burn tokens. | ||
The purpose of this contract is to keep track of ownership of the exchanges funds. | ||
|
||
[Dexter2FA12.v](Dexter2FA12.v) contains the implementation of the token. | ||
|
||
[Dexter2FA12Correct.v](Dexter2FA12Correct.v) contains proofs of functional correctness properties and proofs of invariants required for inter-contract communication proofs. | ||
[Dexter2FA12Correct.v](Dexter2FA12Correct.v) contains proofs of functional correctness | ||
properties and proofs of invariants required for inter-contract communication proofs. | ||
|
||
## Dexter 2 CPMM | ||
|
||
This contract is an implementation of a Constant Product Market Maker (CPMM), the main Dexter 2 functionality. | ||
This contract is an implementation of a Constant Product Market Maker (CPMM), | ||
the main Dexter 2 functionality. | ||
|
||
[Dexter2CPMM.v](Dexter2CPMM.v) contains the implementation of the exchange. | ||
|
||
[Dexter2CPMMCorrect.v](Dexter2CPMMCorrect.v) contains proofs of functional correctness properties and proofs of inter-contract invariants. | ||
[Dexter2CPMMCorrect.v](Dexter2CPMMCorrect.v) contains proofs of functional correctness | ||
properties and proofs of inter-contract invariants. | ||
|
||
# Code extraction to CameLIGO | ||
## Code extraction to CameLIGO | ||
|
||
See [the extraction setup](Dexter2Extract.v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
# ConCert Extraction Results | ||
This repository contains source code of programs extracted from Coq using the [ConCert](https://github.com/AU-COBRA/ConCert) framework. | ||
This repository contains source code of programs extracted from Coq using | ||
the [ConCert](https://github.com/AU-COBRA/ConCert) framework. | ||
|
||
The programs were written in Coq, verified and extracted to several languages using verified code extraction. | ||
The original programs can be found [here](https://github.com/AU-COBRA/ConCert/tree/master/examples). | ||
|
||
## Structure of the project | ||
Each folder contain extracted programs for a specific language. | ||
|
||
* [cameligo-extract](cameligo-extract/tests) contains smart contracts extracted to the CameLIGO smart contract language for the Tezos blockchain. | ||
* [concordium-extract](concordium-extract) contains smart contracts extracted to the smart contract language for the Concordium blockchain. | ||
* [cameligo-extract](cameligo-extract/tests) contains smart contracts extracted to | ||
the CameLIGO smart contract language for the Tezos blockchain. | ||
* [concordium-extract](concordium-extract) contains smart contracts extracted to the smart | ||
contract language for the Concordium blockchain. | ||
* [elm-extract](elm-extract/tests) contains test programs extracted to Elm. | ||
* [elm-wev-extract](elm-web-extract/src) contains a simple web application extracted to Elm. | ||
* [liquidity-extract](liquidity-extract/tests) contains smart contracts extracted to the Liquidity smart contract language for the Dune blockchain. | ||
* [midlang-extract](midlang-extract/tests) contains smart contracts extracted to the Midlang smart contract language. | ||
* [liquidity-extract](liquidity-extract/tests) contains smart contracts extracted to the | ||
Liquidity smart contract language for the Dune blockchain. | ||
* [midlang-extract](midlang-extract/tests) contains smart contracts extracted to the Midlang | ||
smart contract language. | ||
* [rust-extract](rust-extract) contains programs extracted to Rust. |