Generic asset manager (#341)

Co-authored-by: Nikita Khateev <nikita.khateev@gmail.com>
This commit is contained in:
Özgün Özerk
2024-10-25 13:27:39 +03:00
committed by GitHub
parent 033cf12f34
commit 46a9a3f4e8
10 changed files with 483 additions and 40 deletions
+160
View File
@@ -2806,6 +2806,52 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "ethbloom"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60"
dependencies = [
"crunchy",
"fixed-hash",
"impl-codec",
"impl-rlp",
"scale-info",
"tiny-keccak",
]
[[package]]
name = "ethereum"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea"
dependencies = [
"bytes",
"ethereum-types",
"hash-db",
"hash256-std-hasher",
"parity-scale-codec",
"rlp",
"scale-info",
"sha3",
"trie-root",
]
[[package]]
name = "ethereum-types"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee"
dependencies = [
"ethbloom",
"fixed-hash",
"impl-codec",
"impl-rlp",
"primitive-types",
"scale-info",
"uint",
]
[[package]]
name = "event-listener"
version = "2.5.3"
@@ -3588,6 +3634,7 @@ dependencies = [
"frame-try-runtime",
"hex-literal",
"log",
"pallet-asset-manager",
"pallet-assets",
"pallet-aura",
"pallet-authorship",
@@ -4264,6 +4311,15 @@ dependencies = [
"parity-scale-codec",
]
[[package]]
name = "impl-rlp"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808"
dependencies = [
"rlp",
]
[[package]]
name = "impl-serde"
version = "0.4.0"
@@ -6315,6 +6371,39 @@ dependencies = [
"num-traits",
]
[[package]]
name = "orml-traits"
version = "0.10.0"
source = "git+https://github.com/openzeppelin/open-runtime-module-library?branch=polkadot-stable2407-1#aafe9077c9ec61dd8b3a42e899ef8353b2b050c0"
dependencies = [
"frame-support",
"impl-trait-for-tuples",
"num-traits",
"orml-utilities",
"parity-scale-codec",
"paste",
"scale-info",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
"staging-xcm",
]
[[package]]
name = "orml-utilities"
version = "0.10.0"
source = "git+https://github.com/openzeppelin/open-runtime-module-library?branch=polkadot-stable2407-1#aafe9077c9ec61dd8b3a42e899ef8353b2b050c0"
dependencies = [
"frame-support",
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
]
[[package]]
name = "overload"
version = "0.1.1"
@@ -6339,6 +6428,25 @@ dependencies = [
"sp-runtime",
]
[[package]]
name = "pallet-asset-manager"
version = "0.1.0"
source = "git+https://github.com/OpenZeppelin/moonbeam.git?branch=polkadot-stable2407-1#fab6e72fbaaeaa065ad983556d09d4c0e8755dfa"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
"scale-info",
"serde",
"sp-io",
"sp-runtime",
"sp-std",
"staging-xcm",
"xcm-primitives",
]
[[package]]
name = "pallet-asset-rate"
version = "16.0.0"
@@ -9051,6 +9159,7 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2"
dependencies = [
"fixed-hash",
"impl-codec",
"impl-rlp",
"impl-serde",
"scale-info",
"uint",
@@ -9730,6 +9839,28 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "rlp"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec"
dependencies = [
"bytes",
"rlp-derive",
"rustc-hex",
]
[[package]]
name = "rlp-derive"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "rocksdb"
version = "0.21.0"
@@ -14917,6 +15048,35 @@ dependencies = [
"time",
]
[[package]]
name = "xcm-primitives"
version = "0.1.1"
source = "git+https://github.com/OpenZeppelin/moonbeam.git?branch=polkadot-stable2407-1#fab6e72fbaaeaa065ad983556d09d4c0e8755dfa"
dependencies = [
"cumulus-primitives-core",
"ethereum",
"ethereum-types",
"frame-benchmarking",
"frame-support",
"frame-system",
"hex",
"impl-trait-for-tuples",
"log",
"orml-traits",
"pallet-staking",
"parity-scale-codec",
"polkadot-runtime-common",
"scale-info",
"serde",
"sha3",
"sp-io",
"sp-runtime",
"sp-std",
"staging-xcm",
"staging-xcm-builder",
"staging-xcm-executor",
]
[[package]]
name = "xcm-procedural"
version = "10.1.0"