Hi, Good video. But I have a question about the second 791s at line 101, the approve call is not effective for the call of line 112, right? I mean line 101 must check allowance and the approve must be done on client side. Let me know if I'm wrong, I'll go to learn more about approve.
It's most often done client-side. Basically allowing a 3rd party or contract to move our tokens. In this example the erc20 funds are held in the contract and we are actually approving another contract (Uniswap router) to move those funds on our behalf, so it needs to be called from the contract itself as that is the "owner" of those tokens.
oh shit. wasn't expecting to see this dude on this channel. he rules
Awesome Channel brother!!! Cool Post!!! 😎🤙
Thanks for the visit
I love eating blocks
very well explained line to line👌
Glad you liked it
Good content!
Glad you enjoyed it
Hi,
Good video.
But I have a question about the second 791s at line 101, the approve call is not effective for the call of line 112, right?
I mean line 101 must check allowance and the approve must be done on client side.
Let me know if I'm wrong, I'll go to learn more about approve.
It's most often done client-side. Basically allowing a 3rd party or contract to move our tokens. In this example the erc20 funds are held in the contract and we are actually approving another contract (Uniswap router) to move those funds on our behalf, so it needs to be called from the contract itself as that is the "owner" of those tokens.
@@JamesBachini Ok got it.Thanks.
How come 3000 vulnerabilties?!
hey although great content as always, the audio quality here is not really good.
Is it that bad? Try with earphones maybe?
MEATamask??
Yeah I've been saying it wrong for years. Only found out when Facebook rebranded to Meta and now can't stop myself 🤦
I'm the first one 🔥🔥
Congrats
✌
Change the font it’s horrible and hard to read and type the code instead of reading it like a script
Comments are code smell