Open in app

Sign In

Write

Sign In

Jean Cvllr
Jean Cvllr

1.3K Followers

Home

About

2 days ago

Solidity Tutorial: All About Constants & Immutables

Walk through the inner working of constant variables in Solidity — In this article, we will look at constant and immutable, their properties, visibilities, padding rules, the types allowed, and different ways of using them with examples from the LUKSO smart contracts in depth. Table of Contents Basics of constant and immutables How constant and immutables are placed in the contract bytecode? Padding rules…

Solidity

11 min read

Solidity Tutorial: All About Constants & Immutables
Solidity Tutorial: All About Constants & Immutables
Solidity

11 min read


Published in Better Programming

·3 days ago

Solidity Tutorial: All About Code

Understanding the structure and behaviour of a smart contract’s bytecode — Part 5 of the “All About Data Locations” subseries. This article focuses on the last data locations of the EVM that are accessible in Solidity: the bytecode of a smart contract. We will look at most aspects of a contract’s bytecode at the architecture level. This includes some detailed explanations…

Solidity

18 min read

Solidity Tutorial: All About Code
Solidity Tutorial: All About Code
Solidity

18 min read


Published in Better Programming

·Jan 9

Solidity Tutorial: All About Stack

Exploring the EVM stack machine, and how pushing and popping this in and out of the stack work. — This is Part IV of the “All About Data Locations” subseries. In today’s article, we will look at the fourth data location of the EVM: the stack. We use it all of the time in Solidity when we assign values to variables, but how does the EVM stack work under…

Solidity

18 min read

Solidity Tutorial: All About Stack
Solidity Tutorial: All About Stack
Solidity

18 min read


Published in Better Programming

·Oct 29, 2022

Solidity Tutorial: All About Calldata

Understanding the “data” field of an Ethereum transaction in Solidity — This is Part III of the “All About Data Locations” sub-series. Today, we will learn the specificities of the calldata and why you should privilege it over other data locations like memory. We will use the code examples from the Gnosis safe contract to understand the three EVM opcodes related…

Solidity

19 min read

Solidity Tutorial: All About Calldata
Solidity Tutorial: All About Calldata
Solidity

19 min read


Published in Better Programming

·Sep 3, 2022

Solidity Tutorial: All About Memory

Understanding the short term memory of the EVM — This is Part II of the “All About Data Locations” sub-series. We will learn the layout of the EVM memory, its reserved spaces, the free memory pointer, how to use memory references to read and write from/to memory and the conventional best practices when working with memory. We will use…

Solidity

20 min read

Solidity Tutorial: All About Memory
Solidity Tutorial: All About Memory
Solidity

20 min read


Published in Better Programming

·Jul 20, 2022

All About Solidity Data Locations — Storage

Diving into storage references and smart contract storage layout. — This is Part I of the “All About Data Locations” sub-series. In today's article, we cover in more detail an important data location in the EVM: the smart contract storage. We will see how the layout of the contract storage works, storage references. how to write to the contract storage…

Solidity

19 min read

All About Solidity Data Locations — Storage
All About Solidity Data Locations — Storage
Solidity

19 min read


Published in Better Programming

·Jul 12, 2022

Solidity Tutorial: All About Data Locations

A deep dive into storage, memory, and calldata — This is a long, detailed, and in-depth read. But don’t be afraid. Settle in with a nice coffee or your favourite drink. It will all be fine. See the “Table of Contents” section below to jump into the section you are interested in. Today, we explore a new and essential…

Solidity

18 min read

Solidity Tutorial: All About Data Locations
Solidity Tutorial: All About Data Locations
Solidity

18 min read


Apr 28, 2022

Ethereum Yellow Paper — Symbols Summary

The Ethereum Yellow Paper is the formal specification of the Ethereum protocol and the Ethereum Virtual Machine (EVM). It can be used as a reference to build a client implementation, like Geth or Nethermind. Below is a summary of the main symbols used in the yellow paper and their corresponding…

Ethereum

1 min read

Ethereum Yellow Paper — Symbols Summary
Ethereum Yellow Paper — Symbols Summary
Ethereum

1 min read

Ethereum Yellow Paper — Symbols Summary

The EVM state transition function (source: Ethereum yellow paper)
State Transition Function from the Yellow Paper

The Ethereum Yellow Paper is the formal specification of the Ethereum protocol and the Ethereum Virtual Machine (EVM).

It can be used as a reference to build a client implementation, like Geth or Nethermind.

Below is a summary of the main symbols used in the yellow paper and their corresponding…

--

--


Published in Better Programming

·Apr 19, 2022

Solidity Tutorial: All About Types Conversion

Implicit vs explicit conversion in Solidity, and examples to understand conversion between types. — Today's article is quite in-depth, technical and detailed! We explore conversions between different types in Solidity. We main objective of this article is for you to understand “what is the difference between implicit conversion vs explicit conversion in Solidity”. We will then cover each possible conversion between types, still using…

Solidity

12 min read

Solidity Tutorial: All About Types Conversion
Solidity Tutorial: All About Types Conversion
Solidity

12 min read


Published in CoinsBench

·Apr 14, 2022

Solidity Tutorial: all about Loops

Today we explore for, while and do ... while loops in Solidity, using contracts examples from The Graph. We will also see how to control their behaviour with break and continue, and see what some of the well-known smart contracts experts in the industry recommend to write optimised loops and…

Solidity

11 min read

Solidity Tutorial: all about Loops
Solidity Tutorial: all about Loops
Solidity

11 min read

Jean Cvllr

Jean Cvllr

1.3K Followers

Smart Contract engineer at @LUKSO. Full Stack Developer. https://github.com/CJ42

Following
  • Chain

    Chain

  • 0xriptide

    0xriptide

  • Dr James Wootton

    Dr James Wootton

  • Immunefi

    Immunefi

  • CertiK

    CertiK

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech