SlideShare a Scribd company logo
DeFi
Primitives
DECENTRALIZED FINANCE
S E R I E S I I
Quick Recap of DeFi Infrastructure
Blockchain: Blockchain is a decentralized ledger that encrypts
data ‘chained’ to one another while ensuring immutability
through hashing algorithms.
Smart Contracts: It allows the user to encode rules for any type
of transaction trustlessly. Executes contracts based on the
predetermined condition given in the blockchain.
Oracles: Connects smart contracts to real-world databases for
importing crucial data from the outside world.
Comparison between centralized and decentralized Systems:
In the former, decision-making and control reside on one central
authority, while in the latter, this power is distributed among a
group of individuals.
Decentralized applications: dApps are similar to traditional
software applications, except they live on a decentralized smart
contract platform.
1
2
3
4
5
1
2
4
5
3
What Will This Webinar Tell Us?
Equity, Utility, and
Governance Tokens
Transactions
NFTs and It's token
Standards
Custody & Escrow
Services
Burning, Minting, and
the Bonding Curve
Asset swapping
Staking Reward &
Staking Penalties
Collateralized and
uncollateralized loans
Now that we have covered the basics of DeFi infrastructure, in this webinar, we will discuss the primitive financial actions
that developers can use. A developer can combine these actions to create complex dApps.
Transactions
● A transaction is a message signed by an account owner that is added to a block and recorded in the blockchain.
● It can be originated only by an externally owned account (owned by a human), not by a contract account, and then transmitted to the
Ethereum network.
● The transaction can be any action, such as transferring ether or calling functions of a smart contract. Consequently, the state of the
Ethereum virtual machine (EVM) is changed.
● Any account or node has the right to initiate a transaction. But it must be verified through mining.
● Every transaction has a gas limit and a gas fee. This fee is given to miners as a reward for verifying (or mining) that transaction.
Externally
owned account
Transaction
Externally
owned account
Contract
Account
Internal
Transaction
Externally
owned account
Transaction
Externally
owned account
Transactions set in motion by
an externally owned account
Fired in response to the
transaction set in motion by
an externally owned account
Fungible Tokens
Divisible to a certain decimal granularity and with units that are all identical and interchangeable. Like:
$100 USD Bill.
The Ethereum blockchain fungible token standard is ERC-20- A standard interface for fungible
(interchangeable) tokens, like voting tokens, staking tokens, or virtual currencies.
There are three MAIN types of ERC-20 tokens: Equity Tokens, Utility Tokens, Governance Tokens.
Convergence between multiple categories is possible.
Example functionalities ERC-20 provides:
• Transfer tokens from one account to another
• Get the current token balance of an account
• Get the total supply of the token available on the network
• approve whether an amount of token from an account can be spent by a third-party account
Equity and
Security Tokens
• Represents ownership/ equity of an underlying
asset/ pool of assets.
• Equity tokens are actually more of a subgroup
of the security token. Security and equity
tokens are tokens that represent a tradable
security on a blockchain.
• Example: Depositing 1 ETH and getting back 100
'XYZ'' tokens on Aave or Compound.
• The exchange rate is variable & depends on
supply and demand.
• The Smart contract ensures it returns a Pro-
rata amount of ETH for every 'XYZ' it receives.
• Examples:
– Polymath Network is a platform for the
creation of tokenized securities
on Ethereum.
– Templum provides a regulated,
end-to-end solution for raising capital and
secondary trading in the private market.
• Developed for use inside a specific
blockchain ecosystem. They are meant to
be used to use the network.
• Do not exist to create value independently.
• Depends on a smart contract system or
dApp to fulfill their use case.
• Examples:
– $DAI, $LINK, $MATIC: Used to pay
application specific fees
– Synthetix (SNX): Used as a collateral
– ETH in the Ethereum Network for Fee
Utility
Tokens
• Governance tokens are also a kind of Equity
tokens. But not for assets.
• They represent VOTING RIGHTS for a DeFi
protocol or DAOs.
• From implementing Smart contract upgrades
to governance proposals- everything is done
through token holders' votes.
• Eliminates admin-controlled functionalities &
creates true DeFi.
• The governance token's supply can be:
– Static: (MKR token for Maker DAO)
– Inflationary: (COMP token for Compound)
– Deflationary: (MKR token, fees are burned)
Governance
Tokens
Non-Fungible and Semi-Fungible Tokens
• Each unit is unique. Divisible (fractional NFTs) but not interchangeable.
• Hence, it can be used as Deeds or proof of unique ownership of unitary assets.
• Example: A p2p loan with its own terms & interest rates can be represented as NFTs.
• Technically, NFTs follow ERC-721 & ERC-1155 standards & NOT ERC-20
• ERC-1155 represents both fungible + non-fungible ones.
• ERC-1155 also offers batch transfer (saves Gas) & semi-fungibility.
Vouchers
Vouchers resemble semi-fungible
tokens since you can interchange
them with the same voucher with
the same expiration date. Once
redeemed, SFTs lose their value
and become non-fungible tokens.
Event Tickets
Creating event tickets in the form of
crypto tokens is a widely popular
use of SFTs. The ticket will act like a
fungible token before the event and
will turn into a non-fungible token
after the event.
Gaming Assets
Games include both fungible tokens
(game dollars and gold bars) and
non-fungible tokens (in-game
assets). Games supporting SFTs
let players interchange their FTs
with NFTs or vice versa.
Semi-Fungible Tokens Uses:
Custody
• A critical DeFi primitive is the ability to escrow or custody funds
directly in a smart contract. This is distinct from the situation in ERC-20
when operators are approved to transfer a user’s balance.
• The user retains custody of his funds and could transfer the balance at
any time or revoke the contract's approval.
• When a smart contract has full custody over funds, new capabilities
(and additional primitives) are possible:
– Retaining fees and disbursing incentives
– Facilitation of token swaps
– Market making of a bonding curve
– Collateralized Loans
– Auctions
– Insurance funds
• The Smart Contract must be programmed to handle unique token
types – ERC20 or ERC 721
– Risk of permanent custody if no mechanism for releasing funds
– Safety checks in token transfer
• Token supplies can be adjusted using MINTING & BURNING
mechanisms.
• Minting -> Mint new tokens using the mechanics encoded into
Smart contracts. Inflationary, LP Tokens, Rewards
– Example: Entering a pool and acquiring ownership using
cTokens in Compound.
• Burning -> Send tokens to an unowned address or add feature
burning functions to smart contracts to make tokens unusable.
Deflationary and Redemption
– Example: Burning of AAVE tokens for driving scarcity.
• Bonding curves -> A dynamic approach to calculate the token
value, taking supply into consideration. Work independently from
Crypto exchanges.
– It sells tokens by calculating token prices in Ether and issuing
them after payment. Also, buy them and pay with Ether.
– The growth rate for the bonding curve determines users'
performances.
Supply
Adjustments
Swapping
Swapping is simply
exchanging one type
of token with another.
It’s Non-custodial and
done using a DEX.
There are two
approaches to which
a DEX gets liquidity.
• Order Book
Matching
• Automated
Market Makers
For a successful
order-book match, all
parties must agree on
the swap exchange
rate. Kuber Network
has a fully automated
order books.
The order-matching
approach is expensive
and inefficient
because each update
requires an on-chain
transaction.
• Collateralized loans are backed by an
equivalent or excess amount of collateral.
• Collateral can become less valuable than
the debt. due to price volatility, leading to
unfortunate liquidation.
• To mitigate risk, a larger collateralization
ratio is required to avoid margin calls.
• For Maker DAO, borrowers must keep 150%
collateral on loan value. Any drop in ETH
value below that will come at a 13% penalty.
• If the private key is lost or the contract gets
hacked, borrowers or lenders will lose their
assets.
• Decentralized Insurance protocols
(like Nexus Mutual or CDx) can help in
such cases.
Collateralized Loan
Flash | Uncollateralized Loan
• DeFi uses a multi-layered architecture.
• Every layer has a distinct purpose.
• The layers build on each other and create an open and highly composable infrastructure
that allows everyone to build on, rehash, or use other parts of the stack.
• If, for example, the blockchain in the settlement layer is compromised, all subsequent layers
would not be secure.
• Similarly, if we used a permissioned ledger as the foundation, any decentralization efforts on
subsequent layers would be ineffective.

More Related Content

Similar to DeFi Series – Webinar 2- DeFi Primitives

The future of ICOs - Thoughts after beeing back from #DEVCON3
The future of ICOs - Thoughts after beeing back from #DEVCON3The future of ICOs - Thoughts after beeing back from #DEVCON3
The future of ICOs - Thoughts after beeing back from #DEVCON3
Vidal Chriqui
 
Deconstructing Decentralized Exchanges. Lindsay X. Lin
Deconstructing Decentralized Exchanges.  Lindsay X. LinDeconstructing Decentralized Exchanges.  Lindsay X. Lin
Deconstructing Decentralized Exchanges. Lindsay X. Lin
eraser Juan José Calderón
 
Kyber network de fi whitepaper
Kyber network de fi whitepaperKyber network de fi whitepaper
Kyber network de fi whitepaper
BlockchainkuDotcom
 
How is a Crypto Token different from Crypto Coin.pdf
How is a Crypto Token different from Crypto Coin.pdfHow is a Crypto Token different from Crypto Coin.pdf
How is a Crypto Token different from Crypto Coin.pdf
TusharVerma933268
 
How is a Crypto Token different from Crypto Coin?
How is a Crypto Token different from Crypto Coin?How is a Crypto Token different from Crypto Coin?
How is a Crypto Token different from Crypto Coin?
MeghaSaran1
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering students
imranakhtar83
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
SamPurcell4
 
The taxonomy of blockchain and cryptocurrency
The taxonomy of blockchain and cryptocurrencyThe taxonomy of blockchain and cryptocurrency
The taxonomy of blockchain and cryptocurrency
Blockchain and CryptoAsset (K) Ltd.
 
Decentralised Exchanges - An Introduction
Decentralised Exchanges - An IntroductionDecentralised Exchanges - An Introduction
Decentralised Exchanges - An Introduction
Priyab Satoshi
 
Distributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart ContractsDistributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart Contracts
Dusan Andric
 
Introduction to blockchain & cryptocurrencies
Introduction to blockchain & cryptocurrenciesIntroduction to blockchain & cryptocurrencies
Introduction to blockchain & cryptocurrencies
Aurobindo Nayak
 
Ethereum (Blockchain Network)
Ethereum (Blockchain Network)Ethereum (Blockchain Network)
Ethereum (Blockchain Network)
Qais Ammari
 
Ethereum and the $50m Heist
Ethereum and the $50m HeistEthereum and the $50m Heist
Ethereum and the $50m Heist
Laurence Kirk
 
Difference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchangeDifference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchange
Harshit Verma
 
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
DataScienceConferenc1
 
Types of Crypto Tokens and Advantages
Types of Crypto Tokens and AdvantagesTypes of Crypto Tokens and Advantages
Types of Crypto Tokens and Advantages
NoraWilson4
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
ssusera441c2
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
Priyab Satoshi
 
Erc 721 tokens
Erc 721 tokensErc 721 tokens
Erc 721 tokens
Priyab Satoshi
 

Similar to DeFi Series – Webinar 2- DeFi Primitives (20)

The future of ICOs - Thoughts after beeing back from #DEVCON3
The future of ICOs - Thoughts after beeing back from #DEVCON3The future of ICOs - Thoughts after beeing back from #DEVCON3
The future of ICOs - Thoughts after beeing back from #DEVCON3
 
Deconstructing Decentralized Exchanges. Lindsay X. Lin
Deconstructing Decentralized Exchanges.  Lindsay X. LinDeconstructing Decentralized Exchanges.  Lindsay X. Lin
Deconstructing Decentralized Exchanges. Lindsay X. Lin
 
Kyber network de fi whitepaper
Kyber network de fi whitepaperKyber network de fi whitepaper
Kyber network de fi whitepaper
 
How is a Crypto Token different from Crypto Coin.pdf
How is a Crypto Token different from Crypto Coin.pdfHow is a Crypto Token different from Crypto Coin.pdf
How is a Crypto Token different from Crypto Coin.pdf
 
How is a Crypto Token different from Crypto Coin?
How is a Crypto Token different from Crypto Coin?How is a Crypto Token different from Crypto Coin?
How is a Crypto Token different from Crypto Coin?
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering students
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
 
The taxonomy of blockchain and cryptocurrency
The taxonomy of blockchain and cryptocurrencyThe taxonomy of blockchain and cryptocurrency
The taxonomy of blockchain and cryptocurrency
 
Decentralised Exchanges - An Introduction
Decentralised Exchanges - An IntroductionDecentralised Exchanges - An Introduction
Decentralised Exchanges - An Introduction
 
Distributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart ContractsDistributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart Contracts
 
Introduction to blockchain & cryptocurrencies
Introduction to blockchain & cryptocurrenciesIntroduction to blockchain & cryptocurrencies
Introduction to blockchain & cryptocurrencies
 
Ethereum (Blockchain Network)
Ethereum (Blockchain Network)Ethereum (Blockchain Network)
Ethereum (Blockchain Network)
 
Ethereum and the $50m Heist
Ethereum and the $50m HeistEthereum and the $50m Heist
Ethereum and the $50m Heist
 
Difference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchangeDifference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchange
 
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
[Cryptica 22] Introduction to Decentralized Finance - Nikola Markovic
 
Types of Crypto Tokens and Advantages
Types of Crypto Tokens and AdvantagesTypes of Crypto Tokens and Advantages
Types of Crypto Tokens and Advantages
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
 
Erc 721 tokens
Erc 721 tokensErc 721 tokens
Erc 721 tokens
 

More from Zeeve

Launching a Rollup & Appchain: Everything from Idea to its Implementation
Launching a Rollup & Appchain: Everything from Idea to its ImplementationLaunching a Rollup & Appchain: Everything from Idea to its Implementation
Launching a Rollup & Appchain: Everything from Idea to its Implementation
Zeeve
 
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
Zeeve
 
How to Start Building in Web3 – Smart Contract Design & Development Part 1
How to Start Building in Web3 – Smart Contract Design & Development Part 1How to Start Building in Web3 – Smart Contract Design & Development Part 1
How to Start Building in Web3 – Smart Contract Design & Development Part 1
Zeeve
 
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
Zeeve
 
The Rise of App-chains: Driving Scalability, Security, and Performance with A...
The Rise of App-chains: Driving Scalability, Security, and Performance with A...The Rise of App-chains: Driving Scalability, Security, and Performance with A...
The Rise of App-chains: Driving Scalability, Security, and Performance with A...
Zeeve
 
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Zeeve
 
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Zeeve
 
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFiWebinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Zeeve
 
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
Zeeve
 
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
Zeeve
 
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
Zeeve
 
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
Zeeve
 
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case AnalysisWebinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
Zeeve
 
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A BlockWebinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
Zeeve
 
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchainGBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
Zeeve
 

More from Zeeve (15)

Launching a Rollup & Appchain: Everything from Idea to its Implementation
Launching a Rollup & Appchain: Everything from Idea to its ImplementationLaunching a Rollup & Appchain: Everything from Idea to its Implementation
Launching a Rollup & Appchain: Everything from Idea to its Implementation
 
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
Webinar – Blockchain, NFT, Crypto & DeFi – A Primer for these exciting develo...
 
How to Start Building in Web3 – Smart Contract Design & Development Part 1
How to Start Building in Web3 – Smart Contract Design & Development Part 1How to Start Building in Web3 – Smart Contract Design & Development Part 1
How to Start Building in Web3 – Smart Contract Design & Development Part 1
 
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
The Anatomy of a DAO–Understanding the inner workings of decentralized organi...
 
The Rise of App-chains: Driving Scalability, Security, and Performance with A...
The Rise of App-chains: Driving Scalability, Security, and Performance with A...The Rise of App-chains: Driving Scalability, Security, and Performance with A...
The Rise of App-chains: Driving Scalability, Security, and Performance with A...
 
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
 
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
 
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFiWebinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
 
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
Webinar-GBA Episode 7-Managing blockchain infrastructure for enterprise-grade...
 
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
Webinar-Episode 6-Enterprise Blockchain Adoption-Scaling from Pilot to Produc...
 
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
Webinar -Episode 5 – Enterprise Blockchain Adoption – Adoption/Implementation...
 
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
Webinar- GBA Episode 4 – Enterprise Blockchain Adoption “Security & Adoption”
 
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case AnalysisWebinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
Webinar- GBA-Enterprise Blockchain Adoption Episode 3-Use Case Analysis
 
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A BlockWebinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
Webinar – Episode 2 of Series on “Enterprise Blockchain Adoption” Design A Block
 
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchainGBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
GBA – Episode 1 “Enterprise Blockchain Adoption” – Cost of doing blockchain
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 

DeFi Series – Webinar 2- DeFi Primitives

  • 2. Quick Recap of DeFi Infrastructure Blockchain: Blockchain is a decentralized ledger that encrypts data ‘chained’ to one another while ensuring immutability through hashing algorithms. Smart Contracts: It allows the user to encode rules for any type of transaction trustlessly. Executes contracts based on the predetermined condition given in the blockchain. Oracles: Connects smart contracts to real-world databases for importing crucial data from the outside world. Comparison between centralized and decentralized Systems: In the former, decision-making and control reside on one central authority, while in the latter, this power is distributed among a group of individuals. Decentralized applications: dApps are similar to traditional software applications, except they live on a decentralized smart contract platform. 1 2 3 4 5 1 2 4 5 3
  • 3. What Will This Webinar Tell Us? Equity, Utility, and Governance Tokens Transactions NFTs and It's token Standards Custody & Escrow Services Burning, Minting, and the Bonding Curve Asset swapping Staking Reward & Staking Penalties Collateralized and uncollateralized loans Now that we have covered the basics of DeFi infrastructure, in this webinar, we will discuss the primitive financial actions that developers can use. A developer can combine these actions to create complex dApps.
  • 4. Transactions ● A transaction is a message signed by an account owner that is added to a block and recorded in the blockchain. ● It can be originated only by an externally owned account (owned by a human), not by a contract account, and then transmitted to the Ethereum network. ● The transaction can be any action, such as transferring ether or calling functions of a smart contract. Consequently, the state of the Ethereum virtual machine (EVM) is changed. ● Any account or node has the right to initiate a transaction. But it must be verified through mining. ● Every transaction has a gas limit and a gas fee. This fee is given to miners as a reward for verifying (or mining) that transaction. Externally owned account Transaction Externally owned account Contract Account Internal Transaction Externally owned account Transaction Externally owned account Transactions set in motion by an externally owned account Fired in response to the transaction set in motion by an externally owned account
  • 5. Fungible Tokens Divisible to a certain decimal granularity and with units that are all identical and interchangeable. Like: $100 USD Bill. The Ethereum blockchain fungible token standard is ERC-20- A standard interface for fungible (interchangeable) tokens, like voting tokens, staking tokens, or virtual currencies. There are three MAIN types of ERC-20 tokens: Equity Tokens, Utility Tokens, Governance Tokens. Convergence between multiple categories is possible. Example functionalities ERC-20 provides: • Transfer tokens from one account to another • Get the current token balance of an account • Get the total supply of the token available on the network • approve whether an amount of token from an account can be spent by a third-party account
  • 6. Equity and Security Tokens • Represents ownership/ equity of an underlying asset/ pool of assets. • Equity tokens are actually more of a subgroup of the security token. Security and equity tokens are tokens that represent a tradable security on a blockchain. • Example: Depositing 1 ETH and getting back 100 'XYZ'' tokens on Aave or Compound. • The exchange rate is variable & depends on supply and demand. • The Smart contract ensures it returns a Pro- rata amount of ETH for every 'XYZ' it receives. • Examples: – Polymath Network is a platform for the creation of tokenized securities on Ethereum. – Templum provides a regulated, end-to-end solution for raising capital and secondary trading in the private market.
  • 7. • Developed for use inside a specific blockchain ecosystem. They are meant to be used to use the network. • Do not exist to create value independently. • Depends on a smart contract system or dApp to fulfill their use case. • Examples: – $DAI, $LINK, $MATIC: Used to pay application specific fees – Synthetix (SNX): Used as a collateral – ETH in the Ethereum Network for Fee Utility Tokens
  • 8. • Governance tokens are also a kind of Equity tokens. But not for assets. • They represent VOTING RIGHTS for a DeFi protocol or DAOs. • From implementing Smart contract upgrades to governance proposals- everything is done through token holders' votes. • Eliminates admin-controlled functionalities & creates true DeFi. • The governance token's supply can be: – Static: (MKR token for Maker DAO) – Inflationary: (COMP token for Compound) – Deflationary: (MKR token, fees are burned) Governance Tokens
  • 9. Non-Fungible and Semi-Fungible Tokens • Each unit is unique. Divisible (fractional NFTs) but not interchangeable. • Hence, it can be used as Deeds or proof of unique ownership of unitary assets. • Example: A p2p loan with its own terms & interest rates can be represented as NFTs. • Technically, NFTs follow ERC-721 & ERC-1155 standards & NOT ERC-20 • ERC-1155 represents both fungible + non-fungible ones. • ERC-1155 also offers batch transfer (saves Gas) & semi-fungibility. Vouchers Vouchers resemble semi-fungible tokens since you can interchange them with the same voucher with the same expiration date. Once redeemed, SFTs lose their value and become non-fungible tokens. Event Tickets Creating event tickets in the form of crypto tokens is a widely popular use of SFTs. The ticket will act like a fungible token before the event and will turn into a non-fungible token after the event. Gaming Assets Games include both fungible tokens (game dollars and gold bars) and non-fungible tokens (in-game assets). Games supporting SFTs let players interchange their FTs with NFTs or vice versa. Semi-Fungible Tokens Uses:
  • 10. Custody • A critical DeFi primitive is the ability to escrow or custody funds directly in a smart contract. This is distinct from the situation in ERC-20 when operators are approved to transfer a user’s balance. • The user retains custody of his funds and could transfer the balance at any time or revoke the contract's approval. • When a smart contract has full custody over funds, new capabilities (and additional primitives) are possible: – Retaining fees and disbursing incentives – Facilitation of token swaps – Market making of a bonding curve – Collateralized Loans – Auctions – Insurance funds • The Smart Contract must be programmed to handle unique token types – ERC20 or ERC 721 – Risk of permanent custody if no mechanism for releasing funds – Safety checks in token transfer
  • 11. • Token supplies can be adjusted using MINTING & BURNING mechanisms. • Minting -> Mint new tokens using the mechanics encoded into Smart contracts. Inflationary, LP Tokens, Rewards – Example: Entering a pool and acquiring ownership using cTokens in Compound. • Burning -> Send tokens to an unowned address or add feature burning functions to smart contracts to make tokens unusable. Deflationary and Redemption – Example: Burning of AAVE tokens for driving scarcity. • Bonding curves -> A dynamic approach to calculate the token value, taking supply into consideration. Work independently from Crypto exchanges. – It sells tokens by calculating token prices in Ether and issuing them after payment. Also, buy them and pay with Ether. – The growth rate for the bonding curve determines users' performances. Supply Adjustments
  • 12. Swapping Swapping is simply exchanging one type of token with another. It’s Non-custodial and done using a DEX. There are two approaches to which a DEX gets liquidity. • Order Book Matching • Automated Market Makers For a successful order-book match, all parties must agree on the swap exchange rate. Kuber Network has a fully automated order books. The order-matching approach is expensive and inefficient because each update requires an on-chain transaction.
  • 13. • Collateralized loans are backed by an equivalent or excess amount of collateral. • Collateral can become less valuable than the debt. due to price volatility, leading to unfortunate liquidation. • To mitigate risk, a larger collateralization ratio is required to avoid margin calls. • For Maker DAO, borrowers must keep 150% collateral on loan value. Any drop in ETH value below that will come at a 13% penalty. • If the private key is lost or the contract gets hacked, borrowers or lenders will lose their assets. • Decentralized Insurance protocols (like Nexus Mutual or CDx) can help in such cases. Collateralized Loan
  • 14. Flash | Uncollateralized Loan • DeFi uses a multi-layered architecture. • Every layer has a distinct purpose. • The layers build on each other and create an open and highly composable infrastructure that allows everyone to build on, rehash, or use other parts of the stack. • If, for example, the blockchain in the settlement layer is compromised, all subsequent layers would not be secure. • Similarly, if we used a permissioned ledger as the foundation, any decentralization efforts on subsequent layers would be ineffective.