Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
陈志同 authored Sep 5, 2018
1 parent f72240c commit dfd8a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ NEP-5 规范中的方法:
| 方法 | 参数 | 返回值 | 描述 |
| ----------- | ---------------------------------- | ------ | ------------------------------------------------------------ |
| balanceOf | byte[] account | int | 获得某个账户 CGAS 的余额,返回结果为真实值 × 10⁸ |
| decimals | | int | 获得 SGAS 精度,返回值为常量 8 |
| decimals | | int | 获得 CGAS 精度,返回值为常量 8 |
| name | | string | 获得合约名称,返回值为常量 “NEP5 GAS” |
| symbol | | string | 获得合约符号,返回值为常量 “CGAS” |
| totalSupply | | int | 获得 CGAS 总发行量,返回结果为真实值 × 10⁸。因为 CGAS 与 GAS 为一比一兑换,所以合约地址中 GAS 的数量等于 CGAS 的总发行量 |
Expand Down

0 comments on commit dfd8a9c

Please sign in to comment.