Appreciate the detailed breakdown! Just a quick off-topic question: 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?
@dhrwilliams862421 күн бұрын
But this would not work for uniswap trades
@SinisterBabaYaga26 күн бұрын
I want to know one thing like if someone coded a bot for coinflip Some of the code ```diff - const result = Math.random() < 0.5 ? 'heads' : 'tails'; + const result = randomInt(2) === 0 ? 'heads' : 'tails'; ``` Is it possible to guess outcome?
@ismailmoazami7586Ай бұрын
what if when afterSwap happens, there is no gas left? this is very possible scenario
@CharlottBarriaultАй бұрын
Thank you so much for your hard work! 😊 I have a quick question: 🤷♂️ I only have these words 🤔. (behave today finger ski upon boy assault summer exhaust beauty stereo over). How do I use this? 🤨
@varunsharma77063 ай бұрын
can we simplify it further by calculating actual prices of tokens (instead of ticks) from sqrtPriceRatio and implementing it through afterSwap function whenever the price matches we execute the order?
@CCGamingOps3 ай бұрын
Would you be willing to help on a smart contract stuck or call as soon as i hit Start
@LearnWeb3IO3 ай бұрын
Hey mate. Definitely! Make sure you join our discord server full of developers that will help you ✨
@CCGamingOps3 ай бұрын
@@LearnWeb3IO I can do that sir. Doing it now, i don't want my name or address on this faulty contract i think its faulty.
@CCGamingOps3 ай бұрын
@@LearnWeb3IO actually looks like the disabled my account. Do you have telegram?
@@LearnWeb3IO also does internal transfers mean it was transferred to one my wallets or someone elses.
@0xleanlp3 ай бұрын
crack
@dash2DollasFCMG3 ай бұрын
Your worthless this whole video is worthless your a idiot
@vardgesmovsesyan39673 ай бұрын
This bro can chill smoke drink and explain blockchain development basics
@ayushsinghteotia72404 ай бұрын
voice is not proper, very difficult to understand.
@deepakagashe31954 ай бұрын
I only completed the first 15 mins, but this man's teaching skill has forced me to comment. He is one of the best teacher I have encountered in my life. His pace of teaching is so damn perfect also he is giving accurate amount of examples to explain, which does not makes it boring. And the perfection in his typing and explaining with proper quotes, use of spaces is really good!!! Would like to learn as much as I can from you! Best wishes!
@LearnWeb3IO4 ай бұрын
Thank you for your kind words!
@tamasbeszteri74415 ай бұрын
Subquery is a sleeping Giant, they achieved huge things, and still there is no hype around it...
@guyzilberblum5 ай бұрын
amazing kinda feel bad that i could not find it myself
@LearnWeb3IO3 ай бұрын
Don't be! We're in this to learn and improve. The next time you face this issue, you'll be ready!
@guyzi5 ай бұрын
So can you help me?
@LearnWeb3IO5 ай бұрын
Hey 👋 What do you need help with?
@guyzilberblum5 ай бұрын
@@LearnWeb3IO like explain how are you thinking when trying to find the vulnerabilities whats goes in your head i suppose
@guyzilberblum5 ай бұрын
@LearnWeb3IO ?
@guyzilberblum5 ай бұрын
@@LearnWeb3IO like explain how are you thinking when trying to find the vulnerabilities whats goes in your head i suppose
@guyzilberblum5 ай бұрын
its seems to me that i strugle to think right you can say when looking at the code and you explain how you think and what you think when looking at the code both intuitive and with deep thinking thanks in advance by the way love your contant
@bouchiriliass58195 ай бұрын
There's a problem I think @4:45. The modifier modified transfer() function. All function using the transfer function, including the ones inherited from ERC20 will now use the modified transfer function. Transferfrom() is one of those function that use transfer() inside, so the modifier is also applied indirectly to transferfrom(). The reason it still works is simply because when using transferfrom(), we call the token contract from Another contract (the contract you just deployed), so the condition of msg.sender==player evaluates to false hence not applying the modifier.
@NekaiXD5 ай бұрын
Brother miners not minors
@LearnWeb3IO5 ай бұрын
Oops! That took a dark turn. Thanks for letting us know.
@zubairumusa98485 ай бұрын
Did proof of state solves this too ?
@esudario5 ай бұрын
basically
@BitcoinAndCryptoCurrency6 ай бұрын
it was great to start learning crypto
@creativeprop2106 ай бұрын
This blew my mind. What a great way to get some startup capital. I have no technical background experience. What’s the path to mastering this tool?
@Muhammadijaz-pt4td6 ай бұрын
Thank you soo much, you make it more easy 🥰
@rkm882166 ай бұрын
Is it possible to add try-catch to the get random vrf part? How? Thanks in advance
@GihanSiriwardhana-un4eo6 ай бұрын
This is Outdated now
@LearnWeb3IO6 ай бұрын
Hi, yes, with version 4 live, this video, using version 2 released 2 years back should be outdated. Make sure you keep your eye out for the updated version soon! You can always follow the documentation on the official site to get started.
@jackgikandi58757 ай бұрын
Simply awesome, thanks..
@Gihankanishkaonline7 ай бұрын
in the latest version of openzeppelin should we use _update for implementing tax or making other changes to transfers?
@jackgikandi58757 ай бұрын
Simplified and comprehensive explanation.. Thanks alot
@LearnWeb3IO7 ай бұрын
Glad it was helpful!
@viktoryordanov037 ай бұрын
Bro, I want to say - Thank you. You help me a lot I mean A LOT! You make really good and detailed explanations, you give additional info like for those slots and because of this it’s brutal interesting I swear. I want to study most of the things from you. My english is not that good but your explanations are enough good to understand them without any thinking! Please upload as much as u can, u help a lot as i said!
@LearnWeb3IO7 ай бұрын
Thank you for your kind words! It really means a lot to us. We will definitely release more videos moving forward. Make sure to Subscribe to keep up to date with our content.
@_Suraj_657 ай бұрын
❤
@jackgikandi58757 ай бұрын
Great content, just one question, why didn't you have to import the Force.sol contract file or create an instance of the Force contract into the TakeMyMoney contract ? How comes it worked?
@jackgikandi58757 ай бұрын
Perfectly explained. Thanks..
@SanwalKhan-lh9cl7 ай бұрын
can you share the github repo of this project?
@LearnWeb3IO7 ай бұрын
Hi, we have updated the description and added the following two GitHub projects: github.com/subsquid-labs/squid-evm-examples github.com/subsquid-labs/showcase07-grab-all-nft-transfers One of these should be the project you are looking for, if not, let us know the timestamp and we'll try to find you the project 🙂
@LearnWeb3IO8 ай бұрын
Friendly reminder to always gitignore the `.env` file!
@Patupai8 ай бұрын
Also would love to see a simple UI interface engage with the contract
@Patupai8 ай бұрын
This is great but missing the implementation. This would be awesome if it included an example of it running live or even on a test net
@LearnWeb3IO8 ай бұрын
At the time, it could not be deployed on testnet. We will have more Uniswap lessons coming soon as part of the Uniswap Hook Incubator, including live deployments! More information here - atrium.academy/uniswap
@jackgikandi58758 ай бұрын
Secondly, what does the 'Coinflip flip = CoinFlip()' line represent...
@LearnWeb3IO8 ай бұрын
`CoinFlip` is the data type of the smart contract. We are definining a variable named `flip` and we are saying that the address we're giving it isn't a regular address it's actually the address of the `CoinFlip` smart contract
@jackgikandi58758 ай бұрын
Well explained. Could you explain why you won't need the lastHash variable and its if statement in the Attack contract.. thank you.
@LearnWeb3IO8 ай бұрын
That `if` condition is checked within `CoinFlip` to ensure it matches - but in our Attack Contract we're calculating it the exact same way, we know it's going to match. Adding an `if` condition there will simply be checking the same value against itself - does that make sense?
@darthollie9 ай бұрын
34:14
@LearnWeb3IO9 ай бұрын
On January 30th, 2024 - Uniswap Foundation provided a responsible disclosure to us about a bug present in the original hook code here. While this was a lesson and nobody deployed this to mainnet to our knowledge, we have fixed the bug and updated the written lesson to include the changes. The video recording here, however, is an older version and has code that is vulnerable. If you would like to follow the video, visit the lesson at the section where we implement the `afterSwap` function since there are some differences now. Additionally, we have added another Foundry test - `test_multiple_orderExecute_zeroForOne` - that is not part of the video recording. learnweb3.io/lessons/uniswap-v4-hooks-create-a-fully-on-chain-take-profit-orders-hook-on-uniswap-v4/
@faustohk29969 ай бұрын
🤦
@不开心就练腿10 ай бұрын
man it's totally out of time
@LearnWeb3IO8 ай бұрын
Rip, we'll update it soon!
@RedBugBoy10 ай бұрын
Thanks for the help - Ciao
@LearnWeb3IO8 ай бұрын
Glad to know that this video has helped you!
@nemkeee10 ай бұрын
Can you please do other levels also? Your explanations are such concise and simple 👍
@LearnWeb3IO8 ай бұрын
That's the plan!
@atikuuthman74210 ай бұрын
Easiest explanation for this level I could find. Thank you.