Curve - How to Add and Remove Liquidity | DeFi
Smart Contract Programmer
This video explains how to code a Vyper smart contract to deposit stable coins into Curve, remove stable coins for liquidity pool tokens and calculate how much stable coins are each LP shares worth.
Add / remove liquidity with Curve user interface 0:21 Code add liquidity 2:52 Get LP shares 5:42 Remove liquidity 6:02 Calculate value of shares 7:01 Test 9:23 Run mainnet fork 10:03
https://github.com/t4sk/defi-by-example
#DeFi #Curve #SmartContract #Ethereum #Vyper #スマートコントラクト
References
Curve https://curve.fi/
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart Join me on Discord: https://discord.gg/Ny8sPaj Website: https://smartcontractprogrammer.com ... https://www.youtube.com/watch?v=uYvgwdhN_Ys
2022-04-11
0.0 LBC
Copyrighted (contact publisher)
23694062 Bytes