Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fe91730
* add asset manager
stechu Feb 16, 2022
45a79ca
add MultiNativeAsset as FilterAssetLocation
stechu Feb 16, 2022
63c1859
relay chain to parachain transfer works (without fee)
stechu Jan 28, 2022
c4006ce
send asset back to relay chain
stechu Jan 30, 2022
79e9114
make the tests more precise
stechu Jan 30, 2022
d35a8b8
parachain self reserved transfer works
stechu Jan 31, 2022
b870cf4
transfer token back and forth
stechu Jan 31, 2022
bb87037
send wrapped token to a third chain
stechu Jan 31, 2022
70401ca
relay chain -> parachain transfer with fee charge
stechu Feb 16, 2022
c3f3c98
add cargo lock back
stechu Feb 4, 2022
5efa326
update to v0.9.15
stechu Feb 16, 2022
df159a8
parachain transfer with trader and fee
stechu Feb 6, 2022
15f948b
abstrate fee calc logic, reserve transfer on 3 chains
stechu Feb 6, 2022
23ac6d2
fix ump test by change relaychain barrier setting
stechu Feb 6, 2022
a253d66
test error paths and xcm version upgrade
stechu Feb 6, 2022
90b1085
finish xcm tests
stechu Feb 7, 2022
24fa2ec
rebase with manta branch
stechu Feb 12, 2022
6aad581
address comments, rename pallet-tx-pause to tx-pause
stechu Feb 13, 2022
b3e1361
clean up code, unit test
stechu Feb 16, 2022
41f4510
rebase manta, add unit tests
stechu Feb 16, 2022
b8417f6
tweak
stechu Feb 18, 2022
0a1a07f
parachain asset transfer under reanchoring
stechu Feb 18, 2022
072c7f5
update the xcm code to adapt reanchoring logic
stechu Feb 18, 2022
ce7126e
make self-reserve works of customized asset
stechu Feb 21, 2022
0fc633f
wrong test
stechu Feb 22, 2022
a164bf3
fix all tests
stechu Feb 28, 2022
5e905df
Merge branch 'manta' into xcm-v4
stechu Feb 28, 2022
1cce095
fix some comments
stechu Feb 28, 2022
110e852
fmt
stechu Feb 28, 2022
f626238
add comment of is_sufficient
stechu Feb 28, 2022
f1c4fb1
address comments
stechu Feb 28, 2022
e63a772
nit
stechu Feb 28, 2022
642fad7
nit
stechu Feb 28, 2022
8fb4217
add test for set unit per second
stechu Feb 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 187 additions & 54 deletions Cargo.lock

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions pallets/asset-manager/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[package]
authors = ['Manta Network']
name = "pallet-asset-manager"
version = "3.1.4"
edition = "2021"
homepage = 'https://manta.network'
license = 'GPL-3.0'
repository = 'https://github.com/Manta-Network/Manta/'


[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
# scale-info has to be 1.0 for now
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false }
frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16", default-features = false, optional = true }
manta-primitives = { path = '../../runtime/primitives', default-features = false}

[dev-dependencies]
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" }
pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16" }
pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" }
xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.16" }

[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"sp-std/std",
"manta-primitives/std",
"frame-benchmarking/std",
]
try-runtime = [
"frame-support/try-runtime",
]

runtime-benchmarks = [
"frame-benchmarking",
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
]

Loading