Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] - MLabs contribution PR #5

Open
wants to merge 602 commits into
base: main
Choose a base branch
from

Conversation

Benjmhart
Copy link

No description provided.

hSloan added a commit that referenced this pull request Jul 9, 2021
…-styling

refactor swap dashboard to show transaction details on right side of swap form. 
add ability to view estimated liquidity before staking.
@Benjmhart Benjmhart changed the title [WIP] - Lending platform usecase [WIP] - MLabs contribution PR Aug 11, 2021
t4ccer and others added 27 commits October 17, 2021 04:50
Co-authored-by: Yuriy Pachin <yuriy@mlabs.city>
* update: separate API

* WIP: refactor the existing for uniqueness list

* WIP: REPL compiles

* update: added some more information in comments

* update: working initialisation

* update: added Proof token to head init

* update: wrapped CSymbol

* update: further fixed functions

* update: pre-merge

* wip: splitting Contract module

* redundant imports deleted

* wip: linked list minting
- minting off-chain logic
- Enbpoints -> Contract module structure renaming

* wip: linked list minting
- minting off-chain logic
- Enbpoints -> Contract module structure renaming

* NFT: Rewrite set-price contract

* NFT: Implement on-chain price-set

* NFT: Add off-chain checks in set-price contract

* update: add Init Trace

* update: Head token is empty

* NFT: Rewrite buy contract

* NFT: Implement on-chain buy

* NFT: Fix mint insert point lookup

* update: minting Contract

* update: Minting works

* update: fixed Head bug

* update: linting

* NFT: Implement on-chain minting

* update: merge proof and head nodes

* WIP: minitng Policy with todos

* WIP: updated Mint Contract to only use the one utxo that is updated

* NFT: Finish minting policy

* NFT: Fix on-chain checks

* NFT: Make `buy` and `set-price` work again

* update: solve cabal review

* linked list implementation - adapt tests (#205)

* Add a hacky minting test

* Add more tests, move some values to TestValues module

* Move minting tests to Minting module

* Move script tests to Script folder

* Fix mkTxPolicy name

* Add valid buy test for dealing (wip)

* wip

* wip

* Add todo for tasty options

* wip

* Use tasty options to set testTxId

* wip, passes validator

* wip

* new tests, wip

* Fix owner payment validator

* Formatting

* wip

* NFT: Fix shares calculations

* Update plutus-extra (for fixed tasty-plutus pretty-printing)

* Fix tests after staging nft moved to lovelace values

* Clarify todo

* Remove `addDatum`s

* Fix formatting

* Linting

* NFT: Implement legacy contract tests

* NFT: Implement query tests

* issue 171:
- removing record-dot-preprocessor
- minor refactoring

* Remove redundant Maybe's

* Use `Last QueryResponse` in a `QueryContract`

* Add testQueryPrice trace

* NFT: Add QuickCheck test for contract

* Format code

* NFT: Refactor quickcheck

* More clear test names

* Actually resolve merge conflict

* Bangify on-chain code (#190)

Co-authored-by: Yuriy Pachin <yuriy@mlabs.city>

* NFT: Enable script tests (wip)

* Fix minting Script tests

* Fix dealing Script tests

Co-authored-by: Kirill Boltaev <aske@fmap.me>
Co-authored-by: Maksymilian Brodowicz <87449555+zygomeb@users.noreply.github.com>
Co-authored-by: Mikhail Lazarev <mikhail@mlabs.city>
Co-authored-by: Iurii Pachin <45940305+iupii@users.noreply.github.com>
Co-authored-by: Yuriy Pachin <yuriy@mlabs.city>

* fix: removed build errors

* lint: hlint

* formatting

* bugfix: fix latent bugs

* Fix tests

* update: split legacy - re-organise

* update: bangify validation code

Co-authored-by: Mikhail Lazarev <mikhail@mlabs.city>
Co-authored-by: t4ccer <t4ccer@gmail.com>
Co-authored-by: Kirill Boltaev <aske@fmap.me>
Co-authored-by: Maksymilian Brodowicz <87449555+zygomeb@users.noreply.github.com>
Co-authored-by: Iurii Pachin <45940305+iupii@users.noreply.github.com>
Co-authored-by: Yuriy Pachin <yuriy@mlabs.city>
Also fix validator to allow minting multiple NFTs
Nft: List refactor - query rewrite (Closes #189)
t4ccer and others added 30 commits February 3, 2022 14:54
Add resource usage tests using `plutus-simple-model`
We need those instances to be written manually for now to integrate
with transaction library since there is no `makeIsData` there for now
Write `ToData`/`FromData`/`UnsafeFromData` instances manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.