Learn more about the 5th part of the Ethernet virtual machine--what happens when a new contract is created __ ether Square

Source: Internet
Author: User

This article is sponsored by the currency Community (bihu.com) content support program.

In the first part of the series, we learned the basics of EVM compilation and also learned how ABI encoding allows external programs to communicate with contracts. In this article, we'll learn how a contract is created from scratch.

Related articles in this series (in order): Introduction to EVM Assembly code (part 1th) Presentation method for fixed-length data types (part 2nd) representation method for Dynamic Data types (part 3rd) ABI encodes the way external method calls (part 4th)

The EVM bytecode we see at the moment is quite clear, and there is no hidden magic in EVM's execution instructions from the top down. The process of creating a contract is more interesting, and it blurs the boundaries between the data and the code.

When learning contracts are created, we'll see that sometimes the data is code, and sometimes the code is the data.

Bring your favorite magic hat.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.