nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 153 forks source link

文档有些问题 #110

Closed lucky917 closed 6 years ago

lucky917 commented 6 years ago

Nebulas 101 - 04 智能合约存储区.md中 image 其中红色部分 按照上下文理解 应该是defineProperty 而不是defineMapProperty吧

jianhuaixie commented 6 years ago

文档到处都是粗心大意的问题,https://github.com/nebulasio/wiki/blob/master/permission_control_in_smart_contract.md Mixin.UNPAYABLE: check the transaction sent value, if value is less than 0 return true, otherwise returns false Mixin.UNPAYABLE : check the transaction sent value, if value is greater than 0 return true, otherwise returns false 下面应该是Mixin.PAYABLE

ChengOrangeJu commented 6 years ago

Hello @jianhuaixie We are looking into the document issue and will update soon. Thanks for the information.

BrushXiaoMinGuo commented 6 years ago

@lucky917 defineMapProperty中descriptor设置为null,将使用默认的JSON.stringify()和JSON.parse();也可以自定义实现descriptor39773656-53369654-532b-11e8-98b8-4ff5dc16e9af 红色部分是设置为null的用法。

BrushXiaoMinGuo commented 6 years ago

Hello @jianhuaixie we have updated the document ,Thanks for the information.