サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
デスク環境を整える
solidity.readthedocs.io
Contracts¶ Contracts in Solidity are similar to classes in object-oriented languages. They contain persistent data in state variables and functions that can modify these variables. Calling a function on a different contract (instance) will perform an EVM function call and thus switch the context such that state variables are inaccessible. A contract and its functions need to be called for anything
Control Structures¶ Most of the control structures known from curly-braces languages are available in Solidity: There is: if, else, while, do, for, break, continue, return, with the usual semantics known from C or JavaScript. Solidity also supports exception handling in the form of try/catch-statements, but only for external function calls and contract creation calls. Parentheses can not be omitte
Introduction¶ This guide is intended to provide coding conventions for writing solidity code. This guide should be thought of as an evolving document that will change over time as useful conventions are found and old conventions are rendered obsolete. Many projects will implement their own style guides. In the event of conflicts, project specific style guides take precedence. The structure and man
Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state. Solidity was influenced by C++, Python and JavaScript and is designed to target the Ethereum Virtual Machine (EVM). Solidity is statically typed, supports inheritance, libraries and complex user-defined types among othe
Basics Introduction to Smart Contracts Solidity by Example Installing the Solidity Compiler Language Description Layout of a Solidity Source File Structure of a Contract Types Units and Globally Available Variables Expressions and Control Structures Contracts Inline Assembly Cheatsheet Language Grammar Compiler Using the Compiler Analysing the Compiler Output Solidity IR-based Codegen Changes Inte
このページを最初にブックマークしてみませんか?
『solidity.readthedocs.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く