Add pages for each EIP type, improve listing tables with links

This commit is contained in:
Nick Johnson 2018-03-21 15:55:18 +00:00
parent f0289472d4
commit 7038c5f9b9
53 changed files with 136 additions and 50 deletions

View File

@ -129,7 +129,7 @@ Each EIP must begin with an RFC 822 style header preamble, preceded and followed
` status: `<Draft | Active | Accepted | Deferred | Rejected | Withdrawn | Final | Superseded>
` type: `<Standards Track (Core, Networking, Interface, ERC) | Informational | Process>
` type: `<Standards Track (Core, Networking, Interface, ERC) | Informational | Meta>
` * category `: <Core | Networking | Interface | ERC>

View File

@ -2,7 +2,7 @@
eip: 100
title: Change difficulty adjustment to target mean block time including uncles
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-04-28

View File

@ -3,7 +3,8 @@ eip: 101
title: Serenity Currency and Crypto Abstraction
author: Vitalik Buterin <v@buterin.com>
status: Active
type: Serenity feature
type: Standards Track
category: Core
created: 2015-11-15
---

View File

@ -4,7 +4,7 @@ title: safe "eth_sendTransaction" authorization via html popup
author: Ronan Sandford <wighawag@gmail.com>
created: 2016-06-05
status: Draft
type: Standard
type: Standards Track
category: Interface
---

View File

@ -2,7 +2,7 @@
eip: 140
title: REVERT instruction
author: Alex Beregszaszi, Nikolai Mushegian (nikolai@nexusdev.us)
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-06

View File

@ -2,7 +2,7 @@
eip: 141
title: Designated invalid EVM instruction
author: Alex Beregszaszi
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-09

View File

@ -2,7 +2,7 @@
eip: 145
title: Bitwise shifting instructions in EVM
author: Alex Beregszaszi, Paweł Bylica
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-13

View File

@ -2,7 +2,7 @@
eip: 150
title: Gas cost changes for IO-heavy operations
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-09-24

View File

@ -2,7 +2,7 @@
eip: 155
title: Simple replay attack protection
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-10-14

View File

@ -2,7 +2,7 @@
eip: 158
title: State clearing
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Superseded
created: 2016-10-16

View File

@ -2,7 +2,7 @@
eip: 160
title: EXP cost increase
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-10-20

View File

@ -2,7 +2,7 @@
eip: 161
title: State trie clearing (invariant-preserving alternative)
author: Gavin Wood
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-10-24

View File

@ -2,7 +2,7 @@
eip: 165
title: ERC-165 Standard Interface Detection
author: Christian Reitwießner <chris@ethereum.org>, Nick Johnson <nick@ethereum.org>, Fabian Vogelsteller <fabian@frozeman.de>, Jordi Baylina <jordi@baylina.cat>, Konrad Feldmeier <konrad.feldmeier@brainbot.com>, William Entriken <github.com@phor.net>
type: Standard Track
type: Standards Track
category: ERC
status: Draft
created: 2018-01-23

View File

@ -2,7 +2,7 @@
eip: 170
title: Contract code size limit
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2016-11-04

View File

@ -3,7 +3,7 @@ eip: 181
title: ENS support for reverse resolution of Ethereum addresses
author: Nick Johnson <arachnid@notdot.net>
status: Final
type: Standard Track
type: Standards Track
category: ERC
created: 2016-12-01
---

View File

@ -3,7 +3,7 @@ eip: 196
title: Precompiled contracts for addition and scalar multiplication
on the elliptic curve alt_bn128
author: Christian Reitwiessner<chris@ethereum.org>
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-02

View File

@ -3,7 +3,7 @@ eip: 197
title: Precompiled contracts for optimal ate pairing check
on the elliptic curve alt_bn128
author: Vitalik Buterin <vitalik@ethereum.org>, Christian Reitwiessner <chris@ethereum.org>
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-06

View File

@ -3,7 +3,7 @@ eip: 2
title: Homestead Hard-fork Changes
author: Vitalik Buterin <v@buterin.com>
status: Final
type: Standard Track
type: Standards Track
category: Core
created: 2015-11-15
---

View File

@ -2,7 +2,7 @@
eip: 20
title: ERC-20 Token Standard
author: Fabian Vogelsteller <fabian@ethereum.org>, Vitalik Buterin <vitalik.buterin@ethereum.org>
type: Standard
type: Standards Track
category: ERC
status: Accepted
created: 2015-11-19

View File

@ -2,7 +2,7 @@
eip: 211
title: "New opcodes: RETURNDATASIZE and RETURNDATACOPY"
author: Christian Reitwiessner <chris@ethereum.org>
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-13

View File

@ -2,7 +2,7 @@
eip: 214
title: New opcode STATICCALL
author: Vitalik Buterin <vitalik@ethereum.org>, Christian Reitwiessner <chris@ethereum.org>;
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-02-13

View File

@ -2,7 +2,7 @@
eip: 234
title: Add `blockHash` to JSON-RPC filter options.
author: Micah Zoltu
type: Standard Track
type: Standards Track
category: Interface
status: Draft
created: 2017-03-24

View File

@ -4,7 +4,7 @@ title: Addition of CALLDEPTH opcode
author: Martin Holst Swende <martin@swende.se>
status: Draft
type: Standards Track
layer: Consensus (hard-fork)
category: Core
created: 2015-11-19
---

View File

@ -4,7 +4,7 @@ title: Gas Usage for `RETURN` and `CALL*`
author: Christian Reitwiessner <c@ethdev.com>
status: Draft
type: Standards Track
layer: Consensus (hard-fork)
category: Core
created: 2015-11-22
---

View File

@ -2,7 +2,7 @@
eip: 55
title: Mixed-case checksum address encoding
author: Vitalik Buterin
type: Standard Track
type: Standards Track
category: ERC
status: Accepted
created: 2016-01-14

View File

@ -4,6 +4,7 @@ title: Renaming SUICIDE opcode
author: Hudson Jameson <hudson@hudsonjameson.com>
status: Final
type: Standards Track
category: Interface
layer: Applications
created: 2015-11-22
---

View File

@ -2,7 +2,7 @@
eip: 609
title: "Hardfork Meta: Byzantium"
author: Alex Beregszaszi
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-04-23

View File

@ -2,7 +2,8 @@
eip: 615
title: Subroutines and Static Jumps for the EVM
status: Draft
type: Core
type: Standards Track
category: Core
author: Greg Colvin <greg@colvin.org>, Paweł Bylica, Christian Reitwiessner
created: 2016-12-10
edited: 2017-25-4

View File

@ -2,7 +2,7 @@
eip: 616
title: SIMD Operations for the EVM
author: Greg Colvin, greg@colvin.org
type: Standard Track
type: Standards Track
category: Core
status: Draft
created: 2017-04-25

View File

@ -2,7 +2,7 @@
eip: 649
title: Metropolis Difficulty Bomb Delay and Block Reward Reduction
Authors: Afri Schoedon, Vitalik Buterin
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-06-21

View File

@ -2,7 +2,7 @@
eip: 658
title: Embedding transaction status code in receipts
author: Nick Johnson <nick@ethereum.org>
type: Standard Track
type: Standards Track
category: Core
status: Final
created: 2017-06-30

View File

@ -2,7 +2,7 @@
eip: 681
title: URL Format for Transaction Requests
author: Daniel A. Nagy <daniel@ethereum.org>
type: Standard Track
type: Standards Track
category: ERC
status: Draft
created: 2017-08-01

View File

@ -2,7 +2,7 @@
eip: 695
title: Create `eth_chainId` method for JSON-RPC
author: Isaac Ardis <isaac.ardis@gmail.com> Wei Tang <hi@that.world>, @tcz001 <https://github.com/tcz001>
type: Standard Track
type: Standards Track
category: Interface
status: Draft
created: 2017-08-21

View File

@ -3,7 +3,8 @@ eip: 7
title: DELEGATECALL
author: Vitalik Buterin <v@buterin.com>
status: Final
type: Homestead feature
type: Standards Track
category: Core
created: 2015-11-15
---

View File

@ -2,7 +2,7 @@
eip: 706
title: DEVp2p snappy compression
author: Péter Szilágyi <peter@ethereum.org>
type: Standard Track
type: Standards Track
category: Networking
status: Final
created: 2017-09-07

View File

@ -2,7 +2,7 @@
eip: 721
title: ERC-721 Non-Fungible Token Standard
author: William Entriken <github.com@phor.net>, Dieter Shirley <dete@axiomzen.co>, Jacob Evans <jacob@dekz.net>, Nastassia Sachs <nastassia.sachs@protonmail.com>
type: Standard
type: Standards Track
category: ERC
status: Draft
created: 2018-01-24

View File

@ -2,7 +2,7 @@
eip: 758
title: Subscriptions and filters for transaction return data
author: Jack Peterson <jack@tinybike.net>
type: Standard Track
type: Standards Track
category: Interface
status: Draft
created: 2017-11-09

View File

@ -2,7 +2,7 @@
eip: 801
title: ERC-801 Canary Standard
author: ligi <ligi@ligi.de>
type: Standard
type: Standards Track
category: ERC
status: Draft
created: 2017-12-16

View File

@ -2,7 +2,7 @@
eip: 831
title: URL Format for Ethereum
author: ligi <ligi@ligi.de>
type: Standard Track
type: Standards Track
category: ERC
status: Draft
created: 2018-01-15

View File

@ -2,7 +2,7 @@
eip: 858
title: Reduce block reward
author: Carl Larson <cslarson@gmail.com>
type: Standard Track
type: Standards Track
category: Core
status: Draft
created: 2018-01-29

View File

@ -2,7 +2,7 @@
eip: 868
title: Node Discovery v4 ENR Extension
author: Felix Lange <fjl@ethereum.org>
type: Standard Track
type: Standards Track
category: Networking
status: Draft
created: 2018-02-02

View File

@ -23,6 +23,12 @@ twitter_username: ethereum
github_username: ethereum
header_pages:
- index.html
- core.html
- networking.html
- interface.html
- erc.html
- informational.html
- meta.html
# Build settings
markdown: kramdown

4
_includes/eipnums.html Normal file
View File

@ -0,0 +1,4 @@
{% assign eips=include.eips|split:"," %}
{% for eipnum in eips %}
<a href="{{eipnum|strip|prepend:"eip-" }}">{{eipnum}}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}

18
_includes/eiptable.html Normal file
View File

@ -0,0 +1,18 @@
{% assign bystatus = include.eips|sort:"eip"|group_by:"status" %}
{% for group in bystatus %}
{% if group.name != undefined %}
<h2>{{group.name}}</h2>
<table>
<thead>
<tr><th>Number</th><th>Title</th><th>Author</th></tr>
</thead>
{% for page in group.items %}
<tr>
<td><a href="{{page.url|relative_url}}">{{page.eip|xml_escape}}</a></td>
<td>{{page.title|xml_escape}}</td>
<td>{{page.author|xml_escape}}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endfor %}

View File

@ -7,7 +7,7 @@ layout: default
<table>
<tr><th>Author</th><td>{{ page.author | xml_escape }}</td></tr>
{% if page["discussions-to"] != undefined %}
<tr><th>Discussions-To</th><td>{{ page["discussions-to"] | xml_escape }}</td></tr>
<tr><th>Discussions-To</th><td><a href="mailto:{{ page["discussions-to"] | uri_escape }}">{{ page["discussions-to"] | xml_escape }}</a></td></tr>
{% endif %}
<tr><th>Status</th><td>{{ page.status | xml_escape }}</td></tr>
<tr><th>Type</th><td>{{ page.type | xml_escape }}</td></tr>
@ -16,16 +16,16 @@ layout: default
{% endif %}
<tr><th>Created</th><td>{{ page.created | xml_escape }}</td></tr>
{% if page.requires != undefined %}
<tr><th>Requires</th><td>{{ page.requires | xml_escape }}</td></tr>
<tr><th>Requires</th><td>{% include eipnums.html eips=page.requires %}</td></tr>
{% endif %}
{% if page.replaces != undefined %}
<tr><th>Replaces</th><td>{{ page.replaces | xml_escape }}</td></tr>
<tr><th>Replaces</th><td>{{% include eipnums.html eips=page.replaces %}</td></tr>
{% endif %}
{% if page["superseded-by"] != undefined %}
<tr><th>Superseded by</th><td>{{ page["superseded-by"] | xml_escape }}</td></tr>
<tr><th>Superseded by</th><td>{% include eipnums.html eips=page['superseded-by'] %}</td></tr>
{% endif %}
{% if page.resolution != undefined %}
<tr><th>Resolution</th><td>{{ page.resolution | xml_escape }}</td></tr>
<tr><th>Resolution</th><td><a href="{{page.resolution | uri_escape }}">{{ page.resolution | xml_escape }}</a></td></tr>
{% endif %}
</table>

7
core.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Core
---
{% assign eips=site.pages|where:"type","Standards Track"|where:"category","Core" %}
{% include eiptable.html eips=eips %}

View File

@ -4,7 +4,7 @@ title: <EIP title>
author: <list of authors' names and optionally, email addresses>
discussions-to: <email address>
status: Draft
type: <Standards Track (Core, Networking, Interface, ERC) | Informational | Process>
type: <Standards Track (Core, Networking, Interface, ERC) | Informational | Meta>
category (*only required for Standard Track): <Core | Networking | Interface | ERC>
created: <date created on, in ISO 8601 (yyyy-mm-dd) format>
requires (*optional): <EIP number(s)>

7
erc.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: ERC
---
{% assign eips=site.pages|where:"type","Standards Track"|where:"category","ERC" %}
{% include eiptable.html eips=eips %}

View File

@ -1,10 +1,22 @@
---
# You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
layout: default
title: Home
---
<h1 class="page-heading">EIPs <a href="https://gitter.im/ethereum/EIPs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="Gitter"></a></h1>
<p>Ethereum Improvement Proposals (EIPs) describe standards for the Ethereum platform, including core protocol specifications, client APIs, and contract standards.</p>
<h2>Contributing</h2>
<p>First review <a href="EIPS/eip-1">EIP-1</a>. Then clone the repository and add your EIP to it. There is a <a href="https://github.com/ethereum/EIPs/blob/master/eip-X.md">template EIP here</a>. Then submit a Pull Request to Ethereum's <a href="https://github.com/ethereum/EIPs">EIPs repository</a>.</p>
<h2>EIP status terms</h2>
<ul>
<li><strong>Draft</strong> - an EIP that is open for consideration.</li>
<li><strong>Accepted</strong> - an EIP that is planned for immediate adoption, i.e. expected to be included in the next hard fork (for Core/Consensus layer EIPs).</li>
<li><strong>Final</strong> - an EIP that has been adopted in a previous hard fork (for Core/Consensus layer EIPs).</li>
<li><strong>Deferred</strong> an EIP that is not being considered for immediate adoption. May be reconsidered in the future for a subsequent hard fork.</li>
</ul>
{% assign statuses = site.pages|map:"status"|uniq %}
{% assign pages = site.pages|sort:"eip" %}
{% for status in statuses %}

7
informational.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Core
---
{% assign eips=site.pages|where:"type","Informational" %}
{% include eiptable.html eips=eips %}

7
interface.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Interface
---
{% assign eips=site.pages|where:"type","Standards Track"|where:"category","Interface" %}
{% include eiptable.html eips=eips %}

7
meta.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Meta
---
{% assign eips=site.pages|where:"type","Meta" %}
{% include eiptable.html eips=eips %}

7
networking.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Networking
---
{% assign eips=site.pages|where:"type","Standards Track"|where:"category","Networking" %}
{% include eiptable.html eips=eips %}