Thanks for sharing such valuable information! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). What's the best way to send them to Binance?
@ProMusic-forlistening4 күн бұрын
Thanks a Lot! God Bless!
@smartcontractprogrammer4 күн бұрын
Playlist kzbin.info/aero/PLO5VPQH6OWdW9b6GKJR4Dt9XZxQlJuVp_ 0:00 Intro 1:02 Interfaces 3:00 Dog 3:26 Ilk 4:22 State variables Hole and Dirt 6:30 constructor 7:00 file 7:08 chop 7:24 bark 18:21 digs 18:58 Fix compilation errors Code github.com/t4sk/bei-stable-coin Take course www.smartcontract.engineer/
@g2zappergaming5 күн бұрын
Thanks so much for this tutorial videos. You are the best 💯. A quick question, Technically is it possible to use vyper to develop aave flashloan smart contracts?
@smartcontractprogrammer4 күн бұрын
Yes it's possible. Be aware that Vyper's handling of dynamic data is awkward. So if the flash loan returns an arbitrary data in bytes, it's easier to write the contract in Solidity
@LongGamma-w8q5 күн бұрын
Amaizing putting so much work into this videos! I am referancing them over and over again! Thanks for creating them :)
@BryinWillis-e8g6 күн бұрын
Cont/: > Highlight - function 1. Math 2. No error’s Rule Subtract TM Solidity Tech
@darko13326 күн бұрын
What digital whiteboard app is that?
@smartcontractprogrammer4 күн бұрын
excalidraw.com/
@simondicola7 күн бұрын
For me, to get the account from console, had to use `account=await ethereum.request({method:"eth_requestAccounts", params:[]})`. Hope this helps someone else.
@salazarsilva284010 күн бұрын
How could an MEV bot be created with this template since very little would be earned from extreme swaps?
@smartcontractprogrammer8 күн бұрын
You shouldn't. This is a toy example.
@salazarsilva28405 күн бұрын
@ thx bro ♥️
@codeWithBala10 күн бұрын
1:04:01 What is the function we used to find the value D by Newton's method? Can you explain this part?
@smartcontractprogrammer8 күн бұрын
get_D it's explained starting at 1:04:10
@qingshanliu-tk7rt11 күн бұрын
Hello, why do tokenA and tokenB need to be transferred twice? The first transfer is from user account to TestUniswapLiquilidity contract. Then from the TestUniswapLiquilidity contract to the pair contract in uniswap's addLiquilidity method
@smartcontractprogrammer8 күн бұрын
Did you mean "UniswapV2LiquidityTest"?
@qingshanliu-tk7rt8 күн бұрын
@@smartcontractprogrammer yes,UniswapV2LiquidityTest is the first ,then i found the second in the uniswap's addLiquilidity method again
@tahamasood258414 күн бұрын
a full course on Compound v2 and synthetix much needed !!
@smartcontractprogrammer15 күн бұрын
Playlist kzbin.info/aero/PLO5VPQH6OWdW9b6GKJR4Dt9XZxQlJuVp_ Code github.com/t4sk/bei-stable-coin Take course www.smartcontract.engineer/
@craterface_eth16 күн бұрын
Great! Thanks! 🎉🎉
@Android-1717 күн бұрын
Cyfrin⚡
@dtory17 күн бұрын
Hey @smartcontractprogrammer Can you create a video about bonding curve ( pump fun )
@smartcontractprogrammer16 күн бұрын
like token supply is determined by an equation?
@dtory16 күн бұрын
@smartcontractprogrammer yes. How the bonding curve is being calculated ( price ) ✌️
@Cryptopunkstar18 күн бұрын
Xoow great video for developer and increase knowledge DeFI app. 🙏🎁💛
@amiralisalari686318 күн бұрын
Thanks a lot❤
@jatiquep554318 күн бұрын
🎉🎉🎉
@maissal550720 күн бұрын
what does mean _paused ?? or _x ,, underscore
@smartcontractprogrammer19 күн бұрын
naming convention for variables to avoid name conflict with state and local variables
@liviamarias.f270020 күн бұрын
someone know how to stop the searching? it really annoys me and i have know idea how to stop it
@pranavlakkadi242821 күн бұрын
Hey i have a question, why didnt you revert when the callback failed during transfer??
@smartcontractprogrammer19 күн бұрын
it does. it's wrapped in a require
@thalesbarbosa853522 күн бұрын
cool, but what is dp?
@smartcontractprogrammer19 күн бұрын
delta price
@smartcontractprogrammer22 күн бұрын
Playlist kzbin.info/aero/PLO5VPQH6OWdW9b6GKJR4Dt9XZxQlJuVp_ 0:00 Intro 1:02 suck 1:32 sin 2:32 vice 3:14 heal Code github.com/t4sk/bei-stable-coin Take course www.smartcontract.engineer/
@chanchalpathak163023 күн бұрын
Nice
@smartcontractprogrammer24 күн бұрын
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
@WallenZhao25 күн бұрын
seems like, named the second input parameter of frob to cdpUser better. The name cdp misunderstanding
@sixmode345125 күн бұрын
I just wanted to comment here for two reasons: 1) Thanks you for making this SCP, you are a godsend! 2) This is to other viewers: if you are going through Cyfrin Updraft and feel Pat ramps up the Foundry content a little too quickly, go through this playlist. SCP does Foundry so well. I have gone through the whole playlist and came back to the first video to leave this for anyone in the same boat as me. This guy will get you through Foundry! I personally will be continuing on with SCP content exclusively. Very thankful for the folks at Cyfrin but it just doesn't click like SCP's content for me. Thanks!
@dxFareedi24 күн бұрын
this is the same reason why i'm here also! thanks ;)
@redditrecap726 күн бұрын
Hi, can you please make videos on Quicknode functions, streams and marketplace add ons. And can you even build an end to end project in one of your videos...
@smartcontractprogrammer25 күн бұрын
Thanks for the idea. But I got a list of topics I want to make
@redditrecap725 күн бұрын
@@smartcontractprogrammer anyway are you interested in taking part in a hackathon with me? I am talking about quicknode build on hackathon, you already know me I think I am Rishabh Singhvi, i changed my account's name, I have built the project somewhat, it's a milestone based crowdfunding dapp, you get refund if milestone is not completed.
@redditrecap720 күн бұрын
@@smartcontractprogrammer yeah if your list ends then do think of atleast making an end to end project video. Thanks.
Love your tutorials. Is it me or do you always say b instead of v ? I can almost swear I hear "Bariable, Ebent" 😅
@smartcontractprogrammer28 күн бұрын
Yes, my pronunciation is not great :)
@ikkenzo3948Ай бұрын
does oppenzepline work with optimism?
@smartcontractprogrammer28 күн бұрын
Not sure
@tyranzeroАй бұрын
Really intuitive thanks alot! Learned the conversions out of the head but this clarifies alot <3
@Arjun147gtkАй бұрын
I found this course hard to comprehend after theoretical part, it looked more like a code walkthrough. I wanted to see how things are setup initially.
@Munchen888Ай бұрын
hi guys! Could you explain me how to count in method addLiquidityETH amountTokenMin and amoutETHMin?
@smartcontractprogrammer28 күн бұрын
It's explained here github.com/Uniswap/v2-periphery/blob/0335e8f7e1bd1e8d8329fd300aea2ef2f36dd19f/contracts/UniswapV2Router02.sol#L33-L60 Basically, tokens must be added in proportion to the current token ratios of the pool
Is there any op stack contract support for l2 to l2 messaging please make video if any
@smartcontractprogrammerАй бұрын
I am not aware of any
@sweetjimmyАй бұрын
3:04 it's not RAD. it's RAY
@patitilindaАй бұрын
Your explanation of NFTs was so helpful; I’m excited to learn more.
@WebitectАй бұрын
When building a fullstack web3 dapp, what do I use for an off chain data store? I was thinking of just building a rest API to handle data that doesn't need to be stored on chain but I'm wondering if there is a better way?
@smartcontractprogrammerАй бұрын
database if centralization is not an issue
@smartcontractprogrammerАй бұрын
Playlist kzbin.info/aero/PLO5VPQH6OWdW9b6GKJR4Dt9XZxQlJuVp_ Code github.com/t4sk/bei-stable-coin Take course www.smartcontract.engineer/
@simondicolaАй бұрын
this works in remix // SPDX-License-Identifier: MIT pragma solidity ^0.8; contract GuessTheRandomNumber { constructor() payable {} function guess(uint256 _guess) public { uint256 answer = uint256( keccak256( abi.encodePacked(blockhash(block.number - 1), block.timestamp) ) ); if (_guess == answer) { (bool stat, ) = msg.sender.call{value: 1 ether, gas: 30000}(""); require(stat, "Cannot send you your your prize"); } } } contract Attacker { function getAnswer(GuessTheRandomNumber _guessContract) external { _guessContract.guess( uint256( keccak256( abi.encodePacked( blockhash(block.number - 1), block.timestamp ) ) ) ); } receive() external payable { } }
@simondicolaАй бұрын
This works as well without having an extra state variable in Attack contract: ``` // SPDX-License-Identifier: MIT pragma solidity ^0.8; contract Lib { uint256 public someNumber; function doSomething(uint256 _number) external { someNumber = _number; } } contract HackMe { address public lib; address public owner; uint256 public someNumber; constructor(address _lib) { lib = _lib; owner = msg.sender; } function doSomething(uint256 _num) public{ lib.delegatecall(abi.encodeWithSignature("doSomething(uint256)", _num)); } } contract Attack { address public lib; address public owner; uint256 public someNumber; function doSomething(uint256 _number) external { owner = msg.sender; } } ```
@sweetjimmyАй бұрын
the videos in the DAI playlist are not in order. please fix it 🙏
@JenniferBrown-n3rАй бұрын
Walker Timothy Thompson Brian Lewis Ruth
@eckasasАй бұрын
learning Morse code is easier than this sh!t. no offence.
@itsmemymeАй бұрын
The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. You may want to cautiously increase the gas limit if the transaction went out of gas.
@smartcontractprogrammerАй бұрын
Playlist kzbin.info/aero/PLO5VPQH6OWdW9b6GKJR4Dt9XZxQlJuVp_ 0:00 Intro 1:26 Interfaces 2:43 Auth 3:21 Ilk 4:40 par 4:55 live 5:27 constructor 6:06 Math functions 6:33 file 8:24 cage 8:49 poke 12:30 Example of spot and mat 13:56 Fix compilation errors Code github.com/t4sk/bei-stable-coin Take course www.smartcontract.engineer/