Advanced Solidity: Yul and Assembly

所在平台: Udemy

课程主页: https://www.udemy.com/course/advanced-solidity-yul-and-assembly/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:**高级Solidity:Yul和汇编 **课程概述:** 本课程旨在深入解析Solidity背后的运行机制,帮助学员理解以太坊智能合约的汇编语言(Yul)如何实现高效但同时也伴随风险的操作。学完本课程后,您将从根本上掌握智能合约接收函数调用时的全过程:数据如何编码、存储在哪里,以及如何更新区块链状态。即使您不直接使用汇编编写合约,也能更深刻地理解Solidity的设计哲学,并能解释那些曾经令人费解的错误信息。 课程内容将涵盖: * Solidity如何表示各种数据类型,以及如何根据应用场景设计更高效的数据表示。 * Solidity对内存布局的默认假设,以及如何在低级指令操作中避免违反这些假设。 * 智能合约之间函数调用的底层原理,以及如何手动实现这一过程。 * 从零开始使用汇编语言构建智能合约。 **目标受众:** 本课程**不适合初学者**。学员需要对Solidity有非常扎实的掌握基础。 **课程定位:** 掌握汇编(Yul)是成为Solidity专家的必经之路。如果您追求精通,本课程将是您的不二选择。

课程评论(0条)

课程详情

If you've wondered what solidity is doing behind the scenes, this is the course to take. Perhaps you've head of assembly in Ethereum smart contracts and heard it can be efficient but dangerous. After you finish this course, you will have a ground-up understanding of what exactly happens when a smart contract receives a function call, how it encodes that data, where exactly it stores it, and how it updates the blockchain state. Even if you don't write contracts in assembly, you will have a much better understanding of solidity's design choices and previously cryptic error messages will make perfect sense.We will learn how solidity represents various data types, and how we can come up with more efficient representations ourselves depending on the application. We will learn the assumptions solidity makes about memory layout and how to avoid violating those assumptions when we use low level instructions. We will learn what happens behind the scenes when smart contracts make function calls to each other, and how to implement that protocol by hand. And of course, we will build smart contracts from scratch in assembly.Nobody can claim to be an expert in solidity without mastering assembly (also known as Yul). So if mastery is your goal, take this class!Note: This class is not for beginners. You should be very comfortable with solidity before taking this course.

课程标签

0人关注该课程

主题相关的课程