mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-08 11:59:55 +00:00
899a9604e1
* Move pallet-asset-conversion * update licensing * initial integration * Integrate Currency & Assets types * integrate liquidity tokens * fmt * integrate dex pallet tests * fmt * compilation error fixes * integrate dex benchmarks * fmt * cargo clippy * replace all occurrences of "asset" with "coin" * add the actual add liq/swap logic to in-instructions * add client side & tests * fix deny * Lint and changes - Renames InInstruction::AddLiquidity to InInstruction::SwapAndAddLiquidity - Makes create_pool an internal function - Makes dex-pallet exclusively create pools against a native coin - Removes various fees - Adds new crates to GH workflow * Fix rebase artifacts * Correct other rebase artifact * Correct CI specification for liquidity-tokens * Correct primitives' test to the standardized pallet account scheme --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
59 lines
2.1 KiB
TOML
59 lines
2.1 KiB
TOML
[package]
|
|
name = "serai-in-instructions-pallet"
|
|
version = "0.1.0"
|
|
description = "Execute calls via In Instructions from unsigned transactions"
|
|
license = "AGPL-3.0-only"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
thiserror = { version = "1", optional = true }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-io = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
in-instructions-primitives = { package = "serai-in-instructions-primitives", path = "../primitives", default-features = false }
|
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
|
dex-pallet = { package = "serai-dex-pallet", path = "../../dex/pallet", default-features = false }
|
|
validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../../validator-sets/pallet", default-features = false }
|
|
|
|
[features]
|
|
std = [
|
|
"thiserror",
|
|
|
|
"scale/std",
|
|
"scale-info/std",
|
|
|
|
"sp-std/std",
|
|
"sp-application-crypto/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-core/std",
|
|
|
|
"frame-system/std",
|
|
"frame-support/std",
|
|
|
|
"serai-primitives/std",
|
|
"in-instructions-primitives/std",
|
|
|
|
"coins-pallet/std",
|
|
"dex-pallet/std",
|
|
"validator-sets-pallet/std",
|
|
]
|
|
default = ["std"]
|