diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index cefccac1..53facc4c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -5,11 +5,7 @@ ## Our Pledge In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. +contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender, level of experience, education, socio-economic status, nationality, personal appearance, race, color or religion. ## Our Standards @@ -24,14 +20,11 @@ include: Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or - advances +* The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities diff --git a/README.md b/README.md index 1cd899e0..d5861c5b 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,8 @@ Ethical DeFi Suite is the DeFi powerhouse of the Setheum Network, providing all #### 1.2.1. Ethical DeFi Projects: - `Edfis`: Ethical DeFi Suite - - `Edfis Pay`: Decentralised Escrow Payment Protocol + - `Edfis Pay`: Decentralised Payment Protocol - `Edfis Swap Exchange`: AMM (Automated Market Maker) DEX Protocol inspired by Uniswap v3 design - - `Edfis P2P Exchange`: Decentralized P2P Exchange Protocol as a crypto on-off ramp - `Edfis Launchpad`: Launchpad Crowdsales protocol for bootstrapping pools on Edfis Exchange - `Edfis Launchpool`: Launchpool protocol for bootstrapping pools on Edfis Exchange - `Setter`: Unpegged ECDP Stablecoin diff --git a/blockchain/modules/ecdp-ussd-engine/src/mock.rs b/blockchain/modules/ecdp-ussd-engine/src/mock.rs index 8e35dac0..f7204ff0 100644 --- a/blockchain/modules/ecdp-ussd-engine/src/mock.rs +++ b/blockchain/modules/ecdp-ussd-engine/src/mock.rs @@ -300,8 +300,6 @@ impl module_evm::Config for Runtime { type Runner = module_evm::runner::stack::Runner; type FindAuthor = (); - type Task = (); - type IdleScheduler = (); type WeightInfo = (); } diff --git a/blockchain/modules/ecdp/src/mock.rs b/blockchain/modules/ecdp/src/mock.rs index cd44ea3d..75efaa77 100644 --- a/blockchain/modules/ecdp/src/mock.rs +++ b/blockchain/modules/ecdp/src/mock.rs @@ -261,8 +261,6 @@ impl module_evm::Config for Runtime { type Runner = module_evm::runner::stack::Runner; type FindAuthor = (); - type Task = (); - type IdleScheduler = (); type WeightInfo = (); } diff --git a/blockchain/modules/support/src/ecdp.rs b/blockchain/modules/support/src/ecdp.rs index c34672d8..c5ae48cb 100644 --- a/blockchain/modules/support/src/ecdp.rs +++ b/blockchain/modules/support/src/ecdp.rs @@ -172,23 +172,3 @@ pub trait EcdpUssdManager { /// Get exchange rate of debit units to debit value for a currency_id fn get_debit_exchange_rate(currency_id: CurrencyId) -> ExchangeRate; } - -/// Functionality of Setter ECDP Protocol to be exposed to EVM. -pub trait EcdpSetrManager { - /// Adjust ECDP loan - fn adjust_loan( - who: &AccountId, - collateral_adjustment: Amount, - debit_adjustment: Amount, - ) -> DispatchResult; - /// Close ECDP loan using DEX - fn close_loan_by_dex(who: AccountId, max_collateral_amount: Balance) -> DispatchResult; - /// Get open ECDP corresponding to an account and collateral - fn get_position(who: &AccountId) -> EcdpEcdpPosition; - /// Get liquidation ratio for collateral - fn get_collateral_parameters() -> Vec; - /// Get current ratio of collateral to debit of open ECDP - fn get_current_collateral_ratio(who: &AccountId) -> Option; - /// Get exchange rate of debit units to debit value for a currency_id - fn get_debit_exchange_rate() -> ExchangeRate; -}