Add Substrate "assets" pallet

While over-engineered for our purposes, it's still usable.

Also cleans the runtime a bit.
This commit is contained in:
Luke Parker
2023-01-05 19:36:49 -05:00
parent daa88a051f
commit f760c09006
7 changed files with 139 additions and 57 deletions

17
Cargo.lock generated
View File

@@ -4889,6 +4889,21 @@ dependencies = [
"libm 0.1.4",
]
[[package]]
name = "pallet-assets"
version = "4.0.0-dev"
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-runtime",
"sp-std",
]
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
@@ -7309,6 +7324,7 @@ dependencies = [
"frame-system",
"frame-system-rpc-runtime-api",
"hex-literal",
"pallet-assets",
"pallet-balances",
"pallet-session",
"pallet-tendermint",
@@ -7316,6 +7332,7 @@ dependencies = [
"pallet-transaction-payment-rpc-runtime-api",
"parity-scale-codec",
"scale-info",
"serai-primitives",
"sp-api",
"sp-application-crypto",
"sp-block-builder",