Skip to content

Commit f329e87

Browse files
authored
Editorial updates (#187)
* nep-14: add missing successor standard number * *: fix links to NEP-14 It's in obsolete and we should always link to the current version. * nep-31: fix file name * README: fix links and descriptions of accepted standards * README: place nep-25 properly The list is sorted. * nep-31: mark as accepted, add to README list --------- Signed-off-by: Roman Khimov <[email protected]>
1 parent 005a759 commit f329e87

7 files changed

+25
-17
lines changed

README.mediawiki

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ First review [[nep-1.mediawiki|NEP-1]]. Then clone the repository and add your N
6363
| Standard
6464
| Final
6565
|-
66-
| [https://github.com/neo-project/proposals/pull/133 18]
66+
| [[nep-18.mediawiki|18]]
6767
| Neo Address Resolution
6868
| Erik Zhang
6969
| Standard
@@ -87,10 +87,10 @@ First review [[nep-1.mediawiki|NEP-1]]. Then clone the repository and add your N
8787
| Standard
8888
| Accepted
8989
|-
90-
| [https://github.com/neo-project/proposals/pull/154 22]
91-
| Contract Basic Method Guideline
92-
| Owen Zhang, Fernando Díaz Toledano, Erik Zhang
93-
| Informational
90+
| [[nep-22.mediawiki|22]]
91+
| Contract Update Function
92+
| Owen Zhang, Fernando Díaz Toledano, Erik Zhang, Roman Khimov
93+
| Standard
9494
| Accepted
9595
|-
9696
| [[nep-23.mediawiki|23]]
@@ -105,6 +105,12 @@ First review [[nep-1.mediawiki|NEP-1]]. Then clone the repository and add your N
105105
| Standard
106106
| Final
107107
|-
108+
| [[nep-25.mediawiki|25]]
109+
| NeoContract ABI
110+
| Erik Zhang, Roman Khimov
111+
| Standard
112+
| Accepted
113+
|-
108114
| [[nep-26.mediawiki|26]]
109115
| Smart contract transfer callback for non-fungible tokens
110116
| Erik Zhang, Roman Khimov, Jaime Kindelan, Jimmy Liao
@@ -135,10 +141,11 @@ First review [[nep-1.mediawiki|NEP-1]]. Then clone the repository and add your N
135141
| Standard
136142
| Accepted
137143
|-
138-
| [[nep-25.mediawiki|25]]
139-
| NeoContract ABI
140-
| Erik Zhang, Roman Khimov
144+
| [[nep-31.mediawiki|31]]
145+
| Contract Destroy Guideline
146+
| Owen Zhang
141147
| Standard
148+
| Accepted
142149
|-
143150
|
144151
| Dynamic Sharding
@@ -181,4 +188,4 @@ First review [[nep-1.mediawiki|NEP-1]]. Then clone the repository and add your N
181188
|
182189
| Standard
183190
| Stub
184-
|}
191+
|}

nep-15.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The <code>features</code> field will be used for future expansion and should alw
5151

5252
The <code>supportedstandards</code> field describes which standard it supports, such like <code>NEP</code> or <code>RFC</code>. It must be an array. In order to make smart contracts or other clients understand correctly, all NEPs must be capitalized. NEP and number must be connected with <code>-</code>. For example: <code>"supportedstandards": ["NEP-11", "NEP-17", "RFC 1035"]</code>.
5353

54-
The <code>abi</code> field describes which methods and events are included in the contract and how other contracts interact with them. For technical details of ABI, please refer to [[nep-14.mediawiki|NEP-14: NeoContract ABI]].
54+
The <code>abi</code> field describes which methods and events are included in the contract and how other contracts interact with them. For technical details of ABI, please refer to [[obsolete/nep-14.mediawiki|NEP-14: NeoContract ABI]].
5555

5656
The <code>permissions</code> field is an array containing a set of <code>Permission</code> objects. It describes which contracts may be invoked and which methods are called.
5757

nep-25.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ This NEP describes the ABI standards for Neo smart contracts.
1919
Neo smart contract system is designed to be mutually invocable between contracts. To achieve this, we need a mechanism for exposing the interface of smart contracts. With NeoContract ABI, developers can easily create programs to invoke smart contracts or write clients that automatically access contract functionalities.
2020

2121
This NEP is a compatible extension of the previous one,
22-
[https://github.com/neo-project/proposals/blob/06a6b550987a74025009cf6841757f2426462697/nep-14.mediawiki NEP-14]. Some complex
22+
[[obsolete/nep-14.mediawiki|NEP-14]]. Some complex
2323
data types required more data for ABI to be useful for automatic SDK/wrapper
2424
code generation. For example, parameter of "Array" type could be a structure
2525
with three fields of "ByteArray", "Hash160" and "Integer" types or an array of
2626
"Integer" values. These cases couldn't be differentiated both for method
2727
parameters and return values with
28-
[https://github.com/neo-project/proposals/blob/06a6b550987a74025009cf6841757f2426462697/nep-14.mediawiki NEP-14], while this proposal fixes it.
28+
[[obsolete/nep-14.mediawiki|NEP-14]], while this proposal fixes it.
2929

3030
==Rationale==
3131

@@ -249,7 +249,7 @@ type specified in the <code>namedtypes</code> object).
249249
==Backwards Compatibility==
250250

251251
For the field extension this NEP is completely backwards-compatible with
252-
[https://github.com/neo-project/proposals/blob/06a6b550987a74025009cf6841757f2426462697/nep-14.mediawiki NEP-14]
252+
[[obsolete/nep-14.mediawiki|NEP-14]]
253253
when new fields are ignored, old fields and their meaning remain intact.
254254

255255
This NEP has more strict requirements for identifiers, but these are mostly

nep-29.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Neo N3 has a native <code>ContractManagement</code> contract that is used for co
4343

4444
This method will be automatically executed by <code>ContractManagement</code> contract when a contract is first deployed or updated. At this point new contract state is already saved (and it can be called from other code), but <code>Deploy</code> or <code>Update</code> notification is not yet emitted by <code>ContractManagement</code> contract.
4545

46-
The <code>data</code> parameter is completely contract-specific, contracts can accept any valid [[nep-14.mediawiki|NEP-14]] parameter types and handle them as required. It's the same <code>data</code> that is accepted by <code>deploy</code> and <code>update</code> methods of <code>ContractManagement</code> contract.
46+
The <code>data</code> parameter is completely contract-specific, contracts can accept any valid [[obsolete/nep-14.mediawiki|NEP-14]] parameter types and handle them as required. It's the same <code>data</code> that is accepted by <code>deploy</code> and <code>update</code> methods of <code>ContractManagement</code> contract.
4747

4848
<code>update</code> is true when contract is updated via <code>update</code> and it's false on initial deployment via <code>deploy</code>.
4949

nep-30.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Contracts that want their addresses to be used as transaction signers MUST imple
3636
}
3737
</pre>
3838

39-
Parameters are contract-specific, any number of valid [[nep-14.mediawiki|NEP-14]] parameters can be added if contract needs them to perform verification. Compliant contract MUST have only one method with this name, otherwise the result is undefined.
39+
Parameters are contract-specific, any number of valid [[obsolete/nep-14.mediawiki|NEP-14]] parameters can be added if contract needs them to perform verification. Compliant contract MUST have only one method with this name, otherwise the result is undefined.
4040

4141
To prevent using this method in regular application calls contract can check for trigger returned from <code>System.Runtime.GetTrigger</code> interop function.
4242

@@ -48,7 +48,7 @@ Transactions with contract address used as one of signers MUST include an approp
4848

4949
==Rationale==
5050

51-
Neo Legacy differentiated contract verification and application contexts only with VM trigger type, but Legacy contracts had only one entry point and their hashes were derived directly from the byte code, so they could be used as verification scripts as well. In N3 contract hashes are derived from the script that is intentionally made to abort execution, but N3 contracts also have multiple entry points described in [[nep-14.mediawiki|NEP-14]] ABI. Therefore a specific name was chosen to represent a method to be used for contract address verification.
51+
Neo Legacy differentiated contract verification and application contexts only with VM trigger type, but Legacy contracts had only one entry point and their hashes were derived directly from the byte code, so they could be used as verification scripts as well. In N3 contract hashes are derived from the script that is intentionally made to abort execution, but N3 contracts also have multiple entry points described in [[obsolete/nep-14.mediawiki|NEP-14]] ABI. Therefore a specific name was chosen to represent a method to be used for contract address verification.
5252

5353
Since the system knows all deployed contract hashes and they can not intersect with valid verification scripts the choice was made to keep verification scripts attached to transactions empty. But as some contracts may need additional data for this method (typically, signatures or addresses) method parameters are not fixed and invocation scripts can be used to pass them.
5454

nep-X1.mediawiki renamed to nep-31.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Title: Contract Destroy Guideline
44
Author: Owen Zhang <[email protected]>
55
Type: Standard
6-
Status: Draft
6+
Status: Accepted
77
Created: 2024-09-11
88
</pre>
99

obsolete/nep-14.mediawiki

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Status: Obsolete
77
Created: 2020-03-25
88
Replaces: 3
9+
Superseded-By: 25
910
</pre>
1011

1112
==Abstract==

0 commit comments

Comments
 (0)