All Projects → ConsenSys → Defi Score

ConsenSys / Defi Score

Licence: other
DeFi Score: An open framework for evaluating DeFi protocols

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Defi Score

Blockchainbooks.github.io
Blockchain Books
Stars: ✭ 139 (-8.55%)
Mutual labels:  blockchain, ethereum
Chainlink Ruby
Easily connect your applications to blockchains
Stars: ✭ 152 (+0%)
Mutual labels:  blockchain, ethereum
Uport Credentials
Library for integrating uPort into node server side applications
Stars: ✭ 140 (-7.89%)
Mutual labels:  blockchain, ethereum
Status Network Token
Smart Contracts for the Status Contribution Period, along with Genesis and Network Tokens
Stars: ✭ 138 (-9.21%)
Mutual labels:  blockchain, ethereum
Awesome Token Sale
Curated list of token sale resources / ICO resources
Stars: ✭ 149 (-1.97%)
Mutual labels:  blockchain, ethereum
Eth95
🛠️ A smart contract UI for your Ethereum dapp project
Stars: ✭ 139 (-8.55%)
Mutual labels:  blockchain, ethereum
Erc20 Rest Service
ERC-20 token standard RESTful service using Spring Boot and web3j
Stars: ✭ 150 (-1.32%)
Mutual labels:  blockchain, ethereum
Carmel
The Open Digital Innovation Marketplace
Stars: ✭ 136 (-10.53%)
Mutual labels:  blockchain, ethereum
Amp Matching Engine
Official proof decentralized exchange matching engine
Stars: ✭ 142 (-6.58%)
Mutual labels:  blockchain, ethereum
Web3j Spring Boot Starter
Spring Boot Starter for web3j
Stars: ✭ 140 (-7.89%)
Mutual labels:  blockchain, ethereum
Chainlink
node of the decentralized oracle network, bridging on and off-chain computation
Stars: ✭ 2,680 (+1663.16%)
Mutual labels:  blockchain, ethereum
Ebtc
eBitcoin (eBTC) is an ERC20 token. Its primary utility is to provide an easy & fast payment solution. Its edge over other tokens is that it is capable of sending up to 255 payments in a single transaction.
Stars: ✭ 149 (-1.97%)
Mutual labels:  blockchain, ethereum
Web3.swift
Ethereum Swift API with support for smart contracts, ENS & ERC20
Stars: ✭ 137 (-9.87%)
Mutual labels:  blockchain, ethereum
Alpha Wallet Ios
An advanced Ethereum mobile wallet
Stars: ✭ 140 (-7.89%)
Mutual labels:  blockchain, ethereum
Consensys Academy Notes
A series of notes that were taken during the ConsenSys Academy program.
Stars: ✭ 138 (-9.21%)
Mutual labels:  blockchain, ethereum
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-7.24%)
Mutual labels:  blockchain, ethereum
Awdy
are we decentralized yet? an analysis of how truly decentralized cryptocurrency networks are
Stars: ✭ 133 (-12.5%)
Mutual labels:  blockchain, ethereum
Alpha Wallet Android
An advanced Ethereum mobile wallet
Stars: ✭ 133 (-12.5%)
Mutual labels:  blockchain, ethereum
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-7.24%)
Mutual labels:  blockchain, ethereum
Sablier
The protocol for real-time finance on the Ethereum blockchain
Stars: ✭ 147 (-3.29%)
Mutual labels:  blockchain, ethereum

All Contributors DeFi Score Banner

The DeFi Score is a framework for assessing risk in permissionless lending platforms. It's a single, consistently comparable value for measuring protocol risk, based on factors including smart contract risk, collateralization, and liquidity.

We encourage the Ethereum community to evolve the methodology, making it more effective and easier to use.

Table of Contents

Example Scores

We've provided a few example scores with a breakdown of each component. Although the underlying methodology is complex, it should be simple for a user to understand.

DeFi Score Examples

Implementation

Want to run the numbers yourself? Check out the implementation instructions.

Components

The DeFi Score methodology can be organized into Smart Contract Risk, Financial Risk, and Other Considerations.

DeFi Score Banner Components

I. Smart Contract Risk

  • Smart Contract Security (45%)

    Errors, bugs and unexpected outcomes in smart contracts can cause real financial harm. These risks can be minimized by proactive code audits and formal verification from reputable security firms.

    Our model assesses code security by looking at three pieces of off-chain but public data:

    1. Time on Mainnet Normalized time since the protocol first launched on mainnet
    2. No Critical Vulnerabilities: No vulnerabilities have been exploited
    3. Four Engineer Weeks 4 or more engineer weeks have been dedicated to auditing the protocol
    4. Public Audit: Has the audit report been made public
    5. Recent Audit: Has there been an audit in the last 12 months OR have no code changes been made
    6. Bounty Program: Does the development team offers a public bug bounty program?

II. Financial Risk

  • Collateral (20%)

    While all of the current platforms use very conservative collateral factors, the highly volatile nature of crypto assets means that these high collateral factors may still be insufficient. Collateral Risk is assessed by looking at two pieces of data, both derivable from on-chain data. The first data point is the utilization rate. The second data point is an analysis of the collateral portfolio using the CVaR (Conditional Value at Risk) model, also known as the Expected Shortfall model.

  • Liquidity (10%)

    The currently scoped platforms all attempt to incentive liquidity by using dynamic interest rate models which produce varying rates depending on the level of liquidity in each asset pool. However, incentivized liquidity does not mean guaranteed liquidity. The absolute level of liquidity is used.

III. Centralization Risk

  • Protocol Administration (12.5%)

One of the biggest contributors to centralization risk in DeFi protocols is the use of admin keys. Admin keys allow protocol developers to change different parameters of their smart contract systems like oracles, interest rates and potentially more. Protocol developer’s’ ability to alter these contract parameters allows them to cause financial loss to users. Measures like timelocks and multi-signature wallets help mitigate the risk of financial loss due to centralized elements. Mult-signature wallets help mitigate this risk by distributing control to a larger number of developers, meaning that the loss or compromise of a single private key cannot compromise the entire system. Timelocks help mitigate risk by allowing protocol users to exit their positions before a change can take place.

  • Oracles (12.5%)

Another large element of centralization risk in these protocols is oracle centralization. There are many different flavors of oracle systems being used to power these protocols. Some protocols use a fully self-operated oracle system while others use externally operated oracles like Uniswap and Kyber. Samczsun’s writeup on oracles and their ability to cause financial loss provides good background information. The oracle centralization score is not focused on whether these price feeds are manipulatable or not (they all are), but whether a single entity can manipulate them with ease. In the self-operated model, it only takes the oracle owner to manipulate its data. Decentralized oracles can’t be manipulated in the same way, but may not always represent the fair market value for an asset, which is why developers building on top of decentralized oracles opt to use price volatility bounds to defend against these types of attacks.

Disclaimer

The current DeFi Score algorithm uses min max normalization for certain metrics (Utilization Index and Liquidity Index). Anyone can fork the code and add support for new pools. However, if you add a pool that introduces a new lower or upper bound of utilization or liquidity, this will have a material effect on the scores for all other pools. The DeFi score team regularly adds support for new pools once they meet our requirements which you can read more about here.

Further Reading:

DeFi Score: Assessing Risk in Permissionless Lending Protocols

Contributors


Jack Clancy

💻 📖 📢

Jordan Lyall

📆 📖 🎨

tlip

🎨 🖋

ispytodd

🖋 📝

Anthony H.

🌍

Antonina Norair

📖

Tom French

📖

Kevin Arbi

💻

Community

Join the DeFi Score community on Telegram.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.0 Generic License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].