Skip to content

Commit

Permalink
Chores and fixes (#566)
Browse files Browse the repository at this point in the history
- Adds the missing NEPs and their credits to Readme.md
- Changes the Statuses of the approved and merged NEPs to `Final`
- Ensures number/naming consistency across files and NEP headers
- Updates NEP headers to match the preset on
[NEP-0001](./neps/nep-0001.md)
  • Loading branch information
flmel authored Oct 8, 2024
1 parent 62fb58f commit 05caad3
Show file tree
Hide file tree
Showing 31 changed files with 347 additions and 341 deletions.
58 changes: 34 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,40 @@ Changes to the protocol specification and standards are called NEAR Enhancement

## NEPs

| NEP # | Title | Author | Status |
| ----------------------------------------------------------------- | ---------------------------------------- | -------------------------------------------- | ---------- |
| [0001](https://github.com/near/NEPs/blob/master/neps/nep-0001.md) | NEP Purpose and Guidelines | @jlogelin | Living |
| [0021](https://github.com/near/NEPs/blob/master/neps/nep-0021.md) | Fungible Token Standard (Deprecated) | @evgenykuzyakov | Deprecated |
| [0141](https://github.com/near/NEPs/blob/master/neps/nep-0141.md) | Fungible Token Standard | @evgenykuzyakov @oysterpack, @robert-zaremba | Final |
| [0145](https://github.com/near/NEPs/blob/master/neps/nep-0145.md) | Storage Management | @evgenykuzyakov | Final |
| [0148](https://github.com/near/NEPs/blob/master/neps/nep-0148.md) | Fungible Token Metadata | @robert-zaremba @evgenykuzyakov @oysterpack | Final |
| [0171](https://github.com/near/NEPs/blob/master/neps/nep-0171.md) | Non Fungible Token Standard | @mikedotexe @evgenykuzyakov @oysterpack | Final |
| [0177](https://github.com/near/NEPs/blob/master/neps/nep-0177.md) | Non Fungible Token Metadata | @chadoh @mikedotexe | Final |
| [0178](https://github.com/near/NEPs/blob/master/neps/nep-0178.md) | Non Fungible Token Approval Management | @chadoh @thor314 | Final |
| [0181](https://github.com/near/NEPs/blob/master/neps/nep-0181.md) | Non Fungible Token Enumeration | @chadoh @thor314 | Final |
| [0199](https://github.com/near/NEPs/blob/master/neps/nep-0199.md) | Non Fungible Token Royalties and Payouts | @thor314 @mattlockyer | Final |
| [0245](https://github.com/near/NEPs/blob/master/neps/nep-0245.md) | Multi Token Standard | @zcstarr @riqi @jriemann @marcos.sun | Review |
| [0264](https://github.com/near/NEPs/blob/master/neps/nep-0264.md) | Promise Gas Weights | @austinabell | Final |
| [0297](https://github.com/near/NEPs/blob/master/neps/nep-0297.md) | Events Standard | @telezhnaya | Final |
| [0330](https://github.com/near/NEPs/blob/master/neps/nep-0330.md) | Source Metadata | @BenKurrek | Review |
| [0366](https://github.com/near/NEPs/blob/master/neps/nep-0366.md) | Meta Transactions | @ilblackdragon @e-uleyskiy @fadeevab | Final |
| [0393](https://github.com/near/NEPs/blob/master/neps/nep-0393.md) | Sould Bound Token (SBT) | @robert-zaremba | Final |
| [0399](https://github.com/near/NEPs/blob/master/neps/nep-0399.md) | Flat Storage | @Longarithm @mzhangmzz | Final |
| [0448](https://github.com/near/NEPs/blob/master/neps/nep-0448.md) | Zero-balance Accounts | @bowenwang1996 | Final |
| [0452](https://github.com/near/NEPs/blob/master/neps/nep-0452.md) | Linkdrop Standard | @benkurrek @miyachi | Final |
| [0455](https://github.com/near/NEPs/blob/master/neps/nep-0455.md) | Parameter Compute Costs | @akashin @jakmeier | Final |
| [0491](https://github.com/near/NEPs/blob/master/neps/nep-0491.md) | Non-Refundable Storage Staking | @jakmeier | Review |
| [0514](https://github.com/near/NEPs/blob/master/neps/nep-0514.md) | Fewer Block Producer Seats in `testnet` | @nikurt | Final |
| NEP # | Title | Author | Status |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------- | ---------- |
| [0001](https://github.com/near/NEPs/blob/master/neps/nep-0001.md) | NEP Purpose and Guidelines | @jlogelin | Living |
| [0021](https://github.com/near/NEPs/blob/master/neps/nep-0021.md) | Fungible Token Standard (Deprecated) | @evgenykuzyakov | Deprecated |
| [0141](https://github.com/near/NEPs/blob/master/neps/nep-0141.md) | Fungible Token Standard | @evgenykuzyakov @oysterpack, @robert-zaremba | Final |
| [0145](https://github.com/near/NEPs/blob/master/neps/nep-0145.md) | Storage Management | @evgenykuzyakov | Final |
| [0148](https://github.com/near/NEPs/blob/master/neps/nep-0148.md) | Fungible Token Metadata | @robert-zaremba @evgenykuzyakov @oysterpack | Final |
| [0171](https://github.com/near/NEPs/blob/master/neps/nep-0171.md) | Non Fungible Token Standard | @mikedotexe @evgenykuzyakov @oysterpack | Final |
| [0177](https://github.com/near/NEPs/blob/master/neps/nep-0177.md) | Non Fungible Token Metadata | @chadoh @mikedotexe | Final |
| [0178](https://github.com/near/NEPs/blob/master/neps/nep-0178.md) | Non Fungible Token Approval Management | @chadoh @thor314 | Final |
| [0181](https://github.com/near/NEPs/blob/master/neps/nep-0181.md) | Non Fungible Token Enumeration | @chadoh @thor314 | Final |
| [0199](https://github.com/near/NEPs/blob/master/neps/nep-0199.md) | Non Fungible Token Royalties and Payouts | @thor314 @mattlockyer | Final |
| [0245](https://github.com/near/NEPs/blob/master/neps/nep-0245.md) | Multi Token Standard | @zcstarr @riqi @jriemann @marcos.sun | Final |
| [0264](https://github.com/near/NEPs/blob/master/neps/nep-0264.md) | Promise Gas Weights | @austinabell | Final |
| [0297](https://github.com/near/NEPs/blob/master/neps/nep-0297.md) | Events Standard | @telezhnaya | Final |
| [0330](https://github.com/near/NEPs/blob/master/neps/nep-0330.md) | Source Metadata | @BenKurrek | Final |
| [0364](https://github.com/near/NEPs/blob/master/neps/nep-0364.md) | Efficient signature verification and hashing precompile functions | @blasrodri | Final |
| [0366](https://github.com/near/NEPs/blob/master/neps/nep-0366.md) | Meta Transactions | @ilblackdragon @e-uleyskiy @fadeevab | Final |
| [0393](https://github.com/near/NEPs/blob/master/neps/nep-0393.md) | Sould Bound Token (SBT) | @robert-zaremba | Final |
| [0399](https://github.com/near/NEPs/blob/master/neps/nep-0399.md) | Flat Storage | @Longarithm @mzhangmzz | Final |
| [0413](https://github.com/near/NEPs/blob/master/neps/nep-0413.md) | Near Wallet API - support for signMessage method | @gagdiez @gutsyphilip | Final |
| [0418](https://github.com/near/NEPs/blob/master/neps/nep-0418.md) | Remove attached_deposit view panic | @austinabell | Final |
| [0448](https://github.com/near/NEPs/blob/master/neps/nep-0448.md) | Zero-balance Accounts | @bowenwang1996 | Final |
| [0452](https://github.com/near/NEPs/blob/master/neps/nep-0452.md) | Linkdrop Standard | @benkurrek @miyachi | Final |
| [0455](https://github.com/near/NEPs/blob/master/neps/nep-0455.md) | Parameter Compute Costs | @akashin @jakmeier | Final |
| [0488](https://github.com/near/NEPs/blob/master/neps/nep-0488.md) | Host Functions for BLS12-381 Curve Operations | @olga24912 | Final |
| [0491](https://github.com/near/NEPs/blob/master/neps/nep-0491.md) | Non-Refundable Storage Staking | @jakmeier | Final |
| [0492](https://github.com/near/NEPs/blob/master/neps/nep-0492.md) | Restrict creation of Ethereum Addresses | @bowenwang1996 | Final |
| [0508](https://github.com/near/NEPs/blob/master/neps/nep-0508.md) | Resharding v2 | @wacban @shreyan-gupta @walnut-the-cat | Final |
| [0509](https://github.com/near/NEPs/blob/master/neps/nep-0509.md) | Stateless validation Stage 0 | @robin-near @pugachAG @Longarithm @walnut-the-cat | Final |
| [0514](https://github.com/near/NEPs/blob/master/neps/nep-0514.md) | Fewer Block Producer Seats in `testnet` | @nikurt | Final |
| [0519](https://github.com/near/NEPs/blob/master/neps/nep-0519.md) | Yield Execution | @akhi3030 @saketh-are | Final |
| [0536](https://github.com/near/NEPs/blob/master/neps/nep-0536.md) | Reduce the number of gas refunds | @evgenykuzyakov @bowenwang1996 | Final |
| [0539](https://github.com/near/NEPs/blob/master/neps/nep-0539.md) | Cross-Shard Congestion Control | @wacban @jakmeier | Final |

## Specification

Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0021.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 21
Title: Fungible Token Standard
Author: Evgeny Kuzyakov <[email protected]>
DiscussionsTo: https://github.com/near/NEPs/pull/21
Status: Final
DiscussionsTo: https://github.com/near/NEPs/pull/21
Type: Standards Track
Category: Contract
Created: 29-Oct-2019
Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0141.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 141
Title: Fungible Token Standard
Author: Evgeny Kuzyakov <[email protected]>, Robert Zaremba <@robert-zaremba>, @oysterpack
DiscussionsTo: https://github.com/near/NEPs/issues/141
Status: Final
DiscussionsTo: https://github.com/near/NEPs/issues/141
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0145.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 145
Title: Storage Management
Author: Evgeny Kuzyakov <[email protected]>, @oysterpack
DiscussionsTo: https://github.com/near/NEPs/discussions/145
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/145
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0148.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 148
Title: Fungible Token Metadata
Author: Robert Zaremba <robert-zaremba>, Evgeny Kuzyakov <[email protected]>, @oysterpack
DiscussionsTo: https://github.com/near/NEPs/discussions/148
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/148
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down
6 changes: 3 additions & 3 deletions neps/nep-0171.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 171
Title: Non Fungible Token Standard
Author: Mike Purvis <[email protected]>, Evgeny Kuzyakov <[email protected]>, @oysterpack
DiscussionsTo: https://github.com/near/NEPs/discussions/171
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/171
Type: Standards Track
Category: Contract
Version: 1.2.0
Expand Down Expand Up @@ -391,7 +391,7 @@ Note that the example events above cover two different kinds of events:
2. An event that has a relevant trigger function [NFT Core Standard](https://nomicon.io/Standards/NonFungibleToken/Core.html#nft-interface) (`nft_transfer`)

This event standard also applies beyond the events highlighted here, where future events follow the same convention of as the second type. For instance, if an NFT contract uses the [approval management standard](https://nomicon.io/Standards/NonFungibleToken/ApprovalManagement.html), it may emit an event for `nft_approve` if that's deemed as important by the developer community.

Please feel free to open pull requests for extending the events standard detailed here as needs arise.


Expand Down Expand Up @@ -441,7 +441,7 @@ The extension NEP-0469 that added Token Metadata Update Event Kind to this NEP-0
#### Concerns

| # | Concern | Resolution | Status |
| - | - | - | - |
| - | - | - | - |
| 1 | Ecosystem will be split where legacy contracts won't emit these new events, so legacy support will still be needed | In the future, there will be fewer legacy contracts and eventually apps will have support for this type of event | Resolved |
| 2 | `nft_update` event name is ambiguous | It was decided to use `nft_metadata_update` name, instead | Resolved |

Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0177.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 177
Title: Non Fungible Token Metadata
Author: Chad Ostrowski <@chadoh>, Mike Purvis <[email protected]>
DiscussionsTo: https://github.com/near/NEPs/discussions/177
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/177
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down
2 changes: 1 addition & 1 deletion neps/nep-0178.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 178
Title: Non Fungible Token Approval Management
Author: Chad Ostrowski <@chadoh>, Thor <@thor314>
DiscussionsTo: https://github.com/near/NEPs/discussions/178
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/178
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down
4 changes: 2 additions & 2 deletions neps/nep-0181.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 181
Title: Non Fungible Token Enumeration
Author: Chad Ostrowski <@chadoh>, Thor <@thor314>
DiscussionsTo: https://github.com/near/NEPs/discussions/181
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/181
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down Expand Up @@ -78,7 +78,7 @@ function nft_tokens_for_owner(

## Notes

At the time of this writing, the specialized collections in the `near-sdk` Rust crate are iterable, but not all of them have implemented an `iter_from` solution. There may be efficiency gains for large collections and contract developers are encouraged to test their data structures with a large amount of entries.
At the time of this writing, the specialized collections in the `near-sdk` Rust crate are iterable, but not all of them have implemented an `iter_from` solution. There may be efficiency gains for large collections and contract developers are encouraged to test their data structures with a large amount of entries.

## Reference Implementation

Expand Down
4 changes: 2 additions & 2 deletions neps/nep-0199.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
NEP: 199
Title: Non Fungible Token Royalties and Payouts
Author: Thor <@thor314>, Matt Lockyer <@mattlockyer>
DiscussionsTo: https://github.com/near/NEPs/discussions/199
Status: Final
DiscussionsTo: https://github.com/near/NEPs/discussions/199
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Expand Down Expand Up @@ -116,7 +116,7 @@ NFT and financial contracts vary in implementation. This means that some extra C

## Drawbacks

There is an introduction of trust that the contract calling `nft_transfer_payout` will indeed pay out to all intended parties. However, since the calling contract will typically be something like a marketplace used by end users, malicious actors might be found out more easily and might have less incentive.
There is an introduction of trust that the contract calling `nft_transfer_payout` will indeed pay out to all intended parties. However, since the calling contract will typically be something like a marketplace used by end users, malicious actors might be found out more easily and might have less incentive.
There is an assumption that NFT contracts will understand the limits of gas and not allow for a number of payouts that cannot be achieved.

## Future possibilities
Expand Down
Loading

0 comments on commit 05caad3

Please sign in to comment.