File: enums.py

package info (click to toggle)
python-eth-typing 5.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: python: 1,968; makefile: 234
file content (33 lines) | stat: -rw-r--r-- 695 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""
Fork names for Ethereum network upgrades.
"""


class ForkName:
    """
    Constants for each fork name.

    .. doctest::

        >>> from eth_typing import ForkName
        >>> ForkName.Frontier
        'Frontier'
    """

    Frontier = "Frontier"
    Homestead = "Homestead"
    EIP150 = "EIP150"
    EIP158 = "EIP158"
    Byzantium = "Byzantium"
    Constantinople = "Constantinople"
    Metropolis = "Metropolis"
    ConstantinopleFix = "ConstantinopleFix"
    Istanbul = "Istanbul"
    Berlin = "Berlin"
    London = "London"
    ArrowGlacier = "ArrowGlacier"
    GrayGlacier = "GrayGlacier"
    Paris = "Paris"
    Shanghai = "Shanghai"
    Cancun = "Cancun"
    Prague = "Prague"