Skip to content

Commit

Permalink
Populate ECDP Auctions Module, do some naming changes too
Browse files Browse the repository at this point in the history
  • Loading branch information
balqaasem committed Mar 7, 2024
1 parent 8647197 commit f1a8f04
Show file tree
Hide file tree
Showing 34 changed files with 7,840 additions and 279 deletions.
2 changes: 1 addition & 1 deletion blockchain/modules/airdrop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ std = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"module-dex/try-runtime",
"module-edfis_swap_legacy/try-runtime",
]
45 changes: 21 additions & 24 deletions blockchain/modules/ecdp-auctions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,43 @@ authors = ["Setheum Labs"]
edition = "2021"

[dependencies]
log = { workspace = true }
parity-scale-codec = { workspace = true }
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 }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
orml-traits = { workspace = true }
orml-utilities = { workspace = true }
module-support = { workspace = true }
primitives = { workspace = true }

[dev-dependencies]
sp-core = { workspace = true, features = ["std"] }
pallet-balances = { workspace = true }
orml-tokens = { workspace = true }
pallet-balances = { workspace = true, features = ["std"] }
orml-auction = { workspace = true, features = ["std"] }
module-ecdp-ussd-treasury = { workspace = true, features = ["std"] }
module-edfis-legacy = { workspace = true, features = ["std"] }
orml-tokens = { workspace = true, features = ["std"] }

[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",
"orml-utilities/std",
"primitives/std",
"scale-info/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"module-support/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
]
3 changes: 3 additions & 0 deletions blockchain/modules/ecdp-auctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
## Overview

Provides an Auctions protocol for ECDP Stablecoin on Ethical DeFi.

Auctions the assets of the system to maintain the normal operation of the business. Auction types include:
- `collateral auction`: sell collateral assets for getting stable currency to eliminate the system's bad debit by auction
Loading

0 comments on commit f1a8f04

Please sign in to comment.