0:57 - Function deploy 4:52 - Function execute 5:16 - Helper contract to get contract bytecode 6:26 - Deploy Proxy and Helper 6:36 - Deploy TestContract1 7:57 - Execute TestContract1.setOwner 9:31 - Deploy TestContrac2
@sixtusanyanwu2 жыл бұрын
In the assembly line, why do we need to send in ether to the contract using callvalue()? Can the smart contract be deployed without sending ether to it?
@먼데이좋은데이2 жыл бұрын
I personally found this quite daunting when I first watched the video. For those struggling, I personally recommend to watch this video again after you've finished the whole playlist. There are many concepts that's not described in this video but is explained later on.
@keccak32 Жыл бұрын
I'm thinking so
@bugtesting9208 ай бұрын
rather go for his website it explains one by one
@abhijeetmaurya73553 жыл бұрын
Best chanel on KZbin to learn solidity
@TjSpoonManJacques3 жыл бұрын
And the only one that teaches for the love of teaching! He is the reason when I learn something know I teach others for free.
@sweetjimmy2 жыл бұрын
Amazing video as ever 👏 Just a quick note at 7:05 Even though you've specified `returns(address addr)` in the signature of the `deploy()` function of the Proxy contract, you can notice that it is not actually returning anything when called. This is because I think in Solidity only `view` and `pure` functions can return a value. P.S. Even though the values are not returned from transactional/state-modifying functions, in the logs you will be able to see the returned value somewhere after `output:`
@TjSpoonManJacques3 жыл бұрын
How do you seem to know what I am struggling with in my smart contract lab? This the EXACT code clipping I need to pull of my latest project! From your #1 student and fan in New Orleans - THANK YOU!!!
@benjaminrockiee38882 жыл бұрын
Please in what kind of project do we need this? What's the Aim
@bertrandfossung12163 жыл бұрын
Simply the best👍🏽
@nicolasruiz55422 жыл бұрын
Awesome!! Thank you for this video. I would like to ask you some real world cases where you would implement a proxy/deployer contract instead of deploying them directly. does this method involve less gas in the contract deployment?
@smartcontractprogrammer2 жыл бұрын
for development environment, where instead of having a contract owner tied to an account, this contract can be the owner and anyone can call functions through this contract
@JoaoSantos-iz1vq2 жыл бұрын
thanks. this was the most challenging lesson till now. those abi.encode... instructions and the 'assembly scope', i have to check that better
@timgoppelsroeder1213 жыл бұрын
Thanks your videos helped me make my first smart contract(a basic voring system)
@aminabcf5749 Жыл бұрын
hey i need you re help im working on voting system !!
@Ts2pc2 жыл бұрын
Though I may not get a chance to use Proxy to deploy any contract, but it is a very interesting lesson!
@sdfsfsfd4373 жыл бұрын
great video! I learn with you. Many thanks!
@aiduongphan2852 жыл бұрын
For the v, p, n in the "create(v,p,n)" the arguments will always be (callvalue(), add(_code,0x20), mload(_code)) ? Are there any situations that we need to change them?
@adebayoafeez62162 жыл бұрын
Finding this difficult to understand 😥. Is there a way I can get more explanation? Thank you.
@AhmedHussein5212 жыл бұрын
someone said to watch the whole playlist first then go back to this video again
@nellykantu84283 жыл бұрын
you're amazing.. thank you
@D3athW1ng2 жыл бұрын
Awesome ... I think at the time of this writing, the compiler didn't double check for this I am guessing - " Warning: This contract has a payable fallback function, but no receive ether function. Consider adding a receive ether function." ?
@smartcontractprogrammer2 жыл бұрын
Compiler warning was always there.
@neeble95753 жыл бұрын
Thank you. Can you make video about assembly?
@smartcontractprogrammer3 жыл бұрын
Concepts to learn about assembly is so easy that I can explain it here. Dont use it Joking aside, I don't actively use it.
@neeble95753 жыл бұрын
@@smartcontractprogrammer hahahaha thank you.
@hemsandy52362 жыл бұрын
Can you make video how to deploy BSC and ETH smart contract and receive the same address?
@salem2323 жыл бұрын
very cool ~~ thanks !! 🤓
@seamlessmanu3985 Жыл бұрын
The watch order of this video in "Solidity 0.8" playlist is faulty (just after Enum). Watch this video after watching the entire playlist
@jesusdiv182 жыл бұрын
I still don't understand the code snippet within assembly()
@MrFalRed Жыл бұрын
Hi, thanks for the amzing tutorial. I have a question about if I have to deploy a contract with constructor. How to use the deployer contract in this tutorial to deploy it by giving constructor call data?
@smartcontractprogrammer Жыл бұрын
deploy the contract and have a initialize function that can only be called once?
@theBigbeeStory Жыл бұрын
In the constructor of TestContract2, instead of x uint y uint, I pass (address a, address b). And I deployed, eventhough deployment succeed but Remix showed 'decoded input address a and address b are zero address'. Can you help me with that?
@smartcontractprogrammer Жыл бұрын
I would write another smart contract with a single function to decode (address a, address b) into bytes. Copy paste the output, and use it to deploy your contract
@acemaningcay9093 жыл бұрын
Is this proxy will cost gas to deploy?
@smartcontractprogrammer3 жыл бұрын
yes
@jingli92322 жыл бұрын
thx for your tutorial, so what's the use case for this one, a little bit curious
@smartcontractprogrammer2 жыл бұрын
Fun
@TJTHEFOOTBALLPROPHET3 жыл бұрын
So if there was a contract I wanted to clone then the address of that contract is pasted into the box where it says proxy?
@smartcontractprogrammer3 жыл бұрын
no - Proxy is used to deploy new contract
@dogcare53762 жыл бұрын
How to set the limit of how many tokens or maximum values can an address receive during a time period? Could you please let me know what function could we use for Pragma 8.0 to limit the contract to a max of 200 Token in 24 hours? If anyone has an idea, please write the function for the associated limitation. Highly appreciated
@smartcontractprogrammer2 жыл бұрын
create a mapping from address to struct of user info storing amount minted and timestamp when mint is called check timestamp and amount minted
@dogukan90933 жыл бұрын
Do you do paid tutoring ? i have almost completed the cryptozombies and watched your 0.8 videos.im already imagining some dapp/contract concepts.looking for a tutor or a bootcamp.let me know if you do tutoring.i want to fully understand the solidity first
@smartcontractprogrammer3 жыл бұрын
no tutors. ask questions on discord or telegram. Someone might answer
@nellykantu84282 жыл бұрын
hello, pls what is an arbitrary contract?
@smartcontractprogrammer2 жыл бұрын
Any conttract
@crypto_peng2 жыл бұрын
can you share arbitrage contract
@smartcontractprogrammer2 жыл бұрын
I am a noob at arbitrage
@jesusdiv182 жыл бұрын
Really difficult to understand at this stage. Too much complicated
@tekken19353 жыл бұрын
This was very difficult to understand
@mehdiwadoud80982 жыл бұрын
You always skip explaining those abi functions ? Do you really understand how they work ?
@smartcontractprogrammer2 жыл бұрын
No I don't know how it works. Yes I know how to use them
@mehdiwadoud80982 жыл бұрын
@@smartcontractprogrammer could you please make a video about them ?