Skip to content

Commit

Permalink
sync neo change
Browse files Browse the repository at this point in the history
  • Loading branch information
bettybao1209 committed Dec 2, 2020
1 parent 9d12341 commit 7d1ca35
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions nep-15.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ The NeoContract Manifest is defined by JSON format, which has the following basi
<pre>

{
"name":"",
"groups": [],
"features": {},
"supportedstandards": [],
"abi": {},
"permissions": [],
Expand All @@ -43,6 +43,10 @@ The NeoContract Manifest is defined by JSON format, which has the following basi

</pre>

===name===

The <code>name</code> is the name of the contract, which can be any valid identifier.

===Groups===

The <code>groups</code> field is an array of Group objects which represent a set of mutually trusted contracts. A contract will trust and allow any contract in the same group to invoke it, and the user interface will not give any warnings.
Expand All @@ -58,21 +62,6 @@ A <code>group</code> is identified by a public key and must be accompanied by a

Where <code>pubKey</code> represents the public key of the group and <code>signature</code> is the signature of the contract hash encoded in Base64.

===Features===

The <code>features</code> field describes what features are available for the contract.

<pre>
{
"storage": true,
"payable": true
}
</pre>

The <code>storage</code> field is a boolean value indicating whether the contract has a storage. The value true means that it has, and false means not.

The <code>payable</code> field is a boolean value indicating whether the contract accepts transfers. The value true means that it accepts, and false means not.

===SupportedStandards===

The <code>supportedstandards</code> field describes the [https://github.com/bettybao1209/proposals/blob/master/nep-10.mediawiki NEP-10] values.
Expand Down

0 comments on commit 7d1ca35

Please sign in to comment.