2018年11月13日

摘要: pragma solidity ^0.4.0; contract Bool{ uint num1 = 100; uint num2 = 200; bool _c = true; // && == function yuf() constant returns(bool){ return num1 == num2 && _c; /... 阅读全文

posted @ 2018-11-13 17:33 eilinge 阅读(163) 评论(0) 推荐(0) 编辑

摘要: contract Person { string public _name; function Person() { _name = "liyuechun"; } function f() { modifyName(_name); } /*storage(指针传递) 当函数参数为memory类型... 阅读全文

posted @ 2018-11-13 15:18 eilinge 阅读(293) 评论(0) 推荐(0) 编辑

摘要: pragma solidity ^0.4.0; // priveta public internal contract Test{ //defualt internal uint8 internal _money; uint8 _age; uint8 private _height; uint8 public _sex; functi... 阅读全文

posted @ 2018-11-13 14:11 eilinge 阅读(393) 评论(0) 推荐(0) 编辑

摘要: pragma solidity ^0.4.0; contract Test{ /* 属性的访问权限 priveta public internal defualt internal interlnal,private cannot be accessed from outside */ uint8 internal _money; uin... 阅读全文

posted @ 2018-11-13 11:24 eilinge 阅读(652) 评论(0) 推荐(0) 编辑

摘要: 从这周开始,开始学习以太坊开发--solidity,开始决定往区块链方向发展,毕竟区块链技术应用广泛。一开始接触solidity开发语言不太习惯,毕竟一直在学习python语法,有很多都不能接受。有难度,我喜欢!! 阅读全文

posted @ 2018-11-13 09:45 eilinge 阅读(236) 评论(0) 推荐(0) 编辑