官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "One important interface is ChaincodeStubInterface, which provides functions that allow you to query, update, and delete assets in the ledger."

A block of code is set as follows:

contract SimpleStorage {
uint storedData; // State variable
//…
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

pragma solidity ^0.4.15;
import 'zeppelin/contracts/math/SafeMath.sol';
….
contract ExampleCoin is ERC20 {
//SafeMath symbol is from imported file SafeMath.sol'
using SafeMath for uint256;

}

Any command-line input or output is written as follows:

mkdir ~/insurance-claim && cd ~/insurance-claim

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "When the preceding request is validated by mining nodes, the HelloWorld smart contract is invoked."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 高清| 炉霍县| 巴彦淖尔市| 孙吴县| 光山县| 元谋县| 黄骅市| 邵阳市| 岳普湖县| 磐安县| 娄底市| 江津市| 陆良县| 青铜峡市| 呼图壁县| 岳阳市| 平阳县| 友谊县| 怀远县| 满洲里市| 邳州市| 涞水县| 米脂县| 封丘县| 平湖市| 萨嘎县| 镇平县| 东乌珠穆沁旗| 南京市| 沭阳县| 敦煌市| 大余县| 安塞县| 浮山县| 广德县| 抚远县| 日喀则市| 固镇县| 陆川县| 克什克腾旗| 延安市|