Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Go to Cyfrin Updraft updraft.cyfrin.io/ for the full courseCyfrin Updraft course updraft.cyfrin.io/courses/curve-v1Code github.com/Cyfrin/advanced-defi-2024Updraft X x.com/CyfrinUpdraftUpdraft Discord discord.com/invite/cyfrin0:00:00 Sponsor0:00:12 Intro0:02:12 Code repository0:03:28 Setup0:04:28 How to run exercises and solutions0:08:09 Curve V1 intro0:10:05 Comparison with other AMMs0:13:57 Graph of Curve V1 AMM0:20:33 Graph of dynamic leverage0:23:31 Math0:27:54 Newton's method0:32:39 Newton's method Python example0:44:26 Python sympy0:45:24 Contract overview0:48:43 Contract functions0:49:47 A and D0:54:36 Code walkthrough A1:00:26 Code walkthrough xp1:04:10 Code walkthrough get_D1:08:13 Code walkthrough get_virtual_price1:09:31 Code walkthrough calc_token_amount1:11:50 Contract call exchange1:12:21 Code outline exchange1:13:59 Code walkthrough exchange1:21:38 Code walkthrough get_y1:24:51 Code walkthrough get_dy1:28:11 Exercise 1 get_dy_underlying1:28:52 Solution 1 get_dy_underlying1:30:53 Exercise 2 exchange1:31:43 Solution 2 exchange1:33:31 Contract call add_liquidity1:34:50 Code outline add_liquidity1:37:33 Imbalance fee1:43:12 Code walkthrough add_liquidity1:50:13 Exercise 3 add_liquidity1:51:04 Solution 3 add_liquidity1:53:05 Contract call remove_liquidity1:53:49 Code outline remove_liquidity1:54:06 Contract call remove_liquidity_one_coin1:55:04 Code outline remove_liquidity_one_coin1:56:00 Code walkthrough remove_liquidity1:57:59 Graph calc_withdraw_one_coin2:02:09 Code walkthrough remove_liquidity_one_coin2:03:59 Code walkthrough calc_withdraw_one_coin2:09:57 Exercise 4 remove_liquidity2:11:26 Solution 4 remove_liquidity2:14:10 Exercise 5 remove_liquiqidity_one_coin2:15:10 Solution 5 remove_liquidity_one_coin
Great! Thanks! 🎉🎉
Xoow great video for developer and increase knowledge DeFI app. 🙏🎁💛
1:04:01 What is the function we used to find the value D by Newton's method?Can you explain this part?
get_Dit's explained starting at 1:04:10
Cyfrin⚡
🎉🎉🎉
Go to Cyfrin Updraft updraft.cyfrin.io/ for the full course
Cyfrin Updraft course updraft.cyfrin.io/courses/curve-v1
Code github.com/Cyfrin/advanced-defi-2024
Updraft X x.com/CyfrinUpdraft
Updraft Discord discord.com/invite/cyfrin
0:00:00 Sponsor
0:00:12 Intro
0:02:12 Code repository
0:03:28 Setup
0:04:28 How to run exercises and solutions
0:08:09 Curve V1 intro
0:10:05 Comparison with other AMMs
0:13:57 Graph of Curve V1 AMM
0:20:33 Graph of dynamic leverage
0:23:31 Math
0:27:54 Newton's method
0:32:39 Newton's method Python example
0:44:26 Python sympy
0:45:24 Contract overview
0:48:43 Contract functions
0:49:47 A and D
0:54:36 Code walkthrough A
1:00:26 Code walkthrough xp
1:04:10 Code walkthrough get_D
1:08:13 Code walkthrough get_virtual_price
1:09:31 Code walkthrough calc_token_amount
1:11:50 Contract call exchange
1:12:21 Code outline exchange
1:13:59 Code walkthrough exchange
1:21:38 Code walkthrough get_y
1:24:51 Code walkthrough get_dy
1:28:11 Exercise 1 get_dy_underlying
1:28:52 Solution 1 get_dy_underlying
1:30:53 Exercise 2 exchange
1:31:43 Solution 2 exchange
1:33:31 Contract call add_liquidity
1:34:50 Code outline add_liquidity
1:37:33 Imbalance fee
1:43:12 Code walkthrough add_liquidity
1:50:13 Exercise 3 add_liquidity
1:51:04 Solution 3 add_liquidity
1:53:05 Contract call remove_liquidity
1:53:49 Code outline remove_liquidity
1:54:06 Contract call remove_liquidity_one_coin
1:55:04 Code outline remove_liquidity_one_coin
1:56:00 Code walkthrough remove_liquidity
1:57:59 Graph calc_withdraw_one_coin
2:02:09 Code walkthrough remove_liquidity_one_coin
2:03:59 Code walkthrough calc_withdraw_one_coin
2:09:57 Exercise 4 remove_liquidity
2:11:26 Solution 4 remove_liquidity
2:14:10 Exercise 5 remove_liquiqidity_one_coin
2:15:10 Solution 5 remove_liquidity_one_coin
Great! Thanks! 🎉🎉
Xoow great video for developer and increase knowledge DeFI app. 🙏🎁💛
1:04:01 What is the function we used to find the value D by Newton's method?
Can you explain this part?
get_D
it's explained starting at 1:04:10
Cyfrin⚡
🎉🎉🎉