ERC4626 Vault Smart Contract tutorial | DeFi Vault tutorial

  Рет қаралды 9,689

Block Explorer

Block Explorer

Күн бұрын

Пікірлер: 44
@marklin9308
@marklin9308 10 ай бұрын
very clear explained . it's my first time seeing people using remix to trying these contracts. lovely !
@blockmaxi
@blockmaxi Жыл бұрын
Well explained 👏 Would love to see more videos on defi integration!
@jrsantos1737
@jrsantos1737 Жыл бұрын
nice bro, welcome back haha. Hope you continue making videos about defi
@superfunsurf
@superfunsurf 9 ай бұрын
thanks much. love your work. so glad you still making defi vids. thanks again.
@hasfocus
@hasfocus Жыл бұрын
Thrilled to see a new video!
@NinaChen-u9r
@NinaChen-u9r 11 ай бұрын
Great tutorial! What's the difference between redeem and withdraw?
@sayf3446
@sayf3446 Жыл бұрын
Excellent video! May I ask a bit behind the math why the 1% of 100 ended up being less than 1% sent to the wallet? Is there a resource I can look up to understand it a bit better, please?
@KortneyLoewen
@KortneyLoewen 13 күн бұрын
Thanks for the forecast! 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). How can I transfer them to Binance?
@bhok5228
@bhok5228 10 ай бұрын
Great video, waiting for more!
@shishgeor
@shishgeor Жыл бұрын
Great tutorial! Looking forward to seeing more of this!
@Cryptopunkstar
@Cryptopunkstar 5 ай бұрын
Hi please explain erc404 and erc1919 ? Thank you ❤️
@nabuza8639
@nabuza8639 11 ай бұрын
Very well done!! How could we apply different value of fee in function of sender? For exemple 1% for the first address, 1,5% for the second and 2% for the third? Can we pass something as parameter of deposit function?
@kevin123497
@kevin123497 Жыл бұрын
Hey what's up! Long time no see! You should do a foundry tutorial! Or a vyper tutorial!
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Hey how's it going? Great ideas - they're both on my list. Thinking about a Solidity one as well. Thanks!
@EverythingFootball331
@EverythingFootball331 11 ай бұрын
@@BlockExplorerMedia Good day. Please I need you insight into a couple of things(erc-20 swap and smart contracts related). 1. Why can’t a higher number of certain tokens be swapped in the uniswap wallet? eg. you can swap only 10 or less. 2. Will using a smart contract for the swap allow you to swap higher amounts of your choice even if the token creator has placed limits on the number of tokens to be swapped I.e. does using a smart contract make the transaction independent of the token contract?
@EverythingFootball331
@EverythingFootball331 11 ай бұрын
Good day. Please I need you insight into a couple of things(erc-20 swap and smart contracts related). 1. Why can’t a higher number of certain tokens be swapped in the uniswap wallet? eg. you can swap only 10 or less. 2. Will using a smart contract for the swap allow you to swap higher amounts of your choice even if the token creator has placed limits on the number of tokens to be swapped I.e. does using a smart contract make the transaction independent of the token contract?
@i-J6FK-UQQX-D6NV
@i-J6FK-UQQX-D6NV 7 ай бұрын
Can you do a video of how to exit a smart contract and bring coins back to your account if for example Uniswap Labs gets shut down?
@Cryptopunkstar
@Cryptopunkstar 10 ай бұрын
Woow great thank you I understand a vault manage.
@stephensimeon1.
@stephensimeon1. Жыл бұрын
Thank you Block Explorer, you are a seasoned tutor. I really need your personal mentorship.
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks my friend, appreciate it!
@EverythingFootball331
@EverythingFootball331 11 ай бұрын
@@BlockExplorerMedia Good day. Please I need you insight into a couple of things(erc-20 swap and smart contracts related). 1. Why can’t a higher number of certain tokens be swapped in the uniswap wallet? eg. you can swap only 10 or less. 2. Will using a smart contract for the swap allow you to swap higher amounts of your choice even if the token creator has placed limits on the number of tokens to be swapped I.e. does using a smart contract make the transaction independent of the token contract?
@Sianae
@Sianae Жыл бұрын
I watched your video on Flashloan Arbitrage and it was best explanation ever on executing a flashloan in KZbin by the way did you recieved 110 usdc in your metamask wallet end of it ???😅 Please reply I'm eagerly waiting for you reply 😊
@Notepad123
@Notepad123 Жыл бұрын
I’ll buy your course if you make one
@marmarbinkz7051
@marmarbinkz7051 4 ай бұрын
When I click totalAssets i get the message "execution reverted. 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." is that ok?
@sigmamale7914
@sigmamale7914 Жыл бұрын
after a long time
@gaba903
@gaba903 Жыл бұрын
I1m sorry if my question is meaningless, but i can change the contract so that shares can be erc-1155? I intend to participate im my first hackathon and it's about tokeenization of trasury bonds, I thought of something along those lines...
@TechnoNiks
@TechnoNiks 2 ай бұрын
Brother today I tried to create Flash usdt 1st time everything was fine but I forgot to add usdt token in metamask wallet transaction was in pending then got error. I paid ETH 0.1 how to get it back? Please let me know
@safoantouil2660
@safoantouil2660 9 ай бұрын
fantastic thanks for the video
@_VANADAIN_
@_VANADAIN_ Жыл бұрын
I see interest is hardcoded, but how interest logic handled in real-world scenarios? Could you recommend some strategies to check maybe?
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
In a real production vault the interest would be added to the underlying vault funds whenever vault tokens are withdrawn from various other DeFi protocols as part of strategy execution. The vault participants' shares inherently represent their claim on the underlying funds and interest, so nothing more is needed to claim their share of the interest - this is already baked into ERC4626 and is reflected on withdraw / redeem.
@EverythingFootball331
@EverythingFootball331 11 ай бұрын
@@BlockExplorerMedia Good day. Please I need you insight into a couple of things(erc-20 swap and smart contracts related). 1. Why can’t a higher number of certain tokens be swapped in the uniswap wallet? eg. you can swap only 10 or less. 2. Will using a smart contract for the swap allow you to swap higher amounts of your choice even if the token creator has placed limits on the number of tokens to be swapped I.e. does using a smart contract make the transaction independent of the token contract?
@grspro123
@grspro123 17 күн бұрын
can we have multiple shares token?
@shreyanshsinghal617
@shreyanshsinghal617 2 ай бұрын
Why did u stop making video videos??
@LammyRu
@LammyRu 16 күн бұрын
how to if the erc20 is already deployed
@MrSkatebox09
@MrSkatebox09 Жыл бұрын
could you do a contract on Loans and how I could give someone a loan for 6 months and they pay me back monthly with interest
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
That's a good idea and would tie into this nicely as loans are one of the common vault strategies.
@CryptoWork99
@CryptoWork99 Жыл бұрын
Why you do allowance with another account ?
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
The vault deposit function does a 'transferFrom' so the depositor must first give the vault approval to use the funds.
@EverythingFootball331
@EverythingFootball331 11 ай бұрын
@@BlockExplorerMedia Good day. Please I need you insight into a couple of things(erc-20 swap and smart contracts related). 1. Why can’t a higher number of certain tokens be swapped in the uniswap wallet? eg. you can swap only 10 or less. 2. Will using a smart contract for the swap allow you to swap higher amounts of your choice even if the token creator has placed limits on the number of tokens to be swapped I.e. does using a smart contract make the transaction independent of the token contract?
@CryptoWork99
@CryptoWork99 Жыл бұрын
Because if you use the allowance they Stolen token and the vault Is not automatically
@xtianiyke7623
@xtianiyke7623 5 ай бұрын
Damn these comments are bullish
@NK-xk7me
@NK-xk7me 9 ай бұрын
Hey Jonathan, I subscribed to your Patreon. I do need your help with one university project. The remix erc20 code is working perfect, MetaMask is connected, just the JavaScript with one function into the the frontend does not work. The transaction always fails. Is there a possibility u could help me? How can I contact you? your help would mean the world to me. Kind regard N
@sankaudaya341
@sankaudaya341 6 ай бұрын
Hi sir, I'm in a big trouble. can u help me.. I loss my ethereum using remix site. How can I withdraw my eth to my metamas wallet.. pls help.. How can I contact u.. Pls help..
Faucet Smart Contract Tutorial | Solidity Tutorial
47:53
Block Explorer
Рет қаралды 15 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 111 МЛН
How to Become a Blockchain Developer
25:33
Block Explorer
Рет қаралды 56 М.
Flash Loan Arbitrage | Aave Flash Loan Tutorial
48:34
Block Explorer
Рет қаралды 153 М.
ERC20 Token Tutorial | Create Your Own Cryptocurrency
1:13:56
Block Explorer
Рет қаралды 141 М.
ERC 1155: Multi-tokens
11:49
BlockchainBob
Рет қаралды 2,9 М.
Vault | Solidity 0.8
11:06
Smart Contract Programmer
Рет қаралды 10 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24