New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

Exciting Insights: Students Reflect on Their Week 04 Learnings!

Web3BridgeMon, Oct 9, 2023, 12:00 AM

Cohort 09 students are excited to share what they've learned in their fourth week! Check out the video for a complete review of their classes and the incredible things they've discovered.

Transcript

[Music] web 3 Bridge cohort 9 sponsored by bass before recap of My Le experience atory bridge last week we started off by learning about Factory contract Factory contract a contract that helps to create new instances of a particular contract let's say main contract this um the new contract created share similar code with the main contract and but doesn't sh the same storage um while our new of contract we can if want specific or just allow it you just by you know allowing of the um of setting the random um contract address slots are say it takes a maximum of6 BS which is about 32 B for each slot so every slot cannot exceed 32 bytes in new sense now there's something called slot backing in the sense that if you have for instance a variable of 128 there means there's another 128 bits left you have to like make another Vari to car 128t or you still break it down and the EV is going to P it off together and put in that before to the next so we using C in this case we have a we have a s so this is when we [Music] have get de same the same contract address on multitud chains so like DC if you check for D can see that same Contra address on multiple chains BC what so you the same Contra so this is IDE of cont address M inheritance as the name implies inheritance inheriting something um you know it has to do with two contracts um the parent contract and the child contract we call the the child contract sometimes they call it derived contract whereby the child contract can inherit um uh a function from the parent contract however before the CH contract can inherit a par function from a from it parent contract the parent contract has to set its function as external this makes it possible for the child contract to inherit such function when it comes to storing functions or storage in functions we have three primary locations where data can store first location is the call itation is the memory and the location is um is St location itself so the call Dat is a special special R only and noni area where of function parameters and arguments on a function called a St so it is used to hold the is used to hold the input data function code so this is the end of f by than web 3 Bridge cohort 9 sponsored by [Music] Bass

Automatic transcript — names and jargon may be misspelled.