From 742a86ac8c23f5c3130eedcc64d7845e9d55f110 Mon Sep 17 00:00:00 2001 From: "Muhammad-Jibril B.A. (Khalifa MBA)" Date: Sun, 3 Mar 2024 00:22:52 +0800 Subject: [PATCH] ECDP Setter Modules --- .../Cargo.toml | 3 +- blockchain/modules/ecdp-setr-engine/README.md | 5 ++ blockchain/modules/ecdp-setr-loans/Cargo.toml | 50 +++++++++++++++++++ blockchain/modules/ecdp-setr-loans/README.md | 5 ++ .../modules/ecdp-setr-treasury/Cargo.toml | 50 +++++++++++++++++++ .../modules/ecdp-setr-treasury/README.md | 5 ++ .../modules/ecdp-setter-engine/README.md | 5 -- 7 files changed, 116 insertions(+), 7 deletions(-) rename blockchain/modules/{ecdp-setter-engine => ecdp-setr-engine}/Cargo.toml (90%) create mode 100644 blockchain/modules/ecdp-setr-engine/README.md create mode 100644 blockchain/modules/ecdp-setr-loans/Cargo.toml create mode 100644 blockchain/modules/ecdp-setr-loans/README.md create mode 100644 blockchain/modules/ecdp-setr-treasury/Cargo.toml create mode 100644 blockchain/modules/ecdp-setr-treasury/README.md delete mode 100644 blockchain/modules/ecdp-setter-engine/README.md diff --git a/blockchain/modules/ecdp-setter-engine/Cargo.toml b/blockchain/modules/ecdp-setr-engine/Cargo.toml similarity index 90% rename from blockchain/modules/ecdp-setter-engine/Cargo.toml rename to blockchain/modules/ecdp-setr-engine/Cargo.toml index 4d80d66f..2b200a9d 100644 --- a/blockchain/modules/ecdp-setter-engine/Cargo.toml +++ b/blockchain/modules/ecdp-setr-engine/Cargo.toml @@ -1,6 +1,5 @@ [package] -name = "module-ecdp-setter-engine" -description = "Provides Unpegged ECDP Setter Stablecoin." +name = "module-ecdp-setr-engine" version = "0.9.81-dev" authors = ["Setheum Labs"] edition = "2021" diff --git a/blockchain/modules/ecdp-setr-engine/README.md b/blockchain/modules/ecdp-setr-engine/README.md new file mode 100644 index 00000000..51e4cc75 --- /dev/null +++ b/blockchain/modules/ecdp-setr-engine/README.md @@ -0,0 +1,5 @@ +# ECDP Setter Engine Module + +## Overview + +Provides Unegged ECDP `Setter (SETR)` Stablecoin on Ethical DeFi. diff --git a/blockchain/modules/ecdp-setr-loans/Cargo.toml b/blockchain/modules/ecdp-setr-loans/Cargo.toml new file mode 100644 index 00000000..60c4db9a --- /dev/null +++ b/blockchain/modules/ecdp-setr-loans/Cargo.toml @@ -0,0 +1,50 @@ +[package] +name = "module-ecdp-setr-loans" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +scale-info = { workspace = true } +serde = { workspace = true, optional = true } +parity-scale-codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"] } +sp-runtime = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } + +primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } +support = { package = "module-support", path = "../support", default-features = false } +orml-traits = { path = "../submodules/orml/traits", default-features = false } + +[dev-dependencies] +sp-core = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true } +orml-tokens = { workspace = true } + +[features] +default = ["std"] +std = [ + "scale-info/std", + "serde", + "parity-scale-codec/std", + "sp-runtime/std", + "sp-std/std", + "sp-io/std", + "frame-support/std", + "frame-system/std", + "primitives/std", + "support/std", + "orml-traits/std", +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/blockchain/modules/ecdp-setr-loans/README.md b/blockchain/modules/ecdp-setr-loans/README.md new file mode 100644 index 00000000..44942a6c --- /dev/null +++ b/blockchain/modules/ecdp-setr-loans/README.md @@ -0,0 +1,5 @@ +# ECDP SetterLoans Module + +## Overview + +Provides Unegged ECDP `Setter (SETR)` Stablecoin on Ethical DeFi. diff --git a/blockchain/modules/ecdp-setr-treasury/Cargo.toml b/blockchain/modules/ecdp-setr-treasury/Cargo.toml new file mode 100644 index 00000000..ec3046da --- /dev/null +++ b/blockchain/modules/ecdp-setr-treasury/Cargo.toml @@ -0,0 +1,50 @@ +[package] +name = "module-ecdp-setr-treasury" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +scale-info = { workspace = true } +serde = { workspace = true, optional = true } +parity-scale-codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"] } +sp-runtime = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } + +primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } +support = { package = "module-support", path = "../support", default-features = false } +orml-traits = { path = "../submodules/orml/traits", default-features = false } + +[dev-dependencies] +sp-core = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true } +orml-tokens = { workspace = true } + +[features] +default = ["std"] +std = [ + "scale-info/std", + "serde", + "parity-scale-codec/std", + "sp-runtime/std", + "sp-std/std", + "sp-io/std", + "frame-support/std", + "frame-system/std", + "primitives/std", + "support/std", + "orml-traits/std", +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/blockchain/modules/ecdp-setr-treasury/README.md b/blockchain/modules/ecdp-setr-treasury/README.md new file mode 100644 index 00000000..7968ee1e --- /dev/null +++ b/blockchain/modules/ecdp-setr-treasury/README.md @@ -0,0 +1,5 @@ +# ECDP SetterTreasury Module + +## Overview + +Provides Unegged ECDP `Setter (SETR)` Stablecoin on Ethical DeFi. diff --git a/blockchain/modules/ecdp-setter-engine/README.md b/blockchain/modules/ecdp-setter-engine/README.md deleted file mode 100644 index 1b3c09ff..00000000 --- a/blockchain/modules/ecdp-setter-engine/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Edfis Liquid Staking Module - -## Overview - -Provides a liquid staking platform on Edfis.