摘要:
引用类型(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)
摘要:
引用类型(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)
|