Professional Documents
Culture Documents
Decentralized Finance Report
Decentralized Finance Report
Decentralized Finance Report
LIQUIDITY POOL
People who deposit their cryptocurrencies in liquidity pools are known as liquidity providers
(LPs). Each liquidity pool has a trading pair among which the trade would occur, for
example- USDC/ETH and DAI/USDC. So, in USDC/ETH, Ethereum can be used to
purchase USD coin and visa-versa. The value of the trading pair deposit must be equal, that is
if 1000$ of crypto is being deposited in these pools, then 500$ must be Ethereum and 500$
USDC. Thus, the value of both the tokens must always remain constant.
Now the question is how do the value of both these tokens remain constant?
Suppose if someone wants to buy Ethereum in exchange of USDC, what they are basically
doing is that are injecting more USDC and taking out Ethereum from the liquidity pool.
Therefore, there is an imbalance in the values of both the tokens. To correct this, the value of
deficient token is increased and the value of token in excess is decreased. With every
subsequent transaction, the values of these tokens change. The more the token, the lesser the
value and visa-versa just like the law of demand and supply. The price is constantly
determined through computer programs with help of mathematical instruments. There are
even multi-token liquidity pools which have more than two tokens available for trade but they
are not as prevalent as the former one.
Thus, in this approach there is not any requirement of alignment of orders of both the buyers
and suppliers and the trade is executed from the funds available in the liquidity pools. The
liquidity providers are incentivized through transaction fee charged after each transaction
which is nominal and lesser than those of centralized exchanges.
Even being the preferred mode of exchange, DEX is not free from flaws. Advantages and
disadvantages of DEXs are discussed below-
2.2 ADVANTAGES
Non-intervention of third parties
Since, it is executed on smart contracts and funds are in control of the users itself
there is more authority and control over assets and there is minimum risk of
manipulation and opacity of information.
Financial inclusion
There is no geographical restriction and anyone with an internet connection and
crypto wallet may access these services.
Censorship
Traditional finance often witness censorship in dissemination of information and the
methods used are often speculative and questionable. This is eliminated in case of
DEXs as there are computer servers that execute the contracts.
2.3 DISADVANTAGES
Impermanent loss
The negative difference between the value of funds in liquidity pool and the value if
the funds had been remained as it is, is known as impermanent loss. This may turn to
permanent loss if the liquidity provider withdraws their funds expecting further loss in
future.
No remedy in case of breach
If there is fraud or breach due to negligence, there is no legal remedy such as a
judicial body to approach.
Prone to hacking and technical bugs
Despite the technological advancement and superiority over centralized exchanged,
there is always a possibility of the system getting hacked and bugs in the code, after
all these systems are designed and used by humans.
Decentralized lending refers to the loans given in cryptocurrencies without any authority of a
centralized system regulating the process through peer-to-peer lending platforms. The terms
of the contract of loan are at the discretion of the lender and the borrower which is executed
through smart contracts which encodes all the terms and conditions of the contract. Aave,
Compound and MakerDAO are the leading platforms providing DeFi lending services.
3.3 Over-collateralization
As the term suggests, over-collateralization is when the lender demands for a higher value of
collateral than the amount he intends to loan out. This safeguards the lender’s interest in case
the borrower is declared default or bankrupt. It also checks any reckless debt accumulation
since borrowers will think thoroughly before putting a greater value at risk. For e.g.- 100
USD worth of Ethereum in exchange of 150 USD worth of Bitcoin with an Annual
Percentage Rate of 12%.
dYdX
Created in 2018, dYdX is another DeFi lending platform based on Ethereum. It
offers different other services such as margin trading and spot trading. Its
maximum LTV factor is 125%.
MakerDAO
It is a DeFi lending platform which only offers DAI token for borrowing. DAI is a
decentralized stablecoins which is lent in exchange of other cryptocurrencies.
Based on Ethereum blockchain, it has a maximum LTV factor of 66%.
4. STABLECOINS
Traditional cryptocurrencies are highly volatile and this high fluctuation in the value is a
disadvantage of it. Due to this, there was a demand to find an alternative whose value will be
constant like fiat currency but with the benefits of decentralized money. Thus, the concept of
Stablecoins emerged. Stablecoins are cryptocurrencies whose value is pegged to fiat
currency, commodities or some other negotiable instrument. Unlike cryptocurrencies like
Bitcoin and Ethereum, the value of these coins doesn’t fluctuate and are less volatile in
nature. Introduced in 2014, BitUSD was the first stablecoin issued on the BitShare
blockchain.
5. YIELD FARMING
5.1 Introduction
Yield farming has emerged as a prominent and highly popular trend within the decentralized
finance (DeFi) landscape, drawing substantial investments in the form of crypto assets across
different protocols and platforms. Also referred to as liquidity mining, yield farming offers a
unique avenue for generating returns by harnessing the capabilities of diverse DeFi protocols.
Positioned as one of the most thrilling and profitable aspects of DeFi, yield farming
contributes to the rapid expansion of this sector within the crypto industry. By engaging in
yield farming, cryptocurrency investors can passively earn income by lending or staking their
assets in a variety of protocols and platforms.
1. Fees: Some platforms levy fees for utilizing their services, such as trading or
borrowing. These fees are subsequently distributed as rewards to liquidity providers.
For instance, Uniswap, a decentralized exchange (DEX), imposes a 0.3% fee on each
trade conducted on its platform. This fee is then shared among the liquidity providers
associated with the corresponding trading pair.
3. Tokens: Some platforms introduce their own tokens as incentives for providing
liquidity or utilizing their services. These tokens serve diverse functions and possess
varying values, including governance rights or the potential for price appreciation. As
an illustration, Compound, a lending protocol, issues COMP tokens as rewards to
liquidity providers participating in its markets. COMP tokens can be utilized for
voting on proposals or protocol changes, as well as traded on secondary markets.
By understanding and capitalizing on these reward sources, yield farmers can effectively
navigate the landscape of yield farming and optimize their passive income generation within
the decentralized finance realm.
Once you have supplied liquidity to a platform, you will begin earning rewards according to
the platform's rules and mechanisms. It's important to understand whether you need to
manually or automatically claim your rewards. Additionally, you should familiarize yourself
with how rewards are calculated, distributed, and taxed. Some platforms may also offer the
option to reinvest your rewards into other pools or platforms to achieve compounding returns.
6. GOVERNANCE TOKENS
6.1 Introduction:
Governance tokens offer an array of benefits that extend beyond mere decision-making
power.
While governance tokens have garnered immense interest and potential, they are not without
their challenges.
As the DeFi ecosystem continues its evolutionary trajectory, governance tokens are poised to
assume an increasingly central role in shaping the future of decentralized governance. Here
are a few potential developments on the horizon:
6.7 Conclusion:
7.2 What are the different types of security risks associated with DeFi?
1. Smart Contract Vulnerabilities: Smart contracts are computer programs that carry out
specific actions on the blockchain. They can be prone to coding errors, flaws in logic,
and vulnerabilities that can be exploited by malicious individuals. These
vulnerabilities include reentrancy attacks, unchecked external calls, and improper
access control, which can result in the unauthorized withdrawal of funds,
unauthorized operations, and financial losses.
2. Malicious Actors: DeFi platforms are attractive targets for hackers and malicious
individuals who aim to exploit weaknesses and gain unauthorized access to funds.
They employ various techniques such as phishing, social engineering, and malware to
deceive users, steal private keys, or compromise user wallets.
3. Oracle Manipulation: Oracles provide external data to smart contracts, allowing them
to interact with real-world information. However, if an oracle is compromised or
manipulated, it can feed incorrect or malicious data to smart contracts. This can lead
to incorrect actions, inaccurate pricing, and financial losses.
4. Exploitation of Flash Loans: Flash loans enable users to borrow significant amounts
of cryptocurrency without collateral, with the condition of repayment within a single
transaction. However, attackers can misuse this feature to manipulate prices, conduct
arbitrage, or exploit vulnerabilities in other DeFi protocols. Such actions can lead to
financial losses for users and disrupt the stability of the DeFi ecosystem.
Addressing these security risks requires a multi-faceted approach that includes rigorous smart
contract audits, ongoing security assessments, and user education on best practices to mitigate
potential vulnerabilities.
It is important for DeFi projects and participants to stay informed about evolving regulatory
developments, engage in constructive dialogues with regulators, and proactively adopt
compliance measures to ensure regulatory alignment and mitigate potential risks.
To enhance security and regulatory compliance in the DeFi ecosystem, it is crucial to adopt
best practices throughout the development and operation of DeFi applications. The following
recommendations outline key best practices for securing DeFi platforms and staying
compliant with relevant regulations:
1. Smart Contract Security:
a) Conduct thorough code audits and security assessments by reputable third-party
auditors.
b) Implement best practices for secure coding, including input validation, access
control, and error handling.
c) Regularly update and patch smart contracts to address discovered vulnerabilities.
d) Leverage formal verification tools to enhance the security and correctness of
smart contract code.
2. User Security:
a) Educate users about potential risks, including phishing attacks, social engineering,
and secure key management.
b) Encourage users to adopt multi-factor authentication (MFA) for account access.
c) Develop user-friendly interfaces that emphasize security measures and provide
clear warnings.
3. Identity Verification:
a) Implement robust identity verification processes, including Know Your Customer
(KYC) procedures, to prevent fraud and ensure compliance with AML
regulations.
b) Collaborate with identity verification service providers to streamline the
onboarding process and enhance user trust.
4. AML Compliance:
a) Establish robust AML compliance frameworks, including transaction monitoring
and reporting suspicious activities.
b) Collaborate with regulatory authorities to ensure adherence to AML regulations
and guidelines.
c) Implement risk-based AML procedures that consider the specific characteristics of
DeFi activities.
5. Interoperability and Standardization:
a) Promote the development of interoperability standards to facilitate secure and
compliant integration between different DeFi platforms.
b) Encourage collaboration among industry stakeholders, including developers,
auditors, regulators, and users, to establish best practices and industry standards.
Decentralized finance (DeFi) has experienced notable expansion in recent years, with
the total value locked (TVL) in DeFi protocols surpassing billions of dollars. The
market size is projected to grow significantly in the future, driven by various factors.
One key driver of DeFi's growth is the growing demand for decentralized financial
services. Traditional financial systems have limitations such as geographic
restrictions, high costs, and lengthy processes. In contrast, DeFi offers accessible and
borderless financial services to anyone with internet access. As the benefits of DeFi
become more recognized, the market is expected to see substantial growth.
DeFi has observed a notable surge in adoption, with an expanding user base that
includes both individual and institutional participants. The user-friendly interfaces and
intuitive experiences offered by DeFi platforms are narrowing the divide between
traditional finance and decentralized finance, facilitating accessibility for a broader
range of users.
Furthermore, the entrance of prominent technology companies like PayPal and Square
into the DeFi space adds credibility and demonstrates the significance and potential of
decentralized finance. These companies have introduced DeFi-related services,
enabling their extensive user bases to seamlessly interact with DeFi applications. This
amalgamation of DeFi into mainstream platforms will expedite adoption and
contribute to the overall growth of the ecosystem.
The remarkable potential of DeFi extends to its ability to tackle the challenges of
financial inclusion and create a global impact. Many individuals worldwide face
barriers that prevent them from accessing essential financial services, including
limited infrastructure, geographical constraints, and a lack of identification.
Scalability is another crucial concern for DeFi, considering Ethereum's high gas fees
and network congestion. Layer 2 scaling solutions, such as state channels, sidechains,
and rollups, aim to increase transaction throughput, reduce costs, and maintain
blockchain security. Initiatives like Optimism and Arbitrum are focused on
developing layer 2 solutions to significantly improve DeFi scalability.
Projects like RealT (real estate tokenization) and Synthetix (creation of synthetic
assets) are at the forefront of integrating real-world assets into DeFi. This trend
bridges the gap between traditional finance and DeFi, creating avenues for investment
and financial inclusion.
DeFi platforms can leverage NFTs to enhance functionality and offer new
opportunities. For instance, NFT collateralization allows users to borrow against their
digital assets, while fractionalized NFTs enable shared ownership and increased
liquidity. Additionally, integrating NFT marketplaces with lending protocols allows
users to borrow against their NFT holdings.
D. Transparent Systems:
Transparency is the fundamental principle of DeFi. Blockchain technology, the
underlying technology of DeFi, enables transparent and auditable transactions. All
transactions and smart contract interactions are recorded on the blockchain, providing
a permanent and tamper-resistant record. This transparency increases trust between
participants and reduces the need for intermediaries to validate and enforce
transactions. Smart contracts, self-executing agreements coded into the blockchain,
ensure that transactions are executed as programmed, eliminating the need for
intermediaries to enforce contractual terms.
DeFi's role in revolutionizing the financial industry is rooted in its ability to disintermediate
financial transactions, democratize access to financial services, enhance financial inclusion,
and establish transparent and trustless systems. As the DeFi ecosystem continues to mature, it
has the potential to reshape the financial landscape, offering a viable alternative to traditional
finance. However, there are challenges to overcome, including regulatory considerations,
scalability, and user experience. As the industry evolves, collaboration between regulators,
innovators, and stakeholders will be crucial to harness the full potential of DeFi and ensure its
responsible growth and adoption.
8.3.2 Future Implications and Opportunities of Decentralized Finance