This is the Solidity Tutorial series article 8th introduces the solidity API, which mainly manifests as built-in special variables and functions that exist in the global namespace.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's
This is the Solidity Tutorial series article 8th introduces the solidity API, which mainly manifests as built-in special variables and functions that exist in the global namespace.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's
fail. Therefore, to ensure security, the return value of send must be checked, and if the transaction fails, the etheric currency is rolled back. It would be better if you use transfer.Contract related
This (the type of the current contract):Represents the current contract, which can be explicitly converted to address
Selfdestruct (Address recipient):Destroys the current contract and sends all its funds to the given address.
Suicide (address recipient):Aliases for Selfdestruct
This is Solidity Tutorial series article 9th describes solidity error handling.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you d
Solidity Tutorial Series 5th-Introduction to solidity arrays.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, i
This is Solidity Tutorial series article 9th describes solidity error handling. Solidity series complete list of articles please scan the QR code below to view.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If yo
This is Solidity Tutorial series article 9th describes solidity error handling. Solidity series complete list of articles please scan the QR code below to view.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If yo
Solidity Tutorial Series III-Introduction to the Solidity function type.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, before reading this article, you should have an understanding of ethereum, smart contracts, if
Solidity Tutorial Series 6th-solidity structure and mapping.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it
Solidity Tutorial Series The third-solidity function type introduction. It 's written in front .
Solidity is the Ethernet Square Intelligent Contract programming language, before reading this article, you should have an understanding of the ether square, the intelligent contract, if you do not understand, suggest you f
used to find the value.Because of this, the mappings are not of length, and there is no concept of a key collection or a collection of values.A mapping type that can be used only as a state variable, or as a reference to an storage type in an intrinsic function.You can have solidity create an accessor by marking the map as public. The corresponding value is returned by providing a key value to access it as a parameter.The value type of the map can al
Intelligent Contract Language Solidity tutorial series the second-solidity address type introduction. It 's written in front .
Solidity is the Ethernet Square Intelligent Contract programming language, before reading this article, you should have an understanding of the ether square, the intelligent contract, if you do
Solidity Tutorial Series second article-solidity address type description.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, before reading this article, you should have an understanding of ethereum, smart contracts,
data structure in memory, with each stack element occupying 256 bits and a maximum stack length of 1024.Local variables of value types are stored on the stack.Consumption of different storage (gas consumption)
Storage will permanently save the contract state variable, the most expensive
Memory only saves temporary variables, and is freed after function calls, with minimal overhead
The stack holds small local variables that are almost free to use, but with a limited number.
]=Flaga;m_pairsofflags[index][1]=Flagb; } function changeflagarraysize(UINT newSize) Public { //If the new size is smaller, the removed element is destroyed M_pairsofflags.length =NewSize; } function Clear() Public { //Destroy DeleteM_pairsofflags; DeleteM_alotofintegers; //With the same effect as destruction M_pairsofflags.length = 0; }Bytes M_bytedata; function bytearrays(bytes data) Public { //byte arrays ("bytes") is d
This is Solidity Tutorial series article 7th introduces the etheric units and time units, series with you to thoroughly understand the solidity language.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you look a
This is the 9th article in the Solidity Tutorial series to introduce solidity error handling.Solidity series complete list of articles please see the classification-solidity. It 's written in front .
Solidity is an intelligent contract programming language for Ethernet, you
Now the solidity Chinese document, either the translation is too bad, or too old, decided to re-translate.In particular, criticized the Geek Institute named "solidity official document Chinese version of" translation, machine translation is better than it, we still do not look.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts befor
Solidity Tutorial Series 4th-Solidity data location analysis. It 's written in front .
Solidity is an intelligent contract programming language for Ethernet, you should have a better understanding of Ethernet and intelligent contracts before reading this article,If you don't understand it, I suggest you look at the eth
This is Solidity Tutorial series article 7th introduces the etheric units and time units, series with you to thoroughly understand the solidity language.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should kn
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.