-
Notifications
You must be signed in to change notification settings - Fork 1.1k
XCM WeightTrader: Swap Fee Asset for Native Asset #1845
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
Changes from 1 commit
Commits
Show all changes
109 commits
Select commit
Hold shift + click to select a range
39935e9
move swap trait and impl into separate module
muharem d8ab7c1
restructure imports
muharem 6d6cc18
transfer swap
muharem a355241
swap credit
muharem a78ac71
with transaction
muharem 888c9fa
preservation
muharem 793b612
add amounts to the event
muharem cdaf500
not expendable constraint
muharem 2a19a41
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem e237dfc
vec import
muharem 0c13c85
fix tests, preserve account
muharem 24654b8
tests
muharem e0bd8b7
max lenght of the swap path in swap trait
muharem 80dbcab
fix clippy
muharem 847207b
debug impls for imbalances
muharem 53c699f
eq and partial_eq impls for imbalance
muharem 827ce1b
eq, partial_eq, runtime debug for credit
muharem d533acf
tests
muharem 69b17f8
Apply suggestions from code review
muharem 28edff5
correct docs
muharem 697afa6
dev comments
muharem 1c50220
use eq/partial_eq/runtime_debug derives with no bound version
muharem fe9e4f8
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem e7ffbb4
swap trait update
muharem ee49f27
box multi asset id
muharem ee9d2eb
use vec instead bounded vec
muharem ced5e99
update to new api
muharem 7fee81e
drop clone
muharem b63cd73
box arguments and drop bounded vec from benches
muharem 01bd4da
no box for benchmarks impls
muharem e2b99f9
single balance type for Currency and Assets
muharem 37b2e34
Balance trait bound on Balance generic type
muharem d9bc836
try into for credit
muharem 0193864
drop clone
muharem ae19bb8
fix
muharem 2372277
clippy fixes
muharem d1f37c7
review fixes
muharem 3a4935e
remove unused trait
muharem 75a7b8a
note in docs for swap traits
muharem 03cee5b
extract for imbalance
muharem 6b0c847
swap weight trader
muharem 1847090
swap weight trader for westend xcm executor
muharem 1c11bc3
clippi fix: remove clone
muharem 991b734
fmt
muharem ec25bca
ignore tests
muharem b3d3caf
resolve credit to account impl
muharem e16f2f7
resolve fees to treasury account
muharem 20b85a5
ignore test
muharem ec2cf1d
impl on_nonzero_unbalanced instead on_unbalanced
muharem a8fadda
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 168141d
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 2b13f27
adjustments for rococo setup
muharem bbca52d
adjustments for rococo tests
muharem 251d3f8
Merge branch 'master' into muharem-asset-conversion-credit-swap
muharem 66a6611
rococo benchmarks
muharem 01eab06
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem b21d0aa
fungible/s union_of
muharem 50cdf82
tests for fungible/s sets
muharem 5fbdc2a
asset conversion
muharem f490744
asset conversion tx payment
muharem 45d450d
substrate test runtime
muharem baac8e5
asset hub common impls
muharem c4eb514
asset hub runtimes
muharem d28ffea
asset hub emulated tests
muharem d255301
clippy fixes
muharem 4ec7496
clippy fixes
muharem 2ce5071
Apply suggestions from code review
muharem c60fa97
fixes
muharem 3b187eb
derive Eq
muharem 03bec01
update bounds
muharem 51c6dfc
benchmarks
muharem 1a9c5f3
weights
muharem e0f1d0a
remove inc_providers on pool creation
muharem 78332d7
remove unused var
muharem 3f59637
account touch
muharem 9ea208d
remove conrain pair from union_of
muharem d87a80e
should touch
muharem 55917dd
touch doc
muharem 497c92e
Merge branch 'muharem-asset-conversion-without-fungible' into muharem…
muharem 62850a7
trader with target asset
muharem 964afa0
revert changes in impls
muharem 04091d8
logs
muharem bf3ce63
docs
muharem 33a7730
remove comment
muharem 6c17db2
tests
muharem f9c3397
more tests
muharem 47512ea
move mock mod to the bottom
muharem a7bdc81
more tests
muharem b49dce0
more tests
muharem 34dfcce
resolve to staking pot
muharem bc12fc1
remove outdated tests
muharem 8025a40
remove ignore
muharem cdffd5a
remove unused type alias
muharem 0a89934
return error
muharem 5f93423
Merge remote-tracking branch 'origin/master' into muharem-swap-weight…
muharem 673ed3e
remove dublicate tests
muharem dbc6a8d
prdoc
muharem cb30d43
clippy fix
muharem 8b85a3d
ignore test
muharem 4088a5c
toml format
muharem 472f6e7
Merge remote-tracking branch 'origin/master' into muharem-swap-weight…
muharem 2ff205e
swap trader for rococo
muharem cc182e2
revert back hex-literal dep import prev changes
muharem b016d9b
integration tests
muharem 6a5f665
remove TakeFirstAssetTrader trader and update affected tests
muharem b22702f
fix tests
muharem 4401b7a
toml format
muharem da33ead
Merge remote-tracking branch 'origin/master' into muharem-swap-weight…
muharem 9b8c158
Merge branch 'master' into muharem-swap-weight-trader
muharem 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
resolve fees to treasury account
- Loading branch information
commit e16f2f7c1f5b1909cc17e505de3fdea39c9b8fe2
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
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.