DeFi Intro - Smart Contracts and Decentralized Finance

Center for Innovative Finance
11 Dec 202122:24

Summary

TLDRThis video offers an introductory overview of decentralized finance (DeFi), explaining its core principles and distinguishing it from traditional finance. DeFi leverages public blockchains and smart contracts to create open, transparent, composable, and non-custodial financial protocols. The video outlines the four key aspects of DeFi: openness, transparency, composability, and non-custodial nature. It also clarifies misconceptions about DeFi, emphasizing that it is not synonymous with CBDCs or in-house blockchain projects. The presenter introduces the DeFi stack, which includes layers like settlement, asset, protocol, application, and aggregation, setting the stage for more detailed exploration in subsequent videos.

Takeaways

  • 📚 The video introduces decentralized finance (DeFi) as the main topic for the class, focusing on how smart contracts are utilized in a vibrant ecosystem.
  • 🌐 DeFi is built on public blockchain networks and smart contracts, aiming to create open, transparent, composable, and non-custodial financial protocols.
  • 🔍 The video provides a high-level overview of DeFi, with the intention to delve into specifics like tokens, decentralized exchanges, and lending markets in later videos.
  • 🔑 The term 'open' in DeFi refers to the absence of access restrictions and special privileges, allowing anyone to use the independent infrastructure without KYC or whitelisting requirements.
  • 🔍 'Transparent' indicates that all interactions within DeFi can be mathematically verified by anyone, ensuring security through smart contracts and public blockchains.
  • 🧩 'Composable' suggests the ability to combine different financial building blocks, similar to LEGO pieces, allowing for significant financial innovation.
  • 🔒 'Non-custodial' is a key aspect of DeFi, meaning users retain control over their assets and do not need to trust intermediaries with custody of their funds.
  • ❌ DeFi is distinct from CBDCs (Central Bank Digital Currencies) and in-house blockchain projects, which are not open, transparent, or non-custodial.
  • 📈 The video outlines the DeFi stack, which includes layers such as the settlement layer, asset layer, protocol layer, application layer, and aggregation layer.
  • 🌟 DeFi offers advantages over traditional finance, including trustless execution, reduced need for intermediaries, and the ability to create atomic transactions that mitigate counterparty risk.

Q & A

  • What is the primary focus of the video series after the introduction of smart contracts?

    -The primary focus shifts to Decentralized Finance (DeFi), exploring how smart contracts are employed in a vibrant ecosystem.

  • What does the term 'DeFi' stand for and what is its significance in the video?

    -DeFi stands for Decentralized Finance, which is a financial system that utilizes blockchain and smart contracts to create open, transparent, and trustless financial services.

  • What are the four key characteristics of DeFi as mentioned in the video?

    -The four key characteristics of DeFi are being open, transparent, composable, and non-custodial.

  • Why is the use of a public blockchain important in DeFi according to the video?

    -A public blockchain is important in DeFi because it provides an independent, open, and transparent settlement layer that allows anyone to participate without special privileges or access restrictions.

  • What does 'trustless' mean in the context of DeFi as discussed in the video?

    -In DeFi, 'trustless' means that users do not need to trust a central authority or intermediary; instead, they trust the math and the code that is transparent and verifiable by anyone.

  • How does composability in DeFi differ from traditional financial systems?

    -In DeFi, composability allows different financial protocols and smart contracts to interact and build upon each other, creating new services without the need for intermediaries, unlike traditional systems that often operate in silos.

  • What is the significance of being non-custodial in DeFi?

    -Being non-custodial in DeFi means that users retain full control over their assets without having to entrust them to a third party, reducing counterparty risk and increasing individual autonomy.

  • How does DeFi contrast with Central Bank Digital Currencies (CBDCs) as explained in the video?

    -DeFi is decentralized, transparent, and built on public blockchains, whereas CBDCs are centralized digital currencies issued by central banks and often operate on permissioned ledgers with access restrictions.

  • What is the DeFi stack and how does it structure the ecosystem?

    -The DeFi stack is a layered framework that includes the settlement layer, asset layer, protocol layer, application layer, and aggregation layer, structuring the ecosystem from basic blockchain interactions to complex financial services.

  • What are some of the advantages of DeFi over traditional financial systems as highlighted in the video?

    -DeFi offers advantages such as trustless transactions, deterministic execution, atomic settlement to reduce counterparty risk, and programmatic composability that allows for easier interaction and innovation compared to traditional financial systems.

  • What is the role of smart contracts in the DeFi ecosystem as discussed in the video?

    -Smart contracts are the backbone of the DeFi ecosystem, automating and executing financial agreements and protocols on the blockchain, ensuring transparency, security, and efficiency.

Outlines

00:00

🔑 Introduction to Decentralized Finance (DeFi)

This paragraph introduces the concept of Decentralized Finance (DeFi), which is the focus for the rest of the class. DeFi is a vibrant ecosystem that utilizes public blockchain networks and smart contracts to create financial protocols that are open, transparent, composable, and non-custodial. The speaker emphasizes that this is just an overview, with more detailed videos to come on specific subtopics like tokens, decentralized exchanges, and lending markets. The definition of DeFi is based on a paper from the Federal Reserve Bank of St. Louis, highlighting its trustless nature where trust is placed in the code and math rather than intermediaries.

05:02

🔍 Exploring the Core Principles of DeFi

The core principles of DeFi are discussed in detail: openness, transparency, composability, and non-custodial nature. Openness means no access restrictions on the blockchain or protocol level, allowing anyone to use the infrastructure without special privileges. Transparency ensures that all interactions with smart contracts are verifiable, maintaining security guarantees. Composability allows different financial protocols to interact, enabling innovation by building on existing smart contracts. Non-custodial refers to the user maintaining control over their assets, contrasting with traditional financial systems where custodians hold assets.

10:02

🚫 Distinguishing DeFi from Centralized and CBDC Models

The paragraph clarifies what DeFi is not, including Central Bank Digital Currencies (CBDCs) and in-house blockchain solutions. CBDCs, while digital, are not decentralized and are issued on a new infrastructure but lack the transparency and immutability of DeFi. Similarly, running DeFi protocols on a private or consortium blockchain controlled by a single entity or with heavy centralization does not qualify as true DeFi. The paragraph reinforces that DeFi is based on public, open, and non-custodial blockchains.

15:03

📚 The DeFi Stack and Its Components

The DeFi stack is introduced as a framework to understand the various layers within the DeFi ecosystem. Starting with the settlement layer, which is the blockchain itself, the stack includes native protocol assets like Ether and gas fees. The asset layer involves tokenization standards for fungible and non-fungible tokens. The protocol layer encompasses financial services recreated as smart contracts, such as decentralized exchanges and lending markets. The application layer provides user interfaces for interacting with these protocols, and the aggregation layer aggregates these services for a more user-friendly experience.

20:04

🌟 Advantages of DeFi Over Traditional Finance

The advantages of DeFi over traditional finance are highlighted, including the removal of the need to trust financial intermediaries due to the deterministic execution of smart contracts. DeFi allows for atomic transactions that eliminate counterparty risk and enable direct asset exchanges without intermediaries. It also overcomes the siloed nature of traditional financial services by offering programmatic composability, where different financial protocols can interact and build upon each other, fostering innovation and efficiency.

Mindmap

Keywords

💡Decentralized Finance (DeFi)

Decentralized Finance, often abbreviated as DeFi, refers to the ecosystem of financial applications built on blockchain technology, particularly smart contracts. It aims to recreate traditional financial services in a trustless manner without intermediaries. In the video, DeFi is introduced as the main topic, highlighting its role in creating open, transparent, and non-custodial financial protocols.

💡Smart Contracts

Smart contracts are self-executing contracts with the terms of the agreement directly written into code. They are a foundational component of DeFi, enabling trustless transactions and automating processes on blockchain platforms. The video discusses how smart contracts are used to build financial services on public blockchains, emphasizing their role in creating transparent and deterministic execution of financial agreements.

💡Public Blockchain

A public blockchain is a decentralized ledger that is open for anyone to join, participate in, and verify transactions. It is a critical aspect of DeFi as it provides the infrastructure for creating independent financial services. The video underscores the importance of public blockchains in DeFi, contrasting them with corporate or permissioned blockchains that may have access restrictions.

💡Open

In the context of DeFi, 'open' signifies that there are no access restrictions by default, allowing anyone to participate in the financial protocols without the need for KYC (Know Your Customer) or whitelisting. The video highlights 'open' as one of the four key attributes of DeFi, emphasizing the inclusive nature of these financial services.

💡Transparent

Transparency in DeFi means that all interactions with smart contracts and transactions on the blockchain are visible and verifiable by anyone. This allows users to mathematically verify the execution of code and ensures that the system operates in a clear and auditable manner. The video explains transparency as a core principle of DeFi, allowing users to trust the system based on the verifiable code rather than third-party assurances.

💡Composable

Composability in DeFi refers to the ability of different financial protocols and smart contracts to interact with each other, creating new services and functionalities. It is likened to Lego pieces where different components can be combined to build more complex structures. The video uses composability to illustrate how DeFi allows for financial innovation by building on existing protocols and smart contracts.

💡Non-Custodial

Non-custodial financial protocols mean that users retain control of their assets at all times and do not have to entrust them to a third party. This is a significant departure from traditional finance where custodians hold assets on behalf of users. The video emphasizes non-custodial as a key feature of DeFi, allowing users to maintain exclusive access rights to their assets until the moment of transaction execution.

💡Atomic Transactions

Atomic transactions in DeFi ensure that all parts of a transaction are completed successfully or not at all, preventing any partial execution. This principle eliminates counterparty risk and ensures that all conditions of a financial agreement are met simultaneously. The video mentions atomic transactions as a mechanism that enhances the security and reliability of DeFi protocols.

💡ERC20

ERC20 is a token standard on the Ethereum blockchain that defines a common list of rules that all fungible tokens must follow to be integrated into the Ethereum ecosystem. It enables interoperability and is used for creating tokens that represent assets. The video touches upon ERC20 as part of the asset layer in the DeFi stack, highlighting its role in tokenization.

💡ERC721

ERC721 is another token standard on Ethereum, designed for non-fungible tokens (NFTs), which represent unique assets. Each token has distinct properties and cannot be interchanged on a one-to-one basis with another token. The video explains the difference between fungible and non-fungible tokens and positions ERC721 as a standard within the asset layer of DeFi.

Highlights

Introduction to Decentralized Finance (DeFi) as the main topic for the remainder of the class.

DeFi is based on public blockchain networks and smart contracts to create financial protocols.

DeFi protocols are open, transparent, composable, and non-custodial.

Openness in DeFi means no access restrictions and no special privileges on any layer.

Transparency allows mathematical verification of all interactions within DeFi.

Composability enables different financial protocols to interact and build on each other.

Non-custodial nature ensures users retain control over their assets.

DeFi is distinct from CBDCs and in-house blockchain projects due to its decentralized and open nature.

DeFi stack includes layers such as settlement, asset, protocol, application, and aggregation.

Advantages of DeFi include trustless execution, reduced need for intermediaries, and increased efficiency.

Atomic transactions in DeFi eliminate counterparty risk and streamline asset exchanges.

DeFi promotes composability and innovation through the reuse of existing financial building blocks.

Traditional finance is often siloed, while DeFi encourages open and programmable financial services.

DeFi's approach to financial services is fundamentally different from traditional custodial models.

Upcoming lectures will delve into specific subtopics within DeFi, such as tokens and decentralized exchanges.

The paper 'Decentralized Finance and Blockchain and Smart Contract-Based Financial Markets' is recommended for further reading.

Transcripts

play00:00

in the previous videos we looked at the

play00:01

foundation so you got a basic

play00:03

understanding of what the blockchain is

play00:05

how you can interact with it through

play00:07

transactions we looked at smart

play00:09

contracts and you even got a chance to

play00:11

develop your own smart contract but now

play00:13

it's time to turn to an actual example

play00:15

of a vibrant ecosystem where these smart

play00:17

contracts are employed what i'm talking

play00:19

about is called decentralized finance or

play00:22

d5 for short and will be the topic for

play00:24

the remainder of this class

play00:31

all right let's get started with an

play00:33

introduction to decentralized financer

play00:34

d5 now in this video you should not

play00:37

expect me to go into any of the details

play00:39

it's really just a high level overview

play00:41

of the topic to

play00:42

build a common foundation but there will

play00:44

be more specific videos later on

play00:47

dedicated videos and various sub topics

play00:49

such as tokens for example such as

play00:51

decentralized exchanges or lending

play00:54

markets and there we will really go into

play00:56

the details of these topics but right

play00:58

here this is just an overview basically

play01:00

some information of what you can expect

play01:02

from the remainder of this class and

play01:03

what this topic is all about

play01:05

the first thing we have to do is of

play01:07

course define what decentralized finance

play01:10

actually is and this definition right

play01:13

here is based on a paper recently

play01:15

published with the federal reserve bank

play01:17

of saint louis their review

play01:19

and the definition goes as follows defy

play01:22

employs public blockchain networks and

play01:24

smart contracts to build open

play01:26

transparent composable

play01:29

and non-custodial financial protocols so

play01:31

the idea is really that you use all of

play01:33

these technologies we looked at so that

play01:35

we have a public blockchain and that's

play01:37

super important so one of these

play01:38

independent blockchains

play01:40

not a corporate blockchain not a

play01:42

permission ledger a public blockchain

play01:44

basically it's a settlement layer and

play01:46

then you use smart contracts

play01:49

like we have looked at like you've

play01:51

developed to recreate many of these

play01:53

financial services in a different way

play01:55

and in a different way really means that

play01:57

you can recreate them in many cases in a

play01:59

trustless manner a trustless meaning of

play02:01

course you have to trust the math of

play02:03

course you have to trust the code but it

play02:05

means that you can look at the code xnt

play02:07

so you know exactly what's supposed to

play02:09

happen you have a transparent way of

play02:11

studying of scrutinizing this code and

play02:15

you you basically have deterministic

play02:17

execution of safe immutable storage on

play02:20

the blockchain but let's look at these

play02:22

four keywords so the open where is my

play02:25

cursor right here

play02:28

the open the transparent the composable

play02:31

and the non-custodial

play02:33

one by one and let me start by open what

play02:36

do i mean by that open essentially means

play02:38

that by default there are no access

play02:40

restrictions and it's important that

play02:42

this there aren't any access

play02:44

restrictions on neither of the layers

play02:46

and we will look at these different

play02:47

layers later on so not on the blockchain

play02:50

it wouldn't be good if there are any

play02:51

access restrictions on the blockchain

play02:53

and there are special privileges in the

play02:55

blockchain but it will also not be good

play02:57

if there are special privileges on the

play02:59

protocol level so it really means that

play03:01

it's completely open that you have this

play03:02

independent infrastructure

play03:04

that can be used by anyone

play03:06

and that no one has special privileges

play03:09

for example

play03:11

that they can can do things other people

play03:13

cannot do there is at least by default

play03:16

no kyc and no whitelisting requirements

play03:19

no minimum amounts nothing like that

play03:22

it's really just this independent

play03:23

infrastructure you can build on

play03:26

and then the second part transparent

play03:27

means that everything that happens in d5

play03:31

whenever you have an interaction with a

play03:32

smart contract whenever there's anything

play03:34

going on really

play03:36

then you can mathematically verify it

play03:39

anyone can mathematically verify it so

play03:41

you see the code you know what is

play03:43

supposed to happen you can look at the

play03:44

codexante

play03:46

so the smart contract code and then you

play03:48

can verify whether it actually has

play03:49

happened so

play03:50

all of the security guarantees we get

play03:52

from a smart contract

play03:55

in combination with a public blockchain

play03:57

as a settlement layer are intact

play04:00

depending on the implementation of

play04:01

course subject to the implementation but

play04:03

at least in theory you can get these

play04:05

security guarantees and you can create

play04:07

something that is extremely transparent

play04:10

that can be scrutinized by anyone

play04:12

and then composable

play04:14

composability is usually described as

play04:16

lego pieces so where you have all of

play04:19

these different building blocks and you

play04:21

can piece them together and create

play04:23

something new and the way this works is

play04:25

because as you have seen in the earlier

play04:27

lectures small contracts can interact

play04:29

with each other of course you need

play04:31

somebody who is initiating the

play04:32

transaction so at the beginning the

play04:35

issue initiator has to be an eoa has to

play04:37

be an externally owned account but then

play04:39

you have all of these internal

play04:41

transactions you have all of these

play04:43

calls of other smart contracts and that

play04:46

way you can have a

play04:48

basically a sequence where one smart

play04:51

contract uses a function a different

play04:53

smart contract where one smart contract

play04:56

builds on a different already existing

play04:58

smart contract and that is usually

play04:59

referred to as composability so they

play05:01

give an example when you have a let's

play05:03

say a decentralized exchange where you

play05:05

can

play05:06

swap token a for token b when that is

play05:09

already in existence and you create a

play05:11

new financial protocol that

play05:13

may have a need to to change assets

play05:17

as part of its own protocol as part of

play05:19

its own contract execution this new

play05:22

protocol these new smart contract can

play05:25

rely on a decentralized exchange that is

play05:27

already existing

play05:28

to conduct these swaps and that's

play05:30

something that allows of course for a

play05:33

huge amount of financial innovation

play05:35

that really allows you to interact with

play05:37

other smart contracts and have this

play05:39

composability where whenever there is

play05:42

already a building block in place it can

play05:44

be reused by everyone else by every

play05:46

other smart contract and that's

play05:48

probably one of the main reasons why we

play05:51

see this massive speed of innovation in

play05:53

the d5 space

play05:55

and then last but not least

play05:57

non-custodial and that's super important

play05:59

and for many applications in traditional

play06:01

finance you have custodians

play06:03

so they essentially have a financial

play06:04

intermediary you have to trust

play06:07

basically you give you give that

play06:09

custodian your assets in custody they

play06:12

are holding on to it

play06:14

and the only thing you can do is ask

play06:17

whether they will release it back to you

play06:18

whether they will send it back to you

play06:20

but you're not in control anymore and

play06:21

with d5 that's different with d5 again

play06:24

depending on the implementation at least

play06:26

in theory it can be coded in a way such

play06:30

that you will never lose

play06:32

exclusive access rights to your assets

play06:35

until the very last second when it's

play06:36

executed and then as you will see later

play06:39

on there is a concept called atomic

play06:41

settlement atomic transactions so the

play06:43

atomicity that also ensures that you

play06:46

don't have any counterparty risk when it

play06:47

actually is executed the long story

play06:50

short the non-custodial requirement

play06:52

means that you don't have to trust any

play06:54

institutions

play06:55

yes you have to cross the code in the

play06:57

sense of course you can look at it but

play06:59

you have to

play07:01

you have to check it for yourself and

play07:03

you actually want to know what it's

play07:04

doing

play07:05

and yes of course you have to trust the

play07:06

math

play07:08

again something you can check if you

play07:09

really want to but you do not have to

play07:12

trust anything you cannot verify

play07:14

yourself you do not have to trust for

play07:16

example an institution that they are not

play07:19

running with your money that they are

play07:20

not messing up

play07:21

everything you have to trust can be

play07:24

verified

play07:26

by you by yourself so you basically can

play07:28

check the conditions you can make sure

play07:30

that all of these conditions hold and

play07:32

that's something that's super exciting

play07:34

the information is there

play07:35

and then you can verify it yourself

play07:38

and these are these four

play07:40

for keywords these are the four most

play07:42

important aspects to d5

play07:44

this is what is different to a

play07:46

traditional financial system because in

play07:47

traditional financial systems in many

play07:50

cases it's neither open

play07:53

so

play07:54

the open part right here

play07:57

isn't really existing i mean there are

play07:58

so many access restrictions it's also

play08:00

not really transparent

play08:02

in many cases it's really these silos

play08:04

where you don't have access to the

play08:05

information you don't know exactly

play08:07

what's going to happen you cannot verify

play08:09

it in many cases it's not composable

play08:12

because

play08:12

these financial intermediaries they

play08:14

either use their own core banking

play08:16

systems or have a different

play08:18

interpretation of many of the parameters

play08:20

in there there is little to no exchange

play08:23

between these core banking systems and

play08:25

it's just it's just in many cases a mess

play08:28

and uh also in traditional finance it's

play08:30

custodial uh most of the applications in

play08:34

traditional finance rely on the fact

play08:36

that you give your assets away in

play08:38

constantly with to someone else and in

play08:40

many cases you don't even have another

play08:42

option so for for many of the assets

play08:44

that exist um in traditional financial

play08:47

markets you will

play08:49

in some cases not even have the option

play08:51

to hold on to them yourself whereas in

play08:54

d5

play08:55

it's it's non-custodial meaning that you

play08:57

can always if you choose to do so you

play09:00

can always

play09:01

assume self-custody and you don't have

play09:03

to

play09:05

trust anyone

play09:06

else now what is it not that's also

play09:09

super important to understand because

play09:11

especially when you read articles in

play09:14

many mainstream media channels but also

play09:18

from some people who call themselves

play09:20

experts on the topics and d5 has

play09:22

absolutely nothing to do with number one

play09:26

cbdc programmable euro programmable

play09:29

swiss franc programming usd

play09:32

it's something completely different i

play09:33

mean cbdc can be interesting but they're

play09:36

certainly not decentralized they're not

play09:38

immutable it's essentially just digital

play09:40

money that is issued by a by a central

play09:42

bank

play09:44

on a new infrastructure but it has

play09:45

nothing to do with this decentralized

play09:48

transparent way of creating financial

play09:52

markets

play09:53

it's usually on a permissioned ledger

play09:55

and not on a public ledger and of course

play09:58

you have many access restrictions there

play10:02

as well so it's something completely

play10:04

different that can be interesting but

play10:06

it's not defined

play10:07

and then of course when you're running

play10:10

d5 in

play10:11

air quotes

play10:13

uh protocols on your own in-house

play10:15

blockchain

play10:16

so for example when there is a

play10:18

financial intermediary and there they

play10:20

are running some test case and they're

play10:22

saying yes we also have our d5

play10:23

applications it's on our own uh test

play10:26

network we're running in-house then this

play10:28

is also hardly defined i mean when you

play10:30

have your own test network and you have

play10:32

your blockchain that's that is under the

play10:34

exclusive control of just one entity

play10:36

then

play10:37

it's the settlement layer is already

play10:40

heavily centralized and then of course

play10:41

anything you do on top of that doesn't

play10:43

really matter anymore so you can hardly

play10:44

call that

play10:45

d5 and then last but not least of course

play10:48

the same counts for heavily centralized

play10:50

settlement chains

play10:52

and this is something that can be also

play10:55

in the domain of the cbdc or so the

play10:57

in-house blockchain

play10:59

but there are many consortiums around

play11:01

the world where some of these financial

play11:04

intermediaries they work together and

play11:06

they create their own permissioned

play11:07

lectures

play11:09

mostly for settlement mostly for the

play11:11

issuance of

play11:12

various assets

play11:14

bonds for example but that's also not d5

play11:17

i mean again we have the access

play11:19

restrictions again it's not completely

play11:21

transparent in the sense that just

play11:23

anyone can can check whether it match

play11:25

matter and it actually works out the way

play11:28

it is supposed

play11:29

uh to work

play11:30

it's just

play11:31

there are all kinds of privileges on

play11:34

there and essentially it's just a

play11:35

regular database

play11:36

that gets recreated d5 is different d5

play11:41

is based on public blockchains d5 is

play11:44

non-custodial it's open it's transparent

play11:46

and these are really the things you have

play11:48

to look for and that's what define that

play11:51

is for d5

play11:53

that is what makes it special at the end

play11:55

of the day

play11:56

and

play11:57

there is a place of course for all of

play11:59

these projects but they shouldn't be

play12:00

referred to sd5

play12:02

now let's look at the d5 stack this is

play12:05

also part of the paper

play12:07

i've published

play12:08

a while ago in the federal reserve bank

play12:11

of st louis review and they have

play12:13

proposed

play12:15

basically a framework a model

play12:17

of how you can think of about d5 of the

play12:21

various layers that exist within the d5

play12:23

ecosystem and this is also super helpful

play12:26

to structure the class and to

play12:29

think of the different topics we look at

play12:30

in this class so i mean we started with

play12:33

the settlement layer right here and

play12:37

we've looked at of course the ethereum

play12:39

blockchain

play12:41

looked at the basic building blocks make

play12:43

sure you understand how the blockchain

play12:44

works we have also looked at the native

play12:46

protocol assets so ether things like gas

play12:49

fees and so on and the next thing he

play12:52

will do after this introduction is turn

play12:53

to the acid layer on the acid layer of

play12:56

course you could argue that native

play12:57

protocol acid so e4 is also part of the

play13:00

acid layer what we will do in these

play13:02

videos is we will look at tokenization

play13:05

so you look at standards like erc20 or

play13:08

erc721 so standards for fungible tokens

play13:11

and non-fungible tokens

play13:13

to give you a quick primer fungible

play13:15

token is something where it doesn't

play13:18

really matter which specific token from

play13:20

a class you have so when you have for

play13:23

example i don't know a stable coin let's

play13:25

go with that when you say it's a us

play13:28

dollar packed stable coin

play13:31

then it doesn't really matter whether

play13:32

you have

play13:33

this specific

play13:35

one of this class of us dollars packed

play13:38

stable coins or another one

play13:40

um

play13:41

it's essentially the same whereas with

play13:43

non-fungible tokens we are really

play13:46

talking about something that's unique so

play13:48

it could represent let's say a

play13:50

painting or just something that really

play13:52

only exists once and therefore it has a

play13:54

unique identifier and therefore every

play13:56

single token is different that's the

play13:58

difference between these fungible and

play14:00

non-fungible tokens and you have

play14:01

standards for both of them and that's

play14:03

something you look at at the asset layer

play14:06

then we will go to the protocol layer

play14:08

with the protocol layer

play14:10

you really recreate these different

play14:13

financial protocols these different

play14:15

financial services so for example you

play14:16

would look at decentralized exchanges we

play14:19

look at lending markets you will look at

play14:21

derivatives synthetics

play14:23

and we will also look at asset

play14:25

management

play14:27

as some examples so these are just some

play14:29

categories and what's important and this

play14:31

is also true for the asset layers that

play14:33

everything you're seeing here so be it

play14:35

these different tokens uh the ec20 or

play14:38

c721 but also all of these protocols

play14:42

everything is built on smart contracts

play14:44

everything is in fact one or more smart

play14:47

contracts

play14:48

and we will also look at some of these

play14:51

examples how these things are

play14:53

implemented and then on top of that you

play14:55

have two things uh i referred to as the

play14:57

application and the aggregation layer so

play15:01

the protocols themselves such as the

play15:03

smart contracts and then on top of that

play15:06

you have

play15:08

basically an application that makes use

play15:10

of these smart contracts there is a

play15:12

gateway to the smart contract so you can

play15:14

think of it a little bit as a front end

play15:17

that makes makes the access to these

play15:19

smart contracts much easier so a web

play15:21

three based front end and with every

play15:23

aggregation layers you have can think of

play15:26

it a little bit like an an online

play15:28

banking platform where some service

play15:30

provider they aggregate these various

play15:33

smart contracts they make make a they

play15:35

build a nice front end that is easy for

play15:37

people to interact with

play15:40

make sure that in one nice dashboard you

play15:42

have all the information you need and

play15:44

you get access to these different kind

play15:47

of smart contracts usually in a much

play15:49

more

play15:50

user-friendly and more convenient user

play15:52

interface that's the basic idea

play15:55

so why define what are some of the

play15:57

advantages of course there are many

play15:59

advantages

play16:00

but some of the things i want to

play16:02

specifically mention at this point was

play16:04

number one in the traditional financial

play16:07

services

play16:09

world what you're doing is you have to

play16:11

completely

play16:12

trust these financial intermediaries

play16:15

it's a trust-based execution whatever

play16:17

you do

play16:18

you usually

play16:19

already have the assets with a custodian

play16:21

but then also when you for example give

play16:23

an aldo to do something

play16:25

then you have to trust that these

play16:26

financial intermediaries are actually

play16:29

doing what you're asking from them but

play16:31

you you cannot i mean you cannot verify

play16:34

anything yourself you just have to trust

play16:36

that they did it you have to trust and

play16:38

that they that they're actually doing

play16:40

that on on your behalf and that they're

play16:42

not

play16:43

cheating and

play16:45

that of course has several implications

play16:47

and

play16:48

number one is that there are all kinds

play16:50

of audits all kinds of regulations all

play16:52

kinds of inefficiencies because somebody

play16:55

has to take care somebody has to

play16:57

actually verify uh whether you can trust

play17:00

these people you cannot do that but

play17:02

there are some certain regulators that

play17:04

will do that and there are certain

play17:05

requirements and that just makes the

play17:07

process in many cases cumbersome and

play17:09

also you could argue inefficient

play17:12

now again in theory

play17:14

um you have deterministic execution with

play17:17

uh smart contracts and of course when

play17:20

you

play17:21

do a sloppy job and implementing them

play17:22

then there can be some errors of course

play17:24

when there are all kinds of dependencies

play17:26

that are implemented

play17:28

then it can also be cross-based

play17:31

based but there is a way for smart

play17:34

contract based financial protocols to be

play17:38

completely deterministic so that you

play17:39

know exactly what's supposed to happen

play17:41

that you can verify everything and that

play17:43

is extremely exciting so at the end of

play17:45

the day we're really talking about basic

play17:46

instructions basic instructions that are

play17:48

coded in the form of smart contracts and

play17:51

you can verify everything that happens

play17:53

for yourself

play17:54

the second

play17:56

in traditional financial markets

play17:59

most of the infrastructures built on

play18:02

really complicated clearing and

play18:04

settlement systems where you have some

play18:06

financial intermediaries in between that

play18:08

take care of clearing that take care of

play18:10

settlement

play18:11

of course they will not do that for free

play18:13

because it's a service they provide and

play18:15

they also have a

play18:17

place in the system because in many

play18:18

cases in traditional finance nobody

play18:21

wants to make the first step so let me

play18:22

give you an example let's say you have

play18:24

alice on the left side you have bob on

play18:26

the right side

play18:28

and they want to exchange

play18:30

some assets okay so we have alice has

play18:32

the a asset and bob has to be asset they

play18:35

want to exchange it

play18:36

and in a traditional financial

play18:39

services world what they would do is

play18:41

they would go to a financial

play18:42

intermediary both of them would deposit

play18:44

their assets with that financial

play18:46

intermediary or already have it there

play18:49

and

play18:50

then it gets exchanged eventually

play18:53

the financial intermediary in between

play18:55

would also take care of course of

play18:57

clearing they would say everything is

play18:58

fine it would take care of settlement

play19:00

and this is of course somewhat

play19:01

cumbersome this is of course really

play19:03

expensive now what you can do with

play19:05

blockchain based solutions and that's

play19:07

one of the main advantages of these

play19:09

blockchain based financial protocols is

play19:11

you can make use of atomicity of

play19:14

transaction atomicity so you have this

play19:16

principle of atomic settlement

play19:19

where you

play19:20

have certain conditions that will only

play19:23

ever get executed together so in this

play19:25

case in in my example you could say okay

play19:28

you make sure that

play19:30

token a from alice to bob and token b

play19:32

from bob where to alice

play19:35

essentially becomes one transaction of

play19:36

course it's two steps

play19:38

of course it's two individual steps that

play19:41

are part of the same transaction but we

play19:42

make sure by creating an atomic

play19:44

transaction that these two steps cannot

play19:47

be separated so you know exactly that

play19:51

token a from alice to bob and token b

play19:54

from bob to alice can only ever be

play19:56

transacted together as one

play19:59

and that of course eliminates a lot of

play20:00

the counterparty risk with this trade

play20:04

and is something that's extremely

play20:05

exciting and innovative in the finance

play20:07

space and there are many of these

play20:08

examples that build on this atomicity

play20:11

principle and that we will also look at

play20:13

later on and that's a big advantage

play20:16

and then the third one is in traditional

play20:18

finance you see all kinds of silo

play20:20

services

play20:21

so there isn't really

play20:23

any way of sharing

play20:25

information efficiently there isn't

play20:27

really any way of

play20:30

interacting with different core banking

play20:32

systems efficiently there has been a

play20:34

concept that has been discussed for a

play20:36

long time it's called open banking or

play20:38

open finance where people are are

play20:41

advocating for these open interfaces

play20:44

and in some jurisdictions this has

play20:46

already happened to some extent

play20:48

unfortunately it's still a pain and when

play20:52

you look at the infrastructure and the

play20:54

the basically the legacy infrastructure

play20:56

that already exists in finance and then

play20:58

this is really no surprise it's it's

play21:01

really cumbersome it's hard to change

play21:03

anything in many cases you cannot really

play21:06

change anything because nobody knows

play21:07

exactly what would break what would

play21:09

happen when you do change it

play21:11

and

play21:12

of course on the complete opposite you

play21:14

have d5 with this programmatic

play21:16

composability that everything by default

play21:19

happens on the public blockchain where

play21:21

everything by default is open and

play21:23

transparent and there everything by

play21:25

default is completely composable so you

play21:27

can basically have the sequence of

play21:29

various smart contracts that interact

play21:31

with each other and everyone can just

play21:34

make use of anything that has already

play21:35

been out there okay so whenever there's

play21:37

anything deployed you can just reuse it

play21:39

and that is extremely exciting

play21:41

so these are just a few of the

play21:43

advantages

play21:45

again

play21:46

we will

play21:47

tackle the various topics

play21:50

that i've shown on the device deck in

play21:52

the next few lectures

play21:54

but that's it with the first ov on d5

play21:57

now

play21:58

as a as a primer i recommend that you're

play22:00

reading the paper i've teased

play22:02

various times um it's called

play22:05

decentralized finance and blockchain and

play22:06

smart contract based financial markets

play22:09

you can find it online

play22:11

and it will help you

play22:13

to understand the things that are to

play22:15

come when we tackle more specific topics

play22:18

in the next few videos with that

play22:21

stay curious see you soon

Rate This

5.0 / 5 (0 votes)

Связанные теги
DeFiBlockchainSmart ContractsFinancial ProtocolsDecentralizationEthereumAtomic TransactionsDigital CurrencyOpen FinanceComposability
Вам нужно краткое изложение на английском?