-
Notifications
You must be signed in to change notification settings - Fork 45
Implement AMM 2.0-light #1092
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
Merged
Merged
Implement AMM 2.0-light #1092
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
249eb33
Implement neo-swaps
maltekliemann 5f55298
Fix compile issues
maltekliemann 85252b0
Implement `DeployPoolsApi` as noop
maltekliemann 61bacd4
Fix formatting
maltekliemann fdabb40
Add missing copyright notices
maltekliemann b14373b
Fix clippy issues
maltekliemann 29b20e5
Fix more clippy issues and rename `balances` to `reserves`
maltekliemann e5b73fd
Remove `println!`
maltekliemann f0586d3
Add missing copyright notice
maltekliemann ac4eec2
.
maltekliemann 7b6129e
Add benchmarking and include `NeoSwaps` in Runtime
maltekliemann e279746
Add neo-swaps benchmarks; remove `split` (for now)
maltekliemann 6585807
Add benchmarks for `create_market_and_deploy_pool`
maltekliemann 5c7a1a5
Properly implement `DeployPool`
maltekliemann a8ccf91
Fix benchmarks, remove unnecessary parameter
maltekliemann 7419b6a
Fix formatting
maltekliemann 7f40343
Fix dependencies
maltekliemann f4a0d99
Add math docs
maltekliemann 3aaf3b7
Fix typo
maltekliemann e9e34ca
Make me codeowner of neo-swaps
maltekliemann 744c3b5
Add neo-swaps to main README and fix link to PDF
maltekliemann ffdbd84
Fix link
maltekliemann 1fbf3d5
Update versions to v0.4.0 (#1098)
sea212 bb0e671
Update weights (#1101)
sea212 36e0b52
Remove unnecessary comment from toml
maltekliemann fd4e49e
Use default features
maltekliemann eeb5e20
Bump version
maltekliemann 31f48d8
Use checked math in `SoloLp`
maltekliemann 780727f
Make match expression explicit
maltekliemann 13f5c3e
Add comment about saturation
maltekliemann 1559412
Use `MultiCurrency` instead of `ZeitgeistAssetManager`
maltekliemann 9aeaae3
Apply suggestions from code review
maltekliemann 9e02d06
Remove superfluous inserts
maltekliemann eb6d7a1
Fix error documentation
maltekliemann bf48133
Abstract reserve updates into `Pool`
maltekliemann dfd80ea
Make complete set operations require transactional
maltekliemann 8c04059
Make test name not coffee-based
maltekliemann ec1416a
Update zrml/neo-swaps/src/mock.rs
maltekliemann 05aad36
Update zrml/neo-swaps/src/mock.rs
maltekliemann deec29c
Reorganize tests
maltekliemann 5e469da
Format
maltekliemann 7a3bac8
Merge branch 'mkl-neo-swaps' of github.com:zeitgeistpm/zeitgeist into…
maltekliemann ffe0533
Fix comment
maltekliemann f8cbccc
Remove `macros.rs`
maltekliemann 2ef5d61
Fix benchmarks
maltekliemann 112e89d
Fix formatting
maltekliemann 29af75d
Update benchmark script and add preliminary benchmarks
maltekliemann 7cfc5c6
Update ED buffer handling
maltekliemann d8bbacc
Fix documentation
maltekliemann ce2b067
Merge branch 'main' into mkl-neo-swaps
maltekliemann cba23be
Implement market creation fees for neo-swaps
maltekliemann 5c3a29d
Merge branch 'mkl-neo-swaps' into mkl-neo-swaps-benchmarks
maltekliemann b78728b
Use `MarketCreatorFee` in runtime
maltekliemann 009af87
Add missing files
maltekliemann ce5bcfa
Add weights
maltekliemann 785f10e
Merge branch 'mkl-neo-swaps-docs' into mkl-neo-swaps
maltekliemann c3e39c4
Reduce length of `MarketsCollectingSubsidy` (#1118)
maltekliemann 40ad4b5
Add bad block of the proof size fiasko to Battery Station chain spec …
maltekliemann a12b24c
Update weights v0.4.0 (#1121)
sea212 8a50a78
Merge branch 'release-v0.4.0' into mkl-neo-swaps
maltekliemann 64d3f59
Fix docs
maltekliemann 4e38a45
Rename `IndexType` and change its type value
maltekliemann c8a2b24
Remove commented code
maltekliemann 1cdaeed
Fix order of config parameters
maltekliemann 647b943
Specify order of assets
maltekliemann d738cfb
Remove commented code
maltekliemann e11f262
Apply suggestions from code review
maltekliemann 2ea7b8c
Fix `u16`/`u32` casts
maltekliemann d0c6808
Update zrml/prediction-markets/src/benchmarks.rs
maltekliemann 0c7d643
Update zrml/prediction-markets/src/benchmarks.rs
maltekliemann b587582
Merge branch 'main' into mkl-neo-swaps
maltekliemann d96dd37
Update zrml/neo-swaps/src/math.rs
maltekliemann f4f4427
Update primitives/src/math/fixed.rs
maltekliemann 7b796ee
Update primitives/src/math/fixed.rs
maltekliemann b4d9e8d
Fix formatting
maltekliemann 7e347b2
Merge branch 'main' into mkl-neo-swaps
maltekliemann 3e223ca
Fix conflicts
maltekliemann 4c98579
Fix dispute period
maltekliemann 3f7bb11
Merge branch 'main' into mkl-neo-swaps
maltekliemann 65d2168
Format code
maltekliemann 7211f85
Merge branch 'main' into mkl-neo-swaps
maltekliemann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix formatting
- Loading branch information
commit 7419b6a5426af48ce92369c57563476db6a14fd7
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.