Closed lucky917 closed 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
Hello @jianhuaixie We are looking into the document issue and will update soon. Thanks for the information.
@lucky917
defineMapProperty中descriptor
设置为null,将使用默认的JSON.stringify()和JSON.parse();也可以自定义实现descriptor
。
红色部分是设置为null的用法。
Hello @jianhuaixie we have updated the document ,Thanks for the information.
Nebulas 101 - 04 智能合约存储区.md中 其中红色部分 按照上下文理解 应该是defineProperty 而不是defineMapProperty吧