涛子 - 简单就是美

成单纯魁增,永继振国兴,克复宗清政,广开家必升

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 44 下一页

2018年2月28日

摘要: 输入参数 输出参数 返回多个值 内部函数调用 外部函数调用 阅读全文
posted @ 2018-02-28 14:48 北京涛子 阅读(112) 评论(0) 推荐(0)

摘要: 输入参数 输出参数 返回多个值 内部函数调用 外部函数调用 通过new建立合约 阅读全文
posted @ 2018-02-28 14:48 北京涛子 阅读(132) 评论(0) 推荐(0)

摘要: 单位和全局变量 专用变量和函数 错误处理 assert(bool condition): throws if the condition is not met to be used for internal errors. require(bool condition): throws if the 阅读全文
posted @ 2018-02-28 11:55 北京涛子 阅读(172) 评论(0) 推荐(0)

摘要: 映射 阅读全文
posted @ 2018-02-28 11:48 北京涛子 阅读(114) 评论(0) 推荐(0)

摘要: 结构体 javascript pragma solidity ^0.4.11; // 众筹合约 contract CrowdFunding { // 投资者 struct Funder { address addr; uint amount; } // 活动 struct Campaign { ad 阅读全文
posted @ 2018-02-28 11:44 北京涛子 阅读(133) 评论(0) 推荐(0)

2018年2月27日

摘要: 引用类型(Reference Types) 数组 在内存中建立数组 数组常量 完整例子 javascript pragma solidity ^0.4.16; contract ArrayContract { uint[2 20] m_aLotOfIntegers; // Note that the 阅读全文
posted @ 2018-02-27 17:01 北京涛子 阅读(162) 评论(0) 推荐(0)

摘要: 内部函数示例 javascript pragma solidity ^0.4.16; library ArrayUtils { // internal functions can be used in internal library functions because // they will b 阅读全文
posted @ 2018-02-27 16:36 北京涛子 阅读(137) 评论(0) 推荐(0)

摘要: 变量类型(Value Types) bash 固定大小的字节数组 关键字 bytes1 ~ bytes32, bytes(bytes1) 比较操作符 , = 位操作符 &,!,^,~, 索引访问 x[k], 0 阅读全文
posted @ 2018-02-27 15:29 北京涛子 阅读(198) 评论(0) 推荐(0)

摘要: 合约(contract)由变量(variable)、函数(functions)、函数修饰符(function modifiers)、事件(events)、结构体类型(struct type)、枚举类型(enum type)组成。 阅读全文
posted @ 2018-02-27 15:06 北京涛子 阅读(161) 评论(0) 推荐(0)

2018年2月13日

摘要: https://hashnode.com/post/how to build your own ethereum based erc20 token and launch an ico in next 20 minutes cjbcpwzec01c93awtbij90uzn https://stee 阅读全文
posted @ 2018-02-13 11:16 北京涛子 阅读(550) 评论(0) 推荐(0)

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 44 下一页